Commit Graph

31 Commits

Author SHA1 Message Date
Russell Smith 1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Adrian Greeve 07d807ac24 MDL-40650 - workshop: Fixed fatal error in workshop cron.
Line 246 was missing a semicolon at the end and this was causing
errors.
2013-07-15 09:54:02 +08:00
Adrian Greeve a327f25ef1 MDL-31776 - lib: Alternate name fields
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00
David Mudrak 74f54102dc MDL-27508 display submission link at the manual allocator page 2012-04-27 14:41:59 +02:00
David Mudrak 25bae250ee MDL-27508 workshop manual allocator supports groups
Pagination support improved, too.
2012-04-27 14:41:59 +02:00
David Mudrak c90a88bfb7 MDL-27508 improving the docs for workshopallocation_manual_allocations class 2012-04-27 14:41:59 +02:00
David Mudrak ec1bf0f23d MDL-27508 workshop manual allocator supports configurable page size for items pagination 2012-04-27 14:41:59 +02:00
David Mudrak 8a62500fd5 MDL-32235 workshop manual allocator now uses the new workshop_allocation_result class 2012-04-13 04:49:45 +02:00
David Mudrak 51abc39695 MDL-26188 Workshop: get rid of a method that is not used anyway
The protected method get_allocations_recordset() is a relict from
earlier development phases of Workshop module. Removing it as it
confuses recent Eloy's recordset usage detection tool.
2011-02-04 14:33:48 +01:00
David Mudrak a8b309a37d MDL-22507 workshop rendering of messages and allocation process fixed 2010-10-20 13:13:01 +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 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +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 346af1a431 MDL-24091 workshop: deleting subplugins data together with the workshop instance 2010-09-17 13:24:52 +00:00
David Mudrak ba2f16c9a7 MDL-21676 Fixed regression - typo in the table alias 2010-07-07 13:37:53 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
David Mudrak 18db005f9c MDL-22368 Removing the limit of number of users in the recordset 2010-05-06 22:06:34 +00:00
Petr Skoda 929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
David Mudrak d523044d5e workshop: fixing minor issues discovered during the preparation of iMoot2010 talk 2010-02-08 08:53:43 +00:00
Petr Skoda b9bc201962 MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!) 2010-01-17 09:50:55 +00:00
Petr Skoda eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +00:00
Petr Skoda 3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
David Mudrak 7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak 6adbcb8015 workshop in reply to MDL-20204 - new output API 2010-01-04 18:26:56 +00:00
David Mudrak d895c6aaf5 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.
2010-01-04 18:11:35 +00:00
David Mudrak 1f5a559590 Preparing for the future feature to let the user to set users per page 2010-01-04 18:09:58 +00:00
David Mudrak 934329e50c Make sure we do not pass empty arrays to $DB->get_in_or_equal() 2010-01-04 18:08:58 +00:00
David Mudrak 29dc43e7e4 MDL-20058 first prototype of the grading report renderer 2010-01-04 18:08:27 +00:00
David Mudrak 00aca3c14c 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).
2010-01-04 18:08:13 +00:00
David Mudrak aa40adbf9f MDL-19717 workshop manual allocator - pagination support and performance issues 2010-01-04 18:07:38 +00:00
David Mudrak f05c168d2e MDL-20236 overall codebase architecture cleanup and fixing regression
See the issue description for more details
2010-01-04 18:05:48 +00:00