The Location Controller was getting too heavy so an Update and
Maintenance service class was created to offload most of it's
functionality. Location upating was moved to LocationRepository
There was also a small issue with responsive list links not adapting
properly in Safari that was fixed
addded some preliminary url validation to make sure a source url is
still active.
the consolidation process is starting to get top heavy, so it's a stop
gap until a more effecient process can be created.
Adding total actions count to location data has made it possible to
simplify backend data queries, so the custom pagination was optimized
and location repositories have been cleaned up.
the front end controller has been cleaned up as well, which has resulted
in the appropriate template being polished up as well.
Added a new field to the locations table for total actions which will be
used to set the active state of location. this will result in data being
parsed and sorted easier instead of doing those calculations on the back
end, so DB queries will be simpler
also fixed actions counts for csv imports
Seperated data logic for locations and put it into its own repository
class for better organization and readability of controller classes.
Data methods are still simple so no need for an interface class just
yet, but will probably implement at a later date
https://tenforward.social/@noracodes reported an issue with the CSV not
rendering properly because of the mix of single and double quotes, so
that's been cleaned up.
Also fixed action sorting which was reversed.
Actions taken against and instance of have been separted into their
respective buckets so they can be display properly rather than simply
grouped together and mislabled.
This gives a better sense of the severity of response per instance.
There was a small syntax bug that was causing the sytem to error out
when resetting rating terms.
Also plugged a bug that was returning locations with ony one block
count, which is below the criteria for instances that should be listed
and shown in search results
Finally moved over the public search API from the old version and
updated the about page to show the new data structure
Also tweaked the location update script to change 'defederate' to
'suspend' for the sake of consistency
Switched from using external CSV exports to having the system talk to
instances directly to build and update the database.
NOTE: Added a new table called Source with the corresponding model to
access it
The archived build errors out when it finds the images json field is
null, so this will replace a null value with an empty array instead.
Should probalby just make images non null and an empty array the default
Brought over the old form for adding new location to the db and the
plugged everything back up using Laravel's eloquent orm (which is pretty
fucking sweet) to re-active that process
NOTE: larvel gets a twitchy when sequencing isn't explicitly set some
minor edits needed to be made to the development DB to prevent a null id
error when inserting new records. this should be done to production when
it's ready as well
Added some controllers and template pages to test connection with the db
and begin the process of porting over functionality to this version.
Also made some minor tweaks to formatting configs and updated a color in
the css