154 Commits

Author SHA1 Message Date
David Mudrak
54fe847044 NOMDL workshop: fixed urls in recent activity report 2010-07-26 22:06:34 +00:00
David Mudrak
7a5f4be030 NOMDL workshop: support for activity reporting
Also contains several small fixes and improvements done during the
development.
2010-07-26 21:28:42 +00:00
David Mudrak
34860fc181 NOMDL workshop_get_participants() though it does not seem to be used by core any more 2010-07-26 21:28:19 +00:00
David Mudrak
0fc5a5faf1 MDL-19936 MDL-22151 MDL-22245 backup/moodle2 support for mod_workshop, workshopeval_best and workshopform_accumulative 2010-07-09 11:19:39 +00:00
David Mudrak
c2d2eb6ea0 NOBUG workshop: added field evaluation for future usage
The field holds the name of the grading evaluation method recently used
for the workshop or the default one to be used. At the moment there are
no alternatives but 'best' plugin. But I want to have the field there
before 2.0 stable release and also want to include it in workshop
backups.
2010-07-07 21:46:05 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
23c9aeac40 MDL-22062 Workshop used to set the same idnumber for its grade_items
In fact, course/modedit.php sets the correct value for the grade_item
number 0 and keeps it synced with the idnumber value in course_modules.
2010-06-05 19:53:18 +00:00
David Mudrak
7a2d0f6125 MDL-17827 Workshop 2.0 supports scale usage checks now 2010-06-01 14:55:33 +00:00
David Mudrak
f4b5c157f9 NOBUG workshop: putting a todo note to rewrite file API support for subplugins 2010-05-18 20:12:30 +00:00
David Mudrak
94ad199baa NOBUG workshop - added support for forgotten workshop_instructreviewers filearea 2010-05-18 17:55:06 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk
0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
David Mudrak
7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak
428a28e12c workshop MDL-21169 removed Update this Workshop button, replaced with settings block node 2010-01-04 18:30:09 +00:00
David Mudrak
0d0b7d99db workshop uses plain checkbox instead of advcheckbox 2010-01-04 18:27:07 +00:00
David Mudrak
f7d3a9656f Fixed missing library include when deleting an instance 2010-01-04 18:25:03 +00:00
David Mudrak
aabf73b7a1 MDL-19937 workshop migration - setting day zero versions 2010-01-04 18:24:52 +00:00
David Mudrak
10bc4bce2b Various fixes found during testing 2010-01-04 18:24:17 +00:00
David Mudrak
365c2cc22a MDL-20058 workshop pushed grades into gradebook 2010-01-04 18:23:52 +00:00
David Mudrak
f6e8b31802 workshop: general cleanup
Moving stuff from lib.php into static methods in localib.php. Removing
things from workshop core that were implemented in a subplugin. Dropping
stuff related to features not to be implemented in 2.0.
2010-01-04 18:22:10 +00:00
David Mudrak
f55650e6bc Grading evaluation is now configurable on-the-fly 2010-01-04 18:18:30 +00:00
David Mudrak
d524173efe MDL-19932 Rubric grading strategy implemented
The only weak point here is that we store a raw grade into
workshop_grades and not a direct id of the selected level. Therefore,
when re-assessing, we need to actually guess what level the assessor
chose previously. This is not problem if there are not two levels with
the same grade. Such case is not common when using Rubric. In the
future, this may get refactored so Rubric would use its own storage of
filled assessment forms.
2010-01-04 18:16:02 +00:00
David Mudrak
8a1ba8ac04 MDL-20264 work in progress on grading evaluation support
Also fixes small bugs in workshop api constructor and in using "scales"
instead of "scale" for the core table name.
2010-01-04 18:12:12 +00:00
David Mudrak
00aca3c14c A lot of work here and there
DB columns userid renamed to authorid or reviewerid to make the value
clear. Improved manual allocation UI. Raw grades are stored as numeric
values from 0.00000 to 100.00000 (instead of the current 0 to 1) to be
more precise. Started to work on the Grading report (it est the overall
report of all grades form submission and grades for assessments).
2010-01-04 18:08:13 +00:00
David Mudrak
15d12b54f0 Instructions for reviewers work 2010-01-04 18:07:17 +00:00
David Mudrak
dbb3c72801 Fixed pluginfile support 2010-01-04 18:06:37 +00:00
David Mudrak
f05c168d2e MDL-20236 overall codebase architecture cleanup and fixing regression
See the issue description for more details
2010-01-04 18:05:48 +00:00
David Mudrak
6516b9e9e4 Added instructions for submitting
File API seems to be broken right now so I can't test properly. The new
mod/page code was re-used here.
2010-01-04 18:02:27 +00:00
David Mudrak
454e8dd965 Phases can be switched from the Workshop plan tool
There may be more conditions checks written in the future and the
explanation added on what can be expected to happen after the phase
switch.
2010-01-04 18:01:29 +00:00
David Mudrak
b761e6d9c6 Mostly working on the view.php UI plus some changes 2010-01-04 18:00:54 +00:00
David Mudrak
39861053c4 MDL-20183 Uses some of the new Navigation API 2010-01-04 18:00:12 +00:00
David Mudrak
7e109b56ae Dropping obsolete function call 2010-01-04 17:59:46 +00:00
David Mudrak
ed597c7756 MDL-20192 Allocators and grading strategies are proper subplugins now 2010-01-04 17:59:34 +00:00
David Mudrak
f9cb8ea72f MDL-20192 Allocation and grading methods are proper subplugins now.
Still, some areas to be finished - strings and settings
2010-01-04 17:57:54 +00:00
David Mudrak
235b31c887 Reverts the double quotes surrounding SQL 2010-01-04 17:56:34 +00:00
David Mudrak
65ba104c5d Reverting Petr's suggestion - using stdClass instead of object again
I do not agree with using object() class for no real reason.
2010-01-04 17:55:02 +00:00
David Mudrak
4443519f57 Petr's review: use object instead of stdClass 2010-01-04 17:52:59 +00:00
David Mudrak
fa159f43c1 Fixed wroing using of static cache 2010-01-04 17:51:54 +00:00
David Mudrak
18cbfe9b1e Displays embeded files in assessment forms 2010-01-04 17:50:48 +00:00
David Mudrak
a39d7d87aa A lot of changes here and there 2010-01-04 17:49:01 +00:00
David Mudrak
b8ead2e6a4 Uses workshop renderer to display assessment page
Some small refactoring like using single function to group users done.
2010-01-04 17:48:33 +00:00
David Mudrak
0dc47fb913 MDL-19941 Submission attachments and embedded files draft support
Plus some cleaning up here and there
2010-01-04 17:48:20 +00:00
David Mudrak
a7c5b9185a Extending workshop class constructor
Every action script in 99% starts with fetching course, course module,
and module instance record. Workshop class will keep the reference to
the course record in courserecord public member variable (do not confuse
with course integer property).
2010-01-04 17:47:43 +00:00
David Mudrak
53fad4b90c MDL-19870 Initial work on random allocator
Initial sketches of random allocator. Refactoring of the rest of the
module here and there. Also, this commit removes trailing whitespace and
running empty lines.
2010-01-04 17:47:09 +00:00
David Mudrak
6e3099730e MDL-19717 First drafts of allocation support 2010-01-04 17:46:05 +00:00
David Mudrak
7a02d1f2e5 Removed anonymity and hidegrades
These will be controlled by capabilities, as suggested by Eloy.
2010-01-04 17:45:03 +00:00
David Mudrak
6867e05d88 Adding formal source code conventions 2010-01-04 17:42:27 +00:00