Commit Graph

123 Commits

Author SHA1 Message Date
Aleksander Machniak
d340f18295 Fix display issues with mail subject that contains line-breaks (#7191) 2020-01-25 08:44:46 +01:00
johndoh
51a9dd631f Add support for SameSite cookie attribute (req PHP >= 7.3.0) (#6772) 2020-01-05 15:53:51 +01:00
Aleksander Machniak
20e25582e7 Fix so an error is loogged when encryption fails (#6948) 2019-10-05 13:38:30 +02:00
Aleksander Machniak
17296b39cb Fix infinite loading message on iframe loading errors
The loading message was not stopped on "hard" errors, i.e. when
the page was blank, e.g. on 500 error.
2019-09-24 11:31:17 +02:00
Aleksander Machniak
3b4d9f3fb5 PHPDoc updates 2019-08-25 19:24:08 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
fdac30e544 Support PECL memcached extension as a session and cache storage driver (experimental) 2019-05-26 11:50:33 +02:00
Aleksander Machniak
6e5027ba24 Fix so userlogins and sendmail logs are never put into the per_user_logging folder 2019-05-21 12:58:43 +02:00
Aleksander Machniak
593188559a Fix regression where non-terminating errors were sent to the browser 2019-05-01 21:45:46 +02:00
Aleksander Machniak
fbb5a5bc4f Small code simplification in raise_error() 2019-04-22 09:46:38 +02:00
Aleksander Machniak
02dc6ce41c Don't init the session in CLI mode
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
2019-04-22 09:34:53 +02:00
Aleksander Machniak
72ad567db6 Add new line at the end of error message in CLI mode 2019-04-22 09:32:30 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
32a0ad6778 Force session.gc_probability=1 when using custom session handlers (#6560) 2018-12-29 10:05:01 +01:00
Aleksander Machniak
d3c65d752b Remove useless "return null;" at the end of function block 2018-12-27 11:03:47 +01:00
PhilW
e024f133fa give all temp files a constant prefix 2018-11-06 07:11:04 +00:00
Aleksander Machniak
2935b3a66a Fix malformed message saved into Sent folder when using big attachments and low memory limit (#6498) 2018-10-27 12:52:16 +02:00
Allan Klaus
6a49ba5aa2 Added exec_hook to send error to an external error tracking tool (#6198) 2018-09-03 13:15:27 +02:00
Aleksander Machniak
4f2b795cd2 Fix doc for 3rd argument of rcube::deliver_message() (#6353) 2018-07-12 12:31:33 +02:00
Aleksander Machniak
3d0b2cd3ce Pass PEAR errors to rcube::raise_error(), small CS improvements 2018-05-27 08:50:42 +02:00
Aleksander Machniak
4b97f40af9 Get rid of debug_level (#6298) 2018-05-22 11:12:24 +02:00
Aleksander Machniak
430c000e32 Support skin localization (#5853) 2018-05-11 09:59:27 +02:00
Aleksander Machniak
8b0540d402 Fix possible IMAP command injection and type juggling vulnerabilities (#6229) 2018-04-03 19:07:02 +02:00
Aleksander Machniak
d07b032bcd Refactor cache code with separate engine-specific classes 2018-03-03 17:28:40 +01:00
Edgaras Lukoševičius
e371469664 Add Redis as cache backend 2018-02-01 16:30:19 +02:00
Aleksander Machniak
61a6666eee Small CS fixes 2017-12-04 09:16:21 +01:00
Aleksander Machniak
403d8453c8 Fix issue caused by non-default session.cookie_lifetime setting (#5961) 2017-10-09 10:22:00 +02:00
Aleksander Machniak
5d3add78aa Add Message-ID to the sendmail log (#5871) 2017-10-03 08:49:17 +02:00
Aleksander Machniak
b97e3b5cd7 Don't ignore (global) userlogins/sendmail logs in per_user_logging mode 2017-07-10 16:39:21 +02:00
Aleksander Machniak
9d63b80873 Fix bug where errors were not printed when using bin/update.sh (#5834)
Don't pass errors to rcmail_install::raise_error() in CLI mode.
2017-07-02 11:35:11 +02:00
Aleksander Machniak
a8278d61cf Update changelog, CS fixes 2017-06-30 09:59:56 +02:00
Aleksander Machniak
8b7c7dd5a9 Merge branch 'issue-logfilename' of https://github.com/remicollet/roundcubemail into remicollet-issue-logfilename 2017-06-30 09:55:40 +02:00
Remi Collet
6ca4eab399 add 'log_file_ext' configuration option 2017-06-27 13:35:01 +02:00
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
Remi Collet
132a807dff add .log suffix to all log file names 2017-03-10 19:00:13 +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