Re: Changes to tag and rest controllers

Bharat Mediratta <[email protected]> Fri, 17 May 2013 07:42:11 -0700
Newsgroups gmane.comp.web.gallery.devel
Message-ID <CAESa+_=bvQmgTpNH23Uy5Gp8==h-NimwPtkQQtTuEc6+-GUobw@mail.gmail.com>
--===============3521131691456254375==
Content-Type: multipart/alternative; boundary=001a11c1d6a87629b404dceaff5b

--001a11c1d6a87629b404dceaff5b
Content-Type: text/plain; charset=ISO-8859-1

Keeping around support for tag/<id> shouldn't be too hard, right?  It just
means that the user-defined slug can't be purely numeric to avoid conflicts.


On Fri, May 17, 2013 at 6:34 AM, Dave Moore <[email protected]> wrote:

> On 2013-05-15 8:29 PM, Bharat wrote:
> >  The tag/<id>/<name> approach was essentially a fix because originally
> > we did tag/<name> but that was causing problems when we tried to map a
> > slugified tag name in the url back into a tag in the database.
> That has been some concern for me and for others as well.  I would be
> nice if we could get to: /tag/<name> without the <id> in the url.  If
> that could be sorted out then that would make some/lots users/me happy.
> I don't know about backwards compatibility with tag/<id>/<name> is
> required or not. I guess it depends on the amount of work required.  I
> guess it would be good or if some workaround in the .htaccess could be
> provided as a fix, that would work as well.
>
> Dave
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> __[ g a l l e r y - d e v e l ]_________________________
>
> [ list info/archive --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]
>
>

--001a11c1d6a87629b404dceaff5b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div style>Keeping around support for tag/&lt;id&gt; s=
houldn&#39;t be too hard, right? =A0It just means that the user-defined slu=
g can&#39;t be purely numeric to avoid conflicts.</div></div><div class=3D"=
gmail_extra">

<br><br><div class=3D"gmail_quote">On Fri, May 17, 2013 at 6:34 AM, Dave Mo=
ore <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">

<div class=3D"im">On 2013-05-15 8:29 PM, Bharat wrote:<br>
&gt; =A0The tag/&lt;id&gt;/&lt;name&gt; approach was essentially a fix beca=
use originally<br>
&gt; we did tag/&lt;name&gt; but that was causing problems when we tried to=
 map a<br>
&gt; slugified tag name in the url back into a tag in the database.<br>
</div>That has been some concern for me and for others as well. =A0I would =
be<br>
nice if we could get to: /tag/&lt;name&gt; without the &lt;id&gt; in the ur=
l. =A0If<br>
that could be sorted out then that would make some/lots users/me happy.<br>
I don&#39;t know about backwards compatibility with tag/&lt;id&gt;/&lt;name=
&gt; is<br>
required or not. I guess it depends on the amount of work required. =A0I<br=
>
guess it would be good or if some workaround in the .htaccess could be<br>
provided as a fix, that would work as well.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Dave<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
---------------------------------------------------------------------------=
---<br>
AlienVault Unified Security Management (USM) platform delivers complete<br>
security visibility with the essential security capabilities. Easily and<br=
>
efficiently configure, manage, and operate all of your security controls<br=
>
from a single console and one unified framework. Download a free trial.<br>
<a href=3D"http://p.sf.net/sfu/alienvault_d2d" target=3D"_blank">http://p.s=
f.net/sfu/alienvault_d2d</a><br>
__[ g a l l e r y - d e v e l ]_________________________<br>
<br>
[ list info/archive --&gt; <a href=3D"http://gallery.sf.net/lists.php" targ=
et=3D"_blank">http://gallery.sf.net/lists.php</a> ]<br>
[ gallery info/FAQ/download --&gt; <a href=3D"http://gallery.sf.net" target=
=3D"_blank">http://gallery.sf.net</a> ]<br>
<br>
</div></div></blockquote></div><br></div>

--001a11c1d6a87629b404dceaff5b--


--===============3521131691456254375==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
--===============3521131691456254375==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
--===============3521131691456254375==--