Commit Graph
48 Commits
Author SHA1 Message Date
Andrew McMillan ec3996bca7 Decide whether we can write the principal before we refer to it... 2012-06-14 21:16:13 +12:00
Andrew McMillan d1c2179bbb Allow a user delegated write access to the principal to maintain it. 2012-06-11 19:43:05 +12:00
Andrew McMillan b8b72d8470 Fix bug in "Edit" of existing grant. 2012-04-18 16:50:58 +12:00
Andrew McMillan e05253327f Set the default URL to the default calendar name rather than /home/ 2012-01-13 17:34:40 +13:00
Andrew McMillan 23d454a6d0 The tooltips for schedule-send and schedule-deliver should be different! 2011-11-21 10:54:57 +13:00
Andrew McMillan 2127c294a3 Various small fixes preparing for release.
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan 62d5881bd0 Fix sort order of members listed in a group.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-23 12:16:16 +13:00
Andrew McMillan fcd2ffc5b3 Fix function rename so we can create tickets.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-15 16:43:15 +13:00
Andrew McMillan bb1e22c9b5 We need access to $c here...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-07 00:09:06 +13:00
Andrew McMillan c3ae4d6fe3 Remove unnecessary debugging message.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:23:47 +13:00
Andrew McMillan 0041a1e331 Since we haven't read the record yet, we can't refer to it's fields.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-28 00:41:33 +13:00
Andrew McMillan 5a014c35f0 Fix references to $c global.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 10:50:36 +13:00
Andrew McMillan 8f8f69cde1 Extensively refactored. Added support for creating tickets.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 15:56:30 +13:00
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 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 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
Aurelien Requiem e20b5c22e6 Don't include self as a potential group member. 2010-03-17 20:27:22 +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 459c50c9f9 Allow active/inactive setting. Hide irrelevant stuff on create. 2010-02-24 16:28:53 +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 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 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 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 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
Andrew McMillan 516dc03880 New screens for browsing/editing Principals & Collections. 2009-11-22 22:33:56 +13:00