57 Commits

Author SHA1 Message Date
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
Andrew McMillan
67999e27d9 Update the database schema, rather than nuking it and starting again. 2009-09-09 21:43:56 +12:00
Andrew McMillan
f8c1dd0df5 Split our data into what should be in everyone's database vs. what is a 'fun'
initial set for playing around.
2009-09-09 21:41:42 +12:00
Andrew McMillan
2e2aa372be Set permissions on relationship_type sequence. 2009-09-09 21:39:54 +12:00
Andrew McMillan
6f1bf2feed Patch to set permissions on the sequence for relationship_type.rt_id 2009-09-09 21:39:23 +12:00
Andrew McMillan
6fcde6ec08 Modifications to make scripts more appropriate for maintaining a database
which changes, rather than which we recreate at random.
2006-10-13 18:19:03 +13:00
Andrew McMillan
f4cc7b3d59 More robust database creation script. 2006-10-11 13:29:08 +13:00
Andrew McMillan
f4a44ebc4a Add primary key to relationship. 2006-10-08 00:30:46 +13:00
Andrew McMillan
e44888f7f8 Now ensure the plpgsql language is created. 2006-10-08 00:25:47 +13:00
Andrew McMillan
fd88f3cc0e Added a new function to get permissions between two users. 2006-10-08 00:25:24 +13:00
Andrew McMillan
0ed02b6c2e Rewrite of REPORT handling to use XML library and generally much improve
the structure of it.  Major hacking on PROPFIND so that we can now work
with Mulberry.  Join todo & event tables into calendar_item table because
having them separate was getting very silly.  Remove XMLElement.php which
is now in the standard libraries.
2006-10-05 00:37:25 +13:00
Andrew McMillan
f649e1b49d Many changes to get user maintenance basically working, make the layout
all look somewhat nicer, and start to try and work with Mulberry, including
implementing MKCALENDAR and PROPFIND in at least a basic manner.
2006-10-01 20:46:28 +13:00