Yahnis Elsts
b6e84c36ee
Merge pull request #268 from DavidAnderson684/patch-12
...
Ignore irrelevant updates in the upgrader_process_complete hook
2019-03-14 20:15:41 +02:00
David Anderson
b26dbf8eb3
Extra check
2019-03-14 16:13:08 +00:00
David Anderson
8d3aa30f3e
Modify behaviour on upgrader_process_complete action
...
Won't call `maybeCheckForUpdates()` if it's not an update for this entity.
2019-03-14 16:01:09 +00:00
Yahnis Elsts
857ee82041
Merge pull request #264 from pierre-r/master
...
Fix wrong function name: apply_filter(s)
2019-02-27 16:00:12 +02:00
Pierre
e8422cdf42
Fix wrong function name
2019-02-27 14:03:43 +01:00
Yahnis Elsts
7a3527ce55
Merge pull request #263 from Tofandel/patch-1
...
Add a `puc_get_vcs_service` filter
2019-02-26 12:36:10 +02:00
Adrien Foulon
02592c7fc4
Add a filter to getVcsService
...
The filter 'puc_get_vcs_service' will then allow user to add their self hosted gitlab or bitbucket as a recognised service
like so
add_filter('puc_get_vcs_service', function($service, $host) {
if ($host == 'gitlab.mydomain.com') {
return 'GitLab';
}
return $service;
}, 10, 2);
2019-02-25 19:03:46 +01:00
Yahnis Elsts
57a25d905a
Update the docs to more clearly separate usage instructions for GitLab.com and self-hosted GitLab instances.
2019-01-04 19:13:39 +02:00
Yahnis Elsts
9d087b7d9c
Add a workaround for realpath() failing to process the mu-plugins path.
...
Probably fixes #251
2018-12-30 13:36:24 +02:00
Yahnis Elsts
d98d6bc6ca
Bump version to 4.5 - step 2
...
Rename files and update file paths.
2018-12-30 12:38:32 +02:00
Yahnis Elsts
d460807de8
Bump version to 4.5 - step #1
...
Renaming all of the clases and updating version numbers.
2018-12-30 12:35:16 +02:00
Yahnis Elsts
e4536b4efa
Merge pull request #246 from YahnisElsts/gitlab-subgroups
...
Add support for Gitlab subgroups
2018-12-11 20:30:05 +02:00
Yahnis Elsts
5a6b4f9878
Merge branch 'master' into gitlab-subgroups
2018-12-11 20:14:59 +02:00
Yahnis Elsts
e1570305b0
Merge pull request #245 from YahnisElsts/issue-240-patch
...
Fix GitLab download URLs
2018-12-11 20:09:52 +02:00
Yahnis Elsts
c5036b620f
Fix outdated API syntax in getRemoteFile
2018-12-09 11:02:54 +02:00
Yahnis Elsts
2dba97ecfb
Don't encode slashes unnecessarily
2018-12-05 21:51:15 +02:00
Yahnis Elsts
ee677e2e5b
Potential fix for #240 .
...
Props to @froger-me
2018-12-05 21:40:54 +02:00
Yahnis Elsts
871c1006c5
Added support for GitLab subgroups as described in #241
...
(Untested.)
2018-12-03 15:21:45 +02:00
Yahnis Elsts
14bd39a492
Merge pull request #243 from meszarosrob/master
...
Set $repositoryHost visibility to protected
2018-12-02 15:45:07 +02:00
Meszaros Robert
98ab02dbda
Set $repositoryHost visibility to protected
2018-11-29 17:53:27 +02:00
Yahnis Elsts
ea633a91b3
Use random_bytes() when generating OAuth nonces.
...
mt_rand() is not cryptographically secure. This probably doesn't matter that much in most cases because it only affects BitBucket API interactions that already happen over HTTPS, but why not use a better option when it's available?
Closes #233
2018-10-23 13:23:48 +03:00
Yahnis Elsts
f11ffce720
Fix the parser ignoring the last readme.txt section when it's empty.
2018-09-26 11:18:00 +03:00
Yahnis Elsts
e2da891646
Merge pull request #229 from Tofandel/patch-1
...
Fix PHP notice "Undefined offset: 1 in readme-parser.php on line 124".
2018-09-26 11:00:31 +03:00
Adrien Foulon
89e8849957
Fix PHP notice "Undefined offset: 1 in readme-parser.php on line 124".
...
The for loop was iterating including the count index of the $_sections, it should be excluding
2018-09-23 16:47:42 +02:00
Yahnis Elsts
c9a7d2a7da
Add a note about where to post ideas on license management features
2018-08-09 15:47:20 +03:00
Yahnis Elsts
1cb79bcdce
Minor: Refactor the plugin UI callback permission checks.
...
Let's only add our UI hooks if the user has the required permissions. This way we can avoid duplicating the permission checks in each individual callback.
2018-07-17 13:58:17 +03:00
Yahnis Elsts
4f6afa95cd
Extract file parsing and lookup as a separate "Package" class.
2018-07-17 13:03:03 +03:00
Yahnis Elsts
98ac49406c
Fix: Remove UI hooks when uninstalling the plugin.
...
It looks like I forgot to move that code when extracting the UI class.
2018-07-14 12:38:32 +03:00
Yahnis Elsts
68f4865b31
Extract plugin-specific UI as a separate class.
...
This includes the "View details" and "Check for updates" links that appear on the "Plugins -> Installed Plugins" page.
2018-07-14 12:15:50 +03:00
Yahnis Elsts
01863da0e8
Minor: Adjust code spacing.
2018-06-27 15:28:34 +03:00
Yahnis Elsts
4f79183092
Merge pull request #205 from dangoodman/master
...
Fix WordPress reporting unknown compatibility of a plugin/theme update
2018-06-27 15:11:16 +03:00
dangoodman
c47c690c47
Fix code style
2018-06-27 11:24:40 +03:00
dangoodman
d7dcd8851c
Change fixSupportedWordpressVersion() from private to protected
2018-06-27 11:22:42 +03:00
dangoodman
05bddba61b
Try to fetch an actual WP patch number
2018-06-26 13:57:44 +03:00
Yahnis Elsts
e222ec10fa
Merge pull request #207 from dangoodman/pr-debugbar-typo
...
Fix typo in DebugBar extension availability check
2018-06-19 13:16:17 +03:00
dangoodman
15bb029ab7
Fix typo in DebugBar extension availability check
2018-06-18 21:49:05 +03:00
dangoodman
4e8f5a568e
Fix WordPress reporting unknown compatibility of a plugin/theme update
2018-06-12 19:24:31 +03:00
Yahnis Elsts
f26378d0c2
Minor: Added a note about using GitHub release assets
2018-05-03 17:08:22 +03:00
Yahnis Elsts
a4a61b6415
Merge pull request #193 from futtta/master
...
Added Dutch translations.
2018-03-25 19:59:10 +03:00
futtta
bf2750e548
Dutch (NL & BE, identical) translations
2018-03-25 18:33:51 +02:00
Yahnis Elsts
ee8bfa1cad
Minor: Emphasize the fact that the path that's passed to buildUpdateChecker must be the full path to the main plugin file (or functions.php). There have been too many issues opened lately by people who incorrectly assume that any old file path will do.
...
Note: Technically, for themes any file that's at the root of the theme directory will work. It doesn't have to be functions.php specifically.
2018-03-12 10:46:07 +02:00
Yahnis Elsts
889586dff7
Merge pull request #184 from Spidlace/master
...
Allow custom GitLab repository URLs to include a port number
2018-03-02 16:39:29 +02:00
Tony
b2e15785ac
minor code style issue : concatenating strings
2018-03-02 15:30:30 +01:00
Tony
3a56b83756
Add port host support for GitlabAPI
2018-03-01 13:02:22 +01:00
Yahnis Elsts
5e48f0c853
Fixed slug conflict detection.
...
Also fixed a related bug where calling the triggerError() method inside the update checker constructor would not trigger an error even if WP_DEBUG was enabled. The `debugMode` property didn't get initialized until the base class constructor was run. To fix that, I've added a new isDebugModeEnabled() method that performs lazy initialisation. The downside is that it duplicates one line of code from the constructor.
Closes #180
2018-02-22 18:51:25 +02:00
Yahnis Elsts
b75f5555c2
Merge pull request #179 from devanonyme/master
...
Correction of bad mo file.
2018-02-12 19:40:52 +02:00
devanonyme
50ac73643b
Correction of bad mo file.
2018-02-12 12:21:12 -05:00
Yahnis Elsts
90a138f22d
Merge pull request #176 from devanonyme/master
...
Add a Canadian French translation.
2018-02-12 18:41:05 +02:00
devanonyme
9412db45ef
Add fr_CA translation files.
2018-02-12 10:48:25 -05:00
Yahnis Elsts
f34eab1f5a
Minor: Replace outdated class name in the readme
2018-01-18 12:15:30 +02:00