~sircmpwn/hire.sr.ht

Rename local variable name

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
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>
Add contact_url to profile, to let the hacker use whathever they want

Fixes: https://todo.sr.ht/~renato/hire.sr.ht/24
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hiresrht: add a "view" return link from /profile if updating

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>
hiresrht: make /profile and ~username layout consistent

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
api: fix no result while searching "#c" tag

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hiresrht: raise 404 if username does not exists

Fixes: https://todo.sr.ht/~renato/hire.sr.ht/27
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
hiresrht: Display a message when search comes up empty

Fixes: https://todo.sr.ht/~renato/hire.sr.ht/23
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: style
hiresrht-tags: new utility
Next