- Status Closed
- Percent Complete
- Task Type Feature Request
- Category Backend / Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Devel
- Due in Version 2.36
-
Due Date
Undecided
- Votes
- Private
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...)
Closed by pizza
2008-02-19 02:53
Reason for closing: Implemented
Additional comments about closing: It's as good as it's going to get for now.
2008-02-19 02:53
Reason for closing: Implemented
Additional comments about closing: It's as good as it's going to get for now.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.
http://www.calevans.com/view.php/page/tagcloud
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!
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?
r1921 has folder, user, album, photo, and image.display URLs prettified, and all internal references fixed too.
Further work will probably not happen.