162 Commits

Author SHA1 Message Date
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
Andrew McMillan
506d47fc6d Need to set locale to C for tr on mac. 2008-10-10 10:32:52 +13:00
Andrew McMillan
32cc54a081 Fix translation inefficiencies, per Debian bug #495307 2008-09-17 23:07:37 +12:00
Andrew McMillan
e9a04869fd Another reordering of psql arguments for FreeBSD support. 2008-07-24 10:24:16 +12:00
Andrew McMillan
8f28e17cb5 Move the non-option database parameter to the end of the
psql command line for FreeBSD compatibility.  Also mktemp
syntax is different on FreeBSD.
2008-07-12 23:11:30 +12:00
Andrew McMillan
3f2fab9281 There are two main reasons for failure, not one. 2008-06-28 20:11:12 +12:00
Andrew McMillan
2a1133daa2 And for the 'davical' package... 2008-06-19 22:52:02 +12:00
Andrew McMillan
b782aa2da3 Also apply the rrule functions to the database. 2008-06-19 22:51:40 +12:00
Andrew McMillan
00cc8c2635 Function to detect RRULE exceptions in an event. 2008-06-18 22:09:00 +12:00
Andrew McMillan
ef37ca3212 With multiple relationships, the best one applies. 2008-06-18 22:08:20 +12:00
Andrew McMillan
600603a416 Remove over-enthusiastic quoting. 2008-05-05 15:38:37 +12:00
Andrew McMillan
bacd9fd15d Actual 0.9.4.3 release. 2008-04-13 01:52:18 +12:00
Andrew McMillan
61f6a82d55 Correct syntax. 2008-04-13 01:01:02 +12:00
Andrew McMillan
618f9d7cb6 Final tweaks to minimise non-error output. 2008-04-13 01:00:42 +12:00
Andrew McMillan
c58ed7cb16 Set the owner of the database tables to be the DBA user we created. 2008-04-13 00:17:37 +12:00
Andrew McMillan
c9568f6a40 Allow this utility to change the owner of the tables. 2008-04-13 00:16:05 +12:00
Andrew McMillan
75620d8567 Improved wording. 2008-04-12 23:45:09 +12:00
Andrew McMillan
103e47aeb5 Rework to make this work more reliably in a range of environments. 2008-04-12 23:31:47 +12:00
Andrew McMillan
ea0eb35d92 An even more aggressive patch for upgrading databases to 1.2.1 2008-04-12 23:30:25 +12:00
Andrew McMillan
e26fc48932 Support Japanese locale ja_JP 2008-02-28 13:57:14 +13:00
Andrew Ruthven
4ed4db3cb6 Catch another couple of missing foreign keys that need cascades. 2008-02-15 15:13:47 +13:00
Andrew Ruthven
c12d2c2639 Change 7.4 database changes to use 8.x style names. Add patch for 8.x. 2008-02-15 15:04:41 +13:00
Andrew Ruthven
4ce605f13a Heh, fix the SQL syntax. 2008-02-15 13:57:04 +13:00
Andrew Ruthven
f37f9da7d0 Add some more cascades for pre 8.0 databases. 2008-02-13 16:07:00 +13:00
Andrew McMillan
66dddaa3e0 Remove the 8.x-ism from this patch so people with 7.4 may have the
joy of upgrading as well.
2008-02-13 13:36:13 +13:00
Andrew McMillan
25d92bb482 Additional regression tests and changes to sample data to handle
REPORT differences for read, or read/write access to calendars.
2008-02-09 21:31:23 +13:00
Andrew McMillan
41db2b7050 Ensure these patches will work in more obscure situations. 2008-01-27 09:51:47 +13:00
Andrew McMillan
976438db4f Apply the correct DB revision number. 2008-01-26 22:31:11 +13:00
Andrew McMillan
fe49f7cb9e Update to 1.2.2 schema version. 2008-01-26 21:57:34 +13:00
Andrew McMillan
bab91bf7a2 Use DDL for creating users since the createuser command probably
isn't around on non-Debian systems.
2008-01-26 21:56:29 +13:00
Andrew McMillan
c62233ff22 Don't apply permissions to no-longer existing sequence. 2008-01-26 21:55:47 +13:00
Andrew McMillan
b0fe8d336c Put collection_id on both caldav_data and calendar_item. 2008-01-26 21:55:05 +13:00