Photo Organizer

Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Closed
  • Percent Complete
  • Task Type Feature Request
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Normal
  • Reported Version Stable
  • Due in Version 2.34
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Solomon Peachy (pizza) - 2006-11-09
Last edited by Solomon Peachy (pizza) - 2006-11-13

FS#111 - Use PHP's builtin session support

The builtin session stuff, especially where shared logins are enabled, is rather kludgy.

I'd much rather use PHP's builtin session support, and eliminate PO's cobbled-together one-session-per-user nonsense.

This task does not depend on any other tasks.

Closed by  Solomon Peachy (pizza)
Wednesday, 20 December 2006, 15:25 GMT
Reason for closing:  Implemented
Additional comments about closing:  -devel will become -stable for v2.34, so this is complete.
Solomon Peachy (pizza)
Thursday, 09 November 2006, 13:08 GMT
This depends on the session code being properly centralized, which is ongoing.
Solomon Peachy (pizza)
Thursday, 30 November 2006, 15:03 GMT
The session centralization is complete (2.33-rc)

-devel now uses PHP sessions exclusively; no more po-specific cookies.

There are three regressions:

* Restart of the server may wipe session information (Not much we can do about this..)
* The "shared=off" option no longer works (I intend to remove it)
* Otherwise-valid sessions aren't checked against the database to ensure the user still exists or has appropriate permissions.
Solomon Peachy (pizza)
Thursday, 30 November 2006, 15:35 GMT
Eliminated 'shared' entirely, and all old references to session_id & shared.
Solomon Peachy (pizza)
Friday, 01 December 2006, 05:20 GMT
Migrated all preferences into the global $po_options, which is kept in the session state now.

Not all preference users (especially import-related) use the new paradigm yet..
Solomon Peachy (pizza)
Thursday, 14 December 2006, 17:08 GMT
periodic auth/pref refreshes are now performed properly.