Commit Graph

7743 Commits

Author SHA1 Message Date
Aleksander Machniak
8a4eecbcb0 Don't write stats info to console.log when in CLI
If the file was created by the web server user, user executing the CLI command
might have no permissions. This leads to an error, and e.g. when installing
a plugin/skin via composer is converted to an ugly exception. We want to prevent that.
Anyway, these stats are most useful for the webmail use not for CLI commands.
2021-10-24 15:53:47 +02:00
Aleksander Machniak
a9e096e87f Fix database initialization if db_prefix is a schema prefix (#8221) 2021-10-24 12:07:54 +02:00
Aleksander Machniak
6e5bbf2e55 Fix PHP8 warning 2021-10-23 09:29:19 +02:00
Aleksander Machniak
c2fc0b64c4 Fix bug where new messages were not added to the list on refresh if skip_deleted=true (#8234) 2021-10-23 09:25:20 +02:00
Aleksander Machniak
d1f16ebb97 Fix so dark mode state is retained after closing the browser (#8237) 2021-10-22 18:30:58 +02:00
Aleksander Machniak
2536e847d5 Fix one more warning 2021-10-21 19:54:41 +02:00
Aleksander Machniak
38f519659c Fix some PHP8 warnings (#8239) 2021-10-21 19:52:04 +02:00
Aleksander Machniak
a94c2a3c05 Fix so session's search scope is not used if search is not active (#8199) 2021-10-19 19:21:40 +02:00
Aleksander Machniak
263003d006 Fix importing contacts with no email address (#8227) 2021-10-19 15:25:49 +02:00
Aleksander Machniak
640e22d987 Fix PHP8 warnings 2021-10-17 11:18:14 +02:00
Aleksander Machniak
c445e19484 Fix security issues regarding server name and trusted_host_patterns setting 2021-10-17 10:59:54 +02:00
Aleksander Machniak
df7d8f1178 Improve auto-wrapping of plain text messages on preview and reply (#6974)
- fix auto-wrapping of some specific cases
- do not auto-wrap non-format=flowed content on preview
- do not auto-wrap content on reply
2021-10-15 10:44:02 +02:00
Aleksander Machniak
d6c2e9c3f5 Move wrap_and_quote() method to rcmail_action_mail_compose 2021-10-10 10:01:21 +02:00
Aleksander Machniak
9c6979f17a Fix PHP8 warnings 2021-10-09 17:23:02 +02:00
Aleksander Machniak
81cc8ac0e0 Purge also subfolders of Trash (and/or messages in them) on logout (#1037) 2021-10-09 16:55:28 +02:00
Aleksander Machniak
318d6d0859 Simplify code according to the minimum PHP version supported 2021-10-05 19:29:57 +02:00
Thomas Bruederli
2a055b7e14 Bring back spell.roundcube.net as integrated spelling service but disable by default (#8182)
This partially reverts commit 92757f5543.
2021-10-04 22:14:00 +02:00
Aleksander Machniak
6ed101f5e1 Add support for encryption with AEAD ciphers, e.g. aes-256-gcm (#7097) 2021-10-04 19:22:34 +02:00
Aleksander Machniak
48fbf110af SQLite: Use foreign keys, require SQLite >= 3.6.19 (#8159) 2021-10-03 12:10:14 +02:00
Aleksander Machniak
626332d42a Don't use is_resource() where not needed 2021-10-02 08:40:56 +02:00
Aleksander Machniak
e0e5626802 Bring back support for defining logo images via data-src-* attributes
Removed (unintentionally?) in 4c8ea71e3a
2021-09-30 13:46:48 +02:00
Chris Osgood
af2ccbdac9 SMTP: If requested use TLS also without authentication (#4590) (#8111)
This fixes the long-standing issue where STARTTLS would only be issued if user
authorization was done.
2021-09-29 19:56:47 +02:00
Aleksander Machniak
14522d7108 get_input_value() -> get_input_string() 2021-09-26 11:34:31 +02:00
Aleksander Machniak
0b0869e680 Add possibility to disable line-wrapping of sent mail body (#5101) 2021-09-26 10:08:31 +02:00
Aleksander Machniak
5db6dd0317 Fix handling of dark_mode_support:false setting in skins meta.json (#8186) 2021-09-25 09:59:23 +02:00
Aleksander Machniak
800832612c Fix PHP8 warning 2021-09-22 11:38:46 +02:00
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
8a5d9a1984 Add ability to mark multiple messages as not deleted at once (#5133)
The option is visible when flag_for_deletion=true and skip_deleted=false.
2021-09-18 10:40:06 +02:00
Aleksander Machniak
7a269a2b84 Replace get_input_value() with get_input_string() where appropriate 2021-09-13 19:31:49 +02:00
Aleksander Machniak
375e613366 Be less forgiving on the input format 2021-09-13 12:03:48 +02:00
Aleksander Machniak
b9d0dc1cf9 Rename session items 'search' and 'search_params' to 'contact_search' and 'contact_search_params'
... to fix potential conflict with the session items for mail search.
2021-09-11 09:11:42 +02:00
Aleksander Machniak
63056eb803 Fix PHP8 warnings (#8175) 2021-09-11 08:59:15 +02:00
Aleksander Machniak
bdb336f3ac Don't generate QR-code when it's not possible 2021-09-09 10:14:28 +02:00
Aleksander Machniak
bdb3165b14 Fix XSS issue in handling attachment filename extension in mimetype mismatch warning (#8193) 2021-08-31 19:18:52 +02:00
Aleksander Machniak
1de93a8f46 Add tests for spellchecker enchant driver 2021-08-30 19:41:55 +02:00
Aleksander Machniak
98a84a5527 Fix PHP8.1 warnings 2021-08-29 18:39:50 +02:00
Aleksander Machniak
4d233b5c65 Fix strpos(): empty needle warning (#8184) 2021-08-29 18:27:06 +02:00
Thomas Bruederli
0c24c96e97 Fix password/token length check on OAuth login (#8178) 2021-08-29 16:57:31 +02:00
Thomas Bruederli
92757f5543 Disable the default spellchecker option using spell.roundcube.net (#8182)
... since this service is no longer available.
2021-08-29 15:58:44 +02:00
Aleksander Machniak
d7338a4203 Add option to purge deleted mails older than 30, 60 or 90 days (#5493) 2021-08-29 11:06:04 +02:00
Aleksander Machniak
cb37d14c5c Support responses (snippets) in HTML format (#5315) 2021-08-28 19:17:19 +02:00
Aleksander Machniak
de74c656ce Fix PHP 8.1 warnings 2021-08-28 09:33:38 +02:00
Aleksander Machniak
2c0db244bc Generate QR-code in svg format if there's xmlwriter extension installed
I think xmlwriter is more likely to be installed than imagick.
The size of the png and svg output is almost identical.
2021-08-28 09:29:03 +02:00
johndoh
0c863206f1 Replace Endroid QrCode with BaconQrCode (#8173) 2021-08-28 09:09:19 +02:00
Aleksander Machniak
e2187b8f2d Fix various PHP 8.1 warnings 2021-08-27 16:52:54 +02:00
Aleksander Machniak
1596be8c74 Fix PHP8 warning 2021-08-26 08:34:48 +02:00
Aleksander Machniak
a0253db816 Fix bug where "from my contacts" and "from trusted senders" values were mixed up (#8177) 2021-08-26 08:05:03 +02:00
Aleksander Machniak
6ff862d7d8 Fix a couple of PHP8 warnings (#8175) 2021-08-25 18:57:50 +02:00
Aleksander Machniak
d518dd5e74 Fix explode() arguments order (#8176) 2021-08-25 18:47:51 +02:00
Aleksander Machniak
3f83a074a8 Fix handling of spellcheck connection errors (#8172) 2021-08-22 10:35:31 +02:00