Commit Graph

417 Commits

Author SHA1 Message Date
Aleksander Machniak
ec9c352ecb Fix regression in handling save-pref action 2021-01-18 19:34:19 +01:00
Aleksander Machniak
118453c6ae Initialise output also in cli mode 2021-01-10 18:07:24 +01:00
Aleksander Machniak
66062846ec Fix "unitialized string offset" warnings 2020-12-19 19:43:36 +01:00
Aleksander Machniak
8b83d29f24 PHP8 fixes, do not require specific error_reporting setting anymore 2020-12-19 10:01:10 +01:00
Aleksander Machniak
21e1ed5c32 Remove redundant func_get_arg() call 2020-11-27 09:20:35 +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
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
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
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
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
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
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
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
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
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
Aleksander Machniak
0b9ff6426e Rewrite Selenium tests with use of laravel/dusk 2019-12-29 12:00:15 +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
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
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
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
Aleksander Machniak
5218b0193a Clarified 'address_book_type' option behavior (#6680) 2019-04-16 12:44:29 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
cc20de329d Elastic: Use Bootstrap's custom file input
... with localization and some js logic to display selected file(s) in the input.
2019-02-21 19:47:17 +01:00
Aleksander Machniak
0492b1f6e5 HTML5 Upload Progress (#6177) (#6583)
Replaced all old upload progress code in favour of ajax upload progress.
Instead of posting a hidden iframe, we now use AJAX (as we did for drag-n-drop).
Removed code for old browsers. Now we support IE >= 10, Firefox > 4.
Upload progress may not work in some more, but support is quite good.
2019-02-03 09:49:02 +01:00
Aleksander Machniak
96c769143a Get rid of (localized) units for memory stats 2018-12-28 10:28:17 +01:00
Aleksander Machniak
8a04d3f993 Fix so performance stats are logged to the main console log also when per_user_logging=true 2018-12-28 09:54:38 +01:00
Aleksander Machniak
708ceb2ba0 Elastic: Add style for HTML editor content (use embed.css for this) 2018-12-07 11:57:10 +01:00
Aleksander Machniak
cec626a12f Use 'thumb' prefix, instead of '.thumb' suffix, for consistency 2018-11-07 16:54:57 +01:00
Aleksander Machniak
afc68aae63 FIx temp_filename() regressions, update changelog, add note in UPGRADING 2018-11-07 16:51:25 +01:00
PhilW
e024f133fa give all temp files a constant prefix 2018-11-06 07:11:04 +00:00
Aleksander Machniak
bec67c29b4 Display storage errors on refresh/check-recent action (#6474) 2018-10-17 13:43:08 +02:00
Aleksander Machniak
796e5a17e6 Removed referer_check option (#6440) 2018-09-12 08:27:09 +02:00
Aleksander Machniak
75fd0a73cb Register 'uploading' label globally 2018-08-22 12:33:23 +02:00
Aleksander Machniak
00acb46411 Update to TinyMCE 4.7.13, refactor image selector dialog, add style for Elastic skin 2018-06-13 14:00:39 +02:00
Aleksander Machniak
9e289982ac Add "Disk usage: " prefix to the quota element title 2018-05-25 12:47:59 +02:00
Aleksander Machniak
3e0e12227e Use default skin on login page, also after logout
Before we stored user skin in session to keep user skin on logon after logout.
After more thinking... imho it's better to always present the same logon look.
2018-04-20 08:52:19 +02:00