HTTP basic auth and add AGPL license #1

Merged
iacore merged 5 commits from basicauth into main 2024-05-24 20:42:26 +00:00
Owner

Since exozyme recently switched from LDAP to PAM, our calibre-web instance now uses proxy auth instead of LDAP. As a result, it's showing up as a 401 on the status page. (There's a whole long story behind the nightmare that was LDAP on exozyme, but that's a story for another day) This PR started out as adding support for reading the exozyme guest user credentials from the config file and authenticating using them, but then I added a bunch of other stuff and a license. The template change is to avoid hardcoding exozyme-specific stuff in the HTML page so other people can use and rebrand it too. Most of the code changes are for propagating the config values from the main loop all the way to the functions that use them.

If you've previously contributed to this project, please react with a 👍 if you're OK with the new license.

Since exozyme recently switched from LDAP to PAM, our [calibre-web instance](https://library.exozy.me) now uses proxy auth instead of LDAP. As a result, it's showing up as a 401 on the status page. (There's a whole long story behind the nightmare that was LDAP on exozyme, but that's a story for another day) This PR started out as adding support for reading the exozyme guest user credentials from the config file and authenticating using them, but then I added a bunch of other stuff and a license. The template change is to avoid hardcoding exozyme-specific stuff in the HTML page so other people can use and rebrand it too. Most of the code changes are for propagating the config values from the main loop all the way to the functions that use them. **If you've previously contributed to this project, please react with a 👍 if you're OK with the new license.**
a added 2 commits 2024-05-24 03:31:51 +00:00
a requested review from iacore 2024-05-24 03:32:11 +00:00
a removed review request for iacore 2024-05-24 03:37:53 +00:00
a added 1 commit 2024-05-24 15:00:30 +00:00
The status bot keeps spamming Matrix with bogus messages about people's personal websites being down because they're hosted on other servers and sometimes take longer than 1 second to fetch. 3 seconds should be enough to avoid this.
iacore added 1 commit 2024-05-24 20:38:44 +00:00
iacore added 1 commit 2024-05-24 20:41:23 +00:00
iacore merged commit bc72f09198 into main 2024-05-24 20:42:26 +00:00
a deleted branch basicauth 2024-05-24 23:55:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: exozyme/status#1
No description provided.