Skip to content

Commit

Permalink
Merge pull request #1115 from laterpay/develop
Browse files Browse the repository at this point in the history
Tag 2.4.2
  • Loading branch information
thrijith authored Jan 28, 2019
2 parents 5838219 + 918b249 commit c61766a
Show file tree
Hide file tree
Showing 32 changed files with 1,723 additions and 1,417 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,21 @@ The plugin is available on http://wordpress.org/plugins/laterpay
## Contributing

1. Fork it ( https://github.com/laterpay/laterpay-wordpress-plugin/fork )
2. Create your feature branch (`git checkout -b feature/my_new_feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin feature/my_new_feature`)
5. Create a new Pull Request to develop.
2. Run `composer install` to install all the dependencies.
3. Create your feature branch (`git checkout -b feature/my_new_feature`)
4. Add your changes, verify coding standards and language compatibility ( [Check #development-notes](#development-notes) )
5. Run `gulp build` for `js` and / or `css` changes. Please check [gulpfile](gulpfile.js) for more tasks.
6. Commit your changes (`git commit -am 'Added some feature'`)
7. Push to the branch (`git push origin feature/my_new_feature`)
8. Create a new Pull Request to develop.

## Development Notes

##### Please run following commands from the root directory.

1. Please verfiy your code is in compliance to the Coding Standards used in this Project.
2. Run `composer phpcs filename` or `composer phpcs laterpay` to check for PHPCS errors/warnings.
3. Run `composer phpcompat` to check if the code is compatible for PHP 5.6 and above

This project uses Gulp to build its assets.
Gulp is a node.js module. If you have node.js running, you can install gulp with ```sudo npm install -g gulp```.
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "laterpay/laterpay-wordpress-plugin",
"description": "This is the official LaterPay plugin for selling digital content with WordPress",
"license": "MIT",
"version": "2.4.1",
"version": "2.4.2",
"config": {
"vendor-dir": "laterpay/vendor",
"secure-http": true
Expand Down Expand Up @@ -33,13 +33,14 @@
"require-dev": {
"wp-coding-standards/wpcs": "*",
"automattic/vipwpcs": "^0.3.0",
"wimg/php-compatibility": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4"
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"phpcompatibility/phpcompatibility-wp": "^2.0"
},
"scripts": {
"post-install-cmd": "find laterpay/vendor/ -type d -name \".git\" | xargs rm -rf",
"post-update-cmd": "find laterpay/vendor/ -type d -name \".git\" | xargs rm -rf",
"phpcs": "\"laterpay/vendor/bin/phpcs\" --standard=ruleset.xml",
"phpcbf": "\"laterpay/vendor/bin/phpcbf\" --standard=ruleset.xml"
"phpcbf": "\"laterpay/vendor/bin/phpcbf\" --standard=ruleset.xml",
"phpcompat": "\"laterpay/vendor/bin/phpcs\" -p --standard=PHPCompatibilityWP laterpay/application laterpay/views laterpay/laterpay-load.php laterpay/laterpay.php laterpay/vendor/laterpay/laterpay-client-php --runtime-set testVersion 5.6- --extensions=php"
}
}
193 changes: 146 additions & 47 deletions composer.lock

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

2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var gulp = require('gulp'),
// OPTIONS -------------------------------------------------------------------------------------------------------------
var gulpKnownOptions = {
string: 'version',
default: { version: '2.4.1' }
default: { version: '2.4.2' }
};
var gulpOptions = minimist(process.argv.slice(2), gulpKnownOptions);
gulpOptions.svn = {};
Expand Down
17 changes: 13 additions & 4 deletions laterpay/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Contributors: laterpay, dominik-rodler, mihail-turalenka, avahura, ahryb
Donate link: https://laterpay.net
Tags: laterpay, accept micropayments, accept payments, access control, billing, buy now pay later, content monetization, creditcard, debitcard, free to read, laterpay for wordpress, laterpay payment, laterpay plugin, micropayments, monetize, paid content, pay button, pay per use, payments, paywall, PPU, sell digital content, sell digital goods, single sale, wordpress laterpay, Payments, Content Monetization, Paywall, Paid Content, Publisher, Blogger
Requires at least: 4.6
Tested up to: 5.0.2
Stable tag: 2.4.1
Tested up to: 5.0.3
Stable tag: 2.4.2
Author URI: https://laterpay.net
Plugin URI: https://github.com/laterpay/laterpay-wordpress-plugin
License: MIT
Expand Down Expand Up @@ -185,6 +185,15 @@ Please see the "Test and Live Mode" section.
6. The plugin provides a variety of advanced settings to customize the LaterPay plugin and adjust it to your needs.

== Changelog ==
= 2.4.2 ( January 28, 2019 ) =
* Update voucher layout for TimePass and Subscription in Pricing Tab.
* Update plugin uninstall behaviour - Provide option to remove plugin data in Account Tab.
* Fix issue with post edit page price type change.
* Fix issue with custom position for Position of the Purchase Button.
* Fix issue with custom position for Display of Subscriptions & Time Passes.
* Fix JS error in classic editor due to invalid editor check.
* Add / Update German Translations for All German language options.

= 2.4.1 ( January 11, 2019 ) =
* Fix issue with multiple categories in exclude feature for TimePass and Subscription.
* Fix issue with missing categories data in Post Publish GA event.
Expand Down Expand Up @@ -691,8 +700,8 @@ KNOWN BUGS:

== Upgrade notice ==

= 2.4.1 ( January 11, 2019 ) =
Updated plugin initialization hook, Added support for multiple categories, Added GA events to capture Merchant usage data, Fixed Duplicate query issues and minor updates with LaterPay functionality.
= 2.4.2 ( January 28, 2019 ) =
Updated voucher layout, Update uninstall behaviour, Fix custom position for Purchase Button and TimePass and Subscription and minor bug fixes with LaterPay functionality.

== Arbitrary section ==

Expand Down
Loading

0 comments on commit c61766a

Please sign in to comment.