23 Commits

Author SHA1 Message Date
bb58e09cbf add-runtime-logging (#35)
Some checks failed
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
6337fa2dfb Add Prerequisite class and cli script to confirm prereqs. (#30)
Add a Prerequisite class to manage all initilaization prerequisites. Invoke before each request. Provide a CLI script to allow checking Prereqs from command line. Add CI  workflow to confirm prereq validation behavior.

Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/30
Co-authored-by: Greg Sarjeant <greg@subcultureofone.org>
Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
2025-07-27 16:43:09 +00:00
4255f46fc7 Fix database migrations for first-time setup. (#29)
Some checks failed
Run unit tests / run-unit-tests (push) Has been cancelled
The database initialization had a number of bugs for the first-time setup. This PR fixes them.

Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/29
Co-authored-by: Greg Sarjeant <greg@subcultureofone.org>
Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
2025-07-26 15:46:06 +00:00
3867bc36cf Closes #25 (#26)
Some checks failed
Build and publish artifacts / build-and-publish (push) Has been cancelled
Run unit tests / run-unit-tests (push) Has been cancelled
Co-authored-by: Greg Sarjeant <1686767+gsarjeant@users.noreply.github.com>
Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/26
2025-07-24 18:49:32 +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
ef35c5aeba Just fail hard if autoloader can't find class. 2025-06-30 08:49:56 -04:00
Greg Sarjeant
5998e7f7d3 simplify bootstrap. move validation to classes. 2025-06-30 08:43:45 -04:00
Greg Sarjeant
cdc1153af4 Simplify autoloader 2025-06-28 23:05:14 -04:00
Greg Sarjeant
6c64b914fc Convert to autoloader. Restore unified CSS. 2025-06-28 12:03:04 -04:00
Greg Sarjeant
672d2d0eae Move migrations to config 2025-06-23 17:13:17 -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
a3a6471ced Remove a bunch of trailing whitespace. 2025-06-17 22:08:50 -04:00
Greg Sarjeant
61eaa42373 Fix initial setup bugs. 2025-06-17 21:25:53 -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
0b4348f14b Fix setup 2025-06-15 22:48: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
8f2534568d custom emoji 2025-06-13 23:46:33 -04:00
Greg Sarjeant
52a77a3dc2 Convert config and user to globals. 2025-06-12 22:09:26 -04:00
Greg Sarjeant
2aecc934f2 Clean up setup validation. 2025-06-12 21:54:18 -04:00
Greg Sarjeant
093ece581c Move router to class. Fix CSS uploads. 2025-06-12 17:06:18 -04:00
Greg Sarjeant
3fbeaf87e3 Refactor bootstrap. Use global database. 2025-06-12 16:47:03 -04:00
Greg Sarjeant
fb69ca4470 Get setup working again. 2025-06-04 21:06:29 -04:00