Eloy Lafuente (stronk7)
25494613f4
Merge branch 'MDL-66304' of https://github.com/golenkovm/moodle
2019-10-14 10:53:24 +02:00
Brendan Heywood
3bc082dd07
MDL-66166 core_useragent: Update MoodleBot UA and treat as web crawler
2019-09-30 23:30:20 +10:00
Mikhail Golenkov
1a15925240
MDL-66304 files: Allow xsendfile support in alternative file system.
2019-09-30 09:00:57 +10:00
Juan Leyva
418a86c660
MDL-66468 file: Return text content when using IGNORE_FILE_MERGE
2019-08-22 13:10:39 +01:00
Matteo Scaramuccia
69a1afd9b9
MDL-65686 setuplib: Fix missing round brackets
2019-05-30 22:41:37 +02:00
Juan Leyva
26e778d1b7
MDL-60680 file: Support any user id when creating tokens for files.
...
$includetoken parameter type has been changed. Now supports:
boolean: False indicates to not include the token, true indicates to generate a token for the current user ($USER).
integer: Indicates to generate a token for the user whose id is the integer value.
2019-04-23 13:16:15 +02:00
Marina Glancy
beff3806d6
MDL-10965 courses: capability to browse course list
2019-04-10 12:35:28 +02:00
Eloy Lafuente (stronk7)
73dd6dea3f
Merge branch 'MDL-65038_master' of https://github.com/maksudr/moodle
2019-04-04 20:30:40 +02:00
Juan Leyva
e0695f8764
MDL-64658 files: Support constant to avoid file merging
...
... in file_save_draft_area_files
2019-03-25 14:57:18 +01:00
maksudr
2ae0c9c7bc
MDL-65038 core_files: Fix typo in function mock_response
2019-03-20 20:56:23 +00:00
Mark Nelson
80b6fb7a79
MDL-27520 core_grades: make constant names clearer
...
Also using them in more locations.
2018-10-17 15:57:27 +08:00
Mark Nelson
c9f6ca1142
MDL-27520 core: allow retrieval of files from grade files areas
...
Also added 'history' filearea for the history report where files
will be copied to if the site has enabled this feature.
We will also be storing files in the module context, not course,
so that check was removed.
2018-10-17 13:15:45 +08:00
Andrew Nicols
2e8d476165
MDL-36754 core_files: Add back missing baseurl line
2018-08-14 15:54:12 +08:00
Andrew Nicols
91f1f28233
MDL-36754 core_files: Support tokens when rewriting text
...
Support use of a token for access to pluginfile.php when rewriting text
content.
This is primarily intended for notifications where the user is unlikely
to be logged into Moodle when receiving the notification.
2018-08-14 06:57:32 +08:00
Jun Pataleta
c353ad20c3
MDL-45170 core: Integration review fixes
...
* Pass $forcehttps parameter to call extract_draft_file_urls_from_text()
call in \core_weblib_testcase::test_extract_draft_file_urls_from_text()
* Style fixes
2018-08-08 16:17:32 +08:00
Charles Fulton
7d7d3b1731
MDL-45170 files: check other draftfile areas when processing
2018-08-08 16:15:23 +08:00
Adrian Greeve
f38766e166
MDL-62849 files lib: Add method to return all files.
...
Added a function which returns all the files from all directories
in the draftarea.
2018-07-17 10:25:11 +08:00
Jake Dallimore
4d5046b0eb
MDL-51419 core_files: Support for utf8 in file names in MS Edge
2018-06-22 10:29:23 +08:00
Eloy Lafuente (stronk7)
6663f615ed
Merge branch 'wip-MDL-60161-master-test' of git://github.com/abgreeve/moodle
2017-12-18 16:09:51 +01:00
Adrian Greeve
48a9856da8
MDL-52100 filelib: Files that are oversized are checked with user.
...
Files that are oversized could have been uploaded by a user who
can ignore the file size limits. These files should not be deleted
in these situations.
2017-12-18 13:12:22 +08:00
Carson Tam
7d4a3d1d07
MDL-60161 class curl in filelib: Cleaned up doc block.
2017-12-13 11:07:58 +08:00
Carson Tam
a2b66c7833
MDL-60161 class curl in filelib: Avoid duplicate params in http header
2017-12-13 11:07:58 +08:00
Sara Arjona
6820f36bda
MDL-57569 core_files: Fix to let show generated f3 image
2017-11-24 11:48:32 +01:00
John Okely
672f483670
MDL-42834 admin: Removal of httpswwwroot
2017-10-23 12:25:36 +08:00
Eloy Lafuente (stronk7)
39dce3073f
Merge branch 'MDL-60320' of git://github.com/aolley/moodle
2017-10-17 00:05:54 +02:00
Adam Olley
d12ac53512
MDL-60320 icons: Use PNG icons as the preview thumbnails
...
Without this change, Moodle fails to provide any data when requesting a
thumbnail for a non-image file as its looking to provide a SVG file that
doesn't exist.
2017-10-10 09:57:17 +10:30
Jake Dallimore
521d900f06
MDL-35429 restore: fixed downloading of automated backup files
2017-10-09 10:29:07 +08:00
Jake Dallimore
7a170fad85
MDL-35290 files: File manager reports files which can't be read
2017-08-29 11:15:30 +08:00
Jake Dallimore
f3c2afd0e8
MDL-36985 core_files: added option to remove draft files on save
...
text areas can now specify $options['removeorphaneddrafts'] when saving
their data using file_postupdate_standard_editor(). If set to true,
this option clears all user drafts which are not referenced in the text
2017-08-22 13:15:30 +08:00
Marina Glancy
66347456ec
MDL-59377 course: when module intro is visible display embedded files
...
Even when course module is not available the intro text can still be visible on the
course page. In this case the availability restriction is displayed to the student
but link to the activity is not available
2017-07-17 13:42:08 +08:00
Simey Lameze
1fad6ff3f5
MDL-59008 mod_resource: add option to serve external files embed
2017-07-03 10:19:33 +08:00
Juan Leyva
bef201c7e0
MDL-58712 core_user: Do not count the root directory
2017-06-22 16:09:58 +02:00
Juan Leyva
0237571004
MDL-58712 core_user: New function for retrieving file area info
2017-06-13 11:22:33 +01:00
Damyon Wiese
32f01c546c
MDL-58280 fileconverter_googledrive: Fix cibot complaints
2017-04-20 10:49:17 +08:00
Damyon Wiese
9fe3363301
MDL-58280 fileconverter_googledrive: Is born.
2017-04-20 10:49:17 +08:00
Damyon Wiese
d5bb9f1ffc
MDL-58334 repositories: Offline downloads
...
Support an optional param for offline downloads for repositories supporting external links (googledrive and skydrive).
Part of MDL-58220
2017-04-03 13:43:25 +08:00
Damyon Wiese
141ee541ca
MDL-58219 repository: Change how controlled links work
...
Files are copied to the system user as soon as they are uploaded. Write access is then controlled when
serving links to the file.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
72fd103add
MDL-58219 cibot: Fixes
...
Fixes for cibot warnings.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
151b0f9409
MDL-58132 repositories: Controlled link file type
...
This introduces a new "controlled link" file type where the file is not
stored in Moodle - but Moodle will control the access permissions on the file.
Plugins can "freeze" a filearea which means Moodle will take ownership of all the remote
files of this type.
When accessing a file, if the "filebrowser" infomation indicates the current user can write to the file, they
will be granted temporary write access.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
989e14fea0
MDL-58128 googledocs: Support reference files.
...
Add options so the admin can control the types of files this repository can support (and the default).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
299112498b
MDL-58090 oauth2: Coding style
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
931c023468
MDL-58090 oauth2: Add unit tests
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
8445556b4c
MDL-58090 oauth2: Move code from subclasses to config
...
Allow the behaviour of each oauth service to be customised by config instead of
subclasses.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
60237253a2
MDL-58090 oauth2: Store a list of oauth2 services
...
Build an admin page where OAuth 2 services can be installed and configured.
Part of MDL-58220
2017-04-03 13:39:02 +08:00
Damyon Wiese
3c8850711f
MDL-40759 icons: filepicker
...
Use font awesome svg icons for files in the file picker. Move the old icons to bootstrapbase.
2017-03-17 15:52:17 +08:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Matteo Scaramuccia
bf4f857acf
MDL-58027 files: Restored missing htmlentities() call
2017-03-13 22:24:33 +01:00
Matteo Scaramuccia
203c5bce27
MDL-57789 files: Reviewed lifetime value
2017-02-25 23:42:37 +01:00
Matteo Scaramuccia
ed0a1cd708
MDL-57789 files: Use immutable Cache-Control extension.
2017-02-25 23:42:35 +01:00
Matteo Scaramuccia
f2de8226a8
MDL-57789 files: Used if-then instead of ternary operators
2017-02-25 23:36:07 +01:00