Commit graph

528 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
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
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
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
3786c786e2 Align poll option text to center
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-29 23:13:39 +01: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
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
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
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
Alex Gleason
a6cb538662
features: enable bookmarks on ditto 2024-01-01 14:09:56 -06:00
Rizal Sambayu
9755e01364
Translated using Weblate (Javanese)
Currently translated at 7.7% (118 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-30 07:09:04 +01:00
Alex Gleason
38a96523b8 Merge branch 'main' into 'main'
add javanese language

See merge request soapbox-pub/soapbox!2907
2023-12-29 23:27:00 +00:00
Rizal Sambayu
9a2e3c1dc4 add javanese language 2023-12-29 20:10:04 +00:00
Rizal Sambayu
b9b49a23a9
Translated using Weblate (Javanese)
Currently translated at 7.4% (113 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-29 19:16:02 +01:00
Rizal Sambayu
6673f8e60e
Translated using Weblate (Javanese)
Currently translated at 4.1% (63 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-29 11:13:00 +01:00
Rizal Sambayu
5d729a4810
Translated using Weblate (Javanese)
Currently translated at 2.9% (45 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-28 22:45:56 +01:00
Rizal Sambayu
b5d62ad4e9
Translated using Weblate (Javanese)
Currently translated at 1.7% (27 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-27 14:56:13 +01:00
Hosted Weblate
5149b3fa9d
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-12-27 14:56:13 +01:00
Rizal Sambayu
4ad14df353
Translated using Weblate (Javanese)
Currently translated at 0.7% (12 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/jv/
2023-12-27 14:56:13 +01:00
Rizal Sambayu
4894dc7fc8
Translated using Weblate (Indonesian)
Currently translated at 100.0% (1526 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/id/
2023-12-27 14:56:13 +01:00
Alex Gleason
19dec9c90e Apply 1 suggestion(s) to 1 file(s) 2023-12-23 20:30:56 +00:00
Rizal Sambayu
ee93194c15 add a unicode-range 2023-12-22 21:51:09 +00:00
Rizal Sambayu
87737d0ff2 add javanese.css for javanese font 2023-12-22 20:05:44 +00:00
Rizal Sambayu
5a7a8a33dc Update 2 files
- /src/main.tsx
- /src/styles/i18n/javanese.css
2023-12-21 22:30:54 +00:00
Alex Gleason
96d266d73c
Input: fix search focus background color 2023-12-21 11:08:35 -06:00
Alex Gleason
0dde6f008f
StatusContent: fix types for html-react-parser v5 2023-12-21 10:18:15 -06:00
Alex Gleason
de64c3e7e6
Upgrade Vite to v5 2023-12-21 09:14:48 -06:00
Alex Gleason
bcf3f4e01d
Upgrade all the Redux things 2023-12-20 22:06:49 -06:00
Tassoman
1969be581f
Added a translation using Weblate (Javanese) 2023-12-21 04:36:27 +01:00
Rizal Sambayu
6f37b4eae5
Translated using Weblate (Indonesian)
Currently translated at 100.0% (1526 of 1526 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/id/
2023-12-21 04:36:27 +01:00