Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a mechanism for saving data server AND client-side #30

Open
encukou opened this issue Jan 26, 2012 · 0 comments
Open

Provide a mechanism for saving data server AND client-side #30

encukou opened this issue Jan 26, 2012 · 0 comments

Comments

@encukou
Copy link
Contributor

encukou commented Jan 26, 2012

Reported by Eevee on 2010/09/12 02:34:34 +0000 · Migrated from Redmine issue 358


That is: do what spline-frontpage already does in Python land, and give me a javascript function that will use a cookie for guests or the user stash for logged-in users.

The tricky bit is making it work whether or not spline-users is loaded; probably needs a stub in core that just sets a cookie.

The other potentially tricky bit is making sure the Right Thing happens when someone logs in—i.e., has both a cookie and something user-side. Either have some mechanism for one way to “win” (e.g., frontpage takes the later of two dates), or just decide that one always wins. Or prefer the cookie, save it automatically, and then delete it. Or.. whatever.

Redmine metadata:
Updated on: 2011/04/21 02:55:44 +0000
Start date: 2010/09/12

Comment by Eevee from 2010/10/07 02:00:19 +0000

Target version: 2010 Q3 ⇨ —

Comment by Eevee from 2010/10/08 08:02:17 +0000

Assignee ⇨ —

Comment by Anonymous from 2011/02/14 07:54:55 +0000

(elided; spam)


Comment by Eevee from 2011/04/21 02:55:16 +0000

Project: spline-users ⇨ spline

Comment by Eevee from 2011/04/21 02:55:44 +0000

category_id: None ⇨ 36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant