-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stable release 2.2.0 This brings full Contao 4.9 support. Additionally there have been performance improvements and various bugfixes. - Overview of supported attributes - see #15 - Possibility of file upload including various parameters such as destination folder, dynamic paths, file name cleanup as well as thumbnails, etc. - Optional Dropzone.js support for one or more files - Support attributes "color picker" and "URL", which are output with two input fields each. - Configuration of input mask buttons in FEE incl. option for redirect page and "Do not save"; option for redirect page can be designed dynamically with "Simple Tokens - Connection of the Notification Center for sending e-mails when creating/copying/editing/deleting records in FEE - Support of "MCW" in FEE with (Vanilla Script) e.g. for attribute text table and multi-widget table for duplicating and sorting rows - Support Min/Max for attribute Text-Table and Multiwidget-Table in FEE - In FEE input mask the widgets have a CSS class consisting of prop-<column name attribute, so they are better arranged/styled by CSS - a clean exception is thrown if a record is not deletable - in the CE/Module "MetaModels Frontend Editing" you can now choose your own template for the wrapper - the default template includes a JavaScript and CSS for updating the mask on view conditions; additionally there is a template to choose from which does not include the two included files
- Loading branch information
Showing
53 changed files
with
2,595 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,10 @@ exclude: | |
|
||
ignore: | ||
- 'Mini Model <[email protected]>' | ||
|
||
mapping: | ||
'Ingolf Steinhardt <[email protected]>': | ||
- 'Ingolf Steinhardt <[email protected]>' | ||
- 'xantippe <[email protected]>' | ||
- 'zonky2 <[email protected]>' | ||
- 'zonky <[email protected]>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: MetaModels contao-frontend-editing | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- '**-translation' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [7.4] | ||
contao: [~4.9.0] | ||
|
||
steps: | ||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Pull source | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# see https://github.com/shivammathur/setup-php | ||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Setup PHP. | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
coverage: none | ||
|
||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Cache composer cache directory | ||
uses: actions/cache@v1 | ||
env: | ||
cache-name: composer-cache-dir | ||
with: | ||
path: ~/.cache/composer | ||
key: ${{ runner.os }}-build-${{ env.cache-name }} | ||
|
||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Cache vendor directory | ||
uses: actions/cache@v1 | ||
env: | ||
cache-name: composer-vendor | ||
with: | ||
path: vendor | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Install composer dependencies | ||
run: composer update --prefer-dist --no-interaction --no-suggest | ||
|
||
- name: PHP ${{ matrix.php }} ${{ matrix.contao }} Run tests | ||
run: ant -keep-going |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,72 @@ | ||
{ | ||
"name": "metamodels/contao-frontend-editing", | ||
"description": "MetaModels frontend editing integrations", | ||
"keywords": [ | ||
"contao", | ||
"metamodels", | ||
"frontend-editing" | ||
], | ||
"type": "contao-bundle", | ||
"homepage": "http://now.metamodel.me/", | ||
"license": "LGPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Christian Schiffler", | ||
"email": "[email protected]", | ||
"homepage": "http://www.cyberspectrum.de", | ||
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Stefan Heimes", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/MetaModels/contao-frontend-editing/issues", | ||
"wiki": "http://de.contaowiki.org/MetaModels", | ||
"irc": "irc://irc.freenode.org/contao.mm", | ||
"source": "https://github.com/MetaModels/contao-frontend-editing" | ||
"name": "metamodels/contao-frontend-editing", | ||
"description": "MetaModels frontend editing integrations", | ||
"keywords": [ | ||
"contao", | ||
"metamodels", | ||
"frontend-editing" | ||
], | ||
"type": "contao-bundle", | ||
"homepage": "https://now.metamodel.me/", | ||
"license": "LGPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Christian Schiffler", | ||
"email": "[email protected]", | ||
"homepage": "https://www.cyberspectrum.de", | ||
"role": "Developer" | ||
}, | ||
"require": { | ||
"php": "^7.1", | ||
"contao-community-alliance/dc-general": "^2.1.5", | ||
"contao-community-alliance/dc-general-contao-frontend": "^2.1", | ||
"contao-community-alliance/url-builder": "^1.3", | ||
"contao/core-bundle": "^4.4.8", | ||
"menatwork/contao-multicolumnwizard-bundle": "^3.4", | ||
"metamodels/core": "^2.1" | ||
}, | ||
"require-dev": { | ||
"contao/manager-plugin": "^2.1", | ||
"phpcq/all-tasks": "^1.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"MetaModels\\ContaoFrontendEditingBundle\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"MetaModels\\ContaoFrontendEditingBundle\\Test\\": "tests" | ||
} | ||
}, | ||
"extra": { | ||
"contao-manager-plugin": "MetaModels\\ContaoFrontendEditingBundle\\ContaoManager\\Plugin", | ||
"branch-alias": { | ||
"dev-master": "2.1.x-dev", | ||
"dev-support/2.0": "2.0.x-dev" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
{ | ||
"name": "Stefan Heimes", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"email": "[email protected]", | ||
"issues": "https://github.com/MetaModels/contao-frontend-editing/issues", | ||
"wiki": "https://de.contaowiki.org/MetaModels", | ||
"irc": "irc://irc.freenode.org/contao.mm", | ||
"source": "https://github.com/MetaModels/contao-frontend-editing" | ||
}, | ||
"require": { | ||
"php": "^7.4", | ||
"ext-pdo": "*", | ||
"contao-community-alliance/dc-general": "^2.2", | ||
"contao-community-alliance/dc-general-contao-frontend": "^2.2.1", | ||
"contao-community-alliance/url-builder": "^1.3", | ||
"contao/core-bundle": "^4.9.0, <4.13.0", | ||
"menatwork/contao-multicolumnwizard-bundle": "^3.4", | ||
"metamodels/core": "^2.2", | ||
"symfony/http-foundation": "^4.4.6" | ||
}, | ||
"require-dev": { | ||
"contao/manager-plugin": "^2.8", | ||
"phpcq/all-tasks": "^1.2", | ||
"terminal42/notification_center": "^1.5.8" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"MetaModels\\ContaoFrontendEditingBundle\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"MetaModels\\ContaoFrontendEditingBundle\\Test\\": "tests" | ||
} | ||
}, | ||
"extra": { | ||
"contao-manager-plugin": "MetaModels\\ContaoFrontendEditingBundle\\ContaoManager\\Plugin", | ||
"branch-alias": { | ||
"dev-feature/2.2.0": "2.2.x-dev" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"contao-community-alliance/composer-plugin": false, | ||
"contao-components/installer": false, | ||
"contao/manager-plugin": false | ||
}, | ||
"sort-packages": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* This file is part of MetaModels/contao-frontend-editing. | ||
* | ||
* (c) 2012-2019 The MetaModels team. | ||
* (c) 2012-2020 The MetaModels team. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
|
@@ -12,7 +12,8 @@ | |
* | ||
* @package MetaModels/contao-frontend-editing | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2012-2019 The MetaModels team. | ||
* @author Sven Baumann <[email protected]> | ||
* @copyright 2012-2020 The MetaModels team. | ||
* @license https://github.com/MetaModels/contao-frontend-editing/blob/master/LICENSE LGPL-3.0-or-later | ||
* @filesource | ||
*/ | ||
|
@@ -39,7 +40,8 @@ public function getBundles(ParserInterface $parser) | |
BundleConfig::create(MetaModelsContaoFrontendEditingBundle::class) | ||
->setLoadAfter( | ||
[ | ||
MetaModelsCoreBundle::class | ||
MetaModelsCoreBundle::class, | ||
'notification_center' | ||
] | ||
) | ||
->setReplace(['metamodels-contao-frontend-editing']) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* This file is part of MetaModels/contao-frontend-editing. | ||
* | ||
* (c) 2012-2019 The MetaModels team. | ||
* (c) 2012-2020 The MetaModels team. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
|
@@ -12,7 +12,8 @@ | |
* | ||
* @package MetaModels/contao-frontend-editing | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2012-2019 The MetaModels team. | ||
* @author Sven Baumann <[email protected]> | ||
* @copyright 2012-2020 The MetaModels team. | ||
* @license https://github.com/MetaModels/contao-frontend-editing/blob/master/LICENSE LGPL-3.0-or-later | ||
* @filesource | ||
*/ | ||
|
@@ -36,5 +37,10 @@ public function load(array $configs, ContainerBuilder $container) | |
{ | ||
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); | ||
$loader->load('listeners.yml'); | ||
|
||
if (\array_key_exists('notification_center', $container->getParameter('kernel.bundles'))) { | ||
$loader->load('notification/backend_listeners.yml'); | ||
$loader->load('notification/frontend_listeners.yml'); | ||
} | ||
} | ||
} |
Oops, something went wrong.