3100 Commits

Author SHA1 Message Date
Keyan
7c98a32452
Update awards.csv 2025-03-06 13:20:51 -06:00
github-actions[bot]
3659b4555e
Extending awards.csv (#1949)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-03-06 13:09:00 -06:00
Scroogey-SN
6363550123
change trigger from pull_request to pull_request_target (#1948) 2025-03-06 13:06:51 -06:00
k00b
53e4683d98 overflow hidden on media container, don't revert-layer on video 2025-03-06 13:04:32 -06:00
k00b
4dd9088f25 fix #1945 2025-03-06 09:27:23 -06:00
soxa
b03e02e4cf
Expose env-dependent constant to service worker; Add Brave Browser-specific push registration error and guidance; Remove unused fetch debug plugin (#1947) 2025-03-06 09:24:49 -06:00
ekzyis
75d0a8e3d9
Fix undefined db for wallet logs (#1944) 2025-03-05 07:29:21 -06:00
k00b
d3e5af40ec fix trust after mathjs upgrade 2025-03-05 07:26:59 -06:00
ekzyis
bf54044a96
Also check for user before setting multi auth cookies (#1941)
* Move multi auth init

* Store same token as we return in jwt callback
2025-03-04 08:58:48 -06:00
k00b
8eb5a51fd6 move sanctioned country codes to env var 2025-03-03 18:14:36 -06:00
k00b
5a8804de79 disallow buying CCs through lnurl-pay and lightning address 2025-03-03 18:03:34 -06:00
Keyan
090203b579
Update extend-awards.yml adding issues: read 2025-03-03 15:41:04 -06:00
soxa
8baf725a37
fix safari videos regression, overflow clipping images (#1938) 2025-03-03 14:53:02 -06:00
Keyan
20b2f9d4c6
Update extend-awards.yml with contents write 2025-03-03 14:39:31 -06:00
Scroogey-SN
65cb25e28c
Extend awards action (#1939)
* remove debug job, restrict create-pull-request to only awards.txt, add documentation

* make create-pull-request use a custom branch, and filter that out, so PRs generated by action don't invoke action again

* add permissions: line

* pull-requests write instead of all

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-03 14:35:22 -06:00
ekzyis
dfe0c4ad23
Fix footnotes and overflow (#1940)
* Fix missing uncollapse on footnote click

* Add comments to variables
2025-03-03 14:31:10 -06:00
Keyan
0d57dce068
Update awards.csv 2025-03-03 13:33:24 -06:00
Scroogey-SN
b1cdc76eec
fix #1167: allow pointer events in linkBoxParent pre for scrollbar (#1930)
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-03 12:47:54 -06:00
Scroogey-SN
27104302d5
Extend awards action (#1937)
* remove debug job, restrict create-pull-request to only awards.txt, add documentation

* make create-pull-request use a custom branch, and filter that out, so PRs generated by action don't invoke action again
2025-03-03 12:47:31 -06:00
Keyan
8a764f0f75
Revert "Extend awards action (#1933)" (#1936)
This reverts commit dfc297436b451cb14cdb57f42ea47990dd586464.
2025-03-01 16:57:56 -06:00
soxa
f72af08882
fix: WebLN QR fallback for anon users (#1858)
* fix: WebLN QR fallback for anon users

* wip: clear zap color on payment fail

* reverse clearItemMeAnonSats

* webln-specific retry bypass

* cleanup

* send WebLN payment when user is Anon AND on QR

* skip wallet checking on anon

* Use WalletError for all errors in webln.sendPayment

---------

Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-01 16:56:18 -06:00
soxa
5e7fd693f1
Redirect to top cowboys page if there's a time descriptor (#1913)
* redirect to cowboys.js if there's a time descriptor

* add comment for future reference

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-01 16:52:37 -06:00
Scroogey-SN
dfc297436b
Extend awards action (#1933)
* add an action that extends awards.csv on PR merges

* change trigger to pull_request, add unfiltered step for logging
2025-03-01 16:51:39 -06:00
Edward Kung
34c7218eba
Add SimpleStacker to contributors.txt (#1935)
* Add SimpleStacker to contributors list

* remove empty line
2025-03-01 10:38:39 -06:00
Keyan
5a7593f2a7
Revert "add an action that extends awards.csv on PR merges (#1931)" (#1932)
This reverts commit 5de9d92af25be1c8c757b344843f70fb82ffbd6a.
2025-02-28 19:19:07 -06:00
Edward Kung
73170ba8a2
Territory analytics (#1926)
* add territory to analytics selectors

* implement territory analytics, revert user satistics header

* fix linting errors

* disallow some territory names

* fix linting error

* minor adjustments to header

* escape input

* 404 on non-existant sub

* exclude unused queries depending on sub select

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-02-28 19:15:18 -06:00
Scroogey-SN
5de9d92af2
add an action that extends awards.csv on PR merges (#1931) 2025-02-28 19:13:14 -06:00
k00b
4e113c267b moar link extraction vibe coding: config file, batching, log level 2025-02-28 11:35:41 -06:00
Keyan
d1bbfd5339
Update awards.csv 2025-02-27 15:48:10 -06:00
Scroogey-SN
b6618dd66a
Fix issue #1924, require nostr prefixes start with slash (#1928) 2025-02-27 15:24:09 -06:00
Scroogey-SN
33db3b2c79
Add self to contributors.txt (#1929) 2025-02-27 15:16:40 -06:00
Keyan
f271926665
Update awards.csv 2025-02-27 13:13:27 -06:00
Scroogey-SN
f97c1b04e6
Fix issue #1905, item popover with commentId (#1911)
* Fix issue #1905, item popover with commentId

* Fix issue #1924, require nostr prefixes start with slash

* revert hacks and unrelated changes, use commentId in rehype

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-02-27 13:10:42 -06:00
k00b
43edef55eb vibe coded nostr link extractor script 2025-02-27 11:58:02 -06:00
soxa
31532ff830
Dynamic loading optimizations (#1925)
* dynamic: React QR Scanner, React Datepicker; placeholder for syntax highlighting

* Loading placeholders, prevent layout shifting
2025-02-24 15:06:40 -06:00
k00b
31b58baf51 decrease nofollow limit 2025-02-23 11:08:05 -06:00
soxa
7b988b87d9
hotfix: email address should be case insensitive (#1923) 2025-02-23 11:03:32 -06:00
soxa
bc3c008a6d
Dynamically import MathJax (#1910)
* Dynamically import MathJax

* Only load if there's math content; cleanup

* avoid loading RSH on Math, we have MathJax for that; cleanup

* support multiline mathjax

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-02-21 15:41:27 -06:00
Keyan
c571ba0cb7
README.md typo 2025-02-15 20:16:34 -06:00
Keyan
46f87e98b6
Orbstack encouragement 2025-02-15 20:15:51 -06:00
soxa
868847cb43
Dynamically import React Syntax Highlighter; correct theme (#1909) 2025-02-15 16:33:44 -06:00
k00b
d8de6255fe Merge divergent deploy branch 2025-02-15 13:56:41 -06:00
Keyan
4651b36944
Update awards.csv 2025-02-14 22:09:54 -06:00
ekzyis
fca5193beb
Fix autowithdrawal error handling (#1908)
* Fix autowithdrawal error message

* Fix no error thrown if autowithdrawal failed
2025-02-14 20:55:17 -06:00
Keyan
f0d7eaf446
Update awards.csv 2025-02-14 20:09:28 -06:00
ekzyis
5e85147578
Fix receiver fallback on caller error (#1907)
* Rename to createUserInvoice

* Fix no receiver fallback on wrap, direct or autowithdrawal error

* Fix missing error logs for direct payments
2025-02-14 20:01:14 -06:00
ekzyis
0032e064b2
Automated retries (#1776)
* Poll failed invoices with visibility timeout

* Don't return intermediate failed invoices

* Don't retry too old invoices

* Retry invoices on client

* Only attempt payment 3 times

* Fix fallbacks during last retry

* Rename retry column to paymentAttempt

* Fix no index used

* Resolve TODOs

* Use expiring locks

* Better comments for constants

* Acquire lock during retry

* Use expiring lock in retry mutation

* Use now() instead of CURRENT_TIMESTAMP

* Cosmetic changes

* Immediately show failed post payments in notifications

* Update hasNewNotes

* Never retry on user cancel

For a consistent UX and less mental overhead, I decided to remove the exception for ITEM_CREATE where it would still retry in the background even though we want to show the payment failure immediately in notifications.

* Fix notifications without pending retries missing if no send wallets

If a stacker has no send wallets, they would miss notifications about failed payments because they would never get retried.

This commit fixes this by making the notifications query aware if the stacker has send wallets. This way, it can tell if a notification will be retried or not.

* Stop hiding userCancel in notifications

As mentioned in a previous commit, I want to show anything that will not be attempted anymore in notifications.

Before, I wanted to hide manually cancelled invoices but to not change experience unnecessarily and to decrease mental overhead, I changed my mind.

* Also consider invoice.cancelledAt in notifications

* Always retry failed payments, even without send wallets

* Fix notification indicator on retry timeout

* Set invoice.updated_at to date slightly in the future

* Use default job priority

* Stop retrying after one hour

* Remove special case for ITEM_CREATE

* Replace retryTimeout job with notification indicator query

* Fix sortTime

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-02-14 19:25:11 -06:00
k00b
f4040756b3 fix graphql errors in notifications 2025-02-14 15:10:15 -06:00
ekzyis
87b5bb80fd
Fix missing cleanup of dark mode listeners (#1906) 2025-02-14 11:37:24 -06:00
Edward Kung
15bd1c3fc5
Fix the check for misleading links (#1901)
* Fix the check for misleading links

* replace tabs with spaces

* remove trailing spaces

* move isMisleadingLinks to lib/url.js and create unit tests

* Add comments to test cases

* URLs can contain hyphens

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-02-14 09:43:08 -06:00