]> git.mjollnir.org Git - moodle.git/log
moodle.git
15 years agoImproved context handling
David Mudrak [Mon, 4 Jan 2010 18:11:35 +0000 (18:11 +0000)]
Improved context handling

Getting a context from instance is very cheap and I can actually do it
just once when constructing the workshop API class. In the future, I
will get rid of all $PAGE->context which is actually meant for things
like blocks etc.

15 years agoAssessment weight DEFAULTs to 1
David Mudrak [Mon, 4 Jan 2010 18:11:22 +0000 (18:11 +0000)]
Assessment weight DEFAULTs to 1

15 years agoAdded an important documentation to a capability
David Mudrak [Mon, 4 Jan 2010 18:11:11 +0000 (18:11 +0000)]
Added an important documentation to a capability

15 years agoDisplay a button to run aggregation process
David Mudrak [Mon, 4 Jan 2010 18:11:02 +0000 (18:11 +0000)]
Display a button to run aggregation process

15 years agoAdded timeaggregated time stamp
David Mudrak [Mon, 4 Jan 2010 18:10:52 +0000 (18:10 +0000)]
Added timeaggregated time stamp

15 years agoAdded new helpfile (just for testing purposes)
David Mudrak [Mon, 4 Jan 2010 18:10:42 +0000 (18:10 +0000)]
Added new helpfile (just for testing purposes)

15 years agoWork in progress: grading report refactoring
David Mudrak [Mon, 4 Jan 2010 18:10:28 +0000 (18:10 +0000)]
Work in progress: grading report refactoring

15 years agoAdding percent_to_value() helper + its unittests
David Mudrak [Mon, 4 Jan 2010 18:10:18 +0000 (18:10 +0000)]
Adding percent_to_value() helper + its unittests

15 years agoFixed the id of the string from null to nullgrade
David Mudrak [Mon, 4 Jan 2010 18:10:08 +0000 (18:10 +0000)]
Fixed the id of the string from null to nullgrade

15 years agoPreparing for the future feature to let the user to set users per page
David Mudrak [Mon, 4 Jan 2010 18:09:58 +0000 (18:09 +0000)]
Preparing for the future feature to let the user to set users per page

15 years agoAdding new table workshop_aggregations
David Mudrak [Mon, 4 Jan 2010 18:09:48 +0000 (18:09 +0000)]
Adding new table workshop_aggregations

This table replaces the recently added workshop_evaluations and will
contain all grades aggregations done within a workshop activity. NULL
grades mean not aggregated yet.

15 years agoFixed an OUTPUT issue
David Mudrak [Mon, 4 Jan 2010 18:09:38 +0000 (18:09 +0000)]
Fixed an OUTPUT issue

15 years agoFixed a bug caused by incorrect comparison of float values
David Mudrak [Mon, 4 Jan 2010 18:09:28 +0000 (18:09 +0000)]
Fixed a bug caused by incorrect comparison of float values

15 years agoWorkshop planner tool now correctly counts the submissions and allocations
David Mudrak [Mon, 4 Jan 2010 18:09:18 +0000 (18:09 +0000)]
Workshop planner tool now correctly counts the submissions and allocations

15 years agoAllows to fake grading
David Mudrak [Mon, 4 Jan 2010 18:09:08 +0000 (18:09 +0000)]
Allows to fake grading

15 years agoMake sure we do not pass empty arrays to $DB->get_in_or_equal()
David Mudrak [Mon, 4 Jan 2010 18:08:58 +0000 (18:08 +0000)]
Make sure we do not pass empty arrays to $DB->get_in_or_equal()

15 years agoAdded a column to store the assessment weight
David Mudrak [Mon, 4 Jan 2010 18:08:48 +0000 (18:08 +0000)]
Added a column to store the assessment weight

15 years agoAllow submission attachments to be stored in subfolders
David Mudrak [Mon, 4 Jan 2010 18:08:38 +0000 (18:08 +0000)]
Allow submission attachments to be stored in subfolders

15 years agoMDL-20058 first prototype of the grading report renderer
David Mudrak [Mon, 4 Jan 2010 18:08:27 +0000 (18:08 +0000)]
MDL-20058 first prototype of the grading report renderer

15 years agoA lot of work here and there
David Mudrak [Mon, 4 Jan 2010 18:08:13 +0000 (18:08 +0000)]
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).

