6035 Commits

Author SHA1 Message Date
nicolasconnault
8436e8b94b MDL-13828 Updated to YUI 2.5.0 2008-03-07 09:48:29 +00:00
tjhunt
1ba25b6820 Fix typo. 2008-03-06 15:04:09 +00:00
nicolasconnault
27c9bf2445 MDL-12182 fixing fixtures 2008-03-06 14:55:10 +00:00
nicolasconnault
4a88e245bd MDL-12182 merging from MOODLE_19_STABLE 2008-03-06 14:28:20 +00:00
nicolasconnault
43ea3f3ca6 MDL-12182 Fixing unit tests for gradebook. Mainly a change in set_locked() arguments. Merging from MOODLE_19_STABLE 2008-03-06 13:51:55 +00:00
moodler
fffb5d240a Merged MDL-13810 Fixed check for ul.timeaccess 2008-03-06 02:15:00 +00:00
moodler
8cd9482066 Fix the display of the release (merged from 1.9) 2008-03-05 05:36:49 +00:00
skodak
2516a42ad1 MDL-13762 some debug code and workaround for sloppy use of recordsets; merged from MOODLE_19_STABLE 2008-03-04 09:24:04 +00:00
skodak
91f9a62c3f MDL-13730 site setting for aggregation of scales; merged from MOODLE_19_STABLE 2008-03-03 11:03:54 +00:00
moodler
12d0d174b7 Merged MDL-13754: get_users_by_capability minor fix 2008-03-03 06:20:52 +00:00
skodak
e1ce4a652c MDL-13705 2008-03-01 13:11:31 +00:00
scyrma
603443b519 MDL-13728 - Tag form editing now provides a checkbox to set the tag type (official or not), and it's all base on tag:manage. (merge) 2008-02-29 09:35:04 +00:00
moodler
be4c1a81d6 Merged MDL-13676 Fixed some mistakes I just made 2008-02-29 08:56:39 +00:00
scyrma
a9a4a1f914 MDL-13728 - Removing old capabilities and creating a new one for tag type modifications. (merge) 2008-02-29 08:47:50 +00:00
moodler
87486420a5 Merged MDL-13676: last-minute field change to fix an Oracle problem 2008-02-29 08:44:23 +00:00
tjhunt
36832e1a30 MDL-13723 - Unbalanced brackets in get_users_by_capability in the groups bit. 2008-02-28 22:41:38 +00:00
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