Skip to content

Commit 91668a5

Browse files
committed
Merge branch 'develop'
2 parents 67a2aa9 + 4ac91cd commit 91668a5

File tree

258 files changed

+61517
-7897
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+61517
-7897
lines changed

.github/workflows/releases.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
1919

2020
- name: Build project
21-
run: git archive -o /tmp/github-updater-${{ steps.tag.outputs.tag }}.zip --prefix=github-updater/ ${{ steps.tag.outputs.tag }}
21+
run: git archive -o /tmp/git-updater-${{ steps.tag.outputs.tag }}.zip --prefix=git-updater/ ${{ steps.tag.outputs.tag }}
2222

2323
- name: Create Release
2424
id: create_release
@@ -37,6 +37,6 @@ jobs:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
with:
3939
upload_url: ${{ steps.create_release.outputs.upload_url }}
40-
asset_path: /tmp/github-updater-${{ steps.tag.outputs.tag }}.zip
41-
asset_name: github-updater-${{ steps.tag.outputs.tag }}.zip
40+
asset_path: /tmp/git-updater-${{ steps.tag.outputs.tag }}.zip
41+
asset_name: git-updater-${{ steps.tag.outputs.tag }}.zip
4242
asset_content_type: application/zip

.github/workflows/wp-phpunit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
php-versions: ['7.2', '7.3', '7.4']
2424
phpunit-versions: ['7.5.20']
2525
include:
26-
- php-versions: '5.6'
26+
- php-versions: '7.0'
2727
phpunit-versions: '5.7.27'
2828
operating-system: ubuntu-16.04
2929
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

CHANGES.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
#### [unreleased]
22

3+
#### 10.0.0 / 2021-05-17
4+
##### Requires PHP 7.0+
5+
* added default values in API constructors for future proofing
6+
* correctly apply `Primary Branch` with rollback to tag
7+
* removed Git APIs and placed in plugins
8+
* move `Branch` to Git Updater PRO
9+
* restructure for `API\API.php` and `REST\REST_API`, `REST\Rest_Update`, and `REST\Rest_Upgrader_Skin`
10+
* move REST, WP-CLI, and `Remote Management` to Git Updater PRO
11+
* remove deprecated elements of `Remote_Management`
12+
* remove `Settings::set_auth_required()`, now set in API plugins
13+
* update `Settings::unset_stale_options()`
14+
* added filters to added data from API plugins
15+
* added filter for setting API URL data
16+
* added filter for setting API remote install data
17+
* added filters for setting API language pack data
18+
* added filter to get API object
19+
* added filters for Basic Auth settings
20+
* added filter `gu_parse_release_asset`
21+
* added filter `gu_parse_headers_enterprise_api`
22+
* add filter `gu_post_api_response_body`
23+
* add filter `gu_get_git_icon_data`, this change requires PHP 7.0+ for `dirname( __DIR__, 2 )`
24+
* add filter `gu_parse_enterprise_headers`
25+
* add filter `gu_fix_repo_slug`
26+
* add filter `gu_parse_api_branches`
27+
* add filter `gu_running_git_servers`
28+
* remove deprecated override dot org constant
29+
* added setting to display `_deprecated_hook()` data in debug.log
30+
* skip `_deprecated_hook()` `trigger_error()` in development environment
31+
* zero value of repo cache release asset `$url` if `wp_remote_get( $url )` not HTTP code 200 when checking release asset redirect
32+
* add **Add-Ons** tab for installing API plugins
33+
* add Freemius integration for analytics
34+
* update assets
35+
336
#### 9.9.10 / 2021-02-18
437
* fix change to `redirect_on_save()`
538
* fix issue when more than 100 branches are present and primary branch in plugin/theme is changed and not in branches array, thanks @bph

LICENSE

+21-339
Large diffs are not rendered by default.

README.md

+29-17
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
![GitHub Updater](./assets/GitHub_Updater_logo_small.png)
1+
![Git Updater](./assets/GitUpdater_Logo.png)
22

3-
# GitHub Updater
3+
# Git Updater
44

