136 Commits

Author SHA1 Message Date
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
Andrew McMillan
e22aff987c New tables need new permissions. And we now use the specific
appuser / dbuser for everything.
2008-01-26 00:28:00 +13:00
Andrew McMillan
b361f96122 Starting to implement the tables for the new permissions model. 2008-01-26 00:25:34 +13:00
Andrew McMillan
1f7aa1e25d Some more changes to use a consistent id across collections and
calendar data.
2008-01-26 00:24:49 +13:00
Andrew McMillan
f6fc388818 Add configuration file to database updating. 2008-01-26 00:23:16 +13:00
Andrew McMillan
4295e8afa0 Remove commented code. 2008-01-25 08:06:52 +13:00
Andrew McMillan
5d8f127285 Ensure database creation applies the right permissions. 2008-01-25 08:01:15 +13:00
Andrew McMillan
4d5f010a08 Add options to not apply any patches. 2008-01-25 08:00:47 +13:00
Andrew McMillan
1e319b60c7 Ensure expanded 'A' is unexpanded in the end. 2008-01-25 08:00:15 +13:00
Andrew McMillan
4fbb683af5 Move the appuser permission grants out of the database definition
so we can support alternative names for the application DB user.
2008-01-24 23:26:42 +13:00
Andrew McMillan
091f6d5b41 An alternative patch 1.1.12 which will work without exact correspondence
between caldav_data & calendar_item
2008-01-23 20:06:23 +13:00
Andrew McMillan
30e0e47e71 Improve performance of get_permissions when groups are involved. 2008-01-23 10:48:33 +13:00
Andrew McMillan
3dd67ed0b0 Fix typo. 2008-01-21 17:31:26 +13:00
Andrew McMillan
e719a888ab Add a function to assist with renaming users. 2008-01-19 12:26:39 +13:00
Andrew McMillan
193ada1ef5 Remove that commented code now it's in Git. 2007-12-04 12:19:05 +13:00
Andrew McMillan
bbca4ba75f We'll need to let this settle for a version before we make it the
primary key.  Too many programming changes are needed to accept the
risk of rolling it straight out.
2007-12-04 12:17:59 +13:00
Andrew McMillan
bdb1e60cd1 Note that this is an alternate. 2007-12-04 12:16:52 +13:00
Andrew McMillan
186734fea9 Remove unnecessary newline. 2007-12-04 12:16:17 +13:00
Andrew McMillan
c2115a22d8 Minimise output on patch failure where alternatives exist. 2007-12-04 08:46:47 +13:00
Andrew McMillan
91f1d2324c Enhance the database patch script to allow for alternative patches. 2007-12-03 22:28:44 +13:00
Andrew McMillan
2031ba23a3 Patch to apply a numeric primary key to caldav_data / calendar_item
in order to attempt to resolve performance issues in non-POSIX collation.
2007-11-28 23:08:26 +13:00
Andrew McMillan
5b4071f8e4 Added a version of patch 1.1.11 which works for PostgreSQL 8.x 2007-11-27 18:07:18 +13:00
Andrew McMillan
357fcc5cee Fix thinko. 2007-11-05 23:39:29 +13:00
Andrew McMillan
5895e99d72 Attempt to autodiscover the AWL code from reasonable locations. 2007-11-05 23:34:00 +13:00
Andrew McMillan
e12139c636 Move the inclusion of the AWL tables out of the database SQL. 2007-11-05 22:56:33 +13:00
Andrew McMillan
0b4e5b9cb5 Rename SQL definition of database. 2007-11-05 22:49:59 +13:00
Andrew McMillan
b491ee17fd More careful construction of the database, using a DBA user to own it. 2007-11-05 18:25:40 +13:00