318 Commits

Author SHA1 Message Date
David Mudrak
91e25af93b Do not support tags yet until the API stabilizes
The generated form uses deprecated calls at the moment.
2010-01-04 17:49:43 +00:00
David Mudrak
088e75ca19 Replaces deprecated update_module_button() 2010-01-04 17:49:33 +00:00
David Mudrak
6405b2549c Assessment dimensions now have unique id which allows to embed media. 2010-01-04 17:49:23 +00:00
David Mudrak
0db82a04db DB structure change
Every dimension has to have its own ID so it may become itemid within
File API framework. Using the same model as we have with course modules
and module instances.
Also, removing some obsolete fields.
2010-01-04 17:49:13 +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
547bbeecac Adding a development tools script 2010-01-04 17:48:07 +00:00
David Mudrak
9ab2d197e5 In response to MDL-19603 changing the text length to big everywhere
Also, the submission wysiwyg part is going to be stored in "content"
instead of current "data".
2010-01-04 17:47:54 +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
da92436b2d MDL-19870 Random allocation - work in progress
Random allocation implemented. More testing needed.
2010-01-04 17:47:32 +00:00
David Mudrak
32e3858578 Fix: do not remove allocation if it should be kept 2010-01-04 17:47:22 +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
59ef784763 Use the new output->table() rendering method 2010-01-04 17:46:44 +00:00
David Mudrak
66c9894dbc Manual allocator uses the new subrendering feature 2010-01-04 17:46:33 +00:00
David Mudrak
6e3099730e MDL-19717 First drafts of allocation support 2010-01-04 17:46:05 +00:00
David Mudrak
558587c2ad Added capabilities 2010-01-04 17:45:27 +00:00
David Mudrak
ffac17dfbc Use the new output approach 2010-01-04 17:45:14 +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
0968b1a393 First drafts of assessment support 2010-01-04 17:44:52 +00:00
David Mudrak
13778dd77d Renaming {load|save}_grading_form() methods
After I started work on assessment support, I realized that "grading
form" would not be consistent with "assessment form".
2010-01-04 17:44:30 +00:00
David Mudrak
ca68206ebd Renaming gradingform.php to edit_form.php 2010-01-04 17:44:07 +00:00
David Mudrak
b444b77af0 First drafts of the Number of errors grading strategy 2010-01-04 17:43:31 +00:00
David Mudrak
113b6e4b91 Display the strategy name 2010-01-04 17:43:12 +00:00
David Mudrak
a8389d652b Edit grading form refactoring
The previous desing was too "base-class oriented". I have realized that
strategies have to deal with loading and saving dimension definitions in
their own way. Getting rid of all db<->form field mappings as it would
work for very simple strategies only.
2010-01-04 17:43:02 +00:00
David Mudrak
f6cd09e042 Added submission form strings 2010-01-04 17:42:49 +00:00
David Mudrak
127032fe3d Some plays with submission, to do 2010-01-04 17:42:37 +00:00
David Mudrak
6867e05d88 Adding formal source code conventions 2010-01-04 17:42:27 +00:00
David Mudrak
e256f8c48d Explaining nattachments better 2010-01-04 17:42:17 +00:00
David Mudrak
33e4dea627 Initial draft of submission support 2010-01-04 17:38:29 +00:00
David Mudrak
6d86051250 Some mform refactoring
Uses customdata instead of modified constructor.
2010-01-04 17:37:53 +00:00
David Mudrak
9277982f0f Yay! Saving dimensions works
Cooking dimension editor's raw data is done by the strategy class.
2010-01-04 17:37:31 +00:00
David Mudrak
868177e7bc Fixed the missing table in Error banded strategy and renaming it to Number of errors. 2010-01-04 17:37:04 +00:00
David Mudrak
b53f8015cd Use strategy-specific term for assessment dimension 2010-01-04 17:36:43 +00:00
David Mudrak
c125ca37a6 Applying Eloy's suggestions 2010-01-04 17:36:15 +00:00
David Mudrak
7b5d01a7e8 More work on the strategy API 2010-01-04 17:35:56 +00:00
David Mudrak
725d615401 Some files renamed to fit the coding style 2010-01-04 17:35:12 +00:00
David Mudrak
4eab2e7fbb MDL-17827 workshop: initial check in of the files
Exported from David's git repository
2010-01-04 17:34:08 +00:00
David Mudrak
de811c0cf0 Adding locallib.php to store internal functions 2010-01-04 17:12:35 +00:00
moodler
98017ce04a Removing temp files from HEAD (should still be available in MOODLE_20_WORKSHOP branch) 2009-05-27 02:22:05 +00:00
moodler
0a88d0f1c8 Some temp files to create the MOODLE_20_WORKSHOP branch with 2009-05-27 02:18:03 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
953d154fa4 MDL-14074 removed obsoleted $CFG->enablerecordcache = true 2008-03-27 08:37:43 +00:00
nicolasconnault
6dfea40119 MDL-13046 Fixed notices. Merging from MOODLE_19_STABLE 2008-03-06 09:42:33 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
moodler
16c6dc3b2e Disable workshop by default in a new install MDL-13100 2008-01-23 04:38:43 +00:00
nicolasconnault
6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00