forked from Public/pics
555a3dbb957eb7234c3df65a1c770d5e64f40ab6
Switch from email-based OIDC matching to the stable `sub` claim. Existing users are migrated by email on first login, new users are auto-enrolled from OIDC claims, and admin status is synced from the IdP's groups claim. Also expose oidc_sub on the admin edit-user page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
HashRU Pics
This is the development repository for the HashRU photo website. The CMS and its modules originate in Kabuki CMS, but have been extended and are maintained separately in this repository.
Requirements
The Kabuki codebase requires the following PHP extensions to be enabled for full operation:
- exif
- imagick (PECL)
- mysqli
Setup
Copy config.php.dist to config.php and set-up the constants contained in the file.
Running
For development purposes, simply run the server script provided in the root of this repository.
This will start a PHP development server on hashru.local:8080.
For a production environment, please set up a proper PHP-FPM environment instead.
Contributing
Pull requests are welcome over at the HashRU Gitea.
License
The HashRU Pics repository is licensed with a BSD 3-clause license, as is Kabuki CMS.
Description
Languages
PHP
86%
JavaScript
9.6%
CSS
4.4%