Commit graph

9541 commits

Author SHA1 Message Date
piers
30fc6e2dac MDL-16810 - Allow site configuration of scorm settings. Thanks Jason Hardin. 2008-11-11 02:46:20 +00:00
tjhunt
deb39f4382 user selector: MDL-16966 Nicer messages when there are too many users to show.
Also, improved the comment that explains to subclassers what they have to do, and fixed get_selected_users, so if the number of selected users is greater than the max number of users to show, it still works.
2008-11-11 02:26:03 +00:00
pichetp
665e82f8f8 MDL-14763 new lang strings and MDL-17134 2008-11-10 19:47:49 +00:00
pichetp
d7d8d7e962 MDL-14763 new help file 2008-11-10 19:42:05 +00:00
jamiesensei
746860479f MDL-17188 "effective question weight equation cannot cope with negative covariance of question grades" excluding such questions from equation 2008-11-10 11:56:37 +00:00
danmarsden
edf13ee87a scorm: MDL-16185 display warning when zlib_compression on - causes errors with certain browsers. 2008-11-10 07:43:24 +00:00
dongsheng
35f0660ab4 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses, merged and modified from 1.9" 2008-11-10 03:06:27 +00:00
stronk7
80ddc208b7 MDL-17171 Glossary: Correct breadcrumb when exporting glossary. Merged from 19_STABLE 2008-11-09 22:57:59 +00:00
pichetp
f2a0ff59f8 improving text 2008-11-08 00:58:21 +00:00
ikawhero
35a261eb6d MDL-17151: Missing code to check for uniqueness of values.
Merged from MOODLE_19_STABLE
2008-11-07 05:57:24 +00:00
sam_marshall
cb45180991 MDL-17153: Completion system - minor text change for accessibility 2008-11-06 17:19:00 +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
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
5db2027e7b Fix alphabetical order among the cannot... strings, and fix one typo. 2008-11-05 03:55:44 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +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
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
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
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
mudrd8mz
f9a064f9f5 MDL-17094 Automatic language update can be disabled via $CFG->skiplangupgrade settings. Merged from MOODLE_19_STABLE 2008-11-01 19:35:43 +00:00
nicolasconnault
0d4231f0e3 MDL-16341 Finished flickr plugin 2008-10-31 09:14:06 +00:00
tjhunt
bd1884fe6b ajax: MDL-17084 provide a way for JavaScript to update user preferences. 2008-10-31 08:25:19 +00:00
jamiesensei
b7e23c0b6a MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report" putting quiz_regrade.php back into HEAD since lang files from HEAD are downloaded to use on older versions of Moodle, should not delete obsolete lang files. 2008-10-31 04:52:29 +00:00
jamiesensei
ec4d0bb12e MDL-15736 "deleting regrade report. Regrade functionality is now part of overview report" seems I forgot to delete this language file earlier. 2008-10-30 12:31:11 +00:00
tjhunt
6cab02ac52 user selection: MDL-16993 Convert the assign roles page to use the new components.
At the same time, I took the opportunity to try to work on some of the usability issues on this page. Note that I have not quite finished! So don't comment until tomorrow.

In the course of doing this, I also did: half of

MDL-11529 Show the number of assignees of each role in the change role dropdown on this page.
MDL-17067 Make it clear in the UI that admins are not allowed to unassign themselves.
2008-10-30 10:49:15 +00:00
tjhunt
96f1a7a265 roles admin: Improve the usability of the assign roles interface - this is the first half of the work. Part of MDL-16993.
To do this, I found a way to clean up the method signatures of a couple of accesslib methods, so I did, hence the fact that this seems to touch some unrelated files.

Also, there is a nice new method in accesslib get_context_url, which gives you the natural URL for a context, so the course view page, or the user profile, etc.
2008-10-30 06:26:18 +00:00
tjhunt
c644cdb658 user selection: MDL-16966 Improve some of the wording - forgot to commit the lang strings when I did the other bits. 2008-10-30 06:21:38 +00:00
jerome
c4f2cf4a20 MDL-15352: check that the peer has been setup 2008-10-30 04:24:46 +00:00
jerome
d8a560c64e MDL-15352: add warning message when no peer are set 2008-10-30 02:54:11 +00:00
tjhunt
9787301687 user selection: MDL-16994 Improve the user selector used on the assign roles and group memebers pages - Convert the group memebership page. 2008-10-29 08:18:24 +00:00
tjhunt
26b773ec53 user selection: MDL-17054 Improve the user selector used on the assign roles and group memebers pages - fire an event when the selection becomes empty/not-empty. 2008-10-29 04:40:34 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
tjhunt
d56f9e659d user selection: MDL-16996 Improve the user selector used on the assign roles and group memebers pages - Write the JavaScript to do the Ajax requests and update the list of users. 2008-10-28 06:51:36 +00:00
tjhunt
b61d8ee50d roles interface: MDL-16965 make a view that explains the has_capability calculation for a given capability in a given context for a given user - I forgot to check in the language strings before. 2008-10-28 06:49:58 +00:00
tjhunt
5e8d809bd4 xmldb checks: MDL-16975 refactor the various checks to eliminate duplicated code - I forgot to check in the language strings before. 2008-10-28 06:48:16 +00:00
jerome
970b69c3ab MDL-15352: check that the user exists on the remote server and that is allowed to access the file he's requesting 2008-10-28 04:03:12 +00:00
fmarier
6a77823cb6 MDL-17037 Lossless optimization of all PNG and JPEG images 2008-10-28 01:50:10 +00:00
skodak
935956b8c2 MDL-17020 dml: native pgsql driver - $ bound syntax fully implemented, we do not need string for exception anymore 2008-10-27 12:00:04 +00:00
tjhunt
64d2d01cfe user selection: MDL-16992 Improve the user selector used on the assign roles and group memebers pages - Create a base class. 2008-10-27 07:40:57 +00:00
jerome
a1c9c2bdc3 MDL-15352: add error management to mnet communication 2008-10-27 05:12:32 +00:00
dongsheng
3e0794ed04 "MDL-17014, check soap extension before create alfresco plugin" 2008-10-27 02:57:29 +00:00
tjhunt
6cfa5ec17d qtype match: MDL-16450 Change validation so it is possible to create matching questions with two stems and three answers.
Thanks to Oleg Sychev for implementing this.
2008-10-27 02:33:34 +00:00
skodak
2aeb3bcbdb MDL-14679 dml/native_mysqli adding lang strings 2008-10-25 18:37:59 +00:00
nicolasconnault
a55d94d4ac MDL-16341 Almost finished portfolio flickr plugin. Modified phpflickr->request method so it can upload files, but having permission issue (only read) 2008-10-25 13:35:20 +00:00
sam_marshall
35da0e8768 MDL-17003: Completion progress report needs paging system as large reports can kill browser 2008-10-24 16:20:37 +00:00
sam_marshall
f6eece19f7 MDL-16756: Groups bugfixes and multiple select support for deletion 2008-10-24 13:31:49 +00:00
tjhunt
99cd2f77bb user selection: MDL-16991 Improve the user selector used on the assign roles and group memebers pages - Create admin setting 2008-10-24 06:41:50 +00:00
jerome
46c8e3b0d6 MDL-15352: trivial change, add a clear error message when can't retirve listing 2008-10-24 05:36:59 +00:00
jerome
ef378cdcf4 MDL-15352: doesn't use anymore mnet system function, implemeted new mnet function, remote moodle service will appear into the peer service 2008-10-23 08:14:23 +00:00