Matias Griese
ba74bf33ad
Code cleanup
2018-12-05 08:20:38 +02:00
Matias Griese
80a96a881b
Added FIXME for new form plugin support
2018-11-22 12:27:51 +02:00
Matias Griese
31f6e9c72a
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# blueprints.yaml
2018-11-07 19:14:19 +02:00
Matias Griese
3d765e8ece
Fixed Grav core update potentially spinning forever because of an error which happens after a successful upgrade
2018-11-07 19:11:36 +02:00
Andy Miller
d55d8b8588
Merge branch 'develop' into 1.9
2018-10-04 20:46:05 -06:00
Andy Miller
46106c1cae
more validation for remove media
2018-10-04 16:30:07 -06:00
Matias Griese
e5e344b35c
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# blueprints.yaml
2018-10-04 15:44:43 +03:00
Matias Griese
42c8b63520
Improved file uploads
2018-10-04 15:42:59 +03:00
Timothy Cyrus
85bb59e2b6
Change usage of basename where possible ( #1480 )
...
Change usage of basename where possible (#1480 )
2018-10-04 13:43:36 +03:00
Matias Griese
fec2112f72
Added missing @self@ variant check to task filesUpload
2018-10-01 21:42:20 +03:00
Matias Griese
b77d0e6053
Fixed broken folder attribute on filepicker [ #1465 ]
2018-06-14 16:47:06 +03:00
Matias Griese
c9e9fd4a0c
Fixed Undefined property: stdClass::$image in 1.8.2 [ #1454 ]
2018-05-31 18:41:18 +03:00
Djamil Legato
b9e00b7720
Fixed issue with filepicker field where images wouldn't properly merge with the current value if in a page header
2018-05-23 10:24:22 -07:00
Matias Griese
08075979c1
Fixed file uploads to media streams
2018-05-22 10:58:35 +03:00
Matias Griese
ee8e4886ad
Added custom object support for filepicker field
2018-05-16 21:50:09 +03:00
Matias Griese
b7da3e98ac
Code cleanup
2018-05-10 11:09:13 +03:00
Matias Griese
d785e92413
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
2017-12-06 11:16:46 +02:00
Andy Miller
53a40e76a5
Security fix to ensure file uploads are not manipulated
2017-12-05 16:27:20 -07:00
Matias Griese
b3958597c9
Fixed 'Cannot unset string offsets' if AdminBaseController::getPost($post) is not array
2017-11-13 12:39:22 +02:00
Andy Miller
8ca011dcd6
initial commit at dedicated page
2017-08-26 18:25:34 -06:00
Andy Miller
2f63859bd3
Added ajax task
2017-08-25 17:11:10 -06:00
Andy Miller
62a9ad1bef
reverted nonce check comment
2017-08-14 20:58:54 -06:00
Andy Miller
717b39144f
Initial nav tra development
2017-08-14 20:56:11 -06:00
Andy Miller
1b6223ac80
authorizeTask() should be public
2017-08-14 20:50:56 -06:00
Flavio Copes
f700837e92
Introduce the mediapicker field ( #1125 )
...
Added a new `mediapicker` form field which allows to select a media from any page
+
Provided an option to control how parent select field displays
2017-06-02 16:28:52 +02:00
Andy Miller
c237bff1e3
Only process thumbs when needed
2017-05-20 22:20:36 -06:00
Andy Miller
4ffcf836a1
Generate thumbnails if enabled
2017-05-19 13:40:48 -06:00
Andy Miller
1809f70e52
Fix for undefined include_metadata
2017-05-19 11:41:05 -06:00
Andy Miller
cde4ac5f7b
More flexible removing of extra media files
2017-05-15 14:48:58 -06:00
Andy Miller
ac9b6e5ce5
Added optional include_metadata to file field
2017-05-15 14:48:15 -06:00
Andy Miller
904d1e6928
Missing uses throwing class not found errors
2017-05-15 14:47:26 -06:00
Andy Miller
7af4d3b767
Added support for user-uploadable avatar
2017-03-29 22:41:24 -07:00
Andy Miller
1a60f43d3b
Properly fixed session delete of files
2017-03-13 17:57:05 -06:00
Andy Miller
b6caeecb0e
Fix for not removing Flash object on filesSessionRemove()
2017-03-13 16:05:15 -06:00
Flavio Copes
47beb2d5a6
Auto lint
2017-02-26 19:36:01 +01:00
Flavio Copes
8ecf367356
Add method to clear the media cache
2017-01-28 19:09:30 +01:00
Flavio Copes
3627e0ec59
Handle removing a media also if it's not a json request
...
Was not working after
https://github.com/getgrav/grav-plugin-admin/commit/6b343365996ce838759d
80fa3917d4d994f1aeb4
2017-01-28 19:08:58 +01:00
Flavio Copes
4faf0c0b95
Fix #943 allow non admin.super users to change their account information. Allow admin.super and admin.users to change other users information.
2017-01-28 16:48:11 +01:00
Flavio Copes
6a1ee7481a
Remove unnneded code, related to ca00a9b150
2017-01-12 19:55:43 +01:00
Flavio Copes
ca00a9b150
Fix #920 bug in deleting a file uploaded with the file field
2017-01-12 19:36:13 +01:00
Flavio Copes
964a4f8ea3
Fixed saving the configuration if not admin.super
2017-01-03 10:58:24 +01:00
Andy Miller
f361addd60
Feature/admin fragmentation ( #856 )
...
* Separated Admin Controller into a generic and extendable Base controller. Added Autoload for properly loading classes
* Implemented custom class loader to force lowercase
* Removed composer autoloader for classes
* Updates
* Ability to pass custom upload URL for files
* Added new onAdminCanSave event for 3rd party plugins
* Moved files upload GC in onOutputGenerated event
* Cleanup
* Moved autoloader so it is always registering
* Fixed onOutputGenerated event location
* Moved `taskRemoveFileFromBlueprint`, `taskRemoveMedia `, `canEditMedia` methods to admin base controller
* Allow to globally define `blueprint_type` and `file_url_remove` for the file field
* Moved `isMultilang()` into base controller
* Properly generate thumbnails in proportions for file fields
* Simplified execute restrictions with blacklist
2016-11-07 09:54:10 -07:00