Commit Graph

89 Commits

Author SHA1 Message Date
Aleksander Machniak
5804ef8aa2 Fix folders list sorting on Windows - if php-intl is available (#5732) 2017-05-08 10:37:06 +02:00
Joel Gerber
40b51b9dc9 Add Log to STDOUT Feature (#5721)
Primarily useful for PHP applications running under PHP-FPM which in
turn is running within a Docker container. But also it is generally
useful in any situation where you want to be able to send the logs
directly to your terminal when debugging &etc.
2017-04-10 13:38:40 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Joe Bordes
3c1d951d84 feat(Hook) full message object on message_sent event 2017-02-06 23:26:51 +01:00
Aleksander Machniak
dfd19206a4 sizeof() -> count() 2017-02-06 13:49:29 +01:00
Aleksander Machniak
4f5ec65a36 Close SMTP connection ASAP after the message has been sent
We should not keep the connection open until the script shuts down.
It may take long time e.g. to save the message in IMAP.
2016-12-07 10:39:35 +01:00
Aleksander Machniak
5cca1988b6 Fix write_log() return value when using syslog() and it fails 2016-11-22 13:32:59 +01:00
Aleksander Machniak
68221ed4ae Improve uppercase/lowercase/ucfirst attrib handling in rcube::gettext()
- Make ucfirst mode compatible with UTF-8
- Fix bug which made uppercase=FIRST non-working
- Replace \n with real line-break before converting char case
2016-11-12 12:20:39 +01:00
Aleksander Machniak
6e0effa54c Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 (#5508) 2016-11-12 10:07:09 +01:00
Aleksander Machniak
c1c0a0d815 Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts 2016-09-21 11:20:43 -04:00
Aleksander Machniak
184de7735c CS fixes (mostly phpdoc) 2016-08-18 08:50:59 +02:00
Aleksander Machniak
062d95503e Fix bug where Message-ID domain part was tied to username instead of current identity (#5385) 2016-08-09 09:17:26 +02:00
Aleksander Machniak
ee895a2c96 Remove PHP mail() support, smtp_server is required now (#5340) 2016-07-15 15:24:45 +02:00
Aleksander Machniak
930e363e55 Fix handling of 'mailto' and 'error' arguments in message_before_send hook (#5347) 2016-07-15 13:12:42 +02:00
Aleksander Machniak
22241a5d82 CS fixes 2016-06-14 10:59:05 +02:00
Aleksander Machniak
c76c4ed08b Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289) 2016-06-02 20:53:42 +02:00
Aleksander Machniak
930a3ceac0 Fix bug where errors could have been not logged when per_user_logging=true 2016-05-18 19:53:51 +02:00
Aleksander Machniak
e91c35c534 Fix background color on selected and focused addressbook 2016-02-03 13:59:31 +01:00
Aleksander Machniak
3296965f41 Force arg_separator in http_build_query() 2015-12-14 11:23:57 +01:00
Aleksander Machniak
87cb24d873 Don't add redundant URL arguments to logged error messages 2015-12-14 11:17:17 +01:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
6a94f69bd1 Remove code for Mail_mime<1.9, we already require Mail_mime-1.10 for other reasons 2015-10-01 08:34:18 +02:00
Aleksander Machniak
f75bc5c24b Use random security tokens instead of hashes based on encryption key (#1490404) 2015-09-08 09:38:45 +02: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
6f249b0e38 Change code so versions of Mail_mime before and after 1.9.0 are supported 2015-08-16 17:47:30 +02:00
Aleksander Machniak
1b39d9a6c7 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-08 09:32:24 +02:00
Aleksander Machniak
a7efdd7c5d Make Mail_mime>=1.9.0 a requirement, fix compat. errors 2015-08-06 14:15:10 +02:00
Aleksander Machniak
8447bae77c Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code 2015-06-28 12:27:48 +02:00
Aleksander Machniak
9aae1b7fc3 Fix so microseconds macro (u) in log_date_format works (#1490446) 2015-06-26 09:20:43 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
3994b3a26c Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key (#1490402) 2015-05-23 09:42:11 +02:00
Aleksander Machniak
11d5e7c100 Implemented memcache_debug also for session operations 2015-05-12 13:50:02 -04:00
Thomas Bruederli
87ff88d550 Fix session garbage collector handler registration after refactoring 2015-03-09 17:17:04 +01:00
Thomas B.
2755471f33 Merge pull request #257 from corbosman/session_refactor
Merging session refactor into master
2015-03-06 19:06:34 +01:00
corbosman
82058d7af2 minor fixes 2015-03-04 13:56:37 +01:00
corbosman
6e3d249655 remove commented out code 2015-02-27 16:36:26 +01:00
corbosman
b4be89bdac use factory 2015-02-27 15:03:58 +01:00
Aleksander Machniak
b59b72cc30 Fix "Non-static method PEAR::isError() should not be called statically" errors (#1490281) 2015-02-26 18:04:03 +01:00
corbosman
4df4ab5007 session refactor and add redis driver 2015-02-19 14:55:09 +01:00
Jeroen van Meeuwen (Kolab Systems)
c3e441044d Allow the timeout and retry interval for memcached servers to be configured 2015-02-11 15:24:49 +01:00
Aleksander Machniak
a3fa844aad Make logged SMTP errors more verbose - log also real server response and codes 2015-01-28 09:39:23 +01:00
Aleksander Machniak
681ba6fc3c Improve system security by using optional special URL with security token
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
2014-12-16 13:28:48 +01:00
Aleksander Machniak
409b649346 Fix lack of delimiter for recipient addresses in smtp_log (#1490150) 2014-11-14 08:48:56 +01:00
Aleksander Machniak
e050502900 Fix bug where openssl-based crypt/decrypt method wasn't using defined crypto-key 2014-10-17 09:18:38 +02:00
Aleksander Machniak
8cc65d1f5f Print to STDERR non-terminating errors in CLI mode 2014-09-10 17:26:19 +02:00
Thomas Bruederli
f954922c03 - Implemented 'storage_connected' API hook after successful IMAP login (#1490025)
- Added config option 'imap_log_session' to enable Roundcube <-> IMAP session ID logging
- Added config option 'log_session_id' to control the lengh of the session identifer in logs
2014-08-07 17:04:05 +02:00
Aleksander Machniak
6c1c60f3b9 Support password encryption using openssl extension (#1489989) 2014-08-02 09:03:29 +02:00
Aleksander Machniak
6d5a1b9e8f Get rid of some rcube_config::all() calls 2014-06-28 10:07:44 +02:00
Aleksander Machniak
109bcce470 Add config option to specify IMAP connection socket parameters - imap_conn_options (#1489948) 2014-06-16 14:13:58 +02:00
Aleksander Machniak
596d43be13 Add session ID (first 8 chars) to the log 2014-05-12 10:45:41 +02:00