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
Aleksander Machniak
66fab8cdb2
CS fixes, Avoid usused variables, fixed minor bugs
2019-10-05 19:44:39 +02:00
Aleksander Machniak
b10a0dbb7e
Reset internal $skins property is set_skin()
2019-09-08 11:37:16 +02:00
Aleksander Machniak
4096739322
Fix including assets that exist only in minified version
2019-08-30 12:08:48 +02:00
johndoh
91398c858a
Add KOI8-R to charset_selector ( #6861 )
2019-07-31 13:19:32 +02:00
Aleksander Machniak
a991e3181c
Put charset meta specification before a title tag, add page title automatically ( #6811 )
...
I.e. templates should not specify <title>
2019-06-29 15:48:51 +02:00
Jack Cherng
e449f30eff
Simplify jQuery DOM ready at the footer ( #6825 )
...
https://api.jquery.com/ready/#entry-longdesc
Signed-off-by: Jack Cherng <jfcherng@gmail.com >
2019-06-27 07:50:25 +02:00
Aleksander Machniak
f8ca8d1b63
Fix invalid path to "add contact" icon when using assets_path setting
...
This and a few other icons
2019-05-23 10:34:39 +02:00
Aleksander Machniak
cf51aead63
Larry: Fix regression where menu actions didn't work with keyboard ( #6740 )
...
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
2019-05-05 12:36:40 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
f1c40c8aa9
Fix bug where attachment preview didn't work with x_frame_options=deny ( #6688 )
2019-03-19 13:01:53 +01:00
Aleksander Machniak
ab28c4ae26
Fix bug where external content (e.g. mail body) was passed to templates parsing code ( #6640 )
...
It should have been part of "Fix so templating system does not mess with external (e.g. email)
content (#5499 )" (d02e6ea45e ), but it wasn't.
2019-03-11 13:27:34 +01:00
Aleksander Machniak
641a67fe75
Elastic: Fix unintentional layout preference overwrite ( #6613 )
...
This is actually skin-independent mechanism that prevents overwriting
of skin-specific preferences by ajax requests (that until now were
not aware of skin config).
2019-02-08 11:19:09 +01:00