8b5a249450
Make URL building more resilient and add tests. ( #38 )
...
Run unit tests / run-unit-tests (push) Has been cancelled
Since the base URL and base path are user inputs, I'd like tkr to be resilient to any combination of leading and trailing slashes so people don't have to worry about that. This adds some helper functions to normalize URLs and adds tests to confirm that all combinations are handled correctly.
Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/38
Co-authored-by: Greg Sarjeant <greg@subcultureofone.org>
Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
2025-07-31 02:39:09 +00:00
bb58e09cbf
add-runtime-logging ( #35 )
...
Run unit tests / run-unit-tests (push) Waiting to run
Prerequisites Testing / test-php-version-requirements (7.4) (push) Has been cancelled
Prerequisites Testing / test-php-version-requirements (8.1) (push) Has been cancelled
Prerequisites Testing / test-php-version-requirements (8.2) (push) Has been cancelled
Prerequisites Testing / test-php-version-requirements (8.3) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (alpine:latest, 8.2) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (alpine:latest, 8.3) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (debian:bookworm, 8.2) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (debian:bookworm, 8.3) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (fedora:39, 8.2) (push) Has been cancelled
Prerequisites Testing / test-extension-progression (fedora:39, 8.3) (push) Has been cancelled
Prerequisites Testing / test-permission-scenarios (push) Has been cancelled
Set up logging framework and add runtime logging to foundational operations (database, sessions, auth).
Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/35
Co-authored-by: Greg Sarjeant <greg@subcultureofone.org>
Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
2025-07-29 22:45:17 +00:00
b40a4dce18
Remove no-longer-used settings ( #23 )
...
Run unit tests / run-unit-tests (push) Waiting to run
Simplifying the app.
The "about" profile field is somewhat redundant. There's already a site title and description.
I'm removing mood emoji from the ticks and just using the user-level mood. That toggle is no longer necessary.
Co-authored-by: Greg Sarjeant <1686767+gsarjeant@users.noreply.github.com>
Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/23
2025-07-24 13:28:47 +00:00
9338332536
refactor-storage ( #19 )
...
Move ticks from filesystem into database.
I'm going to preserve the filesystem and just delete it manually. I'll add a login warning, but I'm pretty sure I'm the only person who'll ever be affected by this.
Co-authored-by: Greg Sarjeant <1686767+gsarjeant@users.noreply.github.com>
Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/19
2025-07-24 02:12:31 +00:00
Greg Sarjeant
6c64b914fc
Convert to autoloader. Restore unified CSS.
2025-06-28 12:03:04 -04:00
Greg Sarjeant
b5fdbe6eef
items->ticks
2025-06-23 18:12:43 -04:00
Greg Sarjeant
0e34bd3119
Fix invalid HTML on CSS page. Fix ConfigModel.
2025-06-23 14:32:41 -04:00
Greg Sarjeant
42a752a8aa
indentation cleanup
2025-06-23 11:37:14 -04:00
Greg Sarjeant
4712aa8da6
Make mood picker tab-navigable. Other cleanup.
2025-06-23 11:33:37 -04:00
Greg Sarjeant
b8e77a492f
Fix admin accessibility errors.
2025-06-23 10:16:39 -04:00
Greg Sarjeant
d4f6b16756
Enable strict accessibility toggle on navbar and homepage.
2025-06-23 09:21:51 -04:00
Greg Sarjeant
35033e50a6
Add tick mood display.
2025-06-23 09:06:55 -04:00
Greg Sarjeant
efe9688289
Add database migration. Add accessibility and mood settings. Add mood to tick format.
2025-06-23 08:17:38 -04:00
Greg Sarjeant
573b0c9c4a
Aria text for tick entry.
2025-06-21 18:03:53 -04:00
Greg Sarjeant
33aee7ad71
Add tabindex to anchors to account for bad browser defaults. More cleanup.
2025-06-21 17:44:55 -04:00
Greg Sarjeant
4ce938e7bc
Fix frontpage keyboard navigation. More cleanup.
2025-06-20 22:37:54 -04:00
Greg Sarjeant
9eafadde2f
Accessibility improvements and simplification. Fix ticks.
2025-06-20 20:31:42 -04:00
Greg Sarjeant
d94bf1e3b9
Simplify default css.
2025-06-19 22:27:35 -04:00
Greg Sarjeant
a3a6471ced
Remove a bunch of trailing whitespace.
2025-06-17 22:08:50 -04:00
Greg Sarjeant
a15cfc5876
Convert dropdown menus to details/summary tags
2025-06-17 18:05:14 -04:00
Greg Sarjeant
f72896892b
cleanup. Improve homepage semantics. Add .htaccess files to blocked directories.
2025-06-17 16:25:31 -04:00
Greg Sarjeant
77ec1bbb3b
fix setup. consolidate navbar
2025-06-17 09:36:13 -04:00
Greg Sarjeant
b59526c590
Clean up escaping, linking, and feeds.
2025-06-16 19:36:36 -04:00
Greg Sarjeant
856677659e
Add flash messages.
2025-06-16 16:47:35 -04:00
Greg Sarjeant
0b4348f14b
Fix setup
2025-06-15 22:48:43 -04:00
Greg Sarjeant
083250adc0
Restore atom feed to last working version. Escape late.
2025-06-14 15:35:43 -04:00
Greg Sarjeant
427558bd8c
Clean up emoji model and sidebar. Fix some validation errors. Allow mood to be cleared.
2025-06-14 13:05:18 -04:00
Greg Sarjeant
3b8d54460c
Single column delete view, test for mbstring extension
2025-06-14 00:23:59 -04:00
Greg Sarjeant
8f2534568d
custom emoji
2025-06-13 23:46:33 -04:00
Greg Sarjeant
4fd9315f06
Fix single tick page. Fix nginx root configs. Add apache configs.
2025-06-11 18:31:08 -04:00
Greg Sarjeant
4f5ea22dfd
Add CSS upload. Refactor templates. General cleanup.
2025-06-10 20:00:18 -04:00
Greg Sarjeant
3690317206
Refactor models. Handle empty ticks. Prep for CSS upload.
2025-06-09 14:12:59 -04:00
Greg Sarjeant
78ebb67fc0
Naming fixes. Add partials. Get single ticks working with clean urls.
2025-06-03 21:22:20 -04:00