Andrew McMillan
c41f4071e4
Get rid of unsightly error due to removal of time_zone table.
2011-09-30 11:56:35 +02:00
Andrew McMillan
6d89db58d0
Fix setting of PG password from administration.yml during upgrade.
2011-09-24 14:29:41 +12:00
Andrew McMillan
cd7f8c35f2
Update to version 1.2.11
2011-09-24 12:56:11 +12:00
Andrew McMillan
5104ca25a4
Provide an alternative 1.2.10 with the check_db_revision() function fixed.
2011-09-20 08:55:26 +12:00
Andrew McMillan
cdc23ea732
Add etag to timezone table.
2011-09-19 08:42:28 +12:00
Andrew McMillan
f9ad324ba1
Adjustments to timezones representation in the database to support timezone protocol.
2011-09-17 23:40:04 +12:00
Andrew McMillan
05d42557d7
Update davical.sql to 1.2.10.
2011-09-12 09:49:32 +12:00
Andrew McMillan
1c965d4cdf
Removed these outdated files.
2011-09-11 00:56:16 +12:00
Andrew McMillan
b4364fb999
Fix for the following error:
...
davical: LOG: principals/users/cars/hilux/: Query: QF: SQL error "42804" - ERROR: column "changed_by" is of type integer but expression is of type name LINE 1: ...on, property_name, property_value ) VALUES( path, user, curr... ^ HINT: You will need to rewrite or cast the expression. QUERY: INSE
davical: LOG: principals/users/cars/hilux/: Query: QF: RT INTO property ( dav_name, changed_by, changed_on, property_name, property_value ) VALUES( path, user, current_timestamp, key, value ) CONTEXT: PL/pgSQL function "set_dav_property" line 16 at SQL statement"
davical: LOG: principals/users/cars/hilux/: Query: QF: SELECT set_dav_property( :dav_name, :user_no, :tag::text, :value::text)
davical: LOG: principals/users/cars/hilux/: Query: QF: ":dav_name" => "/cars/hilux/"
davical: LOG: principals/users/cars/hilux/: Query: QF: ":user_no" => "1023"
davical: LOG: principals/users/cars/hilux/: Query: QF: ":tag" => "http://apple.com/ns/ical/:calendar-color "
davical: LOG: principals/users/cars/hilux/: Query: QF: ":value" => "#711A76"
From 'mate' on IRC.
2011-08-28 16:38:14 +12:00
Andrew McMillan
05badd4d3a
New SQL patch file, and fix comment in the last one also.
2011-08-25 15:05:28 +12:00
Rob Ostensen
b2ef0b0bf2
Add the required fields to dav_binding and clean up the SQL to better match the rest of the source.
...
Add a header/last-modified check to skip the import on calendars that haven't changed.
2011-08-25 14:17:28 +12:00
Andrew McMillan
504651a3f5
Add new locales and restructure how they are handled.
...
We now build the dba/supported_locales.sql file from po/locale.values
files for each locale, and we are also fetching the translations from
transifex.net in order to build them.
This commit also adds support for some new locales, especially
Brazilian Portuguese and Mexican Spanish.
2011-08-25 12:45:33 +12:00
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