266 Commits

Author SHA1 Message Date
Andrew McMillan
8743238952 Ensure dav_id_seq is initialized to a non-colliding value.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:36:45 +12:00
Andrew McMillan
5dbe73f709 Set the correct DBA username.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 11:40:34 +13:00
Andrew McMillan
ed7ffea332 Updated strings for localisation. 2011-01-14 16:20:16 +13:00
Andrew McMillan
493ec64cba Extend default_privileges to members of a group.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:10:52 +13:00
Leho Kraav
904f3069ab add et_EE to support locales 2010-12-27 12:37:16 +13:00
Andrew McMillan
4e12eb82e4 Update sync-collection REPORT to match -04 of draft. 2010-11-30 12:31:25 +13:00
Andrew McMillan
5788a5b62d Changes to IDs due to minor regression process change. 2010-11-06 22:35:31 +13:00
Andrew McMillan
6533a89b7e Change regression runner to look for sample data with tests. 2010-11-06 18:05:04 +13:00
Andrew McMillan
ccf332d912 Remove unneeded double-quote. 2010-11-04 08:43:29 +13:00
Andrew McMillan
6ebc542c2a Rename variable to work around Pg 9.0 reserved name. 2010-11-04 00:55:18 +13:00
Andrew McMillan
32a747da8e Fix privilege_to_bits function to set 'all' correctly & work with recent postgres 2010-10-09 08:54:51 -04:00
Andrew McMillan
8111c1cc9c Return NULL if we got given a sync token we know nothing about. 2010-09-25 22:27:09 +12:00
Andrew McMillan
b855a3cbc3 Fix write_sync_changes to cope with non-calendar resources. 2010-09-23 23:20:09 +12:00
Andrew McMillan
1fbf1be670 Add a weak_etag field to the calendar_attendee table. 2010-05-30 11:31:14 +12:00
Andrew McMillan
06abe8bd2e New patches for next upgrade. 2010-05-19 23:49:50 +12:00
Andrew McMillan
73219e4f57 A few minor database changes. 2010-05-12 22:15:44 +12:00
Andrew McMillan
2f8eb21b82 A few improvements to database creation.
Inspired by Peter Eisentraut's blog post about writing scripts
for PostgreSQL.
2010-05-12 22:14:32 +12:00
Andrew McMillan
bb2435eb34 Rename 'all' variable which appears to be a reserved word in PostgreSQL 9 2010-05-09 09:05:23 +12:00
Andrew McMillan
bf2d2c3870 Add a function to convert iCalendar interval syntax into SQL. 2010-05-07 22:44:13 +12:00
Andrew McMillan
0060b0ad92 Exit with error if the update fails. 2010-04-28 14:05:18 +12:00
Andrew McMillan
b806fa8305 A new trigger allowing calendar_alarm.component to be edited.
The trigger will then cause the caldav_data record to be
updated with the new alarm component, and the etag is changed.
2010-04-03 17:28:01 +13:00
Andrew McMillan
7cdd7ce0ef Teach set_dav_property() about dav_bindings. 2010-03-24 23:52:07 +13:00
Andrew McMillan
3072947a68 Add permissions for new tables in DB 1.2.8 2010-03-22 17:18:24 +13:00
Andrew McMillan
5311d3a68a Remove the freebusy_set from the collection. 2010-03-20 00:31:06 +13:00
Andrew McMillan
58356fb3e3 Remove the mashup tables which we will do more sensibly. 2010-03-18 19:57:14 +13:00
Andrew McMillan
4d674c4f92 Getting bindings to work as seamlessly as possible. 2010-03-15 00:31:16 +13:00
Andrew McMillan
ed055722e9 Working BIND and PROPFIND of bound resources. 2010-03-14 00:22:43 +13:00
Andrew McMillan
1c9c77e412 Add initial support for BIND method. 2010-03-12 11:29:27 +13:00
Andrew McMillan
7429ad689b create-database.sh does not need to specify bash. 2010-03-11 13:52:30 +13:00
Andrew McMillan
b15c69d8dc New Svenska localisation from Emil Lundberg 2010-03-09 09:20:24 +13:00
Andrew McMillan
f4416f84e9 Add a primary key. 2010-03-06 23:32:59 +13:00
Andrew McMillan
b12bf600c1 Update to current 1.2.8 patch. 2010-03-05 12:25:56 +13:00
Andrew McMillan
0fffd0e417 First (untested) cut at MKTICKET implementation. 2010-03-05 00:02:26 +13:00
Andrew McMillan
4e86c56a14 Current plans for rev 1.2.8 data structure changes. 2010-03-03 14:36:35 +13:00
Andrew McMillan
555ed3bc4e Add a weak_etag field for use with scheduling.
The weak_etag will be assigned from the etag only when
normal changes are made to an event.  A subset of the
changes involved in automatic scheduling will not change it.
2010-03-02 14:16:13 +13:00
Andrew McMillan
16f70a9bdb More work on database patch. 2010-02-28 22:39:42 +13:00
Andrew McMillan
242ebdcf31 Adding tables for holding addressbook data and split out alarms/attendees. 2010-02-28 20:12:40 +13:00
Andrew McMillan
899337a679 Database changes which actually work, for the moment. 2010-02-28 11:35:52 +13:00
Andrew McMillan
0492cb38bb Tweak privileges_list() to work in older Pg versions. 2010-02-27 15:21:33 +13:00
Andrew McMillan
429940f4d9 The <allprop> can be at the top level, not within the <prop>. 2010-02-26 13:45:30 +13:00
Andrew McMillan
4f5badd549 Starting to think about tickets for granting permissions. 2010-02-26 13:30:55 +13:00
Andrew McMillan
b966686a71 Default user to davical_dba & provide more help regarding .pgpass files. 2010-02-18 21:12:54 +13:00
Andrew McMillan
6471cb3a57 dav_principal: add a rule for deleting. 2010-02-18 00:34:57 +13:00
Andrew McMillan
fb5cd0403f Fix property setting to include principals. 2010-02-17 23:53:28 +13:00
Andrew McMillan
1dccbb9ccc Try and reduce the odds of an extra quote in the password. 2010-01-11 10:14:50 +13:00
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
1cd3d8c896 Remove unused functions. 2009-12-21 18:56:52 +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
7225173211 Correctly create a principal record for the administrator. 2009-12-11 12:13:56 +13:00
Andrew McMillan
8aeb837f8c Another attempt at supporting older DB versions. 2009-12-04 23:18:55 +13:00