Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#302 - Prettier URLs

Attached to Project: Photo Organizer
Opened by Solomon Peachy (pizza) - Wednesday, 14 November 2007, 22:15 GMT
Last edited by Solomon Peachy (pizza) - Tuesday, 19 February 2008, 02:53 GMT
Task Type Feature Request
Category Backend / Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Devel
Due in Version 2.36
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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 depends upon

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.
Comment by 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.
Comment by Solomon Peachy (pizza) - Monday, 03 December 2007, 19:42 GMT Comment by 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!
Comment by 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?
Comment by 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...