Commit graph

1432 commits

Author SHA1 Message Date
skodak
7267cfda93 MDL-14617 file_put_content emulation gone 2008-05-01 21:12:56 +00:00
scyrma
13b31d6f9d MDL-14569 - Remove linked tags when deleting users. (merge from 1.9) 2008-04-28 08:35:21 +00:00
stronk7
f4013c10d3 New setting in require_login() to avoid certain scripts (file.php)
to mess $SESSION->wantsurl. MDL-14495 ; merged from 19_STABLE
2008-04-25 18:55:36 +00:00
scyrma
6499395e99 MDL-14104: generate_password() now respects password policy (merge from 1.9) 2008-04-18 08:04:21 +00:00
stronk7
341b5ed236 Finally fixed version of lastaccess hadling.
Moved from add_to_log() to require_login(). MDL-14272 ; merged from 19_STABLE
2008-04-15 21:46:04 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
33998d30ea Fixed DST calculation when requesting explicit (parameter) timezones. MDL-14093 ; merged from 19_STABLE 2008-04-03 18:09:15 +00:00
stronk7
a8ee71948a MDL-13900 - If the course or the parent category are hidden and the user hasn't the 'course:viewhiddencourses' capability, prevent access. Merged from 19_STABLE 2008-04-03 00:59:34 +00:00
scyrma
ecde257b56 small code cleanup (merge) 2008-03-25 09:36:01 +00:00
scyrma
94c824304a MDL-13959 - Fix from Eloy - this makes the timezone-related functions accept an optional parameter different from the current user timezone. (merge) 2008-03-20 03:01:58 +00:00
scyrma
c93c6b3b3d MDL-13434 Addslashes removed, is added whenever necessary in tag/lib.php. 2008-03-19 08:12:14 +00:00
scyrma
4258003130 MDL-12235 deprecated document_file function. Not found anywhere in core. 2008-03-19 07:58:40 +00:00
skodak
b5f3a99c73 MDL-13412 Allow callers of email_to_user() to set wordwrap; merged from MOODLE_19_STABLE 2008-03-15 17:04:36 +00:00
scyrma
31b57a92bb Fixed a bug introduced somewhere down the late modifications.. 2008-03-13 08:38:37 +00:00
martinlanghoff
a489cf72cb MDL-90 moodlelib: Introducing get_cache_flag() - gets a row from cache_flags table
Useful if you intend to use cache_flags as a session
table. (Oops! Did I reveal my cunning plans?)
2008-02-27 02:57:33 +00:00
martinlanghoff
a668c80845 MDL-90 authenticate_user_login() - don't accidentally return a bogus $user
While I don't quite understand why we need that $user->id=0, at
_least_ make double sure we don't return it! Callers assume
that if we return an object===success and a user acct that just does
not exist will return an dummy object.
2008-02-27 02:56:48 +00:00
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