Juan Olivares
13860394b0
MDL-74248 mod_folder: Fix mp3 files being unaccessible in chrome
...
Platform users that host mp3 files within a folder are not able to access them using Chrome. This fix allows them to do so.
2023-11-20 11:30:57 +01:00
Sara Arjona
7430208d56
MDL-78884 files: Deprecate size parameter for icons
...
The parameter $size of the following functions has been deprecated and is not used any more:
- file_extension_icon
- file_file_icon
- file_folder_icon
- file_mimetype_icon
- mimeinfo_from_type
- url_guess_icon
That way, the sized icons (xxxxxxx-yyy.png) can be removed and replaced by SVG, to make it easier
to keep them updated because once they are replaced, there will only be one single file for each
MIME icon.
2023-08-23 07:30:16 +02:00
Ferran Recio
37893f9878
MDL-74104 mod_folder: fix recent activity with forcedownload links
...
The folder module has a setting to force the download links. However,
the recent activity block ignored this setting until now.
2022-03-09 13:05:55 +01:00
Bas Brands
f2ddd23ec1
MDL-71457 theme_boost: activity icon styling
2021-12-20 15:02:24 +01:00
Shamim Rezaie
4ddc9fe0f4
MDL-71410 core: Prevent recursively calling getters
2021-04-27 14:32:26 +10:00
Paul Holden
2aa48515db
MDL-69695 mod_folder: use forcedownload setting during inline display.
2020-09-14 21:38:35 +01:00
Charles Fulton
a0908df796
MDL-28501 mod_folder: make force downloading behavior configuable
2020-09-07 14:37:33 -04:00
Luca Bösch
439c8c5933
MDL-68216 block_recent_activity: Format elements more nicely.
2020-05-05 22:09:19 +02:00
Sara Arjona
810d7a3d2e
MDL-66609: core_h5p: Add <component>_get_path_from_pluginfile method
...
This method has been added to all the components having some exceptions
with the way they treat the itemid in the pluginfile paths.
2019-10-29 10:22:43 +08:00
Mihail Geshoski
a124355646
MDL-47247 mod_folder: Apply site config when showexpanded is not set
2019-01-29 08:58:14 +08:00
Tim Hunt
939218c2b6
MDL-46783 permissions: let some moodle/ caps be overriden in all mods
...
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:
* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity
This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.
As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
2018-12-05 16:44:25 +00:00
Shamim Rezaie
ac0f38b1d8
MDL-63138 mod_folder: Check if the module is visible to the user
2018-09-07 14:58:35 +10:00
Shamim Rezaie
a0e19ccf32
MDL-63138 mod_folder: Add userid param to mod_folder calendar callback
2018-09-07 14:58:16 +10:00
Marina Glancy
8852faea91
MDL-61876 modules: cm_info::set_content can accept formatted text
...
Allow modules to apply format_text() on user input before calling cm_info::set_content(). This is useful for
modules that add interactive content (for example, JS enhanced folder tree). Otherwise all javascript would
be removed if $CFG->forceclean is enabled.
2018-05-07 11:27:56 +08:00
Ankit Agarwal
0d14fcbc60
MDL-9367 restore: Roll only configuration dates
...
It was decided to roll only configuration dates and any date related to user content
such as 'timecreated' , 'timemodified' etc should not be rolled forward.
2017-08-01 10:46:37 +05:30
Marina Glancy
50d845e3ed
MDL-58665 dashboard: use bigger course object for completion
...
class completion_info will make an extra DB query to retrieve the course if course->enablecompletion is not present
2017-05-01 16:59:07 +08:00
Mark Nelson
59391e80ad
MDL-58501 mod_*: improved docs for new calendar callbacks
2017-04-12 17:43:52 +08:00
Mark Nelson
01f96180ff
MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action
2017-04-06 15:00:02 +08:00
Andrew Nicols
941cb7ce3c
Merge branch 'MDL-58399-master' of git://github.com/jleyva/moodle
2017-04-05 14:22:39 +08:00
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Mark Nelson
b3bd7a66a0
MDL-57878 mod_*: added inclusion of completion event and callbacks
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Juan Leyva
1104a9fa44
MDL-58399 webservice: Return additional file fields for repositories
...
We should be detecting when we are treating files that are linked to
external repositories.
For doing that we'd need to return some additional fields via Web
Services:
- isexternalfile
- mimetype (google docs files use an special one)
- repositorytype (the repository plugin name)
2017-03-28 20:23:16 +02:00
Andrew Hancox
26ca6df76a
MDL-56841 mod_folder: Display edit and download buttons inline
2017-02-02 15:15:30 +00:00
Juan Leyva
65b2669d98
MDL-56307 course: Return time updated and times updated
2016-10-25 10:10:55 +01:00
Juan Leyva
02a73d767c
MDL-56307 course: New course_check_module_updates_since method
2016-10-25 10:10:52 +01:00
Eloy Lafuente (stronk7)
682074fe5b
MDL-56100 mod_folder: add missing $OUTPUT for recent activity report.
2016-10-17 23:06:54 +02:00
Charles Fulton
1de06aa19b
MDL-56100 mod_folder: add support for recent activity
2016-10-14 08:57:56 -04:00
Andrew Hancox
23b6636997
MDL-51687 mod_folder: Trigger event when downloading all files.
2016-03-01 12:27:55 +08:00
Rajesh Taneja
cd6e7e0da0
MDL-51306 mod_folder: Use context_module to find details
...
renderable should not be used for extracting
details. Use cm to get context and dir information
2016-02-10 15:51:31 +08:00
Andrew Hancox
279918e126
MDL-51306 mod_folder: Add button to download entire folder.
2016-02-02 15:07:48 +00:00
Juan Leyva
2d7927c982
MDL-50008 folder: Move logging and completion to new API
2015-07-30 23:01:43 +02: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
Rex Lorenzo
57e228045b
MDL-38646 folder: change column from show_expanded to showexpanded
2013-04-18 17:28:35 -07:00
Eloy Lafuente (stronk7)
d86db37c44
MDL-38632 folder: observe show_expanded on course page
2013-03-22 15:53:53 +01:00
Marina Glancy
c553530a8e
MDL-37455 mod_folder can display content inline. Coding style corrections
2013-02-23 12:03:58 +11:00
Marina Glancy
ec62d8b4e5
MDL-37455 Performance improvement in mod_folder
...
We cache and store additional data in cm_info::customdata and do not
query DB every time the folder is displayed on a course page
2013-02-23 12:03:58 +11:00
Marina Glancy
38199c247b
MDL-37455 Allow mod_folder to display the content inline on course page instead of on separate page
2013-02-23 12:03:58 +11:00
David Monllao
c068b41bed
MDL-34466 mod_folder Replace all instances of get_context_instance() with respective context_XXXX class in mod/folder
2012-07-27 13:26:06 +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
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
Ankit Agarwal
c1413e22e2
MDL-31945 folder: Removing deprecated function folder_get_participants
2012-05-08 14:44:47 +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