Commit graph

4759 commits

Author SHA1 Message Date
jamiesensei
dc1f768351 reverting commit 1.889 "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&'. & breaks redirect on IE." It turned out to be unnecessary. 2007-05-29 06:27:38 +00:00
jamiesensei
d65cb30f63 reverting last commit "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&'. & breaks redirect on IE." It turned out to be unnecessary. 2007-05-29 06:14:09 +00:00
jamiesensei
24a905f98b fixed bug in parsing urls 2007-05-29 06:14:09 +00:00
nicolasconnault
646323549e MDL-9506 Resolved recursion issues in grade_tree:renumber and grade_tree::get_neighbour_element. Unit tests all pass now. 2007-05-29 04:07:04 +00:00
nicolasconnault
de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
jamiesensei
099f7fb6ca added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&'. & breaks redirect on IE. 2007-05-28 14:25:40 +00:00
skodak
7bddd4b787 MDL-9632; MDL-9545 basic assignment grading support - event triggers implemented + some minor cleanup 2007-05-28 08:55:15 +00:00
skodak
37db0ab8f8 MDL-9960 update_record() does not store NULLs; I hope it will not break anything 2007-05-28 08:49:40 +00:00
skodak
b5b65852c6 apply magic quotes before using var in sql query in fetch_all_using_this() 2007-05-28 08:20:07 +00:00
nicolasconnault
c91ed4be0d MDL-9506 Category and Item now set their own courseid if not set explicitly, and if they have enough information from
other sources. category::set_as_parent has a new constraint: cannot set over children from different courses.
Applied recursion to grade_tree::renumber(), but still some fine-tuning to do, since only grade_items are getting updated in DB.
2007-05-28 08:00:19 +00:00
nicolasconnault
d990776605 MDL-9137 Applied parts of Petr's patch on the gradebook objects. Unit tests unaffected. 2007-05-28 02:05:21 +00:00
nicolasconnault
526e1a8a25 MDL-9506 Corrected a number of small errors in unit tests and classes. 2007-05-28 01:26:58 +00:00
jamiesensei
3673f6bc3b added more phpdoc comments for hardFreezeAllVisibleExcept 2007-05-28 00:50:11 +00:00
jamiesensei
56015454dd new method hardFreezeAllVisibleExcept 2007-05-28 00:46:11 +00:00
skodak
271c7a98bc MDL-9959 debugging() shows warnings when called from call_user_func() functions
MDL-9958 addslashes_recursive() and stripslashes_recursive() modifies function parameter in PHP5
2007-05-27 22:55:52 +00:00
jamiesensei
9368476553 MDL-9734 fix for clean_param PARAM_LOCALURL bug 2007-05-27 11:19:04 +00:00
jamiesensei
64360ee7b5 made hardFreeze work properly for a whole form. New paramater in moodleform constructor 'editable' defaults to true. If true then display form as normal. If false then hardFreeze whole form. Now displays form without an submit buttons. If form is hard frozen no data is ever passed to get_data. 2007-05-27 05:01:51 +00:00
jamiesensei
7d8ea28668 MDL-9891 new 'clonepermissionsfrom' key in access.php 2007-05-27 04:53:02 +00:00
skodak
19e7f33384 MDL-9643 some more polishing 2007-05-26 13:11:54 +00:00
skodak
7458bee224 MDL-9643 some more polishing 2007-05-26 12:59:13 +00:00
anthonyforth
ae8fda4cb1 Fix for bug MDL-9942 2007-05-25 09:55:08 +00:00
skodak
a9cca58ea2 MDL-9643 minor maths unit test cleanup 2007-05-25 07:07:05 +00:00
nicolasconnault
8ae28b4959 MDL-9506 WOrking on grade_tree edit tree 2007-05-25 07:02:04 +00:00
skodak
8bbb7e471e MDL-9643 removing the sample files, use our unit tests instead 2007-05-25 06:54:48 +00:00
skodak
ffaa6c4abd MDL-9643 mathslib.php library, unit tests, removed e and pi constants 2007-05-25 06:50:09 +00:00
skodak
2d53fa5031 MDL-9643 evalmath library improvement - sample calc functions 2007-05-25 06:07:45 +00:00
jamiesensei
61d9b9fc5d oops. reverting changes which shouldn't have been committed to HEAD. 2007-05-25 05:49:51 +00:00
jamiesensei
bdc66c2a5d fix for category.php lists. Slight change in listlib api caused breakage. 2007-05-25 04:59:17 +00:00
skodak
0b5f7f5948 MDL-9643 evalmath library import - tweaks and wrapper class ahead 2007-05-24 19:12:18 +00:00
tjhunt
6e9debfbf1 Removing remaining references to RQP in core code. I had not realised there were so many. By the way, I am committing this from a pub in York. Pub's with wireless, whatever next? 2007-05-24 17:25:37 +00:00
skodak
98518b6221 MDL-9876 import adodb 4.95a 2007-05-24 17:14:58 +00:00
sam_marshall
8101dccb8e MDL-9920 Allowed xmldb to create 32-bit serial fields if specified, in postgres 2007-05-24 15:18:35 +00:00
nicolasconnault
2186f72cb1 MDL-9629 Beginning the edit category page. Also added dmllib::sql_max($field) and fixed a few bugs. Grade_item should now extrapolate its sortorder upon insertion if not set, by looking up the last sortorder in the table, and incrementing by 1. 2007-05-24 08:50:01 +00:00
nicolasconnault
5e2274737c MDL-9506 Added grademax extrapolation from scale info for grade_item, in insert() and update() methods. Corrected a few other minor bugs. 2007-05-24 03:32:20 +00:00
toyomoyo
3abe994563 fixing a typo 2007-05-24 03:07:27 +00:00
toyomoyo
ce34ed3a76 fix for MDL-9137, adding support for gradebook plugins for db, cron, events, permission structures etc 2007-05-24 02:16:31 +00:00
nicolasconnault
a15428a2f6 MDL-9889 Fixed a couple of bugs that were only detected by PHP5. Nothing major at all. 2007-05-24 02:08:20 +00:00
toyomoyo
5283e9598d correcting handling of scales 2007-05-23 07:26:38 +00:00
toyomoyo
9d5c91b111 fixing scale for grade_grab_grades() 2007-05-23 06:25:13 +00:00
jamiesensei
a69dacfd48 reverting back to version 1.2. Accidentally committed version 1.3 in HEAD. 2007-05-23 00:59:36 +00:00
tjhunt
5d852ba111 When using DEBUG_DEVELOPER, make error(...) output a stack trace. 2007-05-22 13:25:31 +00:00
skodak
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
jamiesensei
cd26d8e047 MDL-9857 "more options in print_context function" 2007-05-22 10:09:22 +00:00
nicolasconnault
9c585e573c MDL-9506 Changed grade_tree fullobjects param (not fully implemented) to $include_grades param, default to false, fully implemented. Full objects are always loaded when building the tree, but grades are only loaded conditionally. 2007-05-22 09:03:33 +00:00
nfreear
ac9052357a Follow up for MDL-9753, accepts HTML for $text param (THEME->larrow, rarrow don't work in stock IE6). 2007-05-22 08:59:56 +00:00
nicolasconnault
92a66edf7a MDL-9506 Implemented grade_tree->update_db, fixed bugs in grade_category etc... 2007-05-22 04:38:20 +00:00
toyomoyo
9fffb69162 MDL-8877, specify time of manual enrolments and related improvements for changing enrolment period from user/index.php. Thanks Andrei! 2007-05-22 02:08:22 +00:00
skodak
4db13f9465 MDL-9880 Remove user_activate() method from public API because it was used only from user_confirm() in LDAP, other plugins use only user_confirm()
MDL-9575 fix email signup in ldap auth mod
2007-05-21 20:33:42 +00:00
jamiesensei
9ae3af87ae MDL-9856 allow passing moodle_url to moodle_form constructor as action instead of passing url as a string 2007-05-21 16:11:17 +00:00
skodak
97c13bd803 MDL-9866 incorrect include() in simpletest library 2007-05-21 14:27:22 +00:00