keyan
1e97726a66
make sure upstreams have longer keepalives
2023-08-02 11:36:23 -05:00
keyan
2f3551939c
let nginx manage keepalive
2023-08-02 10:40:03 -05:00
keyan
918c5a0d08
add keep alive timeout to next start
2023-08-02 05:50:53 -05:00
keyan
b1b8f9de56
implement our own nprogress bar
2023-08-01 21:06:15 -05:00
keyan
a426c8b539
fix 404 problem
2023-08-01 12:45:46 -05:00
keyan
2732e3bb83
fix rewards bug
2023-08-01 11:10:07 -05:00
keyan
f135eae16d
cast enum in reverse_withdrawl
2023-08-01 07:00:46 -05:00
keyan
6f445f2545
move prisma out of dev deps for eb
2023-07-31 16:19:27 -05:00
keyan
c7e2623461
increase apollo slowlog threshold
2023-07-31 16:02:50 -05:00
keyan
e1c51075a2
fix conditional nextFetchPolicy overriding cache-only on SSR and suppress time hydration warnings
2023-07-31 14:54:30 -05:00
keyan
b550f80b9f
make invoices/withdrawals clickable in satistics
2023-07-31 13:00:01 -05:00
keyan
f7bf77ebd4
fix BigInt Int mix in satistics
2023-07-31 12:47:41 -05:00
keyan
f91be5d70f
fix form skeleton
2023-07-31 12:35:58 -05:00
keyan
8c1ad530bc
downgrade to node v16
2023-07-31 12:22:26 -05:00
keyan
b42a934207
fix invites signup via lightning/slashtags
2023-07-31 09:19:53 -05:00
keyan
bc5a19c6ee
suppress hydration warnings when relative time is rendered
2023-07-31 09:12:56 -05:00
keyan
10e8cb35df
fix import on invites
2023-07-31 09:11:22 -05:00
keyan
8581088bd4
make sure dev db timezone is utc
2023-07-31 09:03:01 -05:00
keyan
d5aeea6dd3
bump packages again
2023-07-31 08:43:13 -05:00
keyan
d2216e80da
conform to linter
2023-07-31 08:39:10 -05:00
keyan
c909efb7b7
update wallet code to prisma 5, handle prisma 5 errors on serialization
2023-07-31 08:31:40 -05:00
keyan
acd8a8de5a
add dark mode to precache
2023-07-31 07:37:42 -05:00
ekzyis
c975bd8ebd
Fix unexpected token 'export'
2023-07-30 23:45:08 +02:00
ekzyis
ba04e6522d
Also strike on payment after short press
2023-07-30 23:45:08 +02:00
ekzyis
d186e869e1
Allow pay per invoice for bounty and job posts
2023-07-30 23:45:08 +02:00
ekzyis
f2f09b22c4
Fix invoice amount for comments
2023-07-30 23:45:08 +02:00
ekzyis
1cd9750be5
Fix insufficient funds error detection
2023-07-30 23:45:08 +02:00
ekzyis
773f658e00
Remove duplicate insufficient funds handling
2023-07-30 23:45:08 +02:00
ekzyis
28ea5ab70e
Skip 'invoice not found' errors
2023-07-30 23:45:07 +02:00
ekzyis
85162b6d33
Add error handling
2023-07-30 23:45:07 +02:00
ekzyis
f0d0d07bad
Skip anon user during trust calculation
2023-07-30 23:45:07 +02:00
ekzyis
6b4b5023f6
Keep invoice modal open if focus is lost
2023-07-30 23:45:07 +02:00
ekzyis
7dda8a1e01
Fix onSuccess called twice
...
For some reason, when calling `showModal`, `useMemo` in modal.js and the code for the modal component (here: <Invoice>) is called twice.
This leads to the `onSuccess` callback being called twice and one failing since the first one deletes the invoice.
2023-07-30 23:45:07 +02:00
ekzyis
853a389b65
Allow pay per invoice for stackers
...
The modal which pops up if the stacker does not have enough sats now has two options: "fund wallet" and "pay invoice"
2023-07-30 23:45:07 +02:00
ekzyis
fd8510d59f
Use payment hash instead of invoice id as proof of payment
...
Our invoice IDs can be enumerated.
So there is a - even though very rare - chance that an attacker could find a paid invoice which is not used yet and use it for himself.
Random payment hashes prevent this.
Also, since we delete invoices after use, using database IDs as proof of payments are not suitable.
If a user tells us an invoice ID after we deleted it, we can no longer tell if the invoice was paid or not since the LN node only knows about payment hashes but nothing about the database IDs.
2023-07-30 23:45:07 +02:00
ekzyis
74893b09dd
Add anon comments and posts (link, discussion, poll)
2023-07-30 23:45:07 +02:00
ekzyis
5415c6b0f6
Add anon zaps
2023-07-30 23:45:07 +02:00
keyan
42bdd40f91
show errors on settings during auth linking
2023-07-30 15:39:18 -05:00
keyan
63a4a7acad
fix settings hydration error
2023-07-30 14:38:50 -05:00
keyan
d04dc691df
provide jwt migration
2023-07-30 14:03:24 -05:00
keyan
9745b82d63
fix viewing stacker's bookmarks
2023-07-29 18:27:32 -05:00
keyan
738bd052f1
cache lightning font encodings forever
2023-07-29 15:15:58 -05:00
keyan
5232b59625
upgrade to next-auth 4 (bonus: improve error pages)
2023-07-29 14:38:20 -05:00
keyan
de089aa429
service worker enhancements
2023-07-29 14:33:19 -05:00
keyan
688d67a0d6
improve service worker asset precaching and offline page
2023-07-28 10:57:12 -05:00
keyan
b468b71e09
disable service worker in dev
2023-07-27 12:45:18 -05:00
keyan
7490e5c249
fix syntax highlighting warnings
2023-07-27 12:10:05 -05:00
keyan
566e3f427b
upgrade to prisma 5
2023-07-26 19:51:37 -05:00
keyan
213e69d0d4
upgrade to node v18
2023-07-26 19:22:22 -05:00
keyan
7542dd6cc4
upgrade to prisma 4
2023-07-26 19:18:42 -05:00