176 Commits

Author SHA1 Message Date
Sam Hemelryk
94ef67cf5f MDL-36466 cache: tidy up after review 2012-11-26 08:12:00 +13:00
Sam Hemelryk
3308259062 MDL-36466 cache: disabled caching during installation and upgrade 2012-11-26 08:12:00 +13:00
Eloy Lafuente (stronk7)
067200e212 MDL-36454 install: add missing cache lib. 2012-11-08 13:07:47 +01:00
Petr Škoda
68cd60b7df MDL-36196 hardcode the required PHP version in installer 2012-11-07 13:04:08 +01:00
Jason Fowler
8231a0ca2a MDL-33957 - Installation - Fixing field lengths so they are long enough for data entry, and don't distort page rendering 2012-06-25 09:52:56 +08:00
Jason Fowler
3d24b287be MDL-33928 - Installation - Fixing the size of the host field for database details in the installation stage 2012-06-21 11:18:51 +08:00
Petr Skoda
0aff15c2c9 MDL-33007 add workaround for broken iconv //IGNORE
This patch adds mbstring utf-8 cleanup fallback and admin warning if no utf-8 cleanup possible in user submitted data.
2012-06-01 12:23:09 +02:00
David Mudrak
12812ad5da MDL-30381 Fixed path to the cache directory in installers
This fixes the patch f848c0f6e60c4451a0058d87194f326bca690c1e introduced
in MDL-29351.
2011-11-21 15:48:31 +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
70801baf0b MDL-29016 allow distributions to set dataroot permissions 2011-08-20 12:48:44 +02:00
Sam Hemelryk
7d85a4e226 Merged branch 'w31-MDL-28412_m22_iconv' of git://github.com/skodak/moodle.git with english string improvements 2011-08-08 10:16:23 +08:00
Petr Skoda
695940df3b MDL-28412 detect broken iconv 2011-08-06 23:04:31 +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
Petr Skoda
e5d2c5779f MDL-25699 decode URLs in installer CSS 2011-07-23 00:45:17 +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
ae3a794781 MDL-26355 increase size of installer forms fields 2011-02-13 10:52:28 +01:00
Daren Chandisingh
e92977d3de [MDL-25780] Fixed missing error string substitution 2011-01-26 15:20:28 +00:00
Petr Skoda
a226a972f7 MDL-24321 switching to stdClass in /admin/ and / 2010-09-21 08:44:02 +00:00
David Mudrak
1656452410 MDL-24072 installer: initialize moodledata content even if the directory itself already exists 2010-09-20 08:20:32 +00:00
David Mudrak
807ee8bcd9 NOMDL installer: do not switch from install lang pack if there is a problem with download 2010-09-20 07:53:44 +00:00
Petr Skoda
4ede587e28 MDL-22625 workaround for missing default timezone 2010-08-29 14:15:17 +00:00
Petr Skoda
0bda70315b MDL-23984 improved dataroot handling in installer 2010-08-29 11:33:04 +00:00
Petr Skoda
e890316899 PHP4 is dead - admins with PHP4 will get ugly errors when trying to install Moodle 2.0, sorry we can not dance around this ancient version forever 2010-08-17 10:38:34 +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
e8da62a9f7 fixed whitespace 2010-07-30 11:04:35 +00:00
Petr Skoda
0cf4772356 MDL-23590 removing unnecessary include 2010-07-30 11:03:23 +00:00
Petr Skoda
460ebd6c31 MDL-21249 fixed recent installer regression, sorry 2010-07-26 20:17:36 +00:00
David Mudrak
85ed076b18 MDL-23322 Fixed incorrect definition of installer strings 2010-07-23 12:11:17 +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
c4f8fd0c3d MDL-18797 The selected language pack fetched during install 2010-05-27 06:57:21 +00:00
Eloy Lafuente
a2b9bca5c7 MDL-22556 mssql - Enable HEAD installations using the mssql (freetds) driver 2010-05-26 16:32:09 +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
90150c08ee MDL-18112 Added a comment that we intentionally check against 5.2.0 in early install steps 2010-05-10 14:44:02 +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
d8fa5a1377 MDL-22059 fixing install_string_manager to work with new installer language formats 2010-04-11 18:26:19 +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
Petr Skoda
e2253187a2 MDL-22031 fixed installer regression, adding more defines that are later done in setup.php 2010-04-06 19:08:15 +00:00
David Mudrak
a0b7200d9c Fixing typos in DB persistant connection setting 2010-03-25 11:17:01 +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
Petr Skoda
86449d2214 MDL-20168 we need a lot more memory in 64bit PHP 2009-11-03 14:55:30 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt
318f05193e MDL-19714 Fatal errors when installing HEAD This is my attempt to fix things by copying code from setup.php to install.php. Seems to work now. 2009-07-05 02:16:56 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
082157a8b8 MDL-15249 refactoring normal installer in preparation for new cli installer + coding style changes 2009-05-25 17:18:31 +00:00
skodak
95feaf965f MDL-19235 updated license header in installer - completely rewritten for 2.0 + more inline docs 2009-05-21 10:08:58 +00:00
skodak
d764d4cae4 MDL-19235 updated license header in installer - completely rewritten for 2.0 2009-05-21 09:58:18 +00:00
stronk7
f571f5f554 MDL-18195 installer - always suggest/write paths using forward slashes 2009-02-11 17:00:39 +00:00
stronk7
08261d3ac1 MDL-18219 installer - respect $distro->dbtype after downloading langs 2009-02-11 16:39:49 +00:00