Julian Lam
3439fdb600
refactor: topic thumb logic so that isDraft is based on topic existence, and not whether it is a UUID, as remote topics are also UUIDs.
2024-12-12 11:37:19 -05:00
Julian Lam
fcf0f79987
feat: #12935 , show 'shared this to x' in topic event when moving topics out of cid -1
2024-12-11 13:07:46 -05:00
Julian Lam
1839388b65
fix: persist sourceContent into post hash when ingesting remote posts, update markdown so that field is parsed instead of ignoring content
2024-12-03 11:59:55 -05:00
Barış Soner Uşaklı
a42c9a6bec
refactor: prolly dont need exists check
2024-11-20 17:15:51 -05:00
Julian Lam
93bb73c17e
fix: replace parseInt that was excluding remote pids from calculation
...
Also fixes nodebb/nodebb-plugin-feed#13
2024-11-20 13:49:55 -05:00
Barış Soner Uşaklı
1327316d8f
Merge branch 'develop' into activitypub
2024-11-14 10:53:51 -05:00
Barış Soner Uşaklı
08a87d107e
Merge branch 'master' into develop
2024-11-13 18:43:10 -05:00
Barış Soner Uşaklı
db291ecde1
fix: filter undefined posts/topics
2024-11-13 18:38:36 -05:00
Barış Soner Uşaklı
06226081d4
catch errors from handleExpired
2024-11-13 16:40:14 -05:00
Barış Soner Uşaklı
20da71485f
refactor: remove unused uids
2024-11-13 16:29:16 -05:00
Barış Soner Uşaklı
d477090804
fix: don't crash if post is undefined
2024-11-13 16:28:16 -05:00
Barış Soner Uşaklı
f532450139
fix: possible fix to escaped emoji in titles
2024-10-24 20:03:40 -04:00
Barış Soner Uşaklı
d82d2c5cd7
Merge branch 'develop' into activitypub
2024-10-18 09:17:53 -04:00
Barış Soner Uşaklı
81f7371a7b
test: fix guest handles in onNewPost
2024-10-17 14:10:31 -04:00
Barış Soner Uşaklı
120b184e58
refactor: single line
2024-10-15 11:03:46 -04:00
Barış Soner Uşaklı
1bf0990774
fix: groups not showing up on new reply
2024-10-15 10:59:13 -04:00
Barış Soner Uşaklı
f53f1394bd
perf: make unread faster if there are 60k+ unread topics
...
fixes https://community.nodebb.org/topic/18350/nodebb-slow-after-website-have-over-60k-topic
2024-10-11 12:06:19 -04:00
Barış Soner Uşaklı
ad565a98ea
Merge branch 'develop' into activitypub
2024-09-12 10:32:40 -04:00
Barış Soner Uşaklı
c2600b124f
fix: closes #12787 , filter null topics
2024-09-11 14:26:16 -04:00
Barış Soner Uşaklı
705796f628
feat: add action:topics.scheduled.notify
...
add missing notify calls into scheduled topics
2024-09-10 09:38:05 -04:00
Julian Lam
9357e71898
refactor: standardization; onNewPost internal method to return a superset of post summary
...
... so as to not require an additional call in internal topics API to call post summary again for a standardized response
2024-09-05 11:42:05 -04:00
Julian Lam
76551c7123
fix : #12751 , topics:recent zset not updated when tid moved in/out of cid -1
2024-08-22 11:17:27 -04:00
Julian Lam
2aa0483718
fix: null check for note attachments for thumbs view
2024-07-19 10:51:41 -04:00
Barış Soner Uşaklı
26765fe9aa
lint: remove unused function
2024-07-15 12:05:55 -04:00
Julian Lam
c01f154937
breaking: core html stripping on plaintext, remove 'filter:teasers.configureStripTags' hook, remove html stripping from teaser generation
...
These two steps were removed because a `type` property is passed to `filter:post.parse` now, and thus plugins themselves can handle independently.
Core also now strips all html when `type` is plaintext, so plugins don't have to (or if they still pass html back).
2024-07-12 12:30:37 -04:00
Julian Lam
7bdf376971
fix: map to actual mainPid value
2024-07-12 10:58:37 -04:00
Barış Soner Uşaklı
9b8c834ef0
perf: get rid of exists call, load all attachments in one call
2024-07-11 22:24:32 -04:00
Julian Lam
2aeabce566
feat: add post attachments to topic thumbnails
2024-07-11 17:11:33 -04:00
Julian Lam
0d549f1d80
fix: tweak logic for topic counters sorted sets, #12642
2024-07-05 11:41:47 -04:00
Julian Lam
fb1a9178cc
Merge branch 'develop' into activitypub
2024-06-25 13:04:48 -04:00
Julian Lam
1611b17bd7
feat: send topic title into user-posted-topic-with-tag notification type, unbold tags in copy
2024-06-25 13:04:34 -04:00
Julian Lam
fe70a2b8b5
fix : #12652 , incorrect user, post, topic counters with AP enabled
2024-06-25 12:36:11 -04:00
Barış Soner Uşaklı
e84c797c7c
Merge branch 'develop' into activitypub
2024-06-24 22:30:03 -04:00
Barış Soner Uşaklı
54b0139531
fix: wront topic events showing up in topic
...
when you perform a topic action on a topic that has queued posts
store topic event id in the event hash
dont load queued post events when adding a new topic event
2024-06-24 21:59:12 -04:00
Barış Soner Uşaklı
1be3f49e75
Merge branch 'develop' into activitypub
2024-06-22 09:00:04 -04:00
Barış Soner Uşaklı
381bbb04ad
fix: dont show self in suggested topics
2024-06-22 08:59:50 -04:00
Barış Soner Uşaklı
529cd3712b
Merge branch 'develop' into activitypub
2024-06-17 18:07:46 -04:00
Barış Soner Uşaklı
351ee71d64
fix: suggested topic tid
2024-06-17 18:07:21 -04:00
Barış Soner Uşaklı
c021e7e80f
refactor: announces
...
store number of announces on post hash, show announces like votes, with tooltip and a way to see all, remove them from topic.events so they dont load all tid:<tid>:posts everytime topic is loaded
2024-06-17 11:18:48 -04:00
Barış Soner Uşaklı
ad22b54e5e
perf: get rid of getPidByIndex, use postAtIndex
2024-06-15 13:54:37 -04:00
Barış Soner Uşaklı
820d576481
Merge branch 'develop' into activitypub
2024-06-15 13:45:43 -04:00
Barış Soner Uşaklı
74dd2844a0
refactor: remove exits check
2024-06-15 13:36:13 -04:00
Barış Soner Uşaklı
a8d41978e5
parse teasers as plain text
2024-06-10 19:01:02 -04:00
Julian Lam
6272d059e7
fix: guard against infinite loop during topic purge batch call
2024-06-10 13:50:10 -04:00
Barış Soner Uşaklı
8ded36f25d
refactor: suggest topics, use strings for tids
...
limit search results
2024-06-09 23:26:12 -04:00
Barış Soner Uşaklı
3488a4bfe1
refactor: suggest topics, use strings for tids
...
limit search results
2024-06-09 23:25:56 -04:00
Julian Lam
f2e43e894b
Merge remote-tracking branch 'origin/develop' into activitypub
2024-05-27 12:56:51 -04:00
Barış Soner Uşaklı
7969e62d06
fix: wrong var for ignored
2024-05-25 12:36:04 -04:00
Barış Soner Uşaklı
29dbe92d6e
feat: show ignored/watched topics in topic list, closes #10974
2024-05-25 12:28:39 -04:00
Julian Lam
2d7ca48d42
fix: rename api.activitypub.create.post to .note()
2024-05-10 14:32:00 -04:00