Commit Graph

25 Commits

Author SHA1 Message Date
notmd 510c718f2b allow to select role when sigin in debug mode 2023-01-16 11:49:53 +07:00
notmd 8028693e3b use useSWR data instead calling setState 2023-01-16 10:09:54 +07:00
AbdBarho 7fabe39174 Fix missing display_name for debug users 2023-01-15 10:07:02 +01:00
Keith Stevens b02429c1f7 Tag in the user table when they are new and include it in the user session 2023-01-14 18:55: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
Keith Stevens 41e509405b Merge pull request #199 from croumegous/fix-lint-build
Fix linter warnings
2023-01-01 10:46:21 +09: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
Yannic Kilcher 0acacf33fe Merge branch 'main' into add-debug-skip-password-env 2022-12-29 13:34:28 +01: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