Commit Graph

519 Commits (480932c8e524e1a80c9c8ef1a1aa23379f633afe)

Author SHA1 Message Date
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'
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.
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.
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.
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
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.
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."
7 years ago
Roger Braun 19e8421947 Revert "Wrap in <p>."
7 years ago
Roger Braun 3063e3b440 Revert "Remove newlines completely so mastodon doesn't bug out."
7 years ago
Roger Braun 0ca3ab7b59 Remove newlines completely so mastodon doesn't bug out.
7 years ago
Roger Braun c81d0b6f89 Wrap in <p>.
7 years ago
Roger Braun 2eba8e74cc Close br tags.
7 years ago
Roger Braun fc269fd319 Add html alternate link to atom.
7 years ago
Roger Braun 72ca58c540 Save follower count and note count in user.
7 years ago
Roger Braun a027b0027c Add friends endpoint.
7 years ago
Roger Braun 94a394e3a8 Add followers endpoint.
7 years ago
Roger Braun 44aef2183e Add follower / friend fetching to user.
7 years ago
Roger Braun 140f72725d Use follower address in user entry.
7 years ago
Roger Braun 396c32a6da Add follower_address to users, add on generation.
7 years ago
Roger Braun 7e9647b146 Fix undo activity.
7 years ago
Roger Braun e343c0c9c4 Add way to update most recent notification id.
7 years ago
Roger Braun 9cda5b897a Fix test.
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 6a44427915 Add tests for public recipients.
7 years ago
Roger Braun fc7016a88c Don't add public recipient to notes that don't contain it.
7 years ago
Roger Braun 1c074efeaf Add external links to twapi.
7 years ago
Roger Braun 429992fcc9 Save external link for notes.
7 years ago
Roger Braun 6935fc3e01 Update user data on fetch if it changed.
7 years ago
Roger Braun 6a184115a2 Longer timeouts for outgoing federation.
7 years ago
dtluna 069daf644d Replace UserRepresenter with UserView
7 years ago
Roger Braun 66b4fee80e Add finmoji.
7 years ago
Roger Braun 6cac8e3c8b Downcase tags coming in through the TwAPI.
7 years ago
Roger Braun 5ff4a5eee3 Save incoming tags as lowercase.
7 years ago
Roger Braun fa82822932 Revert "Add invisible tags to TwAPI output."
7 years ago
Roger Braun d00571ff75 Fetch user feed on externalprofile request.
7 years ago
Roger Braun fafb765c48 Output tags list in TwAPI.
7 years ago
Roger Braun 8feec8d390 Strip unsafe html on output in TwAPI.
7 years ago
Roger Braun a9bfbcae80 Slightly better html link regex.
7 years ago
Roger Braun 7b41e103e1 Remove html from user bios on display.
7 years ago
Roger Braun 83c657afa5 Do some basic escaping.
7 years ago
Roger Braun 1af9c77736 Move mention parsing to Formatter module.
7 years ago
Roger Braun eb18b9ebba Enable user timelines.
7 years ago
Roger Braun 6342fcd5dc Save correct date for incoming notes.
7 years ago
Roger Braun 00c032783d Fix NaN statuses per day.
7 years ago
Roger Braun cdcb201bf5 Represent object publishing date in notes.
7 years ago
Roger Braun c7fdd1b7ff Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
7 years ago
Roger Braun c6aa60c829 Shorten names in links.
7 years ago
Roger Braun bdcf42180f Save remote user bio and update if we see new data.
7 years ago
Roger Braun 94e980d6b4 Output proper published data in ostatus.
7 years ago
Roger Braun 869e5ccfe1 Fix factory.
7 years ago
Roger Braun 87c2c42bad Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
7 years ago
Roger Braun 47684c2a2c Make email and nickname case insensitive.
7 years ago
Roger Braun 1085675ec4 Output ref instead of href for conversation.
7 years ago
Roger Braun 03b7b2fa24 Also show activities in OStatus.
7 years ago
Roger Braun f972966385 Fix specs.
7 years ago
Roger Braun 8e02fa100f Add categories to ostatus output.
7 years ago
Roger Braun 48f9df2391 Keep newlines around.
7 years ago
Roger Braun a92a9dce94 Add invisible tags to TwAPI output.
7 years ago
Roger Braun beb7b0ef07 Handle incoming tags.
7 years ago
Roger Braun 0da6ade619 Save tags in object.
7 years ago
Roger Braun 9033bfffd2 Twitter API refactoring.
7 years ago
Roger Braun dcfd494e97 Add Formatter.
7 years ago
Roger Braun 70024632ba AP refactoring.
7 years ago
Roger Braun 423194520e Fix mention replacing.
7 years ago
Roger Braun dd12cf7296 Fix cws.
7 years ago
Roger Braun 1b67a59795 Repair retweets.
7 years ago
Roger Braun f73cd6f3ce Add problematic mastodon message.
7 years ago
Roger Braun 153995f832 Correct active state websub name.
7 years ago
Roger Braun 05f2cd0d93 Handle incoming follows.
7 years ago
Roger Braun 34a1ce00ec Set valid_until date.
7 years ago
Roger Braun 36448d6483 Add externalprofile to TwAPI.
7 years ago
Roger Braun 2e753e8cd7 Refresh subscriptions.
7 years ago
Roger Braun 118c572006 Use changeset for remote user creation.
7 years ago
Roger Braun 373753e595 Add some basic changesets.
7 years ago
Roger Braun 1418d72749 Add class=attachment to attachment links.
7 years ago
Roger Braun 3320c9b176 Fix remote users retweeting local stuff.
7 years ago
Roger Braun 7303786160 Add some twapi fixes.
7 years ago
Roger Braun db08498a9f Prevent double insertions.
7 years ago
Roger Braun 4f9328c622 Preserve ids on favorites / retweets.
7 years ago
Roger Braun b403ea4d2b Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun a41aa4e489 Federate follow salmons.
7 years ago
Roger Braun 95ab0dc3c5 Add conversation ids to twapi announce representer.
7 years ago
Roger Braun c51e15975a Fix user fetching error.
7 years ago
Roger Braun 7db76a0f0e Address incoming messages to followers.
7 years ago
Roger Braun bda389d7d9 Subscribe to remote users on following.
7 years ago
Roger Braun 2d9fdbcc0d Don't call out if we have the favorited notice locally.
7 years ago
Roger Braun fa2610c795 Handle incoming favorites, fetch potentially missing messages.
7 years ago
Roger Braun d982f04a65 Mock HTTPoison in testing.
7 years ago
Roger Braun c85998ab8a Parse incoming retweets.
7 years ago
Roger Braun 97257c692c Fix specs.
7 years ago
Roger Braun 1077c5c58d Remove reply-to for shares, mastodon gets confused.
7 years ago
Roger Braun 5d7831ee3e Add self links to federated statuses.
7 years ago
Roger Braun b34b046f16 Add user to announced status.
7 years ago
Roger Braun 138641589d OStatus announce representer.
7 years ago
Roger Braun df71c142cf Remove doubled 'to' recipients.
7 years ago
Roger Braun 8141024259 Attachment parsing, better magic key fetching.
7 years ago
Roger Braun 16afea399d Just give out the entry, not the whole feed.
7 years ago
Roger Braun 9c42453e06 Return note objects as ostatus post activities.
7 years ago
Roger Braun 018a1a390f Use inReplyTo to find context.
7 years ago
Roger Braun 33c803d6da Add attachment link to posts.
7 years ago
Roger Braun 102455bf29 Add avatar updating from incoming messages.
7 years ago
Roger Braun 93de603966 Add an ostatus representer for like activities.
7 years ago
Roger Braun a3e82c5c24 Save context in likes / announces.
7 years ago
Roger Braun 16f8406eb6 Add statusnet_profile_url to the TwAPI.
7 years ago