3360 Commits

Author SHA1 Message Date
ekzyis
b1a0abe32c
Service Worker rewrite (#2274)
* Convert all top-level arrow functions to regular functions

* Refactor webPush.sendNotification call

* Refactor webPush logging

* Rename var to title

* Rewrite service worker

This rewrite simplifies the service worker by removing

* merging of push notifications via tag property
* badge count

These features weren't properly working on iOS. We concluded that we don't really need them.

For example, this means replies will no longer get merged to "you have X new replies" but show up as individual notifications.

Only zaps still use the tag property so devices that support it can still replace any previous "your post stacked X sats" notification for the same item.

* Don't use async/await in service worker

* Support app badge count

* Fix extremely slow notificationclick

* Fix serialization and save in pushsubscriptionchange event
2025-07-10 11:54:23 -05:00
ekzyis
bfced699ea
Rename to sendPushSubscriptionReply & remove unused nid argument (#2273)
* Refactor push subscription reply

* Remove unused notification id
2025-07-09 12:50:12 -05:00
ekzyis
17aada6dbc
Fix missing dependency in snow callback (#2270) 2025-07-07 15:18:15 -05:00
k00b
c81043efa8 add vote weight threshold to social poster 2025-07-07 14:51:17 -05:00
ekzyis
ec902ebc55
Remove unnecessary service worker message types (#2268)
* Remove service worker logger

* Use async/await for togglePushSubscription

* Remove commented out logger calls in service worker

* Remove message channel between service worker and app

The listener for messages from the service worker was removed in a previous commit.

* Remove unused OS detection for service worker

* Formatting

* Remove unnecessary service worker message types

These messages types were meant to debug or fix push notifications getting lost.

We figured out the issue: push notifications were lost because of silent pushes.

So these message types are no longer needed.

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-07-07 14:43:20 -05:00
k00b
8382dda231 back to lightning animation 2025-07-07 14:35:16 -05:00
ekzyis
18a38d8363
Refactor animations (#2261)
* Fix fireworks not checking localStorage flag

* Refactor animations

* Don't import unused animations

* Remove unused hook

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-07-07 14:34:37 -05:00
ekzyis
3a27057781
Remove service worker logger (#2265)
* Remove service worker logger

* Use async/await for togglePushSubscription

* Remove commented out logger calls in service worker

* Remove message channel between service worker and app

The listener for messages from the service worker was removed in a previous commit.

* Remove unused OS detection for service worker
2025-07-07 14:15:26 -05:00
ekzyis
06df4b7a8c
Add custom title rule for YouTube (#2267) 2025-07-06 15:14:14 -05:00
Bryan Mutai
a634b05bee
Fix poll expiration clear button style (#2250) 2025-07-06 12:15:00 -05:00
soxa
7b3625eeeb
fix: outlawed comments should appear at the bottom (#2246) 2025-07-06 12:11:55 -05:00
ekzyis
1eea0a3ae0
Fix fireworks not checking localStorage flag (#2260) 2025-07-05 10:41:16 -05:00
Keyan
96fd271573
add fireworks (#2258)
* add fireworks

* fix weird search background color due to canvas overlay

* prevent going off small screens
2025-07-04 01:14:45 -05:00
ekzyis
de01d9493f
Fix missing cast to number (#2254) 2025-06-30 00:09:11 +02:00
ekzyis
8337aad596
Remove unreachable code (#2249)
* Remove unreachable code

* Remove unnecessary exports
2025-06-27 02:31:41 -05:00
k00b
0436bf68eb fix territory transfer notification case sensitive join 2025-06-23 16:18:49 -05:00
k00b
a419eefe9b fix unarchive throwing due to prior edge state 2025-06-23 16:01:30 -05:00
ekzyis
462016042c
Fix unique constraint hit during territory unarchive (#2245) 2025-06-20 09:41:37 -05:00
k00b
a5de2dae01 pay all remaining bounties 2025-06-19 18:19:51 -05:00
k00b
4034755410 vibe in award payment enhancements: option to consolidate + use alt receive method 2025-06-19 17:35:57 -05:00
k00b
04daf87f40 pay some more pending awards 2025-06-19 17:35:57 -05:00
ekzyis
54ccd19a75
Add another example to question about backward compatibility (#2242) 2025-06-19 21:35:33 +02:00
k00b
3c35e905d4 improve proxy invoice info modal 2025-06-19 13:31:21 -05:00
ekzyis
6efc0be9e5
Remove direct fallback if proxy enabled (#2231)
* Remove directReceive setting

* Never fallback to direct if proxy is enabled

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-06-19 12:54:50 -05:00
ekzyis
acf042f06e
Remove directReceive setting (#2230)
* Remove directReceive setting

* Keep directReceive in typedef for backward compatibility
2025-06-19 12:36:20 -05:00
ekzyis
089fe4d57b
Remove unused injected amount param (#2241) 2025-06-19 11:54:55 -05:00
ekzyis
3a3f28beef
Update PR template (#2240)
* Add example to question about backwards compatibility

* Fix spelling: backwards compatible -> backward compatible
2025-06-19 14:24:27 +02:00
k00b
27671ae746 pay awards 2025-06-18 16:11:37 -05:00
github-actions[bot]
37d7ed59bb
Extending awards.csv (#2238)
* Extending awards.csv

* Extending awards.csv

---------

Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-17 18:58:46 -05:00
Bryan Mutai
652315e9a0
Remove defunct relays from default list (#2235)
* Remove defunct relays from default list

* add primal, remove paid relay

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-06-17 18:48:45 -05:00
Bryan Mutai
6d50f7c9fc
fix embed list bullet to render at top of embed (#2221)
* fix embed list bullet to render at top of embed

* make it work for images/video

* fix tweet skeleton and list horizontal scroll

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-06-17 18:33:42 -05:00
ekzyis
a7f73fef90
Remove unused onPaid for RECEIVE paid action (#2229)
This function can be removed because it will never do anything when called.

It does not do anything for wrapped invoices, and it will never get called for direct payments (since we don't know when the invoice was paid).

These are the only two payment methods for the RECEIVE paid action since 5a8804d.
2025-06-14 20:39:02 -05:00
ekzyis
36045b8ac9
Remove unused createInvoice mutation (#2227) 2025-06-14 20:38:23 -05:00
ekzyis
67b30c6974
Fix documentation for RECEIVE paid action (#2228) 2025-06-14 20:37:24 -05:00
github-actions[bot]
dacd37aeef
Extending awards.csv (#2226)
* Extending awards.csv

* Update awards.csv

---------

Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-06-13 23:13:55 -05:00
Axel Vyrn
16da50733c
Lnurl UI update (#2220)
* Update index.js

added info tooltip for LNURL-auth button

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* Update index.js

* use existing lightning explainer

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-06-13 23:10:32 -05:00
github-actions[bot]
830967467a
Extending awards.csv (#2225)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-06-13 21:43:33 -05:00
Edward Kung
524b1b97f3
user and territory autocomplete in search bar (#2217)
* autocomplete in the search bar

* update some naming conventions

* create dual autocomplete

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-06-13 21:42:28 -05:00
k00b
aebba27c57 pay awards 2025-06-13 18:52:13 -05:00
github-actions[bot]
12ff0911cb
Extending awards.csv (#2224)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-06-13 15:07:12 -05:00
Bryan Mutai
dc01ebdb26
Add Territory Sub management tab in Subscriptions (#2191)
* Add Territory Sub management tab in Subscriptions

* don't use queryRawUnsafe

* auto width on select

* separate into pages for browser nav

* fix multiple separators

* simplify queries

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-06-13 15:01:25 -05:00
ekzyis
874694eb10
Add zines to socials in footer (#2223) 2025-06-13 13:03:50 -05:00
ekzyis
0310611a2d
Add flake.nix for Prisma Client on NixOS (#2219) 2025-06-11 11:17:53 -05:00
github-actions[bot]
4d8743bf13
Extending awards.csv (#2218)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-06-10 18:19:32 -05:00
Abhi Shandilya
79d3eb492d
fix duplicate search highlights (#2195) 2025-06-10 17:53:01 -05:00
ekzyis
590d73ece0
Also mount tls.cert, tls.key for docker/lnd/stacker (#2211) 2025-06-06 21:06:18 +02:00
k00b
59d4fadb50 pay another award 2025-06-06 12:32:33 -05:00
k00b
2bcaea2f58 pay some awards 2025-06-05 20:43:48 -05:00
Keyan
df082f424f
Update awards.csv 2025-06-05 20:23:46 -05:00
Keyan
bf62149681
Update awards.csv 2025-06-05 20:21:32 -05:00