Commit graph

293 commits

Author SHA1 Message Date
Alex Gleason
b9111719f0
Nostr: allow setting a nip05 username 2024-03-24 16:46:25 -05:00
1c5e8bc7d4 Change icon, rename theme, set divideType based on theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 22:41:44 +01:00
5e1499ed82 More colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:37:39 +01:00
7e9906c315 Fix layout, add missing colors
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 20:28:51 +01:00
e1dc73d6db Fix error handling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 19:00:43 +01:00
fb9a7fc8b7 Call it 'beta' for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:39:39 +01:00
067fc9e45d Black mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-24 17:38:34 +01:00
1ef88e2cc2 Bookmark folders route should not be feature gated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-23 15:59:24 +01:00
eceafedec4 Bookmark folders
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-03-22 14:53:25 +01:00
Alex Gleason
e131467af9
Fix up login/signing paths and buttons 2024-03-18 13:44:34 -05:00
Alex Gleason
7cfbf22b27
ExtensionStep: combine into one component 2024-03-17 18:06:27 -05:00
Alex Gleason
6fb7c337a3
Fi nostr_signup accidentally capitalized i18n strings 2024-03-17 18:03:30 -05:00
Alex Gleason
e866b95282
Fix navigating between NostrSignup and NostrLogin 2024-03-17 18:00:32 -05:00
Alex Gleason
ddee1d9d4e
KeygenStep: log the user in 2024-03-17 17:49:41 -05:00
Alex Gleason
ab0f9b0a43
KeyStep: fix modals, sort of 2024-03-17 15:35:39 -05:00
Alex Gleason
1417d46af5
Make NostrLogin modal flow work 2024-03-17 15:29:58 -05:00
Alex Gleason
10a12905ff
NostrExtensionIndicator: close either modal on click 2024-03-16 16:25:26 -05:00
Alex Gleason
463f260b2e
NostrLoginModal: fix handleClose 2024-03-16 16:10:54 -05:00
Alex Gleason
7adb676653
Have only one NostrExtensionIndicator component 2024-03-16 16:10:08 -05:00
Alex Gleason
b94ea6cd42
Move EmojiGraphic to soapbox/components 2024-03-16 16:08:23 -05:00
Alex Gleason
f7b7260eea
nostr-signin-modal -> nostr-signup-modal 2024-03-16 16:05:56 -05:00
Alex Gleason
62723a2c16
Break NostrLogin into a separate flow from NostrSignin 2024-03-16 16:03:54 -05:00
Alex Gleason
5bc6a9a220
Rework nostrExtensionLogIn action 2024-03-16 15:50:26 -05:00
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
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
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
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
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
613d97ea78
Merge branch 'jsr' into ditto-auth 2024-03-06 15:52:49 -06: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
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
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
Alex Gleason
4caacca2f7
IdentityStep: lookup the account before proceeding 2024-02-17 19:45:24 -06:00
Alex Gleason
a7c880e950
NostrExtensionIndicator: move to components/ subpath 2024-02-16 20:05:43 -06:00
Alex Gleason
407b19321d
NostrSigninModal: add EmojiGraphic, use an emoji on each step 2024-02-16 20:04:25 -06:00
Alex Gleason
20328961fd
Fill out KeyStep 2024-02-16 17:47:43 -06:00
Alex Gleason
603e2cc2ce
Merge remote-tracking branch 'origin/main' into ditto-auth 2024-02-16 15:57:45 -06:00
Alex Gleason
ffdb744d16
Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
Alex Gleason
a0a37b7296
Make accountLookup work with Nostr 2024-02-13 20:22:56 -06:00
Alex Gleason
b950a7a052
Rework Nostr modal actions 2024-02-13 17:01:07 -06:00
Alex Gleason
1618fbbb8f
NostrSigninModal: scaffold steps 2024-02-12 19:39:34 -06:00
Alex Gleason
1c97a163d0
NostrSigninModal: add extension indicator, flesh out IdentityStep 2024-02-12 17:57:44 -06:00
Alex Gleason
a9d311028e
ExtensionStep: make it kind of work 2024-02-11 17:13:29 -06:00
Alex Gleason
6e0cb369dc
Add boilerplate NostrSignin modal 2024-02-11 16:20:19 -06:00
Alex Gleason
7f74ec80af
Let signer be undefined if there's no way to sign 2024-02-11 12:53:40 -06:00
Alex Gleason
8412a9869f
Merge remote-tracking branch 'origin/main' into nspec 2024-02-11 12:45:33 -06:00
Alex Gleason
cb14b34309
Add NSpec and SoapboxSigner 2024-02-11 12:40:14 -06:00
124421a541 Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 15:45:18 +01:00
8e3c6e8310 Update lexical, remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-11 13:06:30 +01:00
Alex Gleason
d576b8ed47
Switch to isomorphic-dompurify 2024-02-08 15:01:20 -06:00
Alex Gleason
c0325498c8
Merge remote-tracking branch 'origin/main' into dompurify 2024-02-08 14:57:35 -06:00
5e801b899d Use media query to detect touchscreens
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-07 17:33:22 +01:00
Alex Gleason
54a57269e4
Add LightningAddress component 2024-02-06 13:14:20 -06:00
Alex Gleason
4aa6fdb4dd
Add DOMPurify 2024-01-17 12:21:19 -06:00
b2faa1406b Fix some typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:53:06 +01:00
Alex Gleason
8009299df6
LatestAccountsPanel: don't hide unsorted admin accounts, removes legacy Pleroma hack 2024-01-05 15:36:44 -06:00
231a68fb63 Merge remote-tracking branch 'origin/main' into instance-v2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-05 00:41:06 +01:00
Rizal Sambayu
9a2e3c1dc4 add javanese language 2023-12-29 20:10:04 +00:00
Alex Gleason
8108ac2a67
yarn lint:js --fix 2023-12-20 21:17:33 -06:00
Alex Gleason
e426f72130
ComposeForm: disable submit when there is no editorRef 2023-11-27 15:01:13 -06:00
Alex Gleason
54dff2131f
ComposeForm: do autoFocus on mobile 2023-11-27 14:57:16 -06:00
Alex Gleason
fd19fa9e5b
FocusPlugin: refactor the useEffect for sanity 2023-11-27 14:56:42 -06:00
Alex Gleason
889c2658ba
ComposeForm: refactor canSubmit so it works correctly in more scenarios 2023-11-27 14:32:41 -06:00
Alex Gleason
016198c301
Sign NIP-46 events with proof-of-work 2023-11-20 17:52:37 -06:00
Alex Gleason
1a32dc178b
WrappedRoute: allow navigating between pages to reset the ErrorBoundary 2023-11-14 15:17:33 -06:00
Alex Gleason
54aa09c6b1
Developers: fix /error/network route 2023-11-14 14:47:04 -06:00
Alex Gleason
cdb89ae8fd
Bring back NetworkError column 2023-11-14 14:41:35 -06:00
Alex Gleason
c7f9a9eb56
ComposeForm: get text from the editorRef instead of component state
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1563
2023-11-14 11:08:32 -06:00
0db0aeb440 Fix federation modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-11-01 23:30:32 +01:00
1d3424e648 Display emoji reactions on glitch-soc and Iceshrimp
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-29 23:00:48 +01:00
1b31a0558e Fix registration status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:20:54 +02:00
7c752f088c instance v1 to v2 convesion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 23:48:54 +02:00
59115c8dc5 Remove instance normalizer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 17:48:21 +02:00
68f66075f2 Hide hashtag follow toggle when unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 17:27:49 +02:00
Alex Gleason
86e0245de3
Remove unneeded AxiosError usages 2023-10-23 17:24:09 -05:00
Alex Gleason
b25408a79f Merge branch 'account-local' into 'main'
Add 'local' to account schema

See merge request soapbox-pub/soapbox!2835
2023-10-21 23:49:06 +00:00