Commit Graph

1654 Commits

Author SHA1 Message Date
ekzyis cac956b88d Fix typo 2023-10-18 16:50:33 +02:00
ekzyis e9ffe43405 Fix empty push notifications 2023-10-18 01:51:32 +02:00
keyan e12e2481f4 nofollow on unqualified content 2023-10-16 13:44:07 -05:00
keyan a19b392787 fix duplicate key issue when rendering search highlights 2023-10-15 16:13:54 -05:00
keyan 0daff7a01f update packages 2023-10-15 15:43:06 -05:00
keyan 61e7030b0b WORKAROUND #449 by intercepting buggy response in service worker 2023-10-15 13:10:39 -05:00
Satoshi Nakamoto 411c08d9e8 Dynamic protocol, host for share URLs so they work on localhost and in prod 2023-10-15 13:45:21 -04:00
keyan 94cbc902d6 remove jwt migrations 2023-10-13 19:58:16 -05:00
keyan da3d5ffd5f fix empty email profile in latest version of next-auth 2023-10-13 19:50:50 -05:00
Satoshi Nakamoto a6d3ca09e9 Don't include your own comments when determining if there are new thread
subscription replies for user hasNewNotes
2023-10-13 20:23:57 -04:00
ekzyis dcfcbfb0ad Refactor typeof check with isJob function 2023-10-13 22:37:41 +02:00
ekzyis 78745379aa Fix magic numbers in item update logic 2023-10-13 22:27:27 +02:00
ekzyis eb190f443f Move OPENSEARCH env vars to optional section 2023-10-13 22:11:50 +02:00
ekzyis dae8813e44 Add missing LIST_MONK_AUTH env var 2023-10-13 22:10:38 +02:00
ekzyis 8f229c51bf Remove duplicate slack env vars 2023-10-13 22:09:17 +02:00
ekzyis 942b1e07e9 Fix earn push notifications 2023-10-13 21:46:07 +02:00
keyan 8f034f0e0a fix corner cases in lightning address autosuggestions 2023-10-12 15:29:22 -05:00
keyan 6516ce9c9e don't immediate clear mention suggestions on blur (in case clicking a suggestion) 2023-10-12 13:45:29 -05:00
Keyan 676d30f9bf
Merge pull request #554 from SatsAllDay/537-self-mention
Self mentions
2023-10-12 13:26:14 -05:00
Keyan a37c0ef14a
Merge pull request #553 from SatsAllDay/autocomplete-ln-addr
Add auto-complete support when withdrawing to ln addr
2023-10-12 13:18:29 -05:00
Keyan 6cb813f421
Merge branch 'master' into autocomplete-ln-addr 2023-10-12 13:16:54 -05:00
Keyan 672adf260d
Merge pull request #559 from SatsAllDay/seed-large-discussion
Add a discussion post with a lot of comments to the seed file to help debug in dev
2023-10-12 13:08:49 -05:00
Keyan ad9465acda
Merge pull request #556 from AustinKelsay/bugfix-crosspost-remove-a-tag
Removing a tag, retested crossposts and edits
2023-10-12 13:08:20 -05:00
Keyan e792d18467
Merge pull request #551 from AustinKelsay/bugfix-adv-post-form-crosspost-checkbox
crosspost to nostr checkbox only appears on discussion forms
2023-10-12 13:07:45 -05:00
keyan a7e016e9ba fix? markdown input rerendering more than needed 2023-10-12 12:46:22 -05:00
Satoshi Nakamoto 99ce6c6e45 Add a discussion post with a lot of comments to help debug in dev to the seed file 2023-10-12 12:15:11 -04:00
austinkelsay cdd3e4fdd4 Removing a tag, retested crossposts and edits 2023-10-11 17:26:25 -05:00
Satoshi Nakamoto 0b8316d08c Don't create mentions when mentioning yourself
By extension, also don't send yourself a push notification when
mentioning yourself
2023-10-11 16:07:48 -04:00
Satoshi Nakamoto e907b40845 * Hide suggestions if the user is typing a ln addr that is not on stacker.news
* Don't select suggestion with tab in this particular instance of InputUseSuggest
2023-10-10 19:15:10 -04:00
Satoshi Nakamoto 6d3482a288 Add auto-complete support when withdrawing to ln addr
adds auto-complete support for other stacker.news users when withdrawing
to a lightning address

