1410 Commits

Author SHA1 Message Date
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
Martin Dougiamas
af4a245f27 MDL-22922 I removed the UTF conversion of passwords ... this seems to be unnecessary in 2.0 and textlib was having some error anyway 2010-06-25 03:21:04 +00:00
Martin Dougiamas
c55ff1834d MDL-22260 Added server-side detection of iPhone/iPad and don't serve TinyMCE at all 2010-06-23 09:17:55 +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
jerome mouneyrac
94788de2a4 course publication MDL-19315 split /lib/hublib.php into admin/registration/lib.php and course/publish/lib.php 2010-06-11 03:24:09 +00:00
Petr Skoda
6b8ad965dc MDL-16919 we have to really use the username cleaning only when manually adding new accounts, any sync with external system needs the exact match without any cleaning! 2010-06-06 14:06:30 +00:00
Petr Skoda
5eae373e5b MDL-22680 fixed new password setting 2010-06-04 18:19:34 +00:00
aparup
66b250fd9d obj:idnumber undefined notice MDL-22456 fixed and committed into HEAD. 2010-05-28 01:53:09 +00:00
Sam Hemelryk
24e27ac0c1 course MDL-8369 Front page combo list is now restructured and exandable by JavaScript
This patch also implements a course renderer.
2010-05-27 01:40:11 +00:00
David Mudrak
03c7d2dc89 MDL-22015 Committing Petr's improvement of core_string_manager disk cache
Version bump needed so that the cache is cleared on upgrade. Cached
files are now valid PHP files instead of fetching them into string and
running eval(). Credit goes to skodak.
2010-05-24 14:53:34 +00:00
Petr Skoda
8f7b85ce32 MDL-22015 fixing property name, it really is disk cache, 2010-05-22 22:37:47 +00:00
Petr Skoda
3fdcc0a0df MDL-22015 moving CFG settings out from string_manager code to constructor parameters - this should help with testing in future and allows easier tweaking in advanced deployments 2010-05-22 22:31:19 +00:00
Petr Skoda
6b2ad29acb MDL-22546 more code cleanup 2010-05-22 20:02:17 +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
efb8c37573 fixed a few comment typos 2010-05-22 18:38:18 +00:00
Petr Skoda
49d957abfc MDL-22533 removing obsoleted sso infrastructure - core updated too 2010-05-20 17:20:06 +00:00
Petr Skoda
3a1055a548 MDL-22532 support for fetching of large files via temp files 2010-05-20 17:13:07 +00:00
Petr Skoda
906fb8f883 MDL-17445 course deletion cleanup and adding new event that is triggered after removing course content 2010-05-20 07:59:13 +00:00
Martin Dougiamas
765a1d4ba8 MDL-19628 getremoteaddr() now normally returns 0.0.0.0, which is good for logs and so on. It can be made to return null when that is required, by a new parameter. 2010-05-20 02:36:20 +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
adf176d711 MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation 2010-05-18 16:59:08 +00:00
Martin Dougiamas
e641b745ee MDL-22015 Added a new setting langstringcache to enable/disable the string caching. Developers will want to switch this off. :) 2010-05-17 09:26:17 +00:00
David Mudrak
f53fde9f47 MDL-22015 core_string_manager cache can be disabled by setting $CFG->disablelangdiskcache 2010-05-16 19:58:47 +00:00
David Mudrak
9b3af74c35 MDL-22015 clear string_manager caches on upgrade 2010-05-16 19:37:19 +00:00
David Mudrak
2eebde6e5f MDL-22015 core_string_manager: caching and performance logging improved
The results of merged en + en_local + parentlang + parentlang_local +
lang + lang_local are now saved into disk cache in dataroot/cache/lang/.
The number of get_string() calls, and number of mem cache and disk cache
hits are part of performance logging.
Disk cache must be removed whenever the language packs or their local
customizations are deleted. Disk cache is rebuilt automatically.
2010-05-16 11:45:33 +00:00
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Andrew Davis
842cd18bc9 rss MDL-22204 added ability for user to reset their rss token 2010-05-13 02:07:57 +00:00
Tim Hunt
14f3ad159d moodlelib MDL-19418 fix bugs introduced when converting clean_param to preg.
Aumusingly, one of the bugs was detected by a unit test that was in Moodle 1.9, but
which for some reason was not in HEAD. I have tidied up the clean_param unit tests
and added a few more.
2010-05-12 12:05:59 +00:00
Andrew Davis
ffa3bfb36f rss MDL-22204 added library functions to allow the user to get a new rss token 2010-05-12 06:48:59 +00:00
David Mudrak
7d73574c6f MDL-22406 CLI installer now switches to core_string_manager() after the lang pack has been fetched 2010-05-10 14:46:59 +00:00
Martin Dougiamas
35f7287f7f MDL-11601 Get rid of leading spaces in days 2010-05-06 06:29:02 +00:00