Aleksander Machniak
640e22d987
Fix PHP8 warnings
2021-10-17 11:18:14 +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
Aleksander Machniak
14522d7108
get_input_value() -> get_input_string()
2021-09-26 11:34: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
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
e2187b8f2d
Fix various PHP 8.1 warnings
2021-08-27 16:52:54 +02:00
Aleksander Machniak
0d4a395464
Fix PHP 8.1 deprecation warnings
2021-07-31 07:53:14 +02:00
Aleksander Machniak
5d81c15f07
Document blankpage_url option ( #5025 )
2021-06-05 09:29:21 +02:00
Aleksander Machniak
24fc958f03
Improve template conditionals parsing
...
The old method with big regexps was buggy as described in #8065 .
2021-05-19 19:49:57 +02:00
johndoh
bf2c4f32e4
Regex optimisation, fix #8065 ( #8068 )
2021-05-19 08:07:24 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
johndoh
8547ccb765
Remove duplicate <title> tag in iframe output ( #7997 )
2021-04-12 11:15:53 +02:00
johndoh
8453d147d7
Handle http 500 error on message send ( #7959 )
2021-04-09 08:25:38 +02:00
Thomas Bruederli
8fdf37bf21
Set absolute path for assets if PATH_INFO is set (#7812,#7923)
2021-03-15 21:20:07 +01:00
Aleksander Machniak
435d6c6fc2
Don't cache disabled_actions setting in memory
...
If some plugin changed the setting after first button() method
use, the change would not have been seen in the rest of the method calls.
2021-03-15 14:12:37 +01:00
johndoh
1eebfd723b
Improve detection of external urls for redirect ( #7823 )
2021-01-23 10:15:09 +01:00
Thomas Bruederli
375d668064
Hide login form fields when oauth_login_redirect is configured ( #7830 )
2021-01-18 21:17:48 +01:00
johndoh
dec10e51da
Support providing skins for plugins inside the main skin folder ( #7445 )
2020-12-21 09:45:34 +01:00
Aleksander Machniak
5aa0d09def
Add array_first() helper, fix some code issues
2020-12-20 09:44:17 +01:00
johndoh
cfd4fa170f
Fix a few PHP notices ( #7791 )
2020-12-19 19:36:58 +01:00
Aleksander Machniak
84949fbb4e
CS fixes, added more tests
2020-12-17 19:45:12 +01:00
Aleksander Machniak
3bbb01fe13
PHP8 fixes, regression fixes
2020-12-13 12:14:15 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
0cbe4a4acc
PHP8 fixes, CS fixes, short array syntax, added more tests
2020-11-22 12:03:02 +01:00
Aleksander Machniak
1007b873f0
More action tests, PHP8 fixes
2020-11-15 12:03:37 +01:00
Aleksander Machniak
596004beb3
More actions tests, code improvements
2020-11-07 12:54:12 +01:00
Aleksander Machniak
97991b59be
Add more tests for contact actions, fix various code issues
2020-11-05 11:59:02 +01:00
Aleksander Machniak
e99fb3968d
Add tests for contacts export action, fix PHP8 issues
2020-11-02 18:49:39 +01:00
Aleksander Machniak
e2572b8984
PHP8 compat. fixes, added some tests
2020-11-02 08:55:42 +01:00
Aleksander Machniak
545a1569f1
Steps -> Actions refactoring ( #7688 )
...
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
3fd6588bef
Fix regression
2020-10-11 16:20:44 +02:00
Aleksander Machniak
f95212d626
PHP8: More warnings fixed
2020-10-11 15:24:30 +02:00
Aleksander Machniak
bde383d051
PHP8: Fix various issues
...
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
2a9902c7cd
Elastic: Add "Open in new window" in mail compose ( #7260 )
2020-10-03 17:05:06 +02:00
johndoh
6a25f2611d
Make auto generated button ids unique between main screen and iframe ( #7619 )
2020-09-24 18:36:12 +02:00
Thomas B
9020797d0d
Merge pull request #7425 from thomascube/pr-xoauth2
...
Add OAuth/XOauth support
2020-08-10 21:40:01 +02:00
johndoh
4c8ea71e3a
Fix so setting 'login' in config['skin_logo'] does not change the favicon ( #7456 , #7470 )
...
* Fix skin_logo config, again
* Elastic: add support for dark mode logos
* Add new additional_logo_types config for skins
2020-08-07 10:34:40 +02:00
Aleksander Machniak
e2c25a1949
Fix support for an error as a string in message_before_send hook ( #7475 )
2020-07-18 08:24:44 +02:00
Aleksander Machniak
36bf280a97
Elastic: Minimize forms/colors blink on page load
2020-07-11 10:52:24 +02:00
Aleksander Machniak
1e1ea25b6c
Added special value 'email' to login_username_filter, it changes also logon input type ( #7179 )
2020-07-03 12:56:17 +02:00
Thomas Bruederli
1e6a2f4f49
Basic support for OAuth2 user login and IMAP/SMTP authentication
...
- Add "Login with XXX" button to login screen if oauth is configured
- Perform OAuth login procedure and get an access token
- Implement XOAUTH2 authentication type for IAMP and SMTP
Requires a patched and not yet released version of Net_SMTP.
2020-06-16 08:17:52 +02:00
Aleksander Machniak
ecabb1e667
Security: Fix XSS issue in template object 'username' ( #7406 )
2020-05-30 08:28:05 +02:00
Aleksander Machniak
da2bb8af6d
Fix error when user-configured skin does not exist anymore ( #7271 )
...
We fallback to the system skin not the default one.
2020-05-23 09:44:00 +02:00
Aleksander Machniak
014659b600
CS fixes, mostly around undefined variables
2020-05-03 11:29:15 +02:00
johndoh
11aa9633b1
Improvements to options menu link template object ( #7237 )
2020-03-15 09:56:30 +01:00
johndoh
d51352b9cb
Add support for nested if conditions ( #6829 )
...
* add support for nested if conditions
* add tests for condition parsing in templates
* make [space][slash] ending of condition objects optional (#6954 )
2020-01-05 12:02:55 +01:00
Aleksander Machniak
0aa5eca1fd
Fix bug where 'skins_allowed' option didn't enforce user skin preference ( #7080 )
2019-12-08 11:36:45 +01:00
Aleksander Machniak
8a25ddbf53
Update changelog, CS improvements
2019-11-18 15:51:36 +01:00
PhilW
75125cbac1
add unit tests for rcmail_output_html::get_template_logo
2019-11-18 15:30:22 +01:00
PhilW
97001e9221
rewrite skin_logo config
2019-11-18 15:30:22 +01:00