Commit Graph

107 Commits

Author SHA1 Message Date
skodak c5b8b31ad5 MDL-17617 removed some uses of snoopy library 2009-01-08 15:01:19 +00:00
skodak 214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
mjollnir_ 96a38422e1 MDL-16541 - text resource portfolio implementation - send as .html since we're formatting that way 2008-10-22 10:45:05 +00:00
mjollnir_ 6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
nicolasconnault 5d1381c2c3 MDL-16486 Implemented the proxy DB class. Sort of working, but still some issues to sort out, like fix_course_sort_order, which updates a record NOT inserted by the unit test. 2008-09-19 14:28:22 +00:00
mjollnir_ 759204f88d MDL-16517 - fix regression i introduced in resource mod portfolio implementation 2008-09-15 19:39:46 +00:00
mjollnir_ c50466705e MDL-15666 - fixing bugs in resource unit test implementation 2008-09-15 16:08:59 +00:00
mjollnir_ 0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
mjollnir_ e4af1deef4 MDL-15833 - added some commented out hints for upload resource (not implemented yet) 2008-09-10 09:36:42 +00:00
mjollnir_ 8f95364733 MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT. 2008-09-09 11:01:29 +00:00
mjollnir_ d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
mjollnir_ ea0de12f10 MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_ 3bb8a2c75c MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers 2008-09-04 10:38:44 +00:00
mjollnir_ 866d543fde MDL-15758 - slight change to the portfolio_add_button contract to be more flexible. 2008-08-14 16:01:12 +00:00
mjollnir_ 494e47e497 MDL-15768 - add capability check in mod/resource for portfolio export 2008-08-11 14:53:00 +00:00
mjollnir_ d67bfc32a1 MDL-15777 - updated most of the portfolio code to use files api.
Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.
2008-08-09 14:24:58 +00:00
mjollnir_ ffcfd8a777 MDL-15762 log portfolio transfers and notify the user when there are dups 2008-07-30 16:38:13 +00:00
sam_marshall 18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
mjollnir_ bb63fc3e0c MDL-15834 portfolio supported_formats doesn't need to be abstract 2008-07-29 12:10:14 +00:00
mjollnir_ 654119b54e MDL-15758 - fixing assignment & resource bugs 2008-07-28 10:44:25 +00:00
mjollnir_ 3efe78dfc4 MDL-15758 - added add to portfolio button to resource/text & html 2008-07-28 08:19:14 +00:00
skodak f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
jerome d81f018f3a MDL-11461 all ressource types are now displayed in the ressource help popup, merged from 1.9 2008-06-17 02:00:54 +00:00
dongsheng baa336f08e "MDL-14129, fix all print_error" 2008-06-12 10:55:23 +00:00
skodak 5f5cd33c1d MDL-15114 resource mod converted 2008-06-04 00:04:03 +00:00
skodak c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak 7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 1ea543df62 MDL-7547 yet more speed improvements in rebuild_course_cache() ; merged from MOODLE_19_STABLE 2008-02-01 08:15:38 +00:00
skodak f36cbf1d6e MDL-13214 rebuild_course_cache fixes and speed improvements; merged from MOODLE_19_STABLE 2008-02-01 07:48:26 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
urs_hunkler f58fcc8234 merged from 1.9 :: MDL-11154 :: added the missing code and the config line and explanation in config.php for flexible columns. 2008-01-12 18:14:49 +00:00
mchurch ca29e37d24 MDL-12744 - Add ability to pass an extra button for use in print header for modules that use the course page to display themselves with blocks. 2007-12-28 16:13:09 +00:00
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak 0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
skodak 9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
tjhunt bddd9f6f40 MDL-11762 - Navigation not set up properly for resources - $this->navlinks was not being initialised in the base class. Merged from MOODLE_19_STABLE. 2007-10-15 07:32:15 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
nicolasconnault 65634a81b8 MDL-10853 Fixed this bug plus others in the resource class 2007-08-16 17:38:50 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
poltawski 6d77bd6146 MDL-10001 - Change the ordering of height and width parameters in the interface to reflect
previous ordering. merged from MOODLE_18_STABLE
2007-06-04 22:24:23 +00:00
urs_hunkler f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst 06dfa0cc33 Breadcrumbs: mod/resource changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:57:09 +00:00
skodak 69995c4a1e MDL-8520 resource navigation borked by accessibility frame changes 2007-02-14 22:05:23 +00:00
skodak 9f741612e5 MDL-8262 fixed require_course_login and $COURSE logic 2007-01-22 18:49:42 +00:00
skodak bfca8b1774 MDL-7861 resource mod related xhtml strict fixes (student visible interface only) 2007-01-07 13:49:31 +00:00
skodak fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
skodak e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
skodak 89bfeee0d6 MDL-7742 added nested drop down box to add activities/resources to course, 3rd party mods can specify type
MDL-6987 preparation for migration of mod/assignment/mod.html
2007-01-02 09:33:07 +00:00