Commit Graph
231 Commits
Author SHA1 Message Date
Andrew McMillan 16f70a9bdb More work on database patch. 2010-02-28 22:39:42 +13:00
Andrew McMillan 242ebdcf31 Adding tables for holding addressbook data and split out alarms/attendees. 2010-02-28 20:12:40 +13:00
Andrew McMillan 899337a679 Database changes which actually work, for the moment. 2010-02-28 11:35:52 +13:00
Andrew McMillan 0492cb38bb Tweak privileges_list() to work in older Pg versions. 2010-02-27 15:21:33 +13:00
Andrew McMillan 429940f4d9 The <allprop> can be at the top level, not within the <prop>. 2010-02-26 13:45:30 +13:00
Andrew McMillan 4f5badd549 Starting to think about tickets for granting permissions. 2010-02-26 13:30:55 +13:00
Andrew McMillan b966686a71 Default user to davical_dba & provide more help regarding .pgpass files. 2010-02-18 21:12:54 +13:00
Andrew McMillan 6471cb3a57 dav_principal: add a rule for deleting. 2010-02-18 00:34:57 +13:00
Andrew McMillan fb5cd0403f Fix property setting to include principals. 2010-02-17 23:53:28 +13:00
Andrew McMillan 1dccbb9ccc Try and reduce the odds of an extra quote in the password. 2010-01-11 10:14:50 +13:00
Andrew McMillan 081a47f7ee Kill the schedule-in/out box on upgrade so they are recreated. 2009-12-21 22:32:27 +13:00
Andrew McMillan 1cd3d8c896 Remove unused functions. 2009-12-21 18:56:52 +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 7225173211 Correctly create a principal record for the administrator. 2009-12-11 12:13:56 +13:00
Andrew McMillan 8aeb837f8c Another attempt at supporting older DB versions. 2009-12-04 23:18:55 +13:00
Andrew McMillan c59a565588 Fix initialisation of empty array for older Pg versions. 2009-12-04 23:15:34 +13:00
Andrew McMillan 97d7faee32 The -w option doesn't work so well with /usr/bin/env 2009-12-04 23:01:00 +13:00
Andrew McMillan 4786c5869e Correct for active column removed from principal. 2009-12-04 22:55:03 +13:00
Andrew McMillan 924c31ba17 Use first perl in path. 2009-11-27 13:16:14 +13:00
Andrew McMillan e2a1a12a75 Note that this is a bash script. 2009-11-27 13:15:49 +13:00
Andrew McMillan 9c4aeb2543 Fix conversion of Resource users. 2009-11-22 22:31:23 +13:00
Andrew McMillan 60a6aeeecd New functions for listing memberships, members and privileges. 2009-11-22 22:30:59 +13:00
Andrew McMillan e322ef348d Fix some bugs in this now we have a UI for editing it. 2009-11-22 22:30:34 +13:00
Andrew McMillan ecbce99884 Granting for collection_id rather than dav_name now. 2009-11-22 00:24:09 +13:00
Andrew McMillan 60b2674eb1 Grant access to dav_principal view. 2009-11-22 00:22:56 +13:00
Andrew McMillan b451f9d9d9 Don't expect an active column on principal. 2009-11-22 00:22:01 +13:00
Andrew McMillan 1b1684e10f Don't have an 'active' column on the principal. 2009-11-22 00:21:10 +13:00
Andrew McMillan bf199a83a3 Definition of a dav_principal writable view of usr+principal 2009-11-22 00:19:01 +13:00
Andrew McMillan b915645ce1 Add ability to apply a folder of SQL rather than just a single file. 2009-11-22 00:18:23 +13:00
Andrew McMillan c4a4ea5481 Better not to aggregate the privileges in this function. 2009-11-21 21:56:34 +13:00
Andrew McMillan a100244106 Fix database patches so they work. 2009-11-05 17:16:00 +13:00
Andrew McMillan 8938b7d0fd Add some more fields onto the collections table. 2009-11-05 17:07:55 +13:00
Andrew McMillan 3df6ccc4ba Getting 'MOVE' working has proven surprisingly complex. 2009-11-04 00:17:10 +13:00
Andrew McMillan 0bd0fbca85 Bugfix database definitions / patches after last change. 2009-10-27 17:31:22 +13:00
Andrew McMillan 10bfc96016 Structure changes for grants on collections. 2009-10-27 09:15:42 +13:00
Wolfgang Herget ba4792e38d fixed 1.2.6 patch not applying on pgsql 8.1 2009-10-22 20:25:09 +13:00
Andrew McMillan 2ca3ae7d44 Move to new privileges - started now. 2009-10-17 17:59:53 +13:00
Andrew McMillan d0c23e594d Moving patch changes into standard DB creation path. 2009-10-16 14:07:29 +13:00
Andrew McMillan 8ee00fb91c Move patches into primary database definitions. 2009-10-16 14:06:56 +13:00
Andrew McMillan 7926b85147 Additional columns on collection for CardDAV addressbook indication
and more general resource types.
2009-10-15 23:07:09 +13:00
Andrew McMillan 388dd8c1e3 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/davical 2009-10-14 22:02:27 +13:00
Andrew McMillan 24a8971080 Initial support for draft-daboo-webdav-sync-01 2009-10-13 21:29:40 +13:00
Andrew McMillan ad57a061ec Permissions adjusted for database 1.2.7 schema. 2009-10-11 15:02:43 -07:00
Andrew McMillan b66dda9922 Start of support for sync-collection report for webdav-sync extension. 2009-10-11 14:59:28 -07:00
Andrew McMillan 0cda2cb469 [Unfinished] Starting to change permissions. 2009-10-11 14:58:35 -07:00
Andrew McMillan 3c794e7c2d Hopefully final fix to get_permissions during the lifetime of this modeHopefully final fix to get_permissions during the lifetime of this model 2009-10-03 22:57:44 +13:00
Andrew McMillan 4c70e3ebd3 Testing is a wonderful thing! This is fixed as a result :-) 2009-09-30 22:46:37 +13:00
Andrew McMillan f9bc44b958 Convert function definitions to $$ ... $$ syntax and officially give up on 7.4 2009-09-29 13:30:36 +13:00
Andrew McMillan 149a990db6 Expand permissions on both sides of the group expansion. 2009-09-25 00:51:43 +12:00
Andrew McMillan 9ff8efeb8b In 8.1 the regex handling is busted. 2009-09-10 22:00:07 +12:00