30259 Commits

Author SHA1 Message Date
skodak
7955c18a5a MDL-12497 fixed regressionwhen saving site letters, fixed redirect; merged from MOODLE_19_STABLE 2008-02-27 08:58:55 +00:00
moodler
2f4b82f410 Merged tag_get() 2008-02-27 08:53:49 +00:00
nicolasconnault
05766b50c7 MDL-13579 Corrected a bug in default value selection for the grader report preferences form. Merging from MOODLE_19_STABLE 2008-02-27 07:51:38 +00:00
scyrma
73c32e86cf MDL-13404 - make tag_rename able to make a change in case, and prevent numerous possible missing addslashes problems. (merge from 1.9) 2008-02-27 07:30:12 +00:00
nicolasconnault
a2342ad3f0 MDL-13579 Reduced the setting to 3 locations. Merging from MOODLE_19_STABLE 2008-02-27 07:29:31 +00:00
moodler
ffcd3023e1 Merged further fix for MDL-13635 2008-02-27 07:13:09 +00:00
scyrma
844f9c150d MDL-13404 - Minor performance improvement and code cleanup (merge from 1.9) 2008-02-27 06:32:30 +00:00
moodler
e17500c0fe Just ptecting the directory 2008-02-27 06:14:24 +00:00
scyrma
47b13a7bd8 MDL-13633 - Now sorting correctly (merge from 1.9) 2008-02-27 06:03:24 +00:00
scyrma
cf79f661cb MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_print_cloud. (merge from 1.9) 2008-02-27 05:55:28 +00:00
moodler
26b862856c Merged MDL-13685 into head 2008-02-27 05:44:05 +00:00
moodler
8aa0c699b7 Merged MDL-6591 Simplified some wording and fixed the help file name for emailnotification 2008-02-27 05:07:57 +00:00
scyrma
579b632b23 MDL-10639 - Missing string (merge from 1.9) 2008-02-27 04:51:04 +00:00
scyrma
4e6d0c94c4 MDL-13633 - This is a first step toward integrating all "tag blocks" together. (merge from 1.9) 2008-02-27 04:49:28 +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
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