Julian Lam
9f72996416
feat: stop extraneous vote and tids_read data from being saved for remote users
2025-12-17 09:57:45 -05:00
Julian Lam
30b1212a0a
fix: relax toPid assertion checks so that it only checks that it is a number or uri
2025-10-29 15:18:19 -04:00
Julian Lam
f6219d0026
fix: update logic so that purging a post does not remove toPid fields from children, updated addParentPosts so that post existence is checked
2025-10-29 15:18:19 -04:00
Julian Lam
af5efbd71d
fix: regression caused by d3b3720915
2025-10-14 11:21:39 -04:00
Barış Soner Uşaklı
6c2100684b
fix: crash in tests
2025-10-11 20:54:00 -04:00
Julian Lam
d3b3720915
refactor: move post attachment handling directly into posts.create
2025-10-09 13:58:08 -04:00
Julian Lam
93b6cb5984
feat: federate Delete on post delete as well as purge, topic deletion federates Announce(Delete(Object))
2025-10-06 13:45:46 -04:00
Barış Soner Uşaklı
9d4a9b83cc
fix: closes #13624 , update post fields before schedule code
...
tldr when reschedule was called it was still using the timestamp in the future when adding to cid:<cid>:pids causing that post to get stuck at the top of that zset, which led to the bug in this issue
2025-08-29 21:02:14 -04:00
Barış Soner Uşaklı
e79dfeb7c3
fix: rare crash if queued item is no longer in db but id is in post:queue
2025-08-26 13:56:47 -04:00
Barış Soner Uşaklı
076cc9e868
lint: remove unused url
2025-08-13 17:36:55 -04:00
Julian Lam
06c3824740
fix: regression caused by cc6fd49c4d
2025-08-13 14:41:44 -04:00
Julian Lam
cc6fd49c4d
fix: protocol-relative URLs being accidentally munged, #13592
2025-08-13 10:01:05 -04:00
Barış Uşaklı
24e7cf4a00
refactor: move post uploads to post hash ( #13533 )
...
* refactor: move post uploads to post hash
* test: add uploads to api definition
* refactor: move thumbs to topic hash
* chore: up composer
* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Barış Uşaklı
4fbcfae8b1
Post queue write api ( #13473 )
...
* move post queue from socket.io to rest api
* move harmony post-queue to core
add canEdit, allow users to edit their queued posts
* fix: openapi spec
* lint: whitespace
2025-06-05 07:15:45 -04:00
Barış Soner Uşaklı
ebb88c1277
feat: add action:post-queue.save
...
fires after a post is added to the post queue
2025-05-30 11:45:04 -04:00
Julian Lam
61f6806b6a
test: a few additional tests for announce handling
2025-05-14 11:49:12 -04:00
Julian Lam
df5c1a938d
breaking: removal of filter:post.purge
2025-05-06 13:38:42 -04:00
Julian Lam
c84b72fb37
breaking: removal of filter:post.purge
2025-05-06 13:38:42 -04:00
Julian Lam
b433848971
fix : #13374 , updates to posts.edit to handle remote content updates better
2025-05-06 10:45:09 -04:00
Barış Soner Uşaklı
c93dc5897a
refactor: break long line
2025-04-04 11:47:24 -04:00
Barış Soner Uşaklı
c41c7e8a03
fix: posts.uploads.usage since paths changed
2025-04-04 11:04:09 -04:00
Barış Soner Uşaklı
3ad6ee075b
Thumb uploads/post uploads normalization ( #13300 )
...
* testing thumn/post upload refactor
* fix: isOrphan check
* lint: fix md5
* test: fix upload test
* user
* fix: upgrade script
* refactor: long line
* lint: lint
* test: fix tests
* Squashed commit of the following:
commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Fri Apr 4 09:24:54 2025 -0400
fix: req.body can be undefined
* refactor: show data on test fail
* test: logs
* test: change test
* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Julian Lam
44354dac5e
fix: handling of href in remote object attachments, #13169
2025-03-07 14:18:09 -05:00
Barış Soner Uşaklı
1a7250b508
Merge branch 'master' into develop
2025-02-23 10:25:58 -05:00
Barış Soner Uşaklı
e9d4c7b97e
fix: summary post parse
2025-02-23 10:25:53 -05:00
Barış Soner Uşaklı
97928b67e7
Merge branch 'master' into develop
2025-02-23 10:21:56 -05:00
Barış Soner Uşaklı
ad92e93129
fix: add sourceContent to getPostSummaryByPids
...
ap posts wasnt showing any content in mobile navigator
2025-02-23 10:21:47 -05:00
Barış Soner Uşaklı
8c6bfa95e4
Merge branch 'master' into develop
2025-02-18 11:43:52 -05:00
Julian Lam
92708d2f6b
fix : #13170 , remove mime-type and regex test for "Emoji" attachment, wrap tag name in colons if not provided
2025-02-18 10:58:04 -05:00
Julian Lam
b6918267a1
Merge branch 'master' into develop
2025-02-16 15:00:41 -05:00
Julian Lam
33d7b9b3ab
fix: clear parsed post cache when updating a post's attachments, #13164
2025-02-16 14:48:44 -05:00
Barış Soner Uşaklı
fde5e57e6d
Merge branch 'master' into develop
2025-02-11 13:45:46 -05:00
Barış Soner Uşaklı
70a9f6d337
fix: return null if field isn't in hash
2025-02-11 13:37:21 -05:00
Barış Soner Uşaklı
3b7b32e228
Merge branch 'master' into develop
2025-02-06 19:23:57 -05:00
Barış Soner Uşaklı
d687f0810c
fix : #13135 , tids are not numeric for ap topics
...
this fixes other issues like posts not disappearing when purged and many others
2025-02-06 19:12:32 -05:00
Barış Soner Uşaklı
96a1ebdfec
Merge branch 'master' into develop
2025-02-06 14:38:28 -05:00
Barış Soner Uşaklı
c2f7754ae0
Post/parent ( #13133 )
...
* post.parent wip
* feat: post parent
handle delete/restore/purge privileges etc.
* remove whitespace
* fix: this in each
* lint
* up harmony fix text break
2025-02-06 14:37:50 -05:00
Julian Lam
f64e6f0f1a
refactor: Posts.relativeToAbsolute so that the regexes passed to it no longer need a pre-defined length, it is now calculated from the match result, added new regex for markdown image/anchors
2025-01-29 11:55:38 -05:00
Julian Lam
b386e4a66e
feat: introduce new 'markdown' post parsing type, closes #13077
2025-01-23 14:52:14 -05:00
Julian Lam
cfeb49ddd9
fix: post upload sync duplication bug
2025-01-08 12:06:56 -05:00
Julian Lam
b537437c78
feat: save audience into post hash (for remote posts)
2024-12-24 11:17:22 -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
Julian Lam
7b747c8fa0
fix : #12928 , topic showing wrong queued posts in-topic when topic is remote
2024-11-21 15:50:02 -05:00
Julian Lam
3968c822a2
feat: add title property to custom emoji markup
2024-11-14 15:08:09 -05:00
Barış Soner Uşaklı
1327316d8f
Merge branch 'develop' into activitypub
2024-11-14 10:53:51 -05:00
Julian Lam
09b1e11940
feat: #12683 , parse incoming emoji tags and replace in content prior to storage in database
2024-11-13 16:47:00 -05:00
Barış Soner Uşaklı
bc00df3cd9
feat: closes #12902 , allow adding users as post editors
2024-11-06 11:36:53 -05:00
Julian Lam
71ce308936
fix: carry out mime-type guessing on incoming attachments
2024-09-17 14:18:16 -04:00
Julian Lam
16c8a6523a
feat: add new escape option to getPostSummaryByPids [breaking]
...
Changes logic so that the new `escape` option escapes HTML,
whereas the old behaviour had `parse: false` escape HTML.
Now, when `parse` is `false`, the content is unchanged.
Defaults are `{ parse: true, escape: false, stripTags: false }`
2024-09-05 10:42:08 -04:00
Barış Soner Uşaklı
df6062d8be
Merge branch 'develop' into activitypub
2024-08-21 12:57:10 -04:00