Commit Graph

6 Commits

Author SHA1 Message Date
Adnan Maolood 638a05c8df hubsrht: Expect valid canonical name in URLs 2022-09-06 15:39:24 +02:00
Adnan Maolood 16dea8ac4d hubsrht: Match projects case-sensitively 2022-07-06 10:29:31 +02:00
Conrad Hoffmann d637723564 Uppercase the Visibility enum keys
There is currently a mismatch, causing for example project creation via
the web interface to fail, because the validation code is using the enum
keys, which are lowercase, but everything else uses uppercase.

Simply use uppercase everywhere, like already the case in other
services.
2022-07-01 09:18:57 +02:00
Sol Fisher Romanoff 1426569187 Make project names match [A-Za-z0-9._-]+
Project names in URLs are now case-insensitive --
This might break existing projects.

Also prohibits use of '.git' and '.hg' as project names.
2021-08-11 09:41:50 +02:00
Drew DeVault b5af713dcc projects.py: fix visibility import 2020-04-29 10:07:47 -04:00
Drew DeVault a50a47f7e6 Initial commit 2020-03-24 10:26:15 -04:00