Commit graph

2240 commits

Author SHA1 Message Date
Jun Pataleta
4e1a6e6830 Merge branch 'MDL-73646-master-v2' of https://github.com/sharidas/moodle 2022-02-03 19:09:37 +08:00
Shamim Rezaie
78b7fbb390 Merge branch 'MDL-73538-master' of https://github.com/ferranrecio/moodle 2022-02-03 15:24:04 +11:00
Jun Pataleta
5914c8ced2 Merge branch 'MDL-73452-master' of git://github.com/mickhawkins/moodle 2022-02-03 11:44:31 +08:00
Ferran Recio
7c249a7d84 MDL-73538 core_courseformat: fix course index manual completion
The current manual completion button triggers an event to alert the page
of any completion change. This event is capture in the course page by
the core_courseformat/local/content module but it was ignored when this
happens in an activity page. Now the activity header has its own
component to capture this event and support possible future reactive
actions.
2022-02-02 11:54:12 +01:00
Sujith Haridasan
3eda637c44 MDL-73646 navigation: Fix breadcrumbs for site admin
Fix the breadcrumbs for site administration page.
Created a new public method get_active_method for the same.
2022-02-02 10:56:16 +05:30
Michael Hawkins
537e31cf96 MDL-73452 navigation: Update to Course reuse string in secondary nav
Previously this used the "Course administration" string, which causes
some confusion for those familiar with the older usage of that string.
A new "Course reuse" string has been added to better reflect what is
being linked to in course secondary navigation.
2022-02-01 21:10:59 +08:00
Paul Holden
81f13529b2 MDL-73674 output: validate node actions in participants navigation. 2022-02-01 09:15:53 +00:00
Ilya Tregubov
57fe1a3099 Merge branch 'MDL-67853-master' of https://github.com/crazyserver/moodle 2022-01-27 16:41:19 +02:00
Pau Ferrer Ocaña
d74bd798b6 MDL-67853 message: Remove on/offline settings on message preferences 2022-01-27 15:22:15 +01:00
Shamim Rezaie
01e21818fb Merge branch 'MDL-73500' of https://github.com/stronk7/moodle 2022-01-27 11:37:47 +11:00
Eloy Lafuente (stronk7)
5300351831 MDL-73500 general: Remove php < 73 conditional code
This commit removes code that only was being executed by php < 73
and it's 100% safe to do so because Moodle 3.11 and up require
php 73, hence it was not executed ever.

Removed code includes:
- ldap_control_paged_result and ldap_control_paged_result_response
  (that were deprecated in php 73 and have been removed in php 80).
- conditional code in the session manager, where some hacks were
  needed for php < 73. Note that this removes the private function
  append_samesite_cookie_attribute() completely because it was
  doinf nothing (first line was returning for php < 73).
- Also removed the old session.hash_function ini setting because
  it was removed in php 71.

Kept code includes:
- The environmental check_igbinary322_version test has not been
  removed because it doesn't hurt (always returns "ok" for php 73
  sites) and doing it would involve to backport the environment.xml
  file to 39 and 310. Instead, a note has been added to MDL-71747
  in order to get rid of that check for 4.1 and up.
2022-01-21 19:47:55 +01:00
Paul Holden
944a68ae56 MDL-71706 core: use reflection to get directory of SCSS import.
This change is required to preserve existing validation of import
paths from a76b0b8b, since upgrading ScssPhp to 1.10.0.

