yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59800
[Bug 1329369] Re: Refactoring: support session/cookie getters and setters
Reviewed: https://review.openstack.org/155939
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=00958cd40df2c90d3d6d1fc889c82e9dca651856
Submitter: Jenkins
Branch: master
commit 00958cd40df2c90d3d6d1fc889c82e9dca651856
Author: Ana Krivokapic <akrivoka@xxxxxxxxxx>
Date: Sat Feb 14 01:47:41 2015 +0100
Add generic session/cookie value getters/setters
Change-Id: I116b67da2c8acd05b2ec05791875cad3c6f7bb2d
Closes-Bug: #1329369
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1329369
Title:
Refactoring: support session/cookie getters and setters
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
In
https://github.com/openstack/horizon/blob/master/horizon/utils/functions.py,
there is a function called get_page_size() which is used to get the
value of the page size parameter from the session and/or cookie. We
should refactor this part of code, by adding a pair of generic
getter/setter functions which can be used to get arbitrary values from
the session/cookie. More specific functions which deal with particular
session/cookie values in specific ways can then be implemented, and
they will call the generic getters/setters.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1329369/+subscriptions
References