838 Commits

Author SHA1 Message Date
Helen Foster
ae2f8cfa67 MDL-76105 lang: Import fixed English strings (en_fix) 2022-11-17 09:44:35 +00:00
Jun Pataleta
9555637d64 Merge branch 'MDL-76053' of https://github.com/stronk7/moodle 2022-11-09 21:28:30 +08:00
Eloy Lafuente (stronk7)
621d75dbce MDL-76053 admin: Remove various warnings related to MNet
This partially reverts MDL-73270, where some useful environmental
checks and notifications in the admin UI were added to inform
about different parts of Moodle relying on the "unsupported"
php-xmlrpc extension.

Since then, some changes have happened in core, only available
for Moodle 4.1 and up (see the MDL-70889 mini-epic). Namely:

  - MNet (SSO, roaming, auth, enrol and Mahara portfolio) are not
    using the php-xmlrpc extension anymore, but a pure php library.
  - The xmlrpc webservices protocol, has been move from core to
    the plugins directory, although it continues using the php-xmlrpc
    extension.

Because of that here we are removing all the checks and notifications
related with MNet (not using the extension anymore), but keeping the
webservice plugin ones (still using the extension). Surely if some day the
protocol stops using the extension, we'll be able to remove the
corresponding checks too. But that's future.

Note the associated lang strings have been also removed (not deprecated)
because they were highly specific and hardly reusable:
  - xmlrpcmaharaenabled
  - xmlrpcmnetauthenticationenabled
  - xmlrpcmnetenabled

And very same applies, because MNet doesn't contain anything deprecated
or not supported anymore, hence, straight deletion, to the function:
  - mnet_get_deprecation_notice()

Also, related tests using any of the removed stuff above have been deleted.

In the other side, the "check_xmlrpc_usage" continues existing and
being used both by environment checks and admin notifications but,
as commented above, now it only looks for the xmlrpc webservice
protocol now.
2022-11-08 16:49:18 +01:00
Eloy Lafuente (stronk7)
c763d40704 MDL-76054 environment: Remove the php-xmlrpc extension check
For Moodle 4.1 and up, the php-xmlrpc is not needed anymore:
- All the MNet stuff has been moved to use php library (MDL-76055).
- The webservice/xmlrpc has been moved from core to contrib (MDL-76052).

So we just remove the check here. Starting with 4.1, it's not
needed for any core functionality.

Note that the string has been removed, and not deprecated, because it's
a non-generic string, not belonging to core/moodle main lang file, and
hardly reused ever. That fits with the allowed deletions, not requiring
any deprecation.

Of course, the lang removal only has been applied to master (4.1dev).
Older branches still keep it and will be used when checking < 4.1
upgradability.
2022-11-08 16:45:12 +01:00
Michael Hawkins
e3b3ba90c8 MDL-74643 core_user: New admin setting for site support availability
This allows admins to configure whether contact site support is
available to everyone, authenticated users, or nobody.

The behat testing checks linked and direct access for each setting,
as well as adding testing that the support page override works as
expected.
2022-10-31 18:58:06 +08:00
Huong Nguyen
bc80531188 MDL-61921 admin: Support XOAUTH2 for outgoing mail 2022-10-21 09:33:48 +07:00
Helen Foster
7d2fada8b0 MDL-75553 lang: Import fixed English strings (en_fix) 2022-09-04 20:44:10 +02:00
Sara Arjona
4d62410091 Merge branch 'MOODLE_master_MDL-75218-favicon' of https://github.com/danielneis/moodle 2022-08-30 12:17:23 +02:00
Daniel Neis Araujo
7adac1fefb MDL-75218 theme: Add a Favicon setting 2022-08-29 09:35:54 -03:00
Paul Holden
30427e91c2 MDL-75191 task: implement task logs datasource for custom reporting.
Update existing entity to define remaining report elements. Add new
report source joining the entity to the user entity to provide data
for the reportbuilder editor.
2022-08-18 17:12:39 +01:00
Víctor Déniz
e5eafa38d6 Merge branch 'MDL-73568' of https://github.com/paulholden/moodle 2022-07-14 00:51:15 +01:00
Jun Pataleta
c09f96c8ef Merge branch 'MDL-67347-master' of https://github.com/mihailges/moodle 2022-07-12 17:17:08 +08:00
Helen Foster
e73756abdd MDL-75008 lang: Import fixed English strings (en_fix) 2022-06-30 20:31:27 +02:00
Paul Holden
52992d993c MDL-73568 admin: show accepted types for stored file config settings.
Re-factor existing code to make use of file manager class that renders
these details for us by default.

