1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-18 06:31:22 +01:00

683 Commits

Author SHA1 Message Date
tjhunt
91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
tjhunt
3e10e4292d quiz editing: MDL-17454 first attemtp, and MDL-18554
This is a minimal fix for MDL-18554, I have just added a cancel button and made it work.

The more substantial part of this is MDL-17454, trying to make the quiz editing screen behave appropriately when shuffle questions is on. I am sure Olli will have opinions about this and want to change it further. Rought summary:
* When shufflequestions is off, never restrict manual paging, even if questionsperpage is set.
* When shuffle questions is on:
** Always display the quiz with the defined number of questions per page.
** Remove controls to add things except at the end of the quiz.
** Disable most of the order and paging tab, but still allow the question list to be reordered, in case that helps teachers track which questions they have added.
** Still allow questions to be reordered on the edit tab, but when moving the top question on a page up, reorder with the previous question, rather than moving to the previous page.
* Change the status bar, so that the yellow highlight is reserved for alert information. The more informative stuff is now plain, and moved to under the title. To my mind that associates it more closely with the quiz name. Also it moves Total of grades and Maximum grade closer together.
* JavaScript cleaned up. I learn more about YUI every day.
* Some PHP code clean ups that I forgot to commit separately before making substantive changes.
2009-03-17 09:51:34 +00:00
tjhunt
b4a33c4ba6 formslib dates: MDL-16592 Forgot to commit these stylesheet changes. 2009-03-17 07:15:51 +00:00
pilpi
3419d39f8b quiz editing: MDL-18556 In quiz reordering tab, eye fails to group questions/pages correctly
Changed the coloring, margins and paddings slightly to enhance grouping.
2009-03-13 15:47:08 +00:00
tjhunt
8e7cebb0d8 formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
2009-03-13 09:56:53 +00:00
tjhunt
692e0c3395 MDL-18521 Countdown timer should be visible on the summary page 2009-03-11 07:10:57 +00:00
dongsheng
1b25f19692 "FILE_MANAGER, REPOSITORY/MDL-16597, remove padding in file listing" 2009-03-10 07:31:14 +00:00
tjhunt
af52eceef4 qtype admin: MDL-18425 also related to MDL-18355.
Allow question types  to be displayed in order that is better than random or alphabetical. Since we don't know all the qtypes there may be:
1. Store the order in the DB (config plugins).
2. Set up a good default order for the standard types. (Unknown types go at the end by default.)
3. Allow admins to edit the order on the qtype admin screen.
2009-03-03 07:47:32 +00:00
tjhunt
7f92f0ad39 quiz editing: MDL-18355 further refinements to the UI. 2009-03-03 05:13:53 +00:00
nicolasconnault
34f0062766 MDL-18004 Fixed problem of duplicate entries in the drop-down 2009-02-27 15:38:34 +00:00
tjhunt
944efb3e8b quiz editing: MDL-18376 Since there is no grading for description, we can show more question text. Thanks Olli. 2009-02-26 06:51:35 +00:00
tjhunt
b974f94757 quiz editing: MDL-18355 Try to improve the discoverability of Description again. 2009-02-26 06:33:18 +00:00
tjhunt
7cf3af550c quiz editing: MDL-18355 further refinements to the UI. Thanks Olli. 2009-02-26 05:53:31 +00:00
tjhunt
a781921fd0 question bank: MDL-16412 Allow admins to enable/disable of each question type 2009-02-25 09:31:49 +00:00
tjhunt
8e84d9788c quiz editing: MDL-18173 tidy up wording and add cursor: help. 2009-02-25 07:27:02 +00:00
tjhunt
cd120b2344 quiz editing / question bank: MDL-18355 Convert the add question drop-down to be a button that pops up a YUI dialogue.
That allows us to have a few sentences explanation of each question type, and is also easier to fit into a tight layout.

This commit should also fix MDL-18214 Layout screwed in Safari with long category names.
2009-02-25 07:14:03 +00:00
tjhunt
b5f2275111 upgrade: Make the environment page a bit less rediculously long. I still can't make it fit on one screen. 2009-02-23 02:59:34 +00:00
dongsheng
e47d5adef3 "FILTER/MDL-18230, remove hardcoded style for TeX formulas image, merged from 1.9" 2009-02-16 03:10:01 +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
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
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
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
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
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