Skip to content

Commit

Permalink
Version bump to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Parziale committed Sep 2, 2019
1 parent e0c0127 commit b9f1e2c
Show file tree
Hide file tree
Showing 87 changed files with 46 additions and 7 deletions.
Empty file modified Aeria/Action/ActionDispatcher.php
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions Aeria/Action/Actions/AdminEnqueueScripts.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public function register(EnqueuerInterface $enqueuer)

public function dispatch(Container $container)
{
wp_enqueue_editor();
wp_enqueue_media();
foreach ($this->list as $enqueuer) {
($enqueuer->getEnqClosure($container))();
}
Expand Down
Empty file modified Aeria/Action/Enqueuers/ScriptsEnqueuer.php
100755 → 100644
Empty file.
Empty file modified Aeria/Action/Interfaces/ActionInterface.php
100755 → 100644
Empty file.
Empty file modified Aeria/Action/Interfaces/EnqueuerInterface.php
100755 → 100644
Empty file.
Empty file modified Aeria/Action/ServiceProviders/ActionProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/Action/Traits/ListManagerTrait.php
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion Aeria/Aeria.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class Aeria extends Container
{
public const VERSION = '3.0.0';
public const VERSION = '3.0.1';

public function __construct()
{
Expand Down
Empty file modified Aeria/Field/FieldError.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/FieldGroupProcessor.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/FieldNodeFactory.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/BaseField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/GalleryField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/PictureField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/RelationField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/RepeaterField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/SectionsField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/SelectField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Fields/SwitchField.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/FieldsRegistry.php
100755 → 100644
Empty file.
Empty file modified Aeria/Field/Interfaces/FieldInterface.php
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions Aeria/Meta/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ static function renderHTML($post, $extra)
$processor = new MetaProcessor($post->ID, $metabox, $sections);
$metabox["fields"] = $processor->getAdmin();
?>
<pre>
<!-- <pre>
<?php var_dump($processor->get()); ?>
</pre>
</pre> -->
<?php
$render_service->render('meta_template',
[
Expand Down
Empty file modified Aeria/Meta/MetaProcessor.php
100755 → 100644
Empty file.
Empty file modified Aeria/OptionsPage/OptionsPage.php
100755 → 100644
Empty file.
Empty file modified Aeria/OptionsPage/OptionsPageProcessor.php
100755 → 100644
Empty file.
Empty file.
Empty file modified Aeria/Query/Query.php
100755 → 100644
Empty file.
Empty file modified Aeria/Query/ServiceProviders/QueryServiceProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/RenderEngine/AbstractClasses/ViewAbstract.php
100755 → 100644
Empty file.
Empty file modified Aeria/RenderEngine/Interfaces/Renderable.php
100755 → 100644
Empty file.
Empty file modified Aeria/RenderEngine/RenderEngine.php
100755 → 100644
Empty file.
Empty file.
Empty file modified Aeria/RenderEngine/ViewFactory.php
100755 → 100644
Empty file.
Empty file modified Aeria/RenderEngine/Views/CoreView.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Controller.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/ControllerRegister.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Exceptions/InvalidRouteConfigException.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Factory/RouteFactory.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Request.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Route.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/Router.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/ServiceProviders/ControllerServiceProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/Router/ServiceProviders/RouterServiceProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/Structure/Interfaces/TransientableInterface.php
100755 → 100644
Empty file.
Empty file modified Aeria/Structure/Node.php
100755 → 100644
Empty file.
Empty file modified Aeria/Structure/RootNode.php
100755 → 100644
Empty file.
Empty file modified Aeria/Structure/Traits/Transientable.php
100755 → 100644
Empty file.
Empty file modified Aeria/Structure/Tree.php
100755 → 100644
Empty file.
Empty file modified Aeria/Updater/ServiceProviders/UpdaterServiceProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/Updater/Updater.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Exceptions/InvalidValidatorException.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/ServiceProviders/ValidatorServiceProvider.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Types/Callables/AbstractValidator.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Types/Callables/IsEmailValidator.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Types/RegEx/AbstractRegExValidator.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Types/RegEx/IsShortValidator.php
100755 → 100644
Empty file.
Empty file modified Aeria/Validator/Validator.php
100755 → 100644
Empty file.
Empty file modified Aeria/aeria.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Aeria/vendor/autoload.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/ClassLoader.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/LICENSE
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_classmap.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_files.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_namespaces.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_psr4.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_real.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/autoload_static.php
100755 → 100644
Empty file.
Empty file modified Aeria/vendor/composer/installed.json
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
18 changes: 18 additions & 0 deletions Resources/Templates/EditorTemplate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<h1>Editor</h1>
<div id="aeriaApp-editor" class="aeriaApp"></div>
<script>
window.aeriaConfig = <?=wp_json_encode($data["config"]); ?>
</script>
<?php
$aeria_base_path = plugins_url('aeria');
$aeria_editor_js = new Aeria\Action\Enqueuers\ScriptsEnqueuer(
'aeria-editor-js',
"{$aeria_base_path}/assets/js/aeria-editor.js",
null,
null,
true
);
$admin_enqueue_scripts = new Aeria\Action\Actions\AdminEnqueueScripts();
$admin_enqueue_scripts->register($aeria_editor_js);
$admin_enqueue_scripts->dispatch(aeria());
?>
7 changes: 7 additions & 0 deletions Resources/Templates/MetaTemplate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div id="aeriaApp-<?=$data['metabox']['id']?>" class="aeriaApp">
<?php wp_editor( '', 'loadTinymce'); ?>
</div>
<script>
window.aeriaMetaboxes = window.aeriaMetaboxes || [];
window.aeriaMetaboxes.push(<?=wp_json_encode($data['metabox']);?>);
</script>
12 changes: 12 additions & 0 deletions Resources/Templates/OptionTemplate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h1><?=$data["config"]["title"]?></h1>
<form method="post">
<?= wp_nonce_field($data['nonceIDs']['action'], $data['nonceIDs']['field']); ?>
<div id="aeriaApp-<?=$data["config"]['id']?>" class="aeriaApp">
<?php wp_editor( '', 'loadTinymce'); ?>
</div>
<script>
window.aeriaMetaboxes = window.aeriaMetaboxes || [];
window.aeriaMetaboxes.push(<?=wp_json_encode($data["config"]); ?>);
</script>
<?= submit_button(); ?>
</form>
2 changes: 1 addition & 1 deletion aeria.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Aeria
* Plugin URI: https://github.com/caffeinalab/aeria
* Description: Aeria is a modular, lightweight, fast WordPress Application development kit.
* Version: 3.0.0
* Version: 3.0.1
* Author: Caffeina
* Author URI: https://caffeina.com
* Text Domain: aeria
Expand Down
4 changes: 2 additions & 2 deletions assets/js/aeria-editor.js
100755 → 100644

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/aeria.js
100755 → 100644

Large diffs are not rendered by default.

Empty file modified composer.json
100755 → 100644
Empty file.
Empty file modified composer.lock
100755 → 100644
Empty file.
Empty file modified vendor/autoload.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/ClassLoader.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/LICENSE
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_classmap.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_files.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_namespaces.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_psr4.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_real.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/autoload_static.php
100755 → 100644
Empty file.
Empty file modified vendor/composer/installed.json
100755 → 100644
Empty file.

0 comments on commit b9f1e2c

Please sign in to comment.