[Svn] [roundcube/roundcubemail] 1e6a2f: Basic support for OAuth2 user login and IMAP/SMTP ...

Thomas B. noreply at github.com
Mon Aug 10 21:40:18 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: 1e6a2f4f49477be7ac8784b6a137eb181f2eb9f1
      https://github.com/roundcube/roundcubemail/commit/1e6a2f4f49477be7ac8784b6a137eb181f2eb9f1
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M composer.json-dist
    M config/defaults.inc.php
    M index.php
    M program/include/rcmail.php
    A program/include/rcmail_oauth.php
    M program/include/rcmail_output_html.php
    M program/lib/Roundcube/rcube_imap_generic.php
    M program/localization/en_US/labels.inc
    M program/localization/en_US/messages.inc
    A program/steps/login/oauth.inc
    M skins/elastic/ui.js

  Log Message:
  -----------
  Basic support for OAuth2 user login and IMAP/SMTP authentication

- Add "Login with XXX" button to login screen if oauth is configured
- Perform OAuth login procedure and get an access token
- Implement XOAUTH2 authentication type for IAMP and SMTP

Requires a patched and not yet released version of Net_SMTP.


  Commit: 5da7708f34f697ed878fc7e3fcabd0b9ecf14a3b
      https://github.com/roundcube/roundcubemail/commit/5da7708f34f697ed878fc7e3fcabd0b9ecf14a3b
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M config/defaults.inc.php
    M program/include/iniset.php
    M program/include/rcmail_oauth.php

  Log Message:
  -----------
  Improve OAuth2 login procedure

... as suggested in issue #6933

* add config option `oauth_verify_peer`
* add config option `oauth_identity_fields`
* do not mask access token in session data
* fix refresh token handling
* use a redirect URL without query parameters


  Commit: acd574804b120af0a60d6f355d69927abde70e9d
      https://github.com/roundcube/roundcubemail/commit/acd574804b120af0a60d6f355d69927abde70e9d
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M composer.json-dist

  Log Message:
  -----------
  Upgrade to pear/net_smtp for xoauth2 support


  Commit: f63f92be7f58a43dc16a72f920c59bc3345845ad
      https://github.com/roundcube/roundcubemail/commit/f63f92be7f58a43dc16a72f920c59bc3345845ad
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M skins/elastic/styles/styles.less
    M skins/larry/styles.css

  Log Message:
  -----------
  Improve styling of oauth button on login page


  Commit: 06af3b5ef5613ca5631f58d9c75366df277b0e4c
      https://github.com/roundcube/roundcubemail/commit/06af3b5ef5613ca5631f58d9c75366df277b0e4c
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M config/defaults.inc.php
    M program/include/rcmail_oauth.php
    A skins/elastic/images/google-icon.svg
    M skins/elastic/styles/widgets/buttons.less

  Log Message:
  -----------
  Add example configs for Gmail and Outlook

+ Added option `oauth_login_redirect`
+ Custom styles for Google login button


  Commit: dd9b5c0ee6cbc698f0eb27e829e657c25cb9e32c
      https://github.com/roundcube/roundcubemail/commit/dd9b5c0ee6cbc698f0eb27e829e657c25cb9e32c
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M program/include/rcmail_oauth.php
    M program/steps/login/oauth.inc

  Log Message:
  -----------
  Fix redirects


  Commit: 5655dbb8c17f79bfd422a0d17a630e65245741de
      https://github.com/roundcube/roundcubemail/commit/5655dbb8c17f79bfd422a0d17a630e65245741de
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M config/defaults.inc.php
    M program/steps/login/oauth.inc

  Log Message:
  -----------
   Return `error_description` message on auth errors

 + rebased with git master


  Commit: 609e41a05f2823869b2fe0def30f012431b76f0e
      https://github.com/roundcube/roundcubemail/commit/609e41a05f2823869b2fe0def30f012431b76f0e
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M config/defaults.inc.php
    M program/include/rcmail_oauth.php
    A skins/elastic/images/microsoft-icon.svg
    M skins/elastic/styles/widgets/buttons.less
    A skins/larry/images/google-icon.svg
    A skins/larry/images/microsoft-icon.svg
    M skins/larry/styles.css

  Log Message:
  -----------
  Finalize oauth integration:

- remove debug logs
- add button icons for oauth login with Google and Microsoft


  Commit: c9beef0bc2b1e18a77b7c2703056f55d01cf6f51
      https://github.com/roundcube/roundcubemail/commit/c9beef0bc2b1e18a77b7c2703056f55d01cf6f51
  Author: Thomas Bruederli <thomas at roundcube.net>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M index.php

  Log Message:
  -----------
  Check if OAuth is enabled before including `oauth.inc` step file


  Commit: 9020797d0d2dc5d084c18aa1604816f7df4bf452
      https://github.com/roundcube/roundcubemail/commit/9020797d0d2dc5d084c18aa1604816f7df4bf452
  Author: Thomas B <thomas at roundcube.net>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M composer.json-dist
    M config/defaults.inc.php
    M index.php
    M program/include/iniset.php
    M program/include/rcmail.php
    A program/include/rcmail_oauth.php
    M program/include/rcmail_output_html.php
    M program/lib/Roundcube/rcube_imap_generic.php
    M program/localization/en_US/labels.inc
    M program/localization/en_US/messages.inc
    A program/steps/login/oauth.inc
    A skins/elastic/images/google-icon.svg
    A skins/elastic/images/microsoft-icon.svg
    M skins/elastic/styles/styles.less
    M skins/elastic/styles/widgets/buttons.less
    M skins/elastic/ui.js
    A skins/larry/images/google-icon.svg
    A skins/larry/images/microsoft-icon.svg
    M skins/larry/styles.css

  Log Message:
  -----------
  Merge pull request #7425 from thomascube/pr-xoauth2

Add OAuth/XOauth support


Compare: https://github.com/roundcube/roundcubemail/compare/f0b5f5d413bd...9020797d0d2d


More information about the svn mailing list