ekzyis
7b7a5ebeaa
Rename file
2024-01-07 00:47:26 +01:00
ekzyis
499ba408ea
Fix login and multi-auth on HTTP
2024-01-07 00:42:51 +01:00
ekzyis
1845db2da3
Use __Secure cookie prefix
...
See https://www.sjoerdlangkemper.nl/2017/02/09/cookie-prefixes/
2024-01-06 22:08:57 +01:00
ekzyis
74304e2f75
Fix inconsistent session cookie name
2024-01-06 22:08:57 +01:00
ekzyis
0e04daebfb
Return full context in useMe
...
Ran search and replace:
s/const me = useMe()/const { me } = useMe()/
s/const refreshMe = useMeRefresh()/const { refreshMe } = useMe()/
+ removed import of `useMeRefresh` manually
2024-01-06 22:08:57 +01:00
ekzyis
051ba7397a
Fix TypeError if switching to anon on /settings
2024-01-06 22:05:20 +01:00
ekzyis
dbf1fbb6b8
Filter auth methods by multi auth support
2024-01-06 22:05:20 +01:00
ekzyis
c480fd450b
Cleanup multi_auth.* cookies if no next account available
2024-01-06 22:05:20 +01:00
ekzyis
c235ca3fe7
Select next available account on signOut
2024-01-06 22:05:20 +01:00
ekzyis
fca2ec3e15
Fix multiAuth type
...
getServerSideProps of /login can only return JSON serializable props which will always be strings.
2024-01-06 22:05:20 +01:00
ekzyis
9baf5063e1
Never update account if multi auth is used
2024-01-06 22:05:20 +01:00
ekzyis
4c5e470caf
Fix typo
2024-01-06 22:05:20 +01:00
ekzyis
01fe205350
Use function to set multi auth cookies
...
* set multi auth cookie in jwt callback
* don't overwrite existing multi auth cookies
2024-01-06 22:05:20 +01:00
ekzyis
24168f556e
Use base64 encoding for multi_auth cookie
2024-01-06 22:05:20 +01:00
ekzyis
470e0dfc7a
Account switching
2024-01-06 22:05:19 +01:00
ekzyis
4d953fc3a9
Fix invalid DOM property ( #732 )
...
Code works but it prints a warning in the console:
> Warning: Invalid DOM property `autocomplete`. Did you mean `autoComplete`?
Co-authored-by: ekzyis <ek@stacker.news>
2024-01-04 11:17:57 -06:00
keyan
48e9cdef64
default to server provided sub name
2024-01-03 21:15:54 -06:00
keyan
29a8640493
deal with territory case using clientside redirect
2024-01-03 20:51:01 -06:00
keyan
40aa64546a
indicate safari instructions in ios pwa prompt
2024-01-03 16:32:18 -06:00
keyan
214e863458
mute territories
2023-12-30 17:16:09 -06:00
keyan
dc15be914c
opt-in moderation for territory founders
2023-12-29 18:05:16 -06:00
ekzyis
6faec2e7cf
Disable autocomplete for withdrawal invoices ( #721 )
...
Co-authored-by: ekzyis <ek@stacker.news>
2023-12-29 18:03:14 -06:00
keyan
e20adaebdc
pwa prompt on iOS
2023-12-27 19:06:12 -06:00
keyan
8c5c29ee45
remove snow
2023-12-25 18:05:45 -06:00
ekzyis
05bdd988fa
Christmas zaps ( #707 )
...
* Christmas zaps
* Also add 50px margin on left side
* Remove wrong comment
* Use grey snow in light mode
---------
Co-authored-by: ekzyis <ek@stacker.news>
2023-12-24 16:49:41 -06:00
ekzyis
01984c0b43
Add wallet limit banner ( #699 )
...
* Colorize balance if over soft limit
* Remove default banner export
---------
Co-authored-by: ekzyis <ek@stacker.news>
2023-12-21 17:31:16 -06:00
keyan
1e03f3b63f
link to territory FAQ
2023-12-20 17:11:07 -06:00
st4rgut24
e9a5d22a6e
Add chain fees to price carousel ( #658 )
...
* add chain fees to price carousel
* restore check for valid carousel values
* add nym to contributors
---------
Co-authored-by: stargut <stargut@starguts-MacBook-Pro.local>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-12-20 16:06:22 -06:00
keyan
ee68bd2946
hide lnurlpay errors while still reporting errors accurately
2023-12-18 18:02:39 -06:00
keyan
13f3a89540
gofac node ip
2023-12-17 15:14:59 -06:00
keyan
d3fac7f968
fix qr withdrawal
2023-12-15 18:13:24 -06:00
keyan
a5e50821b7
gofac yourself
2023-12-14 11:30:51 -06:00
keyan
ca02d627c1
make anon fees consistent
2023-12-10 16:56:22 -06:00
keyan
1d66be68cc
make territory billing renewal opt-in
2023-12-08 14:02:00 -06:00
keyan
89ecb8c0b9
add post cost to territory details
2023-12-08 12:46:31 -06:00
ekzyis
2f8aeefe73
Use textarea for unintended DMs ( #668 )
...
Co-authored-by: ekzyis <ek@stacker.news>
2023-12-07 15:49:44 -06:00
keyan
10203f565c
territories
2023-12-04 21:34:06 -06:00
keyan
c214d6283f
enable prod graphql introspection
2023-11-22 09:16:40 -06:00
keyan
5cf3a42be4
fix #641
2023-11-21 17:32:22 -06:00
keyan
4a35c13ff3
embed graphql sandbox
2023-11-21 16:46:03 -06:00
keyan
af59e3ef54
merge non-normalized user subtypes fixing #645
2023-11-20 09:05:02 -06:00
SatsAllDay
64a16373c5
Fix client-side error boundary ( #623 )
...
* * add error boundary immediately above page component
* send error logs to server via LoggerContext
* display error stack and component stack in copyable text area
* wrap every context provider in an error boundary
* memoize context values to fix error boundary propagation issue
* Wrap page component in an error boundary so we can use our context utilities
for a better experience, like toast and logger
Still have a top-level error boundary that catches things from the context providers,
just in case.
Don't display the whole error stack, just because it's ugly, but make it copyable
2023-11-19 14:24:56 -06:00
keyan
a318727f9c
fix freebie dialog ( #460 )
2023-11-19 14:16:35 -06:00
keyan
589b15b597
fix custom dates to use ms since epoch
2023-11-14 10:23:44 -06:00
keyan
beade6795c
fix bio creation
2023-11-12 20:31:39 -06:00
keyan
03acce2305
fix nostr auth ( #621 )
2023-11-12 11:59:18 -06:00
keyan
49e9131cfe
don't return promise from authorize
2023-11-12 10:46:06 -06:00
keyan
c23e49872a
make fee button less of a hack
2023-11-10 18:18:10 -06:00
keyan
494b8b3dcd
better organize user graphql types
2023-11-09 19:05:35 -06:00
rleed
d86d8b3bac
Provide option to clear withdrawal invoices ( #591 )
...
* add settings option
* add auto-drop worker
* add manual delete option
* add warning and note
* cleanup
* incorporate most review feedback
* add warning to settings option
* remove debugging tweaks and simplify
* refine auto delete bolt11s
* refine UI
---------
Co-authored-by: rleed <rleed1@pm.me>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-11-09 11:50:43 -06:00