Commit graph

35380 commits

Author SHA1 Message Date
skodak
591ffe1a6a MDL-17129 dml/ddl: improved ddl exceptions when changing db structure 2008-11-05 10:45:45 +00:00
skodak
b6f526be05 MDL-17110 snoopy: added import info 2008-11-05 09:13:38 +00:00
skodak
86ca52b21d MDL-17110 snoopy: added import info 2008-11-05 09:13:17 +00:00
tjhunt
faf75fe715 role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.
Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets

MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.
2008-11-05 08:17:30 +00:00
tjhunt
4568bf99a8 Fix misleading comment. 2008-11-05 08:10:17 +00:00
danmarsden
ac7658aa33 MDL-17071 fix misleading text - it's removing enrolments not assignments 2008-11-05 07:13:26 +00:00
tjhunt
5db2027e7b Fix alphabetical order among the cannot... strings, and fix one typo. 2008-11-05 03:55:44 +00:00
tjhunt
1acd8f50f7 user selector: MDL-16966 Work round IE bug. Also, deal with reload case.
Listen you morons in Redmond: getElementById does not mean getElementByIdOrNameOrAnythingElseRandomWeFeelLike. Oh well. I have done a work-around.
2008-11-05 02:16:07 +00:00
moodlerobot
8e922b11db Updated the HEAD build version to 20081105 2008-11-05 02:15:44 +00:00
skodak
cbc08f3bfc MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
skodak
ba98912f8c MDL-17020 pgsql: silenced php warnings 2008-11-05 00:05:41 +00:00
skodak
6e22a695d8 MDL-17129 dml: fixed dml exception handling in unit tests 2008-11-05 00:05:18 +00:00
skodak
c23b0ea11b MDL-17129 dml: implemented exceptions in new drivers, yay! 2008-11-04 23:07:14 +00:00
skodak
d8f27d7bd2 MDL-16920 mysqli: refactored driver to use new query logging 2008-11-04 22:29:18 +00:00
skodak
a6283e9127 MDL-16920 mysqli: refactored driver to use new query logging 2008-11-04 22:25:23 +00:00
skodak
d139b06701 MDL-17020 pgsql: new port dboption 2008-11-04 21:55:39 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
danmarsden
54370d105b MDL-17128 SCORM backuplib generates invalid XML - causes backup to fail. thanks to Mark Nielsen for patch. 2008-11-04 20:33:03 +00:00
stronk7
05ed3df5e0 MDLSITE-548 - langconfig: Adding thousands separator. Merged from 19_STABLE 2008-11-04 16:53:16 +00:00
stronk7
e026d8af8f MDLSITE-548 - langconfig: Adding thousands separator. 2008-11-04 16:26:08 +00:00
wildgirl
9102a38303 MDL-13702 example replaced with simpler one 2008-11-04 12:27:13 +00:00
mudrd8mz
0c49565b34 Set images base path to Moodle dirroot 2008-11-04 12:13:04 +00:00
tjhunt
2660377f72 user preferences: MDL-17123 cope correctly with multiple sessions.
This steals the logic from accesslib used to detect dirty contexts and so reload cached access data when permissions are changed.

Here, we track when user preferences are changed, so that if necessary we can trigger a reaload. This helps in two situations:
1. When you are logged into Moodle with two different browsers.
2. When someone else changes one of your preferences.
After this change, you will see the changed user pref immediately in all sessions.

This adds one cheap DB query to any page that tries to access a user preference (which is almost all of them, because of deciding whether to show the messaging pop-up). It adds a few more queries in the cases when a user preference is changed. This is in the name of correctness.
2008-11-04 10:49:31 +00:00
tjhunt
2bea836d9b user selector: MDL-16966 Minor code cleanup. 2008-11-04 10:08:37 +00:00
tjhunt
e7b7583cc3 user selection: MDL-17073 add options to control the search in a collapsible region - Fix IE layout glitch. 2008-11-04 09:14:03 +00:00
tjhunt
1ae7210784 user selector: MDL-16966 use a JavaScrip event name that works cross-browser for watching the check-boxes. 2008-11-04 09:13:41 +00:00
tjhunt
4099f71f12 user selection: MDL-17073 add options to control the search in a collapsible region - Fix JavaScript error. 2008-11-04 07:51:49 +00:00
tjhunt
09c660e407 user selection: MDL-17072 Polishing the role assign page: Do processing before print_header in line with best practice. 2008-11-04 07:26:32 +00:00
tjhunt
cf0a341faf Slight tidy up for how the JS is included and initialised. 2008-11-04 07:25:43 +00:00
tjhunt
cca4c120dd user selection: MDL-17073 add options to control the search in a collapsible region - fix the preserve-selected option. 2008-11-04 07:24:07 +00:00
tjhunt
c679952e09 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - minor layout improvements for IE. 2008-11-04 07:22:23 +00:00
jerome
74b4fa56d0 MDL-10021: display iframe when the resource is on another domain, merged from 19 2008-11-04 05:19:01 +00:00
tjhunt
904998d8f9 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
tjhunt
67c8a3e870 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
jerome
b54327f0b4 MDL-10021: fix xhtml/javascript + build_navigation(), merged from 1.9 2008-11-04 02:27:23 +00:00
moodlerobot
9dadb456f2 Updated the HEAD build version to 20081104 2008-11-04 02:02:13 +00:00
moodlerobot
b4fba9347a Automatic installer.php lang files by installer_builder (20081104) 2008-11-04 01:41:07 +00:00
skodak
23a766143d MDL-17110 snoopy: imported new version 1.2.4 2008-11-03 07:55:46 +00:00
tjhunt
c9e4326c39 user selection: MDL-17073 Clear button next to the search box 2008-11-03 06:42:41 +00:00
tjhunt
c9f8e118c9 user selection: MDL-17072 Polishing the role assign page:
* Make the role being assigned clear in the title
* Make the options in the middle of the page be in a collapsable options section, collapsed by default.
* Put them in a smaller font too.
* Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.
2008-11-03 06:06:08 +00:00
tjhunt
5f1ae48d2c weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - improve the images by giving them a transparent background. 2008-11-03 06:04:41 +00:00
tjhunt
512c5901fe weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before. 2008-11-03 05:27:10 +00:00
dongsheng
aa19998a72 "MDL-16954, use rebert\'s patch to clean notice/warning in cron job via php cli, merged from 1.9" 2008-11-03 05:25:30 +00:00
tjhunt
f2eb500238 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference. 2008-11-03 05:04:23 +00:00
tjhunt
71ef682259 user selector: MDL-16996- followup - change optgroup label escaping funciton to keep Nicolas Martignoni happy. I can's say I full understand this issue. 2008-11-03 05:03:00 +00:00
dongsheng
1e08b5cf79 "MDL-13766, support iframe repository" 2008-11-03 04:44:53 +00:00
dongsheng
18729a5138 "MDL-16341, fix parameters list" 2008-11-03 03:58:23 +00:00
dongsheng
b3e6e8047b "MDL-16341, add upload function for flickrlib" 2008-11-03 03:22:55 +00:00
moodlerobot
c1ded42472 Updated the HEAD build version to 20081103 2008-11-03 01:45:49 +00:00
skodak
c765b6b73f fixed my silly typo from db conversion 2008-11-02 21:37:41 +00:00