Commit Graph

743 Commits

Author SHA1 Message Date
Brendan Heywood 52aac97590 MDL-70583 cli: Allow progress bars to be rendered in cli scripts 2021-02-02 22:07:53 +11:00
Mikhail Golenkov 478852d08f MDL-68792 theme_boost: Do not move blocks on embedded layout. 2020-12-18 12:07:26 +11:00
Mikhail Golenkov 64891ca0c7 MDL-68792 theme_boost: Show the fake blocks on embedded layout. 2020-12-18 12:07:26 +11:00
Tim Hunt f226b6e1b9 MDL-69735 core renderer notifications: make closebutton option usable 2020-12-11 21:23:07 +00:00
Víctor Déniz d6806beb3e Merge branch 'MDL-62678-core-fetch-notifications-MOODLE_310_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_310_STABLE 2020-10-06 22:58:45 +01:00
Brendan Heywood 3ac504fd3d MDL-62678 core: Improve efficiency of notifications and avoid ajax call 2020-09-30 13:56:29 +10:00
David Mudrák 972340b678 MDL-69050 lang: Stop using the term blacklist in mustache output engine 2020-09-24 19:39:36 +02:00
Bas Brands 1fdb4fda4a MDL-69454 core_search: consistent navbar search 2020-09-23 17:36:14 +02:00
Eloy Lafuente (stronk7) cb82c4d901 Merge branch 'MDL-69395-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE 2020-09-17 09:16:52 +02:00
Davo Smith 23efc7337a MDL-68564 outputrenderers: extend before_footer hook to allow output 2020-09-14 11:00:36 +01:00
Bas Brands 3d08cd2272 MDL-69395 theme_boost: improve colour contrast for form input fields
- for this issue the atto styles.css was moved into theme boost so
we can use our preset variable for $gray-500
2020-09-09 13:41:32 +02:00
Bas Brands 49f1803c9d MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-19 08:29:50 +08:00
Andrew Nicols 452497da41 Merge branch 'MDL-68334-master' of git://github.com/lucaboesch/moodle 2020-08-12 11:05:54 +08:00
Luca Bösch 4994817908 MDL-68334 user: Display name in footer as elsewhere. 2020-08-08 10:38:56 +02:00
Gareth Barnard da4ded8a16 MDL-64818 blocks: blocks_for_region() is inefficient. 2020-08-07 13:58:35 +01:00
Shamim Rezaie e505618f08 MDL-68931 core: No feedback link on footer if the feature is disabled 2020-06-09 19:05:16 +10:00
Shamim Rezaie a3a9539bd7 MDL-68076 core: display the feedback link on footer 2020-06-04 11:57:24 +10:00
Jake Dallimore 0fbc2c11f5 Merge branch 'MDL-67874-master' of git://github.com/bmbrands/moodle 2020-05-27 13:54:51 +08:00
Adrian Greeve 6f17ec9181 Merge branch 'MDL-68788' of https://github.com/Chocolate-lightning/moodle 2020-05-27 10:55:20 +08:00
Bas Brands 91de0ed823 MDL-67874 theme_boost: make focus outline accessible 2020-05-26 09:54:12 +02:00
Bas Brands f0947b944c MDL-68270 core_output: prevent blurring of navbar logo 2020-05-25 15:48:52 +02:00
Mathew May eff7ef2cd2 MDL-68788 core_notification: Check if the user is logged in 2020-05-21 16:33:25 +08:00
Nicholas Hoobin 119a83f148 MDL-68041 core_theme: New admin settings in secure page layout
This adds two new admin settings to the theme appearance options.

Shows the lang menu in secure layout, langmenuinsecurelayout.
Shows the user's name in secure layout, logininfoinsecurelayout.

When the page layout is set to secure, these options will be in effect.
2020-05-11 17:23:17 +10:00
Bas Brands ac00aec239 MDL-68383 contentbank: improve css for content bank 2020-04-22 15:50:46 +02:00
Brendan Heywood 20167daf89 MDL-47271 report_status: Added System status report 2020-04-08 14:35:31 +10:00
Brendan Heywood a28277697d MDL-67818 check: Rename renderer to be less generic 2020-04-07 12:07:42 +10:00
Sara Arjona 43cda51ea1 Merge branch 'MDL-68233' of https://github.com/timhunt/moodle 2020-04-06 12:51:22 +02:00
Brendan Heywood 00c2153be1 MDL-67818 check: Added Check API and refactored security checks
AMOS BEGIN
 MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
 MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
 MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
 MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-06 12:28:37 +10:00
