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
    100%
  • Task Type Feature Request
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Normal
  • Reported Version Devel
  • Due in Version 2.36
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Solomon Peachy (pizza) - 2007-11-14
Last edited by Solomon Peachy (pizza) - 2008-02-19

FS#302 - Prettier URLs

This will requrie the likes of mod_rewrite, but I'd really prefer to have something like:

http://somwehere.com/po/photo/8375309

http://somwehere.com/po/user/somebody

http://somewhere.com/po/photo/8375309/album/1412

http://somewhere.com/po/photo/8375309/version/6345789

Unfortunately to do this, all URL generation would need to be centralized into a single set of functions, with argument sets passed in as parameters. (This is a good idea in general, FWIW...)

This task does not depend on any other tasks.

Closed by  Solomon Peachy (pizza)
Tuesday, 19 February 2008, 02:53 GMT
Reason for closing:  Implemented
Additional comments about closing:  It's as good as it's going to get for now.
Solomon Peachy (pizza)
Monday, 03 December 2007, 18:59 GMT
Let's not forget things like:

/tag/XXXX --> search for tag/keyword 'XXXX'

also, it should be /photo/###:#### if a version is desired; I'd rather just skip the explicit version thing.
Solomon Peachy (pizza)
Wednesday, 13 February 2008, 23:28 GMT
  • Field changed: Due in Version (Undecided → 2.36)
A lot of work has gone into this already. It's definitely 2.36 material at this point.

Ongoing work involves moving URL generation into a single place. Once that's done with no regressions, we can add a "pretty URLs" config option.

Working:

http://somewhere.com/po/user/pizza
http://somewhere.com/po/user/2
http://somewhere.com/po/folder/220
http://somewhere.com/po/album/199
http://somewhere.com/po/photo/12345 # view master version
http://somewhere.com/po/photo/12345:67890 # view specific version

To-do:

/search/blabla
/tag/blabla
/image/12345:67890-3
/photo/12345-3 # the -X refers to the size code!
Solomon Peachy (pizza)
Wednesday, 13 February 2008, 23:30 GMT
also, /folder/some_text_here and /album/some_text_here should redirect to the search_folder page.

Perhaps /search/folder/blabla instead? what about /search/user/blabla or /user/blabla/search?
Solomon Peachy (pizza)
Tuesday, 19 February 2008, 01:14 GMT
r1921 has folder, user, album, photo, and image.display URLs prettified, and all internal references fixed too.

Further work will probably not happen.

Loading...