Commit Graph

194 Commits

Author SHA1 Message Date
Eric Merrill 17e56698ec MDL-49332 gradebook: Raise time limit if we get into regrade
Because all regrading should (and does) start from this point, it
is safe and best to call it just once, from this point.
2015-03-05 10:09:40 -05:00
Juan Leyva a7888487f0 MDL-46527 grades: grade_get_grades external function rewritten 2014-10-21 12:10:01 +02:00
Frederic Massart ef1b3e56f7 MDL-47345 core_grades: Pre-regrade method is executed from children to parent
Part of: MDL-46576
2014-10-03 13:53:02 +08:00
Frederic Massart fcf6e01517 MDL-47056 core_grades: Prevent items being displayed as 'Error'
Before this patch we would be marking some items as 'needsupdate'
during an update. Leaving them aside and not effectively updating
them.

Part of: MDL-46576
2014-10-03 13:51:30 +08:00
Tim Hunt 5bcfd504df MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
Juan Leyva 198e802f9d MDL-30085 core_grades functions moved to correct location 2014-03-31 15:15:17 +02:00
Andrew Davis d35499312d MDL-30085 core_grade: added a grade web service 2014-03-31 15:15:17 +02:00
Petr Škoda 2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Petr Škoda bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Frederic Massart 8e8891b76b MDL-40403 libraries: Deprecate get_parent_contexts() 2013-07-09 13:34:44 +08:00
Andrew Davis 459843d495 MDL-32913 core_grade:made it more obvious when the gradebook is broken due to a broken calculation 2013-05-02 09:03:02 +08:00
Andrew Davis 69bcca5e9c MDL-36061 core_grade: added some unit tests related to refresh_grades() 2012-11-15 11:14:21 +08:00
Adrian Greeve b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Andrew Davis ca540697f1 MDL-31362 grade: removed GRADE_UPDATE_ITEM_DELETED as it is not genuinely being used anywhere 2012-03-03 10:00:01 +07:00
Eloy Lafuente (stronk7) a4d7604977 MDL-30999 grade phpdocs - change some inline @see by correct @link 2012-02-20 12:09:50 +01:00
Andrew Davis a153c9f2fe MDL-30999 grade: updated Grade API phpdocs 2012-02-14 14:04:19 +07:00
Petr Skoda 16ef46e7b6 MDL-29450 improve and cleanup course content removal
New keep roles/enrolments and groups/groupings options, notification CSS fixed, standardised notification texts, added missing delete of module blocks, fixed file deleting and some other minor issues.
2011-11-23 18:37:36 +01:00
Sam Hemelryk d609d96261 MDL-28599 textlib Separated collator to collatorlib with static methods, and added support for locale aware sorting of objects 2011-09-06 15:39:00 +12:00
Petr Skoda cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Petr Skoda 2293a504eb MDL-25718 fix incorrect 'no grade' test and improve coding style 2011-04-12 10:06:13 +02:00
Andrew Davis (andyjdavis) 13ba903634 enrol MDL-25718 added ability to recover user grades from grade history 2011-04-08 15:06:27 +08:00
Eloy Lafuente (stronk7) b967c54185 MDL-25708 recordsets - fix events/grade/group/moodle libs 2011-01-25 19:58:59 +01:00
Petr Skoda 365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda d9504e4446 improved phpdocs 2010-09-18 11:57:26 +00:00
Petr Skoda c6947ba7a5 MDL-23899 migration to new locale aware asort 2010-09-05 13:00:47 +00:00
Andrew Davis f5a299538d gradebook MDL-23577 added a helpful comment 2010-07-30 06:41:38 +00:00
Andrew Davis a51897d8d0 gradebook MDL-23577 updated grade_update_outcomes to return a success/failure flag 2010-07-30 06:39:50 +00:00
Petr Skoda 78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
David Mudrak 3d83539cb3 MDL-22062 Make idnumber of additional module grade items editable in the gradebook
This patch allows grade items with itemnumber > 0 being edited in the
gradebook. It also improves the grade_verify_idnumber() so that it does
not allow the item with itemnumber > 0 have the same idnumber as the
major grade item with itemnumber 0.
2010-06-05 19:53:40 +00:00
Andrew Davis af454fa5a1 gradebook MDL-22283 debug message from grades library while editing forum settings 2010-05-03 06:46:42 +00:00
Andrew Davis 8a6143fc6d gradebook MDL-22283 debug message from grades library while editing forum settings 2010-05-03 06:41:49 +00:00
Petr Skoda 117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
mudrd8mz f162c15a5a NOBUG: Added a new function handling with the grades precission
We should provide a common approach to float grade values so modules
will be consistent in grading algorithm. That is why I push it here.
Note that basically this complements grade_floats_different().
Used in Workshop 2.0.
2009-09-08 21:45:44 +00:00
nicolasconnault aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
samhemelryk ba21c9d440 lib MDL-19236 added phpdocs and copyrights 2009-05-25 08:27:25 +00:00
stronk7 ae5a39398b using new DB syntax 2009-05-02 00:17:31 +00:00
skodak 398a160d4d MDL-18934 removed legacy grading support 2009-04-22 21:03:38 +00:00
nicolasconnault 653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
nicolasconnault 7d10995c86 MDL-13778 Added 6 "composite" grade display types for the grader report Merged from MOODLE_19_STABLE 2009-01-08 08:53:20 +00:00
nicolasconnault 845fe812a8 MDL-15100 fixed typo ('param' instead of 'array') 2008-06-17 07:05:44 +00:00
nicolasconnault 9cf4a18b41 MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
skodak 9718765e92 MDL-14679 finished gradelib conversion 2008-05-30 17:43:00 +00:00
dongsheng 2f137aa130 "MDL-14129, fix print_error" 2008-05-20 02:53:46 +00:00
skodak e2b347e933 MDL-14378 When deleting course category deal with everything that depends on its context; merged from MOODLE_19_STABLE 2008-05-13 21:52:38 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 55231be044 MDL-13943 improved perf when sending multiple grades into grade_update(); merged from MOODLE_19_STABLE 2008-03-16 23:22:47 +00:00
skodak 5048575d7e MDL-13920 assignment without grades now sets text grade type, fixed overriding of feedback and overriding logic in general on grade edit page; merged from MOODLE_19_STABLE 2008-03-15 14:54:43 +00:00
skodak 25bcd90821 MDL-13845 rewritten rounding in grades classes again - rounding done also before storage into db so that we can compare the values properly and skip db updates if possible + some more optimisations; merged from MOODLE_19_STABLE 2008-03-12 19:45:17 +00:00