Commit Graph

1440 Commits

Author SHA1 Message Date
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
Petr Skoda f87eab7e71 MDL-23167 basic "purge all caches" button 2010-07-13 15:09:44 +00:00
Petr Skoda dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Petr Skoda edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
Dan Marsden c5c0d2ff98 Increase length of City field MDL-19629 - Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu doesn't actually fit in 100 chars - we need 105 - increasing further to 120 2010-07-08 11:15:49 +00:00
Dan Marsden ba0c097216 Increase length of City field MDL-19629 - longest place name in NZ is Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough 2010-07-08 07:55:20 +00:00
Petr Skoda 28762d7252 MDL-23112 coding style improvement 2010-07-07 07:14:03 +00:00
Andrew Davis 42b46a77e0 core MDL-23112 fixed errors to do with $user->suspended not being declared 2010-07-07 01:46:45 +00:00
Andrew Davis 6d2e69363d message MDL-23101 made email notifications of forum posts work 2010-07-06 08:59:39 +00:00
Andrew Davis 1560760fb0 message MDL-23098 fixed the eratic behaviour of new message notifications 2010-07-06 01:52:32 +00:00
Petr Skoda 94beb69d55 MDL-13563 preventing login of users with suspended flag 2010-07-05 21:51:58 +00:00
Petr Skoda 37a0892432 finally removing the attempt to convert non-utf8 passwords - all users must have already logged in since sites upgraded from 1.6, right? - this also fixes recent undefined warning from convpassword 2010-07-04 12:33:46 +00:00
Petr Skoda 8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Petr Skoda 6e7ddc697b MDL-15136 full support for all plugins in plugin_supports() - fixed incorrect inline docs 2010-07-03 19:06:50 +00:00
Petr Skoda 190b387294 MDL-15136 full support for all plugins in plugin_supports() 2010-07-03 19:05:08 +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
Martin Dougiamas 5e044efd52 MDL-23037 Make current_language more robust in case xxx_utf8 names slip in 2010-07-01 04:31:40 +00:00
Sam Hemelryk 2b722f8707 javascript MDL-22920 Added functionality to allow inclusion of Moodle-YUI JS modules easily 2010-07-01 02:26:21 +00:00
Andrew Davis 9356de8111 message MDL-22320 Corrected a not quite right method description 2010-06-30 06:35:47 +00:00
Andrew Davis 3788900dbd message MDL-22320 assorted message notification improvements 2010-06-30 03:29:02 +00:00
Andrew Davis 02f2c7bda1 messaging MDL-22320 replaced the old popup index.php with the new non-popup index.php 2010-06-29 07:27:24 +00:00
Andrew Davis 9bd0affb30 messaging MDL-22320 switched messaging over to using an overlay rather than a popup to notify the user of new messages 2010-06-29 07:02:28 +00:00
Andrew Davis 925efca73e messaging MDL-22320 changed message_popup_window() to work within the new plugin system 2010-06-29 03:08:27 +00:00
David Mudrak 548630c50f MDL-22052 Formally fixed string_manager API according the recent changes 2010-06-28 16:04:22 +00:00
Eloy Lafuente 1555681b08 MDL-22922 password validation - complete removal of unicode conversion 2010-06-26 15:38:16 +00:00
David Mudrak e330b3a1a9 MDL-22052 Reverted - string_exists uses caches again
I added the third parameter in the previous commit without exploring the
consequences. Now I see that string_exists is called too many often and
it must not rebuild caches again and again.
2010-06-25 13:43:50 +00:00
David Mudrak 477912aec1 MDL-22052 Improved get_string caching - dirty on-disk cache detection
If the string is not found, core_string_manager tries to re-fetch master
sources. This prevents false debugging messages in case when the on-disk
cache is dirty. Thanks to Eloy, Tim and Petr for the ideas.
2010-06-25 09:40:34 +00:00