51 Commits

Author SHA1 Message Date
Andrew McMillan
7f63f12e57 Better display of bindings. 2010-10-07 15:25:30 -04:00
Andrew McMillan
7b18b3edc2 Only display internal paths for bindings. 2010-09-25 22:28:32 +12:00
Andrew McMillan
79f7347c2d Display the bindings a principal has access to, also. 2010-09-24 23:25:33 +12:00
Andrew McMillan
606375e6f1 [principal/collection edit] Add display of tickets and bindings. 2010-09-21 12:15:16 +12:00
Andrew McMillan
a46f8bf613 [collection-edit] Handle duplicate key error properly. Avoid SQL error on new. 2010-09-20 12:55:41 +12:00
Andrew McMillan
6115d90cbf [principal edit] Ensure the id is > 0 for us to fetch the record.
As well as causing an unsightly SQL error in the logs this was
actually crashing PHP in some cases.  Also we don't delete the
row unless the ID is > 1, to avoid deleting the admin user by
accident.
2010-09-11 22:50:29 +12:00
Andrew McMillan
7eaf94753c SQL style should not include a ';' on the end of the statement. 2010-08-24 14:45:16 +12:00
Andrew McMillan
ef4a55a81b Order drop-down list of principals by displayname. 2010-08-18 21:36:52 +12:00
Andrew McMillan
6264736bde Display a list of tickets granted by this principal. 2010-04-28 14:10:26 +12:00
Andrew McMillan
ad42769a91 Try to clarify principal actions with better prompts. 2010-04-13 11:51:13 +12:00
Andrew McMillan
d652eaf064 Correct mis-specified query parameter. 2010-04-13 03:35:32 +12:00
Andrew McMillan
1dab49a419 Provide visual feedback when users cannot edit a page. 2010-04-12 21:59:40 +12:00
Andrew McMillan
c0f7949ec4 Don't query the entries unless we actually have a collection. 2010-04-03 17:30:41 +13:00
Andrew McMillan
be3870fc36 Tidy logging. 2010-04-01 22:24:35 +13:00
Andrew McMillan
7a883ffa63 Fix incorrect parameter names in SQL query. 2010-03-22 17:23:59 +13:00
Rob Ostensen
d8e34dd211 include number of items in dav collection on collection edit page 2010-03-21 20:42:03 +13:00
Aurelien Requiem
e20b5c22e6 Don't include self as a potential group member. 2010-03-17 20:27:22 +13:00
Andrew McMillan
f109a963cc Correct privilege checking for modification of collection. 2010-03-14 12:15:44 +13:00
Andrew McMillan
6d6ea5a503 Nail the last (hopefully) missing reference to base_url. 2010-03-11 13:59:24 +13:00
Andrew McMillan
1959c30eed Validating user/collection names. Updating fullname/displayname. 2010-03-04 01:41:11 +13:00
Andrew McMillan
ecf57ce54e Updated collection / principal edit, with better l10n. 2010-03-02 14:39:57 +13:00
Andrew McMillan
d763312279 Use 'Revoke' rather than 'Delete' for grants, and 'Remove' for group members. 2010-02-28 20:13:10 +13:00
Andrew McMillan
03df4635e4 Strip slashes from collection names. They're too confusing. 2010-02-25 23:28:54 +13:00
Andrew McMillan
ef4ef353b5 Allow anything to be a collection name, but urlencode it. 2010-02-25 21:20:54 +13:00
Andrew McMillan
f1510c7670 Assign correct resourcetype on collection maintenance. 2010-02-25 09:40:55 +13:00
Andrew McMillan
459c50c9f9 Allow active/inactive setting. Hide irrelevant stuff on create. 2010-02-24 16:28:53 +13:00
Andrew McMillan
3c90dc23ed Add support for listing inactive principals. 2010-02-24 16:26:12 +13:00
Andrew McMillan
87bb578cdf Fix the 'all' button action in grants update. 2010-02-24 14:00:33 +13:00
Andrew McMillan
2bb1dd5adf Don't display a grant edit until a user is created.
Removes an unsightly SQL error from the logs, but it also
isn't reasonable to be granting privileges until the
principal record exists to do the granting!
2010-02-24 12:51:43 +13:00
Andrew McMillan
39aec8c91c Making things more localisable. 2010-02-23 22:59:37 +13:00
Andrew McMillan
87816b2a05 Use htmlspecialchars rather than htmlentities, which screws up translations. 2010-02-23 22:59:36 +13:00
Andrew McMillan
154aaee283 Add better localisation support to principal / collection edit screens. 2010-02-18 21:13:31 +13:00
Andrew McMillan
e932751491 Admin: support deleting principals / collections with confirmation. 2010-02-18 00:35:21 +13:00
Andrew McMillan
6e2faed3b5 admin: Support setting a principal to be 'Administrator' 2010-02-18 00:20:43 +13:00
Andrew McMillan
8177d41be9 Edit Collections: Fix privileges to do this, and editing of privs. 2010-02-17 23:50:16 +13:00
Andrew McMillan
34ef2693a3 Make admin stuff work better in a subfolder. 2010-02-12 15:49:34 -08:00
Andrew McMillan
35dc22991a Correct URLs for subfolder operation in principal edit. 2010-02-12 12:59:29 -08:00
Andrew McMillan
3215016c14 Fix up the javascript around enabling fields when calendar/addressbook. 2010-01-31 16:35:40 +13:00
Andrew McMillan
5e35e50252 Create a default calendar when a User or Resource principal is created. 2010-01-11 21:45:33 +13:00
Andrew McMillan
19199d5f86 Replaced the old get_permissions() call with the new permissions model. 2009-12-21 13:04:25 +13:00
Andrew McMillan
da0f07f431 Link to create a new collection. 2009-12-13 16:54:01 +13:00
Andrew McMillan
3b03a2de26 Allow for creation of new calendars for a user_no. 2009-12-13 16:53:37 +13:00
Andrew McMillan
e8f9d6a103 Fix careless typo. 2009-12-09 22:50:00 +13:00
Andrew McMillan
452f944a91 Make the username field larger. 2009-12-08 14:12:16 +13:00
Andrew McMillan
a8a81e343b Provide some better visual feedback when grants/members are added/changed. 2009-12-05 10:04:33 +13:00
Andrew McMillan
40e0edf354 Try and clarify the terminology for bind/unbind. 2009-12-04 23:23:07 +13:00
Andrew McMillan
62e43e1be3 Rename davical.php to admin.php which is more appropriate. 2009-12-04 22:57:03 +13:00
Andrew McMillan
d5b032bb8a Add/edit grants on collections. 2009-11-27 19:53:16 +13:00
Andrew McMillan
0b20d760db Now able to edit /create grants to specific users or groups. 2009-11-27 13:16:41 +13:00
Andrew McMillan
7beddb11d6 Allow admin / principal to add groups to themselves 2009-11-24 10:23:04 +13:00