64 Commits

Author SHA1 Message Date
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
19199d5f86 Replaced the old get_permissions() call with the new permissions model. 2009-12-21 13:04:25 +13:00
Andrew McMillan
4786c5869e Correct for active column removed from principal. 2009-12-04 22:55:03 +13:00
Andrew McMillan
9c4aeb2543 Fix conversion of Resource users. 2009-11-22 22:31:23 +13:00
Andrew McMillan
1b1684e10f Don't have an 'active' column on the principal. 2009-11-22 00:21:10 +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
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
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
24a8971080 Initial support for draft-daboo-webdav-sync-01 2009-10-13 21:29:40 +13: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
7df7da3132 Fix constraints so DELETE FROM usr; will work. 2008-11-24 09:04:35 +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
5f8a8ca4bc Database changes for next release (unfinished). 2008-10-24 18:46:30 +13: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 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
41db2b7050 Ensure these patches will work in more obscure situations. 2008-01-27 09:51: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
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
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
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
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 Ruthven
568bd47b9b Modify the correct table. 2007-11-03 21:17:43 +13:00
Andrew Ruthven
78465c2be1 Allow easily removing a user using SQL by adding some cascades.
I've tested the patch this time!
2007-11-03 20:25:19 +13:00
Andrew McMillan
04656674f7 Make puck's patches for PUBLIC events actually work. 2007-10-27 00:11:44 +13:00
Andrew Ruthven
e725590612 Rewrite force events to public logic to be PUBLIC only, not general. 2007-10-26 11:35:19 +13:00
Andrew Ruthven
e0746e058e Allow forcing all events in a collection to a specified class. 2007-10-26 11:05:32 +13:00
Andrew Ruthven
bbcd6a82ac Bugger, fix up the DB patches. 2007-10-26 09:50:45 +13:00
Andrew Ruthven
06431170c8 By default calendar items are PUBLIC. 2007-10-26 09:41:18 +13:00
Andrew McMillan
10716cd412 [performance] Add a primary key to the calendar_item table. 2007-05-28 15:54:00 +12:00
Andrew McMillan
4d628b1782 In general tables are named in the singular, so lets be consistent. 2007-05-21 22:14:09 +12:00
Andrew McMillan
3a8d84d3a3 Initial patches for database change to support freebusy tickets. 2007-05-21 19:26:14 +12:00
Andrew McMillan
c89d724058 Add a 'status' column to the calendar_item table which gets the STATUS property. 2007-02-13 11:37:25 +13:00
Andrew McMillan
a972fc8439 Fixed upgrade patch. 2006-12-28 17:01:51 +13:00
Andrew McMillan
11f3455e27 Remove the fromgroup / togroup entirely from relationship types and go for
a much simpler model entirely.
2006-12-27 15:20:23 +13:00
Andrew McMillan
7a1b2a0dd0 The prefix_match field and rt_inverse field are removed from relationship_type
because that model was too complex to be useful.  We also explicitly indicate
whether the relationship source or destination are groups separately.
2006-12-27 14:29:19 +13:00