Commit Graph

543 Commits

Author SHA1 Message Date
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
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