Commit Graph

7719 Commits

Author SHA1 Message Date
Aleksander Machniak
2cfa5e1cc7 Elastic: Improvements to mail header 2020-07-03 10:32:54 +02:00
Aleksander Machniak
aff18d4d8a Merge branch 'elastic-headers' of https://github.com/johndoh/roundcubemail into johndoh-elastic-headers 2020-07-03 08:42:24 +02:00
johndoh
c0fc96cdd7 Add basic error message on fatal PHP error (#7380)
Show a basic error message rather than a blank screen on fatal PHP error
2020-07-02 19:06:07 +02:00
Varun Patil
b4c6e1e0ae Re-init plugins when changing to task (#7459)
When roundcube initializes on a different task, plugins for just the
new task do not get initialized, and hence do not get executed when
the exec_hook call is made

One example is if check_auth fails, the login page will render,
but the plugins with 'login' task will not be fired
2020-07-02 19:04:34 +02:00
johndoh
d2bf3878b5 Remove ES6 usage (#7467) 2020-07-02 18:54:23 +02:00
Aleksander Machniak
bb3975adbe Fix insert_or_update() broken on SQLite/MSSQL/Oracle (#7465) 2020-07-02 08:41:50 +02:00
johndoh
3c4b2ac1bc Improve JS Edge version detection, add support for Edge Chromium (#6952) 2020-07-01 11:42:08 +02:00
johndoh
279ae66120 Move all message list entry generation to client side (#7287)
Always return cols required for widescreen message list and control layout only on JS side
2020-06-28 10:58:13 +02:00
Aleksander Machniak
b22f1c9a1b Add skip-empty option to get_edit_field() (#7444) 2020-06-27 10:29:40 +02:00
Aleksander Machniak
ec2e713ecb Fix problem with forwarding inline images attached to messages with no HTML part (#7414) 2020-06-27 10:23:45 +02:00
Aleksander Machniak
98881a0cbd Small code simplification 2020-06-16 19:06:26 +02:00
Thomas Bruederli
609e41a05f Finalize oauth integration:
- remove debug logs
- add button icons for oauth login with Google and Microsoft
2020-06-16 08:17:52 +02:00
Thomas Bruederli
5655dbb8c1 Return error_description message on auth errors
+ rebased with git master
2020-06-16 08:17:52 +02:00
Thomas Bruederli
dd9b5c0ee6 Fix redirects 2020-06-16 08:17:52 +02:00
Thomas Bruederli
06af3b5ef5 Add example configs for Gmail and Outlook
+ Added option `oauth_login_redirect`
+ Custom styles for Google login button
2020-06-16 08:17:52 +02:00
Thomas Bruederli
5da7708f34 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
2020-06-16 08:17:52 +02:00
Thomas Bruederli
1e6a2f4f49 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.
2020-06-16 08:17:52 +02:00
PhilW
af28ee870a elastic: message headers view changes 2020-06-14 18:24:13 +01:00
Aleksander Machniak
9ee1f4b636 Merge branch 'master' of github.com:roundcube/roundcubemail 2020-06-13 13:00:11 +02:00
Aleksander Machniak
30610e867e Merge branch 'fix_encode' of https://github.com/shirosaki/roundcubemail into shirosaki-fix_encode
Refactor the new code
2020-06-13 12:53:31 +02:00
johndoh
9dbe666d4c Allow skins to define which layout options they support (#7235) 2020-06-13 09:25:50 +02:00
Kent Varmedal
b4dabff26c Add newline when writing logs to stdout (#7418)
Add newline on the end of the line when printing to stdout.
2020-06-13 07:48:13 +02:00
Aleksander Machniak
278cf3c18e Increase maximum size of contact jobtitle and department fields to 128 characters
[skip ci]
2020-06-12 09:14:41 +02:00
Aleksander Machniak
e9c592a6e8 Fix bug where subfolders of special folders could have been duplicated on folder list 2020-06-08 20:35:19 +02:00
Aleksander Machniak
4e00237cc4 Allow opening application/octet-stream attachments according to filename extension (#6821) 2020-06-07 10:45:33 +02:00
Aleksander Machniak
25772702ac Fix so anchor tags without href attribute are not modified (#7413) 2020-06-06 07:12:27 +02:00
Christopher Gurnee
9d39c0a05f Don't warn to re-add attachments when restoring a Mailvelope draft 2020-06-02 16:55:04 -04:00
Christopher Gurnee
a121960b45 Always ask before discarding composed Mailvelopes 2020-06-02 16:55:04 -04:00
Christopher Gurnee
2f71928226 Add config option for size of new Mailvelope keys 2020-06-02 16:55:04 -04:00
Christopher Gurnee
cc3779f7ed Add config option to use Mailvelope Main Keyring 2020-06-02 16:55:04 -04:00
Christopher Gurnee
7f64384bfb Avoid initializing Mailvelope if we don't need to 2020-06-02 16:55:03 -04:00
Christopher Gurnee
cec240d2b9 Fix size of Mailvelope iframe for PGP-inlined mail 2020-06-02 16:55:03 -04:00
Aleksander Machniak
46d3cae2ff Security: Fix cross-site scripting (XSS) via malicious XML attachment 2020-05-30 08:35:33 +02:00
Aleksander Machniak
bda02002de Security: Better fix for CVE-2020-12641 2020-05-30 08:34:11 +02:00
Aleksander Machniak
ecabb1e667 Security: Fix XSS issue in template object 'username' (#7406) 2020-05-30 08:28:05 +02:00
Aleksander Machniak
e05c69afab Fix bug where PDF attachments marked as inline could have not been attached on mail forward (#7382) 2020-05-23 10:30:44 +02:00
Aleksander Machniak
da2bb8af6d Fix error when user-configured skin does not exist anymore (#7271)
We fallback to the system skin not the default one.
2020-05-23 09:44:00 +02:00
Aleksander Machniak
f6586c7cf7 Fix PHP warning: count(): Parameter must be an array or an object... in ID command handler (#7392) 2020-05-19 07:57:35 +02:00
johndoh
34a0af8964 Allow array in smtp_host config (#7296) 2020-05-16 14:05:28 +02:00
Aleksander Machniak
a47c558df4 Fix typo 2020-05-12 15:54:11 +02:00
Christopher Gurnee
24d0cf5d34 Let Mailvelope use sender's address to find pubkeys to check signatures 2020-05-10 10:26:09 +02:00
Christopher Gurnee
c3d4598985 Add missing \'s to regexes in rcube_check_email() 2020-05-10 10:25:40 +02:00
johndoh
3af6303ad7 Remove depreciated jquery.trim function (#7371) 2020-05-04 08:27:10 +02:00
Aleksander Machniak
35c29be9b2 Remove use of ext-iconv 2020-05-03 18:33:20 +02:00
Aleksander Machniak
87f42677c2 Don't resize alert and confirm dialogs 2020-05-03 11:50:25 +02:00
Aleksander Machniak
7ead0bb227 Fix empty attachment size handling (#7370) 2020-05-03 11:32:29 +02:00
Aleksander Machniak
014659b600 CS fixes, mostly around undefined variables 2020-05-03 11:29:15 +02:00
Aleksander Machniak
377239fa8e Display a warning and do not try to open empty attachments (#7332) 2020-05-02 13:01:48 +02:00
Sander Nilsen
0efa899d6c Grammar correction (#7346) 2020-05-02 10:55:31 +02:00
Aleksander Machniak
c39081b6a1 Fix bug in extracting required plugins from composer.json that led to spurious error in log (#7364) 2020-05-01 18:55:14 +02:00