Commit graph

305 commits

Author SHA1 Message Date
freamon
1af76320b7 Also use public_url() for User Follower activity 2024-09-01 17:49:46 +01:00
freamon
ab0a1816b3 ActivityPub - process ban reversals for local users from remote mods & admins 2024-08-23 14:05:42 +00:00
freamon
79ab687b5b ActivityPub - Bans for local users from remote mods & admins
(Also works if alt_user_name is provided)
2024-08-23 08:47:19 +00:00
freamon
0d8058229c Remove a couple of unnecessary db.session calls 2024-08-19 23:50:53 +00:00
freamon
43e2d59025 Don't overwrite activity_log.result from value set in undo_vote() 2024-08-19 23:49:24 +00:00
rimu
336a47fdd2 random published date to avoid cake day associations 2024-08-20 09:08:45 +12:00
rimu
d718c2937b random published date to avoid cake day associations 2024-08-20 08:55:05 +12:00
rimu
2f15fd5aea alt user names 2024-08-20 07:03:18 +12:00
rimu
9ec7f969be dark mode flickering #298 2024-08-18 16:38:55 +12:00
rimu
3f190140bc bugfix 2024-08-17 11:08:09 +12:00
rimu
d0cc79f8ad accept mastodon replies 2024-08-17 10:26:33 +12:00
freamon
474ff8c194 Initial work for posts that have been removed and then restored #276 2024-08-16 15:07:40 +00:00
freamon
5211c64c2a Return 400 Bad Request for signature verification errors 2024-08-15 13:10:37 +00:00
freamon
f247c280e9 Remove unnecessary if/else clause
function only returns True or raises an Exception for an error
2024-08-15 11:16:57 +00:00
rimu
058cef2871 MBin sends Create activities even for remote communities #290
Lemmy uses Announce -> Create for communities hosted on their instance and only uses Create when posting to a community on our instance. Mbin uses Create all the time.
2024-08-10 18:43:16 +12:00
rimu
d25232b128 treat EmojiReact activities as Likes 2024-08-08 18:25:22 +12:00
rimu
21b59f8ff7 Mastodon - post_reply.post bug #21 2024-07-17 09:34:42 +08:00
rimu
3643526706 admins can set permissions for staff role #21 2024-07-16 21:29:06 +08:00
rimu
1ea3c925ea accept Posts and Comments from a.gup.pe #31 2024-07-15 20:46:48 +08:00
rimu
85cc1595fd accept Activity from a.gup.pe #31 2024-07-15 17:51:23 +08:00
rimu
3647e2796d mod log #21 2024-07-07 15:01:52 +08:00
rimu
d9d69c0b8a caching on home page and posts, especially for anonymous users
the home page and post pages are the most likely to get slashdotted by mastodon.
2024-06-30 15:29:52 +08:00
rimu
eef9b193f4 oops, lol 2024-06-28 13:41:04 +08:00
rimu
9f5bae4ef4 if there is no attributedTo, fall back to the actor on the parent object 2024-06-28 13:03:07 +08:00
rimu
e333193cbc possible causes of celery hangs 2024-06-28 12:30:19 +08:00
freamon
2f6e60ac40 Check if object already exists for Create activity too #216 2024-06-25 17:23:10 +01:00
rimu
a499440374 Don't log successful json - save space 2024-06-23 20:34:53 +08:00
rimu
50bde3ebaf try to avoid occasional deadlocks 2024-06-23 15:59:46 +08:00
freamon
daac5a52c7 Refine local community outbox response 2024-06-20 04:38:51 +01:00
freamon
c69def130a Lemmy can send Announce/Update without ever sending an Announce/Create #212
(non-breaking version)
2024-06-19 01:19:26 +01:00
freamon
e6c65bd393 Only decrement post.reply_count for deletions if reply author wasn't a bot 2024-06-18 16:42:24 +01:00
freamon
63a8ba3960 Avoid announcing activity sent to local users unless it is also in a local community 2024-06-17 19:06:07 +01:00
rimu
b61f467049 disable problematic federation code #201 2024-06-14 21:33:20 +08:00
freamon
537dd41740 Lemmy can send Announce/Update without ever sending an Announce/Create 2024-06-13 19:09:34 +01:00
freamon
45340858a8 Bugfix for Announce: same check for Update/Note as Create/Note 2024-06-12 19:45:24 +01:00
rimu
148183f530 to be sure 2024-06-06 13:35:28 +12:00
freamon
e64ae00a44 Undo some lower() calls 2024-06-06 00:09:17 +01:00
freamon
7db33a084a Share functionality between post_to_activity and post_to_page 2024-06-05 22:45:35 +01:00
freamon
6dc7ac9728 public_url() in JSONs for Accept or Reject of community Follow request 2024-06-05 19:26:03 +01:00
rimu
f859dd8c1f replies collection on outbox and /post/xxx #175 2024-06-05 20:33:23 +12:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
0bde39b8a3 profile_id or user_name.lower() everywhere #194 2024-06-04 09:49:54 +12:00
rimu
cf3dec5768 profile_id or user_name.lower() everywhere #194 2024-06-04 09:44:10 +12:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
rimu
0a1ea7d0e3 only json serializable objects can be passed to celery tasks (not SQLAlchemy models) #181 2024-06-01 19:52:17 +12:00
freamon
d53d5b1a8d Bugfix: function import 2024-05-31 22:31:35 +01:00
freamon
06edc710d9 Process incoming poll votes 2024-05-31 22:31:11 +01:00
freamon
c5596e2f08 post_to_page: use post.community instead of also passing community 2024-05-31 22:29:13 +01:00
rimu
e8d7aec516 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	app/activitypub/util.py
2024-05-28 15:22:15 +12:00
rimu
1c2be79dab Discourse follow community #111 2024-05-28 15:16:43 +12:00