Apply lowercase dashed url format everywhere

The URLs are all over the place. Due to three kinds of defaults:

  • /updateEvents and /update_events works but /update-events does not, and
  • /update-events/1 and /updateEvents/1 works but /update_events/1 does not.

There are also a bunch of custom routes that do not follow any of the previous three capitalization/interpunction guidelines:

  • /admin/articles/add/CDLB and /articles/cdlb coexist;
  • /admin/CdliTablet is in neither camelCase, snake_case or kebab-case but rather in PascalCase; and
  • /admin/uploads/geturl is simply in lowercase (I would expect /admin/uploads/get-url or /admin/uploads/getUrl).

To fix this I think we need to settle on form of routes. I personally like the hyphenated kebab-case, and I think it is very common in URLs. I find camelCase too asymmetric (visually), and also hard to work with (when editing the cursor does not distinguish the words, as opposed with interpunction). PascalCase is admittedly less asymmetric but in all the rest of the URL is generally lowercase so that looks odd to me. Underscored snake_case has the same technical disadvantages as the two previous ones but does look nicer to me.

This is different from #516 (closed) as that is more about multiple routes for the same resource and inconsistent structure of route elements. However, I think this was discussed before at some point, with @epageperron possibly preferring camelCase if I recall correctly?

Edited by Émilie Pagé-Perron