Commit graph

34682 commits

Author SHA1 Message Date
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
moodlerobot
e5c3bb9f67 Automatic installer.php lang files by installer_builder (20081113) 2008-11-13 01:32:19 +00:00
sam_marshall
9bef587a84 MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:00:04 +00:00
sam_marshall
4e489ae92e MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:00:04 +00:00
tjhunt
f0016b3f44 role override: Fix regression caused by MDL-17070. 2008-11-12 14:17:23 +00:00
tjhunt
7554a120c2 XHTML strict typo. 2008-11-12 14:00:59 +00:00
tjhunt
8a8272b0f4 roles explanation: MDL-13538 Integrate into the roles tab bar, and improve wording a bit.
Also, commit the lang strings I missed last time.
2008-11-12 10:13:43 +00:00
tjhunt
e8155bc338 Fix typo. 2008-11-12 10:12:33 +00:00
tjhunt
c04d79503e Reproduce MDL-17210 in this code, until it is fixed. 2008-11-12 08:28:52 +00:00
tjhunt
a6e7237adc roles explanation: MDL-13538 Make a table showing the result of has_capability for every capabiltiy in a context.
This implements the page showing the table. It is not yet integrated into the tab bar. To try this, go to an Assign roles page (one with URL .../admin/roles/assign.php?contextid=...) and change the 'assign' to 'explain'.
2008-11-12 07:55:09 +00:00
tjhunt
ad6324b338 Minor coding clean-ups. 2008-11-12 07:43:58 +00:00
pichetp
9978c779a5 MDL-14763 remove automatic numbering of multichoice vertical or horizontal display 2008-11-12 07:28:30 +00:00
pichetp
e95d204d9a MDL-14763 remove automatic numbering of multichoice vertical or horizontal display 2008-11-12 07:02:25 +00:00
moodlerobot
562d135b14 Updated the HEAD build version to 20081112 2008-11-12 02:08:06 +00:00
dongsheng
6eaf2e376f "MDL-17143, use record_exists" 2008-11-12 01:51:28 +00:00
moodlerobot
43e8791595 Automatic installer.php lang files by installer_builder (20081112) 2008-11-12 01:46:19 +00:00
tjhunt
2e3adc25b2 moodlelib: MDL-17208 user preference caching was causing a notice. 2008-11-12 01:26:49 +00:00
piers
9b426d0380 MDL-16810 - Allow site configuration of scorm settings. Bad array subscript. 2008-11-11 23:11:39 +00:00
mjollnir_
62e7195480 MDL-16587 portfolio export formats - support straight file export not just RICHHTML (html + attachments) , it doesn't make sense in things like box.net 2008-11-11 19:54:50 +00:00
stronk7
1ab172856d MDL-17143 Bump version to force new profilesforenrolledusersonly setting ; merged from 19_STABLE 2008-11-11 19:13:41 +00:00
stronk7
1ba3293a6b MDL-17143 Some improvements suggested by Petr applied. Merged from 19_STABLE 2008-11-11 19:06:20 +00:00
mjollnir_
d9c2628b58 MDL-16861 portfolio/export make sure to zip up files including the path info 2008-11-11 18:52:10 +00:00
stronk7
9af010ea4a MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting. Merged from 19_STABLE 2008-11-11 18:39:34 +00:00
mjollnir_
c39f019849 MDL-17207 filter/tex reverting removal of $pathname in
http://cvs.moodle.org/moodle/filter/tex/texed.php?r1=1.8&r2=1.7

This fixes a security problem only triggered with register_globals ON and magic_quotes_gpc OFF which is a very uncommon case
2008-11-11 18:35:14 +00:00
jerome
c8271c87dc activities search: MDL-13987 remove AS from SQL, merged from 19 2008-11-11 07:56:55 +00:00
tjhunt
7906379c9a role assign: MDL-13325 when assigning roles inside front page activites, list all users as potential users. 2008-11-11 07:23:25 +00:00