Commit graph

450 commits

Author SHA1 Message Date
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
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
7934d43426
useSettings: useMemo 2024-02-13 23:24:07 -06:00
Alex Gleason
ffdb744d16
Refactor useSettings hook, parse with zod schema 2024-02-13 23:20:18 -06:00
Alex Gleason
b0a82a23d0
StatusInfo: truncate long text 2024-02-13 22:02:13 -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
15af206a45
useAppSelector: export type 2024-02-12 17:57:28 -06:00
Alex Gleason
a9d311028e
ExtensionStep: make it kind of work 2024-02-11 17:13:29 -06:00
Alex Gleason
e02ca0e0af
Reduce circular imports in UI components 2024-02-11 16:40:08 -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
694af98d21
Remove space that was added for no reason 2024-02-08 15:05:06 -06: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
d4490f4e80
Fix optimistic zapping 2024-01-22 16:12:30 -06:00
Alex Gleason
d2d33cf51b
yarn i18n 2024-01-22 15:07:33 -06:00
Alex Gleason
797fca7111
Add WebLN types, only show zap button when WebLN is available 2024-01-22 14:37:44 -06:00
Alex Gleason
4aa6fdb4dd
Add DOMPurify 2024-01-17 12:21:19 -06:00
Alex Gleason
459bc72365
Partially implement NIP-47 and pay for zaps with WebLN 2024-01-16 18:35:00 -06:00
Alex Gleason
d20d08bc8f
Optimistic zap 2024-01-15 18:56:18 -06:00
Alex Gleason
9cad54c97c
Nostr Zaps 2024-01-15 18:53:49 -06:00
Alex Gleason
1e9b209f06
Differentiate instance V1 and V2
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1635
2024-01-12 18:10:49 -06:00
marcin mikołajczak
60521f224d Merge branch 'typos' into 'main'
Fix some typos

See merge request soapbox-pub/soapbox!2916
2024-01-11 22:51:03 +00:00
marcin mikołajczak
ab56851ea5 Merge branch 'voting-limit' into 'main'
Support infinite voting time for remote polls

See merge request soapbox-pub/soapbox!2853
2024-01-11 22:43:40 +00:00
b2faa1406b Fix some typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:53:06 +01:00
3406ce043c Support infinite voting time for remote polls
Signed-off-by: Marcin Mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-11 14:51:55 +01:00
Alex Gleason
8009299df6
LatestAccountsPanel: don't hide unsorted admin accounts, removes legacy Pleroma hack 2024-01-05 15:36:44 -06:00
Alex Gleason
2a0d701fea
features: enable Mastodon admin on Ditto 2024-01-05 14:53:17 -06:00