18 Commits

Author SHA1 Message Date
Johannes Meyer
a8e0b7effc Fix usage of the PostgreSQL system function has_database/table_privilege
On PostgreSQL < 8.4 the system functions has_database_privilege() and
has_table_privilege() do no support comma separated privilege types.

fixes #8354
2015-02-04 13:20:41 +01:00
Eric Lippmann
6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba41dd6e9178cebec5433eecd614196e.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
a95fd561cd Revert "setup: Convert octal directory mode to decimal notation"
This reverts commit e93e8f633045d7fd0f844e797848d4d6fe32ca9e.
2015-01-30 15:47:21 +01:00
Johannes Meyer
d2dd66c9fd Revert "setup: Fix octdec for directory modes"
This reverts commit c0444a81b24aea332b07eb1409af168c1c53f0c9.
2015-01-30 15:47:11 +01:00
Johannes Meyer
45408e45af Relax database permission checks in the setup wizard
The wizard considered all permissions being exclusively associated to their
most important context, which is, in the most common case, incorrect.
Permissions assigned on database level do not need to be assigned on
table level as well.

refs #8267
2015-01-26 15:51:47 +01:00
Johannes Meyer
96390d34bf Enable modules as part of the main installation routine
refs #8191
2015-01-21 15:03:34 +01:00
Eric Lippmann
c0444a81b2 setup: Fix octdec for directory modes
Modes prefixed w/ zero, e.g. 0775 require a string conversion before calling octdec.
2015-01-19 11:43:38 +01:00
Eric Lippmann
e93e8f6330 setup: Convert octal directory mode to decimal notation
PHP's chmod sets wrong permissions when using 2770 as directory mode for example.

fixes #8233
2015-01-16 17:01:41 +01:00
Eric Lippmann
d3dcf152fb setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:40:06 +01:00
Johannes Meyer
2b2b28915d Fix granting privileges on a mysql host
In case current_user() reports a wildcard identification for the user's
host (e.g. user@%) the percent sign was not escaped causing sprintf
to complain as there were too few arguments in this case.

fixes #7853
2014-12-01 11:00:12 +01:00
Johannes Meyer
a288535347 Use the host' and port' directives when using a zend adapter in DbTool
fixes #7781
fixes #7798
2014-11-25 16:03:06 +01:00
Johannes Meyer
ca66480ba7 Hardcode the access mode to use when creating directories
refs #7163
2014-11-12 09:18:19 +01:00
Johannes Meyer
e1f75b5f5f Use mt() instead of just t() in the setup module
refs #7163
2014-11-11 09:24:53 +01:00
Johannes Meyer
21ed823da7 Adjust namespace declarations
refs #7163
2014-11-10 16:31:40 +01:00
Johannes Meyer
8f212018ec Move the setup wizard code to a dedicated module
refs #7163
2014-11-10 15:11:44 +01:00