Commit Graph

2442 Commits

Author SHA1 Message Date
Aleksander Machniak
12547ccf01 Require php-intl extension, get rid of Net_IDNA2, PHP8 fixes, short array syntax
Net_IDNA2 is not compatible, and Intl is a bundled ext since PHP 5.3.
Fixed some regressions.
2020-12-13 10:21:52 +01:00
Aleksander Machniak
8eb382b4ca PHP8 fixes 2020-12-11 20:29:41 +01:00
Aleksander Machniak
7c53300990 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-08 21:56:41 +01:00
Aleksander Machniak
f4ed1024dc PHP8 fixes, CS fixes, short array syntax, tests 2020-12-02 20:15:00 +01:00
Aleksander Machniak
21e1ed5c32 Remove redundant func_get_arg() call 2020-11-27 09:20:35 +01:00
dsoares
e8b3319302 More PHP8 fixes, fix small bug. (#7743) 2020-11-25 18:40:25 +01:00
Aleksander Machniak
0fef1855d9 Fix test regression 2020-11-22 12:29:11 +01:00
Aleksander Machniak
0cbe4a4acc PHP8 fixes, CS fixes, short array syntax, added more tests 2020-11-22 12:03:02 +01:00
Aleksander Machniak
1164d9e103 rcmail_utils::get_http_client() -> rcube::get_instance()->get_http_client() 2020-11-21 09:28:25 +01:00
ATA
8f81fda450 Support proxy for server-side HTTP requests #7658 (#7659)
Co-authored-by: Andrzej Talarek <andrzej.talarek@efinity.com>
2020-11-21 09:07:49 +01:00
Aleksander Machniak
1007b873f0 More action tests, PHP8 fixes 2020-11-15 12:03:37 +01:00
Aleksander Machniak
8b16a7dfe7 More tests 2020-11-08 11:06:42 +01:00
Aleksander Machniak
596004beb3 More actions tests, code improvements 2020-11-07 12:54:12 +01:00
Aleksander Machniak
97991b59be Add more tests for contact actions, fix various code issues 2020-11-05 11:59:02 +01:00
Aleksander Machniak
e99fb3968d Add tests for contacts export action, fix PHP8 issues 2020-11-02 18:49:39 +01:00
Aleksander Machniak
e2572b8984 PHP8 compat. fixes, added some tests 2020-11-02 08:55:42 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
3fd6588bef Fix regression 2020-10-11 16:20:44 +02:00
Aleksander Machniak
f95212d626 PHP8: More warnings fixed 2020-10-11 15:24:30 +02:00
Aleksander Machniak
5fb7345331 Fix regression 2020-10-11 11:04:03 +02:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
b21d1fe8f2 Change "Allow remote resources" to include "from my contacts" and "from trusted senders" (#7614) 2020-10-04 10:31:47 +02:00
Aleksander Machniak
2a9902c7cd Elastic: Add "Open in new window" in mail compose (#7260) 2020-10-03 17:05:06 +02:00
Felix Gohla
cbf05211ab Expand fixes in compatibility to GuzzleHttp 6.5.x (#7634) (#7638) 2020-10-01 07:55:44 +02:00
Thomas Bruederli
3907fc1615 Fix compatibility to GuzzleHttp 6.5.x (#7634) 2020-09-28 14:32:43 +02:00
johndoh
6a25f2611d Make auto generated button ids unique between main screen and iframe (#7619) 2020-09-24 18:36:12 +02:00
Aleksander Machniak
9713ce364c Automatically collected recipients and trusted senders (#6904)
Added configurable Collected Recipients addressbook source (#4971)
Added configurable Trusted Senders addressbook source (#5046)
Added 'contact_exists' hook
2020-09-20 10:00:08 +02:00
Thomas B
9020797d0d Merge pull request #7425 from thomascube/pr-xoauth2
Add OAuth/XOauth support
2020-08-10 21:40:01 +02:00
johndoh
4c8ea71e3a Fix so setting 'login' in config['skin_logo'] does not change the favicon (#7456, #7470)
* Fix skin_logo config, again
* Elastic: add support for dark mode logos
* Add new additional_logo_types config for skins
2020-08-07 10:34:40 +02:00
Aleksander Machniak
58978b721d Fix format=flowed formatting on plain text part derived from the HTML content (#7504) 2020-07-25 09:20:02 +02:00
Aleksander Machniak
e2c25a1949 Fix support for an error as a string in message_before_send hook (#7475) 2020-07-18 08:24:44 +02:00
Aleksander Machniak
cd3cad6aae TinyMCE 5 (#7403) 2020-07-11 18:46:17 +02:00
Aleksander Machniak
36bf280a97 Elastic: Minimize forms/colors blink on page load 2020-07-11 10:52:24 +02:00
Aleksander Machniak
1e1ea25b6c Added special value 'email' to login_username_filter, it changes also logon input type (#7179) 2020-07-03 12:56:17 +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
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
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
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
Aleksander Machniak
ecabb1e667 Security: Fix XSS issue in template object 'username' (#7406) 2020-05-30 08:28:05 +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
johndoh
34a0af8964 Allow array in smtp_host config (#7296) 2020-05-16 14:05:28 +02:00
Aleksander Machniak
014659b600 CS fixes, mostly around undefined variables 2020-05-03 11:29:15 +02:00
Sander Nilsen
0efa899d6c Grammar correction (#7346) 2020-05-02 10:55:31 +02:00
johndoh
11aa9633b1 Improvements to options menu link template object (#7237) 2020-03-15 09:56:30 +01:00
Aleksander Machniak
a748214595 Fix so button label in Select image/media dialogs is "Close" not "Cancel" (#7246) 2020-03-08 11:48:21 +01:00
Aleksander Machniak
db5ab6d3f6 Fix identity selection on reply when both sender and recipient addresses are included in identities (#7211) 2020-02-09 13:26:29 +01:00