Tim Hunt
b8459bba14
MDL-46031 output: better handling of once-per-page items
...
In several places we only want to output a certain bit of HTML (e.g. the
contents on the mod chooser) once per page.
This used to be done with a static variable in the function, which
meant the logic was once per PHP-script execution, not once-per-page.
Now there is a new bit of API in page_requirements_manager to handle
this properly.
2014-06-19 18:50:04 +01:00
Andrew Nicols
0d1d542332
MDL-45635 javascript: Make core dialogue translatable
2014-05-23 16:01:48 +08:00
Andrew Nicols
679af35722
MDL-41109 dndupload: Add missing error string
2014-05-16 13:45:30 +08:00
Damyon Wiese
f08c69aba2
Merge branch 'MDL-44214-master' of git://github.com/andrewnicols/moodle
2014-02-24 14:41:29 +08:00
Andrew Nicols
0f722cfbe5
MDL-44214 Javascript: Allow for patching of modules in the simpleyui rollup
...
The moodlesimple (former simpleyui) rollup is included by a slightly
different mechanism to the the other YUI modules and this was missed off
the original yuipatchlevel implementation.
2014-02-17 14:46:09 +08:00
Andrew Nicols
4e55f11de2
MDL-44187 JavaScript: Remove data from debug footer
2014-02-16 20:43:30 +08:00
Andrew Nicols
aea2973734
MDL-43952 Javascript: Support invalidation of browser caches for YUI patching
...
This will also force files loaded from the CDN to instead come from the
local distribution since those patches will not be included in the CDN
release.
Please see the documentation at http://docs.moodle.org/dev/YUI/Patching for
important on using these changes.
2014-02-04 09:08:53 +08:00
Dan Poltawski
899ca7632f
Merge branch 'MDL-43489-master' of git://github.com/andrewnicols/moodle
2014-01-07 13:48:49 +08:00
Damyon Wiese
3a145daba4
Merge branch 'MDL-43490-master' of git://github.com/andrewnicols/moodle
2014-01-07 12:26:01 +08:00
Andrew Nicols
5b49f8b3a8
MDL-36334 JavaScript: Enable access to the gallery
2013-12-30 19:19:26 +08:00
Andrew Nicols
193136ccd5
MDL-43490 JavaScript: Remove deprecated yui2_lib from 2.7
...
This patch removes the deprecated yui2_lib from Moodle 2.7. It was
deprecated in Moodle 2.4.
2013-12-23 15:36:47 +08:00
Andrew Nicols
2901378c36
MDL-43489 JavaScript: Remove deprecated js_gallery_module from 2.7
...
This patch removes the deprecated js_gallery_module from Moodle 2.7. It was
deprecated well before Moodle 2.0.
2013-12-23 15:27:50 +08:00
Eloy Lafuente (stronk7)
f77233dfaa
Merge branch 'MDL-43404_master' of git://github.com/dmonllao/moodle
2013-12-18 02:24:08 +01:00
David Monllao
4415b667a4
MDL-43404 behat: Form change checker disabled when running behat
2013-12-17 18:39:31 +08:00
Petr Škoda
ed67f462fe
MDL-43268 fix filter notice when not in debug mode
2013-12-13 13:57:59 +08:00
Eloy Lafuente (stronk7)
ebc77165a4
Merge branch 'MDL-42625_master' of git://github.com/dmonllao/moodle
2013-12-10 23:29:06 +01:00
Andrew Nicols
54d076a353
MDL-43104 JavaScript: Combine mcore JS into simplemoodle
...
I was wrong about why this didn't work before - this was caused by the
missing semi-colon.
Joining these scripts into a single combo-load has the benefit of further
reducing the number of HTTP transactions to load a page, and a minor
reduction on transferred size due to a reduced header count.
2013-12-09 09:05:16 +08:00
Damyon Wiese
6e2c417c1f
MDL-41030 Behat: Add support for waiting for javascript
...
This is so that phantomjs (which runs faster than selenium) can pass the tests.
2013-12-06 12:13:39 +08:00
Andrew Nicols
104d698ffd
MDL-43105 JavaScript: Use the correct versions of our rollups
2013-11-28 12:31:51 +08:00
Petr Škoda
7d26038d47
MDL-42438 load missing CSS for our simple YUI rollup
2013-10-19 21:04:26 +02:00
Petr Škoda
2cd519fb71
MDL-42152 fix broken theme->yuicssmodules support
2013-10-15 10:54:34 +08:00
Petr Škoda
d3e5f04671
MDL-42152 add more YUI rollup explanation from Andrew
2013-10-15 10:53:21 +08:00
Petr Škoda
d17f25a56e
MDL-42152 rename our rollup to start with 'yui-' to enable the stadnard regex base magic
2013-10-15 10:53:20 +08:00
Petr Škoda
2ea00a5867
MDL-42152 improve SimpleYUI docs
2013-10-15 10:53:20 +08:00
Andrew Nicols
c8b9f6d9b0
MDL-42152 Use new rollup system
2013-10-15 10:53:20 +08:00
Petr Škoda
8a47844629
MDL-42152 import YUI 3.13.0 and switch to emulated SimpleYUI
...
Includes @version@ fix
2013-10-15 10:53:08 +08:00
Dan Poltawski
c58b3ca0ca
Merge branch 'MDL-41985-master' of git://github.com/andrewnicols/moodle
2013-10-09 16:27:50 +08:00
Andrew Nicols
03e36e7077
MDL-41878 JavaScript: Add an alias for Moodle in the YUI loader
2013-10-01 10:51:40 +08:00
Andrew Nicols
fa64202a86
MDL-41985 JavaScript: Add option to filter YUI logging statements
2013-09-25 23:58:08 +01:00
Petr Škoda
aaee690b89
MDL-41208 import YUI 3.12.0 with @VERSION@ fix for simpleyui
2013-09-20 18:03:18 +02:00
Dan Poltawski
bfa4c3f358
Merge branch 'MDL-36002-master' of git://github.com/damyon/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-08-20 12:17:16 +08:00
Dan Poltawski
6f44a73369
Merge branch 'w33_MDL-39474_m26_debugdeveloper' of https://github.com/skodak/moodle
...
Conflicts:
lib/upgrade.txt
2013-08-20 11:42:03 +08:00
Damyon Wiese
bbb483b259
MDL-36002 Drag and Drop: Improvements to keyboard drag and drop
...
List of fixes:
* Add a simulated drag start event to fix problems with block drag and drop that
were expecting it.
* Add an access-hidden title for the General section in a course format. This
is used to provide the text for the drop region (better than the first activity in the section)
* Changed the text in the list to 'Move to "General"' instead of 'Move after General'. This
makes more sense for activities when you have a list of activities and sections together.
2013-08-15 16:15:32 +08:00
Damyon Wiese
dd66b6ab48
MDL-36002 core: Make drag and drop keyboard friendly (round 2)
2013-08-15 14:39:00 +08:00
Rossiani Wijaya
d8817b4a7f
MDL-41200 Filepicker: Reduce the string length to fit the dialog size nicely.
2013-08-15 10:38:58 +08:00
Rossiani Wijaya
0a5c86ddef
MDL-41200 filepicker: change header string to select.
...
Add length limitation for header, so it fits nicely in mobile devices
2013-08-15 10:28:56 +08:00
Sam Hemelryk
702d1f853e
Revert "MDL-36002 core: Make drag and drop keyboard friendly"
...
This reverts commit 7c271b9
, 313e585
, ade4695
, and 70b4027
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-08-15 13:59:06 +12:00
Sam Hemelryk
23b7f1dfcf
Merge branch 'MDL-41033' of git://github.com/rwijaya/moodle
2013-08-13 09:24:12 +12:00
Petr Škoda
96f81ea385
MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
2013-08-12 13:01:47 +02:00
Dan Poltawski
f2b45ad65f
Merge branch 'MDL-36002-master' of git://github.com/damyon/moodle
...
Conflicts:
theme/base/style/core.css
theme/bootstrapbase/style/moodle.css
2013-08-12 11:56:37 +08:00
Rossiani Wijaya
f2e4da6876
MDL-41033 Filepicker: add ARIA attributes for selecting file in a modal
2013-08-09 10:56:21 +08:00
Petr Škoda
6b32d6bc93
MDL-40995 simplify minify integration and fix all known issues
2013-08-03 17:16:17 +02:00
Damyon Wiese
7c271b918e
MDL-36002 core: Make drag and drop keyboard friendly
...
This change adds keyboard support to core drag and drop.
Selecting a grab handle and hitting enter (or space) will
open a menu of possible drop targets and allow you to choose one.
The only other UI change this implies is we need to show the grab
for blocks.
2013-07-31 16:43:25 +08:00
Sam Hemelryk
6269efd29b
Merge branch 'MDL-40806-m' of git://github.com/andrewnicols/moodle
2013-07-29 10:49:40 +12:00
Andrew Nicols
ce286101f0
MDL-40806 JavaScript: Add module metadata in JS dev modes
2013-07-21 10:41:49 +01:00
Petr Škoda
cb8108dd22
MDL-40545 convert js and theme resources to localcachedir
2013-07-20 14:10:25 +02:00
Eloy Lafuente (stronk7)
68d9f13273
Merge branch 'MDL-40477-m' of git://github.com/andrewnicols/moodle
2013-07-17 01:13:17 +02:00
Eloy Lafuente (stronk7)
0b3af0798c
Merge branch 'w29_MDL-40220_m26_core_component' of https://github.com/skodak/moodle
2013-07-17 01:07:21 +02:00
Eloy Lafuente (stronk7)
b8d73bd58e
Merge branch 'w29_MDL-40546_m26_jscache' of https://github.com/skodak/moodle
2013-07-17 00:30:13 +02:00
Petr Škoda
b0d1d941c9
MDL-40220 use new core_component::get_component_directory()
2013-07-16 22:42:37 +02:00