Commit Graph

2654 Commits

Author SHA1 Message Date
mzivil a039f29cdf add stripTrailingSlash utility function 2024-02-02 15:44:37 -05:00
Keyan bbfb008d5f
Merge pull request #780 from mzivil/fix-yewtube-dupes
Fix yewtube links showing up as dupes of each other
2024-02-02 13:48:54 -06:00
mzivil d861890d35 add sn nym to contributors 2024-02-02 14:19:23 -05:00
mzivil 4076727ed3 fix yewtu.be links showing up as dupes of each other 2024-02-02 12:43:24 -05:00
Keyan b2ba333905
Merge pull request #777 from stackernews/toast-tags
Add tags and onCancel to toasts
2024-02-01 11:10:10 -06:00
Keyan dbde163c74
Merge pull request #778 from stackernews/faster-expiry-after-payment
Finalize hodl invoices after payment within 60 seconds
2024-02-01 11:04:02 -06:00
ekzyis 730158fd5c Finalize hodl invoices after payment within 60 seconds 2024-02-01 17:28:06 +01:00
ekzyis 1fa129272a Use toast body as default tag 2024-02-01 16:17:54 +01:00
ekzyis 878d661154 Add tag and cancel support to toasts 2024-02-01 16:17:54 +01:00
Keyan 50c4a9c8e6
Merge pull request #775 from benthecarman/rm-desc-hash-check
Remove description hash check for lnurl
2024-01-31 09:21:48 -06:00
benthecarman e4c1c9bade
Remove description hash check for lnurl 2024-01-31 12:21:26 +00:00
keyan 7c67c4049e run npm install 2024-01-30 20:08:48 -06:00
keyan a62cdd288f upgrade puppeteer in capture microservice + add emojis 2024-01-30 19:53:53 -06:00
keyan 565950c875 install psql on servers 2024-01-30 18:47:01 -06:00
keyan 3cc1f23902 remove no longer needed chromium install 2024-01-30 18:43:03 -06:00
keyan 38e42255dd remove no longer needed puppeteer config 2024-01-30 18:41:26 -06:00
Keyan 5b376bf5b9
Merge pull request #774 from stackernews/microservices
Microservices
2024-01-30 18:38:59 -06:00
keyan 60a02f4c8a npm audit fix 2024-01-30 18:28:13 -06:00
keyan 31cdf572fb add microservice definitions to repo 2024-01-30 18:23:46 -06:00
keyan 61c64646b5 use capture microservice 2024-01-30 18:22:40 -06:00
ekzyis d1ed72bb85
Allow territory founders to pin items (#767)
* Add pinning of items

* Fix empty section in context menu

* Pin comments

* Fix layout shift during comment pinning

* Add comments, rename, formatting

* Max 3 pins allowed

* Fix argument

* Fix missing position update for other items

* Improve error message

* only show saloon in home

* refine pinItem style and transaction usage

* pin styling enhancements

* simpler handling of excess pins

* fix pin positioning like mergePins

* give existing pins null subName

* prevent empty items on load

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-01-30 11:04:56 -06:00
keyan 35c76c077e improved footnote styling and list styling 2024-01-28 13:26:32 -06:00
keyan 2338be774d better quoteblock styling 2024-01-28 13:26:32 -06:00
keyan 6179d14a68 use greedy connection from view refreshes 2024-01-28 13:26:32 -06:00
keyan 5086c2036d add ids to all toasts to help id rogue toasts 2024-01-28 13:26:32 -06:00
keyan d8f4071afb refine serialization retries 2024-01-28 13:26:32 -06:00
ekzyis 4bc0a930b3
Fix image deletion batch size (#769) 2024-01-28 12:29:56 -06:00
ekzyis e4aff5d11b
Format internal links as #<id> (#765)
* Format internal links

* Fix URL text ignored
2024-01-24 17:29:52 -06:00
ekzyis bd23c91fda
Fix typo in FILTER for posts in user stats (#766) 2024-01-23 18:22:34 -06:00
keyan a5d7867a13 make sure to check only pending withdrawals 2024-01-21 13:25:10 -06:00
keyan a3842a9af3 newsletter script meme monday search fix 2024-01-21 13:25:10 -06:00
ekzyis 30850acd8f
Fix stale cursor used on reconnect (#764) 2024-01-20 16:57:52 -06:00
keyan dc8d35fdcf only open related posts when there aren't comments 2024-01-20 15:17:34 -06:00
keyan 70aa7dd1ad fix single date in datepicker 2024-01-19 20:38:35 -06:00
keyan e9a78e2d07 fix spending growth view 2024-01-19 16:40:29 -06:00
keyan 968263ba6a have datepicker store unix timestamps 2024-01-19 15:30:36 -06:00
keyan eb99fcef9e improve stat gathering 2024-01-19 15:19:26 -06:00
keyan 0134968fc1 don't trigger date picker onchange until 2 dates are picked 2024-01-19 15:14:52 -06:00
keyan c41ad5d469 fix for 404 on empty search results 2024-01-19 15:12:47 -06:00
keyan 64e49934d4 disconnect greedy rewards connection after they run 2024-01-19 15:11:44 -06:00
keyan d14123cc42 improved comment linking 2024-01-17 19:03:49 -06:00
ekzyis 2ceada66d6
Remove plausible link (#762) 2024-01-17 18:11:00 -06:00
keyan 61a66127d1 search/related posts refinements 2024-01-17 17:39:48 -06:00
Ben Allen f915b2b8b3
add support for scanning bip21 qr (#755) 2024-01-17 15:17:18 -06:00
keyan c58d3c778a search filter help text for exact phrase 2024-01-17 09:28:05 -06:00
keyan fe5991112e support query quoting for exact matches 2024-01-16 20:01:06 -06:00
ekzyis 9ef0c81245
refactor: replace recursion with promise sequence in `useInvoiceable` (#752)
* refactor: replace recursion with promise sequence

This commit refactors `useInvoicable`. The hard-to-follow recursion was replaced by awaiting promises which resolve or reject when one step of our JIT invoice flow is done.

Therefore, `onSubmit` is now fully agnostic of JIT invoices. The handler only returns when payment + action was successful or canceled - just like when a custodial zap was successful.

* refactor more and fix bugs

* move invoice cancel logic into hook where invoice is also created
* fix missing invoice cancellation if user closes modal or goes back.
* refactor promise logic: it makes more sense to wrap the payment promise with the modal promise than the other way around.

* Fix unhandled rejection

* Fix unnecessary prop drilling

* Fix modal not closed after successful action

* Fix unnecessary async promise executor

* Use function to set state
2024-01-16 18:40:11 -06:00
Keyan 1f355140f3
Merge pull request #751 from stackernews/fix-title-in-logs
Fix logged title
2024-01-16 15:18:02 -06:00
keyan 9af3388353 semantic search 2024-01-15 17:22:57 -06:00
ekzyis f450a00073 Fix logged title 2024-01-14 21:14:14 +01:00