Commit Graph
36 Commits
Author SHA1 Message Date
Rob Ostensen 2de1327934 more external bind changes, added a clean up button, urls now show for external collections and added a few strings for translation 2011-10-24 21:18:04 +13:00
Andrew McMillan 5067d50215 Fix comment. 2011-10-10 13:48:05 +02: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 b901981c7c Fix calendar-query handling of properties. 2011-08-24 20:38:32 +12:00
Andrew McMillan 20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Andrew McMillan f305cdf4cb A few more places we need to ensure the collection is uncached.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:55:55 +13:00
Andrew McMillan 5e4f574818 One final nail in PgQuery's coffin.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 16:15:36 +13:00
Andrew McMillan 7f63f12e57 Better display of bindings. 2010-10-07 15:25:30 -04: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 ef4a55a81b Order drop-down list of principals by displayname. 2010-08-18 21:36:52 +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
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 87bb578cdf Fix the 'all' button action in grants update. 2010-02-24 14:00:33 +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 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 3215016c14 Fix up the javascript around enabling fields when calendar/addressbook. 2010-01-31 16:35:40 +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 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 516dc03880 New screens for browsing/editing Principals & Collections. 2009-11-22 22:33:56 +13:00