summaryrefslogtreecommitdiff
path: root/cherrypy/lib/sessions.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid hard-coded address in memcache sessionsJason R. Coombs2018-09-091-1/+1
|
* Remove reliance on contextlib2Jason R. Coombs2018-09-021-3/+2
|
* Remove reliance on sixJason R. Coombs2018-09-021-7/+2
|
* Replace lockfile with zc.lockfile. Ref #1193.Jason R. Coombs2018-08-141-5/+13
|
* Fix property settersSviatoslav Sydorenko2018-05-261-1/+1
|
* Upgrade @property decorator syntaxSviatoslav Sydorenko2018-05-261-2/+4
|
* Remove 'max-age' when expiring cookiesCarey Metcalfe2017-11-221-0/+1
| | | | | | | | | | | | | According to [RFC 6256]: > If a cookie has both the Max-Age and the Expires attribute, the > Max-Age attribute has precedence and controls the expiration date of > the cookie. Therefore, when attempting to expire the current session cookie by setting the `expires` property to a value in the past, the `max-age` needs to be removed so that it doesn't override the new `expires` value. [RFC 6256]: https://tools.ietf.org/html/rfc6265#section-4.1.2.2
* Regarding E305, honor the style guide rather than suppressing errors.Jason R. Coombs2017-10-291-2/+6
|
* Remove long-deprecated legacy 'has_any' methods on mappings.Jason R. Coombs2017-10-281-7/+0
|
* Feed the hobgoblins (delint).Jason R. Coombs2017-10-271-3/+13
|
* Added note to documentation about sessions when more than one app is onMichael Mulqueen2017-07-131-0/+11
| | | | a single domain.
* Spelling fixesVille Skyttä2017-07-101-1/+1
|
* Use six for pickle moduleJason R. Coombs2017-07-091-1/+1
|
* Inline only use of 'random20'Jason R. Coombs2017-07-091-2/+3
|
* Replace iteritems with six usage.Jason R. Coombs2017-07-081-2/+4
|
* PEP8fy codebase: eliminated W503 flake8 errorSviatoslav Sydorenko2017-03-121-4/+3
|
* PEP8fy codebase: eliminated E128 flake8 errorSviatoslav Sydorenko2017-03-111-2/+1
|
* PEP8fy codebase: eliminated E305 flake8 errorSviatoslav Sydorenko2017-03-111-2/+2
|
* Move MSIE hack into its own function and prefer max-age as the key for ↵Jason R. Coombs2017-01-231-7/+13
| | | | expiring a session cookie. Fixes #794.
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-27/+27
| | | | pre-commit run double-quote-string-fixer --all-files
* Implement storage_class keyword-only argument for Sessions, deprecating ↵Jason R. Coombs2016-09-031-8/+25
| | | | storage_type parameter. Ref #1488.
* Remove unused importJason R. Coombs2016-09-031-2/+0
|
* Drop support for python-memcached<1.58 (#1476)Sviatoslav Sydorenko2016-08-281-14/+0
| | | | | | Fix #1453, close #1447 * Drop support for python-memcached<1.58 * Add memcached-session to extras
* Use decorators where appropriate.Jason R. Coombs2016-08-031-2/+2
|
* Replaced 'unicodestr' with 'six.text_type'Jason R. Coombs2016-06-051-2/+4
|
* Remove PostgresqlSession class. Fixes #748.Jason R. Coombs2016-05-011-89/+1
|
* Replace references to bitbucket tickets with references to github tickets. ↵Jason R. Coombs2016-04-301-1/+1
| | | | Ref #1410.
* Merged in shroom/cherrypy (pull request #50)Jason R. Coombs2014-09-131-6/+10
|\ | | | | | | Fix race condition in session clean up.
| * Fix race condition in session clean up.Mateusz Pachocki2013-09-301-6/+10
| |
* | Use is_iterator function to determine if the response content is iterable, ↵Allan Crooks2014-04-151-1/+2
| | | | | | | | | | | | | | rather than just testing if it is a generator. This is in preparation for a fix for #1288. Note - we could test against collections.Iterator, but this seems like a cleaner way of doing it for now.
* | Merge more robust platform-independent locking technique. Fixes #1122.Jason R. Coombs2014-02-231-1/+16
|\ \
| * | Removed comment (suggesting a different intent)Jason R. Coombs2012-02-051-1/+0
| | |
| * | Added session id to LockChecker constructionJason R. Coombs2012-02-051-1/+1
| | |
| * | Renamed lock_util to locking.pyJason R. Coombs2012-02-051-2/+2
| | |
| * | Initial draft of a lock timeout on file sessionsJason R. Coombs2012-02-041-1/+17
| | |
* | | More PEP8 work.Gustavo Picon2014-01-121-12/+19
| | |
* | | Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-20/+43
| |/ |/| | | | | | | --HG-- branch : autopep8
* | No longer store the locks at the class level. Simply store them at the ↵Jason R. Coombs2013-09-291-12/+3
| | | | | | | | instance level. This greatly simplifies the implementation and also prevents failures in concurrency.
* | Merge more robust platform-independent locking technique, referencing #1122.Jason R. Coombs2013-09-291-17/+12
|\ \
| * | Add 'remove' method to lockfile, to attempt to remove the lockfile, usually ↵Jason R. Coombs2013-09-291-1/+4
| | | | | | | | | | | | after unlocking it. This fixes a failing test that asserts the lockfiles have been removed.
| * | Implementing platform-assisted locking support for more robust locking behavior.Jason R. Coombs2012-01-311-18/+9
| |/
* | Expanded paragraph on the default session locking behaviorSeth House2013-08-281-1/+6
| |
* | Fix session closing bug introduced in d777650d57e6Joseph Tate2013-03-291-1/+1
| |
* | Fix compatibility issues with python3 in the last changes. Close issue #1236Joel Rivera2013-03-251-3/+3
| |
* | A little more debugging for cherrypy sessions, AND for file based sessions, ↵Joseph Tate2013-03-201-1/+6
| | | | | | | | fail early if the session is accessed while not locked.
* | Better debug output from the session tool.Robert Brewer2013-03-201-6/+57
| |
* | Fix ticket URLs from http://www.cherrypy.org/ticket/XYZ toMichiel Overtoom2012-06-211-1/+1
|/ | | | https://bitbucket.org/cherrypy/cherrypy/issue/XYZ
* Resaved with excess whitespace removedJason R. Coombs2012-01-301-119/+119
|
* Fixed #1074 (Provide an overrideable method to generate 'now' values within ↵Robert Brewer2011-10-151-6/+14
| | | | Session providers)
* Fixed #1075 (MemcachedStringEncodingError when using memcached sessions ↵Robert Brewer2011-10-151-1/+14
| | | | storage type)