Commit Graph

32 Commits

Author SHA1 Message Date
Amaia Anabitarte 8874725c53 MDL-78847 mod_folder: Fix inline folder renderer 2023-09-26 10:39:35 +02: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
Laurent David fc72a1d7b1 MDL-75337 core: Single button - core changes
* Change all core calls toward single_button to use single_button::BUTTON_PRIMARY
    when needed
2023-01-24 06:01:35 +01:00
Bas Brands dd95845bf1 MDL-73595 theme_boost: make tertiary nav more distinct 2022-02-28 13:07:52 +01:00
Peter Dias 93782ecdb9 MDL-72413 folder: Use the common module for setting the header 2021-12-13 09:49:34 +08:00
Mihail Geshoski 671375115f MDL-71913 mod_folder: Add tertiary navigation 2021-10-13 11:05:30 +08:00
Mark Nelson 9fff03a90a MDL-68481 mod_folder: stream files when creating zip 2020-12-12 12:49:04 +08:00
Charles Fulton a0908df796 MDL-28501 mod_folder: make force downloading behavior configuable 2020-09-07 14:37:33 -04:00
Luca Bösch ee7c297da4 MDL-68144 mod_folder: make top margins less dominant for folder content 2020-03-27 07:14:28 +01:00
Mihail Geshoski 6f48461344 MDL-62628 resource: Folder name formatting issue when displayed inline 2018-06-08 08:35:29 +08: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
Andrew Hancox 26ca6df76a MDL-56841 mod_folder: Display edit and download buttons inline 2017-02-02 15:15:30 +00:00
Damyon Wiese ba4173384d MDL-56853 mod_folder: Review styles in boost
Remove random center-alignment and put buttons on a single line.
2016-11-09 13:35:08 +08:00
Andrew Hancox 50ed9363c4 MDL-53179 mod-folder: Move download button into seperate container 2016-02-25 15:15:07 +00: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
Sam Hemelryk 11e41f1ae4 MDL-44156 mod_resource: unified @package use 2014-02-18 11:19:33 +13:00
Marina Glancy b9c3f07ad0 MDL-40191 folder: Do not check capability in renderer
Capability to access the module is already checked before calling the renderer. Extra check works bad together with switching roles
2013-12-04 18:27:55 +11:00
Marina Glancy f6937172f3 MDL-38707 Display module name when the folder is displayed inline 2013-07-19 15:52:23 +10:00
Rex Lorenzo 57e228045b MDL-38646 folder: change column from show_expanded to showexpanded 2013-04-18 17:28:35 -07:00
Damyon Wiese 43087d02dd Merge branch 'MDL-38368-master' of git://github.com/FMCorz/moodle 2013-03-19 16:17:41 +08:00
Damyon Wiese 20139cbcef MDL-30790 folder : Whitespace fixes 2013-03-19 15:59:41 +08:00
Rex Lorenzo f295727859 MDL-30790 - Option to collapse or expand sub-folders 2013-03-15 16:19:07 -07:00
Frederic Massart 9f1b00a85d MDL-38368 folder: No edit button when displayed inline 2013-03-14 14:03:17 +08: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
Eloy Lafuente (stronk7) 7772fed15d MDL-34338 mod_folder: delete unused $browser var. 2012-09-11 02:18:38 +02:00
Marina Glancy eb8d220d68 MDL-34338: renderer for mod_folder should not use file_info 2012-09-07 09:34:04 +08: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
Marina Glancy 4b8d51d79a MDL-33746 make folder view look like filemanager tree view 2012-07-05 16:50:46 +08:00
Petr Skoda 9fe1fbcccb MDL-21249 improved php docs and adding copyright blocks in mod/folder 2010-07-25 11:12:16 +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