15 years agoAdded workshop_evaluations to store aggregated grades for assessments
David Mudrak [Mon, 4 Jan 2010 18:07:48 +0000 (18:07 +0000)]
Added workshop_evaluations to store aggregated grades for assessments

The gradinggrade can not be stored in workshop_submissions because
participants without their own submission can be reviewers, too.

15 years agoMDL-19717 workshop manual allocator - pagination support and performance issues
David Mudrak [Mon, 4 Jan 2010 18:07:38 +0000 (18:07 +0000)]
MDL-19717 workshop manual allocator - pagination support and performance issues

15 years agoScalability issues
David Mudrak [Mon, 4 Jan 2010 18:07:28 +0000 (18:07 +0000)]
Scalability issues

Did not display properly with dozens of users

15 years agoInstructions for reviewers work
David Mudrak [Mon, 4 Jan 2010 18:07:17 +0000 (18:07 +0000)]
Instructions for reviewers work

15 years agoConform the new interface requirments
David Mudrak [Mon, 4 Jan 2010 18:07:07 +0000 (18:07 +0000)]
Conform the new interface requirments

15 years agoAdded and re-sorted strings
David Mudrak [Mon, 4 Jan 2010 18:06:57 +0000 (18:06 +0000)]
Added and re-sorted strings

15 years agoFixed "Edit submission" button link
David Mudrak [Mon, 4 Jan 2010 18:06:47 +0000 (18:06 +0000)]
Fixed "Edit submission" button link

15 years agoFixed pluginfile support
David Mudrak [Mon, 4 Jan 2010 18:06:37 +0000 (18:06 +0000)]
Fixed pluginfile support

15 years agoAdded the skelet for grading evaluation subplugins
David Mudrak [Mon, 4 Jan 2010 18:06:26 +0000 (18:06 +0000)]
Added the skelet for grading evaluation subplugins

15 years agoMDL-20236 overall codebase architecture cleanup and fixing regression
David Mudrak [Mon, 4 Jan 2010 18:05:48 +0000 (18:05 +0000)]
MDL-20236 overall codebase architecture cleanup and fixing regression

See the issue description for more details

15 years agoAdded instructions for submitting
David Mudrak [Mon, 4 Jan 2010 18:02:27 +0000 (18:02 +0000)]
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.

15 years agoDisplays all assigned submissions to be reviewed and saves the calculated grade
David Mudrak [Mon, 4 Jan 2010 18:02:16 +0000 (18:02 +0000)]
Displays all assigned submissions to be reviewed and saves the calculated grade

15 years agoRefactoring some critical parts
David Mudrak [Mon, 4 Jan 2010 18:02:05 +0000 (18:02 +0000)]
Refactoring some critical parts

Critical issue fixed here: after recent refactorings, I called
get_users_with_capability() inside the loop in another loop! (oops :-)
This was used in my very first code using the renderers. I have learnt
I should follow the core approach (as suggested by Tim) to prepare a
data object and pass it to the renderer. The fact the renderer called
a workshop method indicated something was really wrong...

WIP

15 years agoGo workshop, go!
David Mudrak [Mon, 4 Jan 2010 18:01:50 +0000 (18:01 +0000)]
Go workshop, go!

15 years agoDisplays the list of submissions
David Mudrak [Mon, 4 Jan 2010 18:01:40 +0000 (18:01 +0000)]
Displays the list of submissions

15 years agoPhases can be switched from the Workshop plan tool
David Mudrak [Mon, 4 Jan 2010 18:01:29 +0000 (18:01 +0000)]
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.

15 years agoUses tabs for all actions, removed temporary links
David Mudrak [Mon, 4 Jan 2010 18:01:15 +0000 (18:01 +0000)]
Uses tabs for all actions, removed temporary links

15 years agoMore work done on the Workshop Plan UI
David Mudrak [Mon, 4 Jan 2010 18:01:05 +0000 (18:01 +0000)]
More work done on the Workshop Plan UI

15 years agoMostly working on the view.php UI plus some changes
David Mudrak [Mon, 4 Jan 2010 18:00:54 +0000 (18:00 +0000)]
Mostly working on the view.php UI plus some changes

15 years agoRefactored the Workshop API class
David Mudrak [Mon, 4 Jan 2010 18:00:34 +0000 (18:00 +0000)]
Refactored the Workshop API class

