Commit Graph

384 Commits

Author SHA1 Message Date
Ivan Acosta-Rubio 2580fd33e5
Prevents adding ws relay when over https 2023-03-26 06:34:57 -06:00
Kieran 8b8d1e6255
fix NostrLink element note links 2023-03-25 23:13:14 +00:00
Kieran 9b6e5090dc
feat: nip19/21 links 2023-03-25 22:55:34 +00:00
w3irdrobot 110327c176
add setting for rewriting twitter links to nitter 2023-03-24 16:12:46 -04:00
heyhoe 12f82372e5
shorten long relay name. (#455) 2023-03-24 10:41:44 +01:00
jiftechnify 14c43b6df8 chore: apply prettier 2023-03-23 23:27:23 +09:00
Kieran 23b5ad2b10 New translations en.json (French) 2023-03-23 14:22:18 +00:00
jiftechnify b201e5d692 fix: invisible <option> text in dark theme 2023-03-23 22:57:08 +09:00
heyhoe e95f1fe369
Display search property alongside host in relay name (#452) 2023-03-23 14:25:07 +01:00
Kieran d5f828ffb8
New Crowdin updates (#445)
* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)
2023-03-22 23:34:37 +00:00
ennmichael a7707af756
add direct message event and refactor 2023-03-17 15:30:20 +01:00
Kieran 0d4394e1e6
bug: delete zapService from profile copy 2023-03-16 22:25:35 +00:00
Kieran 2d71d228d3
bug: invalid CSP 2023-03-16 22:05:08 +00:00
Kieran 1b53a813a8
chore: csp-manifest 2023-03-16 19:03:11 +00:00
Kieran ff0f6efa29
feat: install extension on insecure connections 2023-03-16 18:30:50 +00:00
Kieran 424c7c79d7
chore: avoid SubtleCrypto 2023-03-16 17:10:17 +00:00
Sam Samskies 84ad3556a7
only replace note ID when note ID starts with `@` character (#441)
* only replace note ID when note ID is surrounded by space chars

This prevents partial parts of links with note IDs from being converted to a tag.

* make sure to keep whitespace around note ID

* improve var name

* allow users to prefix note ID with an @

* require notes to be prefixed with `@`
2023-03-15 18:02:54 -07:00
Kieran b846c5720c
bug: fix hmac for insecure contexts 2023-03-15 11:09:45 +00:00
Michael Rhee 2b0cd75f98
Update Wavlake embed URL, add support for album & artist links (#439)
* Update wavlake embed url

* Make regex more explicit, remove allow from iframe

* Prettify changes
2023-03-14 10:07:59 -07:00
Kieran 877d018da3
Merge pull request #436 from v0l/l10n_main
New Crowdin updates
2023-03-13 14:02:54 +00:00
Kieran f7a9902691
chore: remove drama 2023-03-13 13:53:34 +00:00
Kieran a20639bf21 New translations en.json (Japanese) 2023-03-13 10:22:24 +00:00
Kieran 3a406aa327
chore: formatting 2023-03-13 10:20:33 +00:00
Susumu OTA cd89da39dd
fix: private key strength should be 256 bits. 2023-03-13 10:20:12 +00:00
Kieran b045e6260c
New Crowdin updates (#426)
* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Arabic)

* format
2023-03-12 20:01:32 +00:00
Kieran 59ae02207c
bug: fast zap donate loop 2023-03-12 19:25:22 +00:00
Kieran b0efe36c7a
chore: mark semisol pubkey invalid for zaps 2023-03-12 14:56:10 +00:00
Kieran d228e25b35
feat: improve auto zapper 2023-03-11 17:03:42 +00:00
Kieran 335905449f
feat: auto zap 2023-03-10 23:52:39 +00:00
Kieran ef48f553b0
Merge pull request #424 from w3irdrobot/key-on-tabs
Added key attr to Tabs to remove React warning
2023-03-10 20:52:01 +00:00
Kieran 77b92eddf3
Merge pull request #425 from w3irdrobot/nip06
NIP06 support
2023-03-10 20:51:49 +00:00
w3irdrobot 5e0c762058
Added key attr to Tabs to remove React warning 2023-03-10 15:47:39 -05:00
w3irdrobot 9bb4abb38a
Updated generatedEntropy type to string 2023-03-10 15:42:31 -05:00
w3irdrobot ac444ed562
Enable recovery with a mnemonic seed per nip06 2023-03-10 14:49:54 -05:00
w3irdrobot 710a7dd2de
Clear entropy on completion of onboarding 2023-03-10 14:15:52 -05:00
w3irdrobot debc9566cc
Add nip06 private key generation 2023-03-10 14:02:43 -05:00
Sam Samskies d70d77d71c
fix NaN when parsing empty string (#422) 2023-03-10 08:09:23 -08:00
Sam Samskies 3dccf21d2c
Fix event mention bug (#421)
* only replace valid note IDs

* render empty string if no ref.Event
2023-03-10 08:08:59 -08:00
Sam Samskies 1357b7a903
display search results on page load if query in url (#415) 2023-03-09 09:58:44 -08:00
Michael Rhee a3be3d0131
Add Wavlake embed (#416)
* Add Wavlake embed

* Prettify edits
2023-03-09 09:57:28 -08:00
Kieran 9b85f825e5
bug: send sats flow skip to invoice not working 2023-03-09 12:34:50 +00:00
Alejandro cd4dcbd0a2
feat: read nip-58 badges (#394) 2023-03-09 11:13:10 +01:00
Kieran 2f20d03e2b
chore: remove invalid zap spam 2023-03-09 09:57:49 +00:00
Sam Samskies c4d8d871a1
do not render reposts of badge award events in timelines (#406)
* do not render reposts of badge award events

* fix var name

* only render reposts of kind 1 events
2023-03-08 09:30:19 -08:00
Sam Samskies bc72bf6d04
render embed for youtube live links (#407) 2023-03-08 09:26:02 -08:00
Sam Samskies 093ea8205b
render webm links as inline videos (#410) 2023-03-08 09:25:41 -08:00
Kieran 7d34bb2214
bug: global tab relay sub too long 2023-03-08 15:19:15 +00:00
Kieran 4d4b03287f
bug: catch bech32 decoding errors 2023-03-08 15:17:51 +00:00
Kieran 667a58ac1d
Merge pull request #371 from d-r-w/main
Makes entire note clickable
2023-03-07 15:29:38 +00:00
d-r-w d228772e92 Fixes Prettier issue 2023-03-07 08:59:38 -06:00
Yasuhiro Matsumoto b3afe41723
fix HyperText matching 2023-03-07 22:35:40 +09:00
Kieran df0362b9ba
Merge pull request #393 from lujakob/fix/skeleton-dark-theme-styles
fix(skeleton): dark theme styles
2023-03-07 12:30:05 +00:00
Kieran 4dc26a08af
Merge pull request #395 from lujakob/fix/open-note-in-new-tab
feat(note): open note in new tab on cmd press
2023-03-07 12:29:41 +00:00
Kieran 6b6995f2f9
Merge pull request #397 from lujakob/fix/back-button-vertical-align
fix(BackButton): vertical align styles
2023-03-07 12:28:36 +00:00
Kieran 11fcc832bb
New Crowdin updates (#391)
* New translations en.json (Arabic)

* New translations en.json (French)

* New translations en.json (Hungarian)

* New translations en.json (Hungarian)
2023-03-07 12:16:26 +00:00
Kieran 33bbadeda8
bug: invoice amount from millisats 2023-03-06 10:18:33 +00:00
Kieran 840e2ff400
bug: fetch zapper when indexedDb is not available 2023-03-06 10:10:52 +00:00
Kieran 5f0bd9699f
bug: zap parsing missing invoice 2023-03-05 18:38:14 +00:00
Kieran b71c279a0d
feat: check zap service pubkeys 2023-03-05 17:54:55 +00:00
Kieran c702d1b760
chore: improve zapper validation 2023-03-05 16:58:34 +00:00
Kieran d959a492b1
chore: invalid zappers 2023-03-05 15:36:20 +00:00
Sam Samskies 0a5491eede
Fix broken note links (#380)
* fix broken note links

* remove unused prop

* make comment easier to understand

* handle case where root event ID is missing

* add missing return

* fix root finding logic

* update comment
2023-03-04 13:41:29 -08:00
Lukas Jakob d6ea7548ab fix(BackButton): vertical align styles 2023-03-04 12:18:21 -06:00
Lukas Jakob 28599938d7 feat(note): open note in new tab on cmd press 2023-03-04 12:09:11 -06:00
Lukas Jakob bad6f08d8f fix(skeleton): dark theme styles 2023-03-04 11:33:57 -06:00
h3y6e 93d5e698ed
fix icons 2023-03-05 01:54:56 +09:00
Kieran d3fe3a897c
New Crowdin updates (#387)
* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Japanese)
2023-03-04 12:57:59 +00:00
Kieran 0951110c82
bug: fast zap when wallet not ready 2023-03-03 23:04:26 +00:00
Kieran 2ad15c6e5d
bug: zap snort pubkey 2023-03-03 22:40:49 +00:00
Kieran 3fd4e471f1
feat: fast zap donate 2023-03-03 22:01:15 +00:00
Kieran f31f44400f
bug: format 2023-03-03 20:35:55 +00:00
Kieran 9b2116bd3a
chore: cleanup 2023-03-03 20:35:36 +00:00
Kieran 50be9d7b65
chore: rename file 2023-03-03 20:35:36 +00:00
Kieran 8e69342a0c
feat: parse magnet links 2023-03-03 20:35:34 +00:00
Sam Samskies 4325c49435
add Nostr Nests embed (#377)
* add Nostr Nests embed

* remove wildcard

* fix import to match import convention

* always show link, but hide iframe when necessary
2023-03-03 11:05:10 -08:00
Kieran ca9b8a9e72
New Crowdin updates (#374)
* New translations en.json (Italian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Hungarian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (Japanese)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Japanese)
2023-03-03 16:25:57 +00:00
Kieran 7d4313570e
bug: track started sooner 2023-03-03 14:47:14 +00:00
Kieran 32549522d4
feat: improve profile cache (again) 2023-03-03 14:30:31 +00:00
Kieran 27edf5f592
bug: zap button not working 2023-03-03 11:56:03 +00:00
Kieran 9cc163cf1c
chore: extract lang 2023-03-03 11:46:23 +00:00
Kieran b3cc84a0b1
feat: task list (nip5 task) 2023-03-03 11:45:47 +00:00
Kieran d4c1651f8f
Merge pull request #382 from enjikaka/svg-proposal
Proposal: Remove SVGs from JSX
2023-03-03 11:18:28 +00:00
Kieran 9f763c09f8
bug: lndhub path 2023-03-02 21:56:25 +00:00
Jeremy Karlsson 56d9796f64
Format 2023-03-02 20:01:37 +01:00
Jeremy Karlsson b423cb2ab3
Merge 2023-03-02 19:50:43 +01:00
Jeremy Karlsson 8fa2d4c29f
Merge branch 'main' of github.com:v0l/snort into svg-proposal 2023-03-02 19:46:15 +01:00
Jeremy Karlsson 3fbdaa77f2
fix plus size icon 2023-03-02 19:40:46 +01:00
Jeremy Karlsson e4cdbcc0dc
Tweak some sizes 2023-03-02 19:39:29 +01:00
Jeremy Karlsson 06563c152a
Optimize settings view 2023-03-02 18:59:16 +01:00
Jeremy Karlsson dd1278ba7c
Fix settings styles 2023-03-02 18:47:15 +01:00
Jeremy Karlsson b4a132d4a2
Move icons to svg file 2023-03-02 18:47:02 +01:00
Kieran 9c52be315e
chore: extract lang 2023-03-02 17:42:12 +00:00
Kieran 4825101663
Merge pull request #219 from v0l/lndhub
LNDHub/LNC wallet
2023-03-02 17:39:47 +00:00
Kieran 8c03f09146
bug: clear deleted flag 2023-03-02 17:11:38 +00:00
Kieran eec85c441e
complete basic wallet 2023-03-02 15:23:53 +00:00
Kieran cff605b188
feat: LNC wallet 2023-02-28 22:22:46 +00:00
Kieran 1b363ec15f
progress 2023-02-28 22:21:50 +00:00
Kieran 7db8960914
feat: basic wallet 2023-02-28 22:21:49 +00:00
Kieran 9c4fa026bd
bug: show reactions menu option always 2023-02-28 19:50:00 +00:00
Kieran 4599937176
bug: strokeWidth on spinner 2023-02-28 19:48:06 +00:00
Kieran a39d015917
feat: always show zaps 2023-02-28 19:47:04 +00:00
Kieran ac41f8c2f4
bug: clear redux store on logout
closes #372
2023-02-28 19:33:47 +00:00
Kieran f30a9075a2
bug: prevent multiple parallel WebLN calls 2023-02-28 19:25:33 +00:00
Kieran 1ad0270819
Merge pull request #373 from w3irdrobot/disable-mark-all-read
Update mark all read dm button to be disabled when no unreads
2023-02-28 16:13:40 +00:00
Kieran 5e7ce7de35
bug: trim relays in zap 2023-02-28 16:07:20 +00:00
Kieran 5caf5541ec
chore: extract message 2023-02-28 15:52:05 +00:00
Kieran 0a8741ee71
bug: trim name 2023-02-28 15:45:28 +00:00
Kieran d43ff2646d
feat: reveal content with click 2023-02-28 15:42:25 +00:00
Lukas Jakob 7e50c72ea7 refactor(AsyncButton): replace spinner 2023-02-28 07:50:05 -06:00
Lukas Jakob b1e7a202f3 Fix format 2023-02-28 07:19:55 -06:00
Lukas Jakob 4e9408ee3e refactor(AsyncButton): add disabled property 2023-02-28 07:19:55 -06:00
Lukas Jakob 57f86812b3 refactor(Profile): add AsyncButton 2023-02-28 07:19:55 -06:00
Lukas Jakob 0b7d070146 refactor(AsyncButton): add loader 2023-02-28 07:19:55 -06:00
Kieran 2e78da732a
New Crowdin updates (#364)
* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Arabic)

* feat: add it lang

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Arabic)

* New translations en.json (Japanese)

* New translations en.json (Indonesian)

* New translations en.json (Indonesian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Arabic)

* New translations en.json (German)

* New translations en.json (Hungarian)

* New translations en.json (Japanese)

* New translations en.json (Chinese Simplified)

* New translations en.json (Indonesian)

* New translations en.json (Korean)

* New translations en.json (Italian)

* New translations en.json (Arabic)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Indonesian)

* New translations en.json (Italian)

* Read preferences directly from localStorage

* Add Indonesian to language picker

* Update translators
2023-02-28 10:24:55 +00:00
w3irdrobot 564701c8b8
Update mark all read dm button to be disabled when no unreads 2023-02-27 23:52:12 -05:00
d-r-w d18fa03f31 Makes entire note clickable 2023-02-27 19:16:43 -06:00
Kieran 5f6f8f5c44
Merge pull request #370 from v0l/long-press
Fast Zaps 
2023-02-27 21:34:30 +00:00
Kieran 4718d11906
auto-close lnurl flow after WebLN payment success 2023-02-27 21:24:12 +00:00
Kieran 7463196edf
cancel fast zap 2023-02-27 21:19:26 +00:00
Sam Samskies 2782f24690
fix URL parsing edge cases (#360)
This should fix the following:
- URLs in parentheses
- URLs at the end of a sentence
2023-02-27 11:21:38 -08:00
Kieran 17c6b65158
format 2023-02-27 19:15:58 +00:00
Kieran 3040dd46fa
extract error messages 2023-02-27 19:15:39 +00:00
Kieran a564dfc4e8
bug: trim lnurl 2023-02-27 18:24:37 +00:00
Kieran 8c286c04f3
feat: fast zaps 2023-02-27 17:46:01 +00:00
Kieran e450cdd865
fix: autoFocus 2023-02-27 13:21:06 +00:00
Kieran 45c4c3bce1
feat: nip5 in profile path 2023-02-27 13:17:57 +00:00
Kieran 688c5cf4f8
Merge pull request #363 from lujakob/add-search-field-focus
feat: add search page field autofocus
2023-02-27 11:54:06 +00:00
Kieran 62cd8b57d1
feat: language picker 2023-02-27 11:31:46 +00:00
Kieran 7c74a777de
bug: login page overflow
closes #361
2023-02-26 21:25:17 +00:00
Lukas Jakob a08c5fdc75 feat: add search page field autofocus 2023-02-26 13:37:56 -06:00
Kieran 525b2def1f New translations en.json (Arabic) 2023-02-26 11:36:22 +00:00
Kieran c203c7eeed
bug: follow all fix 2023-02-25 21:27:01 +00:00
Kieran cf2c052306 New translations en.json (Arabic) 2023-02-25 16:35:59 +00:00
Kieran 37ab7cdfce
Merge pull request #355 from w3irdrobot/clear-unread-icon-header
Remove unread message dot when messages all read
2023-02-25 10:10:13 +00:00
Kieran 600fe862e9 New translations en.json (Japanese) 2023-02-25 08:43:19 +00:00
Kieran ab1b5a533a New translations en.json (Japanese) 2023-02-25 07:08:35 +00:00
Kieran e4deb25ff6 New translations en.json (Korean) 2023-02-24 23:55:30 +00:00
Kieran 8475ecd59b New translations en.json (Indonesian) 2023-02-24 23:55:29 +00:00
Kieran a65fab8ad9 New translations en.json (Chinese Simplified) 2023-02-24 23:55:28 +00:00
Kieran 84465f2182 New translations en.json (Japanese) 2023-02-24 23:55:27 +00:00
Kieran 95fb0d0082 New translations en.json (Hungarian) 2023-02-24 23:55:26 +00:00
Kieran 873e1b4a08 New translations en.json (German) 2023-02-24 23:55:26 +00:00
Kieran 4d2d34e487 New translations en.json (Arabic) 2023-02-24 23:55:25 +00:00
Kieran d6265df06f New translations en.json (Spanish) 2023-02-24 23:55:24 +00:00
Kieran 13f36b8504 New translations en.json (French) 2023-02-24 23:55:23 +00:00
Kieran df04c16283
feat: hide QR when WebLN triggered 2023-02-24 23:24:18 +00:00
Kieran 44b29b777d
feat: default zap amount 2023-02-24 23:03:01 +00:00
Kieran 8939b1dad2
chore: add w3irdrobot 2023-02-24 22:20:44 +00:00
Kieran ee734ede80
Merge pull request #354 from w3irdrobot/purple-message-number
Change message unread color to purple
2023-02-24 22:16:32 +00:00
w3irdrobot c0d9399ca7
Remove unread message dot when messages all read
Clicking the Mark All Read button was clearing the messages, but
the purple dot was not disappearing until the page was refreshed.
It appears it was just because the calculation was being cached
and not updated because the dm interaction counter was not inputted
as a dependency to useMemo
2023-02-24 16:44:55 -05:00