50 Commits

Author SHA1 Message Date
Petr Skoda
743fff98dc MDL-26142 fix immediately spelling in strings, comments and code 2011-02-13 11:36:46 +01:00
Sam Hemelryk
081c914b39 backup MDL-25183 Added a dedicated CLI script for running automated backups 2010-11-12 07:05:18 +00: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
346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +00:00
Petr Skoda
deba811a9c fixed comment typo 2010-09-05 19:19:40 +00:00
Petr Skoda
80380bd79b MDL-24089 preventing any plugin upgrades if downgraded core detected; localising error message 2010-09-05 19:16:42 +00:00
Petr Skoda
72c75d1a05 MDL-22657 fixed lost language selection in CLI installer 2010-09-01 08:37:46 +00:00
Petr Skoda
71904f4d2b MDL-23984 make_upload_directory() cleanup - we now throw exceptions by default which should prevent a lot of strange problems 2010-08-29 14:59:14 +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
6c2c2b53b9 MDL-23682 fixed help 2010-08-18 17:51:36 +00:00
Petr Skoda
90f3882555 MDL-23682 new MySQL engine migration script 2010-08-18 17:24:53 +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
cf12835f33 fixed comment typo 2010-07-30 14:52:41 +00:00
Petr Skoda
91eb6730f0 MDL-23590 new installer for Penny :-) 2010-07-30 14:44: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
30f581598a new php docs style 2010-07-30 11:14:36 +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
Eloy Lafuente
054d3924f2 NOBUG: On upgrade, cli must not override current config. Just set undefined (new) ones 2010-01-21 10:04:03 +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
cfe3321562 MDL-19352 maintenance mode reimplemented - now using$CFG + cli script 2009-06-03 08:23:05 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
926378ce4d MDL-15249 localized cli upgrade 2009-05-31 12:39:16 +00:00
skodak
71d549933b MDL-15249 yet more localization fixes 2009-05-31 12:38:39 +00:00
skodak
57295c9224 MDL-15249 password reset cli script improvements 2009-05-31 12:34:08 +00:00
skodak
58ebe269fe MDL-15249 password reset cli script improvements 2009-05-31 12:13:08 +00:00
skodak
1494616faa MDL-15249 localization fixes 2009-05-31 12:04:51 +00:00
skodak
6b997b07dd MDL-15249 localized cli upgrade 2009-05-31 11:57:33 +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