Commit Graph

66 Commits

Author SHA1 Message Date
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
5ac44fd4ed PHPDoc fixes 2021-02-28 11:58:27 +01:00
Aleksander Machniak
b4b24f93df Fix some PHP8 warnings 2021-01-15 18:56:48 +01:00
Aleksander Machniak
37d75d96a3 Short array syntax, CS fixes 2020-11-27 19:51:33 +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
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
9713ce364c Automatically collected recipients and trusted senders (#6904)
Added configurable Collected Recipients addressbook source (#4971)
Added configurable Trusted Senders addressbook source (#5046)
Added 'contact_exists' hook
2020-09-20 10:00:08 +02:00
Aleksander Machniak
535816db22 Describe all() method on more detail (#6219) 2020-08-23 09:39:55 +02:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
johndoh
9dbe666d4c Allow skins to define which layout options they support (#7235) 2020-06-13 09:25:50 +02:00
Aleksander Machniak
46d3cae2ff Security: Fix cross-site scripting (XSS) via malicious XML attachment 2020-05-30 08:35:33 +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
dessert1
e66ffae856 Fix handling keyservers configured with protocol prefix (#7295)
`|^[a-z]://|` matches only single-character protocol shortnames, to correctly exclude e.g. `hkps://` the expression should be `|^[a-z]+://|` instead.
2020-03-20 19:12:33 +01:00
Aleksander Machniak
31b33c0f39 Don't require config.inc.php when only config-<env>.inc.php exists 2019-12-30 13:45:38 +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
8bcb1e801c Switch default skin to Elastic 2019-10-19 09:52:44 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
f6807bcc4c Added 'keyservers' option to define list of HKP servers for Enigma/Mailvelope (#6326) 2019-06-14 19:06:32 +02:00
Aleksander Machniak
c87ac075ae Renamed 'log_session' option to 'session_debug' 2019-04-19 10:26:26 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02: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
Aleksander Machniak
36485dfc34 Prevent from using deprecated timezone names from jsTimezoneDetect
For better interoperability of plugins such as Calendar, for example
issue see: https://git.kolab.org/T2666.
2018-12-16 12:31:21 +01:00
Aleksander Machniak
e9d38e847c Re-add setting error_log=syslog when log_driver=syslog 2018-06-05 09:05:53 +02:00
Aleksander Machniak
4b97f40af9 Get rid of debug_level (#6298) 2018-05-22 11:12:24 +02:00
Richard Hillmann
59bbf6c081 Fix preg_match in guess_type function (#6123) 2018-01-07 08:47:59 +01:00
Aleksander Machniak
4dc1f3b757 Use configured log_file_ext also for errors thrown by PHP (#6035) 2017-11-10 20:02:17 +01:00
JohnDoh
515d496808 Replace display_version with display_product_info (#5904) 2017-10-21 08:52:03 +02:00
Aleksander Machniak
86a4d78369 Merge branch 'dev-elastic' 2017-07-02 16:47:54 +02:00
Thomas Bruederli
3bc8a30314 Translate old 'preview_pane' setting into new 'layout' property 2017-06-16 09:48:34 +02:00
Aleksander Machniak
bb67757b5c Removed global $CONFIG variable 2017-05-26 10:27:08 +02:00
Aleksander Machniak
e2d80479d6 Make possible to set (some) config options from a skin 2017-02-26 15:31:06 +01:00
Aleksander Machniak
556c1725a7 Unify automatic marking as \Seen in preview pane, full-page and extwin views (#5071)
We now have one 'mail_read_time' option that works for all cases.
Option 'preview_pane_mark_read' has been removed and marked as an alias.
2016-11-01 10:59:19 +01:00
Aleksander Machniak
9debc38724 Drop mail_header_delimiter option, since we don't use mail() we don't need it 2016-08-19 08:55:29 +02:00
Aleksander Machniak
184de7735c CS fixes (mostly phpdoc) 2016-08-18 08:50:59 +02:00
Aleksander Machniak
7a7a6795f0 Support WEBP images in mail messages (#5362) 2016-07-21 16:42:45 +02:00
Aleksander Machniak
791ee65d2e Fix so contactlist_fields option can be set via config file 2016-03-18 12:29:29 +01:00
Aleksander Machniak
39137fe292 CS fixes 2016-01-05 09:04:59 +01:00
Aleksander Machniak
e4c66080a8 Improved encrypt/decrypt methods with option to choose the cipher_method (#1489719) 2015-09-07 09:47:16 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
a4ef49d6cf Fix duplicate entry on timezones list in rcube_config::timezone_name_from_abbr() (#1490293) 2015-02-27 13:02:01 +01:00
Aleksander Machniak
e17decc4c2 Better handle log/temp directory misconfiguration 2015-02-03 07:52:14 -05:00
Aleksander Machniak
7b924535fd CS fixes 2015-01-03 13:59:07 +01:00
Thomas Bruederli
bca7dc68e9 Fix syntax error and codestyle from recent PR merge 2014-12-29 13:40:26 +01:00
Alex Brandt
e4b9910a32 Add environment variable reading to configuration.
Docker prefers to pass parameters via environment variables.  This
allows the environment variables to be checked and if a value exists it
will override the default.
2014-12-28 12:31:24 -06:00
Aleksander Machniak
07280e7643 Remove reference to non-existing option 'default_folders' 2014-11-15 09:40:41 +01:00
Aleksander Machniak
517c9f9a8d Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
2014-02-07 14:43:51 +01:00
Aleksander Machniak
38f1f56920 Exec config_get hook also in rcube_config::all() (#1485981) 2013-11-28 09:16:36 +01:00
Aleksander Machniak
955a613cac Support HTTP_HOST, SERVER_NAME and SERVER_ADDR values in include_host_config feature 2013-09-25 13:03:41 +02:00
Thomas Bruederli
a315bf2dda Support both new and old config variables 2013-09-13 18:27:24 +02:00