39188 Commits

Author SHA1 Message Date
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
Petr Skoda
897e902bbc MDL-20204 improved pix docs 2010-01-04 14:40:34 +00:00
Petr Skoda
a91b80c2b1 MDL-21236 removing spurious popup action from normal action links, thanks sam 2010-01-04 09:46:47 +00:00
Dongsheng Cai
119463d5ab "MDL-20204, fixed yui2 js file path" 2010-01-04 08:33:33 +00:00
Petr Skoda
801db07670 MDL-21232 using normal = which should be enough now in PHP5 2010-01-04 07:51:59 +00:00
Penny Leach
a322cbb90d portfolio/glossary MDL-21158 make sure full glossary export is in a leap2a selection 2010-01-04 03:57:47 +00:00
Penny Leach
7923b376b4 portfolio NOBUG just fixed some code wrapping in a long line 2010-01-04 03:43:18 +00:00
Penny Leach
5991a52c37 portfolio/forum MDL-21156 added portfolio url rewriting to forum export 2010-01-04 03:28:59 +00:00
Penny Leach
82e8d268de portfolio MDL-21156 added a missing lang string and removed a too strict exception 2010-01-04 03:20:48 +00:00
Sam Hemelryk
ada38fad4f output MDL-21232 image now checks to see if passed url var is a moodle_url to avoid bad image src attribute 2010-01-04 02:53:47 +00:00
Moodle Robot
d4a4caf409 Updated the HEAD build version to 20100104 2010-01-04 00:33:27 +00:00
Petr Skoda
5acf9cd3ab MDL-21231 fixed recent regression, thanks penny for the report 2010-01-03 21:10:49 +00:00
Petr Skoda
8a13809318 MDL-21198 one more single_button + version bump to the new year (could not resit it) 2010-01-03 20:54:36 +00:00