1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

135 Commits

Author SHA1 Message Date
Zoë
6af048ab2a
feat: add lang-attribute to the html-element
this helps computers interpret and manipulate the website content (example: pronunciation for assistive tech). if tbs ever gets a language setting that should be reflected here.
2025-05-05 22:46:52 +02:00
RXP
d310cf4fb9 Merge pull request 'Refactor home search' (#21) from moiety/search into develop
Reviewed-on: https://koodu.h-i.works/projects/thebadspace/pulls/21
Reviewed-by: RXP <ro@noreply.koodu.h-i.works>
2025-05-05 22:44:21 +02:00
Zoë
fed8748923
refactor: rework the search form with CSS Grid 2025-05-05 22:40:59 +02:00
Zoë
04ac27ea04
fix: only transition form control colors
the blanket statement `all` causes some weird animations when resizing the page. setting this to only transition specific properties fixes this.
2025-05-05 22:40:59 +02:00
Zoë
4dafad447d
fix: set accessible name for search button
also changes the CSS for the text transform
2025-05-05 22:40:59 +02:00
Zoë
d165d0c2bd
feat: replace search icon with an SVG
this change allows us to use the font colour for the icon. it might also be nice to use a sprite.svg for all icons. this would use the same <use> mechanism as i did here.

this also optimises the SVG a bit
2025-05-05 22:40:59 +02:00
Zoë
3e070676e4
feat: add accessible form element focus indicator
adds a focus indicator that passes the accessibility requirements WCAG 2.2: §1.4.11 & §2.4.7
2025-05-05 22:40:59 +02:00
Zoë
c9c3b88f4d
style: apply editorconfig 2025-05-05 22:40:59 +02:00
ro
66b43b2d4e manual edit for pr #13
pr was old has a hell, so just made the change manually to avoid
updating a super old branch
2025-05-05 14:35:58 -06:00
ro
c2be80c005 removed CSV listing if not CSV present
when reading sources, CSV file were being listed as 'none' when going
through the loop and no file was present. commented that part out so
'none' is not being repeated
2025-05-05 14:29:25 -06:00
RXP
7cdd284968 Merge pull request 'fix: set alt text for the logo' (#17) from moiety/logo-alt into develop
Reviewed-on: https://koodu.h-i.works/projects/thebadspace/pulls/17
Reviewed-by: RXP <ro@noreply.koodu.h-i.works>
2025-05-05 22:27:32 +02:00
RXP
7f7f324163 Merge branch 'develop' into moiety/logo-alt 2025-05-05 22:27:21 +02:00
RXP
67d40bd166 Merge pull request 'fix: removes an errand <body>-tag' (#20) from moiety/body into develop
Reviewed-on: https://koodu.h-i.works/projects/thebadspace/pulls/20
Reviewed-by: RXP <ro@noreply.koodu.h-i.works>
2025-05-05 22:17:48 +02:00
RXP
aeaca3e0f0 Merge branch 'develop' into moiety/body 2025-05-05 22:17:34 +02:00
RXP
0ad5208638 Merge pull request 'Refactor: about page' (#23) from moiety/about into develop
Reviewed-on: https://koodu.h-i.works/projects/thebadspace/pulls/23
Reviewed-by: RXP <ro@noreply.koodu.h-i.works>
2025-05-05 22:13:35 +02:00
RXP
8ed702bd59 Merge branch 'develop' into moiety/about 2025-05-05 22:12:04 +02:00
RXP
a0fee9b6b1 Merge pull request 'Refactor index meta' (#22) from moiety/infex-meta into develop
Reviewed-on: https://koodu.h-i.works/projects/thebadspace/pulls/22
Reviewed-by: RXP <ro@noreply.koodu.h-i.works>
2025-05-05 22:08:45 +02:00
Zoë
cf11d246d1
refactor: current sources
changes:
- `<strong>` → `<h3>`
- add a `.strong` class to mimic the `<strong>` behaviour
- wrap lists in `<ul>`
- provide feedback when no sources are available
2025-05-02 20:58:16 +02:00
Zoë
2c88d45e52
style: make indentation consistent
also adds some HTML tags here and there but doesn’t change any content.
2025-05-02 20:37:34 +02:00
Zoë
5515503117
fix: set meta-index padding 2025-05-02 19:08:06 +02:00
Zoë
0f16b275a0
refactor: use a <table>-element for index-meta 2025-05-02 19:00:21 +02:00
Zoë
d138198305
feat: add visually-hidden utility 2025-05-02 18:54:51 +02:00
Zoë
c0e05c13e6
fix: removes an errand <body>-tag
also adds a new line at eof and trims some spaces
2025-05-02 00:50:00 +02:00
Zoë
dbea3ff219
fix: set alt text for the logo 2025-05-02 00:13:32 +02:00
ro
1420d61892 Updated README with set up instructions
Added requirments for the project, as well as setup/install and usage
information for people that want to take the project for a spin on their
own.
2025-04-23 19:22:26 -06:00
ro
bfce3c82ec create env after install
the creation of base .env file that stores global variables for the app
need to be automated, so it's created after composer install
automatically instead of issueing and additional command
2025-04-22 13:39:14 -06:00
ro
3e937c5083 Source creation and editing
A UI has been added for entering new sources and editing pre-existing
ones. No more having to edit the DB directly when wanting to add or
remove a source.
2025-04-18 15:16:32 -06:00
ro
b7e2bbb334 updated laravel, fixed composer
At some point the composer json got jacked, so that needed to be fixed
to update laravel to the latest.

also started putting in pieces for sources management through the UI
2025-04-17 23:47:16 -06:00
ro
56f445572f admin account set up
after the site is installed and the DB set up, there needed to be a way
to create the first account that will be used as the admin to access the
den, the admin section of tbs

the system makes a check to see if this account exists and if there
isn't one present, it shows the admin account set up screen on the
index. it goes away after the account is created.
2025-04-17 17:14:15 -06:00
ro
515de4c56b CSS fix for spacing issues in listing page
th spacing between location links on the listings UI was a bit funky to
made a quick tweak to smooth that out.
2025-04-16 18:23:11 -06:00
ro
73a0abf898 php cs fixer config fix
php formatting wasn't working due to some issues in the php cs fixer
config file. fixed
2025-04-16 15:04:32 -06:00
ro
07793a413a Cleaned up migrations, full text search in model
Migrations were pretty much useless for database set up, so that needed
some attention to make setting up the project easier. Now, all necessary
tables can be created by running the `artisan migrate` command assuming
one has the database parameters set in the .env file

also added full text search capabilites through the database set up,
which the model itself can use to find locations, so the search has been
updated in the appropriate locations as well.

still need to add initial account set up and a form for adding sources
through the UI, but this was a big step towards letting anyone set up
their own version of tbs
2025-04-15 13:58:12 -06:00
ro
8fbf927f2d just a quick push test for the new repo 2025-01-23 15:19:19 -06:00
ro
8ce9a7744a composer json tweak
composer json wasn't validating, so that needed to be fixed
2024-10-08 11:37:51 -06:00
ro
f7bd675b5d updated composer file; update versioning
a quick update to the composer file to have proper versioning and some
details about the project,

also updated the template to reflect the current version
a0.7
2024-10-08 11:15:25 -06:00
ro
ccd0a7a3a9 added notes to locations, exports comments fix
locations needed another data point for notes to additional information
about instances that aren't covered by public comments, i.e. if the site
is still live, additional concerns, etc, so that's been added and the
appropriate template files added

also, public comments where not being included in the CSV exports, so that's
been patched as well
2024-10-04 14:04:49 -06:00
ro
80191a2e46 commented out old decription reference in loc repo
there was a reference to storing descriptions in the database that no
longer has a corresponding table since it was changed

just commenting it out for now because it will be implemented again at a
later date
2024-10-01 11:39:55 -06:00
ro
8353d154c4 DB edit: description to public_comments
the update process now compiles public comments from instance blocklists
and displays them, so the name of the table that stores these comments
has been changed so it's not confusing.

also made the appropriate changes on the backend and in the template
that shows that information
2024-09-29 16:34:52 -06:00
ro
098cd72186 form validation for member editing
added some form validation in the member controller to make sure all
necessary info is provided before editing/creating member
2024-09-29 16:11:50 -06:00
ro
31f45c4af5 add role checks for admin function
admin functions are not shown to member with incorrect roles, but added
a bit more padding in the controller itself to check if the role is
correct before running an admin action for a little extra security
2024-09-29 15:55:55 -06:00
ro
3c0762344e added member create ui
now that editing member work, that process needed to be fleshed out by
adding an admin method to add new members as well. now new members can
be added by an admin

also changed the name of a blade file that wasn't following the template
naming convention
2024-09-27 12:39:56 -06:00
ro
d0c8def297 added member edit admin ui
needed way to edit existing members info if needed, so simple ui was
created for admins of the site to change specific info, not including a
members avi or password.

also consolidated memeber action and ui into it's own controller for the
sake of clearer organization
2024-09-24 16:21:59 -06:00
ro
99e22f5697 added member profile editing
added a basic ui so logged in members can change their info/password
when needed
2024-09-20 15:09:45 -06:00
ro
2932af0d3f show multiple instance comments
the previous update cycle only showed the latest comment from Sources
concerning a specific instance

now all available comments are pulled from denylist data to be displayed
under Description on the front end
2024-09-17 15:41:31 -06:00
ro
0eeab6355e updated image uploading, edited html templates
changed the the way files are uploaded to go into their own directory
called 'references' organized by location, identified by uuid. the
'references' directory was added to git ignore to those images are not
saved in the repo, since every install will have their own set of images

also updated reference links to be shown on the front end if they have
been added to a location

unnecessary links where moved from the admin member template since they
have been incorporated into the appropriate area.

a template for editing member account information has also been added.
2024-09-13 15:12:43 -06:00
ro
43e0004ac5 Updated blocklist retrival process, template edits
The process for updating blocklists per source wasn't effecient, so it
has been rewritten to process each source individually before moving on,
relieving some processing load on the server and ensuring every source
comes back with data, even in the event it doesn't grab it the first
time.

also removed the recent list from the index page as the recently updated
list doesn't reflect what's been the last to get updated and changed the
theme color to match the current palette.
2024-09-12 19:20:13 -06:00
ro
d3d1d56680 upgraded to lastest Laravel version
codebase was a version behind the latest laravel version, so all those
dependencies have been update to bring it up to speed

also added a small tweak to fix a firefox specific bug with rendering
CSS files
2024-06-18 13:10:54 -06:00
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 a0.06 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