Commit graph

10471 commits

Author SHA1 Message Date
Alex Gleason
a8e786a578
NostrSignin: update steps 2024-03-16 15:10:34 -05:00
Alex Gleason
77f766ff64
Remove unused DittoSignup module 2024-03-16 15:08:48 -05:00
Alex Gleason
5b23166fb7
NostrSignin: remove IdentityStep, AccountStep, other useless code 2024-03-16 15:06:55 -05:00
Alex Gleason
b8b22fc637
NostrSignin: remove unused setSigner state 2024-03-16 15:02:40 -05:00
Alex Gleason
611e0e59f2
CSP: allow wss connections 2024-03-16 14:50:52 -05:00
Alex Gleason
df24beeb54
Add key import step 2024-03-15 16:10:03 -05:00
Alex Gleason
a83916537a
Git Nostr signer from currently-logged-in account 2024-03-15 15:15:53 -05:00
Alex Gleason
44411fdf29
Add weblock package 2024-03-15 12:25:38 -05:00
Alex Gleason
a72e9c1c04
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-03-15 10:52:29 -05:00
Alex Gleason
97e52b9c07 Merge branch 'card-sanitize' into 'main'
Sanitize PreviewCard html

See merge request soapbox-pub/soapbox!2950
2024-03-15 00:28:28 +00:00
Alex Gleason
8633eca37d
cardSchema: take innerHTML instead, force type to 'link' if html is empty 2024-03-14 19:09:00 -05:00
Alex Gleason
d53c1c2227
Sanitize PreviewCard html 2024-03-14 19:01:07 -05:00
Alex Gleason
4426e9c481 Merge branch 'default-csp' into 'main'
Add a default CSP with a meta tag

See merge request soapbox-pub/soapbox!2949
2024-03-14 22:03:34 +00:00
Alex Gleason
969439a963
CSP: add missing frame-src directive 2024-03-14 16:47:27 -05:00
Alex Gleason
929970c4ab
Add a default CSP with a meta tag 2024-03-14 16:40:17 -05:00
Alex Gleason
34bd5b5020
Use pubkey instead of npub 2024-03-14 16:17:53 -05:00
Alex Gleason
37cc1e88f6
Hook up DVM request 2024-03-12 13:41:01 -05:00
Alex Gleason
a5f4666a8c Merge branch 'aldisruiz-main-patch-33380' into 'main'
fix: remove .max-w-3xl from embedded status.

See merge request soapbox-pub/soapbox!2948
2024-03-11 23:46:47 +00:00
Aldis Ruiz
733fa675d8 fix: remove .max-w-3xl from embedded status.
Will no longer create white space when the parent it's embedded in is wider than .max-w-3xl (48rem; /* 768px */
).
2024-03-11 23:41:35 +00:00
marcin mikołajczak
2eef835951 Merge branch 'backups' into 'main'
Change design of Backups page a bit

See merge request soapbox-pub/soapbox!2945
2024-03-07 20:08:53 +00:00
67235dcc54 Change design of Backups page a bit
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-07 19:49:39 +01:00
Alex Gleason
338d0a7b3e
Remove unused RegisterStep 2024-03-07 10:44:39 -06:00
Alex Gleason
b9a0c1f0f6
Add NostrContext to manage connection to Nostr relay 2024-03-06 20:03:18 -06:00
Alex Gleason
fc0de1bc49
Upgrade nspec to latest, switch to version from JSR 2024-03-06 17:19:45 -06:00
Alex Gleason
80e3353b00 Merge branch 'jsr' into 'main'
Add .npmrc for JSR

See merge request soapbox-pub/soapbox!2944
2024-03-06 22:34:13 +00:00
Alex Gleason
613d97ea78
Merge branch 'jsr' into ditto-auth 2024-03-06 15:52:49 -06:00
Alex Gleason
a0aba76450
Add .npmrc for JSR 2024-03-06 15:49:16 -06:00
marcin mikołajczak
e0f4d48e67 Merge branch 'poll-styles' into 'main'
Align poll option text to center

See merge request soapbox-pub/soapbox!2943
2024-03-01 09:54:32 +00:00
3786c786e2 Align poll option text to center
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-29 23:13:39 +01:00
marcin mikołajczak
032cbc2da5 Merge branch 'hotkeys' into 'main'
Replace react-hotkeys with updated fork for Vite compatibility

See merge request soapbox-pub/soapbox!2942
2024-02-26 16:01:03 +00:00
9174bd774a Replace react-hotkeys with updated fork for Vite compatibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-26 14:44:01 +01:00
Alex Gleason
d229166819
Load NKeys in initial chunk so it always locks the storage 2024-02-22 11:45:11 -06:00
Alex Gleason
a089a71993
Upgrade NSpec to v0.3.0 2024-02-21 14:52:00 -06:00
Alex Gleason
470511acbb
IdentityStep: prevent entry of nsec 2024-02-19 16:24:11 -06:00
Alex Gleason
3157969645
Advance from KeygenStep to AccountStep 2024-02-19 15:17:35 -06:00
Alex Gleason
0a3eb6b187
NKeyStorage: fix schema parser 2024-02-19 15:13:10 -06:00
Alex Gleason
623fb234b3
Fix ModalLoading component 2024-02-19 14:28:43 -06:00
Alex Gleason
5eb388bb3b
KeygenStep: simplify it, add a tooltip over "Next" button 2024-02-19 14:07:18 -06:00
Alex Gleason
b1dc2486de
ExtensionStep: get rid of my-6 2024-02-19 14:07:02 -06:00
Alex Gleason
451e7ab96d
ExtensionStep: improve whitespace between elements 2024-02-19 13:49:05 -06:00
Alex Gleason
772cecf26b
KeygenStep: display user's keys as copyable inputs 2024-02-19 13:26:39 -06:00
Alex Gleason
f20687313f
NostrSigninModal: represent steps as strings instead of numbers 2024-02-18 23:20:20 -06:00
Alex Gleason
49bde675c3
Add KeygenStep, only show ExtensionStep when window.nostr is present 2024-02-18 22:55:05 -06:00
Alex Gleason
f2bfa6e2f6
Upgrade nspec, parse nsec the easier way 2024-02-18 18:00:37 -06:00
Alex Gleason
15ae362a8e
Add NKeyStorage class to retrieve and set keys in browser storage in a mostly-secure way 2024-02-18 16:45:36 -06:00
Alex Gleason
b382a96d6a
NostrSigninModal: make use of Back button 2024-02-18 13:34:52 -06:00
Alex Gleason
ba04c43477
NostrSigninModal: make each step render a Modal directly 2024-02-18 13:27:30 -06:00
Alex Gleason
9267ef28e3
Modal: support back button 2024-02-18 13:18:07 -06:00
Alex Gleason
9ddcb1634e
NostrSigninModal: hold accountId instead of username in the state 2024-02-18 13:01:22 -06:00
Alex Gleason
872be9ead1
Flesh out AccountStep 2024-02-18 12:51:05 -06:00