Aleksander Machniak
89d429dbee
Fix two new phpstan issues
2024-08-02 09:12:48 +02:00
Aleksander Machniak
c706575a0b
CS fix
2024-07-31 18:11:51 +02:00
Aleksander Machniak
fdeb13727a
Fix bug where a long subject title could not be displayed in some cases ( #9416 )
2024-07-27 09:15:57 +02:00
John R. D'Orazio
cd92b26aa8
Trigger warning when config files are not readable ( #9550 )
...
* trigger error when config files are not readable
fixes issue #9549
2024-07-27 06:49:31 +02:00
Pablo Zmdl
657f3970d8
Make pgpmime-support known after Mailvelope init ( #9551 )
...
The support for pgpmime was only checked initially after the login. If a
user e.g. authorizes a domain in Mailvelope only after a login,
Mailvelope now instantly works, instead of (silently and undocumentedly)
requireing a logout+login-cycle.
2024-07-25 08:05:13 +02:00
Aleksander Machniak
fbdfb036ad
Fix bug where an unhandled exception was caused by an invalid image attachment ( #9475 )
...
GD functions may throw ValueError in some cases since PHP 8.0.
We wrap them in try/catch blocks.
2024-07-21 14:23:28 +02:00
Aleksander Machniak
7b68ad13c2
Fix bug where "with attachment" filter could fail on some fts engines ( #9514 )
2024-07-21 13:54:56 +02:00
Pablo Zmdl
8f9f1f12cd
Filter "real" attachments by being referenced ( #9472 )
...
* Filter "real" attachments by being referenced
This changes the way in which attachments are determined to be shown as
such ("standalone"), or not ("inline").
In theory this should be determined by their Content-Disposition, but in
reality this often doesn't work.
Now we check if the Content-ID or Content-Location of the attachment is
actually being used in other parts of the message. If not, the
attachment is considered to be "standalone".
* Consider all mime-parts to check if message is empty
Previously only `parts` and `body` were checked, so mime-parts that were
classified into `attachments` and `inline_parts` didn't count – thus
messages that contained only those parts were shown blank.
2024-07-21 13:12:57 +02:00
Aleksander Machniak
8653e4726a
Make phpstan happy
2024-07-17 20:51:21 +02:00
Aleksander Machniak
a8218b1eeb
Fix bug where some messages could get malformed in an import from a MBOX file ( #9510 )
2024-07-17 20:34:55 +02:00
Edža
54de62c198
Update lv_LV labels ( #9511 )
...
Updated to match current version
2024-07-15 18:22:20 +02:00
Pablo Zmdl
3c7a28f657
Shortcut to authorize current domain for Mailvelope ( #9500 )
...
This facilitates using Mailvelope (properly, i.e. with API-access) a
lot, because people don't have to manually add their domain into
Mailvelope's options but just click a button.
2024-07-08 18:39:38 +02:00
Aleksander Machniak
23fe16d520
Fix return value of handlePartBody() when using file handle
2024-07-08 18:34:00 +02:00
Aleksander Machniak
92624b62dd
Fix new phpstan errors
2024-07-02 19:47:15 +02:00
Aleksander Machniak
247b5c37d1
Update localizations
2024-07-02 19:07:54 +02:00
Jan
7a3e91a9d2
Added PluginAPI hooks for message_move and message_delete ( #9501 )
...
---------
Co-authored-by: Jan-Nicklas Adler <adler@promatur.com >
2024-06-19 18:15:07 +02:00
Pablo Zmdl
599dcaaa0d
Re-introduce Ctype extension as dependency ( #9509 )
...
It is required by Bacon, the QR-encoding tool.
This partially reverts commit deba22aaa9 .
2024-06-19 18:04:16 +02:00
Aleksander Machniak
613629f83a
Fix decoding mail parts with multiple base64-encoded text blocks ( #9290 )
2024-06-16 12:47:56 +02:00
KrzysztofWWW
bcaab87e1a
Missing polish translation for "keep formatting" ( #9493 )
...
---------
Co-authored-by: Krzysztof Wiśniewski <krzysztof.wisniewski@solveit.pl >
2024-06-16 08:30:04 +02:00
Aleksander Machniak
d8817d39b9
phpdoc fix
2024-06-06 08:01:08 +02:00
Michael Voříšek
6a5f9ee7ce
Add override method attributes ( #9272 )
2024-06-02 15:57:56 +02:00
Aleksander Machniak
6d8dd2c9a2
Fix fatal error when parsing some TNEF attachments ( #9462 )
2024-06-02 15:13:42 +02:00
Pablo Zmdl
54b5e14933
Show quota only if sensible ( #9366 )
...
If a quota is not supported, or its value is unknown or unlimited, don't show the info element.
2024-06-01 11:25:47 +02:00
Philip Weir
31a19aa0a7
Contacts: add more gender options ( #9430 )
...
* contacts: add more gender options
* add label for other gender
2024-06-01 09:27:30 +02:00
Philip Weir
24ae59b05f
Add skin_extends JS env var containing name(s) of base skins extended by current skin ( #9440 )
2024-06-01 09:02:49 +02:00
Aleksander Machniak
ba252dc5e2
Fix cross-site scripting (XSS) vulnerability in handling SVG animate attributes
...
Reported by Valentin T. and Lutz Wolf of CrowdStrike.
2024-05-19 10:20:09 +02:00
Aleksander Machniak
9ca8aa6680
Fix cross-site scripting (XSS) vulnerability in handling list columns from user preferences
...
Reported by Huy Nguyễn Phạm Nhật.
2024-05-19 10:15:30 +02:00
Aleksander Machniak
7da322371f
Fix command injection via crafted im_convert_path/im_identify_path on Windows
...
Reported by Huy Nguyễn Phạm Nhật.
2024-05-19 10:10:32 +02:00
Aleksander Machniak
cfd108399e
Simplify use of rcube::raise_error()
2024-05-17 15:43:17 +02:00
Philip Weir
0c0f9fe8cf
Add skin info to about dialog ( #9441 )
2024-05-16 16:53:27 +02:00
Aleksander Machniak
6c54254a2f
Fix folders hierarchy when special folders are subfolders of INBOX, with no personal namespace prefix ( #9452 )
2024-05-16 16:22:57 +02:00
Aleksander Machniak
6342206239
Fix PHP8 warning ( #9429 )
2024-04-29 11:10:32 +02:00
Edouard Vanbelle
f71ae0298a
oauth: select auth scheme (XOAUTH2 vs OAUTHBEARER) ( #9289 )
2024-04-21 11:52:05 +02:00
Michael Voříšek
a30e0ad438
Infer file/line location in rcube::raise_error() from backtrace ( #9422 )
...
* \n\s+'file' => __FILE__,
* \n\s+'line' => __LINE__,
* 'line' => __LINE__, 'file' => __FILE__,
* 'file' => __FILE__, 'line' => __LINE__,
* rest
* more
* improve cs
* more cs
* revert rcube_utils::preg_error changes
* impl file/line from backtrace
* Revert "revert rcube_utils::preg_error changes"
2024-04-21 11:48:35 +02:00
Aleksander Machniak
ff59ade31a
Get rid of phpstan/phpstan-strict-rules
2024-04-21 11:33:51 +02:00
Aleksander Machniak
15659d7815
PHPCS: phpdoc_annotation_without_dot=true (default)
2024-04-14 10:32:35 +02:00
Aleksander Machniak
c7af820d3e
Use draft settings (like DSN) on "Edit as new" ( #9349 )
2024-04-14 10:11:12 +02:00
Aleksander Machniak
7fa50e49e1
Fix PHP8 warnings ( #9388 )
2024-04-13 08:42:01 +02:00
Michael Voříšek
1e360999b2
Use composer autoloader for bundled plugins testing ( #9412 )
...
* use fixed "roundcube/plugin-installer"
* Use composer autoloader for plugins testing
* cherrypick remaining from 9241 related with testing
* minor legacy autoload improvements
2024-04-11 18:28:46 +02:00
Aleksander Machniak
e086c2c97c
Code improvements
2024-04-07 09:20:52 +02:00
Aleksander Machniak
a13f61cc7f
Free enchant dictionary resources
...
Fixes errors in tests
2024-04-05 18:22:12 +02:00
Michael Voříšek
bdd5de55b5
Rename composer.json.dist to composer.json ( #9279 )
...
* Rename composer.json.dist to composer.json
* fix update
2024-04-03 18:06:01 +02:00
Aleksander Machniak
4959abe07b
Fix regression, cleanup
2024-04-01 13:41:31 +02:00
Aleksander Machniak
47172b4bfc
Fix regression
2024-04-01 12:28:57 +02:00
Aleksander Machniak
5c603344fe
Code improvements
2024-04-01 11:50:56 +02:00
Aleksander Machniak
20d9edce04
Code improvements
2024-03-31 19:22:56 +02:00
Aleksander Machniak
ec4e4a0028
Fix tests
2024-03-30 15:14:38 +01:00
Aleksander Machniak
8adb052d35
Code improvements, PHPDoc fixes
2024-03-30 14:17:34 +01:00
Aleksander Machniak
58d28297a3
Code improvements, PHPDoc fixes
2024-03-29 16:18:20 +01:00
Aleksander Machniak
337e906650
Plugin API: Fix action handlers after registering also a task
2024-03-29 11:25:41 +01:00