Commit graph

646 commits

Author SHA1 Message Date
David Monllao
2a021ac3a0 Merge branch 'MDL-62618-master' of git://github.com/mickhawkins/moodle 2018-07-11 18:47:57 +02:00
Michael Hawkins
c157e137ee MDL-62618 user: Display full names consistently on users page 2018-07-05 10:08:33 +08:00
Michael Hawkins
9af6a71c70 MDL-62801 themes: Added missing filelib include 2018-07-03 13:07:27 +08:00
Michael Hawkins
3f2ed99d26 MDL-62801 themes: Remove old mustache caches when new one generated 2018-06-29 10:49:21 +08:00
Luca Bösch
d8343b5432 MDL-46344 outputrenderers: Localize 'This page is'. 2018-06-01 11:41:30 +02:00
Bas Brands
3ec69c2ece MDL-56511 theme_boost: Update to Bootstrap 4 stable
Behat fixes by David Monllao <davidm@moodle.com>
    - Blocks
    - Modals
    - Messaging styling
    - Breadcrumb
    - Pagination
    - Course & categories management
2018-04-18 09:31:53 +08:00
Mark Johnson
e65560e3eb MDL-61869 output: Infer rendering of templatables 2018-04-05 09:45:15 +01:00
Kathrin Osswald
9d492637ec MDL-43362 outputrenderers: Add bootstrap classes to errorbox. 2018-03-09 11:29:44 +01:00
Mihail Geshoski
25dbbdf90b MDL-61423 authentication: Add digital minor verification upon signup 2018-03-08 15:01:25 +08:00
Jun Pataleta
dd9c292700 MDL-53113 libraries: Add cleaned up PHP doc blocks 2018-01-17 10:52:16 +08:00
Eloy Lafuente (stronk7)
76f8b36105 MDL-53113 libraries: Also remove core_renderer->notify_xxx() methods
Keeping the methods instead of fully deleting them alternative.
2018-01-17 02:18:16 +01:00
sam marshall
7f9fb2c846 MDL-60880 core_search: Allow search of specific context (front-end) 2017-12-05 17:42:40 +00:00
Ryan Wyllie
f0f38bf1d3 MDL-60657 core: fix upgrade notice modal header padding 2017-11-02 06:07:00 +00:00
Jake Dallimore
788ea5c85c MDL-59826 output: make context_header() aware of page context.
There are times, such as when viewing a user profile within a course,
when user_can_view_profile() should be passed a course to force it to
restrict its capability checks to only the supplied course. This change
makes sure that core_renderer->context_header() calls this correctly.
2017-08-18 11:07:19 +08:00
Jun Pataleta
1e674d0147 MDL-59613 course: Activity list dropdown menu fixes
* Use the formatted name of the modules to be listed in the dropdown.
* Skip the current activity when adding activities for the dropdown.
2017-08-02 17:02:24 +08:00
David Monllao
266959a41e Merge branch 'MDL-59613-master' of git://github.com/junpataleta/moodle 2017-08-01 10:29:39 +02:00
Jun Pataleta
4698e169e5 MDL-59613 course: Add dropdown menu for activity list
Part of MDL-59313.
2017-07-31 22:25:22 +08:00
David Monllao
707f9beae1 Merge branch 'MDL-59612-master' of git://github.com/junpataleta/moodle 2017-07-31 13:59:55 +02:00
Dan Poltawski
6cc8b0a4a6 Merge branch 'MDL-59632_master' of git://github.com/dmonllao/moodle 2017-07-31 11:33:05 +01:00
Mark Nelson
585146f0ab MDL-59612 core: edit 'frametop' layout so links display for LTI
Part of MDL-59313.
2017-07-31 12:03:28 +08:00
Mark Nelson
d8cb461529 MDL-59612 core: added previous and next links to activities
Part of MDL-59313.
2017-07-31 12:03:28 +08:00
David Monllao
ad382c6a71 MDL-59632 search: Style search box for boost 2017-07-26 16:34:29 +02:00
Jun Pataleta
3b1eba069e MDL-59528 core: Add option to display fullname beside user picture 2017-07-21 08:45:31 +08:00
Jake Dallimore
542933e30a Merge branch 'MDL-59380-master' of git://github.com/damyon/moodle 2017-07-04 16:27:30 +08:00
Jake Dallimore
012555492e MDL-56565 navigation: fix for cap checks in nav and context header
Fix to:
- Make sure we properly check both user and course contexts in
the load_for_user function in navigation lib and user the
user_can_view_profile function for same-course access checks.
- Use user_can_view_profile in the renderer's context_header to
properly decide whether a user can view another user's picture
and messaging options in the page header.
2017-07-04 10:11:34 +08:00
Jake Dallimore
08692e9736 MDL-56565 core: fix user details disclosure in page context header
Fixes a bug with context_header function in which user details were
displayed regardless of the current user's capabilities.
2017-07-04 10:11:34 +08:00
Andrew Nicols
7bd28dffc2 MDL-59165 output: Add standard footer html callback 2017-07-03 13:35:28 +08:00
Damyon Wiese
3d185faceb MDL-59380 fragments: Include js from templates
Mustache templates containing {{#js}} blocks are not returned via the
fragments API. This is because the requirements manager is assigned when the renderer is created
and not updated by the call to start collecting page requirements.
2017-06-27 13:20:32 +08:00
Yair Spielmann
409ad1d60a MDL-57734 admin: New setting for when to use the noindex meta tag 2017-06-26 10:38:25 +08:00
Alexander Bias
79675c05d0 MDL-58970 themes: Fix references to core/loginform template 2017-06-02 20:29:24 +02:00
Jun Pataleta
088598ba28 MDL-58538 core: Set proper PHP Documentation for pix_url()
Add @deprecated tag for theme_config::pix_url(). Add PHPDoc block for
renderer_base::pix_url().
2017-04-19 12:29:19 +08:00
Ilya Tregubov
8b844f702e MDL-55941 output: Refactor and improve initialbar UX to use templates 2017-03-24 20:31:03 +11:00
Dan Poltawski
d4d91727bf Merge branch 'MDL-58263-master' of git://github.com/jleyva/moodle 2017-03-20 11:39:58 +00:00
Damyon Wiese
b9b409cfc3 MDL-40759 icons: Peer review fixes (all minor) 2017-03-17 15:52:46 +08:00
Damyon Wiese
3e6adcd69c MDL-40759 icons: Rename activity_icon
image_icon is a better name because there are some valid uses for these other than for activity icons.

E.g. Old JS code that is not worth re-writing.
2017-03-17 15:52:18 +08:00
Damyon Wiese
e330b1c214 MDL-40759 icons: Refactor to allow theme icon systems 2017-03-17 15:52:18 +08:00
Damyon Wiese
663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Damyon Wiese
c2dde7eebc MDL-40759 icons: Split pix_icon from activity_icon
Activity icons always use the standard icon renderer.
2017-03-17 15:51:29 +08:00
Damyon Wiese
95b06c13c6 MDL-40759 icons: Refactor icon system to be extensible. 2017-03-17 15:51:29 +08:00
Juan Leyva
1882158316 MDL-58263 tool_mobile: Use new callback to print header tags 2017-03-14 22:19:18 +01:00
Andrew Nicols
e2310e4361 Merge branch 'MDL-57975-master' of git://github.com/ryanwyllie/moodle 2017-03-10 18:04:42 +00:00
Ryan Wyllie
8fa8675de8 MDL-57975 core: add userdate mustache php helper
Part of MDL-55611
2017-03-08 03:33:24 +00:00
Ryan Wyllie
75378ded5f MDL-57972 mustache: add shortentext template helper
Part of MDL-55611
2017-03-07 06:33:56 +00:00
Brendan Heywood
5ebd1fb976 MDL-53978 core: Added callbacks for all major render stages 2017-02-24 13:06:54 +11:00
Eloy Lafuente (stronk7)
860b099f46 Merge branch 'wip-mdl-56616' of https://github.com/rajeshtaneja/moodle 2017-02-21 00:56:26 +01:00
B Krishnan Iyer
5c3e1eedb7 MDL-57354 output: Render continue button as a primary button. 2017-02-13 15:50:52 +00:00
Rajesh Taneja
8819e01dde
MDL-56616 theme_boost: Fix style for performance info 2017-02-13 14:35:10 +08:00
Dan Poltawski
f745b81201 MDL-57690 output: stop requiring moodle-core-popuphelp on every page
In boost we are not longer using this module, so lets limit it to
bootstrapbase only
2017-01-19 08:10:34 +00:00
Dan Poltawski
57378aac0b MDL-57472 javascript-static: remove fix_column_widths()
A bit of a hack applied nearly 12 years ago in
7979105c62
2016-12-22 12:22:15 +00:00
Dan Poltawski
c67e93b235 MDL-56640 templates: move select templates from boost to core 2016-12-19 12:23:54 +00:00