3169 Commits

Author SHA1 Message Date
Keyan
eaa15b3b43
Update awards.csv with all 3 search issue closes 2025-03-24 14:41:23 -05:00
Keyan
9b4f1643a7
Update awards.csv 2025-03-24 14:35:22 -05:00
Keyan
411c8317b0
Update awards.csv using failed dangling github actions 2025-03-24 14:25:54 -05:00
github-actions[bot]
c39bfcecb6
Extending awards.csv (#2013)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-03-24 13:31:46 -05:00
Edward Kung
f20ebad772
allow sort for search queries with only filters (#2012) 2025-03-23 11:53:45 -05:00
ekzyis
3ff03960eb
Remove unused addAccount, removeAccount (#2009) 2025-03-23 11:53:04 -05:00
ekzyis
9b08988402
Refactor login cookie with cookieOptions function (#2003) 2025-03-22 19:36:04 -05:00
ekzyis
b54268a88f
normalized wallet logs (#1826)
* Add invoiceId, withdrawalId to wallet logs

* Truncate wallet logs

* Fix extra db dips per log line

* Fix leak of invoice for sender
2025-03-22 17:31:10 -05:00
ekzyis
e7eece744f
Use __Secure- cookie prefix (#1998) 2025-03-22 16:59:57 -05:00
M Ʌ R C
54d3b11fbc
Update faq.md (#2008)
Adding links to guides
2025-03-22 10:51:10 -05:00
k00b
06b877e3d3 bump nextjs 2025-03-22 10:13:32 -05:00
ekzyis
5ff1334722
Remove unnecessary exports (#2006) 2025-03-21 19:56:01 -05:00
ekzyis
5e2185c18f
Use cookieOptions for pointer cookie (#2005) 2025-03-21 19:53:49 -05:00
k00b
bce4053b72 update boost explainer 2025-03-21 19:49:53 -05:00
k00b
2d619438b1 make hot_score_view editable through parameters of another view 2025-03-21 19:47:12 -05:00
k00b
5164258df8 remove independence threshold 2025-03-20 19:18:56 -05:00
ekzyis
f96b3bf19a
Fix useQuery lifecycle anti-pattern (#2001) 2025-03-20 17:46:19 -05:00
ekzyis
a83783f008
Fix missing max-age cookie option (#2000) 2025-03-20 16:38:13 -05:00
soxa
dbbd9477fd
don't send a verification email during sign in if no match (#1999)
* don't send verification email on signin if there's no matching user, update email.js message

* conditional magic code message; signup/signin button

* unnecessary useCallback

* switch to cookie parsing lib

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-20 15:32:31 -05:00
Keyan
a669ec832b
Update README.md 2025-03-20 13:28:26 -05:00
k00b
7dccd383c3 fix hot score on limited comment queries fix #1996 2025-03-20 12:21:20 -05:00
ekzyis
271563efbd
Fix space before question mark in delete prompt (#1995) 2025-03-20 10:48:17 -05:00
ekzyis
ada230597d
Fix anon dropdown button width (#1997) 2025-03-20 10:46:07 -05:00
Edward Kung
08501583df
reset nym editting state on page change (#1993) 2025-03-19 18:55:22 -05:00
ekzyis
74d99e9b74
Reset multi_auth cookies on error (#1957)
* multi_auth cookies check + reset

* multi_auth cookies refresh

* Expire cookies after 30 days

This is the actual default for next-auth.session-token.

* Collapse issues by default

* Only refresh session cookie manually as anon

* fix mangled merge

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-03-19 18:54:43 -05:00
soxa
71caa6d0fe
Prevent new account creation on login (#1976)
* Prevent account creation if we're not signin up

* remove cookie once logged in, 24 hours expiry, comment

* adjust error messages

* check signin instead of signup

* appendHeader to avoid overwrites, fix typo, use NodeNextRequest to handle cookies

* expire cookie if signup
2025-03-19 16:55:38 -05:00
k00b
4f17615291 fix expireBoost boolean condition 2025-03-19 11:48:36 -05:00
k00b
0e4b467b3c make expire boost exclude unpaid invoices 2025-03-19 11:44:35 -05:00
Edward Kung
9905e6eafe
Top cowboys territory selector fix (#1972)
* fix territory selector when in top/cowboys

* redirect /~sub/top/cowboys to /top/cowboys

* check if pathname ends with /top/cowboys

Co-authored-by: ekzyis <ek@stacker.news>

* fix territory selector in top/stackers and top/territories

* better routing logic

---------

Co-authored-by: ekzyis <ek@stacker.news>
2025-03-19 08:19:19 -05:00
github-actions[bot]
fc6cbba40c
Extending awards.csv (#1988)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-03-18 18:18:58 -05:00
ekzyis
60f628e77e
Fix no pw manager autofill for device sync password (#1953)
* Fix no pw manager autofill for device sync password

* Remove unused rows property
2025-03-18 18:17:23 -05:00
soxa
63704a5f0f
Hide pull-to-refresh when not pulling (#1986) 2025-03-18 18:16:36 -05:00
ekzyis
964cdc1d61
Fix warning about missing key for children (#1987) 2025-03-18 17:48:13 -05:00
Scroogey-SN
e31f8e9c69
Support .onion for phoenixd (#1975)
* fix #1964 support .onion urls like lnbits does

* fix lint: const hostname

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-03-18 15:39:53 -05:00
k00b
b7dfef41c0 make search query work with os2.17 and upgrade containers 2025-03-18 14:01:00 -05:00
k00b
344c23ed5c use max zap creation 2025-03-17 20:03:05 -05:00
Edward Kung
b71398a06c
Search improvements: Add relevance search and make recent searches less strict (#1962)
* reconfigured search pipeline

* remove console debug messages

* log1p for comments

* improve relevance of non-relevance sorted queries

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-03-17 19:25:20 -05:00
github-actions[bot]
1a52ff7784
Extending awards.csv (#1978)
Co-authored-by: huumn <34140557+huumn@users.noreply.github.com>
2025-03-17 14:31:00 -05:00
Scroogey-SN
a3762f70b0
fix #1959 strip trailing slashes from url (#1973) 2025-03-17 13:16:31 -05:00
ekzyis
c492618d31
Fix weeks not support in reminder command (#1977) 2025-03-17 13:15:09 -05:00
k00b
4be7f12119 add another hot_score index without nulls clause 2025-03-15 15:29:01 -05:00
Keyan
b672d015e2
territory specific trust (#1965)
* territory specific trust

* functional parity with master

* revert back to materialized view for ranking

* update query for populating subWeightedVotes

* fix anon hot comments

* fix zap denormalization, change weightedComments to be for zaps, order updates of ancestors to prevent deadlocks

* reduce weight of comment zaps for hot score

* do zap ancestor updates together

* initialize trust in new/unpopular territories

* simplify denormalization of zap/downzaps

* recompute all scores
2025-03-15 08:11:33 -05:00
Keyan
53f6c34ee7
Merge pull request #1974 from stackernews/rename-to-next-account
Fix missing rename to nextAccount
2025-03-15 08:06:21 -05:00
ekzyis
54e7793668 Fix missing rename to nextAccount 2025-03-14 22:01:55 -05:00
Keyan
0d93c92e30
Merge pull request #1971 from stackernews/fix-anon-failed-invoices
Don't poll failed invoices if anon
2025-03-12 20:25:12 -05:00
ekzyis
6f50b485b4 Don't poll failed invoices if anon 2025-03-12 20:10:15 -05:00
Keyan
6715943862
Merge pull request #1970 from stackernews/reply-cost-check
Add check for Sub.replyCost > 0
2025-03-12 19:46:47 -05:00
Keyan
dbce0a7517
Merge pull request #1969 from stackernews/fix-saloon-replies
Fix saloon replies
2025-03-12 19:46:21 -05:00
ekzyis
4e62053b45 Fix saloon replies
The query will return { replyCost: null } if no sub was found because of the left join.
2025-03-12 17:53:39 -05:00
ekzyis
a9943981fd Add check for Sub.replyCost > 0 2025-03-12 17:53:15 -05:00