Commit graph

102 commits

Author SHA1 Message Date
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
Ro
c087d00a2b
Added mobile first menu and started responsive
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.
2023-08-28 14:51:42 -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
f9cb8f3a63
Turned on Index Search
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
2023-08-21 12:56:26 -07:00
Ro
e78c2a04fe
Added Layout to Admin Pages
Plugged in the new layout to the admin pages
2023-08-18 18:50:33 -07:00
Ro
7151314122
Added About, Listings, Location pages
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
2023-08-18 14:34:53 -07:00
Ro
25d51646ba
Built out Listing Page, font update
Plugged in the layout for the Listings page and turned on pagination.

Also updated the font to rubrik. Because it's pretty.
2023-08-17 19:50:38 -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
62a11168ec
Moved plugged in flash messaging
Just moved system notifications to it's proper template file and layer

TODO: make seperate notification display for errors, and neutral system
info
2023-08-16 18:08:14 -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
66cf78ba75
Added Template Files, Grouped Den Routes
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
2023-08-16 13:03:06 -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
Ro
56758f094f
Edit severity display for Mastodon CSV
Severity rating was being set as 'defederate' which is not a status in
Masto's blocklist import scheme, so it was changed to 'suspend' for
better compatibility.
2023-05-08 12:25:38 -07:00
Ro
7c5ef7fb0e
CSV Export and API instructions
Added descriptions for usage of the site to the about page, including
the first CSV export as well as instructions for using the API to search
for sites programtically.
2023-05-07 13:50:12 -07:00
Ro
88e78f2c4a
CSV Export for Mastdon
Added a link to export current active sites in the DB to a consumable
CSV file. More formats will be added but this one needs to be tested
first based on the ubiquity of Mastodon
2023-04-12 16:46:21 -07:00
Ro
b8eda54267
Added Public Search API
Added the first version of the method that can be used to search the DB
programatically. Making it public for now.
2023-04-10 13:34:52 -07:00
Ro
2b174a96c8
Commit Signing Test
Just upping the security for the bad space repo because it will be
public eventually.
2023-03-06 22:20:29 -08:00
Ro
1675994fbb just checking commit signing 2023-03-07 06:12:18 +00:00
Ro
0ec2b0fc0e just to make sure 2023-03-07 05:47:48 +00:00
Ro
660e8755cb Just a quick migration test 2023-03-07 05:45:11 +00:00
Ro
40dc5bf117 Listing style tweaks
Cleaned up pagination to make it easier to identify what page is
currently being displayed and tweaks font sizes of page links for better
legibility.
2023-02-09 12:34:51 -08:00
Ro
245531faf6 Added support of fedifence CSV and pagination
Populated the DB with entries from a fedifence export provided by
@Oliphant (https://codeberg.org/oliphant/blocklists).

As such also updated the appropriate templates with pagination to be
able to peruse through the location directory.

Also added an edit link on the location template front end to make
finding and updating instance info easy.
2023-01-23 19:59:51 -08:00
Ro
b9298451b7 Front end clean up continued
Cleaned up the front end structure a bit more so the layout is unified
across pages, excluding the index which will serve as the main search
page, which has it's own style.

Location page was also added to display details of instances listed in
the database. It's mostly just informational so it will be kept simple.
2023-01-22 14:03:45 -08:00
Ro
477d6727f4 Turned on Index search
Activated the full text search on the index pages as well as plugging in
a tempalte to show location information. Still needs to be styled but
it's all wired up.

Also cleaned some typos in the About description. One day I'll be able
to spell. One day.
2023-01-17 15:54:59 -08:00
Ro
c5d1ab0266 Added Front listings and member editing
Added the template for to display locations on the front end. Still need
to add template for individual locations.

Also added member editing. Still need to wire up the avatar uploading
but adding and editing member information is possible. Still need to
fine tune it according to roles
2023-01-16 20:17:22 -08:00
Ro
e897453664 Front End Templating
Began the process of getting the front end together by adding about and
listing pages and applied some light styling to it doesn't look like
garbage.

Still need to turn on the indivial instance display pages, so that will
be next.
2023-01-12 15:43:54 -08:00
Ro
5ad29f78f6 Hot fix for template for staging
Starting to get the production environment together, so some hot fixes
are needed to the index template that haven't been accouted for yet.

This one was updating the index template to use the new render class
when login fails
2023-01-11 15:26:38 -08:00
Ro
48e447beba Switch render method
There were still some reference to the base Controller page renderer
that needed to switched to the new Render class. Oops.

Also for got mention tabler icons (https://tabler-icons.io/) were added
in the last commit. They are so nice.
2023-01-08 14:49:54 -08:00
Ro
735117fcda CSS Reshuffle, Added Page Renderer
Reorganized the CSS structure to there is some seperation between front
facing style and the backend den.

Also add the Render class so auth status is included in every template
rendering event so login status and select member data is available if
needed. will expand if needed.
2023-01-08 14:28:25 -08:00
Ro
26f3cbe994 Location Editing Part 2
Bulk uploading has been added and some inconsistencies in the templates
have been addressed. Still needs work but it's starting to feel like a
cohesive experience.

With the base data entry funcationality in place, now really polishing
can begin as well as establishing what roles can do what.

Smoothing out entry editing will be addressed as well.
2023-01-03 16:08:50 -08:00
Ro
3410abd70a Location Editing Part. 1
Now that full-text searching is set up in the DB, the next step is
data population. The adding and editing templates were added as long as
routes and base functionality to add single locations.

Adding works and editing is almost there but both still need to cleaned
up. The basic plumbing will be completed and then the tweaking to
account for roles and login status for the sake of security.

Part 2 will include clean up and and bulk uploads through the use of CSV
files.
2022-12-30 14:41:49 -08:00
Ro
e424df18aa Auth Framework, Part 2
Auth class is back up and running to handle user authorizaion
as well as session managment.
Implemented basic usage on admin index class just for an example.

Added a couple of new template files and css to start defining the
overall style of pages and UI.
2022-12-13 14:46:45 -08:00
Ro
54b5227a0d Auth Framework, Part 1
Started buildig the authorization infrastructure to 1. create the
initial admin class to then 2. the Auth manager class can be created to
manage access based on roles.

added number of template files as well just as a UI base to get things
started.

Auth Framework Part 2 will complete the Auth mangager and clean up the
admin area.
2022-12-12 17:42:40 -08:00
Ro
74ae426275 Quick template fix
Forgot to extend the template so it renders a complete page. Oops.
2022-11-15 16:25:57 -08:00
Ro
b8476ae76e Basic splash page set up
Just getting the bare minimum styles and templates created and rendering
properly to have a simple splash going.
2022-11-15 12:57:14 -08:00