Commit graph

12 commits

Author SHA1 Message Date
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
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
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
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
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
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
7feb76517a
Added blocklist updating, main nav tweaks
Implemented Oliphant's unified tier 3 blocklist and the supplementary
instance audit file that tracks how many times an instance has been
blocked by a trusted sources member. Keeping the update function manual
for now to make sure it works smooth, then well automate so it checks on
    it's on at regular intervals.

NOTE: Lists used are located at the following urls:
https://codeberg.org/oliphant/blocklists/src/branch/main/blocklists/_unified_tier3_blocklist.csv
https://codeberg.org/oliphant/blocklists/src/branch/main/blocklists/other/domain_audit_file.csv

Also simplified the main nav to just include a link to the den index
when logged in
2023-08-24 15:27:14 -07:00
Ro
e35dff591f
Started CSS and Layout upgrades
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.
2023-08-17 15:14:01 -07:00
Ro
afce441001
Rewired new location submission form
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
2023-08-16 17:52:02 -07:00
Ro
14af284103
Implemented Custom Auth Framework
Rebuilt member authorization and session handling within Laravel's
envirnoment. Sticking with bcrypt encryption for passwords to make the
transistion simple.
2023-08-15 14:05:51 -07:00
Ro
ba79c9924c
Basic Wiring, environment set up
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
2023-08-14 13:33:53 -07:00
Ro
1480da3d50
The Big Switch
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.
2023-08-14 12:07:53 -07:00