Commit graph

17 commits

Author SHA1 Message Date
Belle Aerni
38e51166c3
Implemented APCu caching (#44)
* Start implementing APCu caching

* Fix tests

* Now make PHPStan happy :)

* Fix tests

* Also enable the APCu extension in the tests

* Set maxlife to 7 days & clear with cron

* Implement a more correct way to clear the cache

* Also mention the APCu caching in the readme
2023-05-26 23:46:42 -07:00
Belle Aerni
23e8b18ba3
Implemented multi-user support (#27)
* Implemented rudimentary multi-user support

* Delete src.zip

* Improve the update user function

And added a new function to the auth module to invalidate a session

* Update AntAuth.php

* Rename the configs, a bit more auth stuff

* Fix test and JS regex

* Turn the admin landing page into a twig template

* plugin/admin/ -> admin/

* Refactored templating for plugins

Plus. I finally converted the remaining options in the admin plugin to twig templates. No extra styling, but it'll be easier now

* Fix PHPStan warnings

* Basic "first time" user setup

* Improved styling

* Started implementing user management

* Completed user management in the admin panel

* Renamed templates, added support for sub-dirs

* Limit and validate allowed chars for usernames

* Finished the basics of the profile plugin

* Styling for the bootstrap theme

* Some more final touches

* Added an example to show author

* Tweak to the readme
2023-03-07 02:09:32 -08:00
Belle Aerni
ecf94d36da Removed the keyword generator
It didn't really work, added a bunch to the overall file size, and computer-generated keywords just won't compare to human created ones, unless you're to use AI or a particularly advanced algorithm, which I feel is outside the scope of the project.

I've left the class in place, so if needed, it'll be really easy to add it back
2023-01-19 18:01:03 -08:00
Belle Aerni
c90823afbe Default to having keyword generation off 2023-01-14 15:37:57 -08:00
Belle Aerni
a2f8c3617a Slightly cleanup auth + enable CGIPassAuth
Should hopefully fix any issues with CGI servers.
Also renamed the 'SiteInfo' config key to 'siteInfo' to follow the naming scheme for everything else
2023-01-11 19:30:34 -08:00
Belle Aerni
016103f7cd Updated readme, moved minimum PHP ver to 8.0 2023-01-10 18:50:10 -08:00
Belle Aerni
2a1af73f75 Use the .twig file extension 2023-01-10 00:07:20 -08:00
Belle Aerni
d4331326f6 Missed codeblocks 2023-01-09 11:15:48 -08:00
Belle Aerni
ff68feeae6 Improved readme 2023-01-09 11:11:32 -08:00
Belle Aerni
2acfc2d50d And added some more 2023-01-09 01:05:24 -08:00
Belle Aerni
2de92731cf Updated readme 2023-01-08 09:28:24 -08:00
Belle Aerni
47d86d8b6d Improvements to the readme
Also made the index.md file a copy of the readme, so it will be the first thing people see when they access it
2023-01-07 14:58:42 -08:00
Yağızhan
4d745a6c9d
Update readme.md 2023-01-07 20:33:32 +03:00
Yağızhan
f5195315ca Updated the README section for theming 2023-01-07 13:51:38 +03:00
Belle Aerni
d5e19ecf4d Fix a really dumb typo.. 2023-01-07 01:45:51 -08:00
Belle Aerni
4dc49dd861 Updated the readme 2023-01-07 01:44:18 -08:00
Belle Aerni
7474aaaab6 Fixed usage of subpages, added random content 2023-01-06 12:27:36 -08:00