ekzyis
4623743c8f
fix cookie pointer override during account switching ( #1783 )
2024-12-31 13:05:20 -06:00
ekzyis
ba2cdc2275
Fix NostrAuth link text ( #1782 )
2024-12-31 08:40:30 -06:00
ekzyis
9783df8e3b
Require invite limit ( #1748 )
...
* Fix invite limit required
* Fix redeeming of unlimited invites
* Require invite limit
2024-12-28 09:28:05 -06:00
Riccardo Balbo
6efa782c11
fix typo ( #1764 )
2024-12-26 13:10:15 -06:00
Keyan
6d4dfddae8
improve rewards ( #1731 )
...
* don't bias to early zapping so much
* untested rewards/leaderboard changes
* fix cln dep for payments
* make zap proportion scale using quad root
* fix for missing proportion on hidden users
* improve rewards cutoff criteria
* Update api/resolvers/user.js
Co-authored-by: ekzyis <ek@stacker.news>
* Update api/typeDefs/user.js
Co-authored-by: ekzyis <ek@stacker.news>
* improve switch readability
* small increase in min zap
* refresh materialized views on migration
---------
Co-authored-by: ekzyis <ek@stacker.news>
2024-12-18 10:12:11 -06:00
Riccardo Balbo
080459cd21
Fix lud-18 validation imports ( #1690 )
...
* fix lud18PayerDataSchema import
* fix validateSchema import
2024-12-08 12:37:56 -06:00
Keyan
713227b255
invite paid action ( #1681 )
2024-12-04 12:10:30 -06:00
ekzyis
01d5177006
Fix edit timer stuck at 00:00 ( #1673 )
...
* Fix edit timer stuck at 00:00
* refactor with useCanEdit hook
2024-12-02 08:18:35 -06:00
Riccardo Balbo
7f11792111
Custom invite code and note ( #1649 )
...
* Custom invite code and note
* disable autocomplete and hide invite code under advanced
* show invite description only to the owner
* note->description and move unser advanced
* Update lib/validate.js
Co-authored-by: ekzyis <ek@stacker.news>
* Update lib/webPush.js
Co-authored-by: ekzyis <ek@stacker.news>
* Update api/typeDefs/invite.js
Co-authored-by: ekzyis <ek@stacker.news>
* Update pages/invites/index.js
Co-authored-by: ekzyis <ek@stacker.news>
* Update pages/invites/index.js
Co-authored-by: ekzyis <ek@stacker.news>
* fix
* apply review suggestions
* change limits
* Update lib/validate.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* don't show invite id in push notification
* remove invoice metadata from push notifications
* fix form reset, jsx/dom attrs, accidental uncontrolled prop warnings
* support underscores as we claim
* increase default gift to fit inflation
---------
Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-12-01 16:31:47 -06:00
Lorenzo
d88971e8e5
Fix: progress bar shown on back navigation through pathname check ( #1633 )
...
* fix: progress bar shown on back navigation through pathname check
* fix progress done race
* use router.pathname instead cause it's already there
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-30 19:05:26 -06:00
Lorenzo
7cb2aed9db
feat: recent unpaid bounties selection ( #1589 )
...
* feat: recent unpaid bounties selection
* chore: added checkbox on recent header
* chore: active bounties selection made through a checkbox
* chore: renamed function for better clarity
* chore: fixed active bounties only checkbox alignment
* chore: active-only option passed as query param
* chores: variablesFunc refactoring
* chore: removed type mapping function from recent header
* chore: router replace instead of push
* chore: router retrieved by hook instead of argument
* chore: checkbox starts checked based on url's query param
* more idiomatic react + push instead of replace
---------
Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-28 18:47:01 -06:00
ekzyis
5e76ee1844
Remove unused useWallet from QR code component ( #1660 )
2024-11-27 17:16:44 -06:00
Riccardo Balbo
6630899e79
use flexbox for wallet card header and make logos more consistent ( #1654 )
...
* use flexbox for wallet card header
* make wallet logo consistent
* remove extra div
* Update styles/wallet.module.css
Co-authored-by: ekzyis <ek@stacker.news>
* Update styles/wallet.module.css
Co-authored-by: ekzyis <ek@stacker.news>
* resize wallet banner
* remove unused justify-content
* remove cardMeta
---------
Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-27 12:14:00 -06:00
ekzyis
a032da57b9
Wallet filters ( #1627 )
...
* Add wallet filters
* Fix grid layout shift
* Store filter state in query params
* Use auto-fill instead of auto-fit
This doesn't seem to change anything but this is closer to our intention how the grid should work with fixed column width.
* Use same order for filters as icons in card
* Use state update function
* Use user-select: none for wallet filters
* Remove unnecessary '|| false'
* Add media query to keep centered grid layout on small screens
* Decrease wallet filter margin-top to 1rem
* fix wallet support usage
* improve grid
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2024-11-27 11:39:30 -06:00
Keyan
0bff478d39
direct receives and send paid action ( #1650 )
...
* direct receives and send paid action
* remove withdrawl->invoiceForward has many relationship
* fix formatMsats implicit type expectations
* ui + dropping direct payment bolt11s
* squash migrations
* fix bolt11 dropping and improve paid action wallet logging
* remove redundant sender id
* fix redirect when funding account over threshold
* better logging
2024-11-27 07:39:05 -06:00
ekzyis
cb9947e4f2
refactor: Check darkmode in useWallets ( #1640 )
...
* Check darkmode in useWallets
* Check darkmode in useWalletImage
2024-11-23 17:59:59 -06:00
Riccardo Balbo
eb3efbef57
HOTFIX: restore missing link between lnurlp and nip57 ( #1630 )
...
* restore missing link between lnurlp and nip57
* pass noteStr as receive action arg
* make sure the desc field is not updated if noteStr is unset
2024-11-21 08:46:28 -06:00
ekzyis
6bae1f1a89
Fix account switching anon login ( #1618 )
...
* Always switch to user we just logged in as
If we're logged in and switch to anon and then use login to get into our previous account instead of using 'switch accounts', we only updated the JWT but we didn't switch to the user.
* Fix getToken unaware of multi-auth middleware
If we use login with new credentials while switched to anon (multi_auth.user-id === 'anonymous'), we updated the pubkey because getToken wasn't aware of the switch and thus believed we're logged in as a user.
This is fixed by applying the middleware before calling getToken.
2024-11-20 07:05:42 -06:00
k00b
66ec5d5da8
dark/light mode images on wallet pages
2024-11-19 15:46:11 -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
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
ekzyis
406ae81693
Fixes around account switching / authentication ( #1575 )
...
* Fix missing page reload after account switch on logout
* Fix missing key
* Explain why we set multi_auth cookies on login/signup
* Fix 500 if multi_auth cookie missing
2024-11-11 09:16:32 -06:00
ekzyis
afb71012af
Only send push notification if referrer was updated ( #1562 )
2024-11-09 14:00:07 -06:00
Riccardo Balbo
7eb668e0e2
explicit default values
2024-11-05 16:27:48 +01:00
ekzyis
bcaa135270
Fix wallet priority reorder
2024-11-05 00:40:06 +01:00
k00b
b8216740d4
final touches
2024-10-31 14:06:58 -05:00
k00b
3cfbaf4638
validate generated fields
2024-10-30 22:26:45 -05:00
k00b
b1fc341017
sync/desync from localstorage on vault connect/disconnect
2024-10-30 18:37:45 -05:00
k00b
dce5762f63
get vault working
2024-10-30 13:49:57 -05:00
k00b
eae4c2b882
cancel button spacing
2024-10-30 13:49:57 -05:00
k00b
4f7bdadd80
better wallet security banner
2024-10-30 13:49:57 -05:00
k00b
e96982c353
refactor wallet validation
2024-10-30 13:49:57 -05:00
k00b
57603a936f
reorder priority
2024-10-30 13:49:57 -05:00
k00b
4826ae5a7b
wip upsertWallet
2024-10-30 13:45:09 -05:00
k00b
2bdbb433df
webln saves at least *double kazoo*
2024-10-30 13:45:09 -05:00
k00b
48640cbed6
pages load *kazoo*
2024-10-30 13:45:05 -05:00
k00b
da020cf899
complete fantasy scaffolding
2024-10-30 13:44:18 -05:00
k00b
4e61c19bb3
fix showing autowithdraw settings on send only wallets
2024-10-30 13:42:55 -05:00
Riccardo Balbo
2ef7651421
optimize api calls, remove useless effects
2024-10-30 13:41:41 -05:00
Riccardo Balbo
6bd07284a5
optimize api calls
2024-10-30 13:41:41 -05:00
Riccardo Balbo
4aa9608212
fixed and add wallet migration
2024-10-30 13:41:41 -05:00
Riccardo Balbo
b70dbeb6d6
user vault and server side client wallets
2024-10-30 13:41:09 -05:00
ekzyis
6fa747b234
Fix missing fragmentName
2024-10-25 14:10:41 +02:00
Keyan
7d139faca1
Merge branch 'master' into upgrade-deps
2024-10-15 11:34:55 -05:00
k00b
4b18498651
hide cowboy hat -> essentials
2024-10-14 17:52:40 -05:00
k00b
6a8b823f9f
upgrade qr code scanner and fix #1476
2024-10-12 18:06:07 -05:00
k00b
f9ed1ee6f5
upgrade non-(apparently)-breaking major versions
2024-10-12 18:06:07 -05: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
ekzyis
41da95b125
Fix wallet double tap on mobile ( #1467 )
...
* Fix wallet double tap on mobile
* also add icon that card can be dragged
* Fix ugly drag image
2024-10-09 19:27:49 -05:00
Keyan
e48cd61721
remove unused fields from me fragment ( #1466 )
2024-10-09 11:56:29 -05:00