Commit graph

11453 commits

Author SHA1 Message Date
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
Andrew Davis
4aebb58ded email MDL-23240 commented out the use of php's quoted_printable_encode() 2010-08-08 04:34:03 +00:00
Inaki
3e5f4b870e auth/ldap MDL-23652 Error in auth_ldap_sync_users.php
We need to specify a valid user id in the call to role_assign(). And we only
have to make the call if the user has been added successfully, not
otherwise.

Also make sure we lowercase the memberuser and group distinguished names
before comparing them. Depending on the LDAP server we can get mixed case
values for the DNs, and the user may have specified the creators group/ou
name in a different case.

By the way, this has been broken for ages (since the auth cleanup in 1.8, in
2007!). It's a bit strange nobody noticed before :-O

Credit goes to Joe Chryst.
2010-08-07 00:40:16 +00:00
Tim Hunt
633c0843b3 navigation NOBUG clone the URL passed to override_active_url
Grrr! just spent ages debugging a really subtle bugs because moodle_urls can
change, and override_active_url was keeping a reference to the caller's URL
rathern than taking a private copy.
2010-08-06 16:12:31 +00:00
jerome mouneyrac
6bb31e404e webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses 2010-08-06 15:22:27 +00:00
Aparup Banerjee
59e2121e16 theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed 2010-08-06 06:20:28 +00:00
Tim Hunt
9ffcb38e43 textlib NOBUG improve comment to autocomplete works. 2010-08-05 13:56:37 +00:00
Sam Hemelryk
d0cfbab331 NOBUG: Updating PHP docs for navigation - make_active and override_active_url 2010-08-05 08:17:27 +00:00
Sam Hemelryk
77387297f8 javascript MDL-23430 YUI moodle modules are no longer cached if CFG->cachejs is off 2010-08-05 04:05:28 +00:00
Sam Hemelryk
deaf04c7b7 NOBUG updating PHP docs for lib/navigationlib.php 2010-08-05 02:44:03 +00:00
Sam Hemelryk
cede87e05b navigation MDL-23670 Added capability and enrollment checks to course generation 2010-08-05 02:22:48 +00:00
Petr Skoda
6aa9d9527d MDL-23640 fixed borked include, my fault - credit goes to Basil Gohar 2010-08-04 19:54:12 +00:00
Petr Skoda
024a217963 MDL-23638 wrong sting concat in in spellchecker path - credit goes to Basil Gohar 2010-08-04 19:51:49 +00:00
Tim Hunt
f23f98dd63 question flags MDL-22643 Manually commenting should not reset the flag state. 2010-08-04 18:56:51 +00:00
Tim Hunt
a194c2187b weblib MDL-22664 html_to_text should not strip images, it should replace them by their alt text.
Also, an new optional argument to html_to_text to control word-wrapping.
2010-08-04 17:40:01 +00:00
Tim Hunt
ff065f96bc mod quiz + questions MDL-22370 convert JavaScript to YUI3 and modules.
Note, quiz editing JS has not been done yet.
2010-08-04 15:22:04 +00:00
Petr Skoda
d3da2ae51b fixed typos 2010-08-04 09:45:21 +00:00
Petr Skoda
3ec8f360cf MDL-23628 removed log_display upgrade leftovers 2010-08-04 09:44:25 +00:00
Sam Hemelryk
e5473854a0 form-dateselector MDL-23096 Converted the date selector to a YUI-Moodle module 2010-08-04 09:13:27 +00:00
Petr Skoda
4ee513460d MDL-23655 fixed yet another PAGE->context issue - let's make system context default PAGE->context in CLI scripts 2010-08-04 07:55:49 +00:00
Dongsheng Cai
08e7c07b04 "MDL-23606, legacy_filter should return text even courseid is null, all text in user context will be empty" 2010-08-04 07:19:58 +00:00
Dongsheng Cai
563d04175a MDL-23065, fix non js filepicker 2010-08-04 03:57:10 +00:00
Tim Hunt
44fab7fa46 NOBUG fix typo in exception message. 2010-08-03 14:32:28 +00:00
Tim Hunt
3a220db36e output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry. 2010-08-03 13:09:42 +00:00
Tim Hunt
e0a5073078 output lib NOBUG support full-screen pop-ups again. 2010-08-03 11:15:57 +00:00
Eloy Lafuente
3362dfdca5 NOMDL - edit_button() change internals to be 100% in pair with settings block urls 2010-08-03 10:56:35 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Petr Skoda
5b4a78e281 improved docs and license headers, adding direct access protection 2010-08-03 08:07:49 +00:00
Dongsheng Cai
52082e5bd8 MDL-13766, fixed repository instance name and configplugin language string 2010-08-03 07:58:59 +00:00
Andrew Davis
7bac377763 gradebook MDL-23543 made gradebook not display items with gradetype of no grade 2010-08-03 07:22:27 +00:00
Sam Hemelryk
0d6b8715cd log MDL-23604 Fixed hard coded use of CONCAT func in log_display table 2010-08-03 03:45:47 +00:00
Aaron Barnes
93b496b289 course completion: MDL-22797 Review course completion compatibility with new enrol internals
Also fixes MDL-23595
2010-08-03 00:22:33 +00:00
Aaron Barnes
fbc133e5ad course completion: MDL-22797 Review course completion compatibility with new enrol internals
Thanks to Iver Johnson for the patch

