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
Julian Lam
25bf97ae28
fix : #12732 editing of remote post content
...
title can now be edited, post content is not-editable.
2024-08-13 15:12:57 -04:00
Barış Soner Uşaklı
5eaba4935c
Merge branch 'master' into develop
2024-08-12 10:30:12 -04:00
Barış Soner Uşaklı
c3f02b74cc
feat: add allow and frameborder to allow attrs
2024-08-12 10:30:01 -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
Barış Soner Uşaklı
530241e0f2
lint: remove unused
2024-07-11 22:27:41 -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
f629b20f2d
fix: tighten up logic in checkToPid internal method
2024-07-05 13:49:16 -04:00
Julian Lam
e75ec39b70
feat: topic backfill logic via resolvable context #12647
2024-06-28 12:54:41 -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ı
3f1b04ebe8
Merge branch 'develop' into activitypub
2024-06-14 12:14:45 -04:00
Barış Soner Uşaklı
80da3e0a6f
Merge branch 'master' into develop
2024-06-14 12:12:37 -04:00
Barış Soner Uşaklı
73241bd521
perf: if sigs disabled dont filter uids
2024-06-14 12:12:16 -04:00
Julian Lam
f6d4d5630e
chore: lint
2024-06-14 11:49:25 -04:00
Barış Soner Uşaklı
291bf7db41
perf: move attachments to post hash
2024-06-13 19:49:04 -04:00
Barış Soner Uşaklı
00c70ce7b0
Merge branch 'develop' into activitypub
2024-06-10 17:30:10 -04:00
Barış Soner Uşaklı
d9e135ef2f
Merge branch 'master' into develop
2024-06-10 17:26:45 -04:00
Barış Soner Uşaklı
8eccdb481f
refactor: move requires down
2024-06-10 17:18:41 -04:00
Barış Soner Uşaklı
795a0daa03
lint: fix semicolons
2024-06-10 17:17:46 -04:00
Barış Soner Uşaklı
236ac32303
refactor: posts cache to get rid of require in functions
2024-06-10 17:10:43 -04:00