Commit Graph
175 Commits
Author SHA1 Message Date
Andrew McMillan 795809bd14 Not sure if these are useful, but not harmful anyway. 2009-05-12 23:58:18 +12:00
Andrew McMillan 0f61cd534e Add home folders to the sample data. 2009-05-12 15:59:39 +12:00
Andrew McMillan e6fbf5e2ff Better default multiplier. 2009-05-12 13:15:06 +12:00
Andrew McMillan 52e0f29dbd Better handle when dtstart is null. 2009-05-12 13:13:54 +12:00
Andrew McMillan 265ec4f134 Add a function to tell us if an event overlaps a date range. 2009-04-18 10:42:49 +12:00
Andrew McMillan c14181484f Split rrule functions into 8.1/8.2 vs 8.3+ version. 2009-04-16 00:32:48 +12:00
Andrew McMillan bd279e519e Triggers to handle renaming of collections/entries on user rename. 2009-04-15 15:41:37 +12:00
Andrew McMillan f9d4266153 We'll allow inserting relationship_type for now, since the web UI does.
Generally I'm not so sure it's a grand idea though, especially if
we are going to change this in future.
2009-04-15 00:07:40 +12:00
Andrew McMillan 3230f90541 Uglified to work with PostgreSQL 8.1, 8.2
If these show noticeable performance difference then we'll add
some version dependency checking and load different functions
for the older database.
2009-04-15 00:05:15 +12:00
Andrew McMillan c813609384 Going through reviewing which tests now pass correctly. 2009-04-14 10:51:31 +12:00
Andrew McMillan 10242f51ee When we exceed count we should return null. 2009-04-13 21:00:09 +12:00
Andrew McMillan f19481f849 Fix bug in handling of time-range queries. 2009-04-13 17:37:05 +12:00
Andrew McMillan 68cfe2a5be Added Italian locale by Alessandro De Zorzi 2009-04-06 21:19:52 +12:00
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