979 Commits

Author SHA1 Message Date
Mihail Geshoski
8cdb2fcc0e MDL-62982 core_form: Final deprecation of the htmleditor form element 2020-07-06 10:02:58 +08:00
hiendinh
de6b084925 MDL-68890 progressbar: prevent display exist file's progress bar 2020-06-15 10:55:06 +07:00
Eloy Lafuente (stronk7)
b2cc7d93f3 Merge branch 'MDL-68844-master' of https://github.com/roland04/moodle 2020-06-02 00:08:35 +02:00
Jun Pataleta
96dc92f099 Merge branch 'MDL-68353-master' of git://github.com/rezaies/moodle 2020-05-29 22:26:03 +08:00
Shamim Rezaie
9c60fd18a7 MDL-68353 form: filepicker label fix 2020-05-29 14:50:32 +10:00
Shamim Rezaie
4ceff26fdf MDL-68353 admin: Not use label tag in admin setting elements when needed 2020-05-29 14:37:05 +10:00
Shamim Rezaie
f792b0ace4 MDL-68353 form: filemanager label fix 2020-05-29 14:37:01 +10:00
Shamim Rezaie
5dad4a95ac MDL-68353 form: Only include the size attribute if there is a size set 2020-05-29 13:17:08 +10:00
Shamim Rezaie
c2e48a1d85 MDL-68353 form: Removed the size attribute
The size attribute does not work with the checkbox input type.
2020-05-29 13:17:08 +10:00
Shamim Rezaie
e2aefa3ba8 MDL-68353 core: do not output empty labels 2020-05-29 13:17:08 +10:00
Eloy Lafuente (stronk7)
6f56e743ed Merge branch 'MDL-68753-master-enfix' of git://github.com/mudrd8mz/moodle 2020-05-28 13:01:39 +02:00
Mikel Martín
22a80863d5 MDL-68844 formslib: Fix inline layout for static elements 2020-05-27 13:18:35 +02:00
David Mudrák
2615e429f4 MDL-68753 lang: Remove a redundant okay string and use "OK" everywhere
The "Ok" (with lower-case "k") string was added in MDL-68409 to keep
backwards compatibility with YUI alerts that had it hard-coded. But we
should not need to explain to translators why we have two OK strings
like this and why they use different wording.

Additionally, there would be inconsistency in Behat tests and everywhere
depending on which "OK" or "Ok" string is used for buttons.

So instead, this patch changes the hard-coded 'Ok' string in the YUI and
we should stick to "OK" from now on everywhere.
2020-05-27 09:59:44 +02:00
Bas Brands
91de0ed823 MDL-67874 theme_boost: make focus outline accessible 2020-05-26 09:54:12 +02:00
Jun Pataleta
8aa0f2c4d8 Merge branch 'MDL-45184-master' of git://github.com/junpataleta/moodle 2020-05-26 12:39:24 +08:00
Tom Dickman
4399e4759a MDL-45184 tool_licenses: Add custom licenses
This feature adds an admin tool for creating custom licenses.
Now custom licenses can be added and amended in Moodle, and the site
default can be set to a custom license.

Core licenses remain hard-coded and are uneditable, so they will always
require update within Moodle core updates, and maintain their
internationalisation through core language strings.

