26227 Commits

Author SHA1 Message Date
csantossaenz
60a3aaf932 Added auxiliar functions for sequencinglib.php 2007-05-03 12:52:11 +00:00
jamiesensei
b07b4bd246 removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php 2007-05-03 10:38:35 +00:00
jamiesensei
b72ff47685 moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var. 2007-05-03 10:10:01 +00:00
jamiesensei
fcdb06c470 change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.
small changes to moodle_url class
2007-05-03 10:03:59 +00:00
nicolasconnault
5501446df5 MDL-9506 Added grade_outcome.php. Also added unit test for creation of log in history table when grade_raw is updated. 2007-05-03 08:51:48 +00:00
nicolasconnault
4d0263c6e2 MDL-9506 See previous revision. This adds same functionality but in relation to the hidden field. 2007-05-03 08:08:38 +00:00
nicolasconnault
fae51e127b MDL-9506 Added grade_item::toggle_locking and unit tests. Affects all final grades if reqested. 2007-05-03 08:02:51 +00:00
ikawhero
6f93e96c19 Config setting for the theme order priorities. 2007-05-03 07:39:27 +00:00
ikawhero
08297dcb3c New mimetype for Inspiration application.
Icon and code patch from Julian Ridden.
2007-05-03 07:15:30 +00:00
nicolasconnault
27f95e9b47 MDL-9506 Upgraded grade_item::adjust_grade with Darlene's more elegant formula. Completed grade_category::get_children($depth, $arraytype). Added 4 constants to help that method. Added and passed all unit tests (111 now). 2007-05-03 07:10:22 +00:00
ikawhero
a907c54043 GUI for category themes.
New language strings.
2007-05-03 07:00:55 +00:00
nicolasconnault
cb63031c37 MDL-9506 Removed childrentype after discussion with Martin D. 2007-05-03 05:44:33 +00:00
jamiesensei
86909ce047 small fix to get question code to return to correct place after creating a new question. 2007-05-03 05:17:07 +00:00
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
gbateson
14c6e7e0ee set default body font-size to "small" 2007-05-03 01:02:06 +00:00
gbateson
3b494b543c add HP 6.2 templates; add compatability with Safari (Mac browser); microincrement version to 2007020201 (release 2.4.1) 2007-05-03 00:22:50 +00:00
danmarsden
fedd20219f MDL-8394 Allow students to remove their choice when they are allowed to update their choice. LANG file update. 2007-05-03 00:06:17 +00:00
danmarsden
243ac1feb4 MDL-8394 Allow students to remove their choice when they are allowed to update their choice. 2007-05-03 00:04:53 +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
poltawski
0a5dffccd7 MDL-9627 - moving uploaduser to formslib 2007-05-02 09:33:56 +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
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