Uses the PHP magic getter to access the underlying database record. Does
not do the serialization goulash, as the passed objects should be clear
database rows.

15 years agoReviewed and modified the workshop capabilities
David Mudrak [Mon, 4 Jan 2010 18:00:24 +0000 (18:00 +0000)]
Reviewed and modified the workshop capabilities

15 years agoMDL-20183 Uses some of the new Navigation API
David Mudrak [Mon, 4 Jan 2010 18:00:12 +0000 (18:00 +0000)]
MDL-20183 Uses some of the new Navigation API

15 years agoMDL-20192 Moving settings.php into suplugins and a small fix
David Mudrak [Mon, 4 Jan 2010 18:00:02 +0000 (18:00 +0000)]
MDL-20192 Moving settings.php into suplugins and a small fix

15 years agoDropping obsolete function call
David Mudrak [Mon, 4 Jan 2010 17:59:46 +0000 (17:59 +0000)]
Dropping obsolete function call

15 years agoMDL-20192 Allocators and grading strategies are proper subplugins now
David Mudrak [Mon, 4 Jan 2010 17:59:34 +0000 (17:59 +0000)]
MDL-20192 Allocators and grading strategies are proper subplugins now

15 years agoRemoved the Dummy grading strategy
David Mudrak [Mon, 4 Jan 2010 17:58:45 +0000 (17:58 +0000)]
Removed the Dummy grading strategy

This was here for the code reviewing purposes only.

15 years agoMDL-19931 Number of errors - grading strategy logic implemented
David Mudrak [Mon, 4 Jan 2010 17:58:26 +0000 (17:58 +0000)]
MDL-19931 Number of errors - grading strategy logic implemented

15 years agoFixed SQL quoting - double quotes needed here
David Mudrak [Mon, 4 Jan 2010 17:58:16 +0000 (17:58 +0000)]
Fixed SQL quoting - double quotes needed here

15 years agoFixed a unittest bug
David Mudrak [Mon, 4 Jan 2010 17:58:06 +0000 (17:58 +0000)]
Fixed a unittest bug

15 years agoMDL-20192 Allocation and grading methods are proper subplugins now.
David Mudrak [Mon, 4 Jan 2010 17:57:54 +0000 (17:57 +0000)]
MDL-20192 Allocation and grading methods are proper subplugins now.

Still, some areas to be finished - strings and settings

15 years agoWIP template for unit testing
David Mudrak [Mon, 4 Jan 2010 17:56:56 +0000 (17:56 +0000)]
WIP template for unit testing

15 years agoGet rid of old navigation stuff (to finish yet) and use OUTPUT
David Mudrak [Mon, 4 Jan 2010 17:56:44 +0000 (17:56 +0000)]
Get rid of old navigation stuff (to finish yet) and use OUTPUT

15 years agoReverts the double quotes surrounding SQL
David Mudrak [Mon, 4 Jan 2010 17:56:34 +0000 (17:56 +0000)]
Reverts the double quotes surrounding SQL

15 years agoBetter explanation of the returned value
David Mudrak [Mon, 4 Jan 2010 17:56:23 +0000 (17:56 +0000)]
Better explanation of the returned value

15 years agoDisplays the radio to evaluate the assertion
David Mudrak [Mon, 4 Jan 2010 17:56:13 +0000 (17:56 +0000)]
Displays the radio to evaluate the assertion

Also offers all possible numbers of errors, if weighted ones are
counted. Reverts the double quotes coding style for SQL.

15 years agoWork in progress on "Number of errors" grading strategy. Does not work yet.
David Mudrak [Mon, 4 Jan 2010 17:56:01 +0000 (17:56 +0000)]
Work in progress on "Number of errors" grading strategy. Does not work yet.

15 years agoAdded a dummy grading strategy to demonstrate the basic structure of the component
David Mudrak [Mon, 4 Jan 2010 17:55:45 +0000 (17:55 +0000)]
Added a dummy grading strategy to demonstrate the basic structure of the component

15 years agoPuttting a TODO note - return to this code once working on the Scheduled allocation
David Mudrak [Mon, 4 Jan 2010 17:55:23 +0000 (17:55 +0000)]
Puttting a TODO note - return to this code once working on the Scheduled allocation

