Petr Skoda
e995de87e2
MDL-24446 prevent problems with invalid values of CFG->maxbytes
2010-09-29 21:50:11 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Dan Marsden
bce59524ce
Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future.
2010-09-20 07:32:31 +00:00
Petr Skoda
9aeaf4c622
MDL-24148 bit more reordering - delete blocks before activities because they might use module data
2010-09-19 14:02:56 +00:00
Petr Skoda
582bae08ff
MDL-24148 several course delete improvements and fixes:
...
* fixed order of deleting in course adn context
* adding course context to event data because it is not available alter and some stuff may depend on old context id
* adding option for context purging (keeps the context record because it might be still referenced later and it would be recreated)
* new course enrol cleanup
* removing content from some course fields that were referencing deleted content
* coding style and phpdocs improvements
2010-09-19 13:09:48 +00:00
Martin Dougiamas
e72b3eb27f
MDL-24147 Delete course_display when deleting course
2010-09-19 06:40:24 +00:00
Petr Skoda
c971707aff
fixed phpdocs and proposed a better change
2010-09-18 11:52:59 +00:00
Petr Skoda
6c6b2b1024
adding missing global breaking some mnet jumping
2010-09-18 11:24:21 +00:00
Petr Skoda
09511cd3be
fixing whitespace and commenting on some suspicious code
2010-09-18 11:23:46 +00:00
Petr Skoda
eab8ed9fb7
fixed a few spelling errors in /admin/
2010-09-17 10:27:26 +00:00
Sam Hemelryk
d7eeb39ed7
NOBUG: Removed deprecated mktime arg from dayofweek func in moodlelib
2010-09-17 04:21:18 +00:00
Dongsheng Cai
c343ddf84e
MDL-24157, clean up page_comments when reseting courses
2010-09-16 07:38:52 +00:00
Sam Hemelryk
224020ac1a
course-completion MDL-24145 Course reset now has option for course completion data
2010-09-16 04:14:46 +00:00
Sam Hemelryk
3991bd7d69
course-import MDL-24176 Added mimetype mapping for moodle backup files to get_file_packer
2010-09-16 03:56:44 +00:00
Sam Hemelryk
5d38bd8c02
course completion MDL-24145 Course completion information is cleared by reset_course_contents
2010-09-16 03:45:28 +00:00
Dongsheng Cai
ec125c7596
MDL-22051, move comments deletion code to accesslib.php
2010-09-08 08:29:46 +00:00
Petr Skoda
c6947ba7a5
MDL-23899 migration to new locale aware asort
2010-09-05 13:00:47 +00:00
Petr Skoda
86f6eec327
MDL-23184 PARAM_CLEANHTML is work with real html markup only, it does not do our custom FORMAT_MOODLE tweaks anymore, luckily this was not supposed to be used before storage to database in 1.9, that means there should not be any BC issues;improved docs
2010-09-02 18:49:31 +00:00
Petr Skoda
9f75f77da3
MDL-23184 improved docs, do not show deprecated examples
2010-09-02 18:37:22 +00:00
Petr Skoda
7e4341f9f5
fixed php docs, PARAM_CLEANHTML does not strip backslashes anymore
2010-09-02 17:58:03 +00:00
Petr Skoda
44913c8d47
MDL-24063 finally after so many years developers have to specify parameter types in optional_param() and required_param() - the developers get standard PHP notices and debugging info, hopefully that will be enough to persuade everybody to stop abusing default PARAM_CLEAN; fixing php docs
2010-09-02 17:51:59 +00:00
Petr Skoda
b6059edcac
MDL-22959 PARA_TEXT multilang whitelisting cleanup; the text is no longer being processed by kses or htmlpurifier - this should fix some recent regressions, any xhtml strict tweaking should be done in format_string() if necessary; unit tests included
2010-09-02 17:30:00 +00:00
Sam Marshall
46e1237279
Completion MDL-23995 Completion, availability data not deleted with modules/course
2010-09-01 17:02:56 +00:00
Petr Skoda
c426ef3aa5
MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read
2010-08-29 14:51:09 +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
389d17f9cc
MDL-23985 removing all make_user_dir() and get_user_directories() usage
2010-08-29 09:50:36 +00:00
Petr Skoda
e0d8621854
MDL-23984 finally changing defaults for check_dir_exists() it should be now used mostly for temp and caches, because plugins have to use new file API; we also allow creation of dirs outside of dataroot in case somebody overrides paths in config.php such as langlocalroot
2010-08-29 09:36:21 +00:00
Sam Hemelryk
f5c1e62149
navigation MDL-23852 Added is_role_switched method to accesslib and implemented use of it
2010-08-27 01:44:25 +00:00
Petr Skoda
3e359a08a0
NOBUG improved coding style - it is always better to use === when comparing strings
2010-08-26 16:28:28 +00:00
Petr Skoda
c126d45243
MDL-23948 ignore 'phpunit' folder when looking for plugins
2010-08-26 16:27:14 +00:00
Dongsheng Cai
d846488e65
"MDL-23917, display comments for not logged in users"
2010-08-25 03:50:19 +00:00
David Mudrak
596810f6dc
MDL-21696 Extending string_manager::load_component_strings() API to ignore customized translation
...
This seems to be the easiest way how to get current information about
the _local strings without re-implementing the logic of
load_string_manager() itself.
2010-08-23 16:51:45 +00:00
Sam Hemelryk
d4c3f025b1
NOBUG: Added a couple of descriptive classes to reused perfinfo class
2010-08-20 07:37:59 +00:00
Petr Skoda
999b54af84
MDL-23833 rewritten guest autologin - not using redirect any more + migration to CFG->siteguest instead of username + removing guest login button when user is already guest
2010-08-18 11:49:22 +00:00
Petr Skoda
6b24e35e79
MDL-23740 fixed PARAM_TAG compatibility with utf-8 chars
2010-08-11 09:57:21 +00:00
Sam Marshall
fce37b254e
course MDL-23701: Fixed order of deleting entire course to delete grades before course-modules, avoiding dependency problem
2010-08-09 17:13:35 +00:00
David Mudrak
50e798c8a4
MDL-23625 Fixed support for local customization of the English pack in non-core plugins
2010-08-08 09:32:23 +00:00
Dongsheng Cai
650a0c0a66
COMMENT MDL-23585 delete comments when centain contexts are being deleted
2010-08-02 07:44:45 +00:00
Petr Skoda
a1248ca40e
MDL-18964 moving the preloaded custom profile fields into $USER->profile array instead of injecting fields directly into $USER; unfortunately this is not consistent with other preloaded data such as preferences, we can not refresh it properly because we can inject the data only once, also we risk future collisions when adding new fields into user table + implemented reloading after the profile changes; change noted in release notes
2010-07-25 21:00:59 +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
Andrew Davis
8a15e5f80e
lib MDL-23354 fixed a type wwroot instead of wwwroot
2010-07-23 07:21:11 +00:00
Petr Skoda
792881f0fe
fixed some comment typos
2010-07-22 09:43:30 +00:00
Petr Skoda
003ffc8565
MDL-23474 user password hashing - removed unnecessary user record update, improved docs and fixed the content of password field in user record after update
2010-07-22 07:43:18 +00:00
Martin Dougiamas
dc2c9bd795
MDL-23391 rss cache is now inside the dataroot/cache with the others, so it doesn't need separate purging
2010-07-20 08:28:00 +00:00
Jonathan Harker
7785dc2e9f
lib, auth, webservice: MDL-20876 fix deprecated split() calls.
2010-07-20 01:38:54 +00:00
Petr Skoda
09e6fedbf1
'user' is now full core subsystem
2010-07-19 10:10:51 +00:00
David Mudrak
fe73e93545
MDL-22787 MDL-21993 New mnetservice plugin type
...
This commit introduces new plugin type called mnetservice. Once the MNet
framework is redesigned, this plugin will define the service itself, the
strings for it and the the client tools for administrator. The server
side is implemented mainly in enrol_mnet plugin which publishes xml-rpc
methods.
AMOS BEGIN
MOV [remoteenrolhosts_desc,core_mnet],[clientname_help,mnetservice_enrol]
AMOS END
2010-07-17 22:18:07 +00:00
Petr Skoda
44b64a5683
MDL-19281 fixing proper function name of course delete hook for course formats
2010-07-15 15:27:18 +00:00
Petr Skoda
f728d49b00
MDL-19380 uploadlib cleanup before readding of antivirus integration
2010-07-14 08:40:48 +00:00