Skip to content

Commit

Permalink
every action embed, every action multistep (advocator api) embed
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Dec 12, 2018
0 parents commit 117618b
Show file tree
Hide file tree
Showing 136 changed files with 35,315 additions and 0 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> 0.25%, not dead
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
!dist
!includes
!languages
!package
!vendor
!scripts
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2018 Tiny Pixel Collective, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 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, 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.
56 changes: 56 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# WP Blocks for Every Action

[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)    [![Codacy Badge](https://api.codacy.com/project/badge/Grade/cdd7bddb8b7d47bf899195af76f7bef5)](https://www.codacy.com/app/pixelcollective/wp-blocks-for-every-action?utm_source=github.com&utm_medium=referral&utm_content=pixelcollective/wp-blocks-for-every-action&utm_campaign=Badge_Grade)

[![Waffle.io - Columns and their card count](https://badge.waffle.io/pixelcollective/wp-blocks-for-every-action.svg?columns=all&style=flat-square)](https://waffle.io/pixelcollective/wp-blocks-for-every-action)

[![GitHub pull-requests](https://img.shields.io/github/issues-pr/pixelcollective/wp-blocks-for-every-action.svg)](https://GitHub.com/pixelcollective/wp-blocks-for-every-action/pull/)   [![GitHub pull-requests](https://img.shields.io/github/issues-pr-closed/pixelcollective/wp-blocks-for-every-action.svg)](https://GitHub.com/pixelcollective/wp-blocks-for-every-action/pull/)


WordPress 5.0 blocks for NGP VAN's Every Action CRM platform.

## Note

I am in no way affiliated with NGP VAN. I just build tools for non-profits.

## What's inside the box?

```
/every-action # → Root of plugin
├── assets/ # → Packed JS/CSS
├── includes/ # → PHP Classes, etc.
├── languages/ # → i18n
├── node_modules/ # → Node.js packages (never edit)
├── src # → Blocks
│ ├── blocks/ # → Block Assets
│ │ ├── action-tag/ # → Every Action Blocks
│ │ ├── button/ # → Button
│ │ ├── card/ # → Simple container block
│ │ ├── components/ # → Abstractions/utilities
│ │ ├── _common.scss # → Baseline stylesheet
│ │ ├── _vars.scss # → Stylesheet settings and variables
│ │ ├── editor.js # → JS Entrypoint
│ │ ├── editor.scss # → SCSS Main for wp-admin
│ │ ├── icons.js # → svg icons
│ │ ├── public.js # → JS Entrypoint for public
│ │ ├── public.scss # → SCSS Main for public
│ │ └───wp_imports.js # → WordPress API wrapper
│ └── client/ # → Public scripts
├── vendor/ # → Composer packages (never edit)
├── composer.json # → Composer dependencies (never edit)
├── composer.lock # → Composer lockfile (never edit)
├── index.php # → // silence is golden
├── LICENSE # → MIT License
├── package.json # → npm packages
├── postcss.config.js # → postcss configuration
├── uninstall.php # → Plugin uninstaller
├── README.md # → ** YOU ARE HERE **
├── every-action.php # → Plugin main
├── wpackio.php # → PHP style and script loader (dev and prod)
├── wpackio.project.js # → wpack.io configuration
├── wpackio.server.js # → wpack.io dev server configuration
└── yarn.lock # → yarn lockfile (never edit)
```

## Credit Where It's Due
- [wpack.io](https://wpack.io)
32 changes: 32 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "tiny-pixel/every-action",
"type": "wordpress-plugin",
"version": "1.0.6",
"description": "Non-profit CRM support for the WordPress 5 Block editor",
"keywords": [
"wordpress",
"gutenberg",
"custom post type"
],
"license": "MIT",
"authors": [
{
"name": "Kelly Mears",
"email": "[email protected]",
"homepage": "https://tinypixel.io"
}
],
"homepage": "https://github.com/pixelcollective/every-action",
"require": {
"php": ">=5.3.2",
"jjgrainger/posttypes": "^2.0",
"wpackio/enqueue": "^1.4"
},
"autoload": {
"psr-4": {
"TPC\\every-action\\": "includes/",
"PostTypes\\PostType\\": "includes/",
"Wpackio\\Enqueue\\": "includes/"
}
}
}
105 changes: 105 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions every-action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?php

/**
* @link https://tinypixel.io
* @since 1.0.0
* @package every-action
*
* @wordpress-plugin
* Plugin Name: &nbsp;📣&nbsp;WP Blocks for Every Action
* Plugin URI: https://tinypixel.io/every-action
* Description: Non-profit CRM support for the WordPress 5 Block editor
* Version: 1.0.6
* Author: Tiny Pixel Collective, Kelly Mears <[email protected]>
* Author URI: https://tinypixel.io
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: every-action
* Domain Path: /languages
*/

/**
* Keep it clean
* ✨ 🧹 ✨
*/
namespace TPC\EveryAction;

require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/wpackio.php';

/**
* Current plugin version.
* https://semver.org
*/
define( 'EVERY_ACTION_VERSION', '1.0.6' );
define( 'EVERY_ACTION_PATH', plugin_dir_path( __FILE__ ));

/**
* The code that runs during plugin activation.
* This action is documented in includes/class-every-action-activator.php
*/
function activate_every_action() {
require_once EVERY_ACTION_PATH . 'includes/class-every-action-activator.php';
every-action_Activator::activate();
}

/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-every-action-deactivator.php
*/
function deactivate_every_action() {
require_once EVERY_ACTION_PATH . 'includes/class-every-action-deactivator.php';
every-action_Deactivator::deactivate();
}

register_activation_hook( __FILE__, 'activate_every_action' );
register_deactivation_hook( __FILE__, 'deactivate_every_action' );

/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require EVERY_ACTION_PATH . 'includes/class-every-action.php';

/**
* Begins execution of the plugin.
*
* @since 1.0.0
*/
function run_every_action() {

$plugin = new Every_Action();
$plugin->run();

}
run_every_action();
Loading

0 comments on commit 117618b

Please sign in to comment.