testmycode / tmc-server

Test My Code exercise server used by e.g. http://mooc.fi/
GNU General Public License v2.0
46 stars 41 forks source link

Allow course name to be used in url instead of course id #254

Open jamo opened 9 years ago

jamo commented 9 years ago

We should support both but default to the one with course name. E.g. instead of https://tmc.mooc.fi/mooc/courses/27 we want to have: https://tmc.mooc.fi/mooc/courses/k2015-ohjelmointi

jamo commented 9 years ago

318 has implemented this functionality. We are waiting for client side changes to allow seamless transition of the url scheme

jamo commented 8 years ago

Or let's allow both to reduce roadblocks.

kasper commented 8 years ago

How about https://tmc.mooc.fi/mooc/courses/27/k2015-ohjelmointi? You could ignore (or validate) the course name, the numeric ID would always be unique and avoid collisions. The existing URLs would stay valid and this would still make the URLs more recognisable and have the same visual advantages. :)

jamo commented 8 years ago

This is actually preparations for the id to uuid migration so we eventually want to completely hide the urls. Otherwise that would have been awesome solution