Commit Graph

82 Commits

Author SHA1 Message Date
David Mudrák 4cd2b45548 MDL-38261 Replace deprecated file_encode_url() in workshop renderer 2013-02-28 18:53:37 +01:00
David Mudrák 57c1c7edfc MDL-38261 Display workshop submission attachments in a preview mode 2013-02-28 18:53:37 +01:00
Frederic Massart 06b7ed0a45 MDL-36415 usability: Use new up/down and ordering icons 2012-11-16 12:47:09 +08:00
David Mudrák 3cb4ce45c7 MDL-26349 Display the workshop final grades to participants when the activity is closed 2012-11-07 09:08:38 +01:00
Kanika Goyal 67ba9007b7 MDL-32227: Plagiarism API - add support for plagiarism api to workshop module 2012-07-24 01:52:54 +05:30
Marina Glancy 559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
David Mudrak 5547b0dce1 MDL-27508 introducing mod_workshop_renderer::perpage_selector() 2012-04-27 14:41:58 +02:00
David Mudrak 3fe6d62289 MDL-26099 workshop planner tool displays info about the automatic phase switching 2012-04-13 04:49:46 +02:00
David Mudrak 9862128087 MDL-32235 introducing new workshop scheduled allocation plugin
The idea is to build a plugin that will internally call the random
allocator when the submissions deadline is reached. The teacher is able
to pre-define the configuration for the random allocator.
2012-04-13 04:49:45 +02:00
David Mudrak 31cea236af MDL-32235 improving the allocation results rendering
The new renderable class workshop_allocation_result provides a cleaner
interface between the allocator's init() method and the allocation.php
script.
2012-04-13 04:49:45 +02:00
David Mudrak cdc8577762 MDL-30453 Use correct renderable classes to represent assessments of example submission 2011-11-25 18:41:07 +01:00
David Mudrak 6403358838 MDL-27550 workshop: fixed XHTML strictness of H3 and A combo
H3 is block level element while A is in-line element in XHTML.
Credit goes to Sam Hemelryk for spotting this during the peer-review.
2011-08-02 23:34:04 +02:00
David Mudrak 2c75324ee6 MDL-27550 workshop: rendering links to the submission and the assessment page
This usability improvement helps to provide feedback quickly during the
grading evaluation phase.
2011-08-02 23:33:33 +02:00
David Mudrak f68648e982 MDL-27550 workshop: display the feedback for the submission reviewer when the workshop is closed 2011-08-02 23:33:32 +02:00
David Mudrak 38504a4490 MDL-27550 workshop: assessments are now displayed via proper rendering subsystem
AMOS BEGIN
 MOV [assessmentbyknown,mod_workshop],[assessmentbyfullname,mod_workshop]
AMOS END
2011-08-02 23:33:32 +02:00
David Mudrak 0dfb4bad56 MDL-27550 workshop: display the feedback for the submission author when the workshop is closed
The method user_picture::fields() was not available when these SQL
statements were originally written. Now instead of hard-coding the list
of returned fields, the user_picture is asked for the list.

Together with this change, methods workshop::get_submission_by_id()
and workshop::get_submission_by_author() now return the information
about the user who provided the feedback and overwrote the grade.
2011-08-02 23:33:32 +02:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
David Mudrak c2a3526639 MDL-22507 workshop grading report rendering 2010-10-20 13:13:21 +00:00
David Mudrak a8b309a37d MDL-22507 workshop rendering of messages and allocation process fixed 2010-10-20 13:13:01 +00:00
David Mudrak 81b2288716 MDL-22507 workshop rendering fixed for submissions and example submissions 2010-10-20 13:12:31 +00:00
David Mudrak 65601f04a3 MDL-21249 workshop and its subplugins: fixing phpdocs @package and @subpackage 2010-09-30 14:44:33 +00:00
Petr Skoda 5924db724d fixed a few spelling problems and standardised stdClass 2010-09-18 14:18:39 +00:00
David Mudrak 76b3d9093a MDL-24238 workshop: button to show all participants again after successful manual allocation
This replaces the closer of the status message. That bits of UI come
from very early times of workshop development and might be replaced
completely.
2010-09-18 00:25:04 +00:00
David Mudrak 926b9f8f6f NOMDL workshop: fixed regression caused by recent File API improvements 2010-07-08 12:35:20 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +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 5a37249458 Workshop: assessments are available from the submission page 2010-06-14 10:28:35 +00:00
David Mudrak 4d63c194e7 Workshop: display submissions for students during assessment phase 2010-06-14 10:28:14 +00:00
David Mudrak 232175e43a Workshop: submissions can be marked as published 2010-06-14 10:28:03 +00:00
David Mudrak 788335acd4 NOBUG: Workshop submission attachments are displayed with the path, not just filename 2010-06-08 23:09:49 +00:00
David Mudrak 55fc1e5997 MDL-22507 workshop: old style rendering fixed for user planner 2010-05-18 20:48:29 +00:00
David Mudrak 3260508700 MDL-22160 workshop: fixing parameters order 2010-04-22 06:16:25 +00:00
David Mudrak 16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda 26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Petr Skoda c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda 9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda 57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
Petr Skoda f0b6192e60 MDL-20204 conversion to html_writer 2010-02-11 10:37:19 +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 711a9506ea MDL-21235 fixing trivial regression in workshop renderer 2010-01-15 00:07:11 +00:00
Petr Skoda 0f4c64b79f MDL-21235 new link method in html_write, partinally replaces old html_link, going to add new action_link soon 2010-01-14 22:10:20 +00:00
Petr Skoda 3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
Petr Skoda 5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +00:00
David Mudrak dd15f80e25 MDL-21198 workshop: rewriting user_picture() calls to respect recent refactoring 2010-01-04 18:31:36 +00:00
David Mudrak 0a5ddea5f9 MDL-21198 workshop: replacing old calls to action_icon() 2010-01-04 18:31:23 +00:00
David Mudrak 7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak a8b6fc0e70 workshop grading report improved displaying of grades
Weight of assessment is expected to be equal 1 in majority of cases.
Such weight will not be displayed. As the comment says - this logic
should really go to the language pack level.
2010-01-04 18:30:20 +00:00
David Mudrak 810941b6a0 workshop in reply to MDL-20787 switching to pix_url() 2010-01-04 18:29:19 +00:00
David Mudrak 581878b8fa workshop displays assessment weight in the grading evaluation report 2010-01-04 18:29:06 +00:00
David Mudrak cbf87967c7 MDL-20652 workshop: more work on example submissions
Important change: teacher's assessments of example submissions (now
known as "reference assessments") are now displayed to students after
they assess example submission.
2010-01-04 18:28:25 +00:00