Marina Glancy
9dfe870449
MDL-51888 mod_resource: cache file details for performance
...
If file details (size, type, date) are configured to be displayed we cache them
in course cache raw and build the display string in user language/timezone when
displaying. Also changed behat test not to fail in 2016
2015-11-02 10:38:26 +08:00
Marina Glancy
9a58434601
MDL-40863 mod_resource: do not cache user-specific info
2015-10-23 11:25:51 +01:00
Andrew Hancox
ba8b641dce
MDL-40863 mod_resource: Add option to show modified date
2015-10-23 11:25:07 +01:00
Juan Leyva
537f7b38c8
MDL-49792 resource: Move logging and completion to new API
2015-07-30 23:01:01 +02:00
David Balch
112aed6035
MDL-9443 core_files: Also filter .xhtml resources.
...
Change the filters to treat .xhtml files the same as .html,
so they are filtered by both "All files" and "HTML files only".
2014-11-19 14:14:50 +00:00
sam marshall
9c85baa8c5
MDL-44725 Availability: Replace groupmembersonly - FEATURE_xx (6)
...
Remove old FEATURE_GROUPMEMBERSONLY as no longer required.
2014-09-02 13:03:17 +01:00
Mark Nelson
70279746ec
MDL-41286 report_outline: updated report to use logging api
...
AMOS START
MOV [neverseen, mod_folder],[neverseen, report_outline]
MOV [neverseen, mod_page],[neverseen, report_outline]
MOV [neverseen, mod_resource],[neverseen, report_outline]
MOV [neverseen, mod_url],[neverseen, report_outline]
AMOS END
2014-04-15 22:42:59 -07:00
Marina Glancy
cf051cc46e
Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's"
...
This reverts commit 7b7bb92d42
.
2014-04-15 17:14:57 +08:00
Rajesh Taneja
7b7bb92d42
MDL-41283 report_participation: Fixed legacy actions returned from api's
2014-04-15 13:31:03 +08:00
Rajesh Taneja
b2b4ec308e
MDL-41283 report_participation: Added phpdoc about function not used
...
In new logging api, xxx_get_view_actions() and xxx_get_post_actions()
will not be used to identify the paticipation of user. Event's crud
and edulevel status will define user's participation.
2014-04-15 13:31:03 +08:00
Sam Hemelryk
11e41f1ae4
MDL-44156 mod_resource: unified @package use
2014-02-18 11:19:33 +13:00
Dan Poltawski
73ee2fda6b
MDL-41690 course: remove use of deprecated functions
2014-01-06 10:45:59 +08:00
Petr Škoda
0c431257e9
MDL-42387 standardise file lifetime handling
2013-11-01 10:42:18 +01:00
Rossiani Wijaya
b25e7d8599
MDL-41562 file resource: fix page heading levels.
...
Also removing printheading options setting.
2013-09-10 17:22:08 +08:00
Tim Hunt
3c620d7f7c
MDL-40867 fix misleading PHPdocs for _get_coursemodule_info
2013-07-26 10:40:39 +01:00
Frederic Massart
c384744304
MDL-36638 usability: Core changes for new quiz/question icons
2012-11-29 12:41:29 +08:00
Martin Dougiamas
72225e18e7
MDL-36390 - Make sure resource icons are 24px to match activities
2012-11-06 15:59:32 +08:00
Sam Hemelryk
10654e32e2
MDL-34234 course: Fixed notice causing issues in JS when upgrade settings for 2.3+ not run
2012-10-01 09:58:09 +13:00
Ankit Agarwal
bf0f06b1be
MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method
2012-08-02 15:37:38 +08:00
Dan Poltawski
a274df85f9
MDL-34061 mod_resource: filter settings weren't coming from defaults
2012-07-04 14:06:58 +08:00
Aparup Banerjee
6b8b0b2e68
MDL-34400 Libraries : maintained naming rule by removing stray mod_ function and class prefixes from activity modules.
...
This rule @ http://docs.moodle.org/dev/Activity_modules still stands for now.
2012-06-11 13:34:47 +08:00
Martin Dougiamas
5fece0f28d
MDL-33404 Fix defaults for ordinary files that are drag/dropped into the course page
2012-05-29 12:58:24 +08:00
Marina Glancy
559276b153
MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
...
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Sam Hemelryk
7b06151288
Merge branch 'MDL-22504_drag_and_drop_upload_final' of https://github.com/davosmith/moodle
...
Conflicts:
course/lib.php
theme/base/style/course.css
2012-05-17 10:55:35 +12:00
Davo Smith
abed5d655f
MDL-22504 Fixed issues raised by Sam Hemelryk
2012-05-04 12:12:52 +01:00
Jason Fowler
c72c01b184
MDL-31953 - Resource - Removing the deprecated resource_get_participants function
2012-05-08 14:37:43 +08:00
Davo Smith
32528f94e4
MDL-22504 Drag and drop upload course - enables upload of files, text and urls to a course page
2012-04-30 09:53:25 +01:00
David Mudrak
261cbbacc1
MDL-32471 preview thumbnails support for activity modules
...
Activity module's xxx_pluginfile() now accepts the $options parameter
that is to be passed to the send_stored_file() function.
2012-04-24 12:09:45 +02:00
Dongsheng Cai
d2b7803e5a
MDL-30973 Files API, check and update DocBlock
2012-02-15 12:48:57 +08:00
sam marshall
68828cc431
MDL-31015 File/URL resource 'Open' and 'Force download' options should work consistently
2012-01-27 16:01:19 +00:00
sam marshall
a2c5766674
MDL-31121 File resource: add options to display file type and size
2012-01-19 12:52:38 +00:00
Dongsheng Cai
ec0d6ea2a9
MDL-28646 Web service: core_course_get_contents()
...
1. Implement core_course_get_contents web service
2. Implement callbacks in folder, resource, page and url modules
3. Implement download script for web service
2011-11-28 16:22:38 +08:00
Jason Fowler
020088d695
MDL-29231 - Course, Resource - Fix so that the correct icon is displayed for courses that have had two or more files uploaded to them - Thanks Michael D for the patch
2011-10-13 11:50:23 +08:00
sam marshall
3e4c243500
MDL-27001 'Show description' feature part 3: Implementation for all modules
...
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
David Mudrak
c6c9a3bcdb
MDL-28221 resource: fixed a typo in variable names
2011-07-11 23:30:28 +02:00
Andrew Davis (andyjdavis)
b38e2e28a1
MDL-27829 blocks: altered the algorithm used to find plugin page types
2011-06-27 12:27:41 +08:00
Dongsheng Cai
b1627a92e5
MDL-26105 Block settings should contains less options, and be more user friendly
...
AMOS BEGIN
MOV [page-blog-index, pagetype], [page-blog-index, blog]
MOV [page-blog-x, pagetype], [page-blog-x, blog]
MOV [page-tag-x, pagetype], [page-tag-x, tag]
MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Sam Hemelryk
2b04c41c58
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
...
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.
2011-05-23 12:35:39 +02:00
Petr Skoda
3d8f1d3abc
MDL-26616 fix broken resource modinfo caused by invalid sortorder upgrade
2011-02-27 22:54:41 +01:00
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