Aleksander Machniak
05d39bc406
Fix PHP Fatal error: Uncaught TypeError: html::quote(): Argument #1 ($str) must be of type string, null given ( #9957 )
2025-08-23 09:17:59 +02:00
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
Philip Weir
946ba021b8
Add keep_formatting_default setting ( #9892 )
2025-06-15 08:01:06 +02:00
Aleksander Machniak
ded28db823
Installer: Move logon warning code into rcmail_install, change colors, fix link
2025-06-15 07:53:47 +02:00
Aleksander Machniak
781a23768a
Revert unintended change
2025-06-14 18:10:30 +02:00
Aleksander Machniak
eebc08c0c6
CS fix
2025-06-14 17:58:11 +02:00
Aleksander Machniak
ed7b459014
Validate timezone stored in session
2025-06-11 14:39:35 +02:00
Aleksander Machniak
1488e57558
OAuth: Relax JWKS verification - 'kid' is optional
2025-05-20 15:20:03 +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
8208b9f87d
Fix bug in handling rcmail::format_date()'s $convert argument ( #9666 )
2025-04-21 12:28:14 +02:00
Gianluca Giacometti
053ffaef6b
Exclude inline base64 images from static.php ( #9835 )
2025-04-05 08:54:25 +02:00
Aleksander Machniak
f7d8852d17
Use str_starts_with() where applicable
2025-03-30 11:32:38 +02:00
Aleksander Machniak
62c092bf91
Fix static resources location on a page with PATH_INFO ( #9814 )
2025-03-30 10:55:48 +02:00
Philip Weir
e37709c5e8
Add enable_autolink option for HTML editor ( #9818 , #9762 )
2025-03-24 18:24:46 +01:00
Aleksander Machniak
d03767b7f1
OAuth: improve token refresh - check token also in the keep-alive action
2025-03-18 13:58:54 +01:00
Aleksander Machniak
91f4e289b2
Merge branch 'master' of github.com:roundcube/roundcubemail
2025-03-16 13:33:38 +01:00
Aleksander Machniak
9afeb0174e
Use PHPStan v2
2025-03-16 13:33:15 +01:00
Pablo Zmdl
99236f3be4
Fix washing html from rcube_attachment_handler ( #9785 )
...
This probably wasn't implemented previously because HTML-parts usually
didn't run through get.php.
2025-03-16 12:45:15 +01:00
Aleksander Machniak
29d0eba3db
Add rcmail_oauth::is_token_valid() method
2025-03-14 12:12:56 +01:00
Aleksander Machniak
94fd5a0f80
CS fixes (for the new fixer version rules)
2025-02-23 11:51:27 +01:00
Aleksander Machniak
a9b1ca34f3
Update min PHP version check, cleanup outdated checks/comments
2025-02-23 11:18:50 +01:00
Philip Weir
5e57ef83bd
Add asset url to additional logo paths ( #9768 )
2025-02-11 18:10:48 +01:00
Aleksander Machniak
64df318a73
Add static files server ( #9294 )
...
Make use of public_html mandatory
2025-02-09 14:10:50 +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
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
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
Aleksander Machniak
9ab47d94fa
Don't initialize OAuth handler in CLI
2024-10-28 11:45:55 +01:00
Aleksander Machniak
83417f5883
OAuth: Add a flag to the 'authenticate' hook arguments indicating SSO is in use
...
This way plugins can react to it, e.g. 2FA plugins can skip asking for the second factor
2024-09-12 09:39:49 +02:00
Aleksander Machniak
c5a861114e
OAuth: Refresh token is optional ( #9626 )
2024-09-06 11:17:30 +02:00
Aleksander Machniak
d26e4354f7
Add small sanity check
2024-09-02 13:54:31 +02:00
Aleksander Machniak
0cf65ad2b1
OAuth: Support standard authentication with short-living password received with OIDC token ( #9530 )
2024-08-29 13:17:54 +02:00
Aleksander Machniak
a134c83f14
Cleanup
2024-08-29 13:11:45 +02:00
Aleksander Machniak
4023931ed3
OAuth: Fix some PHP warnings and improve debug logging
2024-08-27 19:33:03 +02:00
Aleksander Machniak
e12e273c0c
More tests
2024-08-04 10:28:16 +02:00
Aleksander Machniak
c706575a0b
CS fix
2024-07-31 18:11:51 +02:00
Michael Voříšek
6a5f9ee7ce
Add override method attributes ( #9272 )
2024-06-02 15:57:56 +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
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
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
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
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
47172b4bfc
Fix regression
2024-04-01 12:28:57 +02:00
Aleksander Machniak
5c603344fe
Code improvements
2024-04-01 11:50:56 +02:00