Francis Dinh
b2c6ae7d82
Hook up unfollow and (un)block to MastoAPI + tests
6 years ago
Francis Dinh
cc5373b846
Fix unblock handling
6 years ago
Francis Dinh
89c5de9096
Fix unfollows
6 years ago
Francis Dinh
56de0216ae
pass user to User.blocks?/2 instead of ap_id
6 years ago
Francis Dinh
1afd6d37bd
Merge remote-tracking branch 'upstream/develop' into feature/incoming-remote-unfollow
...
Fixed some conflicts in transmogrifier.ex
6 years ago
Francis Dinh
d46393f6ef
Fix test for blocks
6 years ago
Francis Dinh
1e43de0f86
Formatting and add tests for blocks/unblocks
6 years ago
Thog
6f39ecc41b
Support Undo like activities ( Fix #139 )
6 years ago
William Pitcock
4033ed6714
tests: add test for hubzilla follow activity too
6 years ago
William Pitcock
19c96c8a19
tests: add tests for Transmogrifier.maybe_fix_user_object()
6 years ago
Francis Dinh
8d11bae0d5
Revert "Undo formatting in user.ex"
...
This reverts commit e6dc15b96c
.
6 years ago
Francis Dinh
e6dc15b96c
Undo formatting in user.ex
6 years ago
Francis Dinh
d8c842a771
Add support for incoming remote unfollows
6 years ago
lain
89954a2ce7
Fix format.
6 years ago
lain
c7a85de35c
Revert "Remove 'unlisted' handling for now."
...
This reverts commit 1027d1f696
.
6 years ago
lain
1027d1f696
Remove 'unlisted' handling for now.
...
It's just too slow (over 1 second on small systems, haven't looked at
the queries in detail yet). We'll need some other way to handle it.
6 years ago
lambda
aeff2d6474
Merge branch 'feature/unrepeats' into 'develop'
...
Add unrepeats
Closes #69
See merge request pleroma/pleroma!113
6 years ago
lain
ec531ca281
Add test.
6 years ago
Francis Dinh
16b793656d
Add tests for unrepeats
6 years ago
Francis Dinh
8b4ee0ea51
Fix formatting
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
7 years ago
Francis Dinh
2d775bf1be
Merge branch 'feature/unrepeats' of git.pleroma.social:normandy/pleroma into feature/unrepeats
7 years ago
Francis Dinh
e981280fa7
Formatting fixes
7 years ago
Francis Dinh
9e0dd21ed6
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
Francis Dinh
8c0806539c
Embed announce activity data instead of linking to it
7 years ago
lain
0574df273c
Small cleanup.
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
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
5b0d0b9ab2
Add unreblogging tests
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
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
59a76ea464
activitypub transmogrifier: rewrite non-http URLs using the object's external URL
...
Signed-off-by: lain <lain@soykaf.club>
7 years ago
lain
d2ad99298e
Handle incoming deletes.
7 years ago
lain
e9de04b74b
Add support for outgoing update.
7 years ago
lain
4ea2a41014
Fix more specs.
7 years ago
lain
8e7f63afde
Fix specs.
7 years ago
lain
e3629af4da
Handle remote update activities.
7 years ago
lain
b76de1ecd3
Some fixes to AP fetching.
7 years ago
lain
e5fcc51a06
Remove unneccesary subscriptions on update.
7 years ago
lain
01d5ef65fa
More fixes to user upgrading.
7 years ago
lain
aa79d64e0d
Correctly stitch mastodon -> ostatus replies.
7 years ago
lain
eb3f14da86
Missing test skeleton.
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
810cf8618f
ActivityPub: Fetch missing activities on reply.
7 years ago
lain
297a2c7d3f
Ignore duplicate create activities.
7 years ago
lain
6b6ab592ab
AP: Fix incoming conversations.
7 years ago
lain
539340d914
Handle sensitive property.
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
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
e1b12a7782
ActivityPub: Handle incoming likes.
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
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
b331cb449a
Merge branch 'develop' into feature/activitypub
7 years ago
lain
26ccb768d3
Make test output easier to read.
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
Lain Iwakura
e2e6365035
ActivityPub: Add controller tests.
7 years ago
Lain Iwakura
da005d3332
ActivityPub: Add Objects View.
7 years ago
Roger Braun
f1d27a5fbb
Add actor column to activities.
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
Roger Braun
8ef58a266b
Don't return blocked users' activities in contexts.
7 years ago
Roger Braun
a47727adde
Don't return activities from blocked users.
7 years ago
Roger Braun
3438a120cc
Don't delete new delete activity...
7 years ago
Roger Braun
5db535c0b1
Add delete to ActivityPub.
7 years ago
Roger Braun
201804b836
Only return posts in TwAPI conversations.
7 years ago
Roger Braun
d4de38e8ff
Order conversation fetches like GS does.
7 years ago
Roger Braun
70024632ba
AP refactoring.
7 years ago
Roger Braun
db08498a9f
Prevent double insertions.
7 years ago
Roger Braun
b403ea4d2b
Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun
df71c142cf
Remove doubled 'to' recipients.
8 years ago
Roger Braun
a3e82c5c24
Save context in likes / announces.
8 years ago
dtluna
28b203d08f
Add Undo of Follow Activity insertion
8 years ago
Roger Braun
eb9358c8d6
Add basic Avatar updating code.
8 years ago
Roger Braun
d7e3b72c6a
Add avatar objects to user, fix specs.
8 years ago
Roger Braun
7617a593b9
Support data uris in uploads.
8 years ago
Roger Braun
4f7adb343c
Address liking / announcing to the original author.
8 years ago
Roger Braun
21c397820f
Add announcements to activitypub.
8 years ago
Roger Braun
a926038cd0
Add unliking to activitypub.
8 years ago
Roger Braun
fa0c279139
Favorite changes.
...
- Add 'likes' to activity, collection of ids of people who liked it.
- show if you favorited something or not.
- Don't allow double favorites
- Address favorites to the followers of the liked activity's author.
8 years ago
Roger Braun
1388054796
Add liking to ActivityPub.
8 years ago
Roger Braun
b666f11d2f
Add max_id fetching to activity fetching.
8 years ago
Roger Braun
6aa1523bb3
Put objects in inserted activties into the db.
8 years ago
Roger Braun
e7dc39e40c
Basic file uploading via TwAPI.
8 years ago
Roger Braun
866a2663d4
Add fetching of activities in context.
8 years ago
Roger Braun
74112ef99e
Add id to objects, too.
8 years ago
Roger Braun
1f0f79d959
Generate ids for activities.
8 years ago
Roger Braun
37e443ce6c
Add friends status fetching.
8 years ago
Roger Braun
569d9bac17
Add fetching for recipients.
8 years ago
Roger Braun
2db28df4cf
Add public timeline TwAPI.
8 years ago
Roger Braun
b9d0e34506
Add since_id for activitypub fetching.
8 years ago
Roger Braun
d4cf273f28
Add limiting to activity pub fetching.
8 years ago
Roger Braun
ad303783af
Add status posting via TwAPI.
8 years ago
Roger Braun
9a8850eb9e
Basic status creation and retrieval.
8 years ago
Roger Braun
8de523c8ae
Basic AP objects.
8 years ago