Julian Lam
bcfac00bec
fix: unintentional parseInt during post purge
2024-06-10 12:30:48 -04:00
Barış Soner Uşaklı
dac2cd2549
Merge branch 'develop' into activitypub
2024-06-10 12:19:07 -04:00
Barış Soner Uşaklı
516c068471
Merge branch 'master' into develop
2024-06-10 12:18:54 -04:00
Barış Soner Uşaklı
3ec44d640d
feat: make upload scores descending for ordering
2024-06-10 11:00:45 -04:00
Barış Soner Uşaklı
f83a3672ca
fix: set
2024-06-07 12:58:04 -04:00
Barış Soner Uşaklı
2ae5857005
refactor: remove verbose logs,
2024-06-07 12:13:28 -04:00
Barış Soner Uşaklı
9868a728bf
refactor: single cache.del call
2024-06-04 21:14:11 -04:00
Julian Lam
709c91329a
feat: pruning of stale notes older than 30 days with no engagement
2024-06-04 14:18:22 -04:00
Julian Lam
547fc17dcf
fix: update post cache clearing logic to call helper function
...
regression from 8cf9617630
2024-05-28 12:01:30 -04:00
Julian Lam
09e71e94a2
Merge branch 'develop' into activitypub
2024-05-23 15:18:56 -04:00
Julian Lam
db30834ebc
fix: sanitize-html configuration passed in src/posts/parse.js
...
Cursory review of sanitize-html documentation suggests that the currently-used `globalAttributes` property no longer exists, but was replaced with `nonBooleanAttributes`, likely because the attribute allow-list explicitly applies only to "non-boolean" attributes (e.g. not `checked` or `selected`).
Either way it does not likely affect us but is mainly here for future-proofing purposes.
2024-05-23 15:18:29 -04:00
Julian Lam
8cf9617630
feat: passing in types to parsePost for more specific handling by plugins
2024-05-17 15:22:13 -04:00
Julian Lam
9fbd48b152
fix: Posts.isMain cast pid to String instead
2024-05-10 12:07:28 -04:00
Julian Lam
336ea1eeb6
fix: type error in attachment emptying method
2024-05-10 11:18:33 -04:00
Julian Lam
ccd187e000
feat: Note deletion logic and refactoring, #12551
2024-05-09 15:49:03 -04:00
Barış Soner Uşaklı
91c3434fda
Merge branch 'develop' into activitypub
2024-04-25 11:16:42 -04:00
Julian Lam
1253ded7d5
chore: minor cleanup
2024-04-16 13:38:05 -04:00
Julian Lam
f783338621
fix : #12496 , url in schema
2024-04-11 13:43:29 -04:00
Julian Lam
525b7c2cee
feat: save remote post url into hash for use
2024-04-11 13:25:37 -04:00
Julian Lam
6fc6cc33cd
feat: note attachments via link preview plugin
2024-04-10 22:01:50 -04:00
Barış Soner Uşaklı
d725679648
fix : #12485 , resolve flags on a topics posts on topic delete
2024-04-09 10:54:45 -04:00
Barış Soner Uşaklı
1027c6e6dd
Merge branch 'develop' into activitypub
2024-03-20 12:20:57 -04:00
Tomas Nesrovnal
5924a6eb43
feat: add playsinline video attribute ( #12419 )
2024-03-18 12:25:07 -04:00
Julian Lam
c5c0c47393
chore: lint
2024-03-13 11:45:28 -04:00
Julian Lam
81b319f494
fix: accidental saving of ephemeral _activitypub object into db, should plumb into hooks only
2024-03-13 11:19:50 -04:00
Julian Lam
f7c8967ee2
refactor: use topics.post, topics.reply, and posts.edit in Create(Note), Create(Note), and Update(Note), respectively
2024-03-12 14:24:38 -04:00
Julian Lam
52c143aa03
fix: template helper
2024-03-12 13:27:29 -04:00
Julian Lam
0c2cfbe7a0
chore: lint
2024-03-06 14:59:49 -05:00
Julian Lam
f368a1a87f
fix: remove intFields hack and update db.parseIntFields to only parseInt if field value is a number
2024-03-06 11:45:34 -05:00
Julian Lam
3a870360c4
fix: revert introduction of toPid into post intFields, manually cast toPid as int in getPostSummaryByPids if present and numeric
2024-02-21 15:15:59 -05:00
Julian Lam
3e02efcdb9
lint: unused requires, linting fixes
2024-02-20 14:26:21 -05:00
Julian Lam
893dd523ca
fix: send string to validator
2024-02-20 14:23:53 -05:00
Julian Lam
31fd135f6e
fix: parseIntFields for tids
2024-02-20 14:09:06 -05:00
Julian Lam
e5b6ee97bd
feat: attachments support
2024-02-16 12:07:29 -05:00
Julian Lam
8b0ccc8090
fix: sanitize post remote post content regardless
2024-02-14 22:53:27 -05:00
Julian Lam
56cfae0766
fix: accidental overwrite of hoisted internal variable
2024-02-14 11:56:21 -05:00
Julian Lam
607c4623c7
feat: Like(Note) and Undo(Like); federating likes
2024-02-01 16:05:31 -05:00
Julian Lam
6b517252b9
feat: activitypub response to note retrieval via pid
2024-01-25 16:27:56 -05:00
Julian Lam
2ff70fdde2
refactor: generate a topic id when asserting a new topic
2024-01-19 11:31:04 -05:00
Julian Lam
5ac0276530
fix: reply expansion
2024-01-16 11:20:54 -05:00
Julian Lam
273188632d
Merge remote-tracking branch 'origin/develop' into activitypub
2024-01-12 15:23:41 -05:00
Barış Soner Uşaklı
5213e22a6e
feat: search in bookmarks on search page
2024-01-12 14:02:28 -05:00
Julian Lam
2b3b6e56af
chore: move assertNote to separate file in preparation for additional note-based methods
2024-01-11 10:05:02 -05:00
Julian Lam
3ce84b39bc
feat: ability to load remote post data in a topic
2024-01-10 20:52:28 -05:00
Julian Lam
022fa0e75f
fix: don't count internal links towards link count when restricting new users from posting links
2023-10-26 11:18:23 -04:00
Barış Soner Uşaklı
bda37ac27f
fix: edit notification key
2023-10-07 08:25:15 -04:00
Barış Soner Uşaklı
844cb91beb
feat: update all language keys to use - instead of _ ( #12059 )
...
* feat: update all language keys to use - instead of _
* refactor: update language keys
2023-10-05 12:48:50 -04:00
Barış Soner Uşaklı
d50473dfeb
fix: pass in missing uid
2023-09-25 11:20:21 -04:00
Barış Soner Uşaklı
8895b152c2
refactor: get rid of exists db call, use promise.parallel
2023-09-25 11:08:09 -04:00
Julian Lam
fe42fd4ebc
fix : #12025 , validity checking on user-provided toPid value
2023-09-25 10:34:35 -04:00