-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from WordPoints/develop
1.1.3
- Loading branch information
Showing
20 changed files
with
4,279 additions
and
33 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
dev-lib/git/.gitignore |
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,3 @@ | ||
[submodule "dev-lib"] | ||
path = dev-lib | ||
url = https://github.com/WordPoints/dev-lib.git |
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,57 @@ | ||
# Travis CI configuration file for a WordPoints extension. | ||
|
||
language: php | ||
|
||
env: | ||
- TRAVISCI_RUN=codesniff | ||
|
||
dist: trusty | ||
|
||
sudo: false | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# Needed for `xmllint`. | ||
- libxml2-utils | ||
|
||
matrix: | ||
include: | ||
- php: 7.2 | ||
- php: 7.1 | ||
- php: 7.0 | ||
- php: 5.6 | ||
- php: 5.5 | ||
- php: 5.4 | ||
# Use Ubuntu Precise because Trusty doesn't support PHP 5.2 or 5.3. | ||
- php: 5.3 | ||
dist: precise | ||
env: TRAVISCI_RUN=codesniff DO_PHPCS=0 | ||
- php: 5.2 | ||
dist: precise | ||
env: TRAVISCI_RUN=codesniff DO_PHPCS=0 | ||
# Run against nightly. | ||
- php: nightly | ||
allow_failures: | ||
- php: nightly | ||
- php: 7.2 | ||
fast_finish: true | ||
|
||
before_script: | ||
- export WORDPOINTS_PROJECT_TYPE=extension | ||
- export DEV_LIB_PATH=dev-lib | ||
- if [ -e .wordpoints-dev-lib-config.sh ]; then source .wordpoints-dev-lib-config.sh; fi | ||
- source $DEV_LIB_PATH/travis/before_script.sh | ||
|
||
script: | ||
- codesniff-php-syntax | ||
- codesniff-phpcs | ||
- codesniff-strings | ||
- codesniff-dittography | ||
- codesniff-l10n | ||
- codesniff-xmllint | ||
- codesniff-bash | ||
- codesniff-symlinks | ||
|
||
after_script: | ||
- source $DEV_LIB_PATH/travis/after_script.sh |
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,20 @@ | ||
{ | ||
"files": { | ||
"\/includes\/actions.php": { | ||
"size": 735, | ||
"hash": "3b855aeb018eb2bd8e6156ef1a41bdc8", | ||
"errors": false | ||
}, | ||
"\/includes\/functions.php": { | ||
"size": 2427, | ||
"hash": "ccd168db751776a099c9aba9246e9adc", | ||
"errors": false | ||
}, | ||
"\/userpro.php": { | ||
"size": 1747, | ||
"hash": "f20764a3a8b16617d2759eab8b8b641e", | ||
"errors": false | ||
} | ||
}, | ||
"config_signature": "97182cccfaf8938eb5fb978ca2fab902" | ||
} |
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,13 @@ | ||
{ | ||
"\/includes\/functions.php": { | ||
":": { | ||
"45": { | ||
"name": "esc_html", | ||
"type": "unknown", | ||
"args_started": true, | ||
"arg_count": 0, | ||
"parentheses": 1 | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Grunt configuration file. | ||
* | ||
* @package WordPoints_Dev_Lib | ||
* @since 2.5.0 | ||
*/ | ||
|
||
/* jshint node:true */ | ||
module.exports = function( grunt ) { | ||
|
||
// Load the default configuration from the dev-lib. | ||
require( './dev-lib/grunt/modules/configure.js' )( grunt, __dirname ); | ||
}; | ||
|
||
// EOF |
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,11 +1,11 @@ | ||
# UserPro [](https://hackerone.com/wordpoints) | ||
# UserPro [](https://travis-ci.org/WordPoints/userpro) [](https://hackerone.com/wordpoints) | ||
|
||
Hello! This is where we develop the premium UserPro integration module that you | ||
can [purchase on WordPoints.org](https://wordpoints.org/modules/userpro/). | ||
The source code of the module is made available here in good faith, to make it easier | ||
Hello! This is where we develop the premium UserPro integration extension that you | ||
can [purchase on WordPoints.org](https://wordpoints.org/extensions/userpro/). | ||
The source code of the extension is made available here in good faith, to make it easier | ||
for developers to integrate with it, contribute bugfixes and security patches, and | ||
follow the development of new features. You can also feel free to use this source | ||
code to try the module out before you buy it. However, if you decide to use the | ||
module on a production site, we ask that you [purchase a license for it](https://wordpoints.org/modules/userpro/), | ||
code to try the extension out before you buy it. However, if you decide to use the | ||
extension on a production site, we ask that you [purchase a license for it](https://wordpoints.org/extensions/userpro/), | ||
so that we can continue to provide updates and support for WordPoints and all of its | ||
great modules. Thank you! | ||
great extensions. Thank you! |
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,19 @@ | ||
{ | ||
"devDependencies": { | ||
"@martin-pettersson/wp-get-file-data": "^0.1.0", | ||
"autoprefixer": "^6.6.1", | ||
"grunt": "^1.0.0", | ||
"grunt-browserify": "^5.0.0", | ||
"grunt-contrib-cssmin": "^1.0.2", | ||
"grunt-contrib-imagemin": "^1.0.1", | ||
"grunt-contrib-uglify": "^2.0.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-jsvalidate": "^0.2.2", | ||
"grunt-newer": "^1.2.0", | ||
"grunt-openport": "^1.0.0", | ||
"grunt-postcss": "^0.8.0", | ||
"grunt-rtlcss": "^2.0.1", | ||
"grunt-sass": "~1.1.0", | ||
"matchdep": "^1.0.1" | ||
} | ||
} |
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 @@ | ||
dev-lib/phpcs/WordPoints/ruleset.xml |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (C) 2017 J.D. Grimes | ||
# This file is distributed under the same license as the WordPoints UserPro package. | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: WordPoints UserPro 1.1.3\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-10-21 14:30:28+00:00\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
||
#. Description of the extension | ||
msgid "Integrates with the UserPro plugin." | ||
msgstr "" | ||
|
||
#. Author of the extension | ||
msgid "J.D. Grimes" | ||
msgstr "" | ||
|
||
#. Author URI of the extension | ||
msgid "https://wordpoints.org/" | ||
msgstr "" | ||
|
||
#. Extension Name of the extension | ||
msgid "UserPro" | ||
msgstr "" | ||
|
||
#. Extension URI of the extension | ||
msgid "https://wordpoints.org/extensions/userpro/" | ||
msgstr "" |
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,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* Main file of the module. | ||
* Main file of the extension. | ||
* | ||
* ---------------------------------------------------------------------------------| | ||
* Copyright 2017 J.D. Grimes (email : [email protected]) | ||
|
@@ -21,41 +21,41 @@ | |
* ---------------------------------------------------------------------------------| | ||
* | ||
* @package WordPoints_UserPro | ||
* @version 1.1.2 | ||
* @version 1.1.3 | ||
* @author J.D. Grimes <[email protected]> | ||
* @license GPLv2+ | ||
*/ | ||
|
||
WordPoints_Modules::register( | ||
wordpoints_register_extension( | ||
' | ||
Module Name: UserPro | ||
Author: J.D. Grimes | ||
Author URI: https://wordpoints.org/ | ||
Module URI: https://wordpoints.org/modules/userpro/ | ||
Version: 1.1.2 | ||
License: GPLv2+ | ||
Description: Integrates with the UserPro plugin. | ||
Text Domain: wordpoints-userpro | ||
Domain Path: /languages | ||
Server: wordpoints.org | ||
ID: 1153 | ||
Namespace: UserPro | ||
Extension Name: UserPro | ||
Author: J.D. Grimes | ||
Author URI: https://wordpoints.org/ | ||
Extension URI: https://wordpoints.org/extensions/userpro/ | ||
Version: 1.1.3 | ||
License: GPLv2+ | ||
Description: Integrates with the UserPro plugin. | ||
Text Domain: wordpoints-userpro | ||
Domain Path: /languages | ||
Server: wordpoints.org | ||
ID: 1153 | ||
Namespace: UserPro | ||
' | ||
, __FILE__ | ||
); | ||
|
||
/** | ||
* The module's main functions. | ||
* The extension's main functions. | ||
* | ||
* @since 1.0.0 | ||
*/ | ||
require_once( dirname( __FILE__ ) . '/includes/functions.php' ); | ||
require_once dirname( __FILE__ ) . '/includes/functions.php'; | ||
|
||
/** | ||
* Hooks up the module's actions and filters. | ||
* Hooks up the extension's actions and filters. | ||
* | ||
* @since 1.0.0 | ||
*/ | ||
require_once( dirname( __FILE__ ) . '/includes/actions.php' ); | ||
require_once dirname( __FILE__ ) . '/includes/actions.php'; | ||
|
||
// EOF |
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,8 @@ | ||
{ | ||
"textdomain": "wordpoints-userpro", | ||
"basedir": "./src", | ||
"bootstrap": "dev-lib/l10n-validator/bootstrap.php", | ||
"cache": "./.wp-l10n-validator-cache.json", | ||
"ignores-cache": "./.wp-l10n-validator-ignores-cache.json", | ||
"ignores-tolerance": 25 | ||
} |
Oops, something went wrong.