d32293995b
Refactor setUserToken into two methods
...
This refactors `setUserToken` into `accountCookie`, which just returns a cookie if it exists, and `setHeaders`, which sets the Axios header defaults.
Then, we update the calls in all the required files.
2023-01-31 00:18:54 -08:00
93755dfda4
Update avatar implementation
2023-01-28 03:37:00 -08:00
0901fbf21d
Change how we handle modals
2023-01-27 22:41:43 -08:00
199b02b0cc
Fix unauth menu
2023-01-27 20:36:45 -08:00
cefec18880
Fix cookies expiring after browser restarts
...
We never added expirations :)
2023-01-24 21:42:14 -08:00
da1bca2c05
Fix auth modals
2023-01-21 08:37:11 -08:00
b4f217071f
Extract Dialog into its own component
2023-01-15 10:36:20 -08:00
54dd3feba7
Add new fields to parties
...
I forgot to commit
2023-01-03 18:06:27 -08:00
ba025b8fd8
Set user token after login and signup
2022-12-30 05:19:12 -08:00
18a998b1ed
Remove logs and unused dependencies
2022-12-30 05:18:40 -08:00
7eb129f01b
Remove stuff from LoginModal
2022-12-28 21:51:44 -08:00
c2bb0c23f5
LoginModal fixes
...
Add error message for invalid credentials
2022-12-28 01:35:58 -08:00
ace2e08db2
Hotfix for LoginModal to see whats wrong
2022-12-28 00:36:42 -08:00
4a651eaaff
Inputs weren't Bound
2022-12-26 11:50:45 -08:00
a6e2d50b0c
Add new event handlers to Login/Signup
2022-12-26 05:13:15 -08:00
3bdeeb9a0e
Disable login/signup button when form is invalid
2022-12-26 01:38:30 -08:00
4765349b6b
Update changeLanguage
...
It needs the router
2022-12-25 19:33:10 -08:00
d737310b2c
Update LoginModal and SignupModal
...
And adds a new changeLanguage util
2022-12-25 16:14:35 -08:00
94f5f69412
Update SignupModal and LoginModal to use Dialog
2022-12-22 21:28:30 -08:00
700a4d653c
Tentatively fix Login and Signup
...
There's probably more here, but I can at least log in right now
2022-12-22 01:36:32 -08:00
8ccdcdf5b4
Fix TS errors
...
We didn't touch these files and they needed to be updated for Fieldset → Input
2022-12-06 19:41:20 -08:00
a2b30133d4
Add Dark Mode for dialogs
2022-12-06 18:38:36 -08:00
e8843699c7
Remove trailing semicolons
2022-12-05 17:54:46 -08:00
efa864fb80
Run prettier on src
2022-12-04 07:19:31 -08:00
61a762b29b
Component cookie fixes
2022-11-16 05:26:18 -08:00
364481e3ac
Fix various type errors from npm build
2022-04-10 13:31:13 -07:00
75f77ced20
Switch locale when logging in
2022-03-05 13:54:46 -08:00
d79a13dc8a
Localized signup and login
2022-03-05 13:24:39 -08:00
4ab41fcc08
Hotfix signup and login buttons
2022-03-04 08:25:58 -08:00
0ff255d71e
Changed how cookies are stored
...
We now have an account object and user object. Account stores critical information, where User is cosmetic/settings.
2022-03-04 06:31:21 -08:00
6b999106b5
Hit user info endpoint after login in LoginModal
2022-03-04 05:16:39 -08:00
1c7e602464
Refactor and redesign LoginModal
2022-02-28 16:40:16 -08:00
a6b222000c
Remove references to React context and replace with state where necessary
2022-02-23 15:59:46 -08:00
fd5cc3a395
Remove unused prop from Button
2022-02-23 14:19:30 -08:00
77a3b1b8ad
Add context when logging in
2022-01-31 23:34:38 -08:00
307c2ecbb6
Clean up modal structure
2022-01-25 01:35:56 -08:00
728803d9c5
Migrate to Next.js
2022-01-24 21:54:50 -08:00