ekzyis
796bd4dc4b
Add autowithdrawal badge in notifications ( #1078 )
2024-04-16 10:53:05 -05:00
keyan
00ca35465c
replace node-fetch usage with existing cross-fetch
2024-04-15 19:26:40 -05:00
keyan
5689378b07
turn #1063 logic into a component for use in all comment lists
2024-04-15 16:23:26 -05:00
ekzyis
1faf309c00
Fix TypeError if autowithdrawal creation failed ( #1072 )
2024-04-15 09:17:37 -05:00
ekzyis
448f028ec1
Update node-fetch to v2.6.7 ( #1070 )
...
dependabot reported vuln with CVSS score of 8.8
2024-04-15 09:17:00 -05:00
ekzyis
2ec0a1a559
Use crypto.randomBytes for unique CLN invoice label ( #1074 )
2024-04-15 09:16:32 -05:00
Keyan
40131da8bd
Update awards.csv
2024-04-14 18:22:08 -05:00
keyan
72fb8a490c
refine readme a bit
2024-04-14 18:02:13 -05:00
keyan
75771bfb7e
remove deprecated version from readme override example
2024-04-14 17:44:19 -05:00
keyan
40e07be6d8
update sndev docs and auto-start for capture service
2024-04-14 17:43:55 -05:00
keyan
b05c1b6734
update README with up to date sndev help output
2024-04-14 17:42:39 -05:00
keyan
51f1c08a7e
get rid of docker compose version number deprecation warning
2024-04-14 17:40:52 -05:00
keyan
d3f18c7cff
get rid of docker nagware
2024-04-14 17:40:24 -05:00
ekzyis
9f4d5e13aa
CLN autowithdrawal ( #1042 )
...
* Add CLN node to docker-compose.yml
* Attach CLN wallet via CLNRest
* Remove leading space
* Implement autowithdrawal to CLN in worker
* Fix UnhandledSchemeError during build
See https://github.com/vercel/next.js/discussions/33982
* Refactor CLN invoice code into @/lib/cln
* Fix missing env vars
* Fix validation error if rune invalid
* Update header
* Add rune placeholder
* Fix missing expiry for test invoice
* Remove nonsensical comment
* Remove unnecessary async
* Show level SUCCESS as OK in logs
* Add stacker_cln commands to sndev
* fix sndev posix compliance, add cln_withdraw
* give stacker_cln larger channels
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-04-14 17:34:21 -05:00
Ben Allen
3aee93ee16
add media query sizing for rewards pie chart ( #1068 )
2024-04-14 16:28:09 -05:00
Ben Allen
de24b4a037
use the zindex-sticky variable ( #1066 )
2024-04-14 13:26:41 -05:00
Keyan
b1c45a4ab3
Update awards.csv
2024-04-13 13:17:22 -05:00
Keyan
0fb2e95729
anchor box for notifications ( #1063 )
...
* anchor box for notifications closes #202
* fix lint
* give priority click children pointer events too
* add iframe and simplify css
2024-04-13 13:14:17 -05:00
keyan
70fbe48e42
sndev matrix chat
2024-04-12 19:15:04 -05:00
Keyan
75232ba5fa
Update awards.csv
2024-04-12 18:39:47 -05:00
✨JP⚡
a28d690f28
Fix first zap when modal closed ( #771 ) ( #1055 )
...
* Fix first zap when modal closed (#771 )
- Extract handlers
- Remove unnecessary async keyword from callback
- Assign a new key to force remounting of LongPressable component when modal is closed from long press
- Remove hover state when closing modal, otherwise it stays colored
* Replace LongPressable with custom component
* Remove yarn.lock
2024-04-12 18:37:04 -05:00
Keyan
b477f23aac
Update awards.csv
2024-04-12 18:14:54 -05:00
ekzyis
7774910292
Fix cert required ( #1057 )
2024-04-11 18:59:51 -05:00
ekzyis
8956bc8809
Fix LND autowithdrawal error message ( #1052 )
2024-04-10 08:59:42 -05:00
ekzyis
f3c1ebefcf
Merge serializeInvoiceable with serialize without bug ( #1051 )
...
* Merge serializeInvoiceable with serialize
* Rename to verifyPayment
We already have a function named checkInvoice in the worker which can be confusing.
Also, we don't need to export this function.
* Use crypto.timingSafeEqual
* Fix missing unwrap for item creation and update
2024-04-09 19:49:20 -05:00
Keyan
c8480a4996
Update awards.csv
2024-04-09 18:42:20 -05:00
Ben Allen
255ad29897
fix: parseInternalLinks test ( #1050 )
2024-04-09 14:44:45 -05:00
abhiShandy
6d57bbffe5
fix: feetext defaults to free ( #1031 )
...
* fix: feetext defaults to free
* Update components/fee-button.js
Co-authored-by: ekzyis <ek@stacker.news>
---------
Co-authored-by: ekzyis <ek@stacker.news>
2024-04-09 11:12:24 -05:00
keyan
c7d926df30
define new env vars in service worker
2024-04-08 17:55:29 -05:00
keyan
81d3212ffb
add NEXT_PUBLIC_URL
2024-04-08 17:54:39 -05:00
Ben Allen
5be6df0266
Internal links are not target=_blank by default ( #1037 )
...
* feat: internal links are not target=_blank by default
* feat: use <Link>
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-04-08 16:56:44 -05:00
Felipe Bueno
4633e8eb5e
Allow pasting image from clipboard ( #1043 )
...
* form.js: Allow pasting image from clipboard
* remove semicolons
* Check clipboardData.items before continuing
* == -> ===
* Remove semicolons... again =/
* fix Strings must use singlequote
* Ignore DataTransfer no-undef lint error
* new DataTransfer -> new window.DataTransfer()
* add multiple image pasting
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-04-08 16:31:02 -05:00
keyan
9f79ff1f89
Revert "Merge serializeInvoiceable with serialize ( #1040 )"
...
This reverts commit e7e7cbff0a
.
2024-04-08 15:50:39 -05:00
ekzyis
e7e7cbff0a
Merge serializeInvoiceable with serialize ( #1040 )
...
* Merge serializeInvoiceable with serialize
* Rename to verifyPayment
We already have a function named checkInvoice in the worker which can be confusing.
Also, we don't need to export this function.
* Use crypto.timingSafeEqual
2024-04-08 09:22:29 -05:00
SatsAllDay
e6b825dafe
Mute Management Settings Page ( #1034 )
...
* first pass of a mute mgmt page, ported from subscription mgmt page pr
* adjust error message for mutes
* muted users -> muted stackers
* fix typo in component name
2024-04-08 09:13:56 -05:00
SatsAllDay
91a0d1ccd7
env vars for polling intervals ( #1038 )
...
* env vars for polling intervals
add env vars for 4 different common polling intervals,
fast (1000), normal (30000), long (60000), extra long (300000)
use env vars in all `pollInterval` params to `useQuery`
* replace `setInterval`'s interval with `FAST_POLL_INTERVAL`
2024-04-08 09:13:12 -05:00
keyan
1d154ec9b5
attempt to fix lastChecked getting overwritten
2024-04-06 18:28:23 -05:00
keyan
1f466970b3
disallow referring self
2024-04-06 13:46:18 -05:00
keyan
3472670df5
add clientside fetch delay
2024-04-06 10:38:54 -05:00
keyan
9b98843541
fix Sub.createdAt -> Sub.created_at generically
2024-04-05 19:24:31 -05:00
ekzyis
0b07962e1c
Fix 404 for territories in profile ( #1029 )
2024-04-05 14:47:05 -05:00
ekzyis
ba8b37ffb9
Add missing space in front of founding date ( #1027 )
2024-04-05 11:52:11 -05:00
keyan
657ce1a4f8
fix misnamed field on sub resolver
2024-04-05 10:47:03 -05:00
Keyan
1d4ba7b9a6
Update awards.csv
2024-04-05 08:47:58 -05:00
Felipe Bueno
cc8b16a7e3
Fix for #1023 sndev: 317: Syntax error: redirection unexpected ( #1024 )
...
* printf -> echo
* Update sndev
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-04-05 08:40:12 -05:00
Keyan
76f90e0691
Update awards.csv
2024-04-04 19:53:19 -05:00
abhiShandy
2a08abd90c
fix: Reward page render error #1006 ( #1018 )
...
* fix: Reward page render error #1006
* accept coderabbit's suggestion
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* address lint issues
* use existing patterns
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-04-04 19:31:38 -05:00
Ben Allen
5fa7fd9a83
Bottom nav uses fixed position to fix firefox bug ( #1011 )
...
* use fixed position + div placeholder
* hide footer padding when not shown
* account for mobile inset
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-04-04 18:50:52 -05:00
keyan
a0b402b4d6
fix sndev pr (detatched version)
2024-04-04 18:31:07 -05:00
keyan
f0334b6719
Merge branch 'rerenders'
2024-04-04 18:10:13 -05:00