41 Commits

Author SHA1 Message Date
David Mudrak
6e17567624 MDL-30402 Removing hard-coded English string from the CLI installer 2011-11-22 10:02:42 +01:00
Petr Skoda
f433088d5a MDL-29474 fix regressions in CLI install 2011-10-27 13:55:41 +02:00
Tim Hunt
777781d16e MDL-29474 plugin dependencies: fix misspelling dependancies. 2011-10-20 11:13:45 +01:00
Tim Hunt
faadd32696 MDL-29474 prevent install/upgrade if plugin dependancies not met. 2011-10-20 11:13:41 +01:00
Petr Skoda
f848c0f6e6 MDL-29351 add missing temp and cache dirs to installers 2011-09-13 13:33:06 +02:00
Petr Skoda
eab044a083 MDL-28634 fix forgotten references to Moodle 2.0 and old PHP version requirements 2011-08-06 23:00:02 +02:00
David Mudrak
74a4c9a9ee MDL-26914 When installing a lang pack, install all the grandparents too
All places where a language pack is installed now use the new language
package installer that takes case of the parental dependencies.
2011-03-31 12:21:05 +02:00
Petr Skoda
7119e1a0a7 MDL-26904 fix funny constant typo 2011-03-20 19:25:47 +01:00
David Mudrak
dc41abd808 MDL-26609 Provide a link to a docs page for more help with Moodle versions and their maturity
Thanks Martin Dougiamas for this suggestion.
2011-03-04 05:59:08 +01:00
David Mudrak
3d673fc474 MDL-26609 Admins are warned if they try to install or upgrade to unstable version
The commit introduces four new constants that can be used to declare a
maturity level of Moodle core and, in the future, of extension plugins.
If the administrator is about to install or upgrade Moodle to a version
that is not considered as production-ready yet, a warning is displayed
before any change in the database.
2011-03-04 05:59:08 +01:00
David Mudrak
9632db7aea MDL-23027 CLI installer allows to define site name and shortname
Credit goes to James Brisland for the submitted patch. I just polished
it a bit and changed the SQL condition that selects the site course
record from id=1 to format='site' (see xmldb_main_install() for how the
site course record is initialised, we should not rely on the id assigned
to it by the DB engine).
2010-10-27 19:18:45 +00:00
Petr Skoda
72c75d1a05 MDL-22657 fixed lost language selection in CLI installer 2010-09-01 08:37:46 +00:00
Petr Skoda
211c90081f MDL-22625 workaround for missing default timezone in CLI install 2010-08-29 14:15:43 +00:00
Petr Skoda
28bd3d9ad3 MDL-23824 CLI script improvements - just define('CLI_SCRIPT', true) before require config.php; all incorrect uses of cli and web scripts are detected; refactored cron script - now in two separate sctipts; fix cli inline docs and help - we have to sudo to apache account; standardised cli script locations in auth plugins 2010-08-17 12:33:30 +00:00
Petr Skoda
b7315f3502 MDL-23590 refactoring cli install before adding install_database.php + fixing problem with incorrect octal when default value accepted 2010-07-30 11:58:02 +00:00
Petr Skoda
460ebd6c31 MDL-21249 fixed recent installer regression, sorry 2010-07-26 20:17:36 +00:00
Eloy Lafuente
7e60d0d6d7 MDL-22906 install - allow MS native drivers to be used everywhere 2010-06-24 16:48:11 +00:00
David Mudrak
c31aa73c70 MDL-22812 Do not change dataroot path passed as argument
Because PARAM_SAFEPATH was applied on dataroot argument, directories
containing dots (eg. /var/www/data/moodle.tld.com) were silently
renamed. The patch removes the input validation on the argument. If the
enemy is executing scripts at the server, you are doomed anyway.
2010-06-17 15:40:07 +00:00
David Mudrak
c4f8fd0c3d MDL-18797 The selected language pack fetched during install 2010-05-27 06:57:21 +00:00
Petr Skoda
3b5ff37f24 MDL-22546 removing dirroot from the config.php - this should finally solve the symbolic links issues because we know 100% what should be in $CFG->dirroot once we get into lib/setup.php, it is being initialised there automatically instead + more robust handling of dataroot + simplified config-dist.php and installer; the $CFG->admin is now visible only if admin directory can not be found; please note the old config.php's are still going to work, if admins remove the dirroot they have to add the __FILE__ into require_once lib/setup.php at the end of old config 2010-05-21 17:32:15 +00:00
David Mudrak
7be6768138 MDL-22295 CLI installer supports --chmod argument to define $CFG->directorypermissions 2010-05-20 13:40:45 +00:00
David Mudrak
7217676b92 MDL-22296 CLI installer allows to rename the administrator account username 2010-05-10 21:57:48 +00:00
David Mudrak
877a172ddf MDL-22406 CLI installer: fixing a bug in setting of string location 2010-05-10 17:16:34 +00:00
David Mudrak
d8030e1119 MDL-22294 CLI installer uses given --dataroot as a default for interactive mode 2010-05-10 17:10:37 +00:00
David Mudrak
59ba2bb002 MDL-22294 CLI installer now supports --dataroot argument correctly 2010-05-10 15:59:21 +00:00
David Mudrak
7d73574c6f MDL-22406 CLI installer now switches to core_string_manager() after the lang pack has been fetched 2010-05-10 14:46:59 +00:00
David Mudrak
a18d577dcd MDL-22059 Missing installer strings. To be automated soon. 2010-05-10 14:24:36 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +00:00
Petr Skoda
2357ab4921 MDL-15252 language list refactoring 2010-04-10 21:22:15 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
a0b7200d9c Fixing typos in DB persistant connection setting 2010-03-25 11:17:01 +00:00
David Mudrak
852a1f66cf MDL-20717 GPL version 3 at the Copyright notice during the installation
The new string 'gpl3' replaces the legacy string 'gpl'. Once we have
proper lang branching, 'gpl' string should be removed from 2.0/HEAD.
2010-01-25 09:40:05 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
skodak
16ae08537b MDL-15249 support for environment test in cli scripts 2009-06-03 16:24:00 +00:00
skodak
1494616faa MDL-15249 localization fixes 2009-05-31 12:04:51 +00:00
skodak
05736058a9 MDL-15249 yet more localization fixes for installer 2009-05-31 11:50:08 +00:00
skodak
fb344c2d3c MDL-15249 installer fully localized 2009-05-31 11:45:18 +00:00
skodak
b8523467c7 MDL-15249 towards localized cli installer 2009-05-30 19:02:04 +00:00
skodak
c31d94e8ba MDL-15249 towards localized cli installer 2009-05-30 17:14:24 +00:00
skodak
5a411e8137 MDL-15249 help now printed if config.php exists 2009-05-29 07:45:06 +00:00
skodak
3b596dbf0b MDL-15249 sample cli scripts - sample implementation only, no localization - ideally we should now decide what parameters we need - let the heated discussion begin ;-) 2009-05-27 09:52:25 +00:00