26154 Commits

Author SHA1 Message Date
toyomoyo
ca9ffa1887 adding capabilities for gradebook, MDL-9511 2007-05-02 06:30:54 +00:00
poltawski
5fe855d178 MDL-9660 - Fixed groups matches functions and added unit tests for them.. 2007-05-01 12:03:45 +00:00
toyomoyo
9e2e5943dc modifications to eventslib 2007-05-01 08:59:39 +00:00
nicolasconnault
ce385eb4e3 MDL-9506 Implemented category path and depth, and wrote unit tests for them. 2007-05-01 08:56:37 +00:00
tjhunt
b186cb9d86 Fix all the PHP syntax errors in this code. I can't think of any valid reason for checking code with that many syntax errors into CVS, especially when there are plenty of editors out there that check the syntax for you and highlight the errors. Also, can I point out that Moodle coding guidelines require spaces for indents, not tabs. (http://docs.moodle.org/en/Development:Coding) 2007-05-01 07:03:52 +00:00
skodak
41eb7f3236 MDL-9654 enforced password strength ignored in chage password - patch by Iñaki Arenaza 2007-05-01 06:55:03 +00:00
nicolasconnault
97b868a31c MDL-9506 Forgot to add the grade_scale.php file. 2007-05-01 05:47:10 +00:00
nicolasconnault
d5bdb228a5 MDL-9506 Finished grade_item::adjust_grade, which now also adjusts scale grades correctly. Added grade_scale object to wrap around the current non-normalized scale DB table. When/if we upgrade to grade_scales and grade_scale_items DB tables, changing the grade_scale class will be easy. 2007-05-01 05:45:54 +00:00
moodler
339e3c5375 Automatic installer.php lang files by installer_builder (20070501) 2007-05-01 04:14:59 +00:00
nicolasconnault
d8676dc32e MDL-9506 Implemented rescaling and grade adjustment formulas in grade_item::adjust_grade(). Also wrote unit tests. 2007-05-01 03:18:55 +00:00
andreabix
4e957c8698 Fixed Task MDL-9611 2007-04-30 18:18:07 +00:00
skodak
54bb33eb10 MDL-9652 rename new password reveal to unmask 2007-04-30 18:03:19 +00:00
skodak
fb01314b0e MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present
2007-04-30 17:28:29 +00:00
skodak
40935142f7 MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present
2007-04-30 17:28:29 +00:00
skodak
bb4b3ea4f8 MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present
2007-04-30 17:28:28 +00:00
skodak
635773c604 MDL-9647 simplify dealing with headers/footers in admin sections; fixed double footers when using print_footer() in admin page 2007-04-30 17:13:37 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
moodler
3f7353c5d8 Fixed discussions tab ... this is an old change I never checked in 2007-04-30 13:26:06 +00:00
anthonyforth
f62c4ca4de Fix for bug 9646 2007-04-30 13:19:33 +00:00
csantossaenz
f3800343b4 Fixed some bugs about undefined variables and added some more functions. Still work-in-progress file 2007-04-30 12:46:08 +00:00
moodler
de0bc10fea SOme small changes from the meeting today 2007-04-30 09:36:06 +00:00
nicolasconnault
b3f111607f MDL-9506 Lots more unit tests, and work on grade_item::update method and associated functionality. 3 unit tests currently fail, so more work needed. 2007-04-30 09:09:32 +00:00
toyomoyo
896f1e0380 events and grades db fixes 2007-04-30 08:46:39 +00:00
jamiesensei
71e0eda8f7 standardizing params for edit question page. All pages now use courseid instead of course or id. 2007-04-30 06:48:57 +00:00
nicolasconnault
869807d8e4 MLD-9506 Corrected update_final_grades() in grade_item, which was updating the grade_raw table
instead of grade_final. Made a few other adjustments.
2007-04-30 05:25:19 +00:00
nicolasconnault
e7e3f50fc2 MDL-9506 Removed redundant portion of code. 2007-04-30 05:00:17 +00:00
nicolasconnault
a8995b34df MDL-9506 Added grade_grades_raw as a proper object used by grade_item. Also added a global function in gradelib for updating grade_grades_raw objects. 2007-04-30 04:49:25 +00:00
donal72
533f791072 MDL-8973 : Undo API change in previous commit 2007-04-30 03:14:43 +00:00
toyomoyo
b0365fce35 merged fix for MDL-9613 2007-04-30 02:56:46 +00:00
toyomoyo
32bbbca1f0 adding 2 fields back 2007-04-30 02:06:48 +00:00
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
donal72
1bc6c1ed37 MDL-9288 - use addslashes to avoid injection attacks on data imported vi mnet 2007-04-29 14:09:27 +00:00
donal72
c8e564f5ff Bugfix: The $this->response['faultCode'] was returning the 1th element of the $this->response string (because a non-empty string == 1). 2007-04-29 13:55:11 +00:00
donal72
a9457b5485 Prevent notices on user creation 2007-04-29 13:50:33 +00:00
skodak
e4be47a0de MDL-9217 rearanged groups installation and upgrade - roles require groups; merged from MOODLE_18_STABLE 2007-04-29 11:40:26 +00:00
moodler
cf5077acd6 Automatic installer.php lang files by installer_builder (20070429) 2007-04-29 04:28:00 +00:00
donal72
1883612a1a Add missing closing-bracket from previous commit 2007-04-29 00:51:29 +00:00
moodler
d9a657f2ef Automatic installer.php lang files by installer_builder (20070428) 2007-04-28 04:19:24 +00:00
ikawhero
551022a5ef New language strings for textarea profile field type 2007-04-28 03:08:42 +00:00
ikawhero
86e95dfa9c New textarea profile field type 2007-04-28 03:07:43 +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
facc83a83a Get the strings the right way round! 2007-04-27 17:41:38 +00:00
tjhunt
bac40536f4 MDL-9616 - Custom checks in environment.xml 2007-04-27 17:15:24 +00:00
csantossaenz
134588836e Added functions to for the SCORM compliance 2004 (Sequencing and Navigation) 2007-04-27 12:20:26 +00:00
jamiesensei
efe839dc12 Removed 'edit category' redundant button 2007-04-27 11:27:57 +00:00
tjhunt
571da76788 MDL-6368 and MDL-6369 - supplimental - I missed one bit. 2007-04-27 11:18:08 +00:00
tjhunt
8e652f025b Insufficient error checking was causing problems. 2007-04-27 11:05:57 +00:00