15 Commits

Author SHA1 Message Date
Erik Thuning
d981f6d190 Updating the algorithm for dropping users
Users who have taken actions in the system are now never dropped
automcatically. For the moment the actual dropping logic is commented out
so consequences for production can be checked beforehand
2025-09-25 14:45:05 +02:00
Erik Thuning
57cb0b0076 Implemented automatic removal of old users' PII.
This entailed adding a new routine in include/Cron.php that checks for old
users and purges their username and notes.

As part of this some other changes were necessary:
 - Introduced a creation time for users, so it's possible to distinguish
   between an old user with no loans and a new user with no loans.
 - The user.name field in the database now allows null values.
2025-09-23 16:46:32 +02:00
Erik Thuning
7cb0b1ea57 Updated the Cron.php email logic to use configurable fragments instead of hardcoded text 2024-02-14 10:48:01 +01:00
Erik Thuning
2f6cc432b1 Missed using the configured subject prefix in a spot 2024-02-08 16:36:35 +01:00
Erik Thuning
1f33f73938 Implemented notification emails when discarding products. 2024-02-08 15:34:04 +01:00
Erik Thuning
a7d961c4d3 If a product was checked out and immediately returned, an empty email receipt was being sent. Fixed. 2023-01-13 16:14:41 +01:00
Erik Thuning
9307604aa0 Implemented receipts for loan extensions 2022-07-27 13:53:18 +02:00
Erik Thuning
cd627f811d Made it work 2022-07-20 10:41:35 +02:00
Erik Thuning
311402e1b8 Initial implementation of loan receipts 2022-07-19 17:00:08 +02:00
Erik Thuning
79d9f45c38 Refactored the reminder generaion 2022-05-16 13:49:22 +02:00
Erik Thuning
15f4597637 Fixed formatting bugs in the outgoing emails 2022-05-02 15:21:56 +02:00
Erik Thuning
0ee0f81024 Changed cron behaviour to warn users 3 days before their loans end 2022-04-29 15:58:38 +02:00
root
9f4bc39e55 Testing a hopefully faster ldap lookup 2021-09-15 11:43:36 +02:00
Erik Thuning
f3ee75c15b Added brand name to reminder emails 2020-09-01 09:27:12 +02:00
Erik Thuning
ddaa1c6663 Broke the Cron class into its own include file, and made some addresses configurable.
Introduced a configuration variable to use for future implementation of discard notifications.
2019-10-24 09:57:47 +02:00