247 Commits

Author SHA1 Message Date
Petr Skoda
d21149699c MDL-29862 incorrect wwwroot must be detected before session start 2011-10-21 09:52:18 +02:00
Tim Hunt
0242bdc759 MDL-29474 pluginlib.php: Code to load the dependancy information and make it available. 2011-10-20 11:13:29 +01:00
Sam Hemelryk
92fe97f922 Merged branch 'MDL-29277' of git://github.com/mouneyrac/moodle.git with improvements 2011-10-17 13:18:30 +13:00
Jerome Mouneyrac
9360256937 MDL-29277 when validate externallib function parameters or return values, build the path to the error into the debuginfo. This patch also revert the exception to the original invalid_parameter_exception and invalid_response_exception 2011-10-07 16:06:19 +08:00
Petr Skoda
32db0f0d83 MDL-28701 add old cache and temp creation debug message and improve docs a bit 2011-09-10 11:24:46 +02:00
Tom Lanyon
e695890739 MDL-28701 Add make_temp_directory() and make_cache_directory(). 2011-09-10 10:35:48 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Sam Hemelryk
9192b4537c Merge branch 'w29_MDL-27464_m22_continue' of git://github.com/skodak/moodle 2011-07-25 11:03:34 +08:00
Petr Skoda
c8d3345cd3 MDL-27464 continuation link sometimes links off-site
This code was manually merged from MOODLE_19_STABLE, credit goes to Matt Meisberger.
2011-07-23 13:28:43 +02:00
Petr Skoda
e0f2718fb2 MDL-27796 ignore missing HTTP_HOST header 2011-07-22 23:17:09 +02:00
Aparup Banerjee
eea3341dfc MDL-28044 general - updated print_error() link to point to new versioned docs link. 2011-06-29 10:55:02 +08:00
Petr Skoda
4e3e8464b6 MDL-26910 add HTTPD server name whitelisting 2011-04-10 14:00:42 +02:00
Petr Skoda
0ae36f6638 MDL-26966 improve self URL validation 2011-03-27 12:29:36 +02: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
Eloy Lafuente (stronk7)
07e21f6054 Merge branch 'w07_MDL-26211_20_https' of git://github.com/skodak/moodle 2011-02-15 16:45:22 +01:00
Petr Skoda
2a9c0d0578 MDL-26211 improve detection of https from _SERVER 2011-02-15 15:33:29 +01:00
Petr Skoda
81b58cc227 MDL-26389 improve profile and search engine privacy 2011-02-14 15:42:26 +01:00
Petr Skoda
28ec73dc5b MDL-26182 add detection of misconfigured nginx server 2011-01-30 11:38:16 +01:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Petr Skoda
871ed45870 MDL-25314 adding some header/session related notes 2010-11-20 03:49:20 +00:00
Petr Skoda
cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
2c0b6ab223 MDL-23610 increasing version number to trigger environment test 2010-11-17 03:52:05 +00:00
Sam Hemelryk
d9e0726431 lib MDL-1975 Users who have been auto logged in by guest are now redirected to login on capability exceptions rather than being shown the exception. 2010-11-12 07:53:55 +00:00
Petr Skoda
d827f7b8b0 MDL-24848 fixed broken extra memory limit 2010-10-26 08:02:51 +00:00
Petr Skoda
cd3059b122 MDL-24751 64bit systems have higher memory limits now 2010-10-23 10:57:15 +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
7416213460 MDL-24332 fixed incorrect fix - credit goes to Steve Massicotte 2010-10-15 19:18:45 +00:00
Petr Skoda
848fe203df MDL-14627 if you do not have capability to view activity the continue button should point to course not the activity 2010-10-14 18:18:31 +00:00
Petr Skoda
56048f8366 MDL-24332 fixed https handling when using sslproxy - thanks djeeg 2010-09-27 10:16:28 +00:00
Petr Skoda
4f92410fb5 MDL-24321 deprecating object class 2010-09-21 08:57:31 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
f49b359b00 MDL-24178 adding unofficial support for LiteSpeed server 2010-09-13 10:29:05 +00:00
Petr Skoda
47d2216e8a standardized PHPDocs package info + fixed copyright dates and authors 2010-09-06 11:41:43 +00:00
Petr Skoda
4031f6a27c MDL-23984 improved check_dir_exists() and make_upload_directory() incorrect permissions throw fatal exceptions by default; it is possible to create dirs outside of dataroot (necessary for custom dir locations); fixed Win32 compatibility in session_exists method 2010-08-29 14:33:39 +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
eb5bdb3510 MDL-23797 improved detection of PAGE->context abuse andproblems; fixed incorrect use of this->context instead of this->_context; missing PAGE->context does not throw fatal error any more 2010-08-16 19:11:21 +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
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Sam Hemelryk
6db3eee02b enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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
Martin Dougiamas
68a453611d MDL-22763 If the user has reached the site via the wrong URL then redirect them 2010-06-15 04:01:05 +00:00
Petr Skoda
8b8aa0605f MDL-22689 added another unsupported web server 2010-06-08 07:21:43 +00:00
Sam Hemelryk
a8f810ecef course-section MDL-22262 Bumped major DB change version 2010-05-27 04:09:44 +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
David Mudrak
4f6be42cde MDL-22061 Fixed regression, non-translated exception names do not produce debugging 2010-05-18 11:58:53 +00:00
David Mudrak
59ba2bb002 MDL-22294 CLI installer now supports --dataroot argument correctly 2010-05-10 15:59:21 +00:00
Petr Skoda
f83b3b13f3 forced upgrade version updated 2010-05-06 06:55:59 +00:00
Petr Skoda
b81e18f889 adding new forced upgrade version 2010-04-23 10:36:56 +00:00
Petr Skoda
199c198137 MDL-19928 adding unofficial support for the cherokee web server + adding some notes about other servers 2010-04-06 19:23:47 +00:00