Mark Felder
42f1a098aa
Fix build. Too eager with the fixing of unused variables.
...
== Compilation error in file lib/pleroma/web/activity_pub/views/user_view.ex ==
** (CompileError) lib/pleroma/web/activity_pub/views/user_view.ex:54: undefined function _total/0
(stdlib) lists.erl:1338: :lists.foreach/2
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
6 years ago
Mark Felder
636f0fa402
Clean up unused aliases and imports
6 years ago
Mark Felder
943820ae29
More unused variables
6 years ago
Mark Felder
ab4aa5720a
Fix a bunch of unused variable warnings
6 years ago
William Pitcock
a3d1d4894f
ActivityPub core: fix handling of unlisted statuses by leveraging a similar strategy as for blocks
6 years ago
lain
4d55d7c95e
Insert object after being rewritten.
6 years ago
lambda
a7a40bb8f1
Merge branch 'fix/blocked-user-boosts' into 'develop'
...
ActivityPub.ex: do not return boosted statuses from blocked users.
See merge request pleroma/pleroma!111
6 years ago
William Pitcock
90bbd94614
ActivityPub MRF SimplePolicy: fix media stripping
7 years ago
Francis Dinh
2d775bf1be
Merge branch 'feature/unrepeats' of git.pleroma.social:normandy/pleroma into feature/unrepeats
7 years ago
Francis Dinh
9e0dd21ed6
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain
c78e7d8b11
Fix formatting.
7 years ago
lambda
7a52c4549c
Merge branch 'feature/message-rewrite-facility' into 'develop'
...
message rewrite facility
See merge request pleroma/pleroma!112
7 years ago
Dashie
9972678a68
Add User.decrease_note_count and call it from ActivityPub.delete
7 years ago
Francis Dinh
8c0806539c
Embed announce activity data instead of linking to it
7 years ago
Francis Dinh
b1742eca42
Revert "Rename make_unannounce_data helper to make_undo_data"
...
This reverts commit c649ca8958
.
7 years ago
Francis Dinh
c649ca8958
Rename make_unannounce_data helper to make_undo_data
...
This makes it a bit more easier to adapt for unlikes as well in the
future.
7 years ago
eal
22bfeac256
Update note count in ActivityPub.create.
7 years ago
lain
9e6ae44729
Formatting fixes.
7 years ago
Francis Dinh
f0798440de
Use correct activity for undo
7 years ago
Francis Dinh
4b9f2ab526
Fix federation of unreblog activity
7 years ago
nenolod@dereferenced.org
f08f9d4498
ActivityPub MRF: fix nsfw tagging of objects with attachments by looking at the right object (the child in this case)
7 years ago
Francis Dinh
7b4f55238e
Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh
687db1bc3a
Expose unannounce activity so that it can be tested
7 years ago
Francis Dinh
0251690e96
Add federation for unrepeats
7 years ago
Francis Dinh
c9e7b984d5
Add make_unannounce_data helper function
7 years ago
Francis Dinh
d16877251a
doc fixes
7 years ago
Francis Dinh
b949577472
Add unrepeat functionality
7 years ago
William Pitcock
d24ddd9fb9
ActivityPub MRF: implement the SimplePolicy policy
7 years ago
William Pitcock
4a178b3d65
ActivityPub: implement MRF core hook and baseline noop policy object
7 years ago
eal
48380aeccc
ActivityPub.ex: do not return boosted statuses from blocked users.
7 years ago
lain
b3b7ab5d9a
Load all users at once in timelines.
7 years ago
lain
bc31bee7c4
Generates contexts and ids on insertion time.
7 years ago
lain
2222e5599c
Don't fetch anything except ap_id for follower / following
...
collections.
Should speed up the queries because ecto doesn't have to parse the json.
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
d2099c849d
More Jason changes.
7 years ago
lain
2c1c221301
Fix follower collection id.
7 years ago
William Pitcock
2aea3bc632
activitypub transmogrifier: rewrite incoming hashtags
7 years ago
lain
5da2355e71
For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
William Pitcock
3fcdfb75d0
activitypub: add outbox endpoint
7 years ago
William Pitcock
381ba256bf
activitypub: add restrict_limit
7 years ago
William Pitcock
1a94704230
activitypub: implement following/followers endpoints
7 years ago
lain
c50c7745bc
Fetch relayed messages from source while we don't have linked data sigs.
7 years ago
lambda
9b97b023c5
Merge branch 'feld-Logger' into 'develop'
...
Logging cleanup
See merge request pleroma/pleroma!76
7 years ago
Mark Felder
16d102c153
Clarify that this error is about a problem decoding the expected JSON
...
payload
7 years ago
Mark Felder
9a858621d6
AP and WebFinger need love here
7 years ago
Mark Felder
04395cb9bd
Grammar consistency
...
Most log messages are sentence fragments so make them consistent by
removing periods. Log messages that are expressing urgency with ! or
pending more work with "..." are OK.
7 years ago
lain
ec83175100
Use connection pools.
7 years ago
lain
4d5161b16d
Only fetch if it's http.
7 years ago
William Pitcock
59a76ea464
activitypub transmogrifier: rewrite non-http URLs using the object's external URL
...
Signed-off-by: lain <lain@soykaf.club>
7 years ago
lain
30d65639c1
Fix Mastodon emojis.
...
Code by Kaniini
7 years ago
lain
ff7bc16a7e
Restrict activity fixing more.
...
If we need it for older ones, we can add a task for that later.
7 years ago
lain
8228ae96d8
Only run the fix-up tasks once.
7 years ago
lain
d2ad99298e
Handle incoming deletes.
7 years ago
lain
1377b2e569
Restrict public by recipients.
...
This is much faster than going through the json. This does break
unlisted, for which we'll probably have to add another table field.
7 years ago
lain
82df16f7c3
Actual real fix.
7 years ago
lain
0d69bbc1fb
One more fix.
7 years ago
lain
8c712b3198
Fix context stitching.
7 years ago
lain
e9de04b74b
Add support for outgoing update.
7 years ago
lain
f61fd00db5
Make likes and announces public.
7 years ago
lain
4d13cc0dc6
Fix specs.
7 years ago
lain
dfaddeb765
Use update_and_set cache.
7 years ago
lain
e3629af4da
Handle remote update activities.
7 years ago
lain
dd97193311
Set conversation to parent conversation.
7 years ago
lain
b76de1ecd3
Some fixes to AP fetching.
7 years ago
lain
82e34cae95
Unify object representation.
7 years ago
lain
2b5d265954
Don't deliver to local followers.
7 years ago
lain
df73a9c6d6
.
7 years ago
lain
5bc7628022
Fix.
7 years ago
lain
59ad395ffa
Better signature errors messages.
7 years ago
lain
fb5add56fa
Bit more signature debugging.
7 years ago
lain
e5fcc51a06
Remove unneccesary subscriptions on update.
7 years ago
lain
9a4d400ff4
Fix remote following.
7 years ago
lain
06b512acf1
Never update local users from foreign sources.
7 years ago
lain
541a4cbbb6
Oh no! More fixes!
7 years ago
lain
01d5ef65fa
More fixes to user upgrading.
7 years ago
lain
efd4d04933
Fix user upgrading code.
7 years ago
lain
aa79d64e0d
Correctly stitch mastodon -> ostatus replies.
7 years ago
lain
2583a9f6e8
More logging.
7 years ago
lain
5dc68d303b
Get objects that people you know favorite.
7 years ago
lain
c443aec83d
Add banner image to user json.
7 years ago
lain
37e406ae36
Get avatar and banner from AP users.
7 years ago
lain
4816b09fa7
Add user upgrade function.
7 years ago
lain
a06b9a3e0b
Logging.
7 years ago
lain
810cf8618f
ActivityPub: Fetch missing activities on reply.
7 years ago
lain
279e1ce556
Typo.
7 years ago
lain
b52672294e
Move incoming AP to Federator.
7 years ago
lain
9c89916969
ActivityPub: One queue item per server.
7 years ago
lain
297a2c7d3f
Ignore duplicate create activities.
7 years ago
lain
6b6ab592ab
AP: Fix incoming conversations.
7 years ago
lain
6b32b9e346
Notifications: Use all recipients, not just "to".
7 years ago
lain
932d346d35
fix typo.
7 years ago
lain
8b11546334
For existing users, just replace info.
7 years ago
lain
decbf3a47f
fix typo.
7 years ago
lain
342d0b01d1
Only push to followers if they are addressed.
7 years ago
lain
dc1d3ceb72
Fix log.
7 years ago
lain
e368b68dcf
Log but ignore signature errors.
7 years ago
lain
76e71f47d3
Inbox: Don't add the same thing twice.
7 years ago
lain
010f818a29
Fix conversations.
7 years ago
lain
deaad6d97a
Fix delivery to CC.
7 years ago
lain
803bdc1a67
Federate non-public over ActivityPub only, do some better signing.
7 years ago
lain
4bc57ef20c
Don't relay non-public messages.
7 years ago
lain
5d89997a70
Respect visibility in API.
7 years ago
lain
5729233c36
Don't show unlisted in public.
7 years ago
lain
c974f6544f
Show users their own posts in timeline.
7 years ago
lain
44586f2967
ActivityPub: Fallback for unhandled outgoing activities.
7 years ago
lain
20e6190ead
Transmogrify outgoing nsfw.
7 years ago
lain
8ca66b5961
ActivityPub: Add conversation id.
7 years ago
lain
6ab0aba50a
Transmogrify outgoing hashtags.
7 years ago
lain
6046f10431
Actually fix incoming attachments.
7 years ago
lain
6352dffd13
Drop unhandle activities.
7 years ago
lain
b99eeb2bdf
Try to fetch AP user data first.
7 years ago
lain
68752b2047
Switch protocols to AP when post come in through AP.
7 years ago
lain
77c6c424a6
ActivityPub: Make fake Create activities for objects without one.
7 years ago
lain
81ea359a7c
ActivityPub: Handle incoming announces.
7 years ago
lain
5e36b750c1
ActivityPub: Fetch an object from an id.
7 years ago
lain
0f2ad25a7b
AcitvityPub: Outgoing Announces.
7 years ago
lain
32b995fbb6
ActivityPub: Implement outgoing likes.
7 years ago
lain
e1b12a7782
ActivityPub: Handle incoming likes.
7 years ago
lain
ab27c90c9f
ActivityPub: Handle attachments.
7 years ago
lain
c2d0cb1a29
ActivtyPub Delivery: Use shared inbox if possible.
7 years ago
lain
7b26443a76
ActivityPub: Send out Accept after Follow.
7 years ago
lain
e7b73359e3
ActivityPub: Partly handle incoming follows.
7 years ago
lain
5682e48a25
ActivityPub: tags -> tag.
7 years ago
lain
05ba6ca1b8
Do some transmogrifying for the output.
7 years ago
lain
5a371892a0
Fix specs.
7 years ago
lain
7851b9ba81
ActivityPub: Use recipients fields.
7 years ago
lain
5454ec6a6c
ActivityPubController: Handle inbox data.
7 years ago
lain
ef0300889d
Transmogrifier: Handle basic notice creation.
7 years ago
lain
ae26604378
ActivityPub: Refactor create function.
7 years ago
lain
8cf97ee8e1
ActivityPub: Basic note federation with Mastodon.
7 years ago
Roger Braun
ae1ec858f4
Basic AP user building.
7 years ago
Lain Iwakura
4a13b84887
Add recipients field to activities.
...
Also do some very basic checks for AP message insertion.
7 years ago
Roger Braun
888ec9e579
ActivityPub: Check inbox requests for valid signature.
7 years ago
Lain Iwakura
64330d9455
ActivityPub: Add object routes / controller.
7 years ago
Lain Iwakura
a89a613e4e
ActivityPub: Use only string keys in views.
7 years ago
Lain Iwakura
da005d3332
ActivityPub: Add Objects View.
7 years ago
Roger Braun
5599c5920c
Basic incoming AP support.
7 years ago
Lain Iwakura
e31a5ff4af
Priority queue fixes.
7 years ago
Roger Braun
5ff5d583b6
MastodonAPI: Streaming fixes.
...
Now shows repeats in the home tl.
7 years ago
Thog
59770c3f5c
Fix all compilation warnings
7 years ago
Roger Braun
a743940463
MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun
5719f69ae3
MastodonAPI: Stream fixes.
7 years ago
eal
06c3ee3bac
Accept 1 as true.
7 years ago
eal
c84723b679
MastoAPI: Add media timelines.
7 years ago
Roger Braun
bd5bdc4c24
MastoAPI: Basic streaming.
7 years ago
Roger Braun
f1d27a5fbb
Add actor column to activities.
7 years ago
Roger Braun
d2430d5007
Look through whole db for user timelines.
...
They already have an index that's good enough.
7 years ago
Roger Braun
7252f6b054
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
046bee34d3
Fix bug when no posts are in the db.
7 years ago
Roger Braun
867ac1e4f5
Handle nil cases.
7 years ago