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
Andrew Nicols
408eb5e0d9
MDL-66399 editor: Only set h5p settings if user can deploy
2019-11-05 14:19:08 +08:00
Adrian Greeve
f025022d62
Merge branch 'MDL-66679-master' of https://github.com/sammarshallou/moodle
2019-11-04 19:21:42 +08:00
Andrew Nicols
760a745afc
Merge branch 'MDL-66399-master-6' of git://github.com/bmbrands/moodle
2019-11-01 10:45:22 +08:00
Bas Brands
59e87e6274
MDL-66399 atto_h5p: allow h5p file uploads in atto
2019-10-31 10:58:37 +01:00
sam marshall
225eb7b27e
MDL-66679 Forms: Submit button remains disabled after file download
...
When you download a file directly from a Moodle form submit button,
the submit button disables when you click it, but you remain on that
page so we need to re-enable the button.
This commit causes it to re-enable once the file download finishes,
setting a temporary cookie to indicate this to the JavaScript code.
It also adds a method to disable the system on a given form by
setting data-double-submit-protection="off".
2019-10-30 16:36:28 +00:00
Mathew May
072ee7f750
MDL-66074 core_form: Foce point value to always be 100
2019-10-30 13:03:59 +08:00
Andrew Nicols
92b229c5f4
MDL-66079 mod_forum: Add forum grade support
...
Part of MDL-66074
2019-10-30 10:23:40 +08:00
Jun Pataleta
9f1af3771d
Merge branch 'MDL-66543-master' of git://github.com/tobiasreischmann/moodle
2019-10-24 23:08:43 +08:00
Tobias Reischmann
556c4f3309
MDL-66543 forms: Make (hard) frozen textareas readonly (or disabled)
2019-10-24 13:44:15 +02:00
Adrian Greeve
3a8b78b19f
Merge branch 'MDL-63125' of https://github.com/paulholden/moodle
2019-10-23 11:00:40 +08:00
Paul Holden
d25223a5c4
MDL-63125 forms: Behat test for form autocomplete element.
2019-10-21 23:24:30 +01:00
Jake Dallimore
7591d8c498
Merge branch 'MDL-66020-master' of git://github.com/marinaglancy/moodle
2019-10-16 08:37:07 +08:00
Marina Glancy
57876874c3
MDL-66020 core_form: add date selector js only when rendered
2019-10-01 12:20:24 +02:00
Tim Hunt
36f90f3ef0
MDL-66750 formslib selects: handle size attribute properly
2019-09-23 12:14:11 +01:00