21 Commits

Author SHA1 Message Date
Erik Thuning
45f80a0855 Moved entitlement handling into the application.
Any user who can log in via SSO but doesn't have one of the required
entitlements will only ever see a listing of their own loans.
2024-02-29 15:44:19 +01:00
Erik Thuning
22608f1aa7 Added a page intended for users to view their own loans.
Also added serial numbers to loan listings for users.
2024-02-29 14:48:37 +01:00
Erik Thuning
c6a7af0639 Cleaned up trailing whitespace 2024-02-27 13:59:59 +01:00
Erik Thuning
746ad28545 Implemented internationalization.
Let's see how many strings have been missed.
2024-02-26 13:10:13 +01:00
Erik Thuning
048cfb3ee2 match is a keyword in php8, so renamed the match() function accordingly 2024-02-21 11:37:35 +01:00
Erik Thuning
78ac0574b9 Major search overhaul 2021-09-15 15:53:52 +02:00
84ee8f10d6 bug searching in search function 2021-09-09 11:31:46 +02:00
f1a731c859 bug searching in search function 2021-09-09 11:26:15 +02:00
root
bef253940c Halfway implemented a new search interface 2021-05-25 11:35:21 +02:00
Erik Thuning
9d346296bc Reverted the last two commits; back to eager product init.
Made product creation a separate page and added a menu item for it
2020-01-20 14:47:50 +01:00
Erik Thuning
a3656604c0 Implemented attachments for products 2019-11-19 15:06:22 +01:00
Erik Thuning
45eb32c70b Implemented suggestions for product field contents
based on existing contents of the same field on other products.
Also changed datalist IDs to be more descriptive
2019-08-15 11:34:59 +02:00
Erik Thuning
ef756e36b4 Several changes:
- The inventory page now shows status of seen products as of when they were registered,
   not as of now.
 - Renamed a placeholder in fragments.html to be more intuitive.
 - Added a type field to the event table in the database, so that complete events can
   be constructed without complex logic.
 - Refactored to support the above changes
2019-07-24 14:09:31 +02:00
Erik Thuning
d61ba55af4 Added new utility functions format_date and default_loan_end 2019-07-23 15:29:20 +02:00
Erik Thuning
8654206c72 Added the ability to search for presence of fields 2019-07-16 14:45:58 +02:00
Erik Thuning
8485264714 Searches now automatically match parts of field values, and the search field has autofocus 2019-06-12 11:09:03 +02:00
Erik Thuning
692c2e0aeb Broke all classes into separate files and activated class autoloading.
All free functions are now in functions.php
2019-06-11 17:05:48 +02:00
Erik Thuning
cdd087e098 Fragments arenow trimmed 2018-08-21 16:37:42 +02:00
Erik Thuning
af00f2dae5 Slowly getting things in place 2018-07-19 05:48:24 +02:00
Erik Thuning
a33f8172f6 REmoved format_page function and refactored get_fragments 2018-07-11 16:45:43 +02:00
Erik Thuning
cf328d63dc Renamed a file 2018-07-11 15:33:00 +02:00