Commit Graph

11 Commits

Author SHA1 Message Date
Vlad-Stefan Harbuz fb56d7ba60 add project RSS feed
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
2023-02-22 09:18:52 +01:00
Adnan Maolood 0f2393ea80 hubsrht: Use canonical user IDs
Update user IDs across all of hub.sr.ht to match those of meta.sr.ht.
2022-10-25 11:00:27 +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
Drew DeVault c53d26260f Fix up previous migration 2022-06-29 17:40:59 +02:00
Adnan Maolood ab821d423a hubsrht: Add visibility enum 2022-06-29 17:22:53 +02:00
Drew DeVault 31854be734 Syncronize nullable constraints with service policy 2021-01-18 15:24:59 -05:00
Denis Laxalde 4e5be22783 Make source repo unique by project
We add a unique constraint on source_repo table to prevent multiple
links of the same remote repository to a given project.

The UI already prevents duplicates (from ef585b6e) but it seems better
to enforce this in the database model.
2021-01-11 09:10:59 -05:00
наб dc078f279f Add project tags
Ref: ~sircmpwn/hub.sr.ht#19
2020-09-12 09:10:26 -04:00
Drew DeVault 1880cef710 Remove non-null constraint from repo description 2020-06-18 09:47:59 -04:00
Drew DeVault 5fc74fec4c Remove length limit on resource descriptions
The upstream services are the authority on these
2020-04-30 15:37:26 -04:00
Drew DeVault 7d1cb671f3 Better handling of private or unlisted resources 2020-04-29 13:25:49 -04:00