Co-authored-by: Simey Lameze <simey@moodle.com>
2022-06-24 10:13:09 +01:00
Brendan Heywood
9fa26ed911 MDL-72486 core: Add unsafe log and fix options to proxy settings 2022-06-20 11:18:42 +10:00
Mihail Geshoski
4ef7fc3895 MDL-67347 lang: Final removal of deprecated strings in 3.9 2022-06-15 16:46:16 +08:00
Jun Pataleta
0e853ae535 Merge branch 'MDL-74455' of https://github.com/paulholden/moodle 2022-06-13 17:20:39 +08:00
Cameron Ball
cd1a7291ea MDL-73293 core_task: Cleanup stale adhoc task metadata 2022-06-09 14:15:37 +08:00
Paul Holden
1cd65d696f MDL-74455 filter_multilang: add text labels for plugin settings.
AMOS BEGIN
 MOV [multilangforceold,core_admin],[forceoldsyntax_desc,filter_multilang]
AMOS END
2022-06-08 18:52:12 +01:00
Helen Foster
3719878cbf MDL-74330 lang: Import fixed English strings (en_fix) 2022-04-01 13:17:08 +01:00
Ilya Tregubov
8b871d98b4 Merge branch 'MDL-73891-master' of https://github.com/sarjona/moodle 2022-03-21 10:12:27 +06:00
Sara Arjona
5349861e69 MDL-73233 admin: Add enabledashboard setting
The $CFG->enabledashboard setting has been added to Appearance >
Navigation, to let admins disable the "Dashboard" option from the
primary navigation.

This commit also changes the behaviour of get_home_page(), to take
into account this setting and adds a new method, get_default_home_page(),
to return the expected default home page (that wil be used when current
default page is not defined or valid).
2022-03-16 11:22:22 +01:00
Peter Spicer
edde68e078
MDL-67428 navigation: Apply navigation text filters at system context
On some larger sites, processing the navigation with format_string will
habitually load all the contexts for navigation which can take 400+ DB
queries. Explicitly tying all those format_string calls to the system
context reduces this overhead to a single DB query that probably has
already been run on the page previously.

Co-authored-by: Peter Burnett <peterburnett@catalyst-au.net>
2022-03-04 14:36:25 +10:00
Sara Arjona
a9f15ed952 MDL-73891 admin: Display a notification in manage blocks
An info notification has been added to the "Manage blocks"
page to warn admins about the "Unneeded blocks" theme setting.
2022-03-03 16:35:54 +01:00
Michael Hawkins
a0b3cf4898 MDL-73935 user: Update support form to not require SMTP setting 2022-02-28 12:42:47 +08:00
Helen Foster
7ff6b2daef MDL-73812 lang: Import fixed English strings (en_fix) 2022-02-18 15:50:26 +00:00
Simey Lameze
8e153111af MDL-73608 user: add contact site support page
AMOS BEGIN
 CPY [subject,mod_forum],[subject,moodle]
 CPY [message,core_message],[message,moodle]