5-
![downloads](https://img.shields.io/github/downloads/afragen/github-updater/total) ![downloads@latest](https://img.shields.io/github/downloads/afragen/github-updater/latest/total)
5+
![downloads](https://img.shields.io/github/downloads/afragen/git-updater/total) ![downloads@latest](https://img.shields.io/github/downloads/afragen/git-updater/latest/total)
66

7-
![WordPress Tests](https://github.com/afragen/github-updater/workflows/WordPress%20Tests/badge.svg)
7+
![WordPress Tests](https://github.com/afragen/git-updater/workflows/WordPress%20Tests/badge.svg)
88

9-
* Contributors: [Andy Fragen](https://github.com/afragen), [Gary Jones](https://github.com/GaryJones), [Seth Carstens](https://github.com/sethcarstens), [Mikael Lindqvist](https://github.com/limikael), [contributors](https://github.com/afragen/github-updater/graphs/contributors)
10-
* Tags: plugin, theme, update, updater, github, bitbucket, gitlab, remote install
9+
* Contributors: [Andy Fragen](https://github.com/afragen), [contributors](https://github.com/afragen/git-updater/graphs/contributors)
10+
* Tags: plugin, theme, update, github, language pack, remote install
1111
* Requires at least: 5.2
12-
* Requires PHP: 5.6
12+
* Requires PHP: 7.0
1313
* Tested up to: trunk
14-
* Stable tag: [master](https://github.com/afragen/github-updater/releases/latest)
15-
* Donate link: <https://thefragens.com/github-updater-donate>
16-
* License: GPLv2 or later
17-
* License URI: <https://www.gnu.org/licenses/gpl-2.0.html>
14+
* Stable tag: [master](https://github.com/afragen/git-updater/releases/latest)
15+
* Donate link: <https://thefragens.com/git-updater-donate>
16+
* License: MIT
1817

19-
A simple plugin to enable automatic updates to your GitHub, Bitbucket, GitLab, or Gitea hosted WordPress plugins, themes, and language packs. It also allows for the remote installation of plugins or themes.
18+
A simple plugin to enable automatic updates to your GitHub hosted WordPress plugins, themes, and language packs. Additional API plugins available for Bitbucket, GitLab, Gitea, and Gist.
2019

21-
[Comprehensive information regarding GitHub Updater is available on the wiki.](https://github.com/afragen/github-updater/wiki)
20+
[Comprehensive information regarding Git Updater is available in the Knowledge Base.](https://git-updater.com/knowledge-base)
2221

23-
[Install the latest version here.](https://github.com/afragen/github-updater/releases/latest)
22+
[Install the latest version here.](https://github.com/afragen/git-updater/releases/latest)
2423

2524
## Description
2625

2726
This plugin was designed to simply update any GitHub hosted WordPress plugin or theme. Your plugin or theme **must** contain a header in the style.css header or in the plugin's header denoting the location on GitHub. The format is as follows.
2827

29-
GitHub Plugin URI: afragen/github-updater
30-
GitHub Plugin URI: https://github.com/afragen/github-updater
28+
GitHub Plugin URI: afragen/git-updater
29+
GitHub Plugin URI: https://github.com/afragen/git-updater
3130

3231
or
3332

@@ -36,6 +35,19 @@ or
3635

3736
...where the above URI leads to the __owner/repository__ of your theme or plugin. The URI may be in the format `https://github.com/<owner>/<repo>` or the short format `<owner>/<repo>`. You do not need both. Only one Plugin or Theme URI is required. You **should not** include any extensions like `.git`.
3837

38+
### API Plugins
39+
40+
API plugins for Bitbucket, GitLab, Gitea, and Gist are available. API plugins are available for a one-click install from the **Add-Ons** tab.
41+
42+
* [Git Updater - Bitbucket](https://github.com/afragen/git-updater-bitbucket/releases/latest)
43+
* [Git Updater - GitLab](https://github.com/afragen/git-updater-gitlab/releases/latest)
44+
* [Git Updater - Gitea](https://github.com/afragen/git-updater-gitea/releases/latest)
45+
* [Git Updater - Gist](https://github.com/afragen/git-updater-gist/releases/latest)
46+
47+
### Sponsor
48+
49+
You can [sponsor me on GitHub](https://github.com/sponsors/afragen) to help with continued development and support.
50+
3951
## Slack
4052

41-
We now have a [Slack team for GitHub Updater](https://github-updater.slack.com). Please [click here for an invite](https://github-updater.herokuapp.com). You will be automatically added to the _#general_ and _#support_ channels. Please take a look at other channels too.
53+
We now have a [Slack team for Git Updater](https://git-updater.slack.com). Please [click here for an invite](https://github-updater.herokuapp.com). You will be automatically added to the _#general_ and _#support_ channels. Please take a look at other channels too.

assets/GitHub_Updater_logo_small.png

-5.11 KB
Binary file not shown.

assets/GitUpdater_Logo.png

6.77 KB
Loading

assets/banner-1544x500.png

-41.1 KB
Loading

assets/banner-772x250.png

-12.1 KB
Loading

assets/bitbucket-logo.svg

-15
This file was deleted.

assets/gitea-logo.svg

-160
This file was deleted.

assets/gitlab-logo.svg

-25
This file was deleted.

0 commit comments

Comments
 (0)