Skip to content

Commit

Permalink
initial code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabiermi committed Jan 16, 2024
0 parents commit 23ae56d
Show file tree
Hide file tree
Showing 26 changed files with 1,143 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.wordpress
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @omnisend/integrations
16 changes: 16 additions & 0 deletions .github/workflows/release-plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release plugin

on: [workflow_dispatch]
jobs:
svn:
name: Release new tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: WordPress Plugin Deploy
uses: omnisend/action-wordpress-plugin-deploy@v1.0.3
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: omnisend-for-gravity-forms-add-on
BUILD_DIR: omnisend-for-gravity-forms
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
woocommerce-omnisend/.vscode/*
.vscode/*
.idea/*
.svn

# These are needed when repo is checked out at the location of working WordPress site
.DS_Store
akismet/
hello.php
index.php
klaviyo
mailchimp-for-woocommerce
woocommerce
wp-crontrol
code-snippets

# Composer
composer.phar
/vendor/
# Local wordpress setup
.wordpress
.env

*.zip
16 changes: 16 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<ruleset name="Custom Standard" namespace="Omnisend\CS\Standard">
<rule ref="WordPress">
<exclude-pattern>*.js</exclude-pattern>

<exclude name="Generic.Commenting.DocComment" />
<exclude name="Squiz.Commenting.ClassComment" />
<exclude name="Squiz.Commenting.FunctionComment" />
<exclude name="Squiz.Commenting.VariableComment" />
<exclude name="Squiz.Commenting.BlockComment" />
<exclude name="Universal.Operators.StrictComparisons" />
<exclude name="Universal.Files.SeparateFunctionsFromOO" />
<exclude name="WordPress.PHP.YodaConditions" />
<exclude name="WordPress.PHP.StrictInArray" />
</rule>
</ruleset>
5 changes: 5 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tabWidth: 4
printWidth: 140
singleQuote: true
trailingComma: none
bracketSpacing: true
Binary file added .wordpress-org/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-256x256.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Omnisend Add-on for Gravity Forms WordPress plugin

Plugin (Add-On) for Gravity forms Wordpress plugin.

More information can be found [here](https://docs.gravityforms.com/category/developers/php-api/add-on-framework/).

Link to plugin in Wordpress app store: [link](https://wordpress.org/plugins/omnisend-for-gravity-forms-add-on/).
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "omnisend/gravity-forms-addon",
"description": "Omnisend for Gravity Forms Add-on",
"license": "proprietary",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"php": ">=7.1.0",
"wp-coding-standards/wpcs": "^3.0",
"squizlabs/php_codesniffer": "^3.7.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
}
}
Loading

0 comments on commit 23ae56d

Please sign in to comment.