Commit graph

6 commits

Author SHA1 Message Date
ro
682360c140 Added Pagination Service class
Pagination is going to need some additional features in the near future,
so it made sense to give it it's own seperate class.
2024-02-20 12:57:33 -06:00
ro
f96707f256 Added Source Repository Class
Created a class to handle source data and methodology, and to offload
actions from service classes to make them easier to manage
2024-02-19 13:30:00 -06:00
ro
3edd6e5521 Update script error handling
finally found the correct exception that captures a connect error when a
source url cannot be loaded, so it logs the error and just keep
executing the script.

Now automation can be enabled since the system knows how to handle
errors. Fuck. Yes.
2024-02-18 22:18:56 -06:00
ro
7abd6d44a0 Data collection script overhaul
The script for collection blocklist info was getting a little heavy, so
it's been split in two to make it more accessible and easier to
maintain. The first part collects data from current sources and stores
it for the second part of the script, which compiles all the data and
updated the database.

The Source model was expanded to track votes so block and silence counts
can be easily verified on the backend.
2024-02-17 19:33:35 -06:00
ro
1382976549 consolidated getLocation function
changed the function that retrieves a single location to decide what to
get based on the variable type, so it doesn't need to be two seperate
functions
2024-02-16 15:34:09 -06:00
ro
573054e7d8 Cleaned up location controller, responsive fix
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
2024-02-15 15:00:03 -06:00