AMOS END
2022-02-18 11:54:44 +08:00
Jun Pataleta
02c3821975 MDL-73270 core: Update PHP XML-RPC warning message wording for accuracy
* Instead of the PHP XML-RPC extension is 'no longer supported' by PHP,
it is more accurate to say that it is 'no longer maintained'.
2022-02-01 11:04:15 +08:00
Jun Pataleta
99c3c9d169 Merge branch 'MDL-73270-master' of https://github.com/HuongNV13/moodle 2022-02-01 11:00:49 +08:00
Huong Nguyen
683375af8b MDL-73270 admin: Warn about xmlrpc webservice protocol enabled
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
2022-01-28 09:32:08 +07:00
Paul Holden
f69077aa8c MDL-71889 user: help text for profile field max length/user identity. 2022-01-19 11:04:48 +00:00
Paul Holden
6ed8458eda MDL-65801 lang: final removal of deprecated 37/38 strings.
The following lang strings have been undepecated, as they are still
in use:

* errorcoursewronglypublished, core_hub
* eventrolecapabilitiesupdated, core_role
2022-01-13 09:50:50 +00:00
Jun Pataleta
e9bd499fb1 Merge branch 'MDL-72867-master' of https://github.com/HuongNV13/moodle 2021-12-21 11:23:09 +08:00
Simey Lameze
eadf157068 MDL-72984 admin: make support email setting mandatory 2021-12-20 13:22:35 +08:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Helen Foster
558b4c826d MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:53:10 +01:00
Mathew May
6ca9c2154a MDL-70801 core_my: Add a new courses page 2021-11-15 11:49:35 +08:00
Neill Magill
e86bc4921e MDL-71115 search: Only replace course search when equivalent
Not all global search configurations offer the same results as the
default course search does.

The default course search will return courses that the user can see
the details of even if they can see them via a category, even if
they are not enrolled and cannot enrol themselves on it.

The equivalent global search configuration is:

* Global search is enabled
* The course indexing is enabled
* All the name and summary of all courses are included in the results

This patch will only let global search replace the default course
search when those criteria are met.

It will also display on the global search configuration page if global
search will replace the legacy course search.
2021-11-10 09:11:19 +00:00
Helen Foster
07b7482063 MDL-72879 lang: Import fixed English strings (en_fix) 2021-10-26 21:05:10 +02:00
Eloy Lafuente (stronk7)
523b2643b7 Merge branch 'MDL-60917-Master' of https://github.com/tuanngocnguyen/moodle 2021-10-18 20:31:19 +02:00
Ferran Recio
b58e780666 MDL-71995 core: reactive debug tools 2021-10-13 10:08:50 +02:00
Nathan Nguyen
089ebc85b1 MDL-60917 core_search: add top result section 2021-10-12 14:49:36 +11:00
Andrew Nicols
c83e637ff9 MDL-72621 admin: Add environment check for admin deprecation 2021-09-29 22:39:32 +08:00
Ilya Tregubov
0e979b85cc Merge branch 'MDL-72042-master' of git://github.com/sarjona/moodle 2021-09-22 13:34:28 +02:00
Amaia Anabitarte
7958fa72e1 MDL-72356 core_course: auto enrol admins when adding a new course 2021-09-20 13:09:29 +02:00
Sara Arjona
a0d3e32aa9 MDL-72042 media: Remove SWF media player
The Flash Player was deprecated in 2017 and officially discontinued
on 31 December 2020, so media_swf player has been completely
removed from Moodle core.
2021-09-17 10:39:17 +02:00
Mihail Geshoski
9ce040a7a7 MDL-72093 navigation: Replace strings in course and module secondary nav 2021-09-14 12:02:35 +08:00
Helen Foster
92cc461235 MDL-72428 lang: Import fixed English strings (en_fix) 2021-09-03 17:38:35 +02:00
Eloy Lafuente (stronk7)
3417b7123d MDL-72312 environment: Add new optional custom check for igbinary
This optional environmental check will look if:

- the site is running php72.
- the site has igbinary extension enabled.
- the igbinary extension version is a buggy one >=3.2.2 <= 3.2.4
- the bug is reproducible.

And will warn if all the conditions are met.
2021-08-23 15:11:58 +02:00
safatshahin
351176bb71 MDL-71516 core_question: Create new plugin type - qbank
This commit implements the qbank plugin type which
includes the boilerplate for the qbank plugin, the
qbank plugin management admin page and required core
code addition.
2021-08-16 09:59:11 +10:00