1604 Commits

Author SHA1 Message Date
dongsheng
e47d5adef3 "FILTER/MDL-18230, remove hardcoded style for TeX formulas image, merged from 1.9" 2009-02-16 03:10:01 +00:00
tjhunt
0b5e41fa5a themes / pix: MDL-18052 dmg.gif icon should not contain excessive colour profile information.
This reduces the files size from 3.7k to 200b.
2009-02-04 08:42:41 +00:00
tjhunt
a6ad472184 themes: MDL-10646 remove obsolete UPGRADE.txt file. 2009-02-03 08:31:14 +00:00
Francois Marier
6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +00:00
skodak
828b6d1067 MDL-18040 adding warning that the security report processing may take a long time 2009-01-27 16:21:56 +00:00
tjhunt
692d0480e0 question bank: MDL-16345 minor pritification. 2009-01-23 07:29:12 +00:00
tjhunt
b7a9dc5193 question bank: MDL-17992 and MDL-17397. Put back questiontext as a separate row option, and increase consistenscy between stand-alone qbank and the display in the quiz editing page. 2009-01-23 05:01:37 +00:00
tjhunt
e4d1d5e010 question bank: MDL-17871 finish refactor of code into one class per column.
Needs tidying up, but basically there, so checking it in.
2009-01-22 09:19:37 +00:00
pilpi
c79d9bc662 quiz editing: MDL-17977 show content of the random question -link always visible 2009-01-20 20:44:33 +00:00
pilpi
fefb7c9a33 quiz editing: MDL-17334 further space for grading box 2009-01-20 20:41:41 +00:00
moodler
f3a36b620d maintenance mode MDL-15700 Just some little tidyups of the maintenance mode page 2009-01-20 06:01:05 +00:00
dongsheng
9133d4ad58 "FILTER/MDL-17703, use classname instead of inline style, merged from 1.9" 2009-01-19 01:57:02 +00:00
sam_marshall
aab68b7931 MDL-17818: Completion icons are in wrong place with RTL languages 2009-01-15 17:48:45 +00:00
tjhunt
9f1c9dfce5 formslib / tags: MDL-17889 a new formslib field type for editing a list of tags.
Not yet used anywhere. That can wait until tomorrow.
2009-01-15 09:24:45 +00:00
tjhunt
a733c4b98b mod quiz: MDL-3156 Add an option to display the current user's photo and name on the Quiz attempt and review pages. 2009-01-07 06:32:13 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak
d942a35a26 MDL-17222 Security overview report - not finished yet, work in progress 2008-12-29 19:13:56 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
pilpi
5373887a7c quiz editing: MDL-17398 made question grading field smaller to accommodate a bigger 'save' button in some languages (finnish:Tallenna) 2008-12-17 16:11:49 +00:00
pilpi
bb7e5140e0 quiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI 2008-12-10 14:21:43 +00:00
tjhunt
e8f99abc68 quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.
Also MDL-17585 Improve layout of manual grading forms to make them look more like formslib forms. The standard trick of stealing the HTML and class names that formslib works, so the standard style rules apply to your form.
2008-12-10 09:11:30 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
77eddcd527 course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:56:54 +00:00
pilpi
923602a056 quiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI 2008-12-04 13:28:55 +00:00
tjhunt
8ed5dd63ee course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
skodak
e0f81e94a6 MDL-17465 - separate live log capability adn admin tree link 2008-11-29 16:15:40 +00:00
pilpi
81f26811da quiz editing: MDL-17460 select element is populated with user-created data, CSS it width: 100% 2008-11-28 19:50:55 +00:00
pilpi
b48b5754f8 quiz editing: MDL-17294 fixed a TODO, added the url to usability testing results 2008-11-28 16:47:21 +00:00
pilpi
3814fb96fc quiz editing: MDL-17398 link to edit random question (configuration) in new UI 2008-11-28 15:43:10 +00:00
pilpi
7b2c3bde9e quiz editing: MDL-17451 CSS and whitespace fixes to truncate overlong question category name
Tested on opera 9.27, IE6, Firefox 3 on Ubuntu Linux 8.04
2008-11-28 15:16:40 +00:00
pilpi
9cdcf82665 quiz editing: MDL-17398 cleaned up random question display in the edit subtab
made the link in an empty random question more readable, added a link to show category contents after the list of sample questions of a random question
2008-11-28 14:07:06 +00:00
tjhunt
cc2c4572b1 quiz editing: MDL-17396 Quiz tab icons broken in IE
Well, that was a stunningly creating IE layout bug, and I have no idea why this work-around works. (The margin 0 and vertical-align are the essentail bits, the other two rules just make it look nicer.)

Also tweaked the layout in Firefox to position the icons a bit more nicely.
2008-11-26 04:03:45 +00:00
tjhunt
7da3ff2ef2 Spelling. 2008-11-24 07:43:22 +00:00
tjhunt
ff493b6b24 roles / profile: MDL-14937 A the user's roles report from contrib to core. Finish. 2008-11-24 06:33:35 +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
pilpi
cafabd6341 quiz editing: MDL-17334 Fixed CSS: grading box in editing view explodes if font made smaller in Firefox 2008-11-22 17:59:16 +00:00
pilpi
78219d15c8 quiz editing: MDL-17284 converted tabs to space in CSS
my eclipse CSS editor does not seem to respect my setting here
2008-11-22 11:47:47 +00:00
pilpi
d9daa35ca9 quiz editing: MDL-17297 Got rid of editcss.js and adjusted stylesheets accordingly 2008-11-22 11:42:06 +00:00
pilpi
1cdbd5e46f quiz editing: MDL-17301 avoid inline CSS in mod/quiz/edit.php 2008-11-22 11:29:20 +00:00
pilpi
a9901a3fdf quiz editing: MDL-17336 Styles missing from styles_color.css as a result of committing to Moodle 2.0 HEAD 2008-11-20 17:31:54 +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
0c90f98788 formslib: MDL-13210 - partial - try to make validation errores less annoying.
I have made them float right, and reduced the padding on the red box, so they don't cuause the height of the form to change so much, if the error fits to the right of the form control. I realise that some people may not like this, which I why I have done this in head only for now. I will revert this if told to.
2008-11-20 08:30:35 +00:00
tjhunt
75a32d8184 general cleanup of trailing whitespace. 2008-11-20 07:03:43 +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
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
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
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
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
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