Commit graph

7236 commits

Author SHA1 Message Date
tjhunt
759adfffa9 user's role / capabiltiy report: sort the context tree. 2008-11-25 07:29:14 +00:00
dongsheng
28c5829404 cURL LIB/MDL-17382
make send raw post data possible
2008-11-25 04:55:31 +00:00
moodler
469337539f get_user_preferences() Fixed regression so that it returns single value when required 2008-11-25 02:30:27 +00:00
sam_marshall
cbb17d54a8 MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:21:30 +00:00
sam_marshall
0953a4e7bc MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:09:55 +00:00
skodak
d55132a769 MDL-17378 DML: fixed pg < 8.3 regression - found by sam, thanks 2008-11-24 11:58:59 +00:00
skodak
7fdcb77942 MDL-17377 DML: prefixless database regression in new native drivers 2008-11-24 09:31:43 +00:00
skodak
e6b854a01c MDL-17374 DML: improved BC in pg driver 2008-11-24 07:38:07 +00:00
tjhunt
e86ecf1f04 Fix typo. 2008-11-24 07:27:11 +00:00
moodler
4bfa414f63 Emoticons MDLSITE-564 Patch to avoid [[brackets]] around alt text 2008-11-24 01:05:55 +00:00
tjhunt
941e427680 unittests: MDL-17367 Fix regressions caused when admin/report/simpletest was renamed to unittest. Why was this done anyway? Some explanation in MDL-17001 might be nice. 2008-11-23 11:39:41 +00:00
skodak
082ae8215e MDL-15837 more dml unit tests 2008-11-22 19:32:16 +00:00
skodak
6ff835b79e MDL-15837 improved dml unit testing 2008-11-22 16:48:34 +00:00
skodak
ce1526061c MDL-17317 DML: more exceptions - now in connect too 2008-11-22 01:16:52 +00:00
skodak
758ba89a63 MDL-17347 reintroduced duplicate tests in get_records_sql() 2008-11-21 22:35:21 +00:00
skodak
be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak
3eae57b74e MDL-17353 native drivers are now default instead of obsoleted adodb drivers 2008-11-21 20:42:28 +00:00
skodak
22d77567a9 MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon 2008-11-21 20:09:13 +00:00
tjhunt
490740d6cb role assign: MDL-17323 Show users from parent contexts ... Refine group labels. 2008-11-21 06:19:52 +00:00
tjhunt
698ae7eb24 role assign: MDL-17323 Show users with the role in a parent context as disabled opitons in the existing users box 2008-11-21 05:46:45 +00:00
stronk7
caec4b6f4e MDL-17331 choose_from_menu(): 'select' selector added always. 2008-11-20 19:04:23 +00:00
nicolasconnault
bf8a832252 MDL-17218 Copied the image where the css expects it to be. Merging from MOODLE_19_STABLE 2008-11-20 14:37:55 +00:00
stronk7
6fba0b5cc7 MDL-17331 choose_from_menu(): Add 'select' selector too. 2008-11-20 13:28:25 +00:00
stronk7
d7074a5d0e MDL-17331 choose_from_menu(): Add "class" optional parameter. 2008-11-20 13:25:04 +00:00
tjhunt
bed9cec80b define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.
* Move the show/hide advanced button a bit down the page.
* Improve save button caption when creating a role.
* Don't show defaults on the basic define roles screen.
* Explain the background shading on the advanced roels screen.
* Fix the problem with the risks link to Moodle docs.
* Help icon by the permissions column heading.
* Tables with rotated <th>s, make them vertical-align: bottom.
* Rename explain.php and explainhascapability.php to check.php and explain.php
* Tool tips on the number headers in the explain table.
* Explain table - role names were missing.
* Allow link_to_popup_window to work with full URLs.
2008-11-20 09:57:20 +00:00
tjhunt
fa583f5f6e quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.

The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.

Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.

There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.
2008-11-20 06:59:11 +00:00
skodak
3e51b51d05 MDL-17317 lets make Netbeans happy, it is not clever enough to detect undefined vars properly ;-) 2008-11-19 23:20:46 +00:00
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00
skodak
9710752d03 MDL-16698 formslib editor element: tweaked maxfiles option 2008-11-19 20:32:18 +00:00
skodak
241431cdcc MDL-16596 areafiles element renamed to "filemanager" 2008-11-19 20:27:18 +00:00
skodak
4664b66c73 MDL-16596 areafiles improvements 2008-11-19 20:24:44 +00:00
skodak
57a7e643c0 MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet 2008-11-19 20:23:29 +00:00
skodak
ac0250434e MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet 2008-11-19 20:21:27 +00:00
skodak
cefe1408a2 MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet 2008-11-19 20:02:02 +00:00
skodak
0ecff22d84 MDL-17267 fixed regression caused by my last commit 2008-11-19 14:43:38 +00:00
tjhunt
692103a2a5 Let any table have rotated text in its headers. Stolen from sam's activity completion report. 2008-11-18 10:17:27 +00:00
skodak
26c46d0ed6 MDL-17267 roles, install: fixed allow role assign table duplicates problem during install - see tracker for more details 2008-11-18 09:56:59 +00:00
tjhunt
716dd16327 install / accesslib: Fix install problem 2008-11-18 09:28:05 +00:00
tjhunt
4659454ac6 manage roles: MDL-8313 fix bugs with safe overrides. 2008-11-18 08:08:18 +00:00
tjhunt
40c792c3d1 roles database: MDL-17253 add unique index to role.name and role.shortname
We were trying to enforce it in PHP, but much better to have the database watching our back.
2008-11-18 07:41:28 +00:00
tjhunt
c51c43a092 xmldb: MDL-17262 warnings and fatal error when trying to create a unique key or index. 2008-11-18 07:29:45 +00:00
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
tjhunt
34a36b2e85 Improve error message. 2008-11-18 04:22:57 +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
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
e8155bc338 Fix typo. 2008-11-12 10:12:33 +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
2e3adc25b2 moodlelib: MDL-17208 user preference caching was causing a notice. 2008-11-12 01:26:49 +00:00