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
Aleksander Machniak
e8e8c31eb3
Improve namespace roots presentation ( #5012 ) ( #6789 )
...
- Display a special icon for other users and shared namespace roots (Elastic)
- Change folders sorting so shared/other users namespaces are listed last
Fixes #5012 .
2020-01-05 15:46:38 +01:00
johndoh
d51352b9cb
Add support for nested if conditions ( #6829 )
...
* add support for nested if conditions
* add tests for condition parsing in templates
* make [space][slash] ending of condition objects optional (#6954 )
2020-01-05 12:02:55 +01:00
Aleksander Machniak
0b9ff6426e
Rewrite Selenium tests with use of laravel/dusk
2019-12-29 12:00:15 +01:00
Aleksander Machniak
226097fc3f
Markasjunk: Fix marking more than one message as spam/ham with email_learn driver ( #7121 )
2019-12-18 11:49:51 +01:00
Aleksander Machniak
0aa5eca1fd
Fix bug where 'skins_allowed' option didn't enforce user skin preference ( #7080 )
2019-12-08 11:36:45 +01:00
Aleksander Machniak
a5b15da155
Fix so displayed maximum attachment size depends also on 'max_message_size' ( #7105 )
2019-12-07 09:57:02 +01:00
Hiroshi Shirosaki
a335102e47
Fix email address name encoding with ISO-2022-JP
...
Convert to UTF-8 to split addresses correctly.
Base64 encode ISO-2022-JP name.
Add a unit test.
2019-12-03 17:35:12 +09:00
Christian Weiske
1c1a73e4d5
Set the content-type of JSON responses to application/json, not text/plain ( #6573 )
2019-11-26 10:26:50 +01:00
Aleksander Machniak
8a25ddbf53
Update changelog, CS improvements
2019-11-18 15:51:36 +01:00
Aleksander Machniak
ea3ad31ce0
Fix bug where the Installer would not warn about required schema upgrade ( #7042 )
2019-11-18 15:30:23 +01:00
Aleksander Machniak
47f72303ac
Small correction
2019-11-18 15:30:23 +01:00
Aleksander Machniak
4b607e2ed3
Fix so Elastic is also a default in jqueryui plugin ( #7039 )
2019-11-18 15:30:23 +01:00
Aleksander Machniak
f4722cb451
Fixed typo
2019-11-18 15:30:23 +01:00
Aleksander Machniak
d0dd042b73
Fix so update.sh script warns about changed defaults ( #7011 )
2019-11-18 15:30:23 +01:00
Aleksander Machniak
508e83470c
Master is 1.5-git now
2019-11-18 15:30:22 +01:00
PhilW
75125cbac1
add unit tests for rcmail_output_html::get_template_logo
2019-11-18 15:30:22 +01:00
PhilW
97001e9221
rewrite skin_logo config
2019-11-18 15:30:22 +01:00
Aleksander Machniak
66fab8cdb2
CS fixes, Avoid usused variables, fixed minor bugs
2019-10-05 19:44:39 +02:00
Aleksander Machniak
e7ebff56df
PHPDoc fixes
2019-09-30 20:43:07 +02:00
Aleksander Machniak
5040009f9c
Fix array offset access syntax with curly braces
2019-09-11 10:22:36 +02:00
Aleksander Machniak
b10a0dbb7e
Reset internal $skins property is set_skin()
2019-09-08 11:37:16 +02:00
Aleksander Machniak
4096739322
Fix including assets that exist only in minified version
2019-08-30 12:08:48 +02:00
Aleksander Machniak
1afa46d28d
PHPDoc and CS fixes
2019-08-25 14:15:09 +02:00
johndoh
91398c858a
Add KOI8-R to charset_selector ( #6861 )
2019-07-31 13:19:32 +02:00
Aleksander Machniak
a991e3181c
Put charset meta specification before a title tag, add page title automatically ( #6811 )
...
I.e. templates should not specify <title>
2019-06-29 15:48:51 +02:00
Jack Cherng
e449f30eff
Simplify jQuery DOM ready at the footer ( #6825 )
...
https://api.jquery.com/ready/#entry-longdesc
Signed-off-by: Jack Cherng <jfcherng@gmail.com >
2019-06-27 07:50:25 +02:00
Aleksander Machniak
6196278869
Fix bug where title text on a treelist record (folder) could include unread count number
...
Add skip-content class to unreadcount elements
2019-06-19 11:09:02 +00:00
Aleksander Machniak
1423536ce0
Plugin API: Add 'render_folder_selector' hook
2019-06-12 11:37:58 +00:00
Aleksander Machniak
f8ca8d1b63
Fix invalid path to "add contact" icon when using assets_path setting
...
This and a few other icons
2019-05-23 10:34:39 +02:00
Aleksander Machniak
910505a361
Fix regression where drafts were not deleted after sending the message ( #6756 )
2019-05-16 08:04:48 +02:00
Aleksander Machniak
cf51aead63
Larry: Fix regression where menu actions didn't work with keyboard ( #6740 )
...
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
2019-05-05 12:36:40 +02:00
Aleksander Machniak
70a0976be1
Remove redundant error message
2019-04-22 09:49:53 +02:00
Aleksander Machniak
d8470c6c2b
Remove useless "..." suffix
2019-04-19 11:40:41 +02:00
Aleksander Machniak
9c4e2eacab
Don't log full session identifiers in userlogins log ( #6625 )
...
Log only 16-char prefix.
2019-04-19 11:37:41 +02:00
Aleksander Machniak
f1a83f923d
Added cookie mismatch detection, display an error message informing the user to clear cookies
2019-04-19 10:12:23 +02:00