implemented via adding an optional `transformUser` prop to the `UserSuggest` and `InputUserSuggest`
components, which allows you to transform fetched user results before displaying in the suggestion
dropdown

this is used to transform a user nym to nym@stacker.news, the corresponding
lightning address

by default, `transformUser` is an identity fn aka no transformation

this change also clears suggestions when the surrounding input field is blurred, which
is a better UX IMO
2023-10-10 11:15:59 -04:00
austinkelsay 06c55be6a5 crosspost to nostr checkbox only appears on discussion forms 2023-10-09 16:08:33 -05:00
keyan 8ace053be5 remove freebie tag from pinned items 2023-10-06 19:32:48 -05:00
keyan a474b6b94e temp remove broken rewards notifications 2023-10-06 19:28:05 -05:00
keyan 91ccc80a97 fix issues related to syntax highlighting 2023-10-06 18:51:38 -05:00
keyan 9aa8d8a688 trigger autocomplete with just 2023-10-06 18:20:12 -05:00
keyan dc1fda64dc remove unused debounce callback deps 2023-10-06 16:34:16 -05:00
keyan 58c5844492 fix mention regex 2023-10-06 16:01:19 -05:00
keyan b995b7dd3b raise nofollow limits 2023-10-06 15:54:46 -05:00
Keyan 6d370aa019
Merge pull request #548 from SatsAllDay/copy-ln-addr
Copy lightning address on click
2023-10-06 15:23:18 -05:00
Keyan 33325f7c17
Merge pull request #545 from SatsAllDay/lud18-fixes
LUD-18 fixes
2023-10-06 15:15:33 -05:00
keyan 1b283fbe94 fix treating ref as primitive 2023-10-06 15:04:50 -05:00
keyan 8ca8bb985e reuse debounce hook more places 2023-10-06 15:01:51 -05:00
Satoshi Nakamoto c073847eb7 Copy ln addr when you click on the ln addr button on user profile 2023-10-06 09:24:40 -04:00
keyan 0a35bca650 memoize debounced function 2023-10-05 21:14:57 -05:00
keyan d1a7dca46b use and make a debounce callback hook 2023-10-05 20:33:14 -05:00
Keyan 4595dfdda5
Merge branch 'master' into lud18-fixes 2023-10-05 19:33:22 -05:00
SatsAllDay 6b8820b7ab
Fix quote selection reply in iOS Safari (#544)
* Handle quote reply of selections in iOS Safari

Approach borrowed from https://stackoverflow.com/a/72537632

Basically this makes a copy of the selection when the "touchend" event
occurs, so we can use it for processing later

This code listens to that event for each instance of the reply component,
removing the event listener on unmount

* Update docker-compose up command in dev notes

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-10-05 19:32:54 -05:00
keyan 707fa33552 tag freebies appropriately 2023-10-05 18:40:30 -05:00
Satoshi Nakamoto e9c0c06779 Various LUD-18 fixes
* Debounce the `onAddrChange` event handler when sending to a LN Address,
so we more accurately display the input form for LUD-12 and LUD-18 options

* Remove explicit URI encoding of Payer Data when sending to a LN Addr, since we're getting encoding for free via URLSearchParams

* Append `@stacker.news` to identifier values sent in payer data

* Don't do extra decoding when receiving LUD-18 data
2023-10-05 10:27:01 -04:00
keyan c77d761ab6 Merge branch 'fix' 2023-10-04 19:35:09 -05:00