k00b
2d51a5def9
fix #2055
2025-04-01 17:19:22 -05:00
k00b
bcc92e54fd
fix #2052
2025-04-01 15:27:48 -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
k00b
9885bcf209
make sure comments specify time zone for invoicePaidAt fix #1859
2025-02-03 19:40:33 -06:00
Keyan
01b021a337
comment pagination with limit/offset ( #1824 )
...
* basic query with limit/offset
* roughly working increment
* working limiting/pageable queries
* denormalize direct comments + full comments below threshold
* notifications in megathread + working nest view more buttons
* fix empty comment footer
* make comments nested resolver again
* use time in cursor to avoid duplicates
* squash migrations
* do not need item.comments undefined checks
2025-01-29 19:00:05 -06:00
ekzyis
ca7726fda5
Fix recent sort order for retried items ( #1829 )
...
* Fix recent sort order for retried items
* Also fix for comments
* don't hide createdAt, order item query inner subquery
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
2025-01-22 17:42:18 -06:00
soxa
a92215ccf6
fix: globally pinned items rank in global ( #1814 )
...
* fix: globally pinned items rank in global; use query to filter global pinned items
* cleanup
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-01-22 15:23:21 -06:00
ekzyis
c74107269d
Fix job edits ( #1811 )
2025-01-06 17:20:14 -06:00
k00b
529b5d1fef
fix #1795
2025-01-04 19:31:25 -06:00
Keyan
146b60278c
cowboy credits (aka nov-5 (aka jan-3)) ( #1678 )
...
* wip adding cowboy credits
* invite gift paid action
* remove balance limit
* remove p2p zap withdrawal notifications
* credits typedefs
* squash migrations
* remove wallet limit stuff
* CCs in item detail
* comments with meCredits
* begin including CCs in item stats/notifications
* buy credits ui/mutation
* fix old /settings/wallets paths
* bios don't get sats
* fix settings
* make invites work with credits
* restore migration from master
* inform backend of send wallets on zap
* satistics header
* default receive options to true and squash migrations
* fix paidAction query
* add nav for credits
* fix forever stacked count
* ek suggested fixes
* fix lint
* fix freebies wrt CCs
* add back disable freebies
* trigger cowboy hat job on CC depletion
* fix meMsats+meMcredits
* Update api/paidAction/README.md
Co-authored-by: ekzyis <ek@stacker.news>
* remove expireBoost migration that doesn't work
---------
Co-authored-by: ekzyis <ek@stacker.news>
2025-01-03 10:33:07 -06:00
ekzyis
d3a705d3ad
Fix admin edits ( #1737 )
2024-12-18 18:28:18 -06:00
ekzyis
66b7352bf0
Fix forever edits ( #1716 )
...
* Fix forever edits
* Refactor edit check on server
2024-12-12 09:35:30 -06:00
soxa
0b97d2ae94
fix: top boosts shows others' unpaid boosts ( #1647 )
2024-11-30 19:06:10 -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
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
3044c2e98f
Fix outlawed can show up on front page ( #1565 )
...
If an item has a lot of comments, it gets ranked higher.
When an item is now downzapped, it can become outlawed but still show up on the front page because of the comments.
This fixes it by filtering outlawed items out instead of relying on the ranking to make them not show up.
2024-11-12 19:47:14 -06:00
ekzyis
fdd34b2eb3
Fix edit countdown on deleted items ( #1571 )
...
* Clarify conditions to show edit countdown
* Fix edit countdown shown for deleted items
* refactor: Minimize canEdit state
I noticed that only anonEdit requires state because it needs to use useEffect to fetch from local storage.
The other conditions can simply be checked during render.
* refactor: Use datePivot for edit countdown
2024-11-11 09:23:08 -06:00
Keyan
c31cf97288
fix precedence of op for not full hot sort ( #1564 )
2024-11-09 14:25:52 -06:00
k00b
e96982c353
refactor wallet validation
2024-10-30 13:49:57 -05:00
Keyan
f4382ad73e
better boost hints ( #1441 )
...
* better boost hints
* refine
2024-10-02 19:24:01 -05:00
Keyan
450c969dfc
allow edit of pending items ( #1431 )
2024-09-24 15:42:32 -05:00
k00b
894d02a196
allow top sorting by boost
2024-09-21 14:58:25 -05:00
k00b
8c9d4aa59b
fix auction based ranking
2024-09-19 17:07:36 -05:00
k00b
2f191e04f9
ek boost hint suggestions
2024-09-19 15:27:09 -05:00
k00b
09be42844e
boosted items aren't freebies
2024-09-19 15:18:07 -05:00
k00b
020b4c5eea
allow comment updates when they have boost
2024-09-19 14:06:34 -05:00
Keyan
5f0494de30
rethinking boost ( #1408 )
...
* reuse boost for jobs
* wip
* allow job stopping
* restore upvote.js
* expire boost
* boost beyond edit window
* fix boost bolt styling
* rank comments with boost
* no random sort for jobs
* top boost for month at top of territory
* boost hints
* more boost help
* squash migrations
* for same boost, prioritize older
* show ad only if active
* fix itemCreate/Update boost expiration jobs
* fix fee button precedence
2024-09-19 13:13:14 -05:00
k00b
ae579cbec3
remove mod outlaws from hot
2024-09-16 13:30:40 -05:00
k00b
e63609a7c1
don't show deleted items in main sorts
2024-09-16 11:57:16 -05:00
ekzyis
c8975038bd
Never update author of item on edit ( #1401 )
...
* Never update author of item on edit
* Only show option to edit via hmac if anonymous
* Only send hash+hmac if anonymous
2024-09-13 11:19:54 -05:00
ekzyis
8a4e67e9f0
Anon edits ( #1393 )
...
* Rename vars around edit permission
* Allow anon edits with hash+hmac
* Fix missing time zone for invoice.confirmedAt of comments
* Fix missing invoice update on item update
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-09-13 10:11:19 -05:00
ekzyis
4340a82a62
Allow video uploads ( #1399 )
...
* Allow video uploads
* fix video preview
---------
Co-authored-by: k00b <k00b@stacker.news>
2024-09-13 09:26:08 -05:00
ekzyis
821ac60de5
Throw errors which extend GraphQLError ( #1386 )
2024-09-10 11:35:25 -05:00
Keyan
adcf048f4e
improve dupes ( #1356 )
2024-09-03 14:29:45 -05:00
Keyan
266e9a892d
Improve freebies ( #1333 )
...
* remove free posts
* deleted and freebie comments are always last
2024-08-26 19:23:07 -05:00
k00b
555601c7de
no bios in random
2024-08-20 21:12:39 -05:00
k00b
85e91ede47
show only active items with comments on random
2024-08-20 21:09:52 -05:00
k00b
accf5212b2
fix ~jobs
2024-08-20 20:50:04 -05:00
Tom
4fd23a3694
Add Random link and basic query ( #1306 )
...
* Add Random link and basic query
* Use random
* refine random sort query
* make vote threshold higher
---------
Co-authored-by: k00b <k00b@stacker.news>
2024-08-20 16:50:55 -05:00
k00b
df7baf4d7c
don't filter freebies/outlaws on profiles + fix ~sub/recent/all
2024-08-18 16:43:19 -05:00
k00b
ec2383b998
bug is only in wildwestmode
2024-08-14 15:43:07 -05:00
k00b
5a65eaae18
try to fix satsFilter clause
2024-08-14 15:36:21 -05:00
ekzyis
56d55027ab
Fix freebie comment edits like a post ( #1298 )
2024-08-14 09:31:52 -05:00
k00b
cb2efb0a7f
fix sats filter for notifications
2024-08-13 16:27:22 -05:00
Keyan
c5f043c625
replace greeter mode with investment filter ( #1291 )
...
* replace greeter mode with investment filter
* change name to satsFilter
* drop freebie column
---------
Co-authored-by: k00b <k00b@stacker.news>
2024-08-11 18:47:03 -05:00
Keyan
c20a954cfc
This day on ... automated post ( #1273 )
...
* add this day posting job
* put in proper timezone
* make sure we're in central timezone
* schedule thisDay job
2024-07-23 10:35:15 -05:00
keyan
de38a683d5
remove saloon from top posts
2024-07-21 13:57:18 -05:00
keyan
e045c46811
fix Item.root resolver for anon
2024-07-14 15:53:40 -05:00
keyan
ce45574bce
fix #1261
2024-07-10 19:39:53 -05:00
Keyan
79f0df17b2
improve pessimistic paid actions by letting the server perform actions and settle invoice on HELD
( #1253 )
...
* get rid of hash and hmac based pessimism
* fix readme
2024-07-04 12:30:42 -05:00