Commit graph

9494 commits

Author SHA1 Message Date
Petr Skoda
538684258a MDL-20204 new html_writer::checkbox fixed 2010-02-09 18:16:14 +00:00
Petr Skoda
14dce022db MDL-20204 new html_writer::checkbox 2010-02-09 18:04:16 +00:00
Petr Skoda
2e866010a3 fixed regression 2010-02-09 17:56:26 +00:00
Petr Skoda
a9967cf5a5 MDL-20204 new single_select + cleanup 2010-02-09 17:39:13 +00:00
Petr Skoda
8dd14645da MDL-21400 yet another IE weirdness fixed 2010-02-09 14:48:29 +00:00
Petr Skoda
885ea6df1b fixed sloppy IE regression, sorrrryyyyy 2010-02-09 13:39:37 +00:00
Sam Hemelryk
7c964cdf14 javascript-modules MDL-21400 Fixed up some recent module regressions 2010-02-09 01:38:45 +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
427649bfdf MDL-21392 it is possible to have settings without Save button 2010-02-08 16:26:15 +00:00
Andrew Davis
61541a5a46 gradebook MDL-21218 Improved the hiding/displaying of category and course totals when they contain hidden items 2010-02-08 06:27:04 +00:00
Sam Hemelryk
d2e68385d7 navigation MDL-21529 Added a close icon to docked item panels + show/hide event improvements 2010-02-08 04:09:18 +00:00
jerome mouneyrac
5a1861ee32 webservice MDL-21510 added two new DEFINE values: NULL_ALLOWED and NULL_NOT_ALLOWED 2010-02-08 03:49:52 +00:00
Sam Hemelryk
5d6957f349 outputrequirements MDL-21400 Added missing YUI2 module required by dock 2010-02-08 03:25:45 +00:00
Petr Skoda
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
Petr Skoda
4c1f394246 MDL-21400 apparently tinymce loading is not compatible with our brand new JS caching yet ;-) 2010-02-07 13:26:28 +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
0139ec3fe6 MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default) 2010-02-07 12:50:53 +00:00
Petr Skoda
2b728cb5e1 MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
Petr Skoda
87ad1edcd6 MDL-21400 JS modules now include needed strings in module description + fixed some string and icon issues in file picker 2010-02-07 09:34:19 +00:00
Petr Skoda
0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
Petr Skoda
842f291493 MDL-21400 fixed filepicker regression 2010-02-06 19:43:35 +00:00
Petr Skoda
dcd6229201 MDL-21400 fixed yui2 laoding from footer 2010-02-06 19:39:28 +00:00
Petr Skoda
dd9b1882c6 MDL-21400 fixed my own ugly mess in resizing of embedded stuff + converted to YUI3 2010-02-06 18:47:44 +00:00
Petr Skoda
20fb563e97 MDL-21400 JS confirm dialog converted to YUI3/2 2010-02-06 17:35:11 +00:00
Petr Skoda
26114d526f MDL-21400 removing some YUI2 extras 2010-02-06 15:59:29 +00:00
Petr Skoda
3244d9cc57 MDL-21400 load as few YUI2 as possible 2010-02-06 15:26:47 +00:00
Petr Skoda
41912a261f MDL-21400 converting JS set_user_preference to M namespace and YUI3 2010-02-06 15:20:24 +00:00
Petr Skoda
3b044ba347 MDL-21400 converting help tooltips to YUI3/2 2010-02-06 15:08:12 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda
781bd8aed5 MDL-21400 removed js_object_init, the new js_init_call is a new replacement which encourages our new standard coding style 2010-02-06 13:56:31 +00:00
Petr Skoda
cd9729e405 MDL-21400 ->in_head() from deprecated data_for_js(), this actually also fixes order of loading of libs+init code 2010-02-06 13:30:15 +00:00
Petr Skoda
4abd5b9b2a MDL-21400 migrated falsh detection to YUI3 2010-02-06 12:58:19 +00:00
Petr Skoda
c6f5f39ad5 MDL-21400 fixed & quoting issues 2010-02-06 12:11:34 +00:00
Tim Hunt
0b8506ec85 question state loading MDL-9327 and MDL-19114 fix loading the state of ungraded essay questions
In two situations, the correct state was not being loaded for essay questions that had
not yet been manually graded:
1. When starting a subsequent attempt in each attempt builds on last mode.
2. In the quiz reports.

This commit fixes the problem. It has one other side-effect. When viewing the individual
question grades in the overview report for an attempt that is still in progress, the
information displayed will be slightly different. This only affects adaptive mode quizzes,
and will acutally cause the report to show slighly more up-to-date information.

Interestingly, the reportlib.php change had already been made in HEAD, as part of MDL 16529
2010-02-05 16:37:01 +00:00
Petr Skoda
2169e664f2 MDL-21503 RIP global Y 2010-02-05 08:31:52 +00:00
jerome mouneyrac
aa7fbebd59 webservice MDL-17135 fix typo bug returning exception when we have good right on the context 2010-02-05 07:58:29 +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
jerome mouneyrac
e5752b7d5b webservice MDL-21511 display debug info when the exception return is invalid parameter type 2010-02-05 06:30:47 +00:00
Andrew Davis
13a3ebca7a gradebook MDL-21513 navigation dropdown in gradebook wasnt working correctly 2010-02-05 05:45:02 +00:00
jerome mouneyrac
559a5dbd1d webservice MDL-21511 add webservice_parameter_exception to indicate which external parameter is invalid 2010-02-05 04:10:36 +00:00
jerome mouneyrac
382b9ceab3 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +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
f05d219353 webservice MDL-21351 fix some wording in the overview and some links 2010-02-04 07:06:27 +00:00
Petr Skoda
db09524d89 MDL-20204 fixed HTML_ATTR_EMPTY regression 2010-02-03 17:20:01 +00:00
Petr Skoda
aa2dea707f MDL-20204 minor improvement 2010-02-03 16:49:40 +00:00
Petr Skoda
97c100999a MDL-20204 removed problematic HTML_ATTR_EMPTY, simply use null instead + removed incorrect trimming of values (yes, leading/trailing spaces are sometimes valid attribute values too!) 2010-02-03 16:27:52 +00:00
Petr Skoda
4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00
Petr Skoda
5f81eeeaca MDL-21503 fixed regression 2010-02-03 13:44:34 +00:00
Petr Skoda
384ab39a62 MDL-21503 eliminating global Y 2010-02-03 09:32:02 +00:00