jerome
e48580bdcc
MDL-13987: fix navigation links for Activities Administration page: check that the course list is not empty, merged from 19
2008-11-07 05:40:20 +00:00
jerome
d0b7da6966
MDL-13987: fix navigation links for Activities Administration page, merged from 19
2008-11-07 05:34:42 +00:00
tjhunt
8f52ac3708
accesslib: MDL-17159 Fix regression I caused with MDL-8312.
2008-11-07 02:51:47 +00:00
ikawhero
501ca377a1
MDL-17151: Fix typo. Merged from MOODLE_19_STABLE.
2008-11-07 02:01:19 +00:00
moodler
49f5ec4cfd
auth/cas MDL-17121 Upgraded to latest version which is LGPL
2008-11-07 02:01:10 +00:00
moodlerobot
9b576eee76
Updated the HEAD build version to 20081107
2008-11-07 01:50:25 +00:00
skodak
d21c50373a
MDL-17129 dml/ddl: improved handling of dml exception in dml
2008-11-06 18:55:54 +00:00
skodak
ba63f3775b
MDL-17130 dml: removed lambda-style functions - they might be a major scalability problem in future
2008-11-06 18:36:50 +00:00
sam_marshall
dbb8902e51
MDL-17153: Completion system - minor text change for accessibility
2008-11-06 17:29:07 +00:00
sam_marshall
cb45180991
MDL-17153: Completion system - minor text change for accessibility
2008-11-06 17:19:00 +00:00
agrabs
a627a9c17d
MDL-17008 - added a function to access the _form member
2008-11-06 16:10:04 +00:00
sam_marshall
7f346ec20c
MDL-17150: Completion system shouldn't restore data for users who have no access to course
2008-11-06 12:27:15 +00:00
tjhunt
06de498b70
accesslib: MDL-16549 Now that moodle/site:doanything is not editiable, reset the permissions to default on all roles.
2008-11-06 08:35:23 +00:00
tjhunt
01a80f51e5
role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
...
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.
Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
tjhunt
37323148d9
backup: MDL-17145 And actually copy the backup file there!
2008-11-06 07:17:34 +00:00
tjhunt
23098cd956
backup: MDL-17145 When a backup completes, send users to the backup file area
2008-11-06 06:49:33 +00:00
tjhunt
3d05fc1365
quiz results block: MDL-17137 block_quiz_results: manager links to group/overview are wrong.
...
Eloy told me exactly what to change. I don't know why he did not commit the fix himself!
2008-11-06 06:13:09 +00:00
tjhunt
9d07ec29dc
user selector: MDL-16966 Nicer handling of the situation where there are no users at all.
...
A slight improvement of a patch by Dan Poltawski.
2008-11-06 06:09:14 +00:00
tjhunt
fcaa214b6e
user selector: MDL-16966 Properly preserce the enrolment start option through page reloads.
2008-11-06 05:54:46 +00:00
tjhunt
e98c64a6e1
generator: Fix to use role_assign, rather than screwing with the role_assignments table directly.
2008-11-06 04:10:22 +00:00
fmarier
abf1c50ff6
mod/feedback: MDL-17142 Fix SQL statements incompatible with Oracle
2008-11-06 03:49:44 +00:00
moodlerobot
aa0a8b7682
Updated the HEAD build version to 20081106
2008-11-06 02:15:15 +00:00
danmarsden
f787e10536
MDL-17140 should check if $data->id isn't empty before sending to get_record
2008-11-06 01:04:40 +00:00
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