Commit Graph

30 Commits

Author SHA1 Message Date
k00b 4262189c91 fix week interval in newsletter 2024-12-28 15:50:17 -06:00
ekzyis 3ead4db8dc
Use new LND node as routing node (#1700)
* Use same naming scheme between ln containers and env vars

* Add router_lnd container

* Only open channels to router_lnd

* Use 1sat base fee and 0ppm fee rate

* Add script to test routing

* Also fund router_lnd wallet

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-12-10 10:52:17 -06:00
ekzyis 570c842934
Wallet send+recv status derived from logs (#1559)
* Derive wallet status from logs

* Add send/recv icons

* Set status individually for send and recv

* Move status logic into own function

* Add LNbits, Blink, CLN, LND, phoenixd logo

* Fix wallet.status.any not using Status enum

* Fix WebLN being weird

* Use phoenixd logo with text

* Also use wallet logo on config page

* Also poll logs for wallet status

* Use logger.info for logs not relevant for wallet status

* Remove no longer used wallet badges

* Crop LND logo like other logos

* Fix all wallets show 'configure'

* Fix wallet status not respecting enabled

* Fix wallet.def.requiresConfig undefined

* Fix banner shown for WebLN

* Fix attach shown when configured

* Filter by context.status to determine wallet status

* Fix +- shown without context

* Fix missing theme support for wallet logos
2024-11-18 16:46:24 -06:00
k00b 73df5e0308 improve newsletter import 2024-11-16 16:52:08 -06:00
Riccardo Balbo 9c55f1ebe2
Implement deposit as receive paidAction (#1570)
* lnurlp paid action

* lnurlp has 10% sybil fee

* fix merge issue

* Update pages/settings/index.js

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>

* fix notifications

* fix destructure

* pass lud18Data to lnurlp action

* minor cleanup

* truncate invoice description to permitted length

* remove redundant targetUserId

* lnurlp paidAction -> receive paidAction

* remove redundant user query

* improve determining if peer is invoiceable

* fix inconsistent relative imports

* prevent paying self-proxied invoices and better held invoice cancellation

* make gun/horse streak zap specific

* unique withdrawal hash should apply to confirmed payments too

* prevent receive from exceeding wallet limits

* notifications

* fix notifications & enhance invoice/withdrawl page

* notification indicator, proxy receive based on threshold, refinements

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-15 18:38:14 -06:00
Keyan 245419185f
wallet streaks (#1468)
* wallet streaks backend

* notifications and badges

* reuseable streak fragment

* squash migrations

* push notifications

* update cowboy notification setting label text
2024-10-11 19:14:18 -05:00
k00b b6dcee4f26 add booosts to newsletter script 2024-09-22 12:05:03 -05:00
k00b 83458fdc9e add amas to newsletter script 2024-09-21 14:44:17 -05:00
Keyan 5f0494de30
rethinking boost (#1408)
* reuse boost for jobs

* wip

* allow job stopping

* restore upvote.js

* expire boost

* boost beyond edit window

* fix boost bolt styling

* rank comments with boost

* no random sort for jobs

* top boost for month at top of territory

* boost hints

* more boost help

* squash migrations

* for same boost, prioritize older

* show ad only if active

* fix itemCreate/Update boost expiration jobs

* fix fee button precedence
2024-09-19 13:13:14 -05:00
k00b 88eea9ca94 newsletter script: search for bounties on @sn account 2024-09-14 13:44:57 -05:00
k00b f42344497e update newsletter script 2024-08-31 14:04:49 -05:00
ekzyis cc003a9a3e
Phoenixd send+recv (#1322)
* Add genwallet script

* Add phoenixd as send+recv wallet

* phoenixd passwords are 64 hex chars
2024-08-26 18:20:45 -05:00
keyan 87e198cc04 add this day in stacker news to newsletter 2024-06-22 15:23:30 -05:00
ekzyis 91192025e5
Remove NWC script (#1182) 2024-05-17 20:27:47 -05:00
ekzyis f0403a2bbe
Add script to use NWC with stacker lnd (#1151) 2024-05-06 15:05:06 -05:00
keyan 13eda4c120 add geninvites script 2024-04-24 13:30:08 -05:00
keyan fa5adac297 improve newsletter top stories format 2024-04-21 14:12:29 -05:00
keyan 45f90bd3f9 update newsletter script with new search filters 2024-03-30 15:27:51 -05:00
SatsAllDay 7087647cc0
Add top stackers, spender, and cowboys to newsletter (#954)
* Add top cowboys, stackers, and spenders to newsletter

* Rearrange to match the issue title

* fix top spenders `by` variable

* Update user resolver for top users `spending` `by` value

* wrap in try catch to not have errors break the script execution

return the array as defined whenever an error occurs
2024-03-23 12:23:31 -05:00
keyan a3842a9af3 newsletter script meme monday search fix 2024-01-21 13:25:10 -06:00
keyan efc566c3da improve newsletter script 2024-01-11 13:08:37 -06:00
SatsAllDay cb076eca77
add link to email signup page for newsletter in newsletter signature (#737) 2024-01-07 10:43:00 -06:00
keyan 69004168e0 improve newsletter script 2023-12-17 13:20:22 -06:00
keyan 5ef2c3d839 quote friday fact in newsletter 2023-11-11 16:18:40 -06:00
keyan e3b81b7746 add top meme and fact to newsletter script 2023-10-28 18:28:13 -05:00
keyan 480a302e00 store image proxy urls during migration 2023-10-01 18:11:23 -05:00
ekzyis b2b38d8924
Images v2 (#513) 2023-10-01 18:03:52 -05:00
keyan e6ffeb8f76 newsletter template improvements 2023-09-03 11:59:55 -05:00
keyan 89e64351dd fix boost in newsletter template gen 2023-09-02 12:24:00 -05:00
keyan 40a01789ec newsletter script 2023-09-02 12:21:00 -05:00