This also includes fundamental changes to the license API including
the addition of license caching and deprecation of no longer required
admin settings for license management.
2020-05-26 12:08:05 +10:00
Sara Arjona
968016a38d Merge branch 'MDL-68592-master' of https://github.com/kabalin/moodle 2020-05-22 17:55:23 +02:00
Andrew Nicols
29c5fafff5 MDL-66109 js: Fix Shifter linting issues 2020-05-11 11:07:49 +08:00
Sara Arjona
271d08f37b Merge branch 'MDL-68315-master' of https://github.com/kabalin/moodle 2020-05-04 10:37:17 +02:00
Ruslan Kabalin
50bf320f4d MDL-68592 formslib: Fix inline layout for nested groups 2020-05-03 21:02:30 +01:00
Andrew Nicols
8d186121ab Merge branch 'MDL-57680' of https://github.com/timhunt/moodle 2020-05-01 11:00:19 +08:00
Davo Smith
9da975fe21 MDL-43156 core_form: fix handling of fixture form
Also moving it from behat_forms to behat_navigation
2020-04-30 20:39:24 +02:00
Davo Smith
5079271b39 MDL-43156 formslib: newly-created repeat elements get the default values 2020-04-30 20:16:07 +02:00
Tim Hunt
848a29cf51 MDL-57680 form autocomplete: extend Behat tests 2020-04-26 15:11:25 +01:00
Tim Hunt
588b86fd49 MDL-57680 form autocomplete: let singleselects be cleared.
This was already working after ajax had refreshed the choices, it was just
broken on first page load.
2020-04-26 13:23:42 +01:00
Ruslan Kabalin
52a268a09d MDL-68315 formslib: Fix completion attribute in course form element.
This fixes 'onlywithcompletion' attribute in course form element.
2020-04-03 20:33:38 +01:00
Shamim Rezaie
27d4e606de MDL-68269 form: fieldset in group elements should be full width 2020-03-30 18:29:23 +11:00
Peter Dias
dacdc4a467 MDL-60817 file: Populate header only if exists 2020-03-19 15:29:36 +00:00
Jun Pataleta
b703435b2e Merge branch 'MDL-68108-master' of git://github.com/crazyserver/moodle 2020-03-18 23:01:08 +08:00
Pau Ferrer Ocaña
e6faed9bf0 MDL-68108 formslib: Add element password inline template 2020-03-18 08:45:04 +01:00
Mihail Geshoski
17ddce9676 MDL-60817 core_repository: Show a warning if file extension is modified 2020-03-13 13:17:44 +08:00
Andrew Nicols
e55d14e8d2 Merge branch 'MDL-68146' of https://github.com/stronk7/moodle 2020-03-11 11:33:25 +08:00
Eloy Lafuente (stronk7)
8aee741e24 MDL-68146 forms: remove duped help and advanced icons in checkboxes
They are exceptionally shown later, after the checkbox text already.

This is a fix for the regression introduced by MDL-63424.
2020-03-10 22:59:36 +01:00
Shamim Rezaie
acbbe930eb MDL-67968 form: not to put empty label when no label is available 2020-03-06 19:58:25 +11:00
Shamim Rezaie
8fe311a3a5 MDL-67968 form: grouped element label fix 2020-03-06 19:58:25 +11:00
Peter Dias
06dc3a6c27 MDL-33671 core: Remove custom behat selectors
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2020-03-04 13:38:49 +08:00
Peter
a216d86c6c MDL-33671 core: Add ability to download selected items
Utilise the new checkbox-toggleall functionality
2020-03-03 07:20:35 +08:00
Peter
5c567c1421 MDL-33671 core: Toggable checkboxes on filepickers 2020-03-03 07:20:35 +08:00
Peter
2f03923602 MDL-33671 core: Allow for bulk delete of files
* Enable bulk delete in a details view
* Behat tests for new functionality
* Unit test for new function
2020-03-03 07:20:35 +08:00
Eloy Lafuente (stronk7)
a8976119dc Merge branch 'MDL-46542' of https://github.com/timhunt/moodle 2020-02-05 09:32:32 +01:00
Tim Hunt
87554981f0 MDL-46542 formslib: duration field option for which units to show
Based on the original work of Itamar Tzadok.
2020-01-30 17:08:29 +00:00
Luca Bösch
ee2bcf3645 MDL-63424 form: allow checkboxes to have req icon. 2020-01-24 17:34:48 +01:00
Eloy Lafuente (stronk7)
fd25850a8d Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle 2020-01-08 16:35:39 +01:00
Andrew Nicols
f04c327222 MDL-67544 form: Ensure that form errors have a unique id 2020-01-06 15:01:08 +08:00
Eloy Lafuente (stronk7)
4621917c62 MDL-67114 core: php74 fix. Fix use of scalar as array in core
There are various places where it's not guaranteed that the
variable being used is array, and instead, can be null, bool, int...

We need to check that because php74 warns about it.

Where possible we have used the coalesce operator as
replacement for isset() ternary operations.
2020-01-03 11:33:15 +01:00
Shamim Rezaie
2bfc16ad2a MDL-67151 forms: Support for the scientific format in the float element 2019-12-03 16:52:22 +11:00
Andrew Nicols
3c150de283 MDL-67218 form: Do not clear grade when rescaling not enabled 2019-11-12 11:29:34 +08:00
Eloy Lafuente (stronk7)
ed2fb5710f Merge branch 'MDL-67048_master' of https://github.com/adpe/moodle 2019-11-08 00:45:05 +01:00
Marina Glancy
9f2c665999 MDL-67084 core_form: duration element should export arrays 2019-11-07 19:21:16 +08:00
Adrian Perez
a40cb785b0 MDL-67048 progressbar: use bootstrap component to fix invert colors 2019-11-05 22:33:27 +01:00