Skip to content

Releases: beaulebens/keyring

GitHub and Google Drive Services, compatibility updates to WP 5.6.2, PHP 7 + 8

28 Feb 20:10
Compare
Choose a tag to compare
  • CHANGE: Default branch has been renamed to trunk to match WordPress projects. Update your refs.
  • Enhancement: BREAKING: Removed delicious service (they have shut down completely). Props @sanmai.
  • Enhancement: BREAKING: LinkedIn now uses OAuth2. Props @glendaviesnz.
  • Enhancement: fetch_profile_picture method added to Twitter service. Props @glendaviesnz.
  • Enhancement: Added a GitHub Service definition, props @alperakgun.
  • Enhancement: Added a Google Drive Service definition, props @scruffian.
  • Enhancement: Trim spaces off API keys etc to avoid mistakes when copy/pasting. Props @kbrown9.
  • Enhancement: Allow all 2xx response codes to be considered "Success" for all requests, for all protocols. Props @bgrgicak for the proposal.
  • Enhancement: Add translator comments. Props @scruffian.
  • Enhancement: Define the self endpoint for Tumblr, and add helper methods to retrieve user info. Props @glendaviesnz.
  • Enhancement: Add a keyring_{service}_request_scope filter for OAuth2 services, matching the existing filter for OAuth1 services. Props @glendaviesnz.
  • Enhancement: Add a 'full_response' param to Keyring_Service_OAuth2::request(), which will cause the method to return the full HTTP response object. Props @glendaviesnz.
  • Enhancement: Some services (looking at you, Strava) seem to double-encode redirect URIs, resulting in "corrupted" parameter names. Added a method to clean that up.
  • Bugfix: Make the Google services always request a refresh token for offline access. Props @kbrown9 and @atrniv for input.
  • Bugfix: Update Strava to use refresh tokens and offline access, per their new API requirements. Props @mdrovdahl for pointing it out.
  • Bugfix: Update use of add_submenu_page() to comply with WP 5.3. Props @jhwwp (wp.org) for the fix.
  • Bugfix: Apply the keyring_access_token filter consistently in Google Services. Props @pablinos.
  • Bugfix: Use static "Cancel" URIs in UIs. Props @pgl.
  • Bugfix: Remove some WordPress.com-specific code from Eventbrite.
  • Bugfix: Ensure that PUT requests have a Content-Length header set. Props @glendaviesnz.
  • Bugfix: Compatibility with more recent versions of PHP7, and PHP8.
  • Bugfix: Apply keyring_access_token filter properly in Instapaper.
  • Bugfix: Remove redunant is_service check (enforced via method call signature). Props @sanmai.
  • Bugfix: Remove hover event on action links in Service listing UI.

Note this is a re-issue of the v3.0 release to include the correct header in keyring.php

Composer compat, add Pocket, Gmail, YouTube Services.

15 Jun 20:55
Compare
Choose a tag to compare

Full details;

  • Bugfix BREAKING: Remove invalid reference to $this in error handler. Changes number of params passed to keyring_error action.
  • Bugfix BREAKING: expires values in tokens MUST be UNIX timestamps now.
  • Enhancement BREAKING: All Google services now share a base service (0-google-base.php)
  • Enhancement: Added a Pocket Service, props @roccotripaldi
  • Enhancement: Added a Google Mail (Gmail) Service, props @poisa
  • Enhancement: Added a YouTube Service definition, based heavily on @superbia's Google Analytics one.
  • Enhancement: Add a composer.json config file (Keyring is now on Packagist at https://packagist.org/packages/beaulebens/keyring)
  • Bugfix: Handle empty usernames in the Strava Service.
  • Bugfix: Updated links in readme for Google Analytics and Contacts to their user-facing URLs.

New Strava and Google Analytics Services, fixed Fitbit token refreshing

18 Feb 03:40
Compare
Choose a tag to compare
  • Enhancement: Added a Google Analytics Service definition, props @superbia.
  • Enhancement: Added a Strava Service definition, props @mdrovdahl.
  • Enhancement: Add a "Settings" link to the plugin listing if you're using the bundled Admin UI.
  • Bugfix: Remove deprecated calls to screen_icon().
  • Bugfix: Fitbit tokens now refresh automatically.
  • Bugfix: Tumblr now requires HTTPS, so update all request URLs. Props @westi.

New Jetpack/WP.com service. Fix to LinkedIn.

15 Apr 22:48
Compare
Choose a tag to compare
v1.8

Bump versions to 1.8 since we’re launching a new service.

Security Fix: Restrict Admin UI Access

04 Feb 18:57
Compare
Choose a tag to compare

In previous versions, non-Admins had access to being able to configure Services, which also meant that they could see API secrets etc. On multi-user installations, this is likely undesirable, so this version restricts access to all management interfaces to users who have manage_options (normally Administrators).

Note this is the same as v1.7.1, it just updates all the version numbers correctly.

Pinterest, Nest, plus bugfixes

22 Jan 19:39
Compare
Choose a tag to compare
  • Enhancement: Added Pinterest Service definition.
  • Enhancement: Added Nest Service definition.
  • Enhancement: New filter for modifying credentials before saving (keyring_{service}_basic_ui_save_credentials).
  • Enhancement: Update all services so that token-meta filters use a dynamic service name, making it much easier to extend existing services. Props @JJJ.
  • Bugfix: Use sentence parameter when searching for existing tokens, to avoid WordPress doing weird word-splitting. Props @dashaluna.
  • Bugfix: Correct URL for Instagram to load profile details (required for a working connection). Props @dashaluna.
  • Bugfix: Correct the URL for creating a Twitter app. Props @JJJ.
  • Bugfix: Handle avatar URLs better within the admin UI. Props @JJJ.
  • Bugfix: Correct URL for registering Eventbrite apps.