Andy Miller
02a355751c
Fix for deleting files from plugin configurations
...
Signed-off-by: Andy Miller <rhuk@mac.com >
2020-06-07 19:43:16 -06:00
Matias Griese
5352f5eff0
Fixed saving configuration in PHP 7.4
2019-12-03 12:26:56 +02:00
Fabien Basmaison
a3358c0e65
Fix accept for SVG files in file uploaders: ( #1732 )
...
Using `accept: 'image/svg+xml' to only allow SVG file to be uploaded should now work.
The `preg_match` was comparing `svgggg…xml` with `svg+xml`.
Check the [List of Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml#image ) for more potential issues.
2019-10-23 14:48:06 -06:00
Andy Miller
9b1ada8633
Fixed issue with deleting files in config based YAML files
2019-08-09 16:45:31 -06:00
Andy Miller
42179435eb
Fixed issue saving page with non-standard language #1667
2019-04-29 18:00:12 -06:00
Matias Griese
4fa59f18e8
Uploaded Avatar removed from user's yaml when editing the user [ #1647 ]
2019-04-15 11:27:39 +03:00
Matias Griese
20a596f18f
Regression from beta.8: Deleting files other than from plugins/themes fail on error
2019-04-09 10:36:13 +03:00
Matias Griese
5c832dd376
Fixed lost user access when saving user profile without super user permissions [ #1639 ]
2019-03-28 11:14:55 +02:00
Matias Griese
6bc73a32c1
Fixed some issues found by phpstan, remove deprecated method calls (User)
2019-03-20 12:52:16 +02:00
Andy Miller
c0babd988f
remove legacy media.upload_limit references
2019-03-12 06:28:52 -06:00
Matias Griese
9d94f889a0
Update all Form classes to rely on PageInterface instead of Page class
2019-03-05 15:46:55 +02:00
Andy Miller
ecde5e79a7
initial feed/notification refactors
2019-02-08 17:17:05 -07:00
Andy Miller
2a8b482f5e
Fixed issue deleting files in plugins/themes/config
2019-01-14 14:49:03 -07:00
Matias Griese
3f047fe683
Delete file: Make sure filename isn't empty
2019-01-14 18:50:56 +02:00
Matias Griese
d08e4bfd4f
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into 1.9
...
# Conflicts:
# CHANGELOG.md
# classes/adminbasecontroller.php
# themes/grav/js/admin.min.js
2019-01-08 11:36:20 +02:00
Matias Griese
9cc004f188
Fixed deleting file when using file field type [ #1558 ]
2019-01-08 11:28:41 +02:00
Matias Griese
df54fd9f82
Fixed a bug when deleting files via AJAX
2018-12-05 10:34:54 +02:00
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