193 Commits

Author SHA1 Message Date
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
Andrew McMillan
68cfe2a5be Added Italian locale by Alessandro De Zorzi 2009-04-06 21:19:52 +12:00
Andrew McMillan
e61e843a36 Changes to support usernames containing a space, or other strange non-'/' character. 2009-03-19 10:11:50 +13:00
Andrew McMillan
7df7da3132 Fix constraints so DELETE FROM usr; will work. 2008-11-24 09:04:35 +13:00
Andrew McMillan
202aad1310 Fix default app username. 2008-11-22 22:15:30 +13:00
Andrew McMillan
0616796ae9 I screwed up. DAViCal 0.9.6, .1 & .2 all went out with db version 1.2.2
when they were in fact 1.2.4.  This patch figures out the difference.
2008-11-22 22:11:44 +13:00
Andrew McMillan
964918c19b Add some commentary. 2008-11-06 22:45:47 +13:00
Andrew McMillan
3cbdec7e03 We need to confirm that the language isn't in ${DBNAME}, rather than
looking in template1!
2008-11-06 22:44:47 +13:00
Andrew McMillan
2cfbc15956 Include both directions for free/busy access for testing. 2008-11-01 18:01:43 +13:00
Andrew McMillan
d4cd53881a A surprising number of these tests actually pass now. 2008-10-29 21:10:50 +13:00
Andrew McMillan
a6c2703b78 Getting closer to reality. 2008-10-29 21:10:36 +13:00
Andrew McMillan
342bf0a978 RRULE handling in SQL. 2008-10-28 20:41:38 +13:00
Andrew McMillan
d7cf594e40 Significant further progress on writing RRULE interpreting functions for PostgreSQL. 2008-10-28 11:52:09 +13:00
Andrew McMillan
be3f2ab3e3 Correct quoting. 2008-10-27 14:37:11 +13:00
Andrew McMillan
895f515838 Better handling for daily + byday rules. 2008-10-26 22:15:39 +13:00
Andrew McMillan
a2081daddb Change trigger to more predictable etag values. 2008-10-26 11:21:11 +13:00
Andrew McMillan
84845b1359 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/davical 2008-10-24 18:51:28 +13:00
Andrew McMillan
5f8a8ca4bc Database changes for next release (unfinished). 2008-10-24 18:46:30 +13:00
Andrew McMillan
fced59b0df Convert to modern function syntax. 2008-10-24 18:43:54 +13:00
Andrew McMillan
c429760384 Add a trigger to caldav_data to ensure the collection etag (ctag) changes
when a calendar item changes.
2008-10-24 17:58:20 +13:00
Andrew McMillan
388e137d54 The DBA user test should be against the database we just created. 2008-10-24 13:57:43 +13:00