Commit graph

495 commits

Author SHA1 Message Date
Aparup Banerjee
08d3898c7c installation MDL-24863 fixed area that is calling get_site() to catch dml_exception instead of dml_read_exception. (This is to handle other possible types of dml_exceptions during calling get_site()) 2010-11-17 07:40:48 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Petr Skoda
af3426f65e MDL-24852 switching to yui 2.8.2 2010-10-26 19:06:14 +00:00
Petr Skoda
c22473a214 MDL-24751 fixed default memory limit when deciding to use apache_child_terminate(), apache_child_terminate() is now called from one place only 2010-10-19 10:00:29 +00:00
Petr Skoda
0f0f076819 MDL-24751 simplified use of raise_memory_limit() by introduction of memory use constants, set memory limit before including our large libs, adding support for G suffix introduced in PHP5 2010-10-19 09:23:08 +00:00
Petr Skoda
e4c05ec7b8 MDL-24755 fixed double define in configonly scripts, credit goes to Aparup Banerjee 2010-10-19 07:36:22 +00:00
Petr Skoda
8820f4e751 MDL-24723 new CLI maintenance mode 2010-10-18 12:48:39 +00:00
Petr Skoda
17c70aa007 MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED 2010-10-10 15:04:19 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Sam Hemelryk
d543cc3cae yui MDL-24146 upgraded YUI to version 3.2.0 2010-09-09 09:03:56 +00:00
Petr Skoda
8b2ebe7f03 MDL-23984 improved dataroot validation 2010-08-29 14:14:21 +00:00
Petr Skoda
fe79c400d9 MDL-23948 improved detection of config.php problems 2010-08-26 16:25:13 +00:00
Petr Skoda
1e36599bb0 MDL-23948 PHPUnit scripts are simply marked with define('PHPUNIT_SCRIPT', true) + simple require_once(dirname(dirname(dirname(__FILE__))).'/config.php'); 2010-08-26 16:13:17 +00:00
Petr Skoda
b30fa33538 MDL-23948 we should make CFG global before assigning value to it, you could not include our config.php from non-global scope before which was breaking external stuff 2010-08-26 15:31:18 +00:00
Petr Skoda
56953adc5b MDL-23824 prevent header warnings on CLI after fatal config.php error detected 2010-08-26 14:57:32 +00:00
Petr Skoda
85ba1e78b4 MDL-23884 new default error handler - prevents white screens and helps with debugging 2010-08-20 09:05:15 +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
df92ba9a43 MDL-23797 minor session refactoring necessary for setting of default context on pages that do not use cookies 2010-08-16 17:47:36 +00:00
Petr Skoda
26f073ff98 MDL-23528 fixed recent cli installer regression, sorry 2010-07-26 20:22:49 +00:00
Petr Skoda
460ebd6c31 MDL-21249 fixed recent installer regression, sorry 2010-07-26 20:17:36 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
1a3993c1ec fixed place where we define MOODLE_INTERNAL - we need to do that asap 2010-07-25 12:56:08 +00:00
Petr Skoda
c7b0e5e187 enable circular reference collector when available 2010-07-21 20:32:09 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
177b5480e7 MDL-22546 improved fatal error messages when something is wrong with dataroot or wwwroot 2010-06-11 13:59:13 +00:00
Martin Dougiamas
62c5e65433 MDL-22625 Avoid timezone notices from PHP when PHP doesn't have a default timezone set 2010-05-31 09:15:26 +00:00
Petr Skoda
4cee2155b2 MDL-22546 improving dir creation handling and improving dataroot support in config only scripts; using 02777 as default in lib/setup.php to match the default in config-dist.php 2010-05-22 19:59:59 +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
Petr Skoda
c595847d11 MDL-22538 final switch to YUI 3.1.1 and 2.8.1 2010-05-21 12:33:46 +00:00
Petr Skoda
12bb0c3ef5 MDL-22515 plugin settings can be forced now too + minor CFG init refactoring + get_config() cleanup 2010-05-19 13:30:13 +00:00
Petr Skoda
ecd7978c05 MDL-22015 fixed more string_manager encapsulation issues 2010-04-14 14:38:33 +00:00
Petr Skoda
8c25522551 MDL-21998 switching to YUI3.1.0 lib - there do not seem to be any mojor regressions, if you need old version just edit your lib/setup.php 2010-04-11 08:50:08 +00:00
Petr Skoda
4000129f7d MDL-15252 string manager improvements - fixed regression - lang from POST was accepted too, sorry 2010-04-10 20:41:26 +00:00
Petr Skoda
38c253f9aa MDL-15252 string manager improvements - it is possible to specify custom lang locations in config.php 2010-04-10 20:35:52 +00:00
Petr Skoda
b4cf79c861 MDL-21146 removing incorrect license defaults, setup.php is not the right place for this, sorry 2010-04-10 19:52:57 +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
Dongsheng Cai
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +00:00
Petr Skoda
1adaa40466 MDL-21938 support for json renderer and error handler 2010-03-28 09:05:47 +00:00
Eloy Lafuente
3d732d8487 NOBUG: Now editorlib is using PEAR (forms) stuff. Move the include
path definition before including all the Moodle stuff.
2010-03-23 11:14:26 +00:00
Petr Skoda
00dadbe164 MDL-21742 fixed serious regressions - require_login(); could not be called after setting up themes (we need this in several places, this will be improved later) + it is too late to set up default local in require_login() because some scripts may not even call this - such as CLI 2010-03-02 11:51:36 +00:00
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Petr Skoda
d5fac1cfd4 more eclipse autocompletion fixes 2010-01-13 11:25:15 +00:00
Petr Skoda
0037dcc99b MDL-21251 set up correct debugging in ABORT_AFTER_CONFIG scripts 2010-01-05 20:31:42 +00:00
Petr Skoda
39edbd022f MDL-20204 Eclipse autocompletion works again 2010-01-01 12:44:08 +00:00
Petr Skoda
60f2c8666a MDL-21189 custom yui image loading needed for combo yui loader 2009-12-25 19:51:40 +00:00
Petr Skoda
cbcc9852e0 MDL-21125 removing obsolete global $THEME 2009-12-23 18:23:21 +00:00
Petr Skoda
998999e725 MDL-21155 improve themechangeonurl - sesskey not required, it may be a slight CSRF problem, but on the other hand theme designers rely on this very often, fixed problems with theme in _POST 2009-12-20 16:25:41 +00:00
Petr Skoda
bee934afa3 MDL-20796 importing yui 3.0.0 2009-12-16 19:45:12 +00:00
Petr Skoda
bf62f18738 MDL-20795 integrating new YUI2 2.8.0r4 2009-12-16 19:32:36 +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