|
1.16 (+3 -3 lines) |
07/10/2008 07:00 PM |
Michael Rubinsky mrubinsk |
Changes in URL generation/rewrite rules for gallery slugs.
for gallery ids
ansel/gallery/id/10 gallery view
ansel/galelry/id/10/100 image view
ansel/gallery/id/10/rss rss
urls for galleries with slugs remain unchanged. |
|
1.15 (+2 -2 lines) |
05/27/2008 11:32 AM |
Michael Rubinsky mrubinsk |
remove the 'image/' part of the url path in pretty URLs. It's not really
needed and makes for prettier, more concise URLs. ansel/gallery/100/120
will link to imageId of 120 in gallery 100. |
|
1.14 (+0 -2 lines) |
05/26/2008 02:37 PM |
Michael Rubinsky mrubinsk |
- revert the /page/x url rewrite rules
- remove callback function that created the /page/x urls for the pager.
(Still allow callbacks to be defined from the api so other web apps
can define their own URL schema)
- Always pass the page value in the params instead of checking GET
parameters from the Renderer |
|
1.13 (+2 -0 lines) |
05/24/2008 06:06 PM |
Michael Rubinsky mrubinsk |
- Delegate the rendering of gallery views to a Ansel_View_Renderer_* class
and make Ansel_Gallery_View responsible for knowing what Renderer to
instantiate based on the style we are requesting. This helps keep the URLs
clean and pretty as we no longer have to pass around the view in the url
when not using the "default" gallery view. (GalleryLightbox for instance)
- Pass a callback function to the Pager that re-writes the urls to something
like: horde/ansel/gallery/1/page/1 instead of tacking the page onto the URL
as a GET parameter. If not using "pretty" url generation, the callback is
not set, and of course, a callback can also be specified via the api. |
|
1.12 (+1 -0 lines) |
05/10/2008 06:25 PM |
Chuck Hagenbuch chuck |
add a missing rewrite rule for viewing images with the gallery specified by slug |
|
1.11 (+2 -2 lines) |
05/06/2008 09:39 PM |
Chuck Hagenbuch chuck |
Remove references to deprecated list.php. |
|
1.10 (+1 -1 lines) |
03/15/2008 11:00 PM |
Chuck Hagenbuch chuck |
Can't have a space here. |
|
1.9 (+1 -0 lines) |
03/14/2008 08:49 PM |
Michael Rubinsky mrubinsk |
Some more rewrite rules, add lots more Ansel::getUrlFor() calls in place
of Horde::applicationUrl(). Some of these I missed the first time, some
I didn't have the getUrlFor controller ready... |
|
1.8 (+3 -2 lines) |
03/11/2008 01:02 PM |
Michael Rubinsky mrubinsk |
- Add links to group.php to allow easier switching between different
groupings - also saves the new choice into user prefs.
- Tweak htaccess rules - make sure query strings are passed everywhere
we might need them (for page numbers, for instance) |
|
1.7 (+1 -1 lines) |
03/10/2008 04:58 PM |
Michael Rubinsky mrubinsk |
typo |
|
1.6 (+2 -0 lines) |
03/10/2008 04:20 PM |
Michael Rubinsky mrubinsk |
Missed the htaccess rules |
|
1.5 (+2 -0 lines) |
03/05/2008 01:50 PM |
Michael Rubinsky mrubinsk |
Pretty url generation / usage for simple tag searches.
(i.e. /path/to/ansel/tag/tagname and /path/to/ansel/tag/tagname/rss) |
|
1.4 (+5 -3 lines) |
03/01/2008 06:24 PM |
Michael Rubinsky mrubinsk |
First round of changes for using the new $conf['urls']['pretty'] parameter.
Probably still places to change URL generation, and needs to be tested
on Apache - in particular need to check if additional query strings
are passed along to the rewritten url, as I assume the QSA switch does... |
|
1.3 (+4 -1 lines) |
02/17/2008 03:17 PM |
Michael Rubinsky mrubinsk |
Allow rss.php to take a gallery slug, add rewrite rules for generating rss
feeds from pretty urls such as:
ansel/user/mike/rss
ansel/gallery/galleryslug/rss
ansel/gallery/gallery_id/rss |
|
1.2 (+2 -0 lines) |
02/14/2008 05:39 PM |
Michael Rubinsky mrubinsk |
Some initial rewrite rules for slugs and support in Ansel_View_Gallery::
to deal with them.
I'm in the process of setting up a dev apache box, but can someone verify
these rules again, pretty please ;)
(ansel/gallery/slugname or ansel/gallery/gallery_id should both work) |
|
1.1 |
02/14/2008 02:00 PM |
Michael Rubinsky mrubinsk |
rewrite rules for ansel/user/mike => ansel/list.php?groupby=owner&owner=mike
I'm a lightty guy, so can someone verify this is valid syntax for apache? |