Commit Graph

13320 Commits

Author SHA1 Message Date
Pablo Zmdl
ff75af7099 html class: Allow to pass array as content
This allows for a little cleaner code
2025-02-17 14:53:03 +01:00
Aleksander Machniak
781f006ed2 Fix PHP warning 2025-02-16 14:16:35 +01:00
Aleksander Machniak
c8919660eb Fix PHP warnings - don't pass an array where a string is expected 2025-02-16 13:38:52 +01:00
Aleksander Machniak
1c8f6048a3 Fix match-type selector (remove unsupported options) in delete header action (#9610) 2025-02-16 13:23:22 +01:00
Aleksander Machniak
44f0ac5b00 Fix folder list sorting when using personal namespace prefix of INBOX/ (#9452) 2025-02-16 12:40:37 +01:00
Aleksander Machniak
d4526968a8 Set minimum required PHP version to 8.1 (#9599) 2025-02-16 10:09:23 +01:00
Philip Weir
5e57ef83bd Add asset url to additional logo paths (#9768) 2025-02-11 18:10:48 +01:00
Aleksander Machniak
0675156ab2 Add dummy index.php 2025-02-09 14:27:22 +01:00
Aleksander Machniak
d02f2e0b55 Remove version number from index.php 2025-02-09 14:21:05 +01:00
Aleksander Machniak
beab822509 Update changelog
[skip ci]
2025-02-09 14:15:56 +01:00
Aleksander Machniak
64df318a73 Add static files server (#9294)
Make use of public_html mandatory
2025-02-09 14:10:50 +01:00
Pablo Zmdl
752b152a23 Check if attachment is actually(!) referred to (#9585)
* Check if "inline" msg part is actually referred to

If there's no reference to it in a sibling HTML part then we handle it
as a classic attachment (which is shown as downloadable).

* Fetch all msg headers also for images to always get Content-Location

Previously all headers were only fetched for message/rfc822, or
if the Content-Type's "name" parameter was set, or if a Content-ID was
set.
The RFC doesn't require neither the "name" parameter nor a Content-ID
for using Content-Location, though, so we shouldn't depend on those.

Instead now all headers are also fetched if the main part of the
Content-Type is "image", to catch more cases.

* Parse HTML for references only on demand

* Typos and comment formatting

* Don't skip test anymore

We want it tested!

* More MR tests with images

* Remove early special handling for "inline" images

We decide later, which attachment is considered "inline" and which
isn't.

* Remove early resolving of references in TNEF parts

* Testing message rendering of TNEF emails

* Don't use image disposition, it's unreliable

* Split adding raw parts and attachments

* Fix renaming variable

* Rename file to make its test be run

* Remove outdated script

* Annotate test cases with GitHub issue numbers

* Fix test case class name

* remove comment

* Test inline image message rendering

* Rename test file to reflect cases better

* Reduce image used in test email

It doesn't change much, but there's also no sense in decoding big images
that we don't use.

* Remove unused variable initialisation
2025-02-09 09:56:43 +01:00
Aleksander Machniak
49d86395f0 Update changelog
[skip ci]
2025-02-09 09:34:20 +01:00
Aleksander Machniak
41eaff2839 Fix decoding of attachment names encoded using both RFC2231 and RFC2047 standards (#9725) 2025-02-02 13:58:39 +01:00
Aleksander Machniak
fa1f3bd852 Add notes about not all password strength drivers supporting score up to 5 (#9751) 2025-01-26 15:04:17 +01:00
Lieselotte
454a6e13a1 "Add field" widget: set width to fit-content (#9742) 2025-01-26 14:57:06 +01:00
Melroy van den Berg
62179e04d3 Run PHP-CS-Fixer in parallel (#9739)
* Run PHP-CS-Fixer in parallel

* Use use, just like the rest of the code
2025-01-26 13:53:47 +01:00
Sandor Takacs
8386db483d Add --quiet parameter to hide updatecss.sh output (#9743) 2025-01-26 13:52:41 +01:00
Edža
8cbce9491b Update lv_LV messages.inc fix mistake (#9744) 2025-01-26 13:51:45 +01:00
Aleksander Machniak
defae6644e Update changelog
[skip ci]
2025-01-26 13:36:37 +01:00
Philip Weir
ccede1f272 Update links in comments and config to https where available (#9759) 2025-01-26 13:34:57 +01:00
Aleksander Machniak
2f051c0154 Add rcube_imap_generic::getUser() method
It's sometimes useful when all we have is the connection object
2025-01-17 13:22:47 +01:00
Aleksander Machniak
dbbde7584e Add missing @param 2025-01-16 10:58:20 +01:00
Pablo Zmdl
d877302e50 Fix displaying message/rfc822 parts (#9753)
* Fix displaying message/rfc822 parts

The previous code contained a simple error that assigned the body part
to the $headers variable (which then couldn't be parsed and got
discarded).

* Test rendering of attached message/rfc822 parts
2025-01-15 18:27:05 +01:00
Aleksander Machniak
a677d26a27 Properly attach fetched headers into message parts 2025-01-14 12:17:37 +01:00
Aleksander Machniak
6e216b588a Reset $cmd_num when connection is closed
We want command ID counter to start over when a new connection is being made
2025-01-08 11:33:56 +01:00
Christoph Wurst
3e0fb29c14 Merge pull request #9730 from roundcube/code-of-conduct-and-social-work-guidelines
A Code of Conduct and social work guidelines
2025-01-08 09:10:09 +01:00
Pablo Zmdl
5844fb612d Merge pull request #9027 from johndoh/list-loading 2025-01-03 16:49:49 +01:00
Pablo Zmdl
c8e4a029aa Merge branch 'master' into list-loading 2025-01-03 16:39:01 +01:00
Pablo Zmdl
8be22c8334 Changelog entry for clearing "list is empty" message 2025-01-03 14:55:33 +00:00
PhilW
e4d952f814 wait for list to load in Browser\Contacts\ExportTest::testExportSelected test 2025-01-03 14:55:33 +00:00
PhilW
f99fd1bda5 only show 'this list is empty' message after listing/searching action complete 2025-01-03 14:55:20 +00:00
Aleksander Machniak
53b1e7bf99 Fix decodeContent() call with the by-reference argument 2025-01-01 13:37:24 +01:00
Aleksander Machniak
4bde475ea1 Fix handling of binary mail parts (e.g. PDF) encoded with quoted-printable (#9728) 2025-01-01 13:27:30 +01:00
Pablo Zmdl
46d25161dc Test message rendering (#9460) 2024-12-19 19:01:25 +01:00
Aleksander Machniak
4896fb091d Fix link style inside .tagedit-list element 2024-12-18 14:29:48 +01:00
Pablo Zmdl
62a7295c9d Merge pull request #9726 from roundcube/remove-auto-reminder-bot 2024-12-13 11:32:28 +01:00
Aleksander Machniak
a49d9ef803 Reset internal cache in appropriate places to be on a safe side 2024-12-12 13:48:35 +01:00
Aleksander Machniak
ca51b317b9 Add annotate_message() to the storage interface 2024-12-11 15:08:44 +01:00
Aleksander Machniak
120c640c3a IMAP: Partial support for ANNOTATE-EXPERIMENT-1 extension (RFC 5257) 2024-12-11 14:56:49 +01:00
Pablo Zmdl
983370ec89 Remove auto-reminder bot
It's more annoying that helpful currently.
2024-12-11 09:52:15 +01:00
Pablo Zmdl
1e17b37256 Social work guidelines for Roundcube 2024-12-06 13:10:38 +01:00
Pablo Zmdl
6e772b9565 A Code of Conduct
This Code of Conduct is closely adapted from Nextcloud's Code of
Conduct, only changed to address the Roundcube community explicitly.
2024-12-06 13:10:38 +01:00
Aleksander Machniak
94a6144a87 CS fix 2024-12-03 12:56:21 +01:00
Aleksander Machniak
c516f6e26f Fix Oauth issues with use_secure_urls=true (#9722) 2024-12-03 12:44:12 +01:00
Pablo Zmdl
22721d155d Merge pull request #9655 from bennet0496/master 2024-12-02 08:11:38 +01:00
Pablo Zmdl
0c575649c2 Merge pull request #9605 from johndoh/vcard_import 2024-12-02 08:08:11 +01:00
Pablo Zmdl
3577d52cbb Merge pull request #6138 from noobish/php-log 2024-12-02 08:06:01 +01:00
Pablo Zmdl
3a6e25a5b3 Merge pull request #9714 from roundcube/reminder-bots-only-our-repo 2024-11-26 10:30:48 +01:00
Pablo Zmdl
d8c7c6b6d0 Bot: use permissions, not a token 2024-11-25 13:51:41 +01:00