Tim Hunt 19f221961e MDL-68233 renderers/block: fix reported coding style issues 2020-03-29 15:35:04 +01:00
Tim Hunt 1dcd0d3499 MDL-68233 renderers/block: remove illegal uses of $PAGE and $OUTPUT 2020-03-29 15:34:26 +01:00
Jake Dallimore 82a1e8da34 Merge branch 'MDL-68135-master' of git://github.com/rezaies/moodle 2020-03-24 12:10:33 +08:00
Shamim Rezaie f064e11579 MDL-67970 course: More informative aria-label for 'more help' 2020-03-17 18:19:20 +11:00
Shamim Rezaie 668df7663f MDL-67970 search: fixed stray end tag (input) 2020-03-17 18:16:25 +11:00
Shamim Rezaie 32ec05466a MDL-68135 output: remove the presentation role from user pic
"presentation" is not a valid role for the img element.
Moreover, it doesn't make sense to have both role="presentation" and
aria-hidden="true" for an element at the same time.
For more info please see:
https://timwright.org/blog/2016/11/19/difference-rolepresentation-aria-hiddentrue/
2020-03-10 16:30:08 +11:00
Shamim Rezaie 768c318ad6 MDL-67969 lib: Fix duplicate blockinstanceid for fake blocks 2020-02-19 21:20:01 +11:00
Michael Hawkins aa86441b87 MDL-66161 output: Escaping fatal error message and URL strings 2019-11-05 13:44:37 +01:00
Eloy Lafuente (stronk7) f4feabb83f MDL-66968 php74: array_key_exists() for objects is deprecated
Replace it for correct property_exists() when the element
being inspected is a property of object/class.

Amended and squased changes:
- keep mongo unmodified. The information is array, hence correct.
- fix a couple of messaging phpdocs that were incorrect.

Amended take#2:
- As far as mongo resturns BSONDocument that is ArrayObject, aka
implements ArrayAccess, we have decided to explicitly cast results
to array so existing array_key_exists() and other accesses will
continue working the same.
2019-10-25 00:49:04 +02:00
Tim Hunt 7ba73d16a0 MDL-66553 tags: option to accesshide label when displaying a taglist 2019-10-09 13:26:12 +01:00
Ryan Wyllie f9d76e4905 MDL-66477 core: only render region main settings if no settings block
We added a change to allow the region main settings menu to be
rendered in the header rather that the top of the body however
this also meant that the settings were shown on themes (e.g. Classic)
that didn't otherwise show the region main settings.

The simplest solution seems to be to not render the region main
settings in the header if the settings block is on the page.
2019-10-04 11:31:14 +08:00
Jun Pataleta 31b4ff1db3 Merge branch 'MDL-62191_master' of git://github.com/dmonllao/moodle 2019-10-02 16:35:50 +08:00
Ryan Wyllie c77d1ae40f MDL-66477 mod_forum: move region main settings menu to header
Add a generic way to render actions in the page content header
and then moved the region main settings menu there for the forum.
2019-09-27 15:38:54 +08:00
David Monllaó ca81e906e0 MDL-62191 output: New extra attributes for single_button
Useful for data- attributes.
2019-09-27 14:12:48 +08:00
Ryan Wyllie 4dd2570dd7 MDL-64821 output: add wrapping class for ratings label
Add a span tag with a class that wraps the ratings label and popup
link so that it can be styled.
2019-09-25 10:42:19 +08:00
Ryan Wyllie f9664b0c19 MDL-62284 output: prevent nested JS mustache handler calls
Prevent the JS mustache helper from being executed from within
the render call of another mustache helper because it can allow
users to inject JS into the page.
2019-09-04 11:22:51 +08:00
Jun Pataleta 7f18f22fac Merge branch 'MDL-66272-master' of git://github.com/vmdef/moodle 2019-08-08 12:43:51 +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
Victor Deniz Falcon 6097d3e7ff MDL-66272 core_renderer: fix favicon method PHPDoc 2019-07-30 16:01:38 +01:00
Andrew Nicols 9b12c927aa Merge branch 'MDL-63612-master' of git://github.com/bmbrands/moodle 2019-07-17 15:47:41 +08:00
Bas Brands c5b2ab4786 MDL-63612 core_admin: make course card colours configurable 2019-07-15 11:01:20 +02: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