45 Commits

Author SHA1 Message Date
ekzyis
bcae5e6d2e
Fix callback set to NextJS data URL (#1292) 2024-08-10 14:38:35 -05:00
Keyan
c6554d3ca7
Referral Rewards (#1262)
* referral rewards

* make referral notifications consistent

* remove plpgsql from earn job

* remove dead code

* remove debug logging
2024-07-10 19:23:05 -05:00
Keyan
3bada4b5da
new referral scheme (#1255)
* capture/store data for new referral scheme

* simplify signup/forever referral rules

* no self-referrals and other fixes

* better post/comment distinction and support /items/1/related
2024-07-07 11:12:02 -05:00
keyan
81d3212ffb add NEXT_PUBLIC_URL 2024-04-08 17:54:39 -05:00
keyan
a764837776 update redirection logic for invites 2024-04-02 19:51:30 -05:00
keyan
f2ba61e64b enhance navigation 2024-03-26 18:36:31 -05:00
ekzyis
d237861ff5
Use module path aliases (#938)
* Use module path aliases

* fix broken refactor

* path mapping for svgs, style, and remaining places (bonus: lose babel dep)

---------

Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-03-19 19:37:31 -05:00
st4rgut24
e9a5d22a6e
Add chain fees to price carousel (#658)
* add chain fees to price carousel

* restore check for valid carousel values

* add nym to contributors

---------

Co-authored-by: stargut <stargut@starguts-MacBook-Pro.local>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-12-20 16:06:22 -06:00
keyan
10203f565c territories 2023-12-04 21:34:06 -06:00
keyan
494b8b3dcd better organize user graphql types 2023-11-09 19:05:35 -06:00
keyan
d2697477a0 saner lastSeenAt checking 2023-10-23 18:19:36 -05:00
SatsAllDay
16a6f93708
Add block height to price carousel (#484)
* Add block height to price carousel

source block height from mempool.space API
https://mempool.space/docs/api/rest#get-block-tip-height

* Add block height to SSR, clean up fragment query

* Cache block height for 1 minute, not 30 seconds

use `numWithUnits` for block height label

* Replace mempool.space API with LND API call

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2023-09-12 10:56:02 -05:00
keyan
68e9dfd69c fix closure stacker bug 2023-08-30 19:03:05 -05:00
keyan
faf71f744c handle some rewards corner cases 2023-08-30 10:00:47 -05:00
keyan
7bbcc86270 redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
keyan
ddb69b5d9b remove slashtags temporarily 2023-08-16 19:49:00 -05:00
keyan
e4aaaac20f don't use cache for SSR 2023-08-05 14:46:29 -05:00
keyan
5232b59625 upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
keyan
e87610c45b update packages and reduce bundle size 2023-07-24 17:50:12 -05:00
keyan
59f7b6ff26 Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades""
This reverts commit 18910fa2ed470fe12ffbfb83df18e206101f0a05.
2023-07-23 10:08:43 -05:00
keyan
18910fa2ed Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"
This reverts commit d0314ab73c42ebf85fe2f418dddd681af45dbc55.
2023-07-23 09:16:12 -05:00
keyan
d0314ab73c shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades 2023-07-21 17:33:11 -05:00
ekzyis
36d5478e74
Redirect to /login on /settings 401 (#295)
Co-authored-by: ekzyis <ek@stacker.news>
2023-05-31 19:47:03 -05:00
keyan
3c8ea0db22 reduce io blocking ssr 2023-05-07 10:44:57 -05:00
ekzyis
4ab66a67ae
Add proxy with cache for coinbase API requests (#226) 2023-01-27 17:20:33 -06:00
keyan
9644a9f867 slashtags auth 2023-01-18 12:49:20 -06:00
keyan
de863021f9 prevent apollo caching on the server 2022-11-24 13:22:58 -06:00
keyan
8de00c741d poll for notifications less, don't retry gql 2022-11-16 10:57:03 -06:00
keyan
525cab2573 upgrade deps 2022-11-06 11:28:58 -06:00
ekzyis
22e07a4318 Fix errors if me null 2022-09-18 03:07:14 +02:00
ekzyis
f66a8162da Fix rebase 2022-09-13 02:08:24 +02:00
keyan
69b5aed85d fix 'me' on refresh 2022-09-06 10:08:53 -05:00
keyan
7efc86427d maintage pagination and other state on back button 2022-09-06 08:32:00 -05:00
keyan
798b055fb9 remove unecessary queries on resp critical path 2022-05-01 20:01:33 -05:00
keyan
dc44764008 limit related queries in me query for SSR 2022-04-28 17:00:09 -05:00
keyan
188230c37c add notification settings 2022-04-21 17:50:02 -05:00
keyan
ae916ecb97 add notFound function to SSR HOF, 404 inactive jobs 2022-04-18 11:40:08 -05:00
keyan
f1fd1f3c9c not found on empty search 2022-01-27 14:15:18 -06:00
keyan
28b86af898 basic search query api 2022-01-26 09:35:14 -06:00
keyan
d92f58aaf4 inv & with satistics + filtering 2021-12-16 11:27:12 -06:00
keyan
c7ae5dc8ac ssr me and price 2021-11-28 11:29:17 -06:00
keyan
b8080137a8 lnurl-withdrawal support 2021-10-28 14:59:53 -05:00
keyan
945225d205 return 404 for nonexistant users and items 2021-10-26 16:31:39 -05:00
keyan
07b9da353b smarter use of SSR and caching 2021-10-26 15:49:37 -05:00
keyan
ca1a95094c ssr everything 2021-09-30 10:46:58 -05:00