543 Commits

Author SHA1 Message Date
Mark Nelson
e06bfd3df3 MDL-35924 filemanager: added label for the input field when creating a new folder 2013-01-18 15:36:25 +08:00
Dan Poltawski
0f94289c1d Merge branch 'MDL-33688_dndupload_progress' of git://github.com/davosmith/moodle
Conflicts:
	files/renderer.php
	lib/outputrenderers.php
2013-01-16 11:18:18 +08:00
Eloy Lafuente (stronk7)
06d78e8209 Merge branch 'MDL-36257-master' of git://git.luns.net.uk/moodle 2013-01-16 02:05:27 +01:00
Eloy Lafuente (stronk7)
d9b9d22fa1 Merge branch 'MDL-37173-m' of git://github.com/andrewnicols/moodle 2013-01-15 21:56:13 +01:00
Dan Poltawski
aa452f97e3 Merge branch 'MDL-29835_master' of git://github.com/pauln/moodle 2013-01-15 12:41:13 +08:00
Andrew Robert Nicols
98e1ff5f9f MDL-37173 Stop attempting to set User-Agent from core JS
This leads to some browsers throwing warnings that it is unsafe to set the
User-Agent. It doesn't help us in any way particularly either.
2013-01-08 09:55:44 +00:00
Dan Poltawski
bfb5580f92 Merge branch 'MDL-32639-master' of git://github.com/FMCorz/moodle 2013-01-08 14:46:14 +08:00
Paul Nicholls
a0dc7da9b4 MDL-29835: filemanager - zero means zero, not unlimited
The form_filemanager constructor was using empty() rather than !isset(),
so overwrote maxfiles=0 with the default (-1).  In addition, the JS UI
treated 0 as unlimited - but the non-JS fallback UI treated it as zero.
This would result in a file manager which allowed files to be
chosen/uploaded, which would then vanish into the void when the backend
saw that the maximum number of files was 0.
2013-01-08 15:12:50 +13:00
Petr Škoda
83be0dfd57 MDL-36475 tweak zIndexes once more
The expected ranges are now:
* 0-1000 for normal code
* 5000-5999 for TinyMCE
* 7000-8999 for filepicker and filemanager

This patch fixes also incorrect location of "MDL-25736 - French spellchecker fixes." modification reminder.
2012-12-15 11:46:46 +01:00
Frederic Massart
638d72cd0b MDL-32639 files: Improved File Manager download and zip support 2012-12-12 14:38:11 +08:00
Davo Smith
ead25632bf MDL-33688 filemanager - display progress bars as files uploaded
Also improved the styling of the progress bars (used in course drag and drop upload as well)
2012-11-29 11:33:40 +00:00
Dan Poltawski
8068fcb5b6 Merge branch 'MDL-35675-master' of git://github.com/FMCorz/moodle 2012-11-21 12:02:48 +08:00
Dan Poltawski
a56dc90320 Merge branch 'MDL-33766-master' of git://github.com/FMCorz/moodle
Conflicts:
	version.php
