Commit Graph

4423 Commits

Author SHA1 Message Date
stronk7 c7a311b550 Fix small bug only reproduced in tests about changing field names and
xmldb_field object becoming modified. Novice OOP bug :-(

Merged from MODLE_18_STABLE
2007-03-15 20:02:17 +00:00
stronk7 cfed9721ad DB escaping comments. MDL-8918
Merged from MOODLE_18_STABLE
2007-03-15 19:03:07 +00:00
toyomoyo 8305aeaaa8 putting user/editprofile back 2007-03-15 08:30:36 +00:00
moodler cbdfb9291b Merged filter_string fix from MDL-8713
(Also includes some reverting of a revert that Nicolas accidentally did ;-P )
2007-03-15 06:08:46 +00:00
toyomoyo 2f5ab42bc0 merged fix for MDL-7939, teachers, editting-teachers and course creators should see hidden courses 2007-03-15 04:23:21 +00:00
nicolasconnault c3d327b4c3 MDL-8904: Used a numerical index for the navigation elements array instead of string index.
MDL-8713: Added $CFG->formatstring temporary variable
2007-03-15 04:08:40 +00:00
skodak d927621bf3 fixed missing global CFG - merged from MOODLE_18_STABLE 2007-03-14 21:56:09 +00:00
skodak 5e992f564b MDL-8867 Add setting to define role that is assigned to creators in new courses
MDL-8868 Set only minimal permissions for creator role

+ improved accesslib to handle changes of context levels in capability definitions

merged from MOODLE_18_STABLE
2007-03-14 21:42:38 +00:00
tjhunt 6cad9e6069 MDL-8772 - Use the same list of places to search in get_string and help.php. Merged from MOODLE_18_STABLE. 2007-03-14 20:15:20 +00:00
tjhunt 3eb89b9997 Notice when a student attempts a quiz, because there are no tabs to display. Merged from MOODLE_18_STABLE. 2007-03-14 15:29:46 +00:00
moodler ac26175c5c Merged wonky nav fix from stable 2007-03-14 14:55:22 +00:00
toyomoyo 4b7ae3c4da merged fix for MDL-8885, editting teacher should be able to read all messages in course 2007-03-14 01:37:07 +00:00
stronk7 2cc0796dc1 Now documental search mimics real relational search behaviour. MDL-8884
Merged from MOODLE_18_STABLE
2007-03-13 22:40:42 +00:00
skodak 531468274f MDL-5229 and MDL-6196 adding gb18030 mime header encoding; merged from MOODLE_18_STABLE 2007-03-12 08:41:28 +00:00
nicolasconnault 2ef7c374a4 MDL-8737 - Added a focus() to the generated validation JS, so that if an element fails client-side validation, the focus jumps straight to it when the submit button is clicked. This doesn't yet work with HTMLArea elements. 2007-03-12 06:43:24 +00:00
nicolasconnault facb512c06 MDL-8792 - Simply added help icon to explain the options available regarding embedding media files in the site. 2007-03-12 05:46:41 +00:00
moodler 26f329ba61 Merged argument fix from stable 2007-03-11 06:59:53 +00:00
moodler 72736a739c I've updated the timezones from the latest Olsen data MDL-8842
Should fix all the USA issues for 2007
2007-03-10 14:47:45 +00:00
stronk7 375450a4e7 Prevent some languages without word whitespace separators to use
documental searches over MySQL.

Merged from MOODLE_18_STABLE
2007-03-09 20:58:01 +00:00
skodak 854f5ef034 MDL-8834 smtp debugging can now be turned off - now independent on $CFG->debug; merged from MOODLE_18_STABLE 2007-03-09 20:16:48 +00:00
stronk7 b2964e45d9 Added the search_generate_text_SQL() function that generates
SQL clauses using documental indexes. Only MySQL for now.
Under 1.8 this isn't used officially (experimental!) but
we need it here right now (won't interfere at all). MDL-8830

Merged from MOODLE_18_STABLE
2007-03-09 18:21:06 +00:00
sam_marshall 0e9d0c0b85 Made it so you can call require_js after header printed (bug 8823) 2007-03-09 12:52:35 +00:00
moodler b7791fab19 Merged fix for MDL-8803 from 1.8 2007-03-09 05:04:53 +00:00
moodler 909409b5ef Merged fix for rss enclosure notices from 1.8 2007-03-08 08:13:11 +00:00
toyomoyo d0c5373f16 merged changing require_once to include_once to tolerate faulty mods 2007-03-08 03:32:55 +00:00
skodak 7c3dab9f86 MDL-8759 reverted previous incorrect patch with unset($USER), fixed logging function instead; solves the broken language in forum cron too; merged from MOODLE_18_STABLE 2007-03-08 01:09:00 +00:00
skodak e50916c80f MDL-6196 minor related cleanup - should not be needed to backport it; merged from MOODLE_18_STABLE 2007-03-08 00:10:49 +00:00
skodak 684663f526 MDL-6196 infinite loop in header encoding when using some site charsets (gb18030); merged from MOODLE_18_STABLE 2007-03-08 00:05:58 +00:00
moodler eef879ecdb Merged patches from MDL-8385 from 1.8 stable 2007-03-07 13:45:41 +00:00
skodak 66a27728a9 fixed unassigning to use standard function in get_legacy_type() 2007-03-07 09:38:21 +00:00
moodler 0616d3e82f Merged fixes for MDL-8785 from 1.8 to head 2007-03-07 04:56:07 +00:00
toyomoyo 3fe54e5195 merged, fixing hidden teacher upgrade 2007-03-07 01:35:47 +00:00
skodak 18ceee5c25 MDL-8777 Failing setup_lang_from_browser if lang contains dash; user lang preference not respected 2007-03-06 23:51:34 +00:00
skodak 279948083b MDL-8777 Failing setup_lang_from_browser if lang contains dash 2007-03-06 22:33:03 +00:00
skodak d67de0ca05 MDL-7633 legacy capabilities now have special menu 2007-03-06 22:01:22 +00:00
skodak b357ed13f3 MDL-8522 fixed role reset warnings + only one legacy cap type allowed now in each role 2007-03-06 19:19:19 +00:00
tjhunt 06565ec739 Add a couple more plugin types to get_string that Martin missed yesterday. 2007-03-06 07:57:22 +00:00
nicolasconnault 6d2d91d6b7 MDL-8771 - Restricted has_capability() sanity checks to DEVELOPER debug mode 2007-03-06 05:36:19 +00:00
nicolasconnault 9af052f59f Stub for a web-based integration test 2007-03-06 05:09:28 +00:00
nicolasconnault a205dcdc09 Upgraded weblib::format_string() so it accepts unicode htmlentities. Also added more unit tests, including a stub for an integration web-based test. 2007-03-06 05:05:45 +00:00
nicolasconnault dacb47c0ca MDL-8691 - Finally found the source of the error and fixed it. Add to apply s(format_string($week_summary)) on the optgroup's label. 2007-03-06 02:59:25 +00:00
skodak 60ec23afba MDL-8690 popup form now uses div instead of invisible fieldset; merged from MOODLE_18_STABLE 2007-03-05 21:42:49 +00:00
skodak 224aa44a8d MDL-7693 fixed participans block on frontpage; notloggedin and authenticated roles overrides to be fixed later in separate bug; merged from MOODLE_18_STABLE 2007-03-05 20:13:16 +00:00
skodak 346c3e2f5f MDL-8765 user preference code cleanup; merged from MOODLE_16_STABLE 2007-03-05 20:02:27 +00:00
stronk7 e4023a4c20 Normalizing encoding by using textlib synonyms - parse_charset()
Credit goes to Petr.

Merged from MOODLE_18_STABLE
2007-03-05 18:28:33 +00:00
tjhunt b030a630c0 MDL-8764 - In menus, show question categories from this course first, then published categories from other courses. Merged from MOODLE_18_STABLE. 2007-03-05 18:05:51 +00:00
moodler 6db0338e0e Merged rss mediatypes fix from 1.8 2007-03-05 16:43:40 +00:00
nfreear 0946fff44c Follow-up fix 2 for MDL-8507 "Local language pack-..." - Content-Language header. 2007-03-05 15:38:10 +00:00
moodler 191cb01663 More paths for string files 2007-03-05 12:13:36 +00:00
skodak 5eaa6aa0c5 MDL-8756 fixed weeked days defaults; merged from MOODLE_18_STABLE 2007-03-05 11:57:15 +00:00