Commit Graph

692 Commits

Author SHA1 Message Date
Matias Griese
018940c1bc Reworked getMedia() field 2020-11-30 17:25:53 +02:00
Matias Griese
a6f0f4945f Tightened checks when removing a media file, cleanup 2020-11-06 15:05:33 +02:00
Djamil Legato
b9ac46fd13 Forward a sid to GPM when downloading a premium package 2020-10-29 15:29:28 -07:00
Djamil Legato
06c66794cc Minor wording change for unauthorized downloads 2020-10-28 11:12:51 -07:00
Andy Miller
d569de14b8 backported taskGetLevelListing() from 1.7 2020-10-06 16:07:07 -06:00
Andy Miller
ba609fa45a compatibility for nextgen editor 2020-10-05 18:46:39 -06:00
Andy Miller
4f9aca8f3c Cleaner error messages 2020-09-03 22:31:19 -06:00
Andy Miller
4802b84b05 filename not needed 2020-09-03 18:15:44 -06:00
Matias Griese
e1a487bd88 Fixed a glitch which allows user to delete entire pages directory [#1941] 2020-08-28 13:34:40 +03:00
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
c292c54ae4 Minor change 2019-12-03 21:25:21 +02: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
Matias Griese
c3b7285fa2 Fixed 2FA regenerate for Flex Users
# Conflicts:
#	CHANGELOG.md
2019-07-01 11:50:31 -06:00
Matias Griese
f2a8194572 Resetting a user's password clears the user's site access [grav#2528] 2019-06-20 22:13:04 +03:00
Andy Miller
856be28b3a PSR 7 Fixes 2019-05-27 19:21:17 +03:00
Matias Griese
8926284389 If 2019-05-16 11:54:18 +03:00
Matias Griese
474571f2eb Fixed admin not detecting any existing users when Flex users are being used 2019-05-02 14:13:52 +03:00
Andy Miller
42179435eb Fixed issue saving page with non-standard language #1667 2019-04-29 18:00:12 -06:00
Matias Griese
044ab3a578 Only invalidate cache on creating new/deleting page to speed up the recovery 2019-04-26 10:03:06 +03:00
Andy Miller
aeb2da478e text 2019-04-21 14:02:55 -06:00
Andy Miller
a8fd054936 Added YAML Linter reports section 2019-04-20 17:43:26 -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
Andy Miller
929aa195dc Remove status message when picking folder for move #1650 2019-04-13 17:51:46 -06:00
Andy Miller
33c84222d7 Fix for Page saving issues [#1648 2019-04-13 17:42:43 -06:00
Andy Miller
2a4ebb1075 no longer needed 2019-04-12 19:46:35 -06:00
Matias Griese
354ff90e69 Fixed avatar saving for data user (improved) 2019-04-10 20:57:00 +03:00
Matias Griese
30c6167b51 Fixed avatar saving for data user 2019-04-10 20:54:35 +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
f4c26b6715 Use $grav['accounts'] instead of $grav['users'] 2019-03-27 14:52:23 +02:00
Matias Griese
6bc73a32c1 Fixed some issues found by phpstan, remove deprecated method calls (User) 2019-03-20 12:52:16 +02:00
Djamil Legato
e3fc4ce6f8 Proper fix for vUndefined when updating plugins/themes 2019-03-13 13:14:39 -07:00
Andy Miller
33ac06bc2c Handle empty files due to upload_max_filesize 2019-03-12 18:29:13 -06: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
45f0f28916 remove logging from the admintask (now in backup class) 2019-03-04 20:05:42 -07:00
Djamil Legato
4516674112 Added logic to allow hiding notifications (x) on the current page 2019-02-13 11:08:58 -08:00
Andy Miller
2b064b6d1a switch back to default remote notifications 2019-02-12 14:41:58 -07:00
Andy Miller
1d40ea36c0 default to empty notifications 2019-02-12 14:41:46 -07:00
Andy Miller
07c1b449d8 Various fixes for top/dashboard/themes/plugins notifications styling 2019-02-12 13:59:08 -07:00
Andy Miller
f5dcefedd4 Check false properly 2019-02-11 17:36:43 -07:00
Andy Miller
7601ad7052 notifications js config 2019-02-11 14:33:48 -07:00
Andy Miller
560edf21f4 use live by default 2019-02-08 22:01:23 -07:00
Andy Miller
032929fc47 added a filter to getNotifications 2019-02-08 21:47:31 -07:00
Andy Miller
2720bce631 remove the force reload 2019-02-08 18:03:08 -07:00
Andy Miller
5fc89d2bdd broke out notifications into ‘locations’ in data 2019-02-08 17:58:13 -07:00
Andy Miller
ecde5e79a7 initial feed/notification refactors 2019-02-08 17:17:05 -07:00
Andy Miller
536898f41b Improved tools permissions handling 2019-02-08 13:53:11 -07:00