Commit Graph

206 Commits

Author SHA1 Message Date
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
Aleksander Machniak
efdbf4a7d9 Support 'error' and 'body_file' return attribs in 'message_before_send' hook (#1489595) 2014-04-30 14:27:49 +02:00
Thomas Bruederli
eea11ecdde Move rcube_installer class to include/rcmail_installer in order to remain accessible by the update script even if the installer directory was removed 2014-04-21 16:39:19 +02:00
Aleksander Machniak
8d34b9dce3 Refactored storage properties setting 2014-04-10 10:49:10 +02:00
Aleksander Machniak
dc0b500e78 Removed redundant default_folders config option (#1489737)
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830)
2014-04-01 19:27:07 +02:00
Thomas Bruederli
ce20194266 Add setter for user object to rcube class; we already have getters for various user properties there 2014-02-10 13:18:34 +01:00
Thomas Bruederli
3786a48aeb * New option that write logs to per-user directories. (Debug) logs will only be written if a directory for the current user exists.
* The 'write_log' plugin hook now also supports the return property 'dir' to let plugins specify the log directory.
2014-01-16 09:02:02 +01:00
Aleksander Machniak
0301d9347f CS fixes 2014-01-01 12:31:14 +01:00
Aleksander Machniak
75a5c3554a Add possibility to overwrite a label/message in Roundcube's language package (#1489433) 2013-11-25 09:00:49 +01:00
Thomas Bruederli
aef6ed4702 Add hook to notify plugins about message sending errors 2013-11-21 08:53:17 +01:00
Aleksander Machniak
b3e25974b1 Fix typo: occured -> occurred (#1489366) 2013-10-04 13:35:16 +02:00
Aleksander Machniak
2c6a233a99 Make sure language code extracted from HTTP_ACCEPT_LANGUAGE is in xx_YY format 2013-09-24 09:21:27 +02:00
David Carter
de8687f9f1 Add temp_dir_ttl configuration option to control expiry time in
program/lib/Roundcube/rcube.php : gc_temp().

Default is 48 hours. Define hard wired minimum of 6 hours.
2013-08-30 09:22:24 +01:00
Aleksander Machniak
6efadfc8d3 Fix so additional headers are added to all messages sent (#1489284) 2013-08-25 09:03:01 +02:00
Thomas Bruederli
8d2963a4bf Make session auth cookie name configurable 2013-08-15 20:12:25 +02:00
Aleksander Machniak
311d876f0b Hide PHP warning when calling filemtime() on not-existent file 2013-08-02 10:25:14 +02:00
Thomas Bruederli
deb2b8d080 Allow to load config files for different environments (#1487311); keep (non-default) filename in URLs throughout the webmail app 2013-07-12 10:17:32 +02:00
Aleksander Machniak
ed3e51f1b4 Make possible to disable some (broken) IMAP extensions with imap_disable_caps option (#1489184)
Add some notes in INSTALL about broken ESEARCH in uw-imap.
2013-07-02 14:49:48 +02:00
Aleksander Machniak
39b905b7a8 Canonize boolean ini_get() results (#1489189) 2013-06-20 15:08:10 +02:00
Aleksander Machniak
3dbe4f79e4 Fix session issues when local and database time differs (#1486132)
Improve performance by executing session gc on script shutdown, also call session_write_close() ASAP
2013-06-16 14:18:57 +02:00
Aleksander Machniak
60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 2013-06-09 11:07:46 +02:00
Aleksander Machniak
ee73a723f9 Improvements in garbage collector: created gc() method to run all
gc-related cleanups in one place, added posibility to run gc in
environments without session
2013-06-05 10:56:26 +02:00
Thomas Bruederli
42de33c7de Add option to use PHP's native session save handlers 2013-06-05 09:10:08 +02:00
Aleksander Machniak
22a41b8247 Make possible to disable shared cache 2013-05-26 11:11:49 +02:00
Aleksander Machniak
00cb22cf92 Expunge all cache instances in shutdown 2013-05-25 15:46:20 +02:00
Aleksander Machniak
50abd55718 Added shared (cross-user) cache 2013-05-25 15:37:46 +02:00
Thomas Bruederli
0b9a7bcde3 Move rcmail::deliver_message() to framework for common use 2013-05-16 17:00:05 +02:00
Aleksander Machniak
f23ef1c968 Fix error handling in CLI mode, use STDERR and non-empty exit code (#1489043) 2013-04-26 11:26:58 +02:00
Aleksander Machniak
8e4b49c382 Fix session issues with use_https=true (#1488986) 2013-04-02 12:11:33 +02:00
Aleksander Machniak
a39fd4db67 Set default error code (500) if not specified in raise_error() 2013-02-01 15:19:49 +01:00
Aleksander Machniak
a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 2013-01-06 13:10:50 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Thomas Bruederli
a072247dde Fix package definitions and include framework classes in phpdoc 2012-12-16 17:03:01 +01:00
Aleksander Machniak
996af3bfd9 Some more rcmail -> rcube cleanup 2012-12-07 11:13:11 +01:00