30245 Commits

Author SHA1 Message Date
moodler
156df4ed3f Merged MDL-90 partial patch for the new webdav_locks table from Martin Langhoff 2008-02-27 04:38:39 +00:00
moodlerobot
6b808e3a96 Automatic installer.php lang files by installer_builder (20080227) 2008-02-27 03:24:04 +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
c01a1ce0f2 MDL-13158 choice/index.php only return values for choices in the current course.; merged from MOODLE_19_STABLE 2008-02-26 23:19:58 +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
skodak
25322ba36f MDL-10990 4) added missing indexes into data module; merged from MOODLE_19_STABLE 2008-02-26 22:04:23 +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
525041df91 MDL-10990 5) eliminated reply related cap queries for guests and not-logged-in users because they can not post anyway, removed reply link for guests from news posts, they did not see Add discussion link already; merged from MOODLE_19_STABLE 2008-02-26 21:36:48 +00:00
skodak
2d2b6de176 fixed broken lang string with incorrect "; merged from MOODLE_19_STABLE 2008-02-26 21:24:10 +00:00
skodak
5699126226 MDL-10990 1) fixed slow guest query with no mnethostid; merged from MOODLE_19_STABLE 2008-02-26 20:01:07 +00:00
skodak
56ca1c60de MDL-12927 installer should detect the magic quotes settings and undo the slashes if necessary; merged from MOODLE_19_STABLE 2008-02-26 19:51:13 +00:00
skodak
03076be407 MDL-6591 inverted checkbox for email notification; MDL-9657 - fixed date issues in drafts; merged from MOODLE_19_STABLE 2008-02-26 19:27:43 +00:00
skodak
8cadac9dc7 MDL-13623 proper version detection; merged from MOODLE_19_STABLE 2008-02-26 18:35:30 +00:00
nicolasconnault
0ba5a45a0e MDL-13663 Docs updated. Merging from MOODLE_19_STABLE 2008-02-26 16:27:24 +00:00
nicolasconnault
5a7e8cf985 Missing string, merging from MOODLE_19_STABLE 2008-02-26 13:02:59 +00:00
moodler
0aa05b3204 Merged MDL-13672 tag name function was not updated when tag/lib.php changed 2008-02-26 12:46:51 +00:00
sam_marshall
d9b063277b MDL-13660: Allow admin reports to have db tables, cron 2008-02-26 10:34:51 +00:00
nicolasconnault
c2acd8318b MDL-13663 Docs updated. Merging from MOODLE_19_STABLE 2008-02-26 10:00:10 +00:00
moodler
d5b8dc1d61 Merged MDL-13569 Mark N patch for notice 2008-02-26 09:05:51 +00:00
moodler
6023354bf7 Merged MDL-12634 - fixed back link 2008-02-26 08:43:31 +00:00
moodler
c8fbaa75b4 Merged MDL-12294 Fixed some strings 2008-02-26 08:34:53 +00:00
moodler
0de80bcfe6 Merged MDL-12294 Fixed more missing strings 2008-02-26 08:27:19 +00:00
moodler
739f202752 Merged MDL-12294 FIxed some wrong string 2008-02-26 08:07:39 +00:00
moodler
3674c3985e MDL-12294 Merged language fixes from stable 2008-02-26 08:02:16 +00:00
scyrma
050be63e0f MDL-10639 - Removed "Export" column - export all available outcomes (merge from 1.9) 2008-02-26 07:30:34 +00:00
moodler
f191a887c6 MDL-12294 merge parentlang 2008-02-26 07:29:09 +00:00
moodler
cf23a77554 Merged MDL-12248 custom_corners people can now use roles ;-) 2008-02-26 07:16:31 +00:00
moodler
3458a294c4 MDL-11809 Fixed broken headline 2008-02-26 07:02:01 +00:00
scyrma
bbb4ba59e5 MDL-13669 - Editing now only lists the manually added tags 2008-02-26 06:54:45 +00:00
scyrma
9c5f33ade9 MDL-13404 - Missing part of previous commit : args to tag_get_related_tags have changed (merge from 1.9) 2008-02-26 06:51:12 +00:00
scyrma
537aa65c5d MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9) 2008-02-26 06:43:54 +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
moodler
77b4ca5f93 MDL-9367 Merged auth doc fixes from 1.8 and 1.9 2008-02-26 05:51:11 +00:00
scyrma
2dc038ffb5 MDL-13642 - re-added the proper query limits 2008-02-26 05:08:53 +00:00
scyrma
2f9ba531bf MDL-13404 - Fix to a few queries, to prevent problems, as suggested by Eloy 2008-02-26 02:39:29 +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
f4fa5a636c MDL-13483 adding noemailever info; merged from MOODLE_19_STABLE 2008-02-25 14:30:45 +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
42f50aec59 MDL-9657 advanced upload assignment draft tracking now available as activity setting; merged from MOODLE_19_STABLE 2008-02-25 13:34:17 +00:00
skodak
39bc9fbbbb MDL-9657 better dealing with drafts in assignment; merged from MOODLE_19_STABLE 2008-02-25 12:39:48 +00:00