Aleksander Machniak
9ab34604d9
Define @package and @subpackage of Framework classes
2012-11-17 09:24:05 +01:00
Aleksander Machniak
c442f822fb
Simplify keep-alive action. Now the interval is based on session_lifetime,
...
which means it's executed only if needed for session keeping (reset interval on every action).
Temporarily remove check-recent request, it will be replaced by new global system refresh request in future.
Use keep_alive setting as auto-refresh request interval (allow no-refresh mode)
2012-11-10 12:04:38 +01:00
Aleksander Machniak
413df054ad
CS fixes (mostly tab -> spaces)
2012-08-12 11:47:45 +02:00
Aleksander Machniak
23557f06d1
- Fix (workaround) delete operations with some versions of memcache ( #1488592 )
2012-08-09 14:54:49 +02:00
Aleksander Machniak
ef5f7fb13c
There's a case (reason unknown) when destroy() is called with empty session key.
...
Handle this case properly to prevent from PHP error: Memcache::delete(): Key cannot be empty.
2012-07-06 10:10:30 +02:00
Aleksander Machniak
4d708e6c1d
Remove possible confusion on session reads - PHP expects string result not boolean
2012-05-24 12:39:02 +02:00
Aleksander Machniak
041c93ce0b
Removed $Id$
2012-05-22 12:31:37 +02:00
thomascube
58154f59fc
Accept two past time slots for auth cookie validation; don't encode user-agent into session auth hash ( #1488449 )
2012-04-30 21:04:53 +00:00
alecpl
be98dfc2c0
- Replace some references to rcmail with rcube
2012-04-16 11:59:08 +00:00
alecpl
1aceb9cec8
- Framework refactoring (I hope it's the last one):
...
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils
renamed main.inc into rcube_bc.inc
2012-04-16 11:02:21 +00:00
alecpl
0c259682f6
- Merge devel-framework branch, resolved conflicts
2012-04-13 08:52:02 +00:00
thomascube
c73efcc7bb
Reset IP stored in session when destroying session data ( #1488056 )
2012-04-07 18:25:21 +00:00
thomascube
fec2d8e130
Refactored IMAP cache expunge: delegate to storage object; don't rely on deprecated 'enable_caching' config option
2012-02-21 21:43:39 +00:00
thomascube
7fe3811c65
Changed license to GNU GPLv3+ with exceptions for skins and plugins
2012-01-18 11:10:46 +00:00
alecpl
72ff6ae884
- Simplified compose session data handling, no need for session->cleanup()
2011-12-01 11:06:27 +00:00
thomascube
8c2b883bf0
Fix: decode session data into superglobals after re-reading
2011-11-11 12:12:28 +00:00
thomascube
81f5dd7774
Consider replication delays in session storage
2011-11-09 13:40:23 +00:00
alecpl
d96a15e24f
- Improve performance by skipping redundant SELECT query when writing new session into DB
2011-09-20 07:34:48 +00:00
thomascube
06dc9838e0
Fix session race conditions when composing new messages
2011-09-16 17:53:35 +00:00
alecpl
612eeca739
- Removed leftover code
2011-09-16 17:28:19 +00:00
thomascube
21030324d0
Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers
2011-09-05 19:58:11 +00:00
thomascube
1a716d2d34
Add copyright line on files with significant changes from Kolab Systems
2011-08-24 20:16:14 +00:00
thomascube
fcc7f861b1
Log session validation errors; keep error message when redirecting to login after session error
2011-07-30 15:32:13 +00:00
thomascube
76d4019a35
Get memcache object from rcmail instance
2011-05-18 10:16:36 +00:00
thomascube
ff4ffc6d54
Revert r4746 due to timestsamp issues with mysql; deprecate rcube_mdb2::unixtimestamp()
2011-05-10 07:08:03 +00:00
thomascube
125894d35d
Fix expression
2011-05-02 16:05:02 +00:00
thomascube
638e3459d6
Don't attempt to read session data again if the initial read didn't return a result
2011-04-30 17:01:59 +00:00
thomascube
60a277f1ce
Fix callback reference after rename
2011-04-27 08:34:16 +00:00
alecpl
68f39efb04
- Fix fatal error from last commit ( #1487884 ), rename rcube_gc() to gc()
2011-04-26 07:30:45 +00:00
thomascube
63e9927d5f
Add support for session storage using memcache
2011-04-25 15:44:32 +00:00
thomascube
4591de7018
Prepare for multiple concurrent compose windows
2011-03-10 20:21:21 +00:00
alecpl
c294eaa3f2
- Performance improvement: Remove redundant DELETE query (for old session deletion) on login
2011-03-08 08:40:47 +00:00
thomascube
fb061aaece
Use PHPs session_regenerte_id() instead of using (unreliable) mt_rand() function ( #1486281 )
2011-03-08 08:07:43 +00:00
thomascube
784a425e07
protect login form submission from CSRF using a request token
2011-02-03 22:08:03 +00:00
thomascube
88ca38a356
Keep rcube_session->lifetime and keep_alive in sync
2011-02-02 18:24:14 +00:00
thomascube
cf2da2f9aa
Improve session validity check with changing auth cookies; reduce writes to DB; better phpdoc
2011-01-28 16:44:22 +00:00
thomascube
f5e7b35307
Bumbed version; Roundcube development is not Switzerland only
2011-01-12 18:25:02 +00:00
thomascube
eee6944b5d
Save session data with bas64 ecoding to make it more robust against garbage data ( #1487136 )
2010-11-27 13:59:05 +00:00
alecpl
ca1f564598
- Performance fix for case when session_lifetime=0, fixed indentation
2010-10-08 13:17:28 +00:00
alecpl
e019f2d0f2
- s/RoundCube/Roundcube/
2010-09-25 13:03:53 +00:00
thomascube
d062dbe18c
Add class docuumentation blocks and make phpdoc work again
2010-04-23 14:25:28 +00:00
alecpl
929a508d80
- Improve performance by avoiding unnecessary updates to the session table ( #1486325 )
2010-03-01 19:04:34 +00:00