1166 Commits

Author SHA1 Message Date
skodak
8cadac9dc7 MDL-13623 proper version detection; merged from MOODLE_19_STABLE 2008-02-26 18:35:30 +00:00
skodak
748923a045 MDL-13623 fixed regression in PHP < 5.2.0; merged from MOODLE_19_STABLE 2008-02-26 06:26:55 +00:00
scyrma
e032888cdc MDL-13643 - Missing constant definition 2008-02-25 08:11:07 +00:00
skodak
114201c84d MDL-13644 permanent typos; merged from MOODLE_19_STABLE 2008-02-25 07:48:24 +00:00
moodler
0d626493f3 Merged MDL-13643 from 1.9 2008-02-25 07:17:04 +00:00
scyrma
3d535996db MDL-13404 - Merge from 1.9 (re-commit, including missing file) 2008-02-25 01:58:17 +00:00
skodak
4ea8df2173 MDL-11494 MDL-13623 - support for secure and httponly cookies; merged from MOODLE_19_STABLE 2008-02-24 12:46:37 +00:00
skodak
a6a251c75e MDL-13603 fixed course_setup() minor problem with $course in $SITE; merged from MOODLE_19_STABLE 2008-02-23 12:13:47 +00:00
skodak
bb06244703 MDL-13404 reverted - missing file and other minor problems 2008-02-22 19:53:48 +00:00
scyrma
db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
moodler
90af9dccd3 Added some detection of bad strings from 1.9 2008-02-21 06:01:01 +00:00
moodler
b352b2e9c2 MDL-11752 Upload users form merged from 1.9 2008-02-21 05:24:18 +00:00
moodler
004e11794a Merged MDL-13544 Removed logging of cleanremoteaddr from logs 2008-02-20 07:02:14 +00:00
skodak
b03f7215c7 MDL-12382 allow admins to access any course - including courses where they have guest role and course does not allow guests; merged from MOODLE_19_STABLE 2008-02-18 23:40:21 +00:00
skodak
5f431c1bad MDL-12382 allow admins to access any course - including courses where they have guest role and course does not allow guests; merged from MOODLE_19_STABLE 2008-02-18 23:34:38 +00:00
skodak
93964e1aeb MDL-13302 gradebook data deleted now in remove_course_contents() - it makes better sense to have it there; merged from MOODLE_19_STABLE 2008-02-18 23:10:52 +00:00
skodak
0f7719da37 big big sorry, forgotten old debug code that sends all mails to null; merged from MOODLE_19_STABLE 2008-02-18 12:36:17 +00:00
skodak
61460dd631 MDL-13192 major stats cleanup patch - see tracker for more details; merged from MOODLE_19_STABLE 2008-02-16 18:33:50 +00:00
skodak
eebcab6107 MDL-13484 peak memory used perf info added 2008-02-15 11:32:34 +00:00
skodak
bbdf7510a6 MDL-13483 new hidden $CFG->noemailever setting to block sending of all emails - for dev sites only, set in config.php if needed; merged from MOODLE_19_STABLE 2008-02-15 10:47:02 +00:00
scyrma
a040b67d73 merge from 19_STABLE 2008-02-06 06:18:06 +00:00
scyrma
4928b5cfe5 merge from 19_STABLE 2008-02-04 06:45:56 +00:00
stronk7
63971f8b40 Detect used scales in course outcomes too. MDL-13307 ; merged from 19_STABLE 2008-02-03 16:40:34 +00:00
skodak
6a5dc27c18 MDL-13316 added static cache for time zone info; merged from MOODLE_19_STABLE 2008-02-03 16:01:33 +00:00
stronk7
14656d15a0 Respect $showfeedback when deleting groups and groupings. Merged from 19_STABLE 2008-02-02 20:43:18 +00:00
skodak
3a6c690a86 MDL-13239 improved smtp bulk setting based on feedback from Gary; merged from MOODLE_19_STABLE 2008-02-02 16:22:47 +00:00
skodak
c2f6fe2fbf MDL-13239 smtp bulk sending; merged from MOODLE_19_MERGED 2008-02-01 07:05:58 +00:00
poltawski
fc4b2decc0 MDL-13179 - avoid calling get_admin() when unecessary.
It uses a relatively complex query and its not needed except
for a minority of users so we may as well avoid it..
merged from MOODLE_19_STABLE
2008-01-26 17:00:03 +00:00
poltawski
efae27bb45 MDL-13068 - fix typo causing course delete to fail
merged from MOODLE_19_STABLE
2008-01-25 21:09:36 +00:00
nicolasconnault
1bf7621ca4 MDL-13103 merging from 1.9 2008-01-25 13:00:45 +00:00
skodak
fd6fefb790 MDL-13084 SORT_LOCALE_STRING not defined < PHP 4.4.0; merged from MOODLE_19_STABLE 2008-01-21 18:18:07 +00:00
skodak
ff396fd597 MDL-13063 fixed comments and changeme password reset; merged from MOODLE_19_STABLE 2008-01-19 20:05:21 +00:00
mjollnir_
6a91692518 Merged from MOODLE_19_STABLE: MDL-13001 - adding support for language files in local/ directory. 2008-01-15 01:40:02 +00:00
skodak
3e475991f9 MDL-12793 PARAM_HOST incorrect cleaning; merged from MOODLE_19_STABLE 2008-01-01 17:23:05 +00:00
poltawski
1a4de3618b MDL-4692 - initalise var, merged from MOODLE_19_STABLE 2007-12-28 22:56:42 +00:00
mchurch
19c8cf7917 MDL-12703 - Use the 'welcometocourse' language string if there is no 'welcomemessage' property set in the course object. Currently, there does not seem to be any code or data items that would set this property. 2007-12-28 17:14:01 +00:00
skodak
e69499c8df MDL-12729 show recoverable fatal errors in DEBUG_ALL and DEBUG_DEVELOPER; merged from MOODLE_19_STABLE 2007-12-26 13:33:25 +00:00
skodak
4ef8e74c53 MDL-12725 remove_dir() does not return correct status and fails if dir does not exist + improved sanity test in check_dir_exists(); merged from MOODLE_19_STABLE 2007-12-24 21:16:30 +00:00
moodler
e0e322d9e7 Something really old we'll need later 2007-12-20 06:45:32 +00:00
skodak
9c305ba15a MDL-12655 set_config() should cast values to string because get_config does that too; merged from MOODLE_19_STABLE 2007-12-19 22:32:43 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
6265d4630b MDL-12103 new config option for mail newline chars; merged from MOODLE_19_STABLE 2007-12-17 23:44:25 +00:00
skodak
3f6ba95bc6 MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE 2007-12-15 13:28:01 +00:00
sam_marshall
d5fe85d5cc MDL-12431 Added ability for filters to contain lang files 2007-12-04 11:47:28 +00:00
toyomoyo
0c07a1c458 MDL-12399, shorten_text() truncates all closing tags 2007-12-04 05:10:12 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
scyrma
61b420ace2 Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164. 2007-11-22 06:28:58 +00:00
martinlanghoff
6fd511eb1c MDL-9399 moodlelib: set_config() deletes config entries if the value is NULL
New! Improved! If you pass NULL as the value, it will delete the
config entry for you.
2007-11-14 22:10:21 +00:00
martinlanghoff
8f9e1d2c4d accesslib: Move check_enrolment_plugins() to complete_user_login()
... where it belongs ;-)

load_all_capabiloties() gets called at several points where we don't
want to be re-querying the enrolment backends. It needs to  be called
before load_all_capabilities() and only by callers that are setting up
a logon session.

Those callers need to be calling complete_user_login() anyway, as they
need to set the Moodle cookie, log the logon action, etc. In fact,
those callers duplicate a lot of that code already.

The callers that don't duplicate code for the login are actually the
cases where the backend enrolment plugins should not be queried.

To be followed by callers cleanup...
2007-11-14 22:04:05 +00:00
martinlanghoff
a238e822a2 login/index, moodlelib: move session setup logic to complete_user_login()
Move most of the user session setup logic from login/index.php to
complete_user_login().
2007-11-14 22:03:46 +00:00