Commit graph

446 commits

Author SHA1 Message Date
Shamim Rezaie
ffa329986c MDL-66293 javascript: Added support to set bar size for paging bars 2019-09-12 14:23:56 +10:00
Adrian Greeve
d9ae0fdd96 Merge branch 'MDL-65604-master' of git://github.com/andrewnicols/moodle 2019-08-19 16:26:34 +08:00
Andrew Nicols
f75cb25c86 MDL-65604 repository: Kill off missing param errors
The file picker template included an img with a src of "#". When the
template was loaded into the modal, the browser fetches the img src, but
it's immediately removed as that section is only used as an in-place
template. The src tag does not need to be present.
2019-08-11 14:51:18 +08:00
Sara Arjona
ab1fa2dbac Merge branch 'MDL-63198-master' of git://github.com/rezaies/moodle 2019-08-07 11:07:50 +08:00
Sara Arjona
600d8df255 Merge branch 'MDL-60636-master' of git://github.com/bmbrands/moodle 2019-08-07 10:00:44 +08:00
Andrew Nicols
c79835aef9 Merge branch 'MDL-64953' of https://github.com/Chocolate-lightning/moodle 2019-08-06 13:20:54 +08:00
Mathew May
28cbff4a2d MDL-64953 templates: Add example contexts & documentation
This is a follow up from CiBot warnings from MDL-58428
2019-08-06 10:56:16 +08:00
Shamim Rezaie
e75bf41538 MDL-63198 forms: click on scrollbar should not close the suggestions box 2019-08-05 13:13:45 +10:00
Eloy Lafuente (stronk7)
b119595510 Merge branch 'MDL-50472' of git://github.com/Chocolate-lightning/moodle 2019-08-01 00:27:31 +02:00
Mathew May
c5d1c2dcf8 MDL-50472 auth: Add maintenance message to the login page. 2019-07-29 10:45:28 +08:00
Tom Dickman
c0add7c713 MDL-64860 block_myoverview: added additional pagination options
Added additional pagination options based on the amount of courses the user is enrolled in.
This will allow the user to display all courses on one page if they wish, and scale based on their total
courses up to pages of 96 courses, now defaults to `All` if they have less than 12 courses and hides the
dropdown menu as there is only one choice.
2019-07-29 09:12:07 +10:00
Bas Brands
b101ce581e MDL-60636 themes: form autocomplete chevron down on mobile 2019-07-17 12:28:13 +02:00
Jun Pataleta
05b25140d0 MDL-65928 core: Use 'starts with' for non-exact toggle group matching
* Use the 'starts with' selector when matching toggle groups by name in
  non-exact mode to avoid potential conflicts with other toggle groups.
* Note down the required data attributes for JS in the template
  documentations.
* Add a note of this output component in upgrade.txt.
* Add doc blocks for the core/checkbox-toggleall attributes and methods.
2019-07-12 16:33:29 +08:00
Jun Pataleta
2abd969cc5 MDL-65928 core: Split toggle-all elements into separate templates
For cleaner templates, split checkbox toggle-all elements into three
templates:
* master checkbox (master control rendered as a checkbox)
* master button (master control rendered as a button)
* slave checkbox
2019-07-12 14:36:35 +08:00
Jun Pataleta
5943fc3f95 MDL-65928 core: Render master element as button too 2019-07-12 14:36:35 +08:00
Jun Pataleta
6259a9d065 MDL-65928 core: Create a checkbox_toggleall renderable 2019-07-12 14:36:35 +08:00
Luca Bösch
242dad037f MDL-65901 forum: Style advanced search form properly. 2019-06-27 22:00:05 +02:00
Adrian Greeve
6ab4df423d Merge branch 'MDL-58315_master_boost_block_classes' of https://github.com/zpottie/moodle 2019-05-09 11:32:19 +08:00
Luca Bösch
133c0342b3 MDL-65387 dataformats: Table download formats choose pulldown style. 2019-05-08 20:27:27 +02:00
zpottie
7a02f020c3 MDL-58315 core: Add support for custom block classes 2019-05-03 16:12:29 +12:00
Luca Bösch
78d9ec8890 MDL-65273 roles: Roles permissions buttons styles. 2019-05-01 09:30:10 +02:00
Matt Porritt
2cd901a4e7 MDL-28505 Backup: Asynchronous backup and restore
This patch adds asynchronous backup and restore functionality
to Moodle. This is an optional feature and is not enabled by
default. It can be enabled by site administrators.
Asynchronous backup and restores are actioned by the Moodle
adhoc task API. The progress of backup and restores is
displayedin the Moodle UI.  Users can also be sent a message
when a backup or restore operation completes via the
Moodle messaging API.
2019-04-09 00:15:42 +00:00
Sara Arjona
86c3df962f Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle 2019-04-03 19:30:28 +02:00
Mathew May
5db1ce5331 MDL-64506 templates: BS2 pull-x -> BS4 float-x 2019-04-03 19:47:13 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Mathew May
3f2c68f119 MDL-64506 templates: Move BS2 labels to BS4 badges 2019-04-03 19:34:20 +08:00
Mathew May
a5a6df54cc MDL-64506 theme: Update BSB references and upgrade texts 2019-04-03 19:34:20 +08:00
Jake Dallimore
849d2e5dad Merge branch 'MDL-63569-email-header-master' of https://github.com/pauldamiani/moodle 2019-04-03 09:43:51 +08:00
Paul Damiani
9ffbb78668 MDL-63569 email: New setting to prefix the subject of outgoing emails 2019-04-02 11:02:03 +11:00
Damyon Wiese
647fd16ec9 MDL-65144 output: Add img-fluid to logo
Extra wide logos do not scale to the screen size - this change adds the bootstrap class
img-fluid to logos on the loginpage, signupform and in the context header.

