55 Commits

Author SHA1 Message Date
Paul Holden
0c69ff1dd1
MDL-77193 mnet: correct sorting of access control table. 2023-06-07 09:53:01 +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
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
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
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
Eloy Lafuente (stronk7)
200fcba737 Merge branch 'MDL-43142_master' of https://github.com/markn86/moodle 2013-12-03 23:40:19 +01:00
Mark Nelson
67bfaaf0dd MDL-43140 mnet: display header after redirects to avoid warning 2013-11-29 14:25:45 -08:00
Mark Nelson
f9b4143a8e MDL-43142 mnet: fixed typo in variable passed to get_string 2013-11-29 14:15:07 -08:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Rossiani Wijaya
aa414527a4 MDL-34552 accessibility compliance for admin: Add forform input text and select tag 2012-07-31 16:31:47 +08:00
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Petr Skoda
6f3451e540 MDL-31301 remove all uses of moodle_strtolower() and deprecated it 2012-03-03 11:46:26 +01:00
David Mudrak
ec2c36f872 NOMDL MNet language pack cleanup: getting rid of Moodle Networking (replaced with MNet) and Camel Case in titles 2010-07-19 14:49:12 +00:00
David Mudrak
94cf0a1e56 MDL-23245 Fixed plugin type of auth_mnet in config_plugins table 2010-07-13 11:14:29 +00:00
Petr Skoda
8496eeb3bc MDL-22040 converting username to html entities before outputting 2010-06-03 08:18:38 +00:00
Petr Skoda
29218f369e MDL-22060 fixed $a in string to match new rules
AMOS START
 REM fixed $a[] in [deleteuserrecord,core_mnet]
 REM fixed $a[] in [enrollingincourse,core_mnet]
 REM fixed $a[] in [noipmatch,core_mnet]
 REM fixed $a[] in [nonmatchingcert,core_mnet]
 REM fixed $a[] in [ssl_acl_allow,core_mnet]
 REM fixed $a[] in [ssl_acl_deny,core_mnet]
AMOS END
2010-04-11 17:08:08 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +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
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
8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault
b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
nicolasconnault
20486a5a21 MDL-19787 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:22 +00:00
nicolasconnault
eecc6a17bc MDL-19787 Converted calls to print_paging_bar 2009-08-07 00:29:59 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
tjhunt
73511be761 MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +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
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +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
cdf2232920 Mnet: Rename field: access to accessctrl for Oracle interop: MDL-8237 2007-01-23 21:27:50 +00:00
martinlanghoff
7580ce94ef mnet: check for the _right_ varname before warning about mnet being off 2007-01-18 03:16:55 +00:00
martinlanghoff
92e46c0305 mnet: better descriptions and warnings in admin pages 2007-01-17 22:23:56 +00:00
moodler
1d388f6a1f Moved header to the top 2007-01-12 08:29:03 +00:00
donal72
1ca484a3b7 mnet: XHTML strict fixes: MDL-7861 2007-01-11 04:11:25 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00