lain
361016349f
Add ActivityViewTest.
7 years ago
lain
e30752bc79
Add basic activity view.
7 years ago
lain
37e5014d3e
Reduce OP fetching queries.
7 years ago
lain
ff7afe46b9
Don't try to fetch OP if none is there.
7 years ago
Francis Dinh
9556c8f6e7
Forgot to fix one of the links in a test
7 years ago
Francis Dinh
5ba2f4b6d8
Update tests to reflect hashtag link changes
7 years ago
William Pitcock
2aea3bc632
activitypub transmogrifier: rewrite incoming hashtags
7 years ago
lain
e3a81fe58f
Fetch the same data from json webfinger as from xml webfinger.
7 years ago
lain
eb7ce61ca5
Fix hashtags.
7 years ago
lain
5da2355e71
For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
lain
32ae918843
Clear caches on test.
7 years ago
William Pitcock
ff7afc0465
tests: webfinger: test quering a JSON response for activitypub actor URI
7 years ago
William Pitcock
8aa639a450
webfinger: support JSON output
7 years ago
lain
ec83175100
Use connection pools.
7 years ago
William Pitcock
0ee6e8af26
mastodon api tests: invalidate user cache prior to importing a test reply
...
This is needed to ensure the user cache does not throw nil when creating the mentions
list.
Signed-off-by: lain <lain@soykaf.club>
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
368e085144
Don't validate on missing public key.
7 years ago
lain
f29902a241
More signature debugging.
7 years ago
lain
611ca385de
Merge branch 'develop' into feature/activitypub
7 years ago
lain
a91adb146e
add test file.
7 years ago
lain
fcf1937a40
Correctly handle unlisted messages coming in through Ostatus.
7 years ago
lain
b82637f32d
Don't use special query for feed.
7 years ago
lain
d2ad99298e
Handle incoming deletes.
7 years ago
lain
e9de04b74b
Add support for outgoing update.
7 years ago
lain
f61fd00db5
Make likes and announces public.
7 years ago
lain
8a47974217
Fix specs.
7 years ago
lain
4ea2a41014
Fix more specs.
7 years ago
lain
d3b0167854
Fix salmon tests.
7 years ago
lain
4d13cc0dc6
Fix 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
fb02300234
Pleroma AP detection mechanism.
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
Ekaterina Vaartis
ec07e087bc
Make user bio optional
7 years ago
lain
94db9ac4db
Merge branch 'develop' into feature/activitypub
7 years ago
lain
810cf8618f
ActivityPub: Fetch missing activities on reply.
7 years ago
lain
5bc810c452
Add moderator function.
7 years ago
lain
95f7e7e2d5
Add some more tests.
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
fc9d361d17
Add mock.
7 years ago
lain
81ea359a7c
ActivityPub: Handle incoming announces.
7 years ago
lain
e3732ea3bc
Add test fixtures.
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
ab27c90c9f
ActivityPub: Handle attachments.
7 years ago
lain
fb7b926be3
Handle black name fields on incoming users.
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
dea29d707c
Add post activity fixture.
7 years ago
lain
5454ec6a6c
ActivityPubController: Handle inbox data.
7 years ago
lain
ef0300889d
Transmogrifier: Handle basic notice creation.
7 years ago
lain
a15f572800
OstatusTest: Remove insert_or_update test (moved to User).
7 years ago
lain
ae26604378
ActivityPub: Refactor create function.
7 years ago
lain
0aa56a853b
UserTest: Move insert_or_update test.
7 years ago
lain
b331cb449a
Merge branch 'develop' into feature/activitypub
7 years ago
lain
1bc34de4df
Add missing support file.
7 years ago
lain
26ccb768d3
Make test output easier to read.
7 years ago
lain
33a5d0a238
Fix some test warnings.
7 years ago
lain
3c80d9b277
Fix spec.
7 years ago
lain
8cf97ee8e1
ActivityPub: Basic note federation with Mastodon.
7 years ago
lain
ce31f3a922
Twitter Representers: Handle Mastodon attachments.
7 years ago
Roger Braun
ae1ec858f4
Basic AP user building.
7 years ago
Roger Braun
c1d26751e6
Mocks: Add mastodon user json example.
7 years ago
Roger Braun
52200998c9
Merge branch 'develop' into feature/activitypub
7 years ago
lambda
61c16193de
Merge branch 'move-backend-images' into 'develop'
...
Move avi.png & banner.png from /priv/static/static to /priv/static/images
See merge request pleroma/pleroma!60
7 years ago
Hakaba Hitoyo
ea6d1b2b17
move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal
29be70c008
Add remote following of local profiles.
7 years ago
eal
ab83e0de6d
TwitterAPI: Add is_local to user view.
7 years ago
Roger Braun
ad0ab3a57b
Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-logo' into develop
7 years ago
Roger Braun
4501094606
Make specs less breaky.
7 years ago
Roger Braun
1bb3ba02f3
Fix specs.
7 years ago
eal
b3e7d7ae6d
Fetch external profile in the background.
7 years ago
eal
80f6ac412a
Merge branch 'default-pictures' into 'develop'
...
Add a default profile picture and banner.
See merge request pleroma/pleroma!48
7 years ago
eal
14b086eec2
Add a default profile picture and banner.
...
This removes the placehold.it dependency.
7 years ago
eal
6e1cb86166
Fix instance test.
7 years ago
Lain Iwakura
2a744cdff8
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Lain Iwakura
f1f79c0dca
Fix timelines in subway tooter.
7 years ago
lambda
29c9812789
Merge branch 'fix/twitterapi-follow-lists' into 'develop'
...
Fix follower/following lists.
Closes #29
See merge request pleroma/pleroma!41
7 years ago
Lain Iwakura
47887ac848
MastoAPI: Fix always-sensitive bugs.
7 years ago
eal
1969773fb4
Fix follower/following lists.
...
Add tests.
7 years ago
Lain Iwakura
4a13b84887
Add recipients field to activities.
...
Also do some very basic checks for AP message insertion.
7 years ago
eal
9223038319
Fix some more tests.
7 years ago
Lain Iwakura
e2e6365035
ActivityPub: Add controller tests.
7 years ago
Lain Iwakura
da005d3332
ActivityPub: Add Objects View.
7 years ago
eal
79b3397c17
Fix tests.
7 years ago
Roger Braun
c3bcafc51b
HTTPSig: Add method to validate conn
7 years ago
Roger Braun
30e9b22f96
Merge branch 'develop' into feature/activitypub
7 years ago
Roger Braun
d5a13c10ac
Merge branch 'feature/user_deletion' into develop
7 years ago
Lain Iwakura
bad499b3fd
Basic user deletion.
7 years ago
eal
a3e68f0233
Allow parentheses in links.
7 years ago
Lain Iwakura
6df6ad0b42
User deletion: Remove relationships.
7 years ago
Lain Iwakura
a78ae2a685
Don't follow deactivated users.
7 years ago
Lain Iwakura
b727ecc5e7
Add function to deactivate users.
7 years ago
Lain Iwakura
0ec5aeb8a7
Don't log in deactivated users.
7 years ago
Lain Iwakura
66c3813ea6
Add basic queue prioritization.
7 years ago
Lain Iwakura
e7c2472abd
Fix tests.
7 years ago
Roger Braun
d08a34e88b
OStatus: Add user bio as summary field
...
Fixes problem with bio federation.
7 years ago
Lain Iwakura
5637d163e6
MastodonAPI: Add proper user count.
7 years ago
Lain Iwakura
c680ae581d
Return xml notice at /notice path.
7 years ago
eal
1625021a9c
Merge branch 'fix/self-follow' into 'develop'
...
Dont include the user in their own follower count.
See merge request pleroma/pleroma!29
7 years ago
eal
3d29fc5462
Make /api/friends/ids test deterministic.
7 years ago
Roger Braun
747a68a075
Treat internal emoji like external.
7 years ago
eal
8d4e7b32c9
Ensure correct state in self-unfollow.
7 years ago
eal
bd921ca5d7
Fix posts being streamed to non-local websocket channels.
7 years ago
eal
edc3e5bc30
Make users in tests follow themselves by default.
...
Also fix the semantics of all tests to match.
7 years ago
eal
4db5954786
Don't let the user unfollow their own account.
7 years ago
Roger Braun
40ca379357
Fix flakey test.
7 years ago
lambda
ed3403ad8b
Merge branch 'formatting-fixes' into 'develop'
...
Formatting fixes
Closes #80
See merge request pleroma/pleroma!22
7 years ago
eal
f53cdabcdf
Add #nsfw tag if sensitive content bit is set
7 years ago
eal
fb118b2978
Don't insert newlines to generated HTML.
...
MastoFE doesn't like them.
7 years ago
eal
66e78c3ec4
Escape HTML instead of discarding it.
7 years ago
Roger Braun
a743940463
MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun
ced0d64d75
MastoAPI: Make attachment ids strings.
7 years ago
lambda
1cca544e20
Merge branch 'twitterapi-bitlbee' into 'develop'
...
TwitterAPI: Add missing endpoints for bitlbee.
Closes #67
See merge request pleroma/pleroma!18
7 years ago
eal
f9828e578c
TwitterAPI: Add /users/show.
7 years ago
eal
3533bf7eac
TwitterAPI: Add /friends/ids.
7 years ago
eal
06c3ee3bac
Accept 1 as true.
7 years ago
eal
c84723b679
MastoAPI: Add media timelines.
7 years ago
Roger Braun
083cd169d2
MastoAPI: Fix repeat api bug.
...
Documentation was wrong, reblogging actually returns the reblog, not
the reblogged status.
7 years ago
lambda
08bc316742
Merge branch 'mastodon-notification-endpoints' into 'develop'
...
MastoAPI: Add notification endpoints get, clear and dismiss.
Closes #42
See merge request pleroma/pleroma!13
7 years ago
lambda
efcf54dc02
Merge branch 'mastoapi-update-credentials' into 'develop'
...
MastoAPI: Add update credentials endpoint.
Closes #61
See merge request pleroma/pleroma!15
7 years ago
eal
fc7483cb3c
MastoAPI: Add update credentials endpoint.
7 years ago
Roger Braun
a1923d20e8
MastoAPI: Fix reblog emojis.
7 years ago
Roger Braun
1d3d66a841
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
6e9c22c0af
MastoAPI: Use string ids everywhere.
7 years ago
eal
e6a78c6ed0
MastoAPI: Add notification get, clear and dismiss.
7 years ago
Roger Braun
1b8ad9f731
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun
266d9c008d
MastoAPI: Fetch statuses in search.
7 years ago
lambda
2247d7580e
Merge branch 'fix-tootdon-image-uploads' into 'develop'
...
Correct mimetype on bad uploads.
See merge request pleroma/pleroma!12
7 years ago
eal
e942e1e552
Correct mimetype on bad uploads.
7 years ago
Roger Braun
f1d27a5fbb
Add actor column to activities.
7 years ago
Roger Braun
41b8a76e96
Re-fetch user data on salmon decode error.
7 years ago
eal
f7fc048aeb
TwitterAPI user view: add follows_you.
7 years ago
eal
4656cb9b99
TwitterAPI user view: add blocks.
7 years ago
eal
6c0758e041
TwitterAPI: Add blocks.
7 years ago
lambda
d761b1543a
Merge branch 'authenticated-profile-fetching' into 'develop'
...
Allow profile fetching for authenticated users only.
Closes #54
See merge request pleroma/pleroma!7
7 years ago
Roger Braun
7da978f3f5
Linkify fixes.
7 years ago
eal
f85566324e
Allow profile fetching for authenticated users only.
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
c6b9b777da
MastoAPI: Add list of blocked users.
7 years ago
Roger Braun
5bf92e50be
MastoAPI: Add blocking.
7 years ago
Roger Braun
33beb51da4
MastoAPI: Add blocking to AccountView.
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
632da6c927
Don't create notifications if the user is blocked.
7 years ago
Roger Braun
6a5f087174
Add blocks to User.
7 years ago
Roger Braun
345ad870f7
Clean up user_test.exs.
7 years ago
Roger Braun
9be286a900
Handle empty terms / tags.
7 years ago
Roger Braun
6f05367325
Federate out content warnings.
7 years ago
Roger Braun
e014cc6ed8
Allow using cws in mastodon api.
7 years ago
Roger Braun
0c871e5c6e
Fix specs.
7 years ago
Roger Braun
44295dd49a
MastoAPI: Include CW.
7 years ago
Roger Braun
04217f52c9
TwitterAPI: Display cws.
7 years ago
Roger Braun
4cbf17dac6
Save cws in the activitypub data.
7 years ago
Roger Braun
4dcbb64f19
Avoid potentially slow count queries for user note count.
...
For a variety of reasons, posgresql won't use the available actor,
type index to do an index only scan. We now just increase the user
note count, which will lead to slightly wrong counts in some cases,
but it's better than the potentially very slow count query.
7 years ago
Roger Braun
968a546d4a
MastoAPI: Return id as string instead of integer.
7 years ago
Roger Braun
2f39bb6b43
Typo.
7 years ago
Roger Braun
ce7f9f527c
MastoAPI: Always return an url for statuses.
...
External url if available, id if not.
7 years ago
Roger Braun
502cb38cd6
Move user search to User module.
7 years ago
eal
71f66bd458
Fix follow test semantics.
7 years ago
eal
c56d28f96c
Fix return type of /api/v1/follows
7 years ago
eal
8e94936553
Add tests.
7 years ago
Roger Braun
64bc38e009
MastoAPI: Add emoji output.
7 years ago
Roger Braun
b4f055b604
Don't reject already accepted subscriptions.
7 years ago
Roger Braun
6268b7e0eb
HTTP Signatures: Work with all test vectors.
7 years ago
Roger Braun
9cefbaf016
Start of HTTP Signatures.
7 years ago
Roger Braun
6000f61727
MastoAPI: Add repeats to statusview.
7 years ago
Roger Braun
422d0f324f
MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun
6d5bd4dcc0
TwitterAPI: Use correct endpoint for tag timeline.
7 years ago
Roger Braun
255a681782
TwitterAPI: Add tag timeline.
7 years ago
Roger Braun
003cb17b16
Add missing fixtures.
7 years ago
Roger Braun
7c82b82197
Make emoji configurable in files.
7 years ago
Roger Braun
959e993c7d
Apply incoming custom emoji.
7 years ago
Roger Braun
16b1fcd271
Handle incoming emoji.
7 years ago
Roger Braun
884006a9e9
Federate emoji out.
7 years ago
Roger Braun
79aeb219d8
Small emoji refactor.
7 years ago
Roger Braun
5d1f8dcd1c
TwitterAPI: Add search.
7 years ago
Roger Braun
0872f5f394
Add undocumented default user default settings.
7 years ago
Roger Braun
c36229c4aa
Add remote user fetching to search.
7 years ago
Roger Braun
9f0a2a714b
Add basic search.
7 years ago
Roger Braun
d659fcc195
MastoAPI: Fix date in account view.
7 years ago
Roger Braun
50409326a8
Refactor posting and make character limit configurable.
7 years ago
Roger Braun
3ca853fb61
MastoAPI: Follower-related changes
7 years ago
Roger Braun
fc85c9f086
Add tag timelines.
7 years ago
Roger Braun
a8701282d4
MastoAPI: fake out 'application' property.
7 years ago
Roger Braun
6258c6b6b3
MastoAPI: Also return text_url in attachments.
7 years ago
Roger Braun
7f3ce5c1a0
Cleanup.
7 years ago
Roger Braun
641c24cdd4
Add media upload endpoint.
7 years ago
Roger Braun
d168ef5a9e
MastoAPI: Add accounts getting.
7 years ago
Roger Braun
94be93aad0
Allign datetime format with mastodon.
7 years ago
Roger Braun
e6286152b9
Fix logic.
7 years ago
Roger Braun
49929321c7
Add relationships to masto api.
7 years ago
Roger Braun
1bc58230ee
Remove milliseconds from mastodon api response.
7 years ago
Roger Braun
b58b35bf56
Use hash of attachment url as id.
...
Pretty hacky, let's see if we can get away with this.
7 years ago
Roger Braun
44a650235b
MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun
61adf676d5
Add basic mastodon notification support.
7 years ago
Roger Braun
7616b202ea
Add user timelines to Masto Api.
7 years ago
Roger Braun
fc10875895
Add attachments to mastoapi statuses.
7 years ago
Roger Braun
e8975d06be
Add header image to masto api.
7 years ago
Roger Braun
d625d8db7d
Add unfav to Mastodon API.
7 years ago
Roger Braun
454dc18570
Add favoriting to Mastodon API.
7 years ago
Roger Braun
66e4c710d4
Add reblogging to MastodonAPI.
7 years ago
Roger Braun
4dc517a0bb
Add deletion to masto api.
7 years ago
Roger Braun
be04f725e9
Add more Mastodon API methods.
7 years ago
Roger Braun
2b7efff71b
Add Mastodon StatusView.
7 years ago
Roger Braun
c6bdc5960c
Test for Mastodon AccountView
...
Handles users and mentions.
7 years ago
Roger Braun
95cedd6000
Make auth tokens usable once and expire them.
7 years ago
Roger Braun
d1c10ad2fb
Fix specs.
7 years ago
Roger Braun
3438a120cc
Don't delete new delete activity...
7 years ago
Roger Braun
fcf3128a56
Add TwAPI representer for deletes.
7 years ago
Roger Braun
2348b272e0
Create deletes activities for incoming deletes.
7 years ago
Roger Braun
5db535c0b1
Add delete to ActivityPub.
7 years ago
Roger Braun
540dfb4617
Add delete activity representer.
7 years ago
Roger Braun
10e40206c6
Output mastodon-style conversation ids.
7 years ago
Roger Braun
1b1f861bad
Handle mastodon conversation ids.
7 years ago
Roger Braun
4b03c43fd7
fix specs.
7 years ago
Roger Braun
5142a8efbb
Add profile update.
7 years ago
Roger Braun
171ef33cbb
More sensible attachment names.
7 years ago
Roger Braun
fecbd099cd
Ignore padding for salmon public keys.
7 years ago
Roger Braun
67bfa19b35
Set twitter-style possibly_sensitive boolena.
7 years ago
Roger Braun
5dc278b1a6
Add activity_type to twitter api output.
7 years ago
Roger Braun
08bd59e446
Extend webfinger capabilities.
7 years ago
Roger Braun
1a001588e8
Don't break on empty mentions.
7 years ago
Roger Braun
552cfdbe11
Fix deletion not deleting relevant actions.
7 years ago
Roger Braun
7d34cec58d
escape attachment urls on creation.
7 years ago
Roger Braun
a32784fe6d
Cowboy and Elixir don't seem to agree on uri encoding...
7 years ago
Roger Braun
9c35456d77
URI encode filenames...
7 years ago
Roger Braun
763756f879
Also fetch atom links.
7 years ago
Roger Braun
25c733f402
Add href to in-reply-to.
...
THis should enable fetching from pleroma posts.
7 years ago
Roger Braun
f226f46a09
Add basic incoming deletions.
7 years ago
Roger Braun
558ab6e74e
Display html links correctly for remote activies.
7 years ago
Roger Braun
00b722430f
Revert "Close br tags."
...
This reverts commit 2eba8e74cc
.
7 years ago