Commit Graph

22 Commits

Author SHA1 Message Date
dependabot[bot] a06956f164
Bump actions/checkout from 3 to 4 (#58)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 18:35:21 -07:00
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 e01a00d638 Update dependabot.yml 2023-05-04 19:41:13 -07:00
Belle Aerni b31e88a428
Move to using AntLoader (#38)
* Move to using AntLoader

* Update composer lockfile

I fixed the wrong classname in AntLoader

* Update tests

* It works!

* Use AntLoader 1.0.0
2023-05-04 19:36:15 -07:00
Belle Aerni a58113087f Fix PHPStan action 2023-05-03 18:37:53 -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 fcd9e31af9 Run unit tests on PHP 8.0, 8.1, and 8.2 2023-01-14 15:50:05 -08:00
Belle Aerni 3405291db1 Move the config and pages .yaml files to /Config 2023-01-09 22:55:02 -08:00
Belle Aerni 757b1b3ade This fix it? 2023-01-08 23:49:17 -08:00
Belle Aerni e09d4ca60d Experimenting with unit tests 2023-01-08 23:43:17 -08:00
Belle Aerni 1d65fca192 Fix a small typo 2023-01-07 14:09:01 -08:00
Belle Aerni d1fd6521f9 Make tailwind the default and generate the CSS
Closes #1 + makes the smaller and faster theme the default
2023-01-07 14:06:47 -08:00
Belle Aerni 3ee0161c11 Small tweak to the preview generator 2023-01-07 13:42:55 -08:00
Belle Aerni e96967f604 Two quick fixes 2023-01-07 13:37:49 -08:00
Belle Aerni b953821dd2 Add template fallbacks. Closes #2
Also improved slightly the keyword generator, and added npm to dependabot scanning
2023-01-07 13:35:14 -08:00
Belle Aerni ee92c2f058 False -> no 2023-01-07 11:11:10 -08:00
Belle Aerni 906c88273f Don't include dev packages in the preview build 2023-01-07 11:08:27 -08:00
Belle Aerni 893cdc99f8 Hm, does this do the trick? 2023-01-07 02:27:07 -08:00
Belle Aerni 60633f11e0 Action to publish previews 2023-01-07 02:20:29 -08:00
Belle Aerni 666e82967e Move to the right folder 2023-01-06 18:27:03 -08:00
Belle Aerni 28ca1b87e4 Add PHPStan 2023-01-06 18:25:28 -08:00
Belle Aerni 6a354be240
Create dependabot.yml 2023-01-06 18:08:47 -08:00