Commit Graph

276 Commits

Author SHA1 Message Date
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
skodak 03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
moodler ee8652f3de Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit 2007-09-26 11:42:36 +00:00
skodak 5978010dd2 MDL-11358 final grade from gradebook is now shown in assignments - students see only final grades from gradebook 2007-09-23 16:05:41 +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 eedae98ef2 MDL-11357 removed _grade_updated() from activities and grade_item class 2007-09-20 07:43:57 +00:00
skodak 85c9ebb926 MDL-1883 improved perf when editing scales - new function xxx_scale_used_anywhere() 2007-09-18 18:37:58 +00:00
skodak 6b5c722df5 MDL-9542 new function needed for showing of final grades in Quiz + minor changes in grading public API used by modules 2007-09-15 19:24:10 +00:00
stronk7 c926560086 Now using one cross-db solution to be able to
simulate the status boolean ins assignment
submissions. MDL-8164 & MDL-10846
2007-09-13 17:51:48 +00:00
moodler fb81abe154 1) Refresh grade item when grades are saved (I was getting assignments with no names in the gradebook)
2) Tidy up how messages are shown after quick grading
2007-09-04 05:50:04 +00:00
skodak 9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +00:00
stronk7 e9d46b8187 Now assignment submodules are installed/upgraded properly
(using the standard plugins architecture) MDL-11029
2007-08-29 14:42:39 +00:00
mattc-catalyst ba3dc7b4a8 MDL-10888: groupings - mod/assignment - updated to support groupings 2007-08-26 23:50:08 +00:00
skodak d014b69b92 MDL-10927 implemented cron support in assignment plugins 2007-08-21 09:53:35 +00:00
skodak 1fc8777426 MDL-10056 Fixed deleting of assignments when original plugin not present 2007-08-21 09:20:42 +00:00
skodak c219eec3cf MDL-10846 reverting commit - waiting for Eloy :-( 2007-08-20 22:27:38 +00:00
skodak 2ff4411414 MDL-10846 Sorting submitted assignments by status makes all assignments disappear 2007-08-20 22:21:46 +00:00
skodak 9ca302560c MDL-10846 Sorting submitted assignments by status makes all assignments disappear 2007-08-20 22:18:18 +00:00
nicolasconnault f1af7aaaf5 MDL-10870 All files updated to new build_navigation() method. 2007-08-17 07:25:47 +00:00
skodak 2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak 1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
skodak e46f4d110d MDL-10549 fixed outcoems appearing in assingment when not used 2007-08-07 07:25:06 +00:00
skodak 39bb937a6a MDL-10549 finally found the cause of incorrect layout - invisiblefieldset strikes again 2007-08-03 14:56:32 +00:00
skodak 38f4c3fc4b MDL-10549 css fixes - alignment in popup grading in ff still not ok, hmmm 2007-08-03 14:32:26 +00:00
skodak 1a35ee51ac MDL-10549 css fixes - work in progress 2007-08-03 14:03:32 +00:00
skodak fbaa56b22d MDL-10549 adding support for disabling outcomes 2007-08-03 13:22:31 +00:00
nicolasconnault 206ab18470 MDL-9775 Added &nbsp; inside the <div></div> for class="bt" and class="bb", for custom corners theme
MDL-10702 Finished fixing the CSS
2007-08-03 11:55:28 +00:00
skodak cc03871ba3 MDL-10549 outcomes quickgrading in assignment
TODO: fix html and CSS
2007-08-02 22:38:52 +00:00
skodak 3a5ae6602b MDL-10544 basic support for outcomes grading in modules - implemented in assignment popup grading (TODO: fix html and css there) 2007-07-31 22:56:29 +00:00
mchurch 09ba8e56a9 Adding 'get_coursemodule_info' to the standard available functions for assignment types. As a minimum, this allows assignment types to add their own icon (like resource does). 2007-07-19 16:59:51 +00:00
skodak 3a935caf4d MDL-10517 Use of addslashes in assignment/lib.php 2007-07-18 18:42:45 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
toyomoyo 7994464178 fixing some warnings 2007-07-05 02:18:45 +00:00
skodak ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
skodak d55930f153 MDL-9516 removing include of gradelib.php - now included only when needed 2007-06-11 11:28:42 +00:00
skodak 34e67f76a8 MDL-10076 finalize grade_is_locked() and implement grade item locking in assignment 2007-06-10 20:34:07 +00:00
skodak 09c442620d MDL-9536 assignment now reacts to external updates 2007-06-09 14:56:22 +00:00
skodak b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
skodak 612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
skodak 8b4fb44ed1 MDL-9545 minor refactoring and comment cleanup 2007-06-03 12:37:50 +00:00
skodak 4a1be95c60 MDL-9545 minor code formatting cleanup 2007-06-03 09:26:45 +00:00
skodak 45fa341298 MDL-9545 refactoring of grading code in assignment, whitespace cleanup 2007-06-03 09:10:52 +00:00
skodak ada917d50a fixed handling of grade items when deleting assignment 2007-06-01 15:13:36 +00:00
skodak b5ebd0962f bgufixing and external grading improvements 2007-05-31 20:34:41 +00:00
nicolasconnault de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +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
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst b9dc2734a3 Breadcrumbs: mod/assignment changes
- modified to use build_navigation() for creating breadcrumbs.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:52:48 +00:00
stronk7 f5ae7c498e Fixed quesry to work agains Oracle. Repeated fields + limit
are incompatible (and not needed) for Oracle. MDL-9321

Merged from MOODLE_18_STABLE
2007-04-16 14:43:57 +00:00