Feature #2275
closed
But I have to say that not all URLs will be "nicer". The wiki name will likely be longer (/project/projectname/wiki/wikipage instead of /wiki/projectname/wikipage )...
Well, I was not requesting the other URLs to change. Just that this new one be added to provide nice links for the project. See that as an 'alias' in apache.
But it seems the RESTfull stuff would indeed be a big step toward what I'm asking for.
If there is interest, I can easily change my patch (#1901) to generate urls like /ecookbook/issues
, /ecookbook/wiki/page
etc. That would not strictly follow Rails' URL conventions, but I think its well worth it for added readability. It would not preclude a Rails-style API for projects either (there would still be a /projects collection for managing them)
- Status changed from New to Closed
- Resolution set to Wont fix
Gerrit Kaiser wrote:
That would not strictly follow Rails' URL conventions, but I think its well worth it for added readability.
I'd rather keep the urls using Rails' conversions. That will make them easier to figure out for people with experience with Rails and also would make scripting the urls so much easier (e.g. ActiveResource).
What might be useful is what Thomas said with "(yes, this can be done from apache redirect stuff of course)". Someone could build a plugin that would allow an administrator to enter urls to handle and destinations for those urls. Then the administrator could decide any url scheme they want (and override the built in ones for SSO, etc):
Example:
Thomas, would that be a good solution for you?
Yes, the plugin would be really great. What I dont like with the apache redirect idea it that one (or several) new redirect rules need to be added by the apache administrator for each new project.
If it is possible to do that for the redmine admin (as opposed to the apache admin) through a plugin, that would be fine.
Also, the recently commited #1901 probably answers at least partially to this need (see comment 9 for #1901), i still need to test it.
Thanks
Also available in: Atom
PDF