hiresrht: do not unpublish while pressing <ret> on the form inputs
This re-order the submit buttons to move listed=on first, if already
listed. This also adapt the labels to make things explicit.
This add listed in Profile, which is pointless while querying a list of
Profile, but is mandatory to adapt the gui accordingly, when querying
it with username.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hiresrht: add an "edit" link to /profile if this is the current_user
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
api: fix 500! if there is no PopularTags
Without this exclamation mark, the API return None instead of [], even
if this is what PopularTags returns.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hiresrht: add a dashboard
hiresrht: flesh out the profile pages
hiresrht: add support for removing profile images
hiresrht: update GQL code per API changes
hiresrht: paywall certain routes
hiresrht: remove extraneous HTML attributes
hiresrht: use url_for instead of hardcoded URLs
hiresrht: change the profile edit page header conditionally
hiresrht-tags: new utility