15 years agoFixing the rendering of remove icon
David Mudrak [Mon, 4 Jan 2010 17:55:13 +0000 (17:55 +0000)]
Fixing the rendering of remove icon

15 years agoReverting Petr's suggestion - using stdClass instead of object again
David Mudrak [Mon, 4 Jan 2010 17:55:02 +0000 (17:55 +0000)]
Reverting Petr's suggestion - using stdClass instead of object again

I do not agree with using object() class for no real reason.

15 years agoFixed function name typo
David Mudrak [Mon, 4 Jan 2010 17:54:46 +0000 (17:54 +0000)]
Fixed function name typo

15 years agowip
David Mudrak [Mon, 4 Jan 2010 17:54:36 +0000 (17:54 +0000)]
wip

15 years agoFixing regression
David Mudrak [Mon, 4 Jan 2010 17:54:23 +0000 (17:54 +0000)]
Fixing regression

Raw database records and $USER are stdClasses (grrr I wonder why we ever
started with this object class)

15 years agoFixing the type for grades to number(10,5)
David Mudrak [Mon, 4 Jan 2010 17:54:13 +0000 (17:54 +0000)]
Fixing the type for grades to number(10,5)

15 years agoDropping support for Workshop password
David Mudrak [Mon, 4 Jan 2010 17:54:03 +0000 (17:54 +0000)]
Dropping support for Workshop password

Discussed with Petr. Password protection should be sorted out at the
core level (conditionlib maybe).

15 years agoPetr's review: private member variables do not have underscore prefix
David Mudrak [Mon, 4 Jan 2010 17:53:53 +0000 (17:53 +0000)]
Petr's review: private member variables do not have underscore prefix

15 years agoEnglish string fixed, thank to Stephan Rinke
David Mudrak [Mon, 4 Jan 2010 17:53:43 +0000 (17:53 +0000)]
English string fixed, thank to Stephan Rinke

http://moodle.org/mod/forum/discuss.php?d=130085

15 years agoAdding new install.php file
David Mudrak [Mon, 4 Jan 2010 17:53:33 +0000 (17:53 +0000)]
Adding new install.php file

15 years agoPetr's review: Removing assignments by reference where not needed
David Mudrak [Mon, 4 Jan 2010 17:53:20 +0000 (17:53 +0000)]
Petr's review: Removing assignments by reference where not needed

