Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
Petr Skoda
9815cceee8
improved coding style of last commit
2010-10-18 11:43:09 +00:00
Petr Skoda
fe3c5daede
adding support for directory links in file resource
2010-10-18 11:41:11 +00:00
Petr Skoda
b4ff85aa38
fixed incorrect comparison
2010-10-18 10:52:57 +00:00
Petr Skoda
ce459060fe
MDL-14627 new mod/resource:view capability
2010-10-14 19:36:19 +00:00
Petr Skoda
39790bd805
MDL-24321 switching to stdClass in /mod/
2010-09-21 08:37:36 +00:00
Andrew Davis
4eaa964f24
filter MDL-23810 adding a flag to indicate when we're working in an embedded resource to prevent winding up with nested Moodles
2010-09-16 07:06:29 +00:00
Ashley Holman
d57a462103
MDL-23905 fix regression in mod_resource pluginfile.php migration
2010-08-25 01:40:10 +00:00
Petr Skoda
ede7252234
MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code
2010-08-12 20:37:24 +00:00
Petr Skoda
702ab58c08
MDL-21249 improved php docs and adding copyright blocks in mod/resource
2010-07-25 11:25:02 +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
Petr Skoda
f1b8bcf70a
MDL-22630 adding missing path component into file download link
2010-05-31 18:45:23 +00:00
Dongsheng Cai
f79321f1b8
MDL-22548, added sortorder field to files table, drop mainfile field from resource table, use sortorder to decide main file
2010-05-28 07:29:11 +00:00
Petr Skoda
9b56a34f7d
MDL-16089 some resource lib and lang pack cleanup
...
AMOS START
MOV [displayauto,mod_resource],[resourcedisplayauto,core]
MOV [displaydownload,mod_resource],[resourcedisplaydownload,core]
MOV [displayembed,mod_resource],[resourcedisplayembed,core]
MOV [displayframe,mod_resource],[resourcedisplayframe,core]
MOV [displaynew,mod_resource],[resourcedisplaynew,core]
MOV [displayopen,mod_resource],[resourcedisplayopen,core]
MOV [displaypopup,mod_resource],[resourcedisplaypopup,core]
AMOS END
2010-05-22 13:54:41 +00:00
Eloy Lafuente
a345de6e59
MDL-22151 backup - added resource (file) module backup
2010-05-04 22:19:22 +00:00
Sam Marshall
c15a60e6be
MDL-21687 Completion 'on view' not working on resource types after resource was rewritten
2010-02-23 13:10:45 +00:00
Petr Skoda
9a9012dc8f
MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now)
2010-02-14 20:18:10 +00:00
skodak
aa54ed7b02
MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker
2009-08-13 20:45:50 +00:00
tjhunt
d4a03c00ea
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
...
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)
Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)
The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.
How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.
Further refinement for how the theme and block code gets initialised.
Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)
Things that are still broken:
* some pages in lesson, quiz and resource. I'm working on it.
* lots of developer debug notices pointing out things that
need to be updated.
2009-07-09 07:35:03 +00:00
skodak
db4ecf4c7f
MDL-16438 dixed resource borking install - no code execution in lib.php files!
2009-07-02 15:01:22 +00:00
tjhunt
fa98e6d15a
Kill some debug code.
2009-06-25 06:56:41 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
skodak
a8c31db2a3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:47:18 +00:00
samhemelryk
6b60b0004e
resource MDL-18691 Implemented resource_get_name in one more place for dropdowns
2009-06-09 05:13:48 +00:00
samhemelryk
28f672b2df
mod lib MDL-19294 Added boilerplate and phpdocs
2009-05-28 05:30:46 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
skodak
dc5c2bd9eb
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:17:21 +00:00
skodak
42f103be4c
MDL-18910 moving modedit features to modname_supports()
2009-04-21 08:57:20 +00:00
fmarier
c93dae38f0
mod/resource: MDL-18641 ability for resource type plugins to specify their own icon
2009-04-03 01:13:42 +00:00
fmarier
13ca1e06b8
mod/resource: MDL-18691 allow custom resource types to specify their name in their own lang directory
...
Before this change, the full name of the resource type had to be stored in the "resource" namespace (for example in /mod/resource/lang/en_utf8/resource.php).
Now it can be put in the "resource_foo" namespace:
e.g. in /mod/resource/type/foo/lang/en_utf8/resource_foo.php:
<?php
$string['resourcetypefoo'] = 'Link to a Foo Bar document';
?>
2009-03-27 03:21:10 +00:00
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