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
Changed the appeal process so that each request is tracked in the
database to make reviewing and time limits easier to manage.
An email is still sent but it's just a notifcation to let the admin know
an appeal has been filed.
Hit the major friction points in the responsive UI. Still have some
polishing to do but there shouldn't be any show stoppers at this points.
Also moved some variable to the env so they can be changed easily when
necessary
Responsive styles are non-existent so it was time to get that sorted.
This first pass was just getting a feel for what can be done with
list items since that's one of the main components of the site.
Second pass will clean this up as well as the majority of text styling
so it all smoothly adapts.
Ha, or that's the plan anyway.
Put together a quick test to get internal messaging working for appeals
and joining current sources requests. Now that it works, forms that will
leverage messaging will be created.
Added some preliminary Bad Spade stats to the index to set up a space
for additional information to be shared in the future. Starting with an
accurate display of locations tracked, Current Sources count and
last update date
Search methodolgy has been tweaked and the correspending result links
have been updated, as well as links in the Listing page to display both
silence and suspend counts and the overall heat rating.
Also plugged in new silence and suspend icons provideb by
https://rage.love/@puf. Big thanks for that, man.
Started the front end refresh by starting to plug in the new design on
the index page. The search methodology was still not consistent, so that
process was cleaned up to display what is actually being tracked based
on the two action criteria, then updating the design for the location
links to be clear and display the heat rating.
Added a repo link to the About section.
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.
There are some carriage returns in some of the descriptions which was
throwing off the CSV cell assignment, so added a quick patch that
replaces said returns with a simple space to keep formatting intact
Reactivated CSV exports based on Heat Rating, which is the percentage of
Current Sources the have taken action, a suspend or a silence, against
an instanct. The higher the Heat Rating, the more Sources that have
taken actions agaisnt it, so they should be viewed with caution
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.
The count data is now separated by specific action rather than grouping everything together.
This gives a clearer picture of the severity of a response by current sources
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
Tweaked the about page to include some langauge talking about where the
data is coming from and how it's being used and linking to the
respective sources
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
Swithced the main nav to a mobile layout to cut down on complex
responsive styling to make the heaader work.
Also began touching up site wide responsive styles so the site works on
multiple devices.
Turned on the new preliminary search on the index page. Still pretty
raw but wanted to make sure all the plumbing was there.
Next stage is to clean it up a bit and make it sexy
Added additional pages About, Listings, and Location as well as
implementing the corresponding functionality for those pages to be able
to pull the data they need from the DB.
Also continued layout clean up and adjusted some gloabal font sizing
settings
Functionality is coming along at a good pace, so it was time to start
adjusting the templates and styles to the new layout.
Responsive will come after all of the pages have been updated.
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 the necessary template files for every page needed. Most are still
empty but all are accounted for from the previous version.
Also organized all routes to the dashboard, named the den for better security
Rebuilt member authorization and session handling within Laravel's
envirnoment. Sticking with bcrypt encryption for passwords to make the
transistion simple.
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
Archived previous version to switch codebase to Laravel framework for
the sake of reducing complexity to lower the barrier for entry for
potential contributers. Because easier is always better.