213 Commits

Author SHA1 Message Date
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
Andrew McMillan
af9a90328c Rename 'is Assistant to' in line with the other names. 2009-08-24 13:44:23 +12:00
Andrew McMillan
93085d81a1 Remove the out of date update-rscds-database script. 2009-06-30 15:31:46 +12:00
Andrew McMillan
cf4d1ea4e2 Updated database creation script for the poor people on Windows. 2009-06-25 09:51:36 +12:00
Andrew McMillan
093ae24290 Push the rrule_event_overlaps function into the 8.1 compatibility functions. 2009-06-20 10:46:20 +12:00
Andrew McMillan
b5eeb796dd Ensure the etag doesn't match the getctag for the calendar.
Just in case a client somewhere is doing something silly with them
that would screw up in that situation.
2009-06-19 00:00:22 +12:00
Andrew McMillan
f61ae556e5 Make etag consistent between runs. 2009-06-15 08:19:30 +12:00
Andrew McMillan
795809bd14 Not sure if these are useful, but not harmful anyway. 2009-05-12 23:58:18 +12:00
Andrew McMillan
0f61cd534e Add home folders to the sample data. 2009-05-12 15:59:39 +12:00
Andrew McMillan
e6fbf5e2ff Better default multiplier. 2009-05-12 13:15:06 +12:00
Andrew McMillan
52e0f29dbd Better handle when dtstart is null. 2009-05-12 13:13:54 +12:00
Andrew McMillan
265ec4f134 Add a function to tell us if an event overlaps a date range. 2009-04-18 10:42:49 +12:00
Andrew McMillan
c14181484f Split rrule functions into 8.1/8.2 vs 8.3+ version. 2009-04-16 00:32:48 +12:00
Andrew McMillan
bd279e519e Triggers to handle renaming of collections/entries on user rename. 2009-04-15 15:41:37 +12:00
Andrew McMillan
f9d4266153 We'll allow inserting relationship_type for now, since the web UI does.
Generally I'm not so sure it's a grand idea though, especially if
we are going to change this in future.
2009-04-15 00:07:40 +12:00
Andrew McMillan
3230f90541 Uglified to work with PostgreSQL 8.1, 8.2
If these show noticeable performance difference then we'll add
some version dependency checking and load different functions
for the older database.
2009-04-15 00:05:15 +12:00
Andrew McMillan
c813609384 Going through reviewing which tests now pass correctly. 2009-04-14 10:51:31 +12:00
Andrew McMillan
10242f51ee When we exceed count we should return null. 2009-04-13 21:00:09 +12:00
Andrew McMillan
f19481f849 Fix bug in handling of time-range queries. 2009-04-13 17:37:05 +12:00