Rotzbua
c40dcf020c
add do not track header detection ( #2334 )
2019-01-14 17:49:46 -07:00
Andy Miller
e520bd0eb8
Fixed environment issue #2284
2019-01-14 13:55:29 -07:00
Matias Griese
3a9e57e228
Added form preview support for FlexObject, including a way to render newly uploaded files before saving them
2019-01-14 18:44:37 +02:00
Matias Griese
22ed1286e8
Added support to add extra files to Media object
2019-01-14 18:41:05 +02:00
Matias Griese
1a37c54316
Fixed FlexForm::updateObject() to update array values when they are empty in the form
2019-01-14 14:15:22 +02:00
Andy Miller
b6328944a3
Move processMarkdown() method from TwigExtension to more general Utils class
2019-01-13 16:20:19 -07:00
Matias Griese
751d1da704
Added unset type/filter to the validation
2019-01-11 13:03:04 +02:00
Matias Griese
5cf4eea09e
Remove debug backtrace and die when session fails to start
2019-01-11 13:02:37 +02:00
Matias Griese
f0cf4ed8ff
Regression: Fix serialize issues with forms
2019-01-11 00:28:57 +02:00
Matias Griese
fa61ed17b1
Added check for bad JSON back (tracked down and fixed the issue in form plugin)
2019-01-10 19:59:11 +02:00
Raphaël Droz
f1363877d8
preserve accents in fields containing Twig expr. using unicode ( #2279 )
...
When a fields contain accentuated characters, reduce the risk of messing with it by passing unicode characters unescaped.
Twig will deal with them. And fewer backslash-escaping problems will arise.
2019-01-09 13:05:32 -07:00
Basile Trujillo [L0gIn]
e8825beae5
Added support for AWS Cloudfront forwarded scheme header ( #2297 )
...
AWS Cloudfront does not provide HTTP_X_FORWARDED_PROTO header but provide a HTTP_CLOUDFRONT_FORWARDED_PROTO header instead
2019-01-09 13:04:32 -07:00
Matias Griese
7d249c61c2
Added check for bad JSON back (tracked down and fixed the issue in form plugin)
2019-01-08 19:35:51 +02:00
Matias Griese
a224c8b348
FlexForm: Maintain form state on page reloads
2019-01-08 14:32:18 +02:00
Matias Griese
c04208d5dd
FlexForm: Fixed missing inputs after save, reset form after save
2019-01-08 13:52:13 +02:00
ranitham
394dfad566
Small bugfix for responsive images ( #2300 )
...
* Replace spaces in image filename with %20 to avoid parse errors with the srcset attribute
* Update system/src/Grav/Common/Page/Medium/ImageMedium.php
Co-Authored-By: ranitham <ranitha.m@gmail.com >
2019-01-07 21:34:00 -07:00
Rotzbua
2c55fe01ac
add return types for user/authentication ( #2293 )
2019-01-07 21:29:30 -07:00
Matias Griese
a23cbd0257
Added Blueprint::processForm() method to filter form inputs in Flex form
2018-12-21 12:37:08 +02:00
Matias Griese
f5b77e8082
Added onPageAction, onPageTask, onPageAction.{$action} and onPageTask.{$action} events
2018-12-20 14:08:40 +02:00
Matias Griese
10378ac5af
FlexForm: Added support for custom(ized) blueprint layouts
2018-12-20 11:36:01 +02:00
Matias Griese
4a290e6194
Added Grav\Framework\Form\Interfaces\FormFactoryInterface
2018-12-19 22:44:31 +02:00
Matias Griese
c2c0fb242b
Minor bugfix
2018-12-19 21:00:10 +02:00
Matias Griese
9b37e50492
Added Page::forms() method to get normalized list of all forms defined in the page
2018-12-19 20:57:47 +02:00
Matias Griese
6c6e8d2605
Added Flex::getObject() for getting flex object directly
2018-12-19 17:40:09 +02:00
Matias Griese
5a6e6dceda
Define FormInterface
2018-12-19 13:35:02 +02:00
Andy Miller
e8631da9f3
parepare for beta release
2018-12-14 15:13:09 -07:00
Andy Miller
54a177279f
prepare for release
2018-12-14 15:07:12 -07:00
Matias Griese
2ad66102d2
FlexMediaTrait: Cropping existing image without original fails to move the original image to safe place
2018-12-13 23:14:31 +02:00
Matias Griese
f53b43de14
FormFlash: Added support for storing form data
2018-12-13 22:21:10 +02:00
Matias Griese
8ba00f5967
Flex: Fixed cropping issues on edit
2018-12-13 18:21:39 +02:00
Matias Griese
56c7b8ca5f
Flex: Fixed uploading images when creating a new object
2018-12-13 13:49:04 +02:00
Matias Griese
d6115007ab
Flex: Clear updated after saving the changes to prevent it being called twice
2018-12-13 11:36:59 +02:00
Matias Griese
ba53d876bc
FlexMediaTrait::deleteMediaFile() should check if folder exists
2018-12-13 10:55:45 +02:00
Matias Griese
2d593995ee
Flex: Added support to automatically update object media on save
2018-12-13 10:42:23 +02:00
Matias Griese
3808776ddb
Merge remote-tracking branch 'origin/1.6' into 1.6
2018-12-12 23:37:58 +02:00
Matias Griese
9a118d0a71
Fixed upload of original images
2018-12-12 23:37:50 +02:00
Andy Miller
684d6d3389
This can get used externally too…
2018-12-12 10:14:28 -07:00
Matias Griese
89a0e960e2
Improve file upload logic on flex objects
2018-12-12 16:14:55 +02:00
Matias Griese
1b21e01938
FlexForm: Disable handling of file uploads on form submit (for now)
2018-12-12 14:09:24 +02:00
Matias Griese
3b692a27b4
Improved Flex save/delete
2018-12-12 12:45:06 +02:00
Matias Griese
3c83f379ee
Added onFlexObjectSave and onFlexObjectDelete events
2018-12-12 11:52:50 +02:00
Matias Griese
0c344df07a
Fixed Flex indexes with flex_key
2018-12-12 10:38:09 +02:00
Matias Griese
2a20959660
Fixed session throwing error in CLI if initialized
2018-12-12 09:39:13 +02:00
Matias Griese
94a843429d
Added {% render object layout: 'default' with { variable: true } %} for Flex objects and collections
2018-12-12 00:02:38 +02:00
Matias Griese
34e6b6652a
Make FlexForm more flexible for different tasks
2018-12-11 20:25:31 +02:00
Matias Griese
1ba785f28e
ContentBlock: Fixed nested caching detection
2018-12-11 16:08:58 +02:00
Matias Griese
bac24cf520
Flex: Improve FlexAuthorizeTrait
2018-12-11 11:54:59 +02:00
Matias Griese
40b7d53349
Merge remote-tracking branch 'origin/1.6' into 1.6
2018-12-10 15:30:19 +02:00
Matias Griese
96d44b4322
Flex: Allow disabling collection/object caching from template
2018-12-10 15:30:09 +02:00
Andy Miller
bf127fb0bd
fix for ini_set
2018-12-07 13:04:35 -07:00