15 years agoFixing regression - $DB does not return objects() but stdClasses() :-(
David Mudrak [Mon, 4 Jan 2010 17:53:10 +0000 (17:53 +0000)]
Fixing regression - $DB does not return objects() but stdClasses() :-(

15 years agoPetr's review: use object instead of stdClass
David Mudrak [Mon, 4 Jan 2010 17:52:59 +0000 (17:52 +0000)]
Petr's review: use object instead of stdClass

15 years agoPetr's review: Removing assignment by reference
David Mudrak [Mon, 4 Jan 2010 17:52:45 +0000 (17:52 +0000)]
Petr's review: Removing assignment by reference

15 years agoAccumulative grading: calculation of grade given by peer reviewer
David Mudrak [Mon, 4 Jan 2010 17:52:35 +0000 (17:52 +0000)]
Accumulative grading: calculation of grade given by peer reviewer

15 years agoAdded an unique index on workshop_grades
David Mudrak [Mon, 4 Jan 2010 17:52:25 +0000 (17:52 +0000)]
Added an unique index on workshop_grades

15 years agoRemoving unittesting of implementation details
David Mudrak [Mon, 4 Jan 2010 17:52:14 +0000 (17:52 +0000)]
Removing unittesting of implementation details

15 years agoRefactoring and fixing
David Mudrak [Mon, 4 Jan 2010 17:52:04 +0000 (17:52 +0000)]
Refactoring and fixing

There was a chaos in dimension masterids and localids

15 years agoFixed wroing using of static cache
David Mudrak [Mon, 4 Jan 2010 17:51:54 +0000 (17:51 +0000)]
Fixed wroing using of static cache

15 years agoRemoving static variables. Double quoting SQL. Named param
David Mudrak [Mon, 4 Jan 2010 17:51:44 +0000 (17:51 +0000)]
Removing static variables. Double quoting SQL. Named param

15 years agoPrepared a framework for calculating the grade for submission as suggested by the...
David Mudrak [Mon, 4 Jan 2010 17:51:34 +0000 (17:51 +0000)]
Prepared a framework for calculating the grade for submission as suggested by the reviewer

15 years agoFixed regressions
David Mudrak [Mon, 4 Jan 2010 17:51:22 +0000 (17:51 +0000)]
Fixed regressions

15 years agoAccumulative assessment saves (and loads already saved) evaluation
David Mudrak [Mon, 4 Jan 2010 17:51:10 +0000 (17:51 +0000)]
Accumulative assessment saves (and loads already saved) evaluation

15 years agoUse standard elements for setting the grades and scales
David Mudrak [Mon, 4 Jan 2010 17:50:59 +0000 (17:50 +0000)]
Use standard elements for setting the grades and scales

15 years agoDisplays embeded files in assessment forms
David Mudrak [Mon, 4 Jan 2010 17:50:48 +0000 (17:50 +0000)]
Displays embeded files in assessment forms

15 years agoRemoving TODO.txt file
David Mudrak [Mon, 4 Jan 2010 17:50:38 +0000 (17:50 +0000)]
Removing TODO.txt file

15 years agoMigrated deprecated popup_form()
David Mudrak [Mon, 4 Jan 2010 17:50:24 +0000 (17:50 +0000)]
Migrated deprecated popup_form()

15 years agoReplacing deprecated print_user_picture()
David Mudrak [Mon, 4 Jan 2010 17:50:13 +0000 (17:50 +0000)]
Replacing deprecated print_user_picture()

15 years agoDisplay "Edit submission" button at submission page
David Mudrak [Mon, 4 Jan 2010 17:50:03 +0000 (17:50 +0000)]
Display "Edit submission" button at submission page

15 years agoDeletes the embeded media when deleting the assessment dimension
David Mudrak [Mon, 4 Jan 2010 17:49:53 +0000 (17:49 +0000)]
Deletes the embeded media when deleting the assessment dimension

15 years agoDo not support tags yet until the API stabilizes
David Mudrak [Mon, 4 Jan 2010 17:49:43 +0000 (17:49 +0000)]
Do not support tags yet until the API stabilizes

The generated form uses deprecated calls at the moment.

15 years agoReplaces deprecated update_module_button()
David Mudrak [Mon, 4 Jan 2010 17:49:33 +0000 (17:49 +0000)]
Replaces deprecated update_module_button()

15 years agoAssessment dimensions now have unique id which allows to embed media.
David Mudrak [Mon, 4 Jan 2010 17:49:23 +0000 (17:49 +0000)]
Assessment dimensions now have unique id which allows to embed media.

15 years agoDB structure change
David Mudrak [Mon, 4 Jan 2010 17:49:13 +0000 (17:49 +0000)]
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.

15 years agoA lot of changes here and there
David Mudrak [Mon, 4 Jan 2010 17:49:01 +0000 (17:49 +0000)]
A lot of changes here and there

15 years agoUses workshop renderer to display assessment page
David Mudrak [Mon, 4 Jan 2010 17:48:33 +0000 (17:48 +0000)]
Uses workshop renderer to display assessment page

Some small refactoring like using single function to group users done.

15 years agoMDL-19941 Submission attachments and embedded files draft support
David Mudrak [Mon, 4 Jan 2010 17:48:20 +0000 (17:48 +0000)]
MDL-19941 Submission attachments and embedded files draft support

Plus some cleaning up here and there

15 years agoAdding a development tools script
David Mudrak [Mon, 4 Jan 2010 17:48:07 +0000 (17:48 +0000)]
Adding a development tools script

15 years agoIn response to MDL-19603 changing the text length to big everywhere
David Mudrak [Mon, 4 Jan 2010 17:47:54 +0000 (17:47 +0000)]
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".

15 years agoExtending workshop class constructor
David Mudrak [Mon, 4 Jan 2010 17:47:43 +0000 (17:47 +0000)]
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).

15 years agoMDL-19870 Random allocation - work in progress
David Mudrak [Mon, 4 Jan 2010 17:47:32 +0000 (17:47 +0000)]
MDL-19870 Random allocation - work in progress

Random allocation implemented. More testing needed.

15 years agoFix: do not remove allocation if it should be kept
David Mudrak [Mon, 4 Jan 2010 17:47:22 +0000 (17:47 +0000)]
Fix: do not remove allocation if it should be kept