Commit graph

88 commits

Author SHA1 Message Date
ro
0a02a71983 mastdon csv export edits
the csv exports for mastodon had some formatting issues that was making
importing problematic, so those issues have been fixed so importing the
doc is easier
2024-05-16 16:07:36 -06:00
ro
c84aa75350 updated version number 2024-04-24 14:35:08 -06:00
ro
bd6ea3355b license added
GNU GPL v3 open source license has been added
2024-04-15 14:36:38 -06:00
ro
e9c238a922 updated rating display
rating percentages where showing long decimal ranges, so a quick tweak
as added to make them clean whole numbers.
2024-04-14 15:04:36 -06:00
ro
a109b1b5c1 Den reorganizing, edit location link, form styles
The admin area needed to be reorganized as it was a bit all over the
place to accomodate new features.

And edit link was added to location detail pages so authorized members
can edit when necessary.

Form elements were loosened up a bit to give them a bit more breathing
room
2024-02-21 16:47:05 -06:00
ro
2a6b4b2c99 Location editing, part 1
The plumbing for editing location info has been updated, so that data
can be changed by authorized memebers. Also added a new data point for
locations to store archive links

part 2 will focus on setting up permissions and authorizations as well
as smoothing out adding new members and member roles. an edit link will
be added to locations, which will be visible for members with the
correct permissions
2024-02-20 16:33:49 -06:00
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
ro
03fbd00db1 Footer tweaks, text adjustments for about, appeals
Just a light touch up for the footer and some additional text changes
for the about and appeals section
2024-02-13 10:24:45 -06:00
ro
847ec4a391 Color Tweaks
Giving the UI a fresh coat of paint for the new design upgrade.
2024-02-12 20:00:57 -06:00
ro
e426eb2735 sources url checking
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.
2024-02-12 14:51:28 -06:00
ro
f1995d2163 Export Update
Updated CSV export methodology to use the Location Repo class. Also
updated export links show location counts for each rating
2024-02-11 12:26:54 -06:00
ro
2bcb887d19 simplified pagination, cleaned up front controller
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.
2024-02-10 11:48:09 -06:00
ro
fdaf90b89f added total actions count to DB, action count fix
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
2024-02-09 21:05:33 -06:00
ro
fe67927c24 Used laravel validation for appeal form
Switched valdiation from checking for empty strings to using Laravel's
built in form validation. It's pretty.
2024-02-09 17:21:07 -06:00
ro
9e7c7c584e Added more filtering for appeal check
Appeal checks needed an emptry string filter so all requested data is
accounted for and not left emptyAdded more filtering for appeal check
2024-02-09 15:12:04 -06:00
ro
da0ddb3ef0 Plugged in repository class for location data
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
2024-02-09 14:53:08 -06:00
ro
bce9a430aa Appeal Process upgrade
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.
2024-02-08 14:37:34 -06:00
ro
9be54fa13c Responsive Part 2, environment changes
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
2024-02-08 13:07:49 -06:00
ro
efe568bf60 Responsive Edits: Part 1
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.
2024-02-06 15:39:19 -06:00
ro
fe49ca8699 Working Appeals form
Still need to style the email form, but the Appeal Form is working with
a bit of protection from bots to cut down on spam.
2024-02-05 14:02:27 -06:00
ro
572f2434f6 Dependency Update
It's been a little while since the packages were updated, so its time to
update everyting to the latest
2024-02-05 11:10:00 -06:00
ro
c763d749c9 Messaging infrastructure
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.
2024-02-02 12:16:11 -06:00
ro
0785e76df6 Updated Location Page design
Updated the design for pages displaying information about specifiic
locations to clearly display heat rating, silence and suspeneded
statistics.

Also inlcude a descriptor for heat rating.
2024-01-26 14:50:20 -06:00
ro
c13f144e20 Added Bad Space Info to index
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
2024-01-26 12:16:38 -06:00
ro
175ea25d7b Updated search and listing links, added new icons
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.
2024-01-23 12:04:52 -06:00
ro
0a64de2378 Link Updates, Recent Links on Index clean up
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.
2024-01-22 13:45:11 -06:00
ro
29c8935bfa Quote clean up CSV export, tweaking action counts
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.
2023-11-12 12:22:22 -06:00
ro
ccb9536204 Quick Test 2
just forgot to edit a minor git config setting. should be good now
2023-10-12 14:44:09 -07:00
ro
b8b697dc7d New Repo Test
Just checking all the plumbings work after the migration
2023-10-12 14:41:24 -07:00
Ro
86652cc112
Extra spaces patch for CSV exports
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
2023-09-28 14:30:36 -07:00
Ro
a15db82697
Added Exports by Heat Rating
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
2023-09-28 14:02:35 -07:00
Ro
0d189a4fc3
Seperated silence and block counts
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.
2023-09-25 13:24:48 -07:00
Ro
8a513c3f2c
Separated silence and suspend counts
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
2023-09-25 13:23:58 -07:00
Ro
1c904e5e51
SQL Exploit Patch
Quick fix to patch up a common SQL exploit.
2023-09-21 13:46:14 -07:00
Ro
572f7c5027
Fix for filtering, quick fix for rating term swap
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
2023-09-11 17:40:13 -07:00
Ro
0c2b8bae7c
Added public search API
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
2023-09-07 14:31:25 -07:00
Ro
d5efbd96a3
Fixed incorrect link
There was a link in the location template that was still going to a
local link. Fixed
2023-09-05 13:42:00 -07:00
Ro
650e67a799
Added sources list, updated about section
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
2023-09-05 13:30:57 -07:00
Ro
565f099c90
Implemented internal blocklist sourcing
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
2023-09-01 15:22:57 -07:00
Ro
973b02af61
Removed Leauge CSV package, updated composer
Just some quick maintenance to keep everything lean by removing stuff
that is no longer needed and grabbing the latest.
2023-08-31 12:28:38 -07:00
Ro
44cd545b37
Forgot to encode the json. oops 2023-08-29 14:14:30 -07:00
Ro
fd7a6fd064
Null images hotfix
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
2023-08-29 14:08:12 -07:00
Ro
91f717843d
Made instance rating more explicit
Added icons to better represent the status of the site visually.
2023-08-29 11:40:58 -07:00
Ro
2b24751782
-av 2023-08-29 11:37:52 -07:00
Ro
65229edbab
Added Trusted Sources Count, added meta to links
Plugged in noted counts that detail how many times an instance as been
suspended or silenced by members of the Trusted Sources.

https://writer.oliphant.social/oliphant/trusted-source-membership

Also added some additional meta data to links displaying instances lists
so status and counts can be identified at a glance
2023-08-28 18:01:43 -07:00