Skip to content

Commit

Permalink
Bump version number & update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
mAAdhaTTah committed Jan 4, 2017
1 parent b08e3ed commit efc1055
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 33 deletions.
48 changes: 27 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
## Changelog ##

This change log follows the [Keep a Changelog standards]. Versions follows [Semantic Versioning].
This change log follows the [Keep a Changelog standards][]. Versions follows [Semantic Versioning][].

### [1.7.2] ###
### [1.7.5][] ###

* Fix messages (props @synchrophoto!)
* Fix plugin slug (props @gmays)

### [1.7.2][] ###

* Fix messages (props @synchrophoto!)
* Fix Markdown when importing w/ Jetpack (props @lite3!)
* Fix bug in HTTP request on 4.6+
* Update dependencies

### [1.7.0] ###
### [1.7.0][] ###

* Add GitHub link shortcode (props @jonocarroll!)
* Add boot hook (props @kennyfraser!)

### [1.6.1] ###
### [1.6.1][] ###

* Fixed bug where post_meta with the same name as built-in meta keys were getting overwritten

### [1.6.0] ###
### [1.6.0][] ###

* New filters:
* `wpghs_pre_fetch_all_supported`: Filter the query args before all supported posts are queried.
Expand All @@ -29,13 +33,13 @@ This change log follows the [Keep a Changelog standards]. Versions follows [Sema
* Bugfix: Correctly display import/export messages in settings page. See [#127].
* Bugfix: Correctly set if post is new only when the matching ID is found in the database.

### [1.5.1] ###
### [1.5.1][] ###

* Added Chinese translation (props @malsony!).
* Updated German translation (props @lsinger!).
* Expire semaphore lock to avoid permanently locked install.

### [1.5.0] ###
### [1.5.0][] ###

* New WP-CLI command:
* `prime`: Forces WPGHS to fetch the latest commit and save it in the cache.
Expand All @@ -46,13 +50,13 @@ This change log follows the [Keep a Changelog standards]. Versions follows [Sema
* This is an _advanced feature_. Your configuration may or may not be fully supported. **Use at your own risk.**
* Eliminated some direct database calls in exchange for WP_Query usage.

### [1.4.1] ###
### [1.4.1][] ###

* Fix Database error handling
* Fix bug where WPGHS would interfere with other plugins' AJAX hooks.
* Fix transient key length to <40.

### [1.4.0] ###
### [1.4.0][] ###

* Major rewrite of the plugin internals.
* *Massively* improved internal architecture.
Expand All @@ -67,56 +71,56 @@ This change log follows the [Keep a Changelog standards]. Versions follows [Sema
* BREAKING: Remove reference to global `$wpghs` variable.
* Use `WordPress_GitHub_Sync::$instance` instead.

### [1.3.4] ###
### [1.3.4][] ###

* Add German translation (props @lsinger).
* Update folder names to default to untranslated.

### [1.3.3] ###
### [1.3.3][] ###

* Fix api bug where API call errors weren't getting kicked up to the calling method.

### [1.3.2] ###
### [1.3.2][] ###

* Fix deleting bug where posts that weren't present in the repo were being added.

### [1.3.1] ###
### [1.3.1][] ###

* Re-add validation of post before exporting.
* Fixed bug where all post types/statuses were being exported.
* Reverted busted SQL query

### [1.3] ###
### [1.3][] ###

* New Feature: Support importing posts from GitHub
* New Feature: Support setting revision and new post users on import.
* Note: There is a new setting, please selected a default/fallback user and saved the settings.

### [1.2] ###
### [1.2][] ###

* New Feature: Support displaying an "Edit|View on GitHub" link.
* Update translation strings and implement pot file generation.
* Redirect user away from settings page page after the import/export process starts.
* Fix autoloader to be PHP 5.2 compatible.

### [1.1.1] ###
### [1.1.1][] ###

* Add WPGHS_Post as param to export content filter.

### [1.1.0] ###
### [1.1.0][] ###

* Add filters for content on import and export.

### [1.0.2] ###
### [1.0.2][] ###

* Hide password-protected posts from being exported to GitHub
* Create post slug if WordPress hasn't created it yet (affects draft exporting)

### [1.0.1] ###
### [1.0.1][] ###

* Remove closure to enable PHP 5.2 compatibility (thanks @pdclark!)

### [1.0.0] ###
### [1.0.0][] ###

* Initial release
* Supports full site sync, Markdown import/export, and custom post type & status support
Expand All @@ -127,6 +131,8 @@ This change log follows the [Keep a Changelog standards]. Versions follows [Sema
[#121]: https://github.com/mAAdhaTTah/wordpress-github-sync/issues/121
[#127]: https://github.com/mAAdhaTTah/wordpress-github-sync/issues/127
[Unreleased]: https://github.com/mAAdhaTTah/wordpress-github-sync
[1.7.5]: https://github.com/mAAdhaTTah/wordpress-github-sync/releases/tag/1.7.5
[1.7.2]: https://github.com/mAAdhaTTah/wordpress-github-sync/releases/tag/1.7.2
[1.7.0]: https://github.com/mAAdhaTTah/wordpress-github-sync/releases/tag/1.7.0
[1.6.1]: https://github.com/mAAdhaTTah/wordpress-github-sync/releases/tag/1.6.1
[1.6.0]: https://github.com/mAAdhaTTah/wordpress-github-sync/releases/tag/1.6.0
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# WordPress <--> GitHub Sync #
**Contributors:** JamesDiGioia, benbalter
**Contributors:** JamesDiGioia, benbalter
**Tags:** github, git, version control, content, collaboration, publishing
**Requires at least:** 3.9
**Tested up to:** 4.7
**Stable tag:** 1.7.4
**Stable tag:** 1.7.5
**License:** GPLv2
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -21,9 +21,9 @@ Well, now you can! Introducing [WordPress <--> GitHub Sync](https://github.com/m

### WordPress <--> GitHub Sync does three things: ###

1. Allows content publishers to version their content in GitHub, exposing "who made what change when" to readers
2. Allows readers to submit proposed improvements to WordPress-served content via GitHub's Pull Request model
3. Allows non-technical writers to draft and edit a Jekyll site in WordPress's best-of-breed editing interface
1. Allows content publishers to version their content in GitHub, exposing "who made what change when" to readers
2. Allows readers to submit proposed improvements to WordPress-served content via GitHub's Pull Request model
3. Allows non-technical writers to draft and edit a Jekyll site in WordPress's best-of-breed editing interface

### WordPress <--> GitHub sync might be able to do some other cool things: ###

Expand Down Expand Up @@ -74,7 +74,7 @@ Install the plugin and activate it via WordPress's plugin settings page.

### Configuring the plugin ###

1. [Create a personal oauth token](https://github.com/settings/tokens/new) with the `public_repo` scope. If you'd prefer not to use your account, you can create another GitHub account for this.
1. [Create a personal oauth token](https://github.com/settings/tokens/new) with the `public_repo` scope. If you'd prefer not to use your account, you can create another GitHub account for this.
2. Configure your GitHub host, repository, secret (defined in the next step), and OAuth Token on the WordPress <--> GitHub sync settings page within WordPress's administrative interface. Make sure the repository has an initial commit or the export will fail.
3. Create a WebHook within your repository with the provided callback URL and callback secret, using `application/json` as the content type. To set up a webhook on GitHub, head over to the **Settings** page of your repository, and click on **Webhooks & services**. After that, click on **Add webhook**.
4. Click `Export to GitHub` or if you use WP-CLI, run `wp wpghs export all #` from the command line, where # = the user ID you'd like to commit as.
Expand Down Expand Up @@ -122,14 +122,14 @@ In `wp-content`, create or open the `mu-plugins` folder and create a plugin file
* Author URI: https://jamesdigioia.com/
* License: GPL2
*/

add_filter('wpghs_whitelisted_post_types', function ($supported_post_types) {
return array_merge($supported_post_types, array(
// add your custom post types here
'gistpen'
));
});

add_filter('wpghs_whitelisted_post_statuses', function ($supported_post_statuses) {
return array_merge($supported_post_statuses, array(
// additional statuses available: https://codex.wordpress.org/Post_Status
Expand Down Expand Up @@ -169,7 +169,7 @@ If you wish to add either the bare URL or a link referencing the URL to an indiv

The following optional attributes can also be included in the shortcode
* `target=`
+ `'view'` (default) the url used will be the *view* URL (`/blob/`).
+ `'view'` (default) the url used will be the *view* URL (`/blob/`).
+ `'edit'` the url used will be the *edit* URL (`/edit/`).
* `type=`
+ `'link'` (default) an anchor tag (`<a>`) with href set to the requested URL will be inserted.
Expand All @@ -178,7 +178,7 @@ The following optional attributes can also be included in the shortcode
+ `''` (default) link text (where `type='link'`, ignored otherwise) will be set to 'View this post on GitHub'.
+ `'text'` link text (where `type='link'`, ignored otherwise) will be set to 'text' (the supplied text).

For example,
For example,

`[wpghs target='view' type='link' text='Here is my post on GitHub']` will produce a HTML anchor tag with href set to the 'view' URL of the post on GitHub, and the link text set to 'Here is my post on GitHub', i.e.

Expand Down
4 changes: 2 additions & 2 deletions wp-github-sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WordPress GitHub Sync
* Plugin URI: https://github.com/mAAdhaTTah/wordpress-github-sync
* Description: A WordPress plugin to sync content with a GitHub repository (or Jekyll site).
* Version: 1.7.4
* Version: 1.7.5
* Author: James DiGioia, Ben Balter
* Author URI: http://jamesdigioia.com
* License: GPLv2
Expand Down Expand Up @@ -54,7 +54,7 @@ class WordPress_GitHub_Sync {
* Current version
* @var string
*/
public static $version = '1.7.4';
public static $version = '1.7.5';

/**
* Controller object
Expand Down

0 comments on commit efc1055

Please sign in to comment.