719 Commits

Author SHA1 Message Date
305ef0f5a3 Minor code consistency changes, no functional changes 2025-07-03 13:17:25 +08:00
f1316d698d Implement DN Entry rename 2025-07-03 13:17:25 +08:00
339ba7258a Make the ajax calls POST methods, and make the 'Create Entry' in the tree configurable so calls to children() can just return child entries 2025-07-03 13:17:25 +08:00
883ac5d90f Dont render delete button on Entries that have subordinates 2025-07-03 13:17:13 +08:00
46277146c5 Fix rendering of Add Value attributes when the attribute is also rendered by a template, resulting in double javascript and blank values 2025-07-03 13:16:58 +08:00
06747064d4 Fix add new attributes where being marked as readonly 2025-07-03 13:16:58 +08:00
2c91298b41 Release v2.2.0
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 27s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m31s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m48s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
2.2.0
2025-07-02 13:48:25 +08:00
9798863e34 Sample data fixes so that test completes on first run. This synchronises the import test with what is initially loaded
Some checks failed
Create Docker Image / Build Docker Image (arm64) (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
Create Docker Image / Test Application (x86_64) (push) Has been cancelled
2025-07-02 13:26:22 +08:00
4494154879 Fix regression introduced in 56fcd729. Server was added to the configuration before SwapinAuthUser::class resulting in the configured LDAP user being used for all queries and not the logged in user. Fixes #348
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Has been cancelled
Create Docker Image / Build Docker Image (arm64) (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
2.2.0-rc2
2025-06-30 20:35:33 +08:00
b22c9505bc Fix rendering of objectclass in server info, consistent use of true/false/null in view blades
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 31s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m33s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m48s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
2025-06-27 18:44:25 +10:00
29a659ff69 Fix typo in 553368c that stopped configuration defaults from loading
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m28s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m45s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2025-06-27 16:53:04 +10:00
2348da36c4 Fix hasing password on entry create. Fixes #353
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m46s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 15m7s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
2025-06-27 14:18:52 +10:00
6f58f5db36 Fix bug introduced with 553368c, when clearing session _auto_number when need to allow for edits that doesnt have this set
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m41s
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
2025-06-27 14:03:35 +10:00
553368c7b9 Implement getNextNumber() to populate template->values for attributes, where the attribute is determined after evaulating whats in the directory
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Successful in 28s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 3m1s
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
2025-06-27 13:50:01 +10:00
c8d1122ff6 Fix validation on existing entries, missed in 88db4cc 2025-06-26 23:13:46 +10:00
2320445dfb Fix regression introduce in 31e3c7, x-form.select wasnt rendering the current value of the select list. Also fix validation redirect where the password encryption method was changed, but the new encryption method was not set. 2025-06-26 22:49:06 +10:00
6d2c9d1354 Specifying a comma delimited list for LDAP_BASE_DN was never going to work. Use a colon instead. Fixes #351 2025-06-26 22:04:37 +10:00
6f20d426ad Dont sort by DN, problematic when sssvlv overlay is used in openldap. Seems DN's are sorted anyway. Fixes #350 2025-06-26 21:55:10 +10:00
7b1b4f4e50 Rename and group schema modification files to better identify global and specific database changes 2025-06-26 21:53:16 +10:00
543250e1fb Fix entry-userpassword-check when entry is rendered with a template
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 30s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m27s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 2m51s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2025-06-22 22:10:21 +10:00
3bf97fc0d1 Add the ability to use a select list for template attributes 2025-06-22 22:08:38 +10:00
3ad4c446ea Change our template attribute processing, to be collections, so we can find attributes using anycase keys 2025-06-22 17:27:56 +10:00
ee3cb395c2 Enhancement to 8fd2a43, validating authentication before rendering the DN doesnt exist error (otherwise it is an authentication issue) 2025-06-22 14:07:33 +10:00
29c39e618f Ensure form validation is displayed on template input entries, especially those marked as read-only
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Has been cancelled
Create Docker Image / Build Docker Image (arm64) (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled
2.2.0-rc1
2025-06-22 10:18:23 +10:00
647cee9858 Fix regression introduce in 31e3c7 when adding a new objectclass to a new entry, newoc shouldnt be passed as a form value 2025-06-22 10:18:23 +10:00
54c0df2597 Fix rendering updated attributes on entries that trigger a template 2025-06-22 10:18:23 +10:00
67d65b3a98 Framework and javascript dependancies update 2025-06-22 10:18:23 +10:00
9547b5fc5a Update README with v2.2 updates, as well as updating the home page 2025-06-22 10:18:23 +10:00
f6b7bff605 Enable disabling internal templates, as well as having custom templates 2025-06-22 09:11:47 +10:00
e8aaa17122 Change our internal template keys to be prefixed with an underscore for easier identification 2025-06-22 09:11:47 +10:00
ee7762d69b Working JS Template Engine with basic functionality 2025-06-22 09:11:43 +10:00
fac560750e Update npm assets to make dependabot happier 2025-06-20 17:13:33 +10:00
d3aa73e468 Remove our highlighted item from the tree, when we click on the top-menu buttons 2025-06-20 17:13:33 +10:00
2ddeff8ed3 Fix page expired 419 started showing a page expired message, instead of refreshing the session and loading the clicked item on the tree 2025-06-20 17:13:33 +10:00
b6bce380dd Fix for when specifying multiple base DNs with LDAP_BASE_DN, and the user doesnt have access to the first one. 2025-06-20 17:13:33 +10:00
8fd2a43ee2 Add alert for DN logins that dont exist. Might be attempts to use the rootdn which is not supported.
Closes #345
2025-06-20 17:13:33 +10:00
96afbd8316 Pass the template object to the attributes, so we can leverage template rules when rendering attributes 2025-06-20 17:13:33 +10:00
5ce3a63878 Revert c56df8d3d and remove adding Objects directly - taking a different approach to add template actions 2025-06-19 16:15:22 +10:00
ac8e79ab99 Minor logging message updates, no functional changes 2025-06-19 16:15:22 +10:00
d0c02b91c0 Re-implement LDAP_BASE_DN to limit what is shown in the tree, and what PLA uses internally to search the server. Fixes #342 2025-06-19 16:15:22 +10:00
2a691c147e Remove references to APP_URL and LDAP_BASE_DN, they are not actually used 2025-06-19 16:15:22 +10:00
781c87cb83 Fix positioning of Check Password box, and dont render it when creating a new entry 2025-06-19 16:15:22 +10:00
98a0b87afe Add objects directly to Entry::class when rendering a template. Fix objectclasses and attributes processing for templates 2025-06-19 16:15:22 +10:00
88db4ccc99 Update AttributeTypes/LDAPSyntaxes/MatchingRules for performance and process improvements 2025-06-18 22:39:23 +10:00
6059bc1e45 Pass template to our component rendering to avoid duplicate javascript object id's 2025-06-18 22:39:23 +10:00
acf19cdc5b Optimize schema objectclass processing, changing debugging output, remove redundant functions 2025-06-13 23:03:27 +10:00
56fcd729e7 Load the rootDSE in Server::__construct(), remove basedn from views, and rely on the javascript to get the basedns 2025-06-12 12:06:44 +09:30
d61f6168a4 Remove MatchRuleUse::class, it wasnt used 2025-06-12 12:06:44 +09:30
f2eaed247a Cache loading templates 2025-06-12 12:06:44 +09:30
31e3c75bc9 Enhancements to logic that makes form.select component 2025-06-12 12:06:44 +09:30