Commit graph

2092 commits

Author SHA1 Message Date
Tim Hunt
990650f94c quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.
This was implemented by Matt Petro of the University of Wisconsin - Madison Engineering
School and Math Department. Many thanks. Reviewed by and committed by Tim Hunt.

This adds a new Overrides tab to the UI, with sub-tabs Group overrides and User overrides.
Each of those lists all the overrides that currently exist, and lets you manage them and
create more.

When a quiz is being attempted, the override that applies to the current user is combined
with the current quiz settings loaded from the quiz table (normally called $quiz).
If there are both user and group overrides, then just the specific user override is used (more specific).
If the user is in several groups, then the overrides are combined to give the most permissive set of options.

There is one new database table quiz_overrides, to store the overrides.
2010-03-08 16:01:38 +00:00
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Sam Hemelryk
25a102a9f2 theme-anomaly MDL-20175 Updated renderer after recent changes 2010-03-04 07:15:55 +00:00
Sam Hemelryk
46de77b6b7 navigation MDL-21543 Moved block docking icons next to the show-hide block icon 2010-02-24 08:12:17 +00:00
Sam Hemelryk
c24895978f group MDL-21533 Replaced overlib usage within Group with YUI3 equivilant JavaScript code 2010-02-24 03:57:36 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
d896fd51ba themes MDL-21589 Added a CSS rule to correct the show advanced buttons in themes the make base their parent rather than standardold 2010-02-18 09:29:39 +00:00
Sam Hemelryk
5f34a2a3d6 theme-anomaly MDL-20175 Fixed regressions after recent block changes 2010-02-18 07:48:22 +00:00
Penny Leach
b257d7c411 mnet MDL-21278 print a list of potential idps on the login page with links
this adds a new contract auth plugin method (implemented as empty in the base class)
2010-02-18 01:30:13 +00:00
Petr Skoda
c09e1a2cb7 MDL-21557 potential fix for IE CSS issues in debug mode 2010-02-08 16:50:12 +00:00
Petr Skoda
baeb20bba3 MDL-21400 thems and JS now using the same script naming convention and parameter style 2010-02-07 13:08:46 +00:00
Petr Skoda
35eafad0ec MDL-21400 fixed borked yui CSS when image contained "_" 2010-02-06 19:41:20 +00:00
Sam Hemelryk
60e1930096 theme-anomaly MDL-20175 Mega theme changes for anomaly
* Changed layout from tables to the 3 divs (2,1,3)
* Cleaned up the all of the images, remade where required with optimised palettes
* Rewrote CSS, this is ongoing process with changes required in both base and anomaly
* Customised the dock to fit with the theme
* Implemented a custom renderer to achieve rounded corners in IE + Opera (CSS otherwise)
2010-02-05 08:38:02 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
jerome mouneyrac
d40fdeba8c webservice MDL-20803 updated the css, kudo to Sam H. Javascript been fixed by other fix. 2010-01-29 05:42:18 +00:00
Petr Skoda
2d65597b6c MDL-21403 removing ->asap() used for flicker-lessremoval of go button, no use .hiddenifjs class instead 2010-01-26 09:32:21 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Martin Dougiamas
ed9421fee7 theme/standardold MDL-20790 renamed layout from module -> incourse 2010-01-18 05:58:04 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +00:00
Sam Hemelryk
9d89733132 javascript-dock MDL-21329 Several major changes to the underlying navigation and dock code
The following changes have been made in this commit:
1. Renamed the side bar thing to dock, this is consistent through all code/css now.
2. Converted everything to YUI 3 except the panel which docked items are shown in, this iwll be converted once YUI 3 overlay is no longer beta.
3 Redisigned the dock, all blocks can now make use of it, and theme code within JS can override it so they can make it look as they want.
More changes are coming
2010-01-14 05:35:23 +00:00
Moodle HQ git importer
07e1428995 Fixing drift between CVS and git - removing legacy themes 2010-01-13 11:25:15 +00:00
Petr Skoda
086c0cc135 MDL-21149 more info for theme designers 2010-01-12 17:35:10 +00:00
Petr Skoda
218671eb69 MDL-21149 more anomaly update info 2010-01-12 17:29:00 +00:00
Petr Skoda
3d38a00bc8 MDL-21149 renamed 'standard' theme to 'standardold' - this should finally make clear that new themes should not be based on legacy standard theme; all new core themes will be based on fresh new minimalistic 'base' theme, highly customised abnd experimentatl themes do not have to use base at all 2010-01-12 17:26:46 +00:00
Petr Skoda
b1f8c27b60 MDL-20785 removing all old themes from CVS because the current mix of new and old themes is extremely confusing for theme developers, sorry - if somebody needs the original code please use CVS attick or git; please note themes like customcorners (yes withouth the underscore!) and chameleon might make it back later before the beta phase 2010-01-12 17:10:42 +00:00
Petr Skoda
04c0140811 MDL-21244 added new option for footer JS from themes as requested by Urs 2010-01-05 23:22:16 +00:00
Petr Skoda
e10f304d19 MDL-21252 home-grown CSS minimisation 2010-01-05 21:45:51 +00:00
Petr Skoda
7c986f04e3 MDL-21241 theme CSS and JS gzip compression + some more fixes 2010-01-05 20:18:15 +00:00
Petr Skoda
c724f835ca MDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and finally we may load skin from the internet too 2010-01-05 17:29:43 +00:00
Petr Skoda
2574fae6ef MDL-21123 moved javascript for navigation bar - testing of themes JS and it may need to use different tricks in other themes with CSS column layouts 2010-01-04 23:51:48 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
David Mudrak
94846b2673 Preventing assignment CSS from influencing other modules
This was discovered during workshop testing. User pictures were all
displayed in size 35x35px regardless their size setting. This was caused
by mod/assignment standard theme.
2010-01-02 22:54:13 +00:00
Petr Skoda
00db2a3551 MDL-20204 just a little blue theme experiment for testing of theme development process ;-) 2009-12-29 22:11:52 +00:00
Petr Skoda
c43adfe9da MDL-20204 just a little blue theme experiment for testing of theme development process ;-) 2009-12-29 22:11:52 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Petr Skoda
b195b44339 MDL-21193 improved error messages in combo loader 2009-12-29 12:39:11 +00:00
Petr Skoda
a4738eb361 MDL-21193 improved error messages in combo loader 2009-12-29 12:38:50 +00:00
Petr Skoda
d6b64d1583 MDL-21208 THEME_DESIGNER_CACHE_LIFETIME control option added 2009-12-29 12:14:42 +00:00
Petr Skoda
7829cf7955 MDL-21208 major perf improvement for theme designer mode - now partially cached too ;-) 2009-12-29 12:04:31 +00:00
Petr Skoda
13ea159e9c MDL-21208 longer image caching in theme designer mode (performance) 2009-12-29 11:05:25 +00:00
Petr Skoda
945f19f77d MDL-21193 finally fixed YUI3 laoding - now fully cached and working - yay! 2009-12-28 23:08:55 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Petr Skoda
aa42314ded MDL-21189 yui2/3 combo loader implemented - yay! admin settings in the next commit; yui libs stored in more standard locations 2009-12-25 22:37:04 +00:00
Petr Skoda
60f2c8666a MDL-21189 custom yui image loading needed for combo yui loader 2009-12-25 19:51:40 +00:00
Petr Skoda
985d1d1d22 MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading 2009-12-25 15:27:47 +00:00
Petr Skoda
9b2735f93c MDL-21188 removing support for yui pix folders in themes because it is not compatible with autoloading in YUI3 and also loading of any YUI from external sites through combo scripts 2009-12-25 14:14:55 +00:00
Sam Hemelryk
10f7999b31 theme-anomaly MDL-20175 Removing readme.html file that is now in lang dir 2009-12-24 03:12:13 +00:00
Sam Hemelryk
cb0af31902 theme-anomaly MDL-20175 Updated anomaly theme to work with Moodle 2.0
It is still along way off finished however I will wait until the remaining theme changes are complete before fixing remaining issues.
2009-12-24 03:06:39 +00:00
Petr Skoda
73e504bca9 MDL-20799 renewed support for alternative theme dir location 2009-12-23 18:52:42 +00:00