68 Commits

Author SHA1 Message Date
Andrew McMillan
c05a9e7312 Polish locale is now supported. 2007-04-13 18:14:45 +12:00
Andrew McMillan
67a2fc734a Functions under development for parsing RRULE directives directly within
the database.
2007-04-04 21:54:06 +12:00
Andrew McMillan
82fd372c0c Add a function to provide a textual list of relationships for display. 2007-03-19 14:12:37 +12:00
Andrew McMillan
0292764597 Change to work on PostgreSQL 7.4 and 8.0. 2007-03-09 09:25:41 +13:00
Andrew McMillan
76f64d863d Improved layout and comments. 2007-03-08 11:26:25 +13:00
Andrew McMillan
ac49c8c278 Ensure that _some_ password is set. dd /dev/urandom seems to work quite
well, actually.
2007-03-08 08:30:28 +13: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
7003fe5658 A few tweaks to make things work with the fields we just got rid of. 2006-12-27 21:29:55 +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
Andrew McMillan
798e016f3e Added a set_dav_property function. 2006-12-21 01:00:36 +13:00
Andrew McMillan
62d33aef5f Additional data structure for holding properties. 2006-12-21 01:00:14 +13:00
Andrew McMillan
1f9e4c171f Also create free/busy relationship_type. 2006-12-11 15:01:43 +13:00
Andrew McMillan
2ac9691c96 Adjust / increase the relationship possibilities. 2006-12-11 14:22:47 +13:00
Andrew McMillan
8a6348e736 Add freebusy support. Remove different Pg8.1 code path which is probably
not actually any better than the 7.4 compatible implementation.
2006-12-11 13:19:09 +13:00
Andrew McMillan
3f3804cd43 Enhanced permissions calculation which now supports the idea of bind/unbind
and 'all'.
2006-12-11 12:37:07 +13:00
Andrew McMillan
4415a25335 More evolution of what the 'locks' table will look like. 2006-12-04 10:12:22 +13:00
Andrew McMillan
3195983c01 We need to have both a 'timeout' field and a 'start' field, since the
counter gets reset (potentially).
2006-12-03 23:36:52 +13:00
Andrew McMillan
ba92bbed18 Correct some field types. 2006-12-03 23:14:29 +13:00
Andrew McMillan
23b00adb22 First cut adding DB support for locks. 2006-12-03 23:09:56 +13:00
Andrew McMillan
974925b76f Added nl_NL locale. 2006-12-02 11:26:57 +13:00
Andrew McMillan
3459bff7df We don't need to loop 100 times to see there is a problem. And when we do
we should describe it better as well.
2006-12-01 23:32:55 +13:00
Andrew McMillan
786bc35c96 Chandler was sending a rule containing only FREQ=MONTHLY which caused
problems with the REPORT that Mozilla Calendar requests.  This fixes
that, and a number of other strange situations that could occur.
2006-12-01 10:20:11 +13:00
Andrew McMillan
b591115b72 New class to handle requests, so we can extract permissions in a better
way.  Of course this breaks all of the existing code, so don't use this
until I have all the regression tests passing again :-)
2006-11-27 00:16:01 +13:00
Andrew McMillan
44e0a1bb5a Ooops. Spell the table name right, wontcha! 2006-11-23 20:46:44 +13:00
Andrew McMillan
f6578fcda3 Since we're now doing a random password, we have to be able to override
it when we run the regression tests.
2006-11-23 20:25:04 +13:00
Andrew McMillan
346724d508 Allow a user to have full permissions to their own calendars(!) 2006-11-23 20:15:02 +13:00
Andrew McMillan
6960ec8065 Randomly generate the first administrator password. 2006-11-23 19:37:04 +13:00
Andrew McMillan
85c95607f0 Change the direction of the adminstrative assistant relationship type. 2006-11-23 17:40:50 +13:00
Andrew McMillan
e21580f983 Add a function to assist converting timestamps to iCalendar format, as at
UTC.
2006-11-21 23:58:51 +13:00
Andrew McMillan
9ebdbde29e Fix problem with always applying group permissions back at members. 2006-11-21 22:59:56 +13:00
Andrew McMillan
61b8f90b5d Fix thinko. 2006-11-15 17:51:12 +13:00
Andrew McMillan
923d10879a Split the supported locales out of the base data so it can be more easily
re-loaded on upgrades.  Added locale for Russian translation from Nick Khazov.
2006-11-14 10:07:53 +13:00
Andrew McMillan
23c4d6ce3a Vastly improved permission sharing function. 2006-11-09 00:27:23 +13:00
Andrew McMillan
bc18397a1e Add Argentinian Spanish 2006-11-07 10:30:11 +13:00
Andrew McMillan
836feb21b8 Adjust what will in due course be our base languages. 2006-11-05 22:23:10 +13:00
Andrew McMillan
194328b396 Change version. 2006-11-05 14:56:24 +13:00
Andrew McMillan
9bea26010c Initial database framework for identifying supported locales. 2006-11-04 12:23:37 +13:00
Andrew McMillan
a092387330 Don't always apply sample data to database creation. 2006-11-02 20:26:21 +13:00
Andrew McMillan
184102374e Remove old database update script. 2006-10-31 11:40:09 +13:00
Andrew McMillan
6c88d46447 A much improved script for applying database changes. 2006-10-31 11:39:37 +13:00
Andrew McMillan
5d09ff4bb4 Patch to database to correct base data for 'Is a member of group'. 2006-10-29 19:50:23 +13:00
Andrew McMillan
40565975ac The base data is now not in a patch file, and it probably should never have
been really.
2006-10-29 19:48:44 +13:00
Andrew McMillan
130813c1b8 Rename patch file to match DB revision number. 2006-10-29 19:47:55 +13:00
Andrew McMillan
1e69b15ee8 Doh. The 'Is a member of group' relationship should target a group. 2006-10-29 19:36:26 +13:00
Andrew McMillan
e3cda6ec20 The base data should include some basic relationship_type records. 2006-10-28 19:06:31 +13:00
Andrew McMillan
24bc54ed05 Patch to permissions for role_member table. 2006-10-27 12:05:08 +13:00
Andrew McMillan
757e7c8b2f Fix bug found when I first actually used it :-) 2006-10-20 10:23:22 +13:00
Andrew McMillan
0b998ac35d Update database script should really be executable. 2006-10-17 10:52:29 +13:00