Commit Graph

41 Commits

Author SHA1 Message Date
Meirza 883c1becc5 MDL-76116 mnet: styling the delete key confirmation window properly 2022-12-07 11:14:05 +07: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
Sujith Haridasan 73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
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
Charles YVANES 458453cee0 MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
Russell Smith 1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Damyon Wiese a084ac0db4 MDL-46045 Fix php tags (lowercase) everywhere 2014-06-19 11:05:16 +08:00
Mary Evans 01e34f156a MDL-37591 admin/mnet: replaced generalbox class with generaltable 2013-01-20 21:52:09 +00:00
Frederic Massart bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Petr Skoda ca0e65cb6f removing forbidden attributes 2010-09-17 10:33:40 +00:00
Petr Skoda f9b9913ebc removing center tag - not xhtml strict 2010-09-17 10:32:42 +00:00
Petr Skoda 61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Penny Leach 287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
jerome mouneyrac df94bb99eb mnet MDL-21260 transform single_button first param into new moodle_url 2010-01-28 07:25:42 +00:00
Petr Skoda dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Petr Skoda 11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
Petr Skoda 2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
nicolasconnault 414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault 73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
skodak d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
skodak 90658eefb0 MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup 2008-08-26 05:45:07 +00:00
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak bc3c2336ba MDL-14679 towards /admin/mnet conversion 2008-05-31 11:41:26 +00:00
dongsheng 3db241b342 "MDL-14129, fix print_error" 2008-05-08 06:27:28 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
donal72 68bcd355af Rename the 'promiscous' mode to 'dangerous' as promiscuous is used elsewhere. 2007-08-02 05:27:06 +00:00
skodak 1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
nicolasconnault 77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
skodak e75ac13be2 MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - code cleanup 2007-01-30 10:23:01 +00:00
donal72 fc7900e75e MNet: Display expiry date of local certificate 2007-01-15 09:14:41 +00:00
donal72 5a3be3847e mnet: Replace hardcoded strings: MDL-8069 2007-01-10 23:15:53 +00:00
moodler 1bd1f9797e Just tidying on my way through 2007-01-09 12:31:09 +00:00
moodler 3c76e67145 Better errors that lead to the wiki for more help MDL-8068 2007-01-05 08:46:10 +00:00
donal72 cd607643dc mnet: Removed hardcoded English strings from some MNET files: MDL-8069 2007-01-05 05:58:39 +00:00
martinlanghoff 1734e61a41 mnet: check for openssl extension 2007-01-04 06:19:56 +00:00
martinlanghoff b763d139b4 mnet: xhtml strrrrrrrrrrickt mein herr 2007-01-04 06:13:20 +00:00
moodler 86498e7913 Included index.html to avoid conflicts 2007-01-04 05:16:21 +00:00
martinlanghoff a9308edef3 admin/mnet/index: Allow admins to expire an SSL key
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:37:42 +00:00
martinlanghoff 13c9d7e082 mnet: Some very minor style (etc) fixes
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:32:55 +00:00
martinlanghoff 71558f8502 mnet: core libraries and admin pages 2007-01-04 02:33:51 +00:00