You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Comment by Eevee from 2010/10/07 02:00:19 +0000
Comment by Eevee from 2010/10/08 08:02:17 +0000
Comment by Anonymous from 2011/02/14 07:54:55 +0000
(elided; spam)
Comment by Eevee from 2011/04/21 02:55:16 +0000
Comment by Eevee from 2011/04/21 02:55:44 +0000
The text was updated successfully, but these errors were encountered: