Skip to content

Commit

Permalink
Form Admin 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Dec 7, 2020
1 parent 71e46d5 commit 374cd72
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 10 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Global
.composer
composer.lock
package-lock.json
vendor/
node_modules/
dist/

# Flextype Site Specific
var/

# OS Generated
.DS_Store*
ehthumbs.db
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.4.0"></a>
# [1.4.0](https://github.com/flextype-plugins/form-admin/compare/v1.3.0...v1.4.0) (2020-12-07)

### Features

* **core** update code base for new Flextype 0.9.12

<a name="1.3.0"></a>
# [1.3.0](https://github.com/flextype-plugins/form-admin/compare/v1.2.0...v1.3.0) (2020-08-25)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018-2020 Sergey Romanenko
Copyright (c) 2021 Sergey Romanenko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">Form Admin Plugin for <a href="http://flextype.org/">Flextype</a></h1>

<p align="center">
<a href="https://github.com/flextype-plugins/form-admin/releases"><img alt="Version" src="https://img.shields.io/github/release/flextype-plugins/form-admin.svg?label=version&color=black"></a> <a href="https://github.com/flextype-plugins/form-admin"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=black" alt="License"></a> <a href="https://github.com/flextype-plugins/form-admin"><img src="https://img.shields.io/github/downloads/flextype-plugins/form-admin/total.svg?color=black" alt="Total downloads"></a> <a href="https://github.com/flextype/flextype"><img src="https://img.shields.io/badge/Flextype-0.9.11-green.svg?color=black" alt="Flextype"></a> <a href="https://crowdin.com/project/flextype-plugin-form-admin"><img src="https://d322cqt584bo4o.cloudfront.net/flextype-plugin-form-admin/localized.svg?color=black" alt="Crowdin"></a> <a href="https://scrutinizer-ci.com/g/flextype-plugins/form-admin?branch=dev&color=black"><img src="https://img.shields.io/scrutinizer/g/flextype-plugins/form-admin.svg?branch=dev&color=black" alt="Quality Score"></a> <a href=""><img src="https://img.shields.io/discord/423097982498635778.svg?logo=discord&colorB=728ADA&label=Discord%20Chat" alt="Discord"></a>
<a href="https://github.com/flextype-plugins/form-admin/releases"><img alt="Version" src="https://img.shields.io/github/release/flextype-plugins/form-admin.svg?label=version&color=black"></a> <a href="https://github.com/flextype-plugins/form-admin"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=black" alt="License"></a> <a href="https://github.com/flextype-plugins/form-admin"><img src="https://img.shields.io/github/downloads/flextype-plugins/form-admin/total.svg?color=black" alt="Total downloads"></a> <a href="https://github.com/flextype/flextype"><img src="https://img.shields.io/badge/Flextype-0.9.12-green.svg?color=black" alt="Flextype"></a> <a href="https://crowdin.com/project/flextype-plugin-form-admin"><img src="https://d322cqt584bo4o.cloudfront.net/flextype-plugin-form-admin/localized.svg?color=black" alt="Crowdin"></a> <a href="https://scrutinizer-ci.com/g/flextype-plugins/form-admin?branch=dev&color=black"><img src="https://img.shields.io/scrutinizer/g/flextype-plugins/form-admin.svg?branch=dev&color=black" alt="Quality Score"></a> <a href=""><img src="https://img.shields.io/discord/423097982498635778.svg?logo=discord&colorB=728ADA&label=Discord%20Chat" alt="Discord"></a>
</p>

Form Admin Plugin to manage user forms in Flextype Admin Panel.
Expand All @@ -12,7 +12,7 @@ The following dependencies need to be installed for Form Admin Plugin.

| Item | Version | Download |
|---|---|---|
| [flextype](https://github.com/flextype/flextype) | 0.9.11 | [download](https://github.com/flextype/flextype/releases) |
| [flextype](https://github.com/flextype/flextype) | 0.9.12 | [download](https://github.com/flextype/flextype/releases) |
| [twig](https://github.com/flextype-plugins/twig) | >=1.0.0 | [download](https://github.com/flextype-plugins/twig/releases) |
| [form](https://github.com/flextype-plugins/form) | >=1.0.0 | [download](https://github.com/flextype-plugins/form/releases) |
| [admin](https://github.com/flextype-plugins/admin) | >=1.0.0 | [download](https://github.com/flextype-plugins/admin/releases) |
Expand All @@ -28,4 +28,4 @@ The following dependencies need to be installed for Form Admin Plugin.

## LICENSE
[The MIT License (MIT)](https://github.com/flextype-plugins/form-admin/blob/master/LICENSE.txt)
Copyright (c) 2018-2020 [Sergey Romanenko](https://github.com/Awilum)
Copyright (c) 2021 [Sergey Romanenko](https://github.com/Awilum)
6 changes: 3 additions & 3 deletions app/Controllers/FieldsetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function index($request, $response)
'plugins/form-admin/templates/extends/fieldsets/index.html',
[
'menu_item' => 'fieldsets',
'fieldsets_list' => flextype('fieldsets')->fetchAll(),
'fieldsets_list' => flextype('fieldsets')->fetchCollection(),
'links' => [
'fieldsets' => [
'link' => flextype('router')->pathFor('admin.fieldsets.index'),
Expand All @@ -50,7 +50,7 @@ public function add($request, $response)
'plugins/form-admin/templates/extends/fieldsets/add.html',
[
'menu_item' => 'fieldsets',
'fieldsets_list' => flextype('fieldsets')->fetchAll(),
'fieldsets_list' => flextype('fieldsets')->fetchCollection(),
'links' => [
'fieldsets' => [
'link' => flextype('router')->pathFor('admin.fieldsets.index'),
Expand Down Expand Up @@ -119,7 +119,7 @@ public function edit($request, $response)
[
'menu_item' => 'fieldsets',
'id' => $request->getQueryParams()['id'],
'data' => flextype('yaml')->encode(flextype('fieldsets')->fetch($request->getQueryParams()['id'])),
'data' => flextype('yaml')->encode(flextype('fieldsets')->fetchSingle($request->getQueryParams()['id'])),
'links' => [
'fieldsets' => [
'link' => flextype('router')->pathFor('admin.fieldsets.index'),
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"issues": "https://github.com/flextype-plugins/form-admin/issues"
},
"require": {
"php": ">=7.3.0"
"php": ">=7.3.0",
"flextype-components/arrays" : "3.0.1",
"flextype-components/filesystem": "2.0.8"
},
"config": {
"apcu-autoloader": true,
Expand Down
4 changes: 2 additions & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Form Admin
version: 1.3.0
version: 1.4.0
description: Form Admin Plugin to manage user forms in Flextype Admin Panel.
icon: fas fa-check-circle
author:
Expand All @@ -11,7 +11,7 @@ bugs: https://github.com/flextype-plugins/form-admin/issues
license: MIT

dependencies:
flextype: 0.9.11
flextype: 0.9.12
twig: '>=1.0.0'
admin: '>=1.0.0'
accounts-admin: '>=1.0.0'
Expand Down

0 comments on commit 374cd72

Please sign in to comment.