911 Commits

Author SHA1 Message Date
soxa
7b3625eeeb
fix: outlawed comments should appear at the bottom (#2246) 2025-07-06 12:11:55 -05:00
ekzyis
8337aad596
Remove unreachable code (#2249)
* Remove unreachable code

* Remove unnecessary exports
2025-06-27 02:31:41 -05:00
k00b
0436bf68eb fix territory transfer notification case sensitive join 2025-06-23 16:18:49 -05:00
k00b
a419eefe9b fix unarchive throwing due to prior edge state 2025-06-23 16:01:30 -05:00
ekzyis
462016042c
Fix unique constraint hit during territory unarchive (#2245) 2025-06-20 09:41:37 -05:00
ekzyis
6efc0be9e5
Remove direct fallback if proxy enabled (#2231)
* Remove directReceive setting

* Never fallback to direct if proxy is enabled

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-06-19 12:54:50 -05:00
ekzyis
acf042f06e
Remove directReceive setting (#2230)
* Remove directReceive setting

* Keep directReceive in typedef for backward compatibility
2025-06-19 12:36:20 -05:00
ekzyis
a7f73fef90
Remove unused onPaid for RECEIVE paid action (#2229)
This function can be removed because it will never do anything when called.

It does not do anything for wrapped invoices, and it will never get called for direct payments (since we don't know when the invoice was paid).

These are the only two payment methods for the RECEIVE paid action since 5a8804d.
2025-06-14 20:39:02 -05:00
ekzyis
36045b8ac9
Remove unused createInvoice mutation (#2227) 2025-06-14 20:38:23 -05:00
ekzyis
67b30c6974
Fix documentation for RECEIVE paid action (#2228) 2025-06-14 20:37:24 -05:00
Bryan Mutai
dc01ebdb26
Add Territory Sub management tab in Subscriptions (#2191)
* Add Territory Sub management tab in Subscriptions

* don't use queryRawUnsafe

* auto width on select

* separate into pages for browser nav

* fix multiple separators

* simplify queries

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-06-13 15:01:25 -05:00
Abhi Shandilya
79d3eb492d
fix duplicate search highlights (#2195) 2025-06-10 17:53:01 -05:00
Bryan Mutai
5d4f88c3bb
Refactor(dupes): filter dupes by PAID or NULL invoiceActionState (#2175) 2025-05-21 14:43:41 -05:00
Bryan Mutai
407c0a9b49
Auto-populate YouTube video titles (#2171) 2025-05-21 14:39:56 -05:00
m0wer
f12c03198d
Exact search (#2135)
* feat: add exact search for quoted phrases/words

* feat: get some highlighting for exact search

* feat: Add exact search for title and text fields in OpenSearch

* simplify and make it work with nlp script

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-05-15 09:11:58 -05:00
nl
6d9d20a8f0
Upgrade OpenSearch to 2.19.0 and fix hybrid pagination (#2072)
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-05-13 19:22:09 -05:00
m0wer
0edf68cab9
feat: Territory autocomplete (#2124)
* feat: Territory autocomplete

Closes #992.

* refactor: refactor UserSuggest and TerritorySuggest components

* style: lint

* refactor: unify user and territory autocomplete logic

* simplify a bit and fix unrelated onSelect re-query

* fix skipping empty string on forward draft population

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-05-12 17:59:47 -05:00
k00b
b864290cac fix boost prediction 2025-04-28 19:18:40 -05:00
ekzyis
4ad64d658f
Fix privacy setting interfering with wallet prompt (#2134) 2025-04-25 20:26:28 -05:00
ekzyis
c72dbb0c01
Mention "phantom reads" in README (#2128) 2025-04-23 19:12:36 -05:00
ekzyis
9fc819ec37
Also unsubscribe from any children (#2120) 2025-04-22 08:02:36 -05:00
Abhi Shandilya
5965b3d090
set boost max (#2109)
* set boost max

* reduce max and apply to boost act

* make boost position aware paid action state

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-21 19:31:18 -05:00
ekzyis
e94a231192
Remove unused vault resolver argument (#2113) 2025-04-18 07:29:47 -05:00
ekzyis
a1a8b286e7
Remove unused vault resolver (#2110) 2025-04-16 15:59:28 -05:00
Abhi Shandilya
66dbf2496e
fix: url search (#2083)
* fix: url search

* refine

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-15 18:23:41 -05:00
Bryan Mutai
984790ed5c
feat(Poll): add option to randomize poll choices (#2082)
* feat(Poll): add option to randomize poll choices

* improve

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-15 17:19:14 -05:00
ekzyis
9b77cf096d
Remove unused wallet resolvers (#2104)
* Remove unused wallet resolvers

* Remove unused wallet resolver args
2025-04-15 15:42:21 -05:00
soxa
b6f6cc821c
Crop avatars with Imgproxy (#2074)
* cropPhoto mutation, crop avatars with Imgproxy

* cropjob logging, conditional uploads url

* comment typo

* use public Imgproxy URL to re-upload cropped pic

* fix avatar in dev

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-15 15:41:33 -05:00
ekzyis
719cb2d507
Prompt to attach receive wallet on post (#2059)
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-04-14 19:40:43 -05:00
ekzyis
52365c32ed
Wallet badges (#2040)
* Remove gun+horse streak

* Add wallet badges

* Fix empty recv wallet detected as enabled

* Resolve badges via columns and triggers

* Fix backwards compatibility by not dropping GQL fields

* Gun+horse notifications as streaks via triggers

* Fix error while computing streaks

* Push notifications for horse+gun

* Move logic to JS via pgboss job

* Fix argument to notifyNewStreak

* Update checkWallet comment

* Refactor notification id hack

* Formatting

* Fix missing update of possibleTypes

This didn't cause any bugs because the added types have no field resolvers.

* Add user migration

* Fix missing cast to date

* Run checkWallet queries inside transaction
2025-04-09 15:29:44 -05:00
k00b
9df5a52bd3 remove zap/downzap subname case sensitivity 2025-04-08 09:38:53 -05:00
nl
4e631f0373
Fix: Treat subdomains as distinct in dupe URL detection (#2068)
* commented the lines to make sure dupes are also checked on subdomains

* chore: fix lint issues

* fix the underlying issue instead

---------

Co-authored-by: 김현희 <pygmal@gimhyeonhuiui-MacBookAir.local>
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-07 18:03:20 -05:00
ekzyis
78f7e006d5
Verify testCreateInvoice returns a payment request (#2063)
* Verify testCreateInvoice returns a payment request

* Use GqlInputError
2025-04-03 13:39:29 -05:00
ekzyis
644899469f
System logger for users (#2035)
* System logger

* remove outdated credits preference check on RECEIVE

* fix developer focused error message

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-04-02 17:18:41 -05:00
k00b
2d51a5def9 fix #2055 2025-04-01 17:19:22 -05:00
k00b
bcc92e54fd fix #2052 2025-04-01 15:27:48 -05:00
ekzyis
fca4d1ff92
Include name in mention push notification (#2045) 2025-03-31 11:59:57 -05:00
ekzyis
a2faa31d49
Fix automated retries retrying too much (#2037) 2025-03-28 08:10:54 -05:00
k00b
26a23ade92 remove leaderboard 2025-03-26 11:40:28 -05:00
Edward Kung
f20ebad772
allow sort for search queries with only filters (#2012) 2025-03-23 11:53:45 -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
k00b
b7dfef41c0 make search query work with os2.17 and upgrade containers 2025-03-18 14:01:00 -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
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
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
k00b
ed9fa5f823 fix fragment when comment visited directly + one db dip 2025-03-10 20:02:55 -05:00
ekzyis
65b1db23a7 Fix item cost in details 2025-03-10 18:13:33 -05:00
ekzyis
5b7ff24955
Allow any admin to toggle SNL banner (#1955) 2025-03-07 18:01:34 -06:00
k00b
5a8804de79 disallow buying CCs through lnurl-pay and lightning address 2025-03-03 18:03:34 -06:00