Commit Graph

1085 Commits

Author SHA1 Message Date
Julian Lam
0fab4255cc fix: remove superfluous privilege filter in markAllRead 2025-04-29 10:28:18 -04:00
Julian Lam
4a7111d042 fix: marking remote category topics as read 2025-04-29 10:28:18 -04:00
Julian Lam
b0236735f2 fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read 2025-04-29 10:28:18 -04:00
Julian Lam
2cb6d10d9e fix: missing dep 2025-04-29 10:28:18 -04:00
Julian Lam
c4274a3dca fix: topics in remote categories showing up in /recent 2025-04-29 10:28:17 -04:00
Julian Lam
4be0f73ace feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-29 10:28:17 -04:00
Julian Lam
804052f272 test: add tests for topics slotting into remote categories if addressed 2025-04-29 10:28:17 -04:00
Julian Lam
0fa98237af refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
71cd46e132 Merge branch 'master' into develop 2025-04-22 11:46:43 -04:00
Barış Soner Uşaklı
42a5a127b6 fix: escape displayname in topic events 2025-04-22 11:46:03 -04:00
Barış Soner Uşaklı
bf2d4c46f8 feat: show topic follower counts (#13326)
fix upgrade script dates
add upgrade script to count topic followers for each topic
2025-04-15 10:07:45 -04:00
Barış Soner Uşaklı
3526c937cc fix: tag urls getting double escaped (#13306)
* fix: tag urls getting double escaped

get rid of weird decodeURIComponent($.param()) usage
$.param returns a string suitable for use in query param string

* add a new test
2025-04-07 13:23:22 -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
945617cbcf fix: only 1b12 announce topic fork if OP is local, fix race condition in tests 2025-03-11 15:32:10 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
2c0fdfeea1 Merge branch 'master' into develop 2025-03-05 17:19:52 -05:00
Barış Soner Uşaklı
48f0f47a2e fix: #13228, use timestamp from mainpost/lastpost
when forking a topic
2025-03-05 11:30:46 -05:00
Julian Lam
e3edfef865 feat: call announceObject on topic fork, #13215 2025-03-03 11:54:26 -05:00
Barış Soner Uşaklı
752f4ca11b Merge branch 'master' into develop 2025-02-22 11:11:53 -05:00
Barış Soner Uşaklı
e38d153117 feat: match events and parent style
use displayname in topic events
2025-02-22 11:11:47 -05:00
Barış Soner Uşaklı
e7b439a892 Merge branch 'master' into develop 2025-02-21 12:57:13 -05:00
Barış Soner Uşaklı
9153f8cfae feat: merge consecutive share events 2025-02-21 12:57:07 -05:00
Julian Lam
0d14ff15d7 Merge branch 'master' into develop 2025-02-19 12:04:36 -05:00
Julian Lam
bb9687bd89 fix: #13172, Topics.addParentPosts not sending sourceContent in calling parsePosts 2025-02-19 12:02:14 -05:00
Barış Soner Uşaklı
c5582d213a Merge branch 'master' into develop 2025-02-15 12:16:13 -05:00
Julian Lam
637addc445 feat: syncUserInboxes to take into account remote topic tags, closes #13074 2025-02-14 20:43:19 -05:00
Julian Lam
04f51cc63a fix: change the passed-in notificatiom id for notifyTagFollowers to contain the list of matched tags
fixes: #13087
2025-02-14 20:25:10 -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ı
893089709c add await to notify functions
and wrap in try/catch
2025-02-11 10:16:40 -05:00
Barış Soner Uşaklı
b6b766395d chore: update persona 2025-02-07 12:01:50 -05:00
Barış Soner Uşaklı
3ab22c2c8c refactor: events are returned inside post objects
to load all events of a topic use api/v3/topics/:tid/events
2025-02-06 19:59:09 -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ı
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
Barış Soner Uşaklı
21156673e3 fix: isDraft logic, closes #13119
topic.exists returns an array
2025-02-03 13:13:49 -05:00
Barış Soner Uşaklı
36063d1f33 fix: path on windows, #13119 2025-02-03 12:47:45 -05:00
Barış Soner Uşaklı
4d7335903a feat: add uid to post.parent 2025-01-29 18:01:52 -05:00
Barış Soner Uşaklı
4ba01d18d6 refactor: 🤡 2025-01-28 19:59:12 -05:00
Barış Soner Uşaklı
679fcb71a9 fix: #13067, add sourceContent to teasers
required in posts.parse
2025-01-22 13:16:40 -05:00
Julian Lam
4dc740a20f fix: #12984, fix pids numeric sorting, handle non-integers 2025-01-10 15:15:14 -05:00
Julian Lam
50b510e386 fix: thumbs.get to handle null case from mime.getType 2025-01-08 12:20:31 -05:00
Julian Lam
51fd65abc8 refactor: add thumbsOnly option to thumbs retrieval method so that embeds/attachments don't show up in composer thumbnail modal 2024-12-17 11:14:29 -05:00
Julian Lam
f4835695de feat: add filter:topics.hasThumbs filter hook
To be used by embed plugins to add thumbnails as necessary (e.g. giphy, etc.)
2024-12-17 10:54:17 -05:00
Julian Lam
d734ce4911 fix: ignore subsequent shares of the same topic by that user 2024-12-16 22:34:26 -05:00
Julian Lam
cc65214de9 feat: append uploaded images into thumbnail set 2024-12-16 16:39:18 -05:00
Julian Lam
e83036a959 feat: #12976, shares collection 2024-12-16 13:50:24 -05:00
Julian Lam
755b985596 fix: fix double thumb due to post attachments 2024-12-12 15:03:16 -05:00
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