-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add user interface #56
Commits on Sep 20, 2024
-
Add routes to serve each page from the UI build.
Configuration menu - View commit details
-
Copy full SHA for 5ed7640 - Browse repository at this point
Copy the full SHA 5ed7640View commit details
Commits on Sep 24, 2024
-
Bump
litestar -> litestar~=2.11
Latest Litestar includes `SecretString` type.
Configuration menu - View commit details
-
Copy full SHA for 7a3f952 - Browse repository at this point
Copy the full SHA 7a3f952View commit details -
Create auth-protected pages and endpoints
Pages are protected by custom auth middleware and endpoints are protected by an auth "guard". At start up, we generate a random authorization token and print it to the console. To log in, users must provide the token to the `login` endpoint. In the UI, this can be accomplished with a post `fetch` request setting `redirect` to "follow" and manually handling the redirect: ```javascript if (resp.redirected) { window.location.href = resp.url; } ``` We use built-in cookie-based session middleware to keep track of whether users are logged in or not. A user is authenticated if their request contains a session with `token=AUTH_TOKEN`. In `DEV_MODE`, use secret token "test" to authorize.
Configuration menu - View commit details
-
Copy full SHA for 3056783 - Browse repository at this point
Copy the full SHA 3056783View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 35d9926 - Browse repository at this point
Copy the full SHA 35d9926View commit details -
Configuration menu - View commit details
-
Copy full SHA for a08c6ca - Browse repository at this point
Copy the full SHA a08c6caView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb85559 - Browse repository at this point
Copy the full SHA fb85559View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cda8f7 - Browse repository at this point
Copy the full SHA 4cda8f7View commit details
Commits on Oct 1, 2024
-
This commit relocates `app` from `__init__.py` to `asgi.py`. For a minimal application, `__init__.py` is a reasonable location (and one of the locations where Litestar automatically checks for an `app`), but for a more complex application where we are importing objects from `src/app`, this location becomes problematic.
Configuration menu - View commit details
-
Copy full SHA for bd85aef - Browse repository at this point
Copy the full SHA bd85aefView commit details
Commits on Oct 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f53879b - Browse repository at this point
Copy the full SHA f53879bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f529cfd - Browse repository at this point
Copy the full SHA f529cfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 047a84a - Browse repository at this point
Copy the full SHA 047a84aView commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e15c976 - Browse repository at this point
Copy the full SHA e15c976View commit details -
Configuration menu - View commit details
-
Copy full SHA for b50aa4e - Browse repository at this point
Copy the full SHA b50aa4eView commit details -
Clean up
speech_recognition_slurm.sh
Fixes volume mount and image path.
Configuration menu - View commit details
-
Copy full SHA for d6df7f6 - Browse repository at this point
Copy the full SHA d6df7f6View commit details -
Clean up
text_generation_local.sh
Forwards port and uses service `name` instead of `job_id`.
Configuration menu - View commit details
-
Copy full SHA for f0b295e - Browse repository at this point
Copy the full SHA f0b295eView commit details -
Merge branch 'user-interface' of https://github.com/princeton-ddss/bl…
…ackfish into user-interface
Configuration menu - View commit details
-
Copy full SHA for c51823d - Browse repository at this point
Copy the full SHA c51823dView commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 460ed77 - Browse repository at this point
Copy the full SHA 460ed77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 805f5b2 - Browse repository at this point
Copy the full SHA 805f5b2View commit details