84 Commits

Author SHA1 Message Date
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
516daec7b0 Change the default database name. 2007-09-08 14:14:13 +12:00
Andrew McMillan
c175a97a94 Change the tr character match not to use character classes, since the
user might be operating in a non-UTF-8 character space and could
generate a password which can't be inserted.
2007-09-08 14:13:42 +12:00
Andrew McMillan
0d3005a72d Correct dutch name for "Dutch" 2007-08-05 22:50:13 +12:00
Andrew McMillan
78ee778b98 More users, with some more permission relationships. 2007-05-30 11:16:54 +12:00
Andrew McMillan
10716cd412 [performance] Add a primary key to the calendar_item table. 2007-05-28 15:54:00 +12:00
Andrew McMillan
d609d6bfeb Ensure that a perl is not connected when we apply a patch. 2007-05-28 15:53:14 +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
Dávid Takács
48853d4668 Windows support for database creation by Dávid Takács 2007-05-09 13:19:45 +12:00
Andrew McMillan
8f048389b3 Add hu_HU as a supported locale. 2007-05-08 23:50:47 +12:00
Andrew McMillan
73e7f73f2a Correct backslash replacement in pwgen generated password. 2007-04-17 01:17:55 +12:00
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