Commit Graph

46 Commits

Author SHA1 Message Date
Keith Stevens dca0ba1774 Fixing most of the eslint warnings in the web code 2023-01-07 19:57:59 +09:00
jojopirker ad7ccb21d8 Merge branch 'LAION-AI:main' into messageNavigation 2023-01-06 16:43:50 +01:00
Keith Stevens d182f6f093 Merge pull request #441 from LAION-AI/236-admin-role
Creating a role field for Users #236
2023-01-06 21:21:28 +09:00
Keith Stevens 7e517db934 Fixing the type errors when updating the jwt and session with a role 2023-01-06 20:19:02 +09:00
Keith Stevens 498daef9d3 Creating a role field for Users and seeding it everytime a user logs in based on a shortlist 2023-01-06 20:01:02 +09:00
jojopirker a822db11a7 pre-commit 2023-01-06 11:55:31 +01:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
klotske a4e8d829b1 Implement interaction in oasst_api 2023-01-05 23:27:44 +03:00
jojopirker d0bc720761 inital try for navigation messages trees
should be redone probably in a recursive way...
2023-01-05 12:17:45 +01:00
Keith Stevens 38fec237d0 Merge pull request #342 from jack-michaud/jm/contract-tests-for-website
refactor + test: add OasstApiClient in website with tests
2023-01-05 19:30:47 +09:00
jojopirker 173356929a removed content-type 2023-01-04 20:09:03 +01:00
jojopirker 910c1c88ce pre-commit 2023-01-04 15:42:51 +01:00
jojopirker b08e1b986a split api into multiple files 2023-01-04 15:19:46 +01:00
jojopirker dba693ee85 using avatar instead of image & pre-commit 2023-01-04 15:13:08 +01:00
jojopirker b24bfd1d74 new page to display recent messages 2023-01-04 15:02:45 +01:00
Jack Michaud bdcfae54fc docs: update TODOs to include issue numbers 2023-01-04 08:04:27 -05:00
Jack Michaud 7b5f702a00 docs: add TODOs 2023-01-03 20:54:49 -05:00
Jack Michaud 91099657fe refactor: move new task's oasst api fetching into OasstApiClient 2023-01-03 17:11:28 -05:00
Jac-Zac 8e6af17612 Fixing username not updating 2023-01-03 15:27:37 +01:00
Keith Stevens dbfa77e8b7 Fixing some small merge issues and ensure docker runs the backend properly 2023-01-03 15:01:24 +09:00
Desmond Grealy e546eaa070 one more fix for header border-bottom. Also fixed some eslint whine 2023-01-02 21:09:37 -08:00
croumegous 47ffd40d38 fix(frontend): fix invalid json error when HTTP response is 204 2023-01-03 00:44:07 +01:00
Keith Stevens 41e509405b Merge pull request #199 from croumegous/fix-lint-build
Fix linter warnings
2023-01-01 10:46:21 +09:00
croumegous 8c79cadbb1 chore: manually fix linter warning 2022-12-31 18:27:08 +01:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
Yannic Kilcher 4a4cf3c3a6 saving user to the dabase when using the debug credentials provider 2022-12-31 17:32:02 +01:00
Keith Stevens b8fcb4df8f Update all the task pages to fetch a new taks after submission 2022-12-31 18:24:50 +09:00
Desmond Grealy 3aaf45a8c8 ("post_rating" -> "message_rating") ("post_ranking" -> "message_ranking") 2022-12-30 17:37:28 -08:00
Desmond Grealy 5b787b8ad7 (post_id -> message_id), (user_post_id -> user_message_id) 2022-12-30 17:31:09 -08:00
Yannic Kilcher 0acacf33fe Merge branch 'main' into add-debug-skip-password-env 2022-12-29 13:34:28 +01:00
rsandb 62f326f51a clean up changes 2022-12-28 13:01:02 -06:00
Yannic Kilcher cbcbe8d708 added environment variable DEBUG_LOGIN to display debug credentials provider even in production mode 2022-12-28 17:33:33 +01:00
rsandb 5e27695c47 Merge remote-tracking branch 'upstream/main' 2022-12-27 17:29:11 -06:00
rsandb de869033bf updated avatar component name, added ability to change username (only works server side for now), updated signin page, updated Footer
Still working on the account settings page but didn't want to get behind on commits.
2022-12-27 13:00:32 -06:00
Yannic Kilcher d8a5937b9a removed boolean dependency 2022-12-27 13:59:00 +01:00
Yannic Kilcher 2a814b5b0b Update website/src/pages/api/auth/[...nextauth].ts
Co-authored-by: Ville Lahdenvuo <tuhoojabotti@gmail.com>
2022-12-27 13:57:55 +01:00
Yannic Kilcher d9dec84818 using debug credentials provider whenever development mode is active 2022-12-27 00:14:50 +01:00
Yannic Kilcher 5125e84055 created debug credentials provider 2022-12-26 16:13:43 +01:00
Yannic Kilcher 6452bb860d moved bot to discord-bot
added playbook to deploy dev machine

added playbook to deploy dev machine

added next.js font module, updated fonts, updated login page

replaced logos, changed logo on login and header

added 404 and email confirmation pages, changed discord and github buttons to show conditionally

also removed unused imports, fixed one spelling error, and minor styling changes

Quick format to the authenticated user page, updated header with user profile, styling updates

fixed html encoding

added checkout for release

re-vamped release config and ports
2022-12-25 11:35:54 +01:00
rsandb b75d330521 added 404 and email confirmation pages, changed discord and github buttons to show conditionally
also removed unused imports, fixed one spelling error, and minor styling changes
2022-12-24 11:40:01 -06:00
rsandb 5f12baa440 added next.js font module, updated fonts, updated login page 2022-12-23 16:10:59 -06:00
Keith Stevens c056a31d2f Ensuring the website can be built and deployed fully in docker. This includes an end to end docker-compose configuration as a simple demonstration. 2022-12-20 20:28:53 +09:00
Keith Stevens 2eda464fec Dropping the fixed verification token until that's more stable 2022-12-20 16:34:19 +09:00
Keith Stevens 29246cf756 Dropping a console log that was left for debugging 2022-12-20 16:22:25 +09:00
Keith Stevens 8e1c280bd7 Adding another service in the frontend-dev docker compose configuration to make it easier to do email based login. Also adding env variables that work by default with the docker services 2022-12-20 15:55:14 +09:00
Keith Stevens 2aacc542d3 Integrate the new UI pages with the working backend for the rate_summary task. This also migrates some pages to properly link up authorization flows. Some cruft is still in 2022-12-19 15:12:45 +09:00