Damyon Wiese
97d2ea7f87
MDL-51970 autocomplete: Add an option to hide the suggestions
...
This is used by tags when official tags are disabled.
2015-11-02 10:21:57 +08:00
Andrew Nicols
22d0a8f11e
MDL-51966 forms: Typo correction
2015-10-30 07:56:25 +08:00
Andrew Nicols
63a03a8b05
Merge branch 'wip-MDL-51966-master' of https://github.com/marinaglancy/moodle
2015-10-30 07:31:28 +08:00
Marina Glancy
ecbc2a2f25
MDL-51966 forms: case-insensitive search in autocomplete
2015-10-29 15:10:20 +08:00
Jun Pataleta
9f555a7e77
MDL-51921 files: Fixes for file manager issues
...
Fixed the issue where the file path select box goes beyond the
container with very long folder names. Instead of setting to
"width: auto", I set it the select box's "width: 100%" so that it will
just fill up its container's width.
Fixed the issue where markups are being shown on file aliases.
2015-10-28 04:48:25 -05:00
Damyon Wiese
bb6ca6f360
MDL-51260 tags: Update the tags form element to use the autocomplete field
...
AMOS BEGIN
REM [interestslist_help,moodle] Commas are no longer required
REM [entertags,tag] Commas are no longer required
REM [othertags,tag] Commas are no longer required
AMOS END
2015-10-15 12:03:35 +08:00
Damyon Wiese
60a1ea56d9
MDL-51247 forms: All new aria-pimped autocomplete mform element.
...
Supports static list of options - or options fetched via ajax.
Has options for single,multi and tags support.
2015-10-14 16:22:44 +01:00
Jetha Chan
ec887caa4a
MDL-50685 core_form: disable hidden options, don't just hide
2015-09-11 15:08:37 +08:00
Adrian Greeve
40a154551f
MDL-48371 editors: Option for removing managefiles
...
We want to remove the managefiles button from the
editors in the wiki so that students don't delete
each others files.
2015-09-07 09:59:35 +01:00
Damyon Wiese
988592c556
MDL-51179 Atto: Extend autosave fix to cover text changes
...
Added new functions to editor api - set/get_text so the
original form text can be determined from an editor.
When calling use_editor() you should first call set_text() with
the text that will be inserted in the form element.
There is also a new scheduled task for cleaning Atto autosave drafts.
2015-09-01 12:23:00 +08:00
pau.ferrer-ocana
6d4088b7e3
MDL-49440 lib: Date picker duplicated week day names repaired
...
Thanks Marc Català for the patch
2015-07-16 12:38:59 +02:00
Martin Mastny
eaec9cfec7
MDL-49783 forms: Collapsed form section is opened on error
2015-05-07 08:57:30 +08:00
Andrew Nicols
793645a03f
Merge branch 'm29_MDL-49782' of https://github.com/totara/moodle
2015-04-21 10:43:48 +08:00
Brian Barnes
8b3a10438f
MDL-49782 general: removed uses of window.status
2015-04-08 11:49:06 +12:00
Petr Skoda
d6e7a63d9a
MDL-49684 timezones: rewrite timezone support
...
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.
The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!
Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Andrew Nicols
557f44d970
MDL-48620 JavaScript: Updated shifted files to comply with coding style
2015-01-23 14:51:24 +08:00
Dave Cooper
93023ceef4
MDL-45848 grading: Added ability to unset grades with advanced grading
...
Thanks to Mohamed Alsharaf for assistance on this patch
2015-01-13 09:19:11 +08:00
Andrew Nicols
64e7aa4de1
MDL-28286 JavaScript: Convert all uses of M.str to M.util.get_string
2014-12-01 08:32:04 +13:00
Dan Poltawski
0ca7a4b75b
Merge branch '47752-28' of git://github.com/samhemelryk/moodle
2014-10-24 11:48:16 +02:00
Frederic Massart
74d0ca1543
MDL-47739 form: Calendar widget causes unintentional focus and scroll
2014-10-20 10:55:49 +08:00
Sam Hemelryk
ed7605f481
MDL-47752 grading: fixed bugs with the modgrade element
2014-10-20 10:32:13 +13:00
Tony Butler
1e31f11852
MDL-28484 core_lib: Add function for https detection
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-10-03 13:02:29 +01:00
Tim Hunt
0d4075d514
MDL-40006 searchableselector does not work in IE or Safari.
...
This fix is a horrible hack, but one I have used for years in tool_editrolesbycap
https://github.com/moodleou/moodle-tool_editrolesbycap/blob/master/yui/capabilityformfield/capabilityformfield.js
and it seems to be reliable.
As an added bonus, I removed the use of YUI2 here.
Also, I fixed the related button in quiz to be GET not POST.
2014-09-19 21:59:34 +01:00
Marina Glancy
588ff74f11
MDL-46834 dndupload: Hide dnd message when user cant upload files
2014-09-09 10:02:25 +08:00
Marina Glancy
7b22e2ab54
MDL-46834 filepicker: dnd upload should respect the current context id
2014-09-09 10:02:24 +08:00
Marina Glancy
da45b022f2
Merge branch 'MDL-32917-master' of git://github.com/andrewnicols/moodle
2014-08-04 15:13:30 +08:00
Dan Poltawski
d3181cc8b5
Merge branch 'm28_MDL-46250' of https://github.com/totara/moodle
2014-07-14 13:12:43 +01:00
Marina Glancy
de5009f4a2
MDL-43948 forms: setting types to filemanager and editor elements
2014-07-08 10:47:29 +01:00
Brian Barnes
ef56323c7f
MDL-46250 core_filepicker: Changed headings to be heading tags instead of spans
2014-07-07 10:24:39 +12:00
Jerome Mouneyrac
5cba1029ca
MDL-32917 port YUI2 Moodle calendar into a shifted YUI3 Calendar
2014-06-23 13:50:47 +08:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Jetha Chan
c9b94fb0d4
MDL-45387 core_form: erroneous escaping on reference list
...
Fixed erroneous escaping in JS.
2014-05-07 10:52:51 +08:00
Jonathon Fowler
6b2b72d6f9
MDL-44270 files: handle drag-drop js error when event has null types
...
This can happen when the 'dragover' event fires as has been observed
in Safari. When the dataTransfer.types property of the event is null,
accessing types.length throws a JavaScript error.
2014-04-15 14:18:55 +10:00
Dan Poltawski
28c247a735
MDL-44507 filemanger: fix coding style
2014-04-09 12:10:30 +08:00
Dan Poltawski
9eeacad9b8
Merge branch 'MDL-44507_master' of https://github.com/SWiT/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2014-04-09 11:52:33 +08:00
James McQuillan
597662335d
MDL-22999 core_grades: Added ability to configure maximum grade value both globally and for each graded-activity.
2014-04-07 16:02:37 -04:00
Matt Switlik
0a4fe80bff
MDL-44507 filemanager: indicator for clicking Download All in filemanager
2014-03-26 14:34:36 -04:00
Damyon Wiese
052b8c81c6
Revert "MDL-32917 YUI2 to YUI3 Calendar port: only display the date from the matching selector and display the month/year matching the selector value"
...
There are numerous bugs with this new module to do with showing the currently selected date,
random changes in the selected dates, showing multiple selected dates and css errors.
This reverts commit 1d128663f6
.
This reverts commit 4a521e6596
.
2014-03-06 13:38:17 +08:00
Jerome Mouneyrac
1d128663f6
MDL-32917 YUI2 to YUI3 Calendar port: only display the date from the matching selector and display the month/year matching the selector value
2014-03-06 11:35:00 +08:00
Jerome Mouneyrac
4a521e6596
MDL-32917 port YUI2 Moodle calendar into a shifted YUI3 Calendar
2014-02-28 15:05:43 +08:00
Andrew Nicols
d4e438718e
MDL-43969 Forms: Adjust ARIA attributes for short forms
...
The aria-live="polite" attribute is incorrectly added to the fieldset,
causing the entire fieldset to be read out on change in some browsers. This
is unnecessary.
It also does not announce the current state of the fieldset (collaped or
open) and should.
2014-02-07 16:17:13 +08:00
Damyon Wiese
f27e462b5f
Merge branch 'MDL-43302-master' of git://github.com/andrewnicols/moodle
2014-01-14 14:23:06 +08:00
Andrew Nicols
b5154feacc
MDL-40119 Forms: Remove cursor style override for calendar button
2014-01-08 11:13:37 +01:00
Andrew Nicols
83e9f0ad71
MDL-40119 Forms: Date selector should use images for the calendar popup toggle
...
The calendar popup toggle must use an image, rather than an input with type
of image as the latter is actually a form of submit button, and hence it
steals the focus away from the real submit button.
2013-12-30 15:53:42 +08:00
Sam Hemelryk
946e770ede
Merge branch 'MDL-43243-master' of git://github.com/andrewnicols/moodle
2013-12-24 11:56:01 +13:00
Andrew Nicols
bd5b681a89
MDL-43302 JavaScript: Migrate moodle-form-passwordunmask to use Shifter
2013-12-23 16:40:28 +08:00
Sam Hemelryk
1092f63a80
Merge branch 'MDL-38775-master' of git://github.com/andrewnicols/moodle
2013-12-11 12:25:16 +13:00
Sam Hemelryk
5cc0c2c41d
Merge branch 'MDL-38776-master' of git://github.com/andrewnicols/moodle
2013-12-11 12:25:14 +13:00
Andrew Nicols
0d8907e3d8
MDL-43243 JavaScript: Deprecate show_item
2013-12-10 09:55:34 +08:00
Andrew Nicols
81cb52bb9a
MDL-38776 JavaScript: Migrate moodle-form-showadvanced to Shifter
2013-12-04 22:51:26 +08:00