jamiesensei
360e503e6e
MDL-9644 new class 'moodle_url' in weblib.php to handle constructing a url. It would internally stores params as an array and have methods to manipulate the array. The class can also output the params as hidden fields in a form or as a url with get params appended.
2007-05-03 04:34:53 +00:00
nicolasconnault
ec0009c3a4
MDL-9506 Added childrentype field to grade_categories table
2007-05-03 01:43:33 +00:00
ikawhero
8f8210b3e8
1. Changes to allow different priorities in the theme selection based on
...
CFG->themeorder setting
2. Changes to allow category themes. Theme can now be set for a category
which will apply to all sub-categories (unless they specifically have a
theme set) and to child courses (course theme and $CFG->themeorder
settings permitting). New config setting $CFG->allowcategorythemes must
be set. Off by default as it means extra database calls.
There is an ugly hack to find out if we are viewing course/category.php -
anyone welcome to tidy this up if they have a better idea.
GUI for setting category theme coming.
2007-05-02 09:35:35 +00:00
nicolasconnault
7c8a963f7b
MDL-9506 Finished all unit test stubs, another batch to write soon. One one test fails because I haven't implemented recursive category hierarchy output yet, and not sure if it's needed. A grade_category already returns its immediate children, and that may be enough.
2007-05-02 07:20:13 +00:00
ikawhero
ec75a182db
New field for category themes
2007-05-02 06:50:28 +00:00
toyomoyo
ca9ffa1887
adding capabilities for gradebook, MDL-9511
2007-05-02 06:30:54 +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
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
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
skodak
54bb33eb10
MDL-9652 rename new password reveal to unmask
2007-04-30 18:03:19 +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
anthonyforth
f62c4ca4de
Fix for bug 9646
2007-04-30 13:19:33 +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
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
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