Thanks to Maksud R for working on this.
2019-04-01 15:49:29 +08:00
Eloy Lafuente (stronk7)
f3038b04c6 Merge branch 'MDL-65081-master' of git://github.com/junpataleta/moodle 2019-03-26 22:38:06 +01:00
Jun Pataleta
5f30600f43 MDL-65081 core_output: Set single_select and url_select attributes 2019-03-22 11:12:21 +08:00
Ryan Wyllie
f30f46db39 MDL-64820 forum: fix up issues from review 2019-03-22 09:31:21 +08:00
Mihail Geshoski
54d38a7347 MDL-64820 forum: convert view.php to new rendering 2019-03-22 09:31:21 +08:00
Jun Pataleta
ba77f20bd0 Merge branch 'MDL-62143-master' of git://github.com/damyon/moodle 2019-03-05 09:44:59 +08:00
Mathew May
a48ff0dcf6 MDL-58428 theme: Add templates to Course 2019-02-26 12:56:14 +01:00
Mathew May
b13a453d25 MDL-58428 theme: Move templates from lib 2019-02-26 12:56:14 +01:00
David Monllaó
7677a86cc0 Merge branch 'MDL-64570-master' of git://github.com/damyon/moodle 2019-02-19 06:45:21 +01:00
Luca Bösch
9cdda19851 MDL-64606 templates: Show & instead of & in url-select. 2019-02-08 13:24:25 +01:00
Eloy Lafuente (stronk7)
fc414a2577 Merge branch 'MDL-62680-master' of git://github.com/damyon/moodle 2019-02-07 10:23:39 +01:00
Damyon Wiese
ef96eb02fb MDL-62680 output: Only hide icons with no label
For accessibility we don't want to read an icon with a label immediately next to the label,
but in this case it's clearer for the icon to have no alt text / title for both
screen readers and non-screen readers. Worse is not reading important information just
because it's displayed as an icon.
2019-02-07 10:08:19 +08:00
Sara Arjona
479c681443 MDL-62514 form: Add missing data-tags attribute
The data-tags=1 attribute was missing for the autocomplete forms
without suggestions.
2019-01-31 13:50:00 +01:00
Eloy Lafuente (stronk7)
0c715afea2 Merge branch 'MDL-62514-master' of git://github.com/andrewnicols/moodle 2019-01-30 22:58:13 +01:00
Andrew Nicols
e994dea0b3 MDL-62514 behat: Rewrite handling of autocomplete
This includes a minor restructure of the autocomplete JS to make use of
promises and improve tracking of pending JS.

In particular it improves the way in which throttled text input is
handled to ensure that the behat does not continue until:
- typing is fully complete; and
- all possible ajax requests have been sent; and
- all possible ajax requests complete; and
- the suggestions are updated.

A number of conditions existed where behat would move on to the next
step too early in a race condition effect between Behat and Autocomplete.
2019-01-30 08:24:32 +08:00
Sara Arjona
f07949c0c9 Merge branch 'MDL-61623-master' of git://github.com/damyon/moodle 2019-01-29 11:20:08 +01:00
Damyon Wiese
82e8a0ef36 MDL-61623 accessibility: Use role, not aria-role 2019-01-29 13:40:10 +08:00
Sara Arjona
28c9c6c5bf Merge branch 'MDL-54804_master' of https://github.com/mfabriczy/moodle 2019-01-28 10:20:56 +01:00
Sara Arjona
527ba1a848 MDL-64629 theme_clean: Remove underscore near the help icon 2019-01-18 14:31:53 +01:00
Damyon Wiese
65834189e9 MDL-64570 accessibility: purpose login fields
Provide the autocomplete attribute and username / current-password values to username
and password fields in login forms.

https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose.html
2019-01-14 16:16:34 +08:00
Marcus Fabriczy
e49603cb5c MDL-54804 templates: Prevent posting when no option is selected
When no value is set for an option element and a user selects it, a
POST request is made, which is incorrect. Usually that option is a
placeholder value, e.g., "Choose..." - the form expecting the end user
to choose an actual value.
2019-01-10 09:04:25 +10:30