Commit Graph

149 Commits

Author SHA1 Message Date
stronk7 51f5316ac1 MDL-19452 add some (8) tests to check backslashes and quotes are properly handled 2009-06-22 16:49:09 +00:00
iarenaza 1ce6d0ec1f subnet address: MDL-19509 Fix code and unit tests to comply with RFC4632 (prefix notations and behaviour)
Backported some code from HEAD to do it.
2009-06-21 23:35:10 +00:00
fmarier a4e6bba980 MDL-2794 testweblib: adapt the unit tests to the output of new html2text library 2009-06-15 05:56:00 +00:00
skodak 79536558fa MDL-17841 removed bogus remove lib/simpletest/slowcodetest.php 2009-01-10 13:48:06 +00:00
tjhunt 954a3a0b9c weblib: MDL-17606 Make the highlight function better, with unit tests. 2008-12-11 10:34:07 +00:00
tjhunt ead49b0e44 moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32. 2008-10-24 02:54:16 +00:00
tjhunt 1bc9815601 MDL-15655 - address_in_subnet does not work on 64 bit architectures. Also, we found some other issues with this funtion while diagnosing the problem. 2008-09-01 04:17:52 +00:00
tjhunt 9ef749413f Remove broken unit test. 2008-08-13 06:21:49 +00:00
sam_marshall d517630b63 MDL-15263 Fixed numeric entities remaining after html_to_text 2008-06-16 14:01:52 +00:00
tjhunt 26337523fa New convinience function in accesslib: get_parent_contextid. Also, the start of some unit tests for accesslib, but only this trivial funciton, and the get_parent_contexts function it is based on. Still, it is a start. 2008-05-12 15:28:31 +00:00
nicolasconnault 78c05837f4 MDL-14081 Adding the fullname value to test grade_outcomes 2008-04-02 06:36:36 +00:00
nicolasconnault 60ddeb3f09 MDL-14065 Fixed gradebook unit tests, including a bug fix in grade_item class.
Commented out buggy backuplib tests, and replaced E_ALL with DEBUG_DEVELOPER in dmllib tests

