Commit Graph

613 Commits (75e78d4e239a5c999306e92b181b0e29c52dc9db)

Author SHA1 Message Date
Francis Dinh 32a26eb910 Fix TwitterAPI.delete call
7 years ago
Francis Dinh 7b4f55238e Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh 85bd191291 Remove unretweet function for now
7 years ago
Francis Dinh b949577472 Add unrepeat functionality
7 years ago
lain 8f9bcc4ab0 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
lain 70bcdf32bd Only search in public data for now.
7 years ago
eal e7ddda44c0 Follow import: allow URI in addition to screen_name.
7 years ago
lain d70d1c427a TwitterAPI: Don't put follows into the public tls.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
lain 360c51f1f5 Use context_ids directly if we have them.
7 years ago
lain bc31bee7c4 Generates contexts and ids on insertion time.
7 years ago
lain a4db3a732f Pre-fetch conversation ids.
7 years ago
lain 802736679c Remove unused ActivityRepresenter module.
7 years ago
lain 7ab94ae22d TwitterApiController: Use ActivityView.
7 years ago
lain e90f8f6c4b TwApi ActivityView: Add delete activities.
7 years ago
lain 1f32ba052c TwApi ActivityView: Add follows.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain c1d529ee94 TwApi ActivityView: Add announces.
7 years ago
lain 1f1caab138 TwApi ActivityView: Add Like rendering.
7 years ago
lain df8fc72491 Don't go through all available emoji.
7 years ago
lain e30752bc79 Add basic activity view.
7 years ago
lain d2099c849d More Jason changes.
7 years ago
lain 847cb15626 Fix tests.
7 years ago
lain c7be7a9454 Unify user fetching.
7 years ago
lain a17ba0ee0d Only return posts in TwAPI user view.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain 4ea2a41014 Fix more specs.
7 years ago
lain dfaddeb765 Use update_and_set cache.
7 years ago
lain 7e0ce32f4d Fix external url in twitterapi.
7 years ago
lain 94db9ac4db Merge branch 'develop' into feature/activitypub
7 years ago
lain 947ba6495d More TwAPI fixes.
7 years ago
lain 391b3e3586 TwitterAPI: Fix some bugz.
7 years ago
lain fd95075e32 TwitterAPI: Fix mentions.
7 years ago
lain 5bc810c452 Add moderator function.
7 years ago
lain 01faa7c555 TwitterAPI: support follow activities without published date.
7 years ago
lain 1633470e4a TwitterAPI: Only fetch creates, announces, follows.
7 years ago
lain 010f818a29 Fix conversations.
7 years ago
lain 5d89997a70 Respect visibility in API.
7 years ago
lain c974f6544f Show users their own posts in timeline.
7 years ago
lain 539340d914 Handle sensitive property.
7 years ago
lain ce31f3a922 Twitter Representers: Handle Mastodon attachments.
7 years ago
Roger Braun 08f458e6df UtilController: Fix statusnet config api compatibility.
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
eal beb13bf3a9 Revert "Revert "Add remote follow pages.""
7 years ago
eal b259b4e4d1 Revert "Add remote follow pages."
7 years ago
eal 47e8c8db05 Add remote follow pages.
7 years ago
eal b3e7d7ae6d Fetch external profile in the background.
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 5c09d8d3f1 Unlink follow import process from the one processing request.
7 years ago
lambda 35ac549a99 Merge branch 'media-proxy' into 'develop'
7 years ago
lambda 29c9812789 Merge branch 'fix/twitterapi-follow-lists' into 'develop'
7 years ago
eal 1969773fb4 Fix follower/following lists.
7 years ago
eal fdfb508259 Run follow import in the background.
7 years ago
eal d89193a8d7 Allow uploading a file for follow import.
7 years ago
eal 39ccfdc084 Add follow import.
7 years ago
href 72f7baa654
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
Lain Iwakura 5c40986120 Basic backend chat.
7 years ago
href 5f35fdcf5d
media proxy: good enough wip
7 years ago
Thog 59770c3f5c
Fix all compilation warnings
7 years ago
eal 31e4277ba5 Don't add summary if empty.
7 years ago
lambda 1cca544e20 Merge branch 'twitterapi-bitlbee' into 'develop'
7 years ago
eal f9828e578c TwitterAPI: Add /users/show.
7 years ago
eal 22bbe27115 TwitterAPI: Add unimplemented /friendships/no_retweets/ids.
7 years ago
eal 3533bf7eac TwitterAPI: Add /friends/ids.
7 years ago
lambda 77e272df2d Merge branch 'following-you-in-user-view' into 'develop'
7 years ago
eal f7fc048aeb TwitterAPI user view: add follows_you.
7 years ago
Roger Braun d2430d5007 Look through whole db for user timelines.
7 years ago
eal 4656cb9b99 TwitterAPI user view: add blocks.
7 years ago
eal 6c0758e041 TwitterAPI: Add blocks.
7 years ago
eal c6210183e1 Add mastodon API endpoint for custom emoji.
7 years ago
Roger Braun d89a7a0b34 TwitterAPI: Add blocking to fetches.
7 years ago
Roger Braun 04217f52c9 TwitterAPI: Display cws.
7 years ago
eal fe7804e42d Add an API endpoint for emoji.
7 years ago
Roger Braun 6af164f27b Add password reset.
7 years ago
Roger Braun d009a79df5 TwitterAPI: Return proper error.
7 years ago
Roger Braun 6877d7aaad Fix typo.
7 years ago
Roger Braun b7b3e3f263 Use inserted_at as sort in search.
7 years ago
Roger Braun 959e993c7d Apply incoming custom emoji.
7 years ago
Roger Braun 884006a9e9 Federate emoji out.
7 years ago
Roger Braun c17c8ce36d Don't check limit twice in TwitterAPIController.
7 years ago
Roger Braun 03952a2760 Sort by updated_at
7 years ago
Roger Braun f039c9c19a Don't specify order in results for now.
7 years ago
Roger Braun 5d1f8dcd1c TwitterAPI: Add search.
7 years ago
Roger Braun c20530e708 Add configuration option for registrations.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
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 2652d9e4ed Slight cleanup.
7 years ago
Roger Braun 632e1f7943 Add delete to TwAPI representer correctly.
7 years ago
Roger Braun 1f9a5272e1 Add delete to TwAPI.
7 years ago
Roger Braun fcf3128a56 Add TwAPI representer for deletes.
7 years ago
Roger Braun 6c3a0ffae4 Add banner and background updating.
7 years ago
Roger Braun 5142a8efbb Add profile update.
7 years ago
Roger Braun 171ef33cbb More sensible attachment names.
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 d95b78c72f Remove email from mastoinfo.
7 years ago
Roger Braun d1f86ad69f Basic masto-style info.
7 years ago
Roger Braun 8a97bebc53 More meta info fixes.
7 years ago
Roger Braun 7ccdebe180 Small meta info fixes.
7 years ago
Roger Braun 1a001588e8 Don't break on empty mentions.
7 years ago
Roger Braun 7d34cec58d escape attachment urls on creation.
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 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 140f72725d Use follower address in user entry.
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 9bdea19d83 For non-create activities, grab the create activity to fav/rt
7 years ago
Roger Braun cd522d2139 Also fetch posts by id in fav/rts.
7 years ago
Roger Braun 1c074efeaf Add external links to twapi.
7 years ago
dtluna 08e53df91e Move util functions to UtilController
7 years ago
Roger Braun 1e6491ec96 Merge branch 'develop' into refactor/user-view
7 years ago
Roger Braun af49c11193 Work around upserting problems in context mapping.
7 years ago
dtluna 069daf644d Replace UserRepresenter with UserView
7 years ago
Roger Braun 45c751985e Move finmojis to representation.
7 years ago
Roger Braun 66b4fee80e Add finmoji.
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 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 00c032783d Fix NaN statuses per day.
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 4854a604ef Extract note handler.
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 0da6ade619 Save tags in object.
7 years ago
Roger Braun 9033bfffd2 Twitter API refactoring.
7 years ago
Roger Braun 70024632ba AP refactoring.
7 years ago
Roger Braun 423194520e Fix mention replacing.
7 years ago
Roger Braun 04544da8f1 Fetch user on externalprofile if we don't know him
7 years ago
Roger Braun 36448d6483 Add externalprofile to TwAPI.
7 years ago
Roger Braun 71362acb93 Quick fix for database filling.
7 years ago
Roger Braun 1418d72749 Add class=attachment to attachment links.
7 years ago
Roger Braun b9da7d3219 typo.
7 years ago
Roger Braun 7303786160 Add some twapi fixes.
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 7269c51f3a Some refactoring.
7 years ago
Roger Braun c48c381e90 Merge branch 'develop' into dtluna/pleroma-refactor/1
7 years ago
Roger Braun 33c803d6da Add attachment link to posts.
7 years ago
Roger Braun 16f8406eb6 Add statusnet_profile_url to the TwAPI.
7 years ago
Roger Braun 32a95d73da Add twkn timeline.
7 years ago
Roger Braun 3cb518270a Remove superfluous transaction.
7 years ago
Roger Braun f169de3454 Cache objects in dev and prod.
7 years ago
Roger Braun 09f7ed4214 Don't set statusnetConversationIds on replies anymore.
8 years ago
Roger Braun 379caca01d Wrap context creation in transaction.
8 years ago
Roger Braun 4c8111c334 Use conversation mapping objects to get / retrieve context from TwAPI.
8 years ago
Roger Braun ffc604a2c2 Use cache for user info data.
8 years ago
dtluna a9b2ad1759 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-activity
8 years ago
dtluna 6cf7c13228 Refactor code to comply with credo suggestions
8 years ago
Roger Braun e8882ab3da Merge branch 'develop' into feature/incoming_ostatus
8 years ago
dtluna c3655d1c47 Remove unnecessary status_update definition
8 years ago
Roger Braun b438ea24ee Add ostatus conversation as context.
8 years ago
Roger Braun 6c5f5e18ec Even more refactoring.
8 years ago
Roger Braun 4771962a5d More refactoring.
8 years ago
Roger Braun ef4190b3ab Clean up status create method.
8 years ago
Roger Braun ab0114fbaa Return salmon path for users, basic incoming salmon handling.
8 years ago
dtluna 42105497ca Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats
8 years ago
dtluna 5b6070ec40 Deny whitespace statuses
8 years ago
dtluna f723b23691 Add error response to self-repeats
8 years ago
dtluna 6b6bc9435c Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats
8 years ago
dtluna 1e3791877c Add error response on empty status
8 years ago
lambadalambda a3b9741a62 Merge branch 'feature/follow-unfollow-by-screen-name' into 'develop'
8 years ago
Roger Braun a2b79ce7d1 Add outgoin federation to twitter api.
8 years ago
dtluna 28b203d08f Add Undo of Follow Activity insertion
8 years ago
Roger Braun 1c00eb4a90 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into ostatus
8 years ago
dtluna a9b3f99d48 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
Roger Braun 9afc672009 Quick fix for activities without 'to'.
8 years ago
Roger Braun 1e88f102c4 Fix specs, add some user info.
8 years ago
dtluna 3a56d7318f Add statuses/mentions endpoint
8 years ago
dtluna b248fc7dfb Refactor unfollow/2
8 years ago
dtluna 01901d9835 Merge branch 'feature/unfollow-by-screen-name' of ssh.gitgud.io:dtluna/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
dtluna d952b6cd7b Merge branch 'feature/follow-by-screen-name' of ssh.gitgud.io:dtluna/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
lambadalambda eda742c78b Merge branch 'feature/user-timeline' into 'develop'
8 years ago
Roger Braun 36e883cd4b Add basic Ostatus user representer.
8 years ago
lambadalambda ac9817bdb0 Merge branch 'bugfix/repeated-follow-unfollow' into 'develop'
8 years ago
dtluna ef5033d7a7 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into bugfix/repeated-follow-unfollow
8 years ago
dtluna f6547f7b7f Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-by-screen-name
8 years ago
dtluna 82914e1e4d Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-by-screen-name
8 years ago
dtluna 85bd480be3 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
dtluna 5229b01944 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
Roger Braun eb9358c8d6 Add basic Avatar updating code.
8 years ago
dtluna 63f04b314d Fix typo
8 years ago
dtluna 4b4ece2c74 Add user timeline fetching without credentials
8 years ago
Roger Braun 03a9c11d25 Display the users avatar if he has one set.
8 years ago
dtluna 7a0046d127 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
dtluna 9a8c348aed Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-by-screen-name
8 years ago
dtluna ce1eef9c98 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
Roger Braun b41f3eff84 Preserve newlines in messages.
8 years ago
Roger Braun 5dac3727f1 Add registration to the TwAPI controller.
8 years ago
Roger Braun b1edd94baa Add user registration to TwAPI.
8 years ago
Roger Braun 4799dc6991 Add retweeting to TwAPI controller.
8 years ago
Roger Braun 60c60de330 Add announcements / retweets to TwAPI.
8 years ago
Roger Braun 7a47afed3c Update object correctly after setting context.
8 years ago
Roger Braun c83f279a7d Add unliking to TwAPI controller.
8 years ago
Roger Braun f4eea0847b Add unfavoriting to TwAPI.
8 years ago
Roger Braun 03ddaead7e Add basic user caching.
8 years ago
Roger Braun 90b38fd51b Fix uploads and favorites in twidere / twittnuker.
8 years ago
dtluna 18cd04ade5 Add user timeline
8 years ago
Roger Braun fa0c279139 Favorite changes.
8 years ago
Roger Braun 5cb446a148 Add favoriting to TwAPI controller.
8 years ago
Roger Braun d0da40dc81 Display like activities.
8 years ago
Roger Braun 653d605e14 Add favoriting to twitter api.
8 years ago
dtluna 443381d0a0 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
Roger Braun 1ccbe562c9 Add actor to objects.
8 years ago
dtluna a8e50d602b Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into bugfix/repeated-follow-unfollow
8 years ago
dtluna 594dd01ab2 Refactor follow API
8 years ago
dtluna 3ff917b5dd Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-by-screen-name
8 years ago
dtluna 84c2012810 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
Roger Braun d2bf099ae6 Fix twitter api date.
8 years ago
Roger Braun 129e30f465 Add basic config endpoint.
8 years ago
Roger Braun 1b086834bd Don't return html in the text field.
8 years ago
Roger Braun 8eea09889b Return directly addressed activities in friends timeline.
8 years ago
Roger Braun 15655d992e Fix user representation after following.
8 years ago
dtluna 65ef18a715 Add error messages for repeated follows and unfollows
8 years ago
dtluna a7e74ee012 Add user timeline
8 years ago
dtluna c0e5b3459f Add unfollowing using screen_name parameter
8 years ago
dtluna 896e40cd2b Add following using screen_name parameter
8 years ago
dtluna 9383c0aada Add help/test resource
8 years ago
dtluna 0016589aea Remove ambiguity in call to make_date/0
8 years ago
dtluna 57795f7332 Refactor lib/pleroma/web/twitter_api/twitter_api.ex
8 years ago
dtluna 8f43992121 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
8 years ago
Roger Braun f45dc475c7 Fix replies.
8 years ago
dtluna b502d7981c Add Follow Activity representer
8 years ago
dtluna 8075badafe Add Follow activity insertion
8 years ago
Roger Braun a83fa053de Parse mentions, save them, output them in TwAPI.
8 years ago
Roger Braun 2e89d505d3 Connect attachments with objects, not activities.
8 years ago
Roger Braun 73df2f8e5e Add attachments to the TwAPI.
8 years ago
Roger Braun 42c90855ba Basic ObjectRepresenter.
8 years ago
Roger Braun 4a6d48b0fe Return mimetype with attachment.
8 years ago
Roger Braun e7dc39e40c Basic file uploading via TwAPI.
8 years ago
Roger Braun d2cdcc097b Add conversation fetching to TwAPI controller.
8 years ago
Roger Braun 0dd3373304 Return statusnet_conversation_id in TwAPI.
8 years ago
Roger Braun e25aea3fa7 Add conversation id to activities.
8 years ago
Roger Braun e4de0ddc77 Add single status fetching to TwAPI.
8 years ago
Roger Braun ae50b165cc Add inReplyToStatus to TwAPI.
8 years ago
Roger Braun e56dba1563 Add context and inReplyTo.
8 years ago
Roger Braun 9ad045fd58 Return user specific json for logged in users.
8 years ago
Roger Braun 30650e5bc6 Add unfollowing to TwAPI.
8 years ago
Roger Braun 75e51b190d Add following TwAPI endpoint.
8 years ago
Roger Braun e2e0cd75b7 Add friends timeline.
8 years ago
Roger Braun 37e443ce6c Add friends status fetching.
8 years ago
Roger Braun 2db28df4cf Add public timeline TwAPI.
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 093fd1832d Add Twitter API verify_credentials endpoint.
8 years ago
Roger Braun 980717fdce Add Twitter API user representer.
8 years ago