Commit Graph

19 Commits

Author SHA1 Message Date
Luke Towers 15ca68c22d No need to throw exceptions when generating MediaLibrary URLs 2020-09-18 16:01:02 -06:00
Luke Towers 252c9b7f58 Merge branch 'develop' into wip/laravel-6 2020-05-27 12:44:54 -06:00
Dieter Holvoet 40d8bb453e
Get file and folder metadata for media items using a single network call if possible (#5046)
Co-Authored-By: Ben Thomson <ben@abweb.com.au>. Fixes #5045.
2020-05-26 03:20:41 -06:00
Luke Towers 44cc5d371b Merge branch 'develop' into wip/laravel-6 2020-04-04 02:32:16 -06:00
Luke Towers ccb2c372bb Only force absolute URLs for media items if cms.linkPolicy = force
This fixes #4082 & rainlab/pages-plugin#405. Reverts a previous breaking change from Build 444 (introduced in #3536) by limiting the scope to which it applies.
2020-04-02 10:18:23 -06:00
Ben Thomson 5d3d4ad0b2
Merge branch 'develop' into wip/laravel-5.9 2020-01-18 21:00:40 +08:00
Larry Barker 2b05d01c6c Support additional file name and path characters in media manager (#4564)
* Support additional file name and path characters in media manager

When working with abstract file names that may contain additional characters, such as quotes or ampersands, the media manager would throw an error. This PR adds two additional characters to the character whitelist.

* Add unicode filename to tests
2019-12-05 19:44:04 +11:00
Ben Thomson 7e3136564f
Merge branch 'develop' into wip/laravel-5.9 2019-11-21 23:18:25 +08:00
Ben Thomson a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Luke Towers 1aff1e0a1e Changed calls to the Cache to use DateTime instances instead of integers representing minutes as 5.8 changed integers into meaning seconds instead. 2019-06-12 02:33:26 -06:00
Adam Sandström d5eca59dc6 Remove application root relative to domain root from $mediaFinder->storagePath (#4055)
This gets added later through the use of Url::to(). Credit to @adsa95. Fixes #4065, fixes #4039
2019-01-23 01:25:16 -06:00
Adam Sandström bd2f14d510 Make media URLs in accordance with the Link Policy (#3536)
Credit to @adsa95
2018-12-01 15:08:04 -06:00
chrisbethelepb 0ffdbc5efd Relax restrictions on MediaLibrary filenames (#3778)
Fixes #3741. Credit to @chrisbethelepb
2018-09-12 11:37:21 -06:00
Samuel Georges 000a880742 Alternative fix to #3607
Fixes #3607
Fixes #3606
2018-06-29 14:20:55 +10:00
Samuel Georges fb2aa1730c Fixes security issue
Refs #3604
2018-06-22 22:57:38 +10:00
Luke Towers 4d304645d7 Added readonly support to the mediamanager widget and the ability to set the MediaLibary cache key through code 2018-04-19 10:23:15 -06:00
Raja Khoury d977ba54b5 Fixes S3 media items in bucket root folders (#3461)
FIxes #3445. Credit to @rajakhoury
2018-03-20 10:57:13 -06:00
Samuel Georges 2a1234d21c Update MM lang refs 2017-10-16 17:52:50 +11:00
Luke Towers a24da988ae Moving MediaLibrary and MediaLibraryItem classes to the System module 2017-09-27 22:10:20 -06:00