34157 Commits

Author SHA1 Message Date
tjhunt
bbdb7070ca manage roles: MDL-8313 Provide a basic mode for the manage roles page.
* New basic define roles mode, with just an Allow checkbox for each capability.
* Button to toggle this form to/from advanced mode.
* Also, a separate mode for viewing a role definition, rather than just showing disabled checkboxes.
* Now duplicating a role just takes to you a pre-populated add role form, so you can double-check things before saving the new role.
* Deleting a role is now logged.
* Role reordering code cleaned up.
* You can now no longer delete the last role that has admin permissions.
* This includes a general refactor of manage.php, which eliminates manage.html, and splits of define.php.
2008-11-18 07:10:00 +00:00
dongsheng
111e78d610 "MDL-14651, disable ajax chat room by default" 2008-11-18 05:30:52 +00:00
dongsheng
1d5071868f MDL-14651
1. identify IRC commands
2. commiting ajax chat room, I lost my half finished source code, so I have to
start again :-(
2008-11-18 05:21:57 +00:00
tjhunt
34a36b2e85 Improve error message. 2008-11-18 04:22:57 +00:00
tjhunt
d559bdc063 Fix typo. 2008-11-18 02:49:09 +00:00
moodlerobot
324347308f Updated the HEAD build version to 20081118 2008-11-18 01:50:22 +00:00
moodlerobot
e932761282 Automatic installer.php lang files by installer_builder (20081118) 2008-11-18 01:31:06 +00:00
stronk7
32d799c683 MDL-15425 Coding style: Change some logical operator uses. Thanks Robert! Merged from 19_STABLE 2008-11-18 00:10:13 +00:00
skodak
73f27e1656 MDL-17251 foxed incorrect set_field 2008-11-17 07:55:10 +00:00
jerome
b66f4ff8b6 course default settings: MDL-12846 add help texts to all settings 2008-11-17 03:28:32 +00:00
tjhunt
10bd502467 Fix typo. 2008-11-17 02:29:45 +00:00
moodlerobot
a400f5a13b Updated the HEAD build version to 20081117 2008-11-17 02:04:12 +00:00
stronk7
b6233ed74d Bump version. 2008-11-16 23:37:47 +00:00
stronk7
2dc880c999 MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). Merged from 19_STABLE 2008-11-16 23:24:32 +00:00
stronk7
d44d02a28c MDL-17227 forum: seekey-ize forum prune (split). Merged from 19_STABLE 2008-11-16 22:46:23 +00:00
agrabs
58627682fa MDL-17249 - feedbacks on the mainsite are not accessible 2008-11-16 20:48:08 +00:00
moodlerobot
6a1d6f2e71 Updated the HEAD build version to 20081116 2008-11-16 01:48:07 +00:00
iarenaza
7045cfaa02 file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Merged from MOODLE_19_STABLE.

Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
2008-11-15 12:27:26 +00:00
moodlerobot
e07b0b6fa8 Updated the HEAD build version to 20081115 2008-11-15 01:50:00 +00:00
moodlerobot
ec3a674190 Automatic installer.php lang files by installer_builder (20081115) 2008-11-15 01:30:52 +00:00
agrabs
226ef9c018 MDL-17239 - numeric item does not support 0-values and float-values 2008-11-14 17:07:46 +00:00
agrabs
fc9e2caac6 MDL-17239 - numeric item does not support 0-values and float-values 2008-11-14 16:51:03 +00:00
agrabs
445a25dd4b MDL-17238 - Multiple Choice -- Multiple Answer problem 2008-11-14 16:45:43 +00:00
sam_marshall
cad56b17dd MDL-15648: minor bug with earlier patch 2008-11-14 13:34:39 +00:00
tjhunt
e9abdd1b84 Fix typo. 2008-11-14 11:48:29 +00:00
tjhunt
f4acee5d78 role manage ui: MDL-8313 First version of the basic/advanced role define page.
This is being separated from manage.php. This code is only partly working. It displays (most) of a role definition, but does not yet let you save changes. However, I wanted to commit it before going home on Friday night. Since this is new code, it won't break anything.
2008-11-14 11:46:01 +00:00
tjhunt
a4df1cbbe5 role manage ui: MDL-8313 Refactoring and clean-up prior to basic/adv manage page. 2008-11-14 10:38:06 +00:00
stronk7
1639731bf8 MDL-17227 forum: add sesskey to post/discussion deletion. Merged from 19_STABLE 2008-11-14 08:52:35 +00:00
tjhunt
8aee9bcc27 role override ui: MDL-8313 basic mode + toggle + usability improvements
* Basic mode just hides the prohobit column. Sadly that is all we can do.
* Button to toggle in and out of advanced mode, with user_perference.
* The permission you are selected is now on the page as a label, rather than just being in a tool-tip. (Not pretty, but helpful, I think. I may change my mind on this.)
* You can click anywhere in the table cell, rather than having to hit the radio button exactly.
* Brief instructions at the top of the page.
* Submit buttons both top and bottom of the page.
2008-11-14 05:46:27 +00:00
tjhunt
c6505f1eaa role override ui: MDL-8313 refactor the page in preparation for making an non-advanced mode. 2008-11-14 03:28:15 +00:00
tjhunt
258571150e formslib/theme: Make class="advancedbutton" styles generic, so the same styling can be used on non-formslib forms. 2008-11-14 03:27:16 +00:00
moodlerobot
7118886d6d Updated the HEAD build version to 20081114 2008-11-14 01:57:18 +00:00
moodlerobot
0aad9dff9e Automatic installer.php lang files by installer_builder (20081114) 2008-11-14 01:36:57 +00:00
nicolasconnault
7f304262ba MDL-17226 Hiding the group show/hide settings and toggle for grader report. Merging from MOODLE_19_STABLE 2008-11-13 15:44:01 +00:00
wildgirl
740366f446 lesson lang string: MDL-17209 typo fix 2008-11-13 14:59:17 +00:00
wildgirl
a0196f47ce xmldb lang string: MDL-17209 typo fix 2008-11-13 14:57:40 +00:00
wildgirl
0fbab5239f qtype_datasetdependent lang string: MDL-17209 typo fix 2008-11-13 14:56:02 +00:00
wildgirl
5514a1c341 wiki lang string: MDL-17209 typo fix 2008-11-13 14:53:43 +00:00
wildgirl
8b2a090047 install lang string: MDL-17209 typo fix 2008-11-13 14:51:36 +00:00
wildgirl
f462e204f1 auth lang string: MDL-17209 typo fix 2008-11-13 14:49:12 +00:00
wildgirl
544352701c mnet lang string: MDL-17209 typo fix 2008-11-13 14:47:24 +00:00
wildgirl
0c2a5d0a40 qtype_truefalse lang string: MDL-16942 typo fix 2008-11-13 14:24:15 +00:00
wildgirl
acd0d53e93 profilesforenrolledusersonly setting: MDL-17143 lang string rewording 2008-11-13 11:23:39 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
bef12c997a course settings: MDL-16327 when creating a course, the role renames were not saved. 2008-11-13 08:11:10 +00:00
tjhunt
1e8e46879c roles interface: Code reorganisation and adding boilerplate comments.
I have collected code that used to be in lib/adminlib.php, lib/accesslib.php and user/selector/lib.php into a new admin/roles/lib.php file.

And I added standard GPL and Moodle comments to all the files in admin/roles.
2008-11-13 04:07:01 +00:00
tjhunt
6a2e5bf3a3 Kill test file that is no longer needed. 2008-11-13 03:46:04 +00:00
tjhunt
40ab508a7e Fix variable name typo. 2008-11-13 03:06:20 +00:00
moodlerobot
91d7b57998 Updated the HEAD build version to 20081113 2008-11-13 01:53:26 +00:00
tjhunt
dc191af610 roles explanation: MDL-13538 further interface improvements. 2008-11-13 01:44:29 +00:00