Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
7a269a2b84
Replace get_input_value() with get_input_string() where appropriate
2021-09-13 19:31:49 +02:00
Aleksander Machniak
b9d0dc1cf9
Rename session items 'search' and 'search_params' to 'contact_search' and 'contact_search_params'
...
... to fix potential conflict with the session items for mail search.
2021-09-11 09:11:42 +02:00
Aleksander Machniak
2c0db244bc
Generate QR-code in svg format if there's xmlwriter extension installed
...
I think xmlwriter is more likely to be installed than imagick.
The size of the png and svg output is almost identical.
2021-08-28 09:29:03 +02:00
johndoh
0c863206f1
Replace Endroid QrCode with BaconQrCode ( #8173 )
2021-08-28 09:09:19 +02:00
Aleksander Machniak
0d4a395464
Fix PHP 8.1 deprecation warnings
2021-07-31 07:53:14 +02:00
Aleksander Machniak
5679117603
Fix PHP8 warning
2021-05-02 11:32:52 +02:00
Aleksander Machniak
65c9d08e01
PHP8 fixes
2020-12-20 17:22:18 +01:00
johndoh
9e739faac5
Return 204 rather than 404 on missing contact photo ( #7778 )
...
* return 204 rather than 404 on missing contact photo
* a little code cleanup
* don't use blank.gif as placeholder, use data: uri instead
2020-12-19 10:10:54 +01:00
Aleksander Machniak
8b83d29f24
PHP8 fixes, do not require specific error_reporting setting anymore
2020-12-19 10:01:10 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +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
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