Commit Graph

14 Commits

Author SHA1 Message Date
Conrad Hoffmann 9670ee1409 Do not show profiles of suspended accounts
This should likely be extended to other services as well, but the hub is
certainly a good point to start.
2024-02-09 11:25:04 +01:00
Drew DeVault c85b4182a6 Revert "users.summary_GET: fetch user details via GQL"
This reverts commit 52c5caecb4.

Breaks access for non-logged-in users.
2024-01-18 11:09:03 +01:00
Drew DeVault 52c5caecb4 users.summary_GET: fetch user details via GQL 2024-01-18 10:53:47 +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
наб dc078f279f Add project tags
Ref: ~sircmpwn/hub.sr.ht#19
2020-09-12 09:10:26 -04:00
наб df5ddcc3cb Test for & display invalid search errors on profile page, too
I was there indeed
2020-09-11 09:56:57 -04:00
Drew DeVault 7d1cb671f3 Better handling of private or unlisted resources 2020-04-29 13:25:49 -04:00
Drew DeVault 216ca85b16 Allow trailing slashes on some routes 2020-04-29 10:46:05 -04:00
Drew DeVault 4a13fa65af users: import abort 2020-04-29 10:15:59 -04:00
Drew DeVault 97a05152fc user profile: fix query error 2020-04-29 10:09:51 -04:00
Drew DeVault 9d9c899d91 User projects list: rig up search 2020-04-28 12:01:33 -04:00
Drew DeVault 55d590a4c4 Add user profile page and projects list 2020-04-28 09:53:14 -04:00
Drew DeVault a3fd75170b Add logged-in user dashboard page 2020-04-27 11:57:50 -04:00
Drew DeVault a50a47f7e6 Initial commit 2020-03-24 10:26:15 -04:00