156 Commits

Author SHA1 Message Date
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
stronk7
cf89052aae MDL-18200 installer - create dataroot dir if possible 2009-02-11 16:16:52 +00:00
stronk7
768408e8dd MDL-18198 installer - change distro to distrolib.php and delete distro hack from installlib 2009-02-09 19:35:57 +00:00
skodak
64c368e3df MDL-18167 more distro hooks refactoring - agreed with Eloy 2009-02-07 20:03:25 +00:00
skodak
cc8727451f MDL-17565 automatic download of parent lang + parent lang cleanup 2009-02-07 18:55:21 +00:00
skodak
9ace50944f MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs 2009-02-07 17:56:40 +00:00
skodak
6724b0598b MDL-18167 more hooks for distros 2009-02-07 17:07:05 +00:00
skodak
4f9dba35a3 MDL-18167 let distros set default dataroot 2009-02-07 15:23:30 +00:00
skodak
5167827bbb MDL-18167 allow distro packs skip dbtype selection 2009-02-07 15:06:20 +00:00
skodak
5c1fb7d4d1 MDL-18167 towareds reimplementing of win installer support 2009-02-07 14:08:44 +00:00
skodak
4d928665b9 MDL-14924 language autorefresh and starting to reimplement welcome.html support + strings.txt cleanup 2009-02-07 13:35:01 +00:00
skodak
fa53493e48 MDL-14924 fixed typo - thanks Eloy 2009-02-07 11:49:56 +00:00
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak
fe27230c34 MDL-10275 temporarily disabling old installer, stay tuned - new one will be ready soon ;-) 2009-02-01 16:33:09 +00:00
stronk7
7251d63d3d MDL-18072 installer - define CLI_SCRIPT (false) to avoid notices here and there. 2009-01-28 22:54:39 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
627d326ade MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too 2008-11-19 09:46:09 +00:00
skodak
2f17b76d4b MDL-17057 dml: fixed regression changed by removed dbpersist parameter - sorrrry 2008-10-29 09:24:45 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
stronk7
0022d112ab Remove hack not needed anymore. Now enviroment check handles this properly. MDL-16008 & MDL-16188 2008-08-24 16:39:06 +00:00
skodak
bba0beaee2 MDL-15716 Tightened dataroot security checks and and 'loud' administrator warning 2008-08-21 15:29:42 +00:00