-
- Fixed a problem when
pagefrontmatter.content
was set (issue #63)
- Fixed a problem when
-
- Fixed incorrect handling of using
pageconfig.parent: /
(issue #59)
- Fixed incorrect handling of using
-
- Added composer
-
- Tested with PHP version 8 (8.1.10)
- Fixed some incorrect variable types in PHPDoc Comments
-
- Changed the declaration of the function
sanitize
to "static". #62). Thanks to masetto for raising this issue.
- Changed the declaration of the function
-
- Fixed not handling overwrite_mode setting properly, issue #54, thanks to mooomooo for reporting and testing
-
- Yet another release. This time just to synchronize the versioning number in 'bleuprints.yaml' and this Changelog. For interesting changes see v3.0.0.
-
- Removed a newline between the version number and the date in this Changelog file in an attempt to restore the correct display of this file in the Grav repository
-
- New 'overwrite_mode' option 'edit' allows for editing a page. Note: yet undocumented.
- Removing upload files is now handled
-
- Switched to Laravel str_slug function to remedy problems with hyphens on some Windows systems
-
- (Possibly breaking change:) Changed uploaded files data structure from numeric array to associative array
- (Possibly breaking change:) Changed default setting of 'physical_template_name' to 'true'
- Minimum Grav version is set to 1.6
-
- Fixed a bug (issue #52) where an empty value for the 'slug' variable would delete folder(s). Thanks to anton-mellit for reporting this.
-
- Added a new config variable 'physical_template_name' to make using the new page template name as the new page's file name optional.
-
- Removed the Changelog entry that was included in [https://github.com/bleutzinn/grav-plugin-add-page-by-form/pull/47](PR #47) from this file as it was not in the Grav Changelog format and prevented changes showing up correctly in the Grav Plugins download section.
-
- Add option to suppress loading of simpleMDE assets (reduces overhead if its known it will not be used)
-
- Prepared a new release to mainly consolidate the fix "Use moveTo method not native copy to move uploaded files to final destination" and to bring this changelog format back in line with Grav requirements. Thanks to Dave Nichols (pd-giz-dave).
-
- Also included the ability to use the new page template name as the new page's folder name. Thanks to Dave Nichols (pd-giz-dave).
-
- Fixed inconsistancies in version numbering which prevented the addition of the latest updates in the Grav Plugin repository.
-
- Prepared a new release to fix a bug in version numbering. The letter "v" appears to be case sensitive. The versions 2.3.0 and 2.3.1 were tagged with a capital "V" as V2.3.0 and V2.3.1 respectively. Previous versions were tagged using a lowercase "v". This difference causes the Grav Repository to think these are two different plugins.
-
- Fixed a subsequent failure to save file uploads to new page folder (form field File with
destination: @self
) introduced with Grav version 1.6.11 (issue #44). Thanks goes to mahagr for tips and to tranduyhung for the fix itself.
- Fixed a subsequent failure to save file uploads to new page folder (form field File with
-
- Fixed the failure to save file uploads to new page folder (form field File with
destination: @self
) introduced with Grav version 1.6 (issue #40)
- Fixed the failure to save file uploads to new page folder (form field File with
-
- Added support for
process.redirect: @self-admin
(issue #13)
- Added support for
-
- Fixed a problem with uploading files
-
- Added support for multiple textarea editors (issue #21)
- Added support for
process.redirect: @self
(issue #23) - Added the
overwrite_mode
configuration frontmatter variable - Added the
subroute
configuration frontmatter variable - Added the
slug_field
configuration frontmatter variable - Added filename sanitizing of uploaded files
-
- In the form page frontmatter configuration variables are separated from variables which main purpose it is to get passed on to the new page
- Uploaded file properties are now included in the new page frontmatter
- Improved safe slug generator
- Removed "use editor" option from
blueprints.yaml
(to allow issue #21) - Extended
blueprints.yaml
to set "fallback" configuration values
-
- Fixed an issue with form pages outside the web root (issue #20)
- Fixed a problem that prevented having different destinations for file uploads
-
- Simplified YAML frontmatter formatting as suggested in getgrav/grav#1287 (comment)
-
- Added the ability to include the File field in the form. When
destination
is@self
uploaded files are stored in the new page folder.
- Added the ability to include the File field in the form. When
-
- Removed the spyc.php class dependency; the page creation and YAML frontmatter handling is now done "the Grav way".
-
- Settings in the pagefrontmatter block in the form page frontmatter now are merged with values from form fields. Form field values ovverride the pagefrontmatter settings.
-
- Added an extra form field: 'author'
- Added copying an (optional) frontmatter block from the form page frontmatter to the newly added page's frontmatter