Commit Graph

117 Commits

Author SHA1 Message Date
Florine W. Dekker 80835d6a08
Create separate log for database events
Breaking: The option `[logger.file]` has been renamed to `[logger.filename]` for consistency.
2023-03-20 13:55:31 +01:00
Florine W. Dekker f43c59c681
Prevent query params in GoatCounter results 2023-03-20 12:55:32 +01:00
Florine W. Dekker 8655e8933c
Graduate Death Notifier to 1.0.0 :D 2022-12-18 23:28:19 +01:00
Florine W. Dekker d0e05cc955
Add very simple CAPTCHA mechanism 2022-12-18 23:19:45 +01:00
Florine W. Dekker f6dea3e283
Resolve issue with non-ASCII names in frontend 2022-12-17 18:34:13 +01:00
Florine W. Dekker e090eb3bac
Add tests for EmailQueue 2022-12-17 18:05:43 +01:00
Florine W. Dekker 096a76a782
Add tests for Wikipedia class 2022-12-17 16:28:15 +01:00
Florine W. Dekker 217ffa88de
Do not resolve moves when adding a tracking 2022-12-16 23:30:54 +01:00
Florine W. Dekker c3fd28afaf
Resolve double redirects automatically
And test that it does so.
2022-12-16 23:17:40 +01:00
Florine W. Dekker 75cf6e4e77
Fix resolving missing normalised pages
And fix some UI stuff. Sorry, this took me so long I mostly forgot what I did halfway through.
2022-12-16 22:40:43 +01:00
Florine W. Dekker 83fb8958ad
Add "forgot password" after logging in 2022-12-16 19:22:46 +01:00
Florine W. Dekker 953acfba92
Better handle hiding of about part 2022-12-14 23:30:35 +01:00
Florine W. Dekker 78d95252ed
Add some TODOs here and there 2022-12-14 23:23:47 +01:00
Florine W. Dekker bcf595dfa5
Add "about" section to page 2022-12-14 23:13:51 +01:00
Florine W. Dekker debe285cf5
Clean up interface 2022-12-14 22:50:55 +01:00
Florine W. Dekker 93c0a6f7e9
Detect and resolve renaming vandalism 2022-12-12 23:29:44 +01:00
Florine W. Dekker 3626175bac
Reduce cron job overheads, add some extra logging 2022-12-12 17:37:07 +01:00
Florine W. Dekker 44b62d32d0
Make forms look just a little bit better 2022-12-12 00:03:39 +01:00
Florine W. Dekker 12e7437335
Restructure validation logic 2022-12-08 18:37:26 +01:00
Florine W. Dekker 732298bf09
Restructure rules, rewrite config, starts tests
Rules now distinguish between user errors and bugs, give more specific errors, configuration now uses a completely different interface, and start with the new setup for tests.
2022-12-07 23:12:33 +01:00
Florine W. Dekker 2ef6b105ce
Resolve some minor final bugs and TODOs 2022-12-07 20:21:53 +01:00
Florine W. Dekker f029c68f1a
Slightly obfuscate some eggs 2022-12-07 20:10:51 +01:00
Florine W. Dekker 1459ed8814
Add tracking start date 2022-12-07 20:00:07 +01:00
Florine W. Dekker c49cd7184f
Clarify several error messages and signatures 2022-12-07 19:36:14 +01:00
Florine W. Dekker fbce900475
Check config perms, validate boolean inputs 2022-12-07 15:51:36 +01:00
Florine W. Dekker 5a99441a0c
Move reusable token verification to separate method 2022-12-06 18:12:43 +01:00
Florine W. Dekker 685bf47b30
Use bcrypt hash for CLI secret 2022-12-06 18:00:18 +01:00
Florine W. Dekker 9591c5ecd2
Completely revamp docs and input validation
And lots of other things as well, I don't even remember it all.
2022-12-04 23:56:49 +01:00
Florine W. Dekker 4c58b2a646
Make actions agnostic to the request method
And improve some exception structuring.
2022-12-04 16:58:12 +01:00
Florine W. Dekker 1cd9dfc9d2
Revamp UserManager structure 2022-12-03 14:59:53 +01:00
Florine W. Dekker 5898c95709
Revamp email system, config, and db exceptions 2022-12-02 23:05:25 +01:00
Florine W. Dekker 19922907c8
Clean up the cleaning up 2022-12-01 23:46:05 +01:00
Florine W. Dekker f67873467e
Clean up mailing code 2022-12-01 23:05:12 +01:00
Florine W. Dekker ca30d9d42c
Move tracking processing logic to Action classes 2022-12-01 22:24:20 +01:00
Florine W. Dekker 18a2d0d779
Restructure some packages 2022-12-01 20:52:16 +01:00
Florine W. Dekker 560c50e027
Fix returning global message in `start-session` 2022-12-01 20:36:51 +01:00
Florine W. Dekker 0cf3897f79
Improve documentation, move classes around, etc. 2022-12-01 20:32:12 +01:00
Florine W. Dekker 4fcf615e41
Create action dispatcher mechanism for cleaner api.php 2022-12-01 18:24:08 +01:00
Florine W. Dekker 1c62c73055
Write tests for UserManager
Also fixes a bug with checking token validity dates, reorders some methods for clarity, and ensures that the login menu is not shown in the password reset screen.
2022-11-28 17:41:16 +01:00
Florine W. Dekker 6fb88c5454
Clarify requirements on composer 2022-11-27 15:44:23 +01:00
Florine W. Dekker 43feaa0fed
Restructure all files and classes
This is the *only* way in which I could get the autoloader to work for both my production and my test code :(
2022-11-27 14:59:00 +01:00
Florine W. Dekker 379498cfe0
Add setup for database-based tests 2022-11-27 13:54:13 +01:00
Florine W. Dekker 4bca46fb97
Add unit tests for server-side input validation 2022-11-27 11:39:40 +01:00
Florine W. Dekker d20147101c
Fix minor errors in HTML and CSS 2022-11-26 15:10:10 +01:00
Florine W. Dekker 69972cd3f1
Migrate to template v3 2022-11-20 22:26:38 +01:00
Florine W. Dekker 8fe82f4a18
Slightly clean up exception handling 2022-11-18 22:42:11 +01:00
Florine W. Dekker 9e123a1065
Implement category request continuation
Previously not all pages were correctly being quered by the cron job.
2022-11-18 22:32:35 +01:00
Florine W. Dekker 5ec5696058
Perform a failed attempt at pimping the settings 2022-11-18 16:25:08 +01:00
Florine W. Dekker 0d6782f57f
Add button to clear trackings filter 2022-11-18 15:41:06 +01:00
Florine W. Dekker 48d27feadb
Add placeholders in trackings table 2022-11-18 15:36:15 +01:00