See scssphp/scssphp@deba6fa4 for corresponding change that means
the current directory is no longer assumed when resolving paths.
2022-01-21 00:06:38 +00:00
Ilya Tregubov
67adef891f Merge branch 'MDL-73358-master' of https://github.com/junpataleta/moodle 2022-01-17 16:11:32 +02:00
Sara Arjona
a654a1674a Merge branch 'MDL-73366-master' of git://github.com/abgreeve/moodle 2022-01-17 09:00:24 +01:00
Ilya Tregubov
c10cf765d0 Merge branch 'MDL-73495-master' of https://github.com/dravek/moodle 2022-01-17 09:14:48 +02:00
Andrew Nicols
4f0b70ba6d Merge branch 'MDL-73316' of https://github.com/Chocolate-lightning/moodle 2022-01-17 14:16:12 +08:00
Adrian Greeve
4870b363b0 MDL-73366 navigation: Changed the first tab of site administration.
It now reads "General" instead of "Site administration"
2022-01-17 11:52:13 +08:00
Jun Pataleta
a926979c0c MDL-73358 report: Add page content heading for report pages 2022-01-14 16:14:07 +08:00
Mathew May
76eaf6ee5f MDL-73316 contentbank: Add in secondary navigation 2022-01-12 13:54:57 +08:00
Mathew May
a9952cfe4c MDL-73316 navigation: Add homepagesecondary nav 2022-01-12 13:54:57 +08:00
Jun Pataleta
e885801e58 Merge branch 'MDL-69061-master' of https://github.com/junpataleta/moodle 2022-01-11 11:56:52 +08:00
Adam Pawełczak
f4783dbb0a MDL-69061 core: Fix admin path replacement with path to $CFG->admin 2022-01-11 11:32:26 +08:00
Jun Pataleta
7c710d6c6e Merge branch 'MDL-73487-master' of git://github.com/mihailges/moodle 2022-01-07 11:02:01 +08:00
David Matamoros
5bef42d324 MDL-73495 core: Fix data attributes not being passed to individual tabs 2022-01-05 13:16:13 +01:00
Jun Pataleta
0dcfa504a0 Merge branch 'MDL-68773-clear-adhoc-tasks' of https://github.com/Peterburnett/moodle 2022-01-05 18:47:01 +08:00
Adrian Greeve
0a04ebde11 MDL-72930 navigation: Remove duplicated navigation boxes.
Some pages have settings that really aren't required anymore.
These have been removed and a function has been aded so that other
developers can turn off the navigation overflow if they want.
2022-01-04 15:58:52 +08:00
abgreeve
f0ecd475d0 MDL-72930 navigation: Update the reports helper navigation.
This allows injected navigation nodes into the reports to be
shown in the report selector.
2022-01-04 15:58:52 +08:00
abgreeve
ffdf385547 MDL-72930 navigation: Update to the participants page navigation.
This adds the ability for the participants page to display injected
navigation nodes in the users navigation node.
2022-01-04 15:58:52 +08:00
abgreeve
060e5dedee MDL-72930 navigation: Change over old code to use new static methods.
This removes the old and less good methods for retrieving an array
for use with a url_select and uses the newer better ones instead.
2022-01-04 15:58:52 +08:00
abgreeve
f17b124b7b MDL-72930 navigation: Creation of new secondary nav methods
This adds new static methods for general use when dealing with
third party navigation nodes that have been added via callbacks.
2022-01-04 15:58:52 +08:00
Mihail Geshoski
cb9e513ee5 MDL-73487 navigation: Remove outcomes from course admin overflow nodes 2022-01-04 14:57:06 +08:00
Peter Burnett
28d6333f47 MDL-68773 backup: Allow completed async backup + restore tasks to clear 2022-01-04 10:57:58 +10:00
Eloy Lafuente (stronk7)
0b577477e3 Merge branch 'MDL-73420-master' of https://github.com/marinaglancy/moodle 2021-12-29 09:03:37 +01:00
Sara Arjona
a82631ffc2 Merge branch 'MDL-73237' of https://github.com/paulholden/moodle 2021-12-28 15:58:27 +01:00
Sara Arjona
430eddb721 Merge branch 'MDL-73207-cronspec' of https://github.com/brendanheywood/moodle 2021-12-28 15:43:13 +01:00
Sara Arjona
0fc33251bf Merge branch 'MDL-72904-master-dec21' of https://github.com/peterRd/moodle 2021-12-27 08:47:50 +01:00
Peter Dias
96dd6c9c94 MDL-72904 core_badges: Introduce tertiary navigation for badges 2021-12-23 21:02:01 +08:00
Simey Lameze
be018b7c42 MDL-72845 core: add services and support link to help popover 2021-12-22 19:46:49 +08:00
Jun Pataleta
e9bd499fb1 Merge branch 'MDL-72867-master' of https://github.com/HuongNV13/moodle 2021-12-21 11:23:09 +08:00
Marina Glancy
24db1f29fe MDL-73420 core: make static cache compatible with PHP8.1 2021-12-20 17:07:05 +01:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Andrew Nicols
873000b23b Merge branch 'MDL-73329' of https://github.com/paulholden/moodle 2021-12-15 09:34:34 +08:00
Sara Arjona
29649e2d6f Merge branch 'MDL-73231' of https://github.com/Chocolate-lightning/moodle 2021-12-13 16:31:43 +01:00
Mathew May
54e098c5a5 MDL-73231 my: Allow my courses to be a homepage 2021-12-13 22:43:28 +08:00
Peter Dias
a2d8ac6eea MDL-72413 core: Introduce new header component to render standard items
New activity header to render common module items in a centralised location.
2021-12-13 09:49:34 +08:00
Paul Holden
becf3bd15c MDL-73329 admin: improve detection of the admin search page.
After a query has been performed, the individual tab content
(it's settings links) isn't rendered to the page. In this case
we should redirect the user back to initial page without the
query parameter, in order for the tab content to load.
2021-12-10 14:00:38 +00:00
Andrew Nicols
097098735a Merge branch 'MDL-73060' of https://github.com/paulholden/moodle 2021-12-10 11:12:14 +08:00
Paul Holden
d8afa1b4e4 MDL-73060 webservice: fix logged config for first enabled protocol.
Resolves PHP notice from 1dfa86b4.
2021-12-09 10:41:49 +00:00
Jun Pataleta
107bcc143c Merge branch 'MDL-72090-master' of git://github.com/abgreeve/moodle 2021-12-09 11:17:32 +08:00
abgreeve
d02274137a MDL-72090 navigation: Create an overflow menu for course admin.
This adds a select menu for navigation on course administration
 pages such as import, export, course copy, and course reset.
2021-12-09 11:13:35 +08:00