23 Commits

Author SHA1 Message Date
Andrew McMillan
c61d3edac6 New tables need new permissions. And we now use the specific
appuser / dbuser for everything.
2008-01-26 16:45:31 +13:00
Andrew McMillan
0679ceb866 Remove commented code. 2008-01-26 16:41:40 +13:00
Andrew McMillan
7226068a04 Ensure database creation applies the right permissions. 2008-01-26 16:38:26 +13:00
Andrew McMillan
357fcc5cee Fix thinko. 2007-11-05 23:39:29 +13:00
Andrew McMillan
5895e99d72 Attempt to autodiscover the AWL code from reasonable locations. 2007-11-05 23:34:00 +13:00
Andrew McMillan
e12139c636 Move the inclusion of the AWL tables out of the database SQL. 2007-11-05 22:56:33 +13:00
Andrew McMillan
0b4e5b9cb5 Rename SQL definition of database. 2007-11-05 22:49:59 +13:00
Andrew McMillan
b491ee17fd More careful construction of the database, using a DBA user to own it. 2007-11-05 18:25:40 +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
73e7f73f2a Correct backslash replacement in pwgen generated password. 2007-04-17 01:17:55 +12: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
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
6960ec8065 Randomly generate the first administrator password. 2006-11-23 19:37:04 +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
a092387330 Don't always apply sample data to database creation. 2006-11-02 20:26:21 +13: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
e44888f7f8 Now ensure the plpgsql language is created. 2006-10-08 00:25:47 +13:00
Andrew McMillan
db963fadf6 Now supports user create, view & edit with role assignment. Also starts to
support the PROPFIND request that Mulberry makes but does not fully support
Mulberry yet (their timezones are non-standard).
2006-09-27 09:53:34 +12:00
Andrew McMillan
5c69ce125a Close to a Debian build. 2006-09-11 23:10:26 +12:00
Andrew McMillan
792b1a5083 Initial commit 2006-09-04 23:11:31 +12:00