2012-11-08 18:10:26 +08:00
Dan Poltawski
e9641de10d Merge branch 'w43_MDL-35771_m24_zindex' of git://github.com/skodak/moodle 2012-11-07 11:22:26 +08:00
Frederic Massart
cded83dd3c MDL-35675 forms: Remove constrain to viewport for popup calendar 2012-11-05 16:38:45 +08:00
Didier Raboud
ef46489f38 MDL-35675 forms: Popup calendar is not constrained any more 2012-11-05 16:37:48 +08:00
Frederic Massart
68acd1157e MDL-33766 files: Improved validation of areamaxbytes 2012-11-01 16:47:06 +08:00
Frederic Massart
21e3ea77a3 MDL-33766 files: Support for userquota/size limit in draft areas 2012-11-01 16:46:42 +08:00
Ruslan Kabalin
88be30c28c MDL-36257 forms Make selectyesno output hidden substitution on freezing 2012-10-29 15:00:40 +00:00
Dan Poltawski
4de9b85c83 Merge branch 'wip-MDL-36075_MASTER' of git://github.com/jason-platts/moodle 2012-10-29 14:57:14 +08:00
Petr Škoda
e13b330d49 MDL-35771 lower the index values in file related code to prevent dragging problems in YUI 2012-10-21 14:37:10 +08:00
Jason Platts
8f38558b7a MDL-36075 Forms: Date selector in forms errors in IE7 2012-10-16 12:06:03 +01:00
Ankit Agarwal
83e9b8f9de MDL-30845 formslib: Freeze should always be with persistantfreeze set to false since Frozen text fields are now rendered as input fields 2012-10-15 14:01:46 +08:00
Ankit Agarwal
3ec55b9e0a MDL-30845 accessibility: changing the way input fields are rendered when they are not-editable 2012-10-15 14:01:46 +08:00
Dan Poltawski
957a5fa7a4 MDL-34853 tests - fix broken phpunit test 2012-08-22 10:13:52 +08:00
Eloy Lafuente (stronk7)
b6b34345ac Merge branch 'MDL-34853' of local stronk7 repo.
(originally w34_MDL-34853_m24_durationsetting @ git://github.com/skodak/moodle.git)
2012-08-22 03:41:14 +02:00
Eloy Lafuente (stronk7)
444af7c65f MDL-34853 code style fixes 2012-08-22 03:25:40 +02:00
Petr Škoda
090b173437 MDL-34853 add weeks unit to forms element duration 2012-08-22 03:00:11 +02:00
Frederic Massart
7b05e14659 MDL-28531 Unit Tests: Fixed tests to work with core update 2012-08-17 15:00:10 +08:00
Dan Poltawski
06c548c783 Merge branch 'w33_MDL-34741_m24_yui2in3' of git://github.com/skodak/moodle 2012-08-14 15:33:10 +08:00
Tim Hunt
bef9ab0ad5 MDL-34728 forms: woy for other JS to trigger disableIf update.
This was discovered while working on MDL-32705. If some JavaScript (for
example a select all/none link) changes the state of some form fields,
then the disabledIf state of other form elements does not automatically
update.

The existing form JS was so well encapsulated that this was impossible.
This change pokes a hole in the encapsulation, and provides an API
    M.form.updateFormState(formid);
that other bits of JS code can call when necessary.
2012-08-13 11:13:06 +01:00
Petr Škoda
1a59e7151a MDL-34741 use 2in3 in forms 2012-08-11 20:40:07 +02:00
Petr Škoda
6adabe48eb MDL-34741 use 2in3 in date selector form element 2012-08-11 20:40:04 +02:00
Kirill Astashov
a8d259553d MDL-34669: Fix editor filepicker context bt trying to use page context 2012-08-06 16:50:59 +08:00
Aparup Banerjee
87c12fec13 Merge branch 'MDL-34650' of git://github.com/rwijaya/moodle 2012-07-31 13:19:47 +08:00
Rossiani Wijaya
ecc5cc31ae MDL-34650 - accessibility compliance: Add <label> for form input text and select tag 2012-07-31 12:07:16 +08:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Rajesh Taneja
42b60b2755 MDl-31294 Forms Library: updated php docs pointing to addHelpButton 2012-07-25 14:18:53 +08:00
Aparup Banerjee
821fbfe4f5 Merge branch 'wip-mdl-31294' of git://github.com/rajeshtaneja/moodle 2012-07-24 16:57:58 +08:00
Rajesh Taneja
c277b502ab MDL-31294 Forms Library: Removed deprecated functions from forms library 2012-07-24 15:09:39 +08:00
Dan Poltawski
b7db7803bc Merge branch 'w30_MDL-34299_m24_html5' of git://github.com/skodak/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-07-24 14:07:26 +08:00
Dan Poltawski
5082d87c03 Merge branch 'wip-mdl-32940' of git://github.com/rajeshtaneja/moodle 2012-07-24 13:39:59 +08:00
Rajesh Taneja
61cca0b7fc MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT 2012-07-23 17:21:05 +08:00
Sam Hemelryk
a7b2d08727 Merge branch 'MDL-33560-master' of git://github.com/FMCorz/moodle 2012-07-23 12:25:31 +12:00
Petr Škoda
13725b3797 MDL-34299 remove xmlstrictheaders setting and switch to html5 doctype by default
This fixes WCAG 2.0 compliance because we were already using HTML5 markup.

The strict XML headers setting never worked for production servers, developers
used browser validators for compliance testing. XHTML 5 option is relatively
similar to this obsolete option, but still it can not be used on production servers.

XHTML Strict 1.x was a standardised dead end, HTML5 is the new de-facto-standard
supported by all major browsers including latest versions of IE.

Please note nothing changes in our coding style because HTML5 is a superset of
several previous standards, it is recommended to use only features that are
already implemented in all our supported browsers.
2012-07-21 19:23:44 +02:00
Marina Glancy
c81f332876 MDL-34221 disabledIf support for filemanager and filepicker elements 2012-07-20 10:49:30 +08:00
Davo Smith
b1c669a711 MDL-34221 Filepicker - disableIf now prevents drag and drop upload 2012-07-20 10:49:30 +08:00
Frederic Massart
6aa3aabe95 MDL-33560 Enrol: Enrol password can be unmasked 2012-07-20 09:00:39 +08:00
Rajesh Taneja
fc9ae8d164 MDL-31294 Forms Library: Removed deprecated file and format form element 2012-07-19 16:06:21 +08:00
Frederic Massart
a0658f00ca MDL-31622 Forms: Date selector supports i18n 2012-07-13 08:57:13 +08:00