skodak
8cd2314b9a
MDL-13705
2008-02-28 21:17:52 +00:00
skodak
15cda9c89f
MDL-13705
2008-02-28 21:01:02 +00:00
tjhunt
e2ae84a298
MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language.
2008-02-28 12:53:02 +00:00
scyrma
21bf0ecc70
MDL-12726 - Making the htmlarea width default to 598 if it's null, don't touch it otherwise (merge from 1.9)
2008-02-28 08:14:20 +00:00
scyrma
405201f4b8
MDL-11242 - Setting the width back to it's 1.8 value. This makes it a bit too large for the message window, but is necessary for IE7/Vista (merge
...
from 1.9)
2008-02-28 03:12:52 +00:00
nicolasconnault
8f6fdf4335
MDL-13674 Course category fullname field is no longer required. If set to empty it will be recorded in the DB as ?, and the course name will be used instead wherever the category name is displayed. Merging from MOODLE_19_STABLE.
2008-02-27 12:48:20 +00:00
skodak
7fc1a27d05
MDL-90 fixed quickforms pear include regression; merged from MOODLE_19_STABLE
2008-02-27 11:09:27 +00:00
skodak
5fdd5693fe
MDL-90 fixed install.xml; merged from MOODLE_19_STABLE
2008-02-27 10:08:11 +00:00
skodak
52e95845e7
MDL-13695 precreating grades in grade calculation if needed; merged from MOODLE_19_STABLE
2008-02-27 10:01:46 +00:00
moodler
156df4ed3f
Merged MDL-90 partial patch for the new webdav_locks table from Martin Langhoff
2008-02-27 04:38:39 +00:00
martinlanghoff
9f75b5886f
MDL-90 PEAR/HTTP/WebDAV: fix file name encoding ... for real this time?
...
Cherry picked from upstream.
2008-02-27 03:01:56 +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
martinlanghoff
a4c371ece6
MDL-90 lib/setup: extend include_path to cover the PEAR libs we distribute
...
Almost no cost - most of our require/include calls are with
absolute paths, which will skip the include_path. The few
that are not absolute are usually to include PEAR libs -
so this is appropriate and avoids having to change the
PEAR libs themselves when they make references to other
PEAR libs.
Using the include path does mean that OS-installed PEAR libs
will override ours. There's a small compat risk here - if you
need to ensure a particular version, use an absolute path.
2008-02-27 02:55:36 +00:00
martinlanghoff
7cfb11db0b
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()
...
So that commandline scripts can die with a message and
a nonzero errorcode
2008-02-27 02:52:28 +00:00
martinlanghoff
8f64ba0483
MDL-90 Introducing MOODLE_SANE_INPUT and MOODLE_SANE_OUTPUT to setup.php
...
These two constants indicate that the Moodle core should not mangle
input (magic quotes of any kind verboten!) and should not spit odd stuff
in the output (displaydebug verboten!). Both are needed for WebDAV
support.
MOODLE_SANE_INPUT is tricky - it means that the codepaths _must_ use
$db->qstr() (or addslashes() - but that has its own problems).
2008-02-27 02:51:49 +00:00
martinlanghoff
c336b0b023
MDL-90 lib/pear: Included System.php - used by WebDAV libs
...
We need to resolve the dual-licensing of this if we are going to
distribute it with Moodle - see MDL-6693
2008-02-27 02:50:59 +00:00
martinlanghoff
22fc3bc537
MDL-90 Imported PEAR's HTTP_WebDAV_Server from HEAD @ 28-01-2008
...
This is a very strict import - did not include any of the
sample files (which are quite dangerous!). See the
README_MOODLE.txt for details.
2008-02-27 02:49:20 +00:00
skodak
e06d74d572
MDL-10990 2) added event table index for calendar block/view ; merged from MOODLE_19_STABLE
2008-02-26 22:48:16 +00:00
martinlanghoff
656418b179
MDL-11180 datalib: get_courses() - grab the course context as part of the select
...
This speeds up course & category listing enormously - cutting 2500 DB queries
for a site with 2500 courses. It's the power of the JOIN...
2008-02-26 21:48:08 +00:00
skodak
8cadac9dc7
MDL-13623 proper version detection; merged from MOODLE_19_STABLE
2008-02-26 18:35:30 +00:00
sam_marshall
d9b063277b
MDL-13660: Allow admin reports to have db tables, cron
2008-02-26 10:34:51 +00:00
moodler
f191a887c6
MDL-12294 merge parentlang
2008-02-26 07:29:09 +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
skodak
2c20af9c75
MDL-13626 fixed mssql compatibility issue in stats upgrade; merged from MOODLE_19_STABLE
2008-02-25 21:55:43 +00:00
skodak
183f9cc99c
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_19_SATBLE
2008-02-25 20:39:42 +00:00
skodak
5087c945ec
MDL-13661 - fixing incorrect use of array_shift; merged from MOODLE_19_STABLE
2008-02-25 20:22:59 +00:00
skodak
6b7af68720
MDL-13237, MDL-13661 - fixing rcache regression, sorry :-(; merged from MOODLE_19_STABLE
2008-02-25 15:15:36 +00:00
skodak
585385278c
MDL-13483 found two more native php mail() commands; merged from MOODLE_19_STABLE
2008-02-25 14:05:06 +00:00
skodak
d28f25a493
MDL-13653 droplow not ignoring ungraded items un sum aggregation; merged from MOODLE_19_STABLE
2008-02-25 12:17:46 +00:00
poltawski
d1731fda35
MDL-9667 - convert_tree_to_html doesn't set css class properly if
...
$tab->linkedwhenselected is set
Patch from Jeff Graham
merged from MOODLE_19_STABLE
2008-02-25 11:58:12 +00:00
scyrma
d0578e4ea4
MDL-13624 - Use bigint(10), not bigint(11). This update doesn't change the schema on a site that's already installed.
2008-02-25 08:21:21 +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
moodler
2060540b53
MDL-13631 Removed a pass-by-reference that was causing a notice in PHP5
2008-02-25 02:37: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
67ce5270fb
MDL-13520, MDL-13604, MDL-13620 stats - better simplified parent context join, administrator now counted too, optimised processing when no day logs present; merged from MOODLE_19_STABLE
2008-02-23 22:55:15 +00:00
skodak
c7e6b7e462
MDL-13399, MDL-13614 fixed regression caused by last commit; merged from MOODLE_19_STABLE
2008-02-23 19:29:25 +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
cdcd72838b
MDL-13532 removed incorrect coalesce+count combination; merged from MOODLE_19_STABLE
2008-02-23 11:55:18 +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
skodak
9801a97a36
MDL-13550 deprecated primary role concept; merged from MOODLE_19_STABLE
2008-02-21 09:30:13 +00:00
skodak
da4aa3e4bd
MDL-13561 add cmid index to log table to speedup reports that deal with individual activities; merged from MOODLE_19_STABLE
2008-02-21 09:27:11 +00:00
skodak
8e5a25f6f0
MDL-13560 simplify dealing with role name course aliases; merged from MOODLE_19_STABLE
2008-02-21 09:20:20 +00:00
moodler
3923874573
Fixed $displaypage notice by initialising it
2008-02-21 06:14:02 +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