Petr Skoda
7a7edd21f2
MDL-30621 more dataroot protection
2011-12-12 15:06:47 +01:00
Petr Skoda
adf0fc0e42
MDL-30621 prevent warnings when creating temp and cache dirs
2011-12-10 17:35:22 +01:00
Aparup Banerjee
3a9e6be55a
Merge branch 'w46_MDL-30349_m22_filestatcaching' of git://github.com/skodak/moodle
2011-11-22 11:33:55 +08:00
Petr Skoda
0b9f2a02ab
MDL-30349 make sure file stat cache is reset properly after each remove_dir()
...
Typo3 does this, maybe it works around some PHP bugs…
2011-11-19 10:36:37 +01:00
Petr Skoda
69ac5d478f
MDL-30147 do not rely on dml exception type outside of dml layer
...
The trouble is that dml driver methods (insert, update, select) are not guaranteed to return the same exception class for various db problems and coding style issues. The recommended practice is to catch dml_exception only.
2011-11-19 09:25:11 +01:00
Eloy Lafuente (stronk7)
10dd4995da
Merge branch 'MDL-29474' of git://github.com/timhunt/moodle
2011-10-26 10:33:37 +02:00
Eloy Lafuente (stronk7)
94da1daf40
Merge branch 'w42_MDL-29866_m22_setupinit' of git://github.com/skodak/moodle
2011-10-25 16:41:11 +02:00
Eloy Lafuente (stronk7)
980dfc5720
Merge branch 'w42_MDL-29881_m22_profiling' of git://github.com/skodak/moodle
2011-10-25 16:17:40 +02:00
Petr Skoda
41701ffd2d
MDL-29866 fix p tags and more docs
2011-10-25 08:54:30 +02:00
Petr Skoda
c34724de75
MDL-29881 remove old apd profiling
...
Profiling is now handled via xhprof extension and new profiling UI.
2011-10-23 10:45:35 +02:00
Petr Skoda
f0f8f9a796
MDL-29866 page setup improvements
...
incorrect PAGE init - it should be done at the very end; redirect() should not use OUTPUT before PAGE init; SITEID should be deprecated in favour of $SITE->id (this is going to cause troubles in tenant switching in CLI, cron and tests); missing "global $SITE"'; minor coding style issues; PHPDocs; it also helps with merging/testing of multitenant patch
2011-10-21 16:35:19 +02:00
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