Also fixes MDL-23595
2010-08-03 00:15:55 +00:00
Petr Skoda
69816a5ce7 MDL-22547 more legacy files UI cleanup - we have to make obvious that course files are history 2010-08-02 13:33:19 +00:00
Petr Skoda
1bbdde1352 MDL-23613 fixed uses of format_string() in filebrowser 2010-08-02 13:05:49 +00:00
Dongsheng Cai
650a0c0a66 COMMENT MDL-23585 delete comments when centain contexts are being deleted 2010-08-02 07:44:45 +00:00
Dongsheng Cai
05cd3e90bf "EDITOR MDL-23596, add mp4 file support to media plugin" 2010-08-02 02:36:39 +00:00
Petr Skoda
cbc5d1328b MDL-22508 fixed deprecated wiki text formating pointing to nonexistent function 2010-08-01 10:04:18 +00:00
Petr Skoda
42776c9453 MDL-23592 adding ugly hack that copies data from intro to first post in single "simple" forum type 2010-08-01 09:42:55 +00:00
Petr Skoda
8d39cbb32b MDL-23568 PAGE->context is a pain in the ... 2010-07-31 21:34:46 +00:00
Petr Skoda
57cddf6d12 MDL-23568 PAGE->context strikes back again, fixing wrong handling of missing context too 2010-07-31 21:26:11 +00:00
Petr Skoda
e9fec42f01 MDL-23568 new unit test that verifies the id is not modified in isnert_record() methods 2010-07-31 21:13:46 +00:00
Petr Skoda
1045bec09c MDL-23568 fixed regression when using blobs 2010-07-31 21:12:02 +00:00
Petr Skoda
2d1e17c899 MDL-23568 fixed regression 2010-07-31 21:11:26 +00:00
Petr Skoda
d8fa8e406e MDL-23568 parameters of DML function insert_record are not modified any more < improved coding style, now using cast to array consistently 2010-07-31 20:51:22 +00:00
Petr Skoda
e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00
Petr Skoda
0848a19608 MDL-23502 make sure there are not multiple instances of manual enrol plugin 2010-07-31 12:20:23 +00:00
Petr Skoda
eafb7a72dc MDL-23502 manual enrol plugin is not part of course edit screen any more 2010-07-31 12:13:38 +00:00
Petr Skoda
2d4b1f3e0d MDL-23502 refactoring towards separate instance config forms 2010-07-31 09:58:36 +00:00
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00