nicolasconnault
f440c2d1b1
MDL-9506 Implemented get_raw and get_final, plus added method_exists() checks for each unit test.
2007-04-30 02:05:51 +00:00
martinlanghoff
a4b6d764dd
ddllib: Introducing create_temp_table()
...
Close sibling to create_table() - will create a temporary table.
Two aspects of its usage are interesting
- you _must_ truncate the table after creation as you may be
"inheriting" an existing temp table from the former user
of your persistent connection
- you must use the tablename returned to support MSSQL and any
other DB that needs special names for temp tables
A couple of TODOs
- I just don't know how to actually munge the tablename for MSSQL
(help! Eloooooyyyy!)
- Surely Eloy will have something better than the preg_replace() ;-)
2007-04-29 20:31:47 +00:00
donal72
dd3d9dcf2e
Typo in previous commit: MDL-8973 : Update to the require_logout function
2007-04-29 15:08:29 +00:00
donal72
f8bd70303e
MDL-8973 : Update to the require_logout function to ensure that the user's auth plugin is the first (& only) one to have its prelogout_hook invoked.
2007-04-29 15:01:47 +00:00
tjhunt
ce5f45783e
MDL-9616 - tidy up
...
* add a better message in the table for these checks.
* improve existing strings for other types of check.
* remove a line of debug code.
2007-04-27 17:43:03 +00:00
tjhunt
bac40536f4
MDL-9616 - Custom checks in environment.xml
2007-04-27 17:15:24 +00:00
tjhunt
0eb6b04a73
New capability for configuring question types.
2007-04-27 10:37:39 +00:00
tjhunt
d4bf4b8695
Fix syntax error.
2007-04-27 10:37:21 +00:00
nicolasconnault
e5c674f1e1
MDL-9506 Added raw and final grade objects, plus more work in unit tests.
2007-04-27 08:12:16 +00:00
nicolasconnault
3058964f85
MDL-9506 Number of important changes, restored unit test stability, on to next changes...
2007-04-27 07:28:41 +00:00
toyomoyo
9d2cddf138
changing grades tables
2007-04-27 06:41:01 +00:00
jamiesensei
0d32a25dd5
oops. small mistake with copyright notice.
2007-04-27 05:36:03 +00:00
nicolasconnault
a56cb85c63
MDL-9506 Renamed lib/gradebook to lib/grade (bug MDL-9506)
2007-04-27 04:13:00 +00:00
nicolasconnault
1f3f3629a4
MDL-9506 Added a function that checks an object for the definition of a given variable. Similar to in_array().
2007-04-27 03:54:53 +00:00
nicolasconnault
8a31e65c51
MDL-9506 gradebook classes
2007-04-27 01:17:02 +00:00
skodak
1cb3da3613
MDL-9574 + MDL-9607 Add Change-own-password and Edit-own-profile capabilities
2007-04-26 21:41:08 +00:00
toyomoyo
8aaf935a1f
some events code/testing code
2007-04-26 08:50:29 +00:00
nicolasconnault
60cf74305d
MDL-9506 More work in the unit tests
2007-04-26 08:29:30 +00:00
nicolasconnault
f9f4a93b4e
MDL-9506 Refactored gradelib.php: an abstract class (php5 in mind) holds data and methods common
...
to all grade_* objects. The unit test file has also been refactored to improve clarity.
2007-04-26 07:14:12 +00:00
nicolasconnault
85414e846a
Upgraded simpletestlib from 1.0.1alpha3 to 1.0.1beta
2007-04-26 07:11:44 +00:00
skodak
eba8cd63b4
MDL-9588 Addd password reveal class to admin settings forms
2007-04-26 07:08:12 +00:00
nicolasconnault
eb2658e03a
MDL-9506 Changed grade_calculations.usermodified type to null from non-null.
2007-04-26 05:40:35 +00:00
nicolasconnault
27fbffb62b
MDL-9506 More implementation of gradebook API and more unit tests.
2007-04-26 04:39:40 +00:00
nicolasconnault
db07a42eda
MDL-9506 Added timestamps to grade_categories
2007-04-26 03:23:45 +00:00
toyomoyo
f9a09741c2
fix for MDL-9530, BLOB/TEXT column can't have a default value.
2007-04-26 02:28:05 +00:00
skodak
83022298df
MDL-8031 Enforce password complexity for user authentication - original patch by Iñaki Arenaza
2007-04-25 19:36:47 +00:00
tjhunt
47e1697814
The question core code was restricting question types unnecessarily. This is a temporary fix, prior to a proper refactoring.
2007-04-25 11:20:22 +00:00
tjhunt
732c472fca
Remove duplicate $Id$
2007-04-24 23:23:25 +00:00
skodak
b48d124a17
lets prevent detection of strict PHP5 errors in redirect in developer debug mode
2007-04-24 18:53:12 +00:00
tjhunt
5ea4af2210
Stop "Undefined variable: ALLOWED_TAGS" errors all over the place.
2007-04-24 17:09:12 +00:00
tjhunt
7d87171ba9
MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle.
2007-04-24 16:59:32 +00:00
skodak
4642650fa2
MDL-9561 Langimport does not ignore langlist when langcache used
...
MDL-9563 Improve refreshing of langcache, detect permission problems
part2
merged from MOODLE_18_STABLE
2007-04-24 16:33:06 +00:00
skodak
0a5ce9dd21
MDL-9561 Langimport does not ignore langlist when langcache used
...
MDL-9563 Improve refreshing of langcache, detect permission problems
merged from MOODLE_18_STABLE
2007-04-24 16:14:16 +00:00
skodak
70b8a73e62
MDL-9560 $CFG->langlist should accept both short (en) and long (en_utf8) names; merged from MODOLE_18_STABLE
2007-04-24 14:58:43 +00:00
skodak
14fba1729f
MDL-9559 setup_lang_from_browser should respect $CFG->langlist; merged from MOODLE_18_STABLE
2007-04-24 14:24:03 +00:00
sam_marshall
f130a9d810
Merged MDL-9556: HTML editor shortcut button should only appear when JS enabled
2007-04-24 11:59:17 +00:00
nicolasconnault
619a59a70f
MDL-9506 Set up the unit test bed and continued to implement gradebook API.
2007-04-24 08:50:19 +00:00
nicolasconnault
42bbccd722
MDL-9506 Finished initial draft of gradebook API.
2007-04-24 05:41:28 +00:00
toyomoyo
5cb564aa4a
grades tables
2007-04-24 03:28:31 +00:00
mattc-catalyst
70c6c0ad70
MDL-9474: Updated build_navigation() to use global $COURSE
...
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()
Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
tjhunt
7c77033fb6
MDL-9524 - Formslib gets confused if a required field is frozen. Merged from MOODLE_18_STABLE.
2007-04-23 16:19:25 +00:00
nicolasconnault
5834dcdb1d
MDL-9506 First draft of gradelib, and the stubs for the unit tests.
2007-04-23 09:00:32 +00:00
skodak
9170670188
MDL-9233 denied and allowed email address domains are not matched correctly
2007-04-21 20:06:56 +00:00
skodak
80274abfa1
MDL-9429 make clear that alternate change password url is used only when user is logged in, for example change url may contain $USER->username; other minor cleanup
2007-04-20 10:02:38 +00:00
toyomoyo
4de19d9296
adding a new key
2007-04-20 01:39:22 +00:00
mjollnir_
c68e9d06f6
xmldb: added $CFG options for disabling next / previous value checkings & enforced comment checking. merged from mahara :)
2007-04-20 00:10:52 +00:00
skodak
85fbf88489
MDL-9151 fixed missing global definition, sorry :-(
2007-04-19 12:18:44 +00:00
jamiesensei
dac786f300
MDL-9437 lib/listlib.php for displaying and editing a nested list of items. And changes to question\category.php to use the new lists.
2007-04-19 08:57:54 +00:00
toyomoyo
0856223c50
mechanism to install events
2007-04-19 08:45:30 +00:00
skodak
e0ac8448c7
MDL-9151 HTML Purifier cleaning support - enable switch is in experimental section
...
MDL-9435 Reviewved url cleaning in redirect()
2007-04-18 21:52:03 +00:00