Backporting from HEAD
2008-03-27 17:13:00 +00:00
nicolasconnault 227323aecf Backporting small changes from Head 2008-01-24 19:05:00 +00:00
stronk7 91cd49491c Changing wrong UNSIGNEDs to nulls in tests. MDL-11662 2007-12-08 18:52:12 +00:00
nicolasconnault 08403fd61c MDL-9506 Implemented and tested the new API functions 2007-11-21 10:04:19 +00:00
tjhunt 435d7bdba9 Unit tests for MDL-9295 - clean_param with PARAM_URL/PARAM_LOCALURL. Merged from MOODLE_18_STABLE. 2007-10-30 10:46:23 +00:00
nicolasconnault 01d786178d MDL-8605 Backup and restore implementation 2007-10-12 20:24:00 +00:00
nicolasconnault 56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
nicolasconnault b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +00:00
skodak d926630485 MDL-11504 fixed defaults in grade_items/display; added decimals and display to grade_items_history 2007-09-28 21:00:31 +00:00
skodak fcac8e513a MDL-11357, MDL-11358 cleanup and improvements in public grade API - new function grade_get_grades() that returns all grading information (grade item data, outcomes and user grades); other minor improvements and bugfixes; updated assignment to use new grade API 2007-09-22 20:21:44 +00:00
skodak 3f2b0c8aba MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
nicolasconnault e480c18cf1 MDL-11312 Added new grade_letters table, and new grade_items.display field. 2007-09-18 14:26:15 +00:00
skodak c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
skodak cb5105a872 MDL-9960 more support for NULLs in db values + unittests 2007-07-29 15:20:51 +00:00
skodak 23207a1a6a MDL-10563 item excluding implemented;
improved/fixed grade edit page;
some other improvements and cleanup
2007-07-21 14:24:39 +00:00
skodak 9acbd7269c MDL-10364 improved internal formula format 2007-07-21 08:43:51 +00:00
skodak 2a8c101f69 MDL-10065 move lib/simpletest/grade/simpletest elsewhere
+ fixed categroy locking unittest and minor problem with return value
2007-07-17 14:25:20 +00:00
skodak c86caae78a MDL-9137 new grade_grades field overridden; item edit form fixes; other minor fixes and improvements 2007-07-10 18:08:24 +00:00
skodak 98353ff194 MDL-9137 new grade_grades field overridden 2007-07-10 08:55:06 +00:00
skodak 6b6f345266 MDL-6855 fixing id in new grade tables to be unsigned in unut tests 2007-07-10 07:57:58 +00:00
skodak 004081182d MDL-10226 fixed item unit tests 2007-07-08 15:14:26 +00:00
skodak 5656785b6f MDL-10226 fixed categroy unit tests 2007-07-08 15:07:16 +00:00
skodak aaff71daf4 MDL-10365 Improved handling of history when inserting/updating/deleting in new grade reports;first part 2007-07-06 12:49:28 +00:00
skodak c3146da7ac complete unit tests for grade_item + minor cleanup in insert and update 2007-07-04 17:52:43 +00:00
skodak 6639ead31e complete unit tests for grade_category, minor API cleanup, fixed forced regrading in grade_category 2007-07-03 10:06:08 +00:00
skodak f13002d53e MDL-9629 fixed regressions in grade reports caused by my previous commits, added unfinished forms for category and item edit 2007-06-30 21:12:47 +00:00
jamiesensei 7856a8c384 removing file that mistakenly was committed to HEAD 2007-06-30 04:22:51 +00:00
jamiesensei c28245d7e5 test for questionlib on MOODLE_19_QUESTIONS branch 2007-06-30 03:50:52 +00:00
skodak b3ac6c3ef0 MDL-10224 total course grade implemented + lots of other changes and improvements; there are still some regressions and bugs - going to fix them ASAP; some unit tests still missing too 2007-06-28 13:20:30 +00:00
skodak 22e23c78a0 MDL-10251 finished hiding implementation for grades, items and categories + unit tests 2007-06-25 15:29:31 +00:00
skodak 93def7683e removing itemnumber generation for now 2007-06-25 08:01:04 +00:00
skodak f92dcad81a MDL-10233 improved static factory methods of grade obejcts fetch() and fetch_all(); implemented default values of grade objects, fixed null values for some properties that are not required - unit tests included, tested with PHP4 and PHP5 2007-06-24 22:26:33 +00:00
skodak 772ddfbfce trailing whitespace cleanup in new grade libraries 2007-06-23 16:51:09 +00:00
skodak 61c33818d5 MDL-10231 merge grade_calculations and grade_items table + calculation improvements
MDL-10233 fixed grade_*::fetch() - does not modify $this anymore, we can now use it from normal methods to fetch other objects of the same class.
2007-06-23 16:33:17 +00:00
skodak 2e53372c37 MDL-10226 regrading of final grades improved, calculation cleanup before MDL-10231 2007-06-22 18:33:32 +00:00
skodak 2cc4b0f90d MDL-10223 Implement locking of grades and grade items - cron support still not implemented;
this patch also contains improvements in handling of needsupdate, though it is not yet fully working for calculated grades
2007-06-22 08:57:39 +00:00
skodak ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
skodak df3cb76fc4 MDL-9137 calculated grades should work now, some other minor cleanup 2007-06-18 22:52:55 +00:00
skodak b8ff92b66b MDL-9137 various grading improvements
1/ initial support for migration of old grade_items and categories (not tested)
2/ rewritten grade update and calculation logic
3/ initial support for calculation formulas
4/ minor API refactoring and cleanup
5/ various small bugfixes
6/ fixed use of grademax with scales
7/ fixed some unit tests

TODO:
* implement proper locking of grades - needs discussion
* force recalculation of all formulas after adding/removing/changing of grade items
* better delete flag support
* support for NULLs n backup - Eloy already proposed a solution
* support for NULLs in set_field()
* speedup
* more unit tests nd functional tests
2007-06-18 13:43:40 +00:00