Commit graph

9332 commits

Author SHA1 Message Date
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
Petr Skoda
76418c143b MDL-21400 fixedsloppy regression, sorry 2010-02-03 09:26:38 +00:00
Eloy Lafuente
073d380425 MDL-21407 tex filter - trim leading whitespace from latex preamble. Merged from 19_STABLE 2010-02-03 09:23:37 +00:00
Rossiani Wijaya
d3d393ab37 MDL-21226 - add 'timecreated' column to user table. During an update, the column will copy the value from 'firstaccess' column. if the account never been access, it will be set to current time of the update.
also, modified the files for signup, add new user, and upload user to initialize the value of timecreated field.
2010-02-03 04:25:20 +00:00
Andrew Davis
d90aa63419 grader report MDL-21367 when an item is unhidden its category should unhide to 2010-02-03 02:31:46 +00:00
Penny Leach
c71ade2f41 mnet MDL-21261 moving upgrade functions to lib/upgrade.php 2010-02-02 21:16:56 +00:00
Penny Leach
287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
Martin Dougiamas
ce8f4155fa admin/webservices MDL-12886 Fixed a hard-coded string 2010-02-02 02:45:32 +00:00
Penny Leach
f6852f02d6 mnet MDL-17863 increase length of portno field in the host table (so 443 works)
merged from MOODLE_19_STABLE
2010-02-01 04:19:20 +00:00
jerome mouneyrac
52dd27bfbc webservice MDL-17135 remove old webserviceuse capability. It is now controlled by protocol capabilities. Add warning to protocol capabilities. 2010-02-01 03:23:35 +00:00
Sam Hemelryk
126590b781 javascript MDL-21400 Revised CollapsibleRegion code 2010-01-29 08:30:13 +00:00
jerome mouneyrac
f54dfa54b7 webservice MDL-21466 add few comments about test client 2010-01-29 03:50:06 +00:00
Penny Leach
5b7984a57a mnet MDL-21473 add enabled flag on to remote_rpc mnet table 2010-01-29 01:38:47 +00:00