Commit Graph

25 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
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
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 a1c9c80b29 Submit patches to builds.sr.ht 2020-07-13 13:30:28 -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 a32c72e135 Revert "Fix circular dependency on project deletion"
This reverts commit 8aa3a33e9b.
2020-04-30 10:11:00 -04:00
Drew DeVault 8aa3a33e9b Fix circular dependency on project deletion 2020-04-30 10:04:14 -04:00
Drew DeVault 7d1cb671f3 Better handling of private or unlisted resources 2020-04-29 13:25:49 -04:00
Drew DeVault 102fca490c Implement featured projects 2020-04-28 14:08:56 -04:00
Drew DeVault 7c3bb9fc0f Add events for todo.sr.ht tickets 2020-04-23 11:33:08 -04:00
Drew DeVault 89a2e3ac9f Rig up Mercurial support 2020-04-06 13:21:13 -04:00
Drew DeVault af43379a80 Implement project deletion
And fix all of the cascades on the database relationships

Fuck SQLAlchemy
L
2020-04-02 13:14:35 -04:00
Drew DeVault 2ec9808304 Add project config page 2020-04-02 12:55:05 -04:00
Drew DeVault cbc4326657 Implement dismissal of new project checklist 2020-04-02 11:48:41 -04:00
Drew DeVault ae7768cc70 Implement bug tracker addition 2020-04-02 09:24:29 -04:00
Drew DeVault b98a88e47f Stub out todo.sr.ht support 2020-04-01 18:51:14 -04:00
Drew DeVault 6e3810a76c Implement repository removal/deletion 2020-04-01 14:47:54 -04:00
Drew DeVault 74d8068b44 Add event tracking 2020-03-25 19:17:53 -04:00
Drew DeVault f0f753bfd3 Add basic mailing lists support 2020-03-25 11:18:18 -04:00
Drew DeVault 2aedc53e7f Add page listing source repos for project 2020-03-24 12:14:02 -04:00
Drew DeVault a50a47f7e6 Initial commit 2020-03-24 10:26:15 -04:00