48 Commits

Author SHA1 Message Date
Brendan Heywood
ede64f3338 MDL-69958 auth: Handle well-known/change-password requests 2023-08-28 23:57:22 +10:00
Mihail Geshoski
8d0ca00e95 MDL-74386 navigation: Remove redundant set_secondary_navigation() calls
Removes $PAGE->set_secondary_navigation(false) calls which certain pages
were using to prevent displaying secondary navigation menu in the system
context. This logic is now generally handled within the secondary
navigation class.
2022-04-08 15:11:31 +08:00
Jun Pataleta
6937d87ddd MDL-72481 admin: Render the site admin navigation menu as tablist
only render the secondary nav as tablist if it is for the site admin tabs

Co-authored-by: Shamim Rezaie <shamim@moodle.com>
2022-03-15 12:48:21 +11:00
Eloy Lafuente (stronk7)
a5c91474ee MDL-71807 cleanup: Replace deprecated codingStandardsIgnore annotations
The PHP_CodeSniffer @codingStandardsIgnore annotations are deprecated
and, since version 3.x, the new // phpcs:ignore comments should be used
instead.

This commits just reviews all the uses in core, replacing them for
the better new candidate, or removing when no longer needed.
2022-03-08 10:48:53 +01:00
Michael Hawkins
14889c701f MDL-73935 user: Replace support link/email with site support link
This makes the support behaviour on the error page consistent with that
in the footer, and removes the support email from unauthenticated
access.
2022-02-28 12:42:47 +08:00
Brendan Heywood
5922222778 MDL-69333 error: Allow explicit http error codes in web server config
eg in Apache you could capture 403 errors and funnel them to this
error handler script and also transform them to 404s:

ErrorDocument 403 /error/index.php?code=404
2021-01-20 09:52:25 +11:00
Brendan Heywood
43999a3f2b MDL-56041 error: Enable custom 404 and 500 error pages 2020-07-08 09:36:21 +10:00
Adrian Greeve
5454e72c21 MDL-55188 events: First deprecation of eventslib.php 2018-07-30 09:23:54 +08:00
Eric Merrill
880fc15bf0 MDL-47162 core_message: Updating all uses of messaging to add courseid 2016-10-31 14:13:13 -04:00
Simey Lameze
dcee0b9447 MDL-49360 core_lib: add new method get_local_referer()
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:11:24 +08:00
Rajesh Taneja
af0afab30a MDL-31560 Error: Fixed coding style 2013-09-13 16:13:26 +08:00
Rajesh Taneja
3bcf6b3cdd MDL-31560 Messages: Added support for noreply and support users
This is used by messaging system for sending/receiving message
to/from noreply or support user. message_send api will now use
core_user class to get noreply or support user and then
send/receive message depending on user state.
2013-09-13 16:13:26 +08:00
Rajesh Taneja
54bc6d1955 MDL-41418 Administration: Page context should be set before setting page title 2013-08-26 15:22:12 +08:00
Ankit Agarwal
0601e0eef6 MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core 2013-07-04 15:41:06 +08:00
Petr Škoda
0ac97084fa MDL-34674 use browser built-in spell checking in all browsers except < IE10 2013-04-12 11:33:23 +02:00
Andrew Davis
d8aa5ec7a0 MDL-30260 message: added /message/upgrade.txt, checked calls to message_send() are supplying user.emailstop and improved message_send() to handle message requests that don't 2011-11-30 10:02:45 +08:00
Sam Hemelryk
b276cf9ed1 error MDLSITE-1008 Fixed missing set_context call in error/index.php 2010-10-04 04:52:02 +00:00
Petr Skoda
94b9c2e8da MDL-24321 switching to stdClass in /e*/ 2010-09-21 08:14:41 +00:00
Petr Skoda
c76156500d removing orphaned deprecated center tag 2010-09-17 18:41:05 +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
7c7d3afab5 MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems" 2009-11-07 10:27:57 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
samhemelryk
ed1dcb9dd6 error MDL-19799 Added set_url call 2009-10-15 03:22:26 +00:00
samhemelryk
70f25518ad core MDL-19799 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 07:20:14 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
nicolasconnault
7e0d66753e MDL-19799 Converted all print_footer() calls 2009-08-06 14:21:34 +00:00
lfrodrigues
2044a2b26f MDL-10107 - Removed old email_to_user with we still arround and added default message processor for user,
adminuser and on messagelib
2008-08-02 00:04:29 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
dongsheng
f945d59b8f "MDL-14129, fix print_error calls" 2008-05-07 06:19:59 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
6e27c7c627 Merged better error page from stable 19 2008-02-01 05:49:15 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
4ca5b47322 fix my previous incorrect short tag fix, fixed register globals, IP address used as mail user when not logged in; merged from MOODLE_16_STABLE 2006-05-15 15:45:27 +00:00
skodak
e7a8d28f57 fixed short php tags; merged from MOODLE_16_STABLE 2006-05-15 15:12:56 +00:00
moodler
7c830e314b Fix Bug #1604 - the error/index.php can't be translate 2006-04-21 04:42:26 +00:00
moodler
6573940cc3 Merged from stable 2005-11-01 06:53:57 +00:00
skodak
6cbaa56a69 fixed warnings and param cleaning, prevention of mailing of empty reports SC#147; merged from MOODLE_15_STABLE 2005-10-31 22:49:13 +00:00
dhawes
70e728fbbc Converted double quote strings to single quote literals - inspired by error in double quotes found by ottenhoff and noted in comment to bug 1981 2004-09-24 22:28:50 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
730a5f5abe fixed capitalization and quoting of attribute values 2004-09-12 20:45:41 +00:00
moodler
c884816180 Short tags 2003-09-11 13:50:02 +00:00
moodler
4c48acf01b Fixed some short PHP tags 2003-09-09 08:43:27 +00:00
martin
faebaf0f40 First implementation of new authentication system, which can now use
pluggable modules in the 'auth' directory.

Everything is done through authentication_user_login in lib/moodlelib.php

As well as the old default "email" confirmation, I added a new type of
confirmation "none", which basically does no confirmation at all.
2002-09-26 07:03:22 +00:00
martin
e80e60a6b2 Slight fix to error page to include site name properly 2002-09-17 14:56:18 +00:00
martin
5fa51a394b Fixes to convert mail to individual mailing ...
so that we can use the new preferences for mail (plain or html).
2002-06-05 14:05:59 +00:00
martin
79389048fd Removed log and fixed email call 2002-05-31 13:24:14 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00