Commit Graph

1697 Commits

Author SHA1 Message Date
Aleksander Machniak
3139bff247 CS-Fixer: Enable modernize_strpos 2025-08-15 13:20:24 +02:00
Michael Voříšek
026eb8c801 Enforce leading backslash for non-namespaced non-Roundcube uses (#9935) 2025-08-15 10:27:00 +02:00
Aleksander Machniak
31c6090777 PHP 8.5: Remove deprecated imagedestroy() use 2025-08-09 07:07:05 +02:00
Aleksander Machniak
55000023ce Localization: Remove non-working links to Transifex 2025-07-20 13:40:08 +02:00
Aleksander Machniak
d3f86b1235 Update localization from Transifex 2025-07-20 13:28:43 +02:00
Aleksander Machniak
74d4da6503 Enigma: Fix PHP warning (#9897), PHPDoc improvements 2025-06-19 18:18:01 +02:00
Philip Weir
655c1521d0 Support opensmtpd format in virtuser_file (#9900) 2025-06-19 17:00:26 +02:00
Aleksander Machniak
6390ad1466 Fix bug where an mbox export file could include inconsistent message delimiters (#9879) 2025-06-15 10:50:08 +02:00
Philip Weir
0d43e74536 Enigma: add key icon to passphrase input on compose (#9894) 2025-06-15 07:54:53 +02:00
Aleksander Machniak
1d080c7494 Bump PHP version for CS fixer, enable some default rules 2025-05-04 12:59:37 +02:00
Aleksander Machniak
7a39bbb5b6 Fix a default value and documentation of password_ldap_encodage option (#9658) 2025-04-21 13:32:17 +02:00
Aleksander Machniak
b9bdbd903f Zipdownload: Change "Download..." menu label into "Export..." (#9713) 2025-04-21 11:32:18 +02:00
soufien88y
5c1b0a6c60 Update ar.inc (#9845) 2025-04-21 08:42:06 +02:00
soufien88y
078a7f5551 Update ar_SA.inc (#9846) 2025-04-21 08:41:36 +02:00
Aleksander Machniak
cfac0d6841 Remove apc cache driver 2025-04-06 15:52:06 +02:00
Dennis
edbfd1109b Add APCu cache driver (#9828) 2025-04-06 15:43:53 +02:00
Aleksander Machniak
f7d8852d17 Use str_starts_with() where applicable 2025-03-30 11:32:38 +02:00
Aleksander Machniak
f37a959197 Fix new phpstan errors 2025-03-24 18:14:40 +01:00
Aleksander Machniak
94fd5a0f80 CS fixes (for the new fixer version rules) 2025-02-23 11:51:27 +01:00
Aleksander Machniak
5fed86f57e Cleanup 2025-02-23 11:22:35 +01:00
Aleksander Machniak
a9b1ca34f3 Update min PHP version check, cleanup outdated checks/comments 2025-02-23 11:18:50 +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
fa1f3bd852 Add notes about not all password strength drivers supporting score up to 5 (#9751) 2025-01-26 15:04:17 +01:00
Philip Weir
ccede1f272 Update links in comments and config to https where available (#9759) 2025-01-26 13:34:57 +01:00
Bennet Becker
353de7c9a9 Managesieve: Parse all time and timezone formatters in sieve_formattime() that PHP understands 2024-11-21 14:35:44 +01:00
Pablo Zmdl
ef76e6f37b Merge pull request #9688 from bennet0496/sieve_fix_timeformat
ManageSieve: Fix timeformat processing for frontend the time picker
2024-11-20 08:54:03 +01:00
Michael Voříšek
efcdce84ba Keep phpstan strict rules testing (#9424)
* Revert "Get rid of phpstan/phpstan-strict-rules"

This reverts commit ff59ade31a.

* drop phpstan baseline

* fix foreach phpstan issue

* adjust for rebase

* fix method call case

* ignore one phpstan error even after isset
2024-11-20 08:13:16 +01:00
Bennet Becker
4124db97e2 Managesieve: fix appended 's' when seconds are in time format in sieve_formattime() 2024-11-04 10:06:59 +01:00
Bennet Becker
5734dd935b Managesieve: fix 12h format in sieve_formattime() 2024-11-04 10:05:59 +01:00
Ioannis Dressos
4c80b862a9 Add comment for changed line 2024-10-29 17:20:34 +02:00
Ioannis Dressos
b54f09f235 Update virtuser_file.php
Add operator spacing to fix coding style check
2024-10-29 17:18:18 +02:00
Ioannis Dressos
f136d490ef Update virtuser_file.php 2024-10-08 23:46:56 +03:00
Aleksander Machniak
f78df9dc08 Password: Remove reference to non-existing 'password_zxcvbn_min_score' option (#9648) 2024-10-05 08:25:42 +02:00
Aleksander Machniak
fc9b253e84 Fix new phpstan error 2024-09-29 11:48:58 +02:00
Aleksander Machniak
a4e50e3961 Managesieve: Fix current script state after initial scripts creation in managesieve_kolab_master mode 2024-09-25 11:41:03 +02:00
Aleksander Machniak
9bf6ee3452 Managesieve: Fix default script name in the config file
It is "roundcube" not "managesieve"
2024-09-25 10:03:40 +02:00
Aleksander Machniak
99629db49b ldap_modify() is an alias of ldap_mod_replace() 2024-09-07 09:12:44 +02:00
Aleksander Machniak
93cb57b021 Fix driver description again
[skip ci]
2024-09-07 09:11:39 +02:00
Aleksander Machniak
f26ed17307 Fix driver description 2024-09-07 09:04:44 +02:00
Aleksander Machniak
89d429dbee Fix two new phpstan issues 2024-08-02 09:12:48 +02:00
Aleksander Machniak
20f3988a79 Fix infinite loop when parsing malformed Sieve script (#9562) 2024-07-31 18:11:31 +02:00
Aleksander Machniak
df057fa093 Managesieve: Protect special scripts in managesieve_kolab_master mode 2024-07-28 10:58:33 +02:00
Pablo Zmdl
85094706f9 Docker compose for testing (#9525)
* More ignore-patterns in eslint config

So we don't have to specify them on the command line when we check
codestyle locally.

* Test setup for local and CI using containers

It uses standalone containers for the greenmail IMAP server and the
standalone browser.
A testrunner image is built in the CI (for `linux/amd64` only, because
Github doesn't support multi-platform building on their default
runners and we don't have our own.)

This setup helps to run the tests (reproduceably) also locally.
Previously, on my machine, they produced varying results.
It also reduces the dependencies for running the browser test.
Local execution only depends on `docker compose`, no other tools
(previously it required `sudo`, `java`, and some more.)

The previous solution should still work, if you want it.

The scripts are stored in a directory called `.ci` to hide them a little
and avoid confusion with the container images from the
`roundcubemail-docker` repo.

* Fix UI tests by waiting for element before using it

This only was a flaky problem only occurring sometimes.

* Force a new IMAP connection in plugin tests, too

In other code the initial connection is forced. Doing this here, too,
fixes occasional problems with lost imap connections.

* Make waiting for zipfile's content more robust

* CI: Run tests from script on Windows, too

* CI: Do start local chrome if no connect URL is given

* Move compose.yml to tests/

This way it's less easy mistaken as usable for running Roundcubemail in
production.

* Move compose.yml to .ci/
2024-07-22 11:44:09 +02:00
Aleksander Machniak
b14a278c9f CS fix 2024-07-18 20:04:45 +02:00
Aleksander Machniak
cc72002e71 Fix invalid line break characters in multi-line text in Sieve scripts (#9543) 2024-07-18 19:46:25 +02:00
Aleksander Machniak
d03154fdf0 Fix flaky test 2024-07-07 08:58:05 +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
Michael Voříšek
6377477eb2 Add PHPUnit 10.x and 11.x support (#9480)
* Add PHPUnit 10.x and 11.x support

* fix undefined TestCase::getName() for PHPUnit 10+

* Add PHPUnit attributes but keep annotations
2024-06-13 18:40:29 +02:00