Skip to content

Commit

Permalink
(v3.7.0) Transferred to Double Secret Agency
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseydiloreto committed May 21, 2022
1 parent 085982b commit 5ea6d07
Show file tree
Hide file tree
Showing 31 changed files with 178 additions and 234 deletions.
32 changes: 0 additions & 32 deletions .gitignore

This file was deleted.

109 changes: 56 additions & 53 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Copyright © Angell & Co
The Craft License

Copyright © Double Secret Agency

Permission is hereby granted to any person obtaining a copy of this software
(the “Software”) to use, copy, modify, merge, publish and/or distribute copies
Expand Down Expand Up @@ -37,4 +39,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
LIABILITY, INCLUDING SPECIAL, INCIDENTAL AND CONSEQUENTIAL DAMAGES, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33 changes: 12 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/angell-co/Spoon/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/angell-co/Spoon/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/angell-co/Spoon/badges/build.png?b=master)](https://scrutinizer-ci.com/g/angell-co/Spoon/build-status/master) [![Code Intelligence Status](https://scrutinizer-ci.com/g/angell-co/Spoon/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
<img align="left" width="120" src="https://raw.githubusercontent.com/doublesecretagency/craft-spoon/085982bfc5dbc7b4f07433383cf5e534931b981d/resources/img/icon.svg" alt="Plugin icon">

# Spoon
# Spoon plugin for Craft CMS

Enhance your Matrix fields with groups, tabs and more!
**Enhance your Matrix fields with groups, tabs and more!**

![Banner](resources/img/banner.png)
---

Use Spoon to group Matrix blocks, hide blocks and / or fields, and organise your block layouts with tabs.

Expand All @@ -18,9 +18,6 @@ Get inception heavy with either a Matrix inside a Super Table or go wild and nes

---

**Note:** The license fee for this plugin is $59 via the Craft Plugin Store.


## Requirements

This plugin requires Craft CMS 3.0.15 or later.
Expand All @@ -36,7 +33,7 @@ To install the plugin, follow these instructions.

2. Then tell Composer to load the plugin:

composer require angellco/spoon
composer require doublesecretagency/craft-spoon

3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Spoon.

Expand All @@ -56,16 +53,6 @@ Use just one Matrix field and hide and show blocks or fields based on the Entry
![group block types button](resources/img/docs/group-block-types.jpg)


### Roadmap

If you wish to keep up with the progress of this project you can do so in the [GitHub project](https://github.com/angell-co/Spoon/projects/2).


### Support

All support requests should be submitted via [GitHub issues](https://github.com/angell-co/Spoon/issues), if you need more in-depth help then please do reach out to me on the [Craft Slack](https://craftcms.com/community#slack) (@joshangell) or email me - [[email protected]](mailto:[email protected]).


## Usage

The way Spoon works is by allowing you to create your block type groups and field layouts in multiple contexts.
Expand Down Expand Up @@ -118,8 +105,12 @@ Spoon supports the standard config.php multi-environment friendly config file fo

---

Brought to you by [Angell & Co](https://angell.io)
## Further Support

If you have any remaining questions, feel free to [reach out to us](https://www.doublesecretagency.com/contact) (via Discord is preferred).

This project used to live under a [different name](https://github.com/angell-co/Pimp-My-Matrix) in Craft 2, but I renamed it for obvious reasons.
**On behalf of Double Secret Agency, thanks for checking out our plugin!** 🍺

Big thanks to the lovely people at [Supercool](https://github.com/supercool) for letting me take this project over.
<p align="center">
<img width="130" src="https://www.doublesecretagency.com/resources/images/dsa-transparent.png" alt="Logo for Double Secret Agency">
</p>
22 changes: 10 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "angellco/spoon",
"name": "doublesecretagency/craft-spoon",
"description": "A plugin for Craft to enhance your Matrix fields with groups, tabs and more!",
"type": "craft-plugin",
"version": "3.7.0",
"keywords": [
"craft",
"cms",
Expand All @@ -11,33 +12,30 @@
"matrix"
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/angell-co/spoon/issues",
"source": "https://github.com/angell-co/spoon",
"docs": "https://github.com/angell-co/spoon/blob/master/README.md",
"rss": "https://github.com/angell-co/spoon/commits/v2.atom"
"docs": "https://github.com/doublesecretagency/craft-spoon/blob/master/README.md",
"issues": "https://github.com/doublesecretagency/craft-spoon/issues"
},
"license": "proprietary",
"authors": [
{
"name": "Angell & Co",
"homepage": "https://angell.io"
"name": "Double Secret Agency",
"homepage": "https://plugins.doublesecretagency.com"
}
],
"require": {
"craftcms/cms": "^3.5.0"
},
"autoload": {
"psr-4": {
"angellco\\spoon\\": "src/"
"doublesecretagency\\spoon\\": "src/"
}
},
"extra": {
"name": "Spoon",
"handle": "spoon",
"description" : "A plugin for Craft to enhance your Matrix fields with groups, tabs and more!",
"documentationUrl": "https://github.com/angell-co/spoon/blob/master/README.md",
"changelogUrl": "https://raw.githubusercontent.com/angell-co/spoon/master/CHANGELOG.md",
"class": "angellco\\spoon\\Spoon"
"documentationUrl": "https://github.com/doublesecretagency/craft-spoon/blob/master/README.md",
"changelogUrl": "https://raw.githubusercontent.com/doublesecretagency/craft-spoon/master/CHANGELOG.md",
"class": "doublesecretagency\\spoon\\Spoon"
}
}
Binary file removed resources/img/banner.png
Binary file not shown.
19 changes: 9 additions & 10 deletions src/Spoon.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
*
* Enhance Matrix
*
* @link https://angell.io
* @copyright Copyright (c) 2018 Angell & Co
* @link https://plugins.doublesecretagency.com/
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
*/

namespace angellco\spoon;
namespace doublesecretagency\spoon;

use angellco\spoon\base\PluginTrait;
use angellco\spoon\helpers\ProjectConfig as ProjectConfigHelper;
use angellco\spoon\models\Settings;
use angellco\spoon\services\BlockTypes;
use angellco\spoon\services\Fields;
use angellco\spoon\services\Loader;
use doublesecretagency\spoon\base\PluginTrait;
use doublesecretagency\spoon\helpers\ProjectConfig as ProjectConfigHelper;
use doublesecretagency\spoon\models\Settings;
use doublesecretagency\spoon\services\BlockTypes;
use doublesecretagency\spoon\services\Fields;
use doublesecretagency\spoon\services\Loader;

use Craft;
use craft\base\Plugin;
Expand Down Expand Up @@ -48,7 +48,6 @@
* @method Fields getFields() Returns the fields component.
* @method Loader getLoader() Returns the loader component.
* @method Settings getSettings() Returns the settings model.
* @author Angell & Co
* @package Spoon
* @since 3.0.0
*/
Expand Down
9 changes: 4 additions & 5 deletions src/assetbundles/ConfiguratorAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*
* Enhance Matrix
*
* @link https://angell.io
* @copyright Copyright (c) 2018 Angell & Co
* @link https://plugins.doublesecretagency.com/
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
*/

namespace angellco\spoon\assetbundles;
namespace doublesecretagency\spoon\assetbundles;

use Craft;
use craft\web\AssetBundle;
Expand All @@ -18,7 +18,6 @@
/**
* ConfiguratorAsset AssetBundle
*
* @author Angell & Co
* @package Spoon
* @since 3.0.0
*/
Expand All @@ -33,7 +32,7 @@ class ConfiguratorAsset extends AssetBundle
public function init()
{
// define the path that your publishable resources live
$this->sourcePath = "@angellco/spoon/assetbundles/dist";
$this->sourcePath = "@doublesecretagency/spoon/assetbundles/dist";

// define the dependencies
$this->depends = [
Expand Down
9 changes: 4 additions & 5 deletions src/assetbundles/FieldManipulatorAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*
* Enhance Matrix
*
* @link https://angell.io
* @copyright Copyright (c) 2018 Angell & Co
* @link https://plugins.doublesecretagency.com/
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
*/

namespace angellco\spoon\assetbundles;
namespace doublesecretagency\spoon\assetbundles;

use Craft;
use craft\web\AssetBundle;
Expand All @@ -19,7 +19,6 @@
/**
* FieldManipulatorAsset AssetBundle
*
* @author Angell & Co
* @package Spoon
* @since 3.0.0
*/
Expand All @@ -34,7 +33,7 @@ class FieldManipulatorAsset extends AssetBundle
public function init()
{
// define the path that your publishable resources live
$this->sourcePath = "@angellco/spoon/assetbundles/dist";
$this->sourcePath = "@doublesecretagency/spoon/assetbundles/dist";

// define the dependencies
$this->depends = [
Expand Down
5 changes: 2 additions & 3 deletions src/assetbundles/src/Configurator.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/**
* Spoon plugin for Craft CMS
*
* @author Angell & Co
* @copyright Copyright (c) 2018 Angell & Co
* @link https://angell.io
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
* @link https://plugins.doublesecretagency.com/
* @package Spoon
* @since 3.0.0
*/
Expand Down
5 changes: 2 additions & 3 deletions src/assetbundles/src/FieldManipulator.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/**
* Spoon plugin for Craft CMS
*
* @author Angell & Co
* @copyright Copyright (c) 2018 Angell & Co
* @link https://angell.io
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
* @link https://plugins.doublesecretagency.com/
* @package Spoon
* @since 3.0.0
*/
Expand Down
5 changes: 2 additions & 3 deletions src/assetbundles/src/GroupsDesigner.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/**
* Spoon plugin for Craft CMS
*
* @author Angell & Co
* @copyright Copyright (c) 2018 Angell & Co
* @link https://angell.io
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
* @link https://plugins.doublesecretagency.com/
* @package Spoon
* @since 3.0.0
*/
Expand Down
5 changes: 2 additions & 3 deletions src/assetbundles/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
*
* Spoon CSS
*
* @author Angell & Co
* @copyright Copyright (c) 2018 Angell & Co
* @link https://angell.io
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
* @link https://plugins.doublesecretagency.com/
* @package Spoon
* @since 3.0.0
*/
Expand Down
18 changes: 9 additions & 9 deletions src/base/PluginTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
*
* Enhance Matrix
*
* @link https://angell.io
* @copyright Copyright (c) 2018 Angell & Co
* @link https://plugins.doublesecretagency.com/
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
*/

namespace angellco\spoon\base;
namespace doublesecretagency\spoon\base;

use angellco\spoon\services\BlockTypes;
use angellco\spoon\services\Fields;
use angellco\spoon\services\Loader;
use angellco\spoon\Spoon;
use doublesecretagency\spoon\services\BlockTypes;
use doublesecretagency\spoon\services\Fields;
use doublesecretagency\spoon\services\Loader;
use doublesecretagency\spoon\Spoon;

/**
* Trait PluginTrait
*
* @property-read BlockTypes $blockTypes The block types service
* @property-read Fields $fields The fields service
* @property-read Loader $loader The loader service
* @package angellco\spoon\base
* @package doublesecretagency\spoon\base
*/
trait PluginTrait
{
Expand Down Expand Up @@ -71,4 +71,4 @@ private function _setPluginComponents()
'fields' => Fields::class,
]);
}
}
}
4 changes: 2 additions & 2 deletions src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* Enhance Matrix
*
* @link https://angell.io
* @copyright Copyright (c) 2018 Angell & Co
* @link https://plugins.doublesecretagency.com/
* @copyright Copyright (c) 2018, 2022 Double Secret Agency
*/

/**
Expand Down
Loading

0 comments on commit 5ea6d07

Please sign in to comment.