]> git.mjollnir.org Git - moodle.git/log
moodle.git
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

15 years agoMDL-19870 Initial work on random allocator
David Mudrak [Mon, 4 Jan 2010 17:47:09 +0000 (17:47 +0000)]
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.

15 years agoUse the new output->table() rendering method
David Mudrak [Mon, 4 Jan 2010 17:46:44 +0000 (17:46 +0000)]
Use the new output->table() rendering method

15 years agoManual allocator uses the new subrendering feature
David Mudrak [Mon, 4 Jan 2010 17:46:33 +0000 (17:46 +0000)]
Manual allocator uses the new subrendering feature

15 years agoMDL-19717 First drafts of allocation support
David Mudrak [Mon, 4 Jan 2010 17:46:05 +0000 (17:46 +0000)]
MDL-19717 First drafts of allocation support

15 years agoAdded capabilities
David Mudrak [Mon, 4 Jan 2010 17:45:27 +0000 (17:45 +0000)]
Added capabilities

15 years agoUse the new output approach
David Mudrak [Mon, 4 Jan 2010 17:45:14 +0000 (17:45 +0000)]
Use the new output approach

15 years agoRemoved anonymity and hidegrades
David Mudrak [Mon, 4 Jan 2010 17:45:03 +0000 (17:45 +0000)]
Removed anonymity and hidegrades

These will be controlled by capabilities, as suggested by Eloy.

15 years agoFirst drafts of assessment support
David Mudrak [Mon, 4 Jan 2010 17:44:52 +0000 (17:44 +0000)]
First drafts of assessment support

15 years agoRenaming {load|save}_grading_form() methods
David Mudrak [Mon, 4 Jan 2010 17:44:30 +0000 (17:44 +0000)]
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".

15 years agoRenaming gradingform.php to edit_form.php
David Mudrak [Mon, 4 Jan 2010 17:44:07 +0000 (17:44 +0000)]
Renaming gradingform.php to edit_form.php

15 years agoFirst drafts of the Number of errors grading strategy
David Mudrak [Mon, 4 Jan 2010 17:43:31 +0000 (17:43 +0000)]
First drafts of the Number of errors grading strategy

15 years agoDisplay the strategy name
David Mudrak [Mon, 4 Jan 2010 17:43:12 +0000 (17:43 +0000)]
Display the strategy name

15 years agoEdit grading form refactoring
David Mudrak [Mon, 4 Jan 2010 17:43:02 +0000 (17:43 +0000)]
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.

15 years agoAdded submission form strings
David Mudrak [Mon, 4 Jan 2010 17:42:49 +0000 (17:42 +0000)]
Added submission form strings

15 years agoSome plays with submission, to do
David Mudrak [Mon, 4 Jan 2010 17:42:37 +0000 (17:42 +0000)]
Some plays with submission, to do

15 years agoAdding formal source code conventions
David Mudrak [Mon, 4 Jan 2010 17:42:27 +0000 (17:42 +0000)]
Adding formal source code conventions

15 years agoExplaining nattachments better
David Mudrak [Mon, 4 Jan 2010 17:42:17 +0000 (17:42 +0000)]
Explaining nattachments better

15 years agoInitial draft of submission support
David Mudrak [Mon, 4 Jan 2010 17:38:29 +0000 (17:38 +0000)]
Initial draft of submission support

15 years agoSome mform refactoring
David Mudrak [Mon, 4 Jan 2010 17:37:53 +0000 (17:37 +0000)]
Some mform refactoring

Uses customdata instead of modified constructor.

15 years agoYay! Saving dimensions works
David Mudrak [Mon, 4 Jan 2010 17:37:31 +0000 (17:37 +0000)]
Yay! Saving dimensions works

Cooking dimension editor's raw data is done by the strategy class.

15 years agoFixed the missing table in Error banded strategy and renaming it to Number of errors.
David Mudrak [Mon, 4 Jan 2010 17:37:04 +0000 (17:37 +0000)]
Fixed the missing table in Error banded strategy and renaming it to Number of errors.

15 years agoUse strategy-specific term for assessment dimension
David Mudrak [Mon, 4 Jan 2010 17:36:43 +0000 (17:36 +0000)]
Use strategy-specific term for assessment dimension

15 years agoApplying Eloy's suggestions
David Mudrak [Mon, 4 Jan 2010 17:36:15 +0000 (17:36 +0000)]
Applying Eloy's suggestions

15 years agoMore work on the strategy API
David Mudrak [Mon, 4 Jan 2010 17:35:56 +0000 (17:35 +0000)]
More work on the strategy API

15 years agoSome files renamed to fit the coding style
David Mudrak [Mon, 4 Jan 2010 17:35:12 +0000 (17:35 +0000)]
Some files renamed to fit the coding style

15 years agoMDL-17827 workshop: initial check in of the files
David Mudrak [Mon, 4 Jan 2010 17:34:08 +0000 (17:34 +0000)]
MDL-17827 workshop: initial check in of the files

Exported from David's git repository

15 years agoAdding locallib.php to store internal functions
David Mudrak [Mon, 4 Jan 2010 17:12:35 +0000 (17:12 +0000)]
Adding locallib.php to store internal functions

15 years agoMDL-20204 improved pix docs
Petr Skoda [Mon, 4 Jan 2010 14:40:34 +0000 (14:40 +0000)]
MDL-20204 improved pix docs

15 years agoMDL-21236 removing spurious popup action from normal action links, thanks sam
Petr Skoda [Mon, 4 Jan 2010 09:46:47 +0000 (09:46 +0000)]
MDL-21236 removing spurious popup action from normal action links, thanks sam

15 years ago"MDL-20204, fixed yui2 js file path"
Dongsheng Cai [Mon, 4 Jan 2010 08:33:33 +0000 (08:33 +0000)]
"MDL-20204, fixed yui2 js file path"

15 years agoMDL-21232 using normal = which should be enough now in PHP5
Petr Skoda [Mon, 4 Jan 2010 07:51:59 +0000 (07:51 +0000)]
MDL-21232 using normal = which should be enough now in PHP5

15 years agoportfolio/glossary MDL-21158 make sure full glossary export is in a leap2a selection
Penny Leach [Mon, 4 Jan 2010 03:57:47 +0000 (03:57 +0000)]
portfolio/glossary MDL-21158   make sure full glossary export is in a leap2a selection

15 years agoportfolio NOBUG just fixed some code wrapping in a long line
Penny Leach [Mon, 4 Jan 2010 03:43:18 +0000 (03:43 +0000)]
portfolio NOBUG just fixed some code wrapping in a long line

15 years agoportfolio/forum MDL-21156 added portfolio url rewriting to forum export
Penny Leach [Mon, 4 Jan 2010 03:28:59 +0000 (03:28 +0000)]
portfolio/forum MDL-21156  added portfolio url rewriting to forum export

15 years agoportfolio MDL-21156 added a missing lang string and removed a too strict exception
Penny Leach [Mon, 4 Jan 2010 03:20:48 +0000 (03:20 +0000)]
portfolio MDL-21156  added a missing lang string and removed a too strict exception

15 years agooutput MDL-21232 image now checks to see if passed url var is a moodle_url to avoid...
Sam Hemelryk [Mon, 4 Jan 2010 02:53:47 +0000 (02:53 +0000)]
output MDL-21232 image now checks to see if passed url var is a moodle_url to avoid bad image src attribute

15 years agoUpdated the HEAD build version to 20100104
Moodle Robot [Mon, 4 Jan 2010 00:33:27 +0000 (00:33 +0000)]
Updated the HEAD build version to 20100104

15 years agoMDL-21231 fixed recent regression, thanks penny for the report
Petr Skoda [Sun, 3 Jan 2010 21:10:49 +0000 (21:10 +0000)]
MDL-21231 fixed recent regression, thanks penny for the report