Commit Graph

17 Commits

Author SHA1 Message Date
Samuel Georges e32de7b753 Annotate class methods 2018-08-30 13:37:39 +10:00
Nathan van der Werf 8fd16d4db6
Merge branch 'develop' into feature/cleanup
# Conflicts:
#	modules/backend/formwidgets/FileUpload.php
2018-08-24 19:52:54 +02:00
Luke Towers 1c7b311ea9 Added inline API documentation for media manager:
Added documentation for the following events:
media.folder.delete
media.file.delete
media.folder.rename
media.file.rename
media.folder.create
media.folder.move
media.file.move
media.file.upload
2018-08-18 08:49:57 -06:00
Nathan van der Werf 8b6f11e6ac Extract child instructions 2018-08-15 19:25:42 +02:00
Nathan van der Werf fbca3bea92 Remove redundant variables 2018-08-15 19:23:12 +02:00
Nathan van der Werf 77b6f07291 Modify conditions to use elvis operators 2018-08-15 18:53:11 +02:00
Nathan van der Werf a075be206b Replace class references with "self" 2018-08-15 18:47:06 +02:00
Nathan van der Werf 02bd38cfb1 Merge if constructs 2018-08-15 18:45:37 +02:00
Nathan van der Werf 3a918ad200 Remove "null" assignments 2018-08-15 18:33:24 +02: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
Christian 0eac53bdd1 Fix pathing issue in media manager (#3604)
Fix pathing issue in media manager

Currently there is a way to manipulate folder names using the request headers for the medafinder folder path. since `validatePath` does not validate file names but rather only validates the existence of a folder in a parent/subdirectory. We can utilize `validateFileName` to verify if the name of the folder path being created is valid during the folder creation process and the name applying process.
2018-06-22 16:35:33 +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
Samuel Georges 712dcf9412 Use alias instead of leading slash
Refs d292eeb85e
2017-11-03 07:57:33 +11:00
Luke Towers d292eeb85e Remove ambiguity around what classes are being used
Fixes https://github.com/octobercms/october/issues/3184.
2017-10-20 21:39:54 -06:00
Samuel Georges 2a1234d21c Update MM lang refs 2017-10-16 17:52:50 +11:00
Luke Towers c2f204008b Moved the MediaManager widget from the CMS module to the System module 2017-09-27 22:23:58 -06:00