Commit Graph

  • d4cf2498fe FIX: bad method name test prod Erik Thuning 2024-11-14 15:49:31 +01:00
  • 62b8c853f5 Products now get sorted in alphabetical name order in most (all?) views Erik Thuning 2024-11-14 15:44:04 +01:00
  • 9db001a635 Fixed a typo Erik Thuning 2024-03-11 10:03:53 +01:00
  • 8cf081a9d1 Underscores in info field names are now changed to spaces when rendered. Not an ideal solution since underscores now can't be used in field names, but since it's PHP's POST handling getting in the way it'll have to do. Erik Thuning 2024-03-08 16:40:55 +01:00
  • 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. Erik Thuning 2024-02-29 15:44:19 +01:00
  • 22608f1aa7 Added a page intended for users to view their own loans. Also added serial numbers to loan listings for users. Erik Thuning 2024-02-29 14:48:37 +01:00
  • c51bd1a60a Renamed history_table and related fragments to loan_table Erik Thuning 2024-02-28 11:32:53 +01:00
  • ff079abb9c Found more strings to translate Erik Thuning 2024-02-28 11:08:04 +01:00
  • d770138159 Fixed a typo Erik Thuning 2024-02-28 10:54:46 +01:00
  • bf696127a9 Reworked email lookup logic on CheckoutPage, so a user will be automatically created if their email address exists in sukat but doesn't have a corresponding boka user yet. Erik Thuning 2024-02-27 15:49:52 +01:00
  • b2ff35a6d9 Found even more untranslated strings! Erik Thuning 2024-02-27 15:19:30 +01:00
  • c6a7af0639 Cleaned up trailing whitespace Erik Thuning 2024-02-27 13:59:59 +01:00
  • deb47f94d3 Eliminated a warning due to attempting to index into null Erik Thuning 2024-02-27 13:49:42 +01:00
  • 362ee182cb Found some untranslated strings Erik Thuning 2024-02-27 13:35:35 +01:00
  • 212c34d779 Discarded products are now displayed in a read-only format. Also added a fragment for a public view of a product Erik Thuning 2024-02-26 17:22:26 +01:00
  • dd6c270fa3 Merge branch 'prod' into test Erik Thuning 2024-02-26 16:36:21 +01:00
  • 5602b81fd0 Added alternating coloration for most tables Erik Thuning 2024-02-26 16:20:40 +01:00
  • 9410c7bcec Fixed a mismatched tag on that broke the search page Erik Thuning 2024-02-26 16:15:15 +01:00
  • a91923ad18 Renamed product_detail fragments to product_match in order to disambiguate with actual detail views Erik Thuning 2024-02-26 16:10:59 +01:00
  • 07128568ca Renamed the fragment product_form to product_details in preparation for readonly public views Erik Thuning 2024-02-26 15:14:41 +01:00
  • f8e951c215 Added a missed css class to the user table fragment Erik Thuning 2024-02-26 14:50:58 +01:00
  • 36fa5d36f6 Merge branch 'test' into prod Erik Thuning 2024-02-26 13:13:16 +01:00
  • 437ec951bd Past inventories used to list all current products, not just the ones that existed at the time of inventory. Fixed. Erik Thuning 2024-02-26 13:10:50 +01:00
  • 746ad28545 Implemented internationalization. Let's see how many strings have been missed. Erik Thuning 2024-02-26 13:10:13 +01:00
  • 5c199783c2 Added error handling for missing attributes in ldap lookups Erik Thuning 2024-02-26 12:39:11 +01:00
  • b14603c7fb Merge branch 'test' into prod Erik Thuning 2024-02-21 16:33:08 +01:00
  • 60982069f6 Apparently final private is pointless, who knew Erik Thuning 2024-02-21 16:31:51 +01:00
  • 048cfb3ee2 match is a keyword in php8, so renamed the match() function accordingly Erik Thuning 2024-02-21 11:37:35 +01:00
  • e15e2da3b4 Merge branch 'test' into prod Erik Thuning 2024-02-14 10:57:05 +01:00
  • bd8e50493b Aded minimal documentation Erik Thuning 2024-02-14 10:54:48 +01:00
  • 8afeeb3fc5 Ignoring the email fragments file Erik Thuning 2024-02-14 10:54:33 +01:00
  • 7cb0b1ea57 Updated the Cron.php email logic to use configurable fragments instead of hardcoded text Erik Thuning 2024-02-14 10:48:01 +01:00
  • 5aaf5654f2 Added comment to the subject prefix setting Erik Thuning 2024-02-14 10:46:28 +01:00
  • 48940ef10a Merge branch 'test' into prod Erik Thuning 2024-02-09 16:23:16 +01:00
  • 0ae6b11c21 Indentation fix Erik Thuning 2024-02-09 16:18:23 +01:00
  • af39340b4b Updated the scrapping emails to include a lot more detail. Erik Thuning 2024-02-09 16:17:59 +01:00
  • 6ad29ccd7d Merge branch 'test' into prod Erik Thuning 2024-02-09 11:43:50 +01:00
  • 3765795dbb Merge branch 'test' master Erik Thuning 2024-02-09 11:39:45 +01:00
  • 2f6cc432b1 Missed using the configured subject prefix in a spot Erik Thuning 2024-02-08 16:36:35 +01:00
  • 4f8bc9486d Fixed the inventory registry field not trimming whitespace Erik Thuning 2024-02-08 15:38:54 +01:00
  • 1f33f73938 Implemented notification emails when discarding products. Erik Thuning 2024-02-08 15:33:00 +01:00
  • c31c827b36 Upped the default font size a bit. Erik Thuning 2024-02-08 15:30:33 +01:00
  • 019725dade Missed replacing a placeholder in the product_form fragment Erik Thuning 2024-02-08 13:39:09 +01:00
  • d3e6ee7ab2 Fixed too many fields showing up when creating a new product root 2023-03-08 10:04:13 +01:00
  • e61e6454dd Merge branch 'test' into prod Erik Thuning 2023-01-13 16:16:00 +01:00
  • a7d961c4d3 If a product was checked out and immediately returned, an empty email receipt was being sent. Fixed. Erik Thuning 2023-01-13 16:14:41 +01:00
  • 5068575111 Merge branch 'test' into prod Erik Thuning 2023-01-11 11:13:10 +01:00
  • b10bf1eed8 Added ability to check out a product from the product page directly Erik Thuning 2023-01-11 11:11:42 +01:00
  • fa46874ae3 Mail notifications get pushed forward in time when a new loan is created if there is a pending notification. This way the user can add multiple loans over time without the notification getting sent prematurely. Erik Thuning 2023-01-11 10:43:57 +01:00
  • 183166c4d0 Merge branch 'test' into prod root 2022-09-02 13:15:59 +02:00
  • 9307604aa0 Implemented receipts for loan extensions Erik Thuning 2022-07-27 13:53:18 +02:00
  • 1b8c2e1e18 Corrected a database field name Erik Thuning 2022-07-27 13:52:54 +02:00
  • ae8b73cb88 Trim whitespace from serials when checking out and returning products Erik Thuning 2022-07-27 13:15:06 +02:00
  • 4e9e5b93af Added a function to get the latest loan extension. Broke receipt queueing into a function. Changed $this->id to $this->get_id() for the sake of consistency. Erik Thuning 2022-07-27 11:04:09 +02:00
  • b967c7dde2 Added the new tables pending_receipt and loan_extension to the schema Erik Thuning 2022-07-27 10:58:11 +02:00
  • b3434dbb6a Changed loan extension form to have a saner default end time. Erik Thuning 2022-07-27 10:52:52 +02:00
  • 22d760a0af Whitespace cleanup Erik Thuning 2022-07-27 10:48:53 +02:00
  • 1d0caf9513 Sorted the bugs when picking an interval via button Erik Thuning 2022-07-26 10:56:59 +02:00
  • dbe2a0ee90 Removed debug line Erik Thuning 2022-07-26 10:24:16 +02:00
  • 0af33c5dd6 Added buttons to quickly change the runtime of a loan Erik Thuning 2022-07-26 10:23:09 +02:00
  • cd627f811d Made it work Erik Thuning 2022-07-20 10:41:35 +02:00
  • 311402e1b8 Initial implementation of loan receipts Erik Thuning 2022-07-19 17:00:08 +02:00
  • 04af074849 Whitespace cleanup Erik Thuning 2022-07-19 16:57:42 +02:00
  • a16e5f2479 Whitespace cleanup Erik Thuning 2022-07-19 15:48:35 +02:00
  • 396a3f067e Config item $reminder_sender changed to $sender Erik Thuning 2022-07-19 15:29:58 +02:00
  • c1ba468807 Whitespace cleanup Erik Thuning 2022-07-19 15:27:31 +02:00
  • 79d9f45c38 Refactored the reminder generaion Erik Thuning 2022-05-16 13:49:22 +02:00
  • 15f4597637 Fixed formatting bugs in the outgoing emails Erik Thuning 2022-05-02 15:21:56 +02:00
  • 19e0afea7e Merge branch 'test' into prod Erik Thuning 2022-04-29 16:00:05 +02:00
  • 0ee0f81024 Changed cron behaviour to warn users 3 days before their loans end Erik Thuning 2022-04-29 15:58:38 +02:00
  • c8720d4ecf Merge branch 'test' into prod Erik Thuning 2022-03-03 11:49:01 +01:00
  • 3fae0ce1ff Search overhaul possibly finished? Erik Thuning 2022-03-03 11:37:35 +01:00
  • 0f66c8212f User results are printed properly now Erik Thuning 2022-03-02 10:18:54 +01:00
  • 8502fbf0a1 Initial implementation of search result detail output Erik Thuning 2022-03-01 16:33:00 +01:00
  • 4fbffa1402 Changed checkoutPage email search behaviour Now a default domain is appended on email string that don't contain an @ character emailsearch Erik Thuning 2021-09-22 15:34:33 +02:00
  • 5ace3ea42e Changed checkoutPage email search behaviour Now a default domain is appended on email string that don't contain an @ character Erik Thuning 2021-09-22 15:34:33 +02:00
  • 5e21567204 Implemented picking users based on email on the checkout page Erik Thuning 2021-09-22 15:14:35 +02:00
  • cb4a3b131a Implemented picking users based on email on the checkout page Erik Thuning 2021-09-22 15:14:35 +02:00
  • dbdceadb5e Added the ability to search on product status Erik Thuning 2021-09-15 16:34:25 +02:00
  • 78ac0574b9 Major search overhaul Erik Thuning 2021-09-15 15:53:52 +02:00
  • 9f4bc39e55 Testing a hopefully faster ldap lookup root 2021-09-14 22:45:28 +02:00
  • 6cc74873b2 Fixed the last palces where ldap object must be passed Erik Thuning 2021-09-15 10:53:13 +02:00
  • 3c8a0485de Testing a hopefully faster ldap lookup root 2021-09-14 22:45:28 +02:00
  • 8733573adb Testing a hopefully faster ldap lookup ldapfix root 2021-09-14 22:45:28 +02:00
  • 0eebf93cca cleaning up debug output Viktor Pedersen 2021-09-13 11:14:46 +02:00
  • 84ee8f10d6 bug searching in search function Viktor Pedersen 2021-09-09 11:31:46 +02:00
  • f1a731c859 bug searching in search function Viktor Pedersen 2021-09-09 11:26:15 +02:00
  • 5414ba7da1 bug searching in search function Viktor Pedersen 2021-09-09 11:17:05 +02:00
  • c3c128fe0a bug search Viktor Pedersen 2021-09-09 11:11:10 +02:00
  • e18ff2f1ac searching for bugs Viktor Pedersen 2021-09-08 16:53:52 +02:00
  • 325bc500ed testing search function Viktor Pedersen 2021-09-08 16:49:53 +02:00
  • 08cffa9d9d searching for bugs Viktor Pedersen 2021-09-08 16:45:58 +02:00
  • 12a08d4227 testing search function Viktor Pedersen 2021-09-08 16:43:23 +02:00
  • 2479d46bbb testing search function Viktor Pedersen 2021-09-08 16:36:38 +02:00
  • 9fe090ea4d fixing typos Viktor Pedersen 2021-09-08 16:27:09 +02:00
  • aef524616e testing search function Viktor Pedersen 2021-09-08 16:25:04 +02:00
  • 193f2cf121 testing search function Viktor Pedersen 2021-09-08 16:22:39 +02:00
  • 0b6f25f2ab testing search function Viktor Pedersen 2021-09-08 16:13:47 +02:00
  • 79c7af32b3 testing search function Viktor Pedersen 2021-09-08 16:09:27 +02:00
  • 1c6f3ae058 testing search function Viktor Pedersen 2021-09-08 16:08:35 +02:00