gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03b5bb0803b5bb08W39 report to reports/, drop scratch repro, mission + logmre03b5bb08/components/loginfailed.hl

942 B

  1. // components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK (gitoria#16; was a hand-built HTML page in
  2. // project.hl). The login button's return (lib/api.hl loginCallback, a function route: it must answer with a
  3. // redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.
  4. parent './main.hl'
  5. import { siteName } from '../project.hl'
  6. import { publicUrl } from '../lib/util.hl'
  7. session = null
  8. why = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'
  9. mainHref = publicUrl + '/'
  10. __title = 'Login failed · ' + siteName
  11. View {
  12. repoPage {
  13. h1 { id = "loginfailed" "Login failed" }
  14. p { id = "error" class = "message" why }
  15. p { a { id = "home" href = mainHref "back to gitoria" } }
  16. }
  17. }
  18. Style {
  19. #home {
  20. display = 'inline-flex'
  21. alignItems = 'center'
  22. minHeight = '2.75rem'
  23. }
  24. }

Branches

Latest commits

  • 03b5bb08W39 report to reports/, drop scratch repro, mission + logmre
  • 154d333fMerge w39-create-api: POST /api/repos with a user token (#39)mre
  • 149dd512Rewrite W39 reportmre
  • e5385075Expect 401 for POST /api/repos without a tokenmre
  • 1a76055cDocument repository creation APImre
  • 4d779b3bAdd create-api gatemre
  • 88563122Add POST /api/repos for user tokensmre
  • b00860e3Create repositories with member checks in createRepoInmre
  • 0a38f236Report repository creation API blockermre
  • b5f72187Record malformed JSON blocker for repository creationmre
  • a2ae8302logmre
  • 6947cd58logmre
  • 2175e48clogmre
  • 40eb3ca1gitoria#38: review package, logmre
  • 06a5a50egitoria#38: deploy b8252ca, logmre
  • b8252ca0gitoria#46: W46b report, logmre
  • 50093aafgitoria#46: statuses keyed by app + context (merge w46b-keyed)mre
  • dd0267edgitoria#46: fix a label in the keyed gatemre
  • b1dcb580gitoria#46: statuses keyed by app + context, required = app + context, old rows still readmre
  • 2287363egitoria#47: W47 report, logmre