Commit Graph

1166 Commits (5d6d86bf00fa533d505ffe5fc3df6c3eadae5739)

Author SHA1 Message Date
lain e3a81fe58f Fetch the same data from json webfinger as from xml webfinger.
7 years ago
lain eb7ce61ca5 Fix hashtags.
7 years ago
William Pitcock dd21137f38 oauth: implement grant_type=password for single-page apps
7 years ago
lain fbe9aa3506 Strip html from emoji stuff.
7 years ago
lain 5da2355e71 For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
lain b72a25f5b1 Merge branch 'develop' into kaniini/pleroma-feature/activitypub-endpoints
7 years ago
lain f9ab38a443 Fix test.
7 years ago
William Pitcock 4d3af2af71 webfinger: implement json response parsing
7 years ago
William Pitcock 1decd2ecb2 webfinger: attempt to fall back if LRDD template cannot be found
7 years ago
William Pitcock 8aa639a450 webfinger: support JSON output
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'
7 years ago
Mark Felder 16d102c153 Clarify that this error is about a problem decoding the expected JSON
7 years ago
Mark Felder 96cfc67e05 LRDD, you are special and we love you too
7 years ago
Mark Felder 2702df489f cap again
7 years ago
Mark Felder 2549a73d6d start with a capital
7 years ago
Mark Felder 185c030258 AP again
7 years ago
Mark Felder 9a858621d6 AP and WebFinger need love here
7 years ago
Mark Felder 8d561f952f Make XML feel special too
7 years ago
Mark Felder 032ed2b945 This log message was do do 💩
7 years ago
Mark Felder 4190abbf27 Another WebSub CamelCase
7 years ago
Mark Felder 7430ff9173 Capitalize Atom
7 years ago
Mark Felder 7f77433c0e CamelCase WebSub in log messages
7 years ago
Mark Felder 25279dba77 Capitalize start of log message
7 years ago
Mark Felder 0cf6f7a54d capitalize Salmon protocol name
7 years ago
Mark Felder 04395cb9bd Grammar consistency
7 years ago
Mark Felder 402e775a80 ap -> AP for consistency
7 years ago
lain ec83175100 Use connection pools.
7 years ago
lain 4d5161b16d Only fetch if it's http.
7 years ago
William Pitcock 000b3f1837 mastodon api: fix rendering the mentions JSON
7 years ago
William Pitcock 59a76ea464 activitypub transmogrifier: rewrite non-http URLs using the object's external URL
7 years ago
lain 68aa9a2826 Do more jobs by default.
7 years ago
lain 0067c9d2be Only push to still valid websub subscriptions.
7 years ago
lain 2b2fa94e94 Move stuff around.
7 years ago
Wim Vanderbauwhede 36f615135f A small patch to show the instance name and favicon in the browser title
7 years ago
lain 30d65639c1 Fix Mastodon emojis.
7 years ago
lain 312a8783f8 Ignore incoming empty chat messages.
7 years ago
lain 368e085144 Don't validate on missing public key.
7 years ago
lain a9f78fe8e0 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
lain f29902a241 More signature debugging.
7 years ago
eal 18e1202a3b MastoAPI: Add unimplemented status card endpoint.
7 years ago
eal 2e32012d57 Add next and previous headers to user pages and tag timelines.
7 years ago
lain ff7bc16a7e Restrict activity fixing more.
7 years ago
lain 611ca385de Merge branch 'develop' into feature/activitypub
7 years ago
lain 8228ae96d8 Only run the fix-up tasks once.
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 0f2bf3eefb Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
lain 0e20d5529a Add way to disable federation.
7 years ago
lain d2ad99298e Handle incoming deletes.
7 years ago
lain 1377b2e569 Restrict public by recipients.
7 years ago
lain a17ba0ee0d Only return posts in TwAPI user view.
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 e1b0ccce77 Mastodon API context fix.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain 5ea6d96dbe Fix signing bug.
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 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 0e9bd6d148 Hotfix for tag problems.
7 years ago
lain 7e0ce32f4d Fix external url in twitterapi.
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 a7c3ead9e6 Invalidate user after key creation.
7 years ago
lain fb5add56fa Bit more signature debugging.
7 years ago
lain ac67453e8a More logging for signature problems.
7 years ago
lain e5fcc51a06 Remove unneccesary subscriptions on update.
7 years ago
lain fa3aa59248 Add missing alias.
7 years ago
lain fb02300234 Pleroma AP detection mechanism.
7 years ago
lain 9a4d400ff4 Fix remote following.
7 years ago
lain 06b512acf1 Never update local users from foreign sources.
7 years ago
lain 6744710908 Fixes 4: In Da Hood.
7 years ago
lain 42f30d67fa Fixes Christmas Special
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
eal 3ecdab0911 Merge branch 'develop' into 'develop'
7 years ago
lain 1331a39d39 Webfinger: Remove leading @s.
7 years ago
lain aa79d64e0d Correctly stitch mastodon -> ostatus replies.
7 years ago
lain 2583a9f6e8 More logging.
7 years ago
lain 95e6e82138 Correctly display accounts without name.
7 years ago
lain 2757682894 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 1555b7fab5 Add AP fixup task.
7 years ago
lain 8895088029 Fix for following type change.
7 years ago
lain 4816b09fa7 Add user upgrade function.
7 years ago
lain f48bc5c3e1 Make User.following a postgres array.
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 56cfe71858 Add moderator task.
7 years ago
lain 765671a5b0 Add password reset task.
7 years ago
lain a06b9a3e0b Logging.
7 years ago
lain 67afd024a7 Streamer: Make it less chatty.
7 years ago
lain 810cf8618f ActivityPub: Fetch missing activities on reply.
7 years ago
lain 947ba6495d More TwAPI fixes.
7 years ago
lain 92021fd00c Logging, put incoming ap docs into incoming queue.
7 years ago
lain 279e1ce556 Typo.
7 years ago
lain 66aa35903e Add missing alias.
7 years ago
lain b52672294e Move incoming AP to Federator.
7 years ago
lain 391b3e3586 TwitterAPI: Fix some bugz.
7 years ago
lain fd95075e32 TwitterAPI: Fix mentions.
7 years ago
lain eec6a87dbb Allow moderators to delete posts.
7 years ago
lain 5bc810c452 Add moderator function.
7 years ago
lain 486e205810 Remove some noise.
7 years ago
lain 9c89916969 ActivityPub: One queue item per server.
7 years ago
lain 297a2c7d3f Ignore duplicate create activities.
7 years ago
lain ffa2f57c36 Salmons can't carry private information.
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 01faa7c555 TwitterAPI: support follow activities without published date.
7 years ago
lain 1633470e4a TwitterAPI: Only fetch creates, announces, follows.
7 years ago
lain 313f186a66 Ostatus: Use all recipients as mentions.
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 78516a8daa Salmon: Take both versions of public keys.
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 8567feed47 Salmon is ok!
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 2997fe1ba9 CommonAPI: If no visibility is given, return parent visibility.
7 years ago
lain d4b08dd838 MastodonAPI: Post with visibility settings
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 912ca56e59 Mastodon StatusView: Return correct visibility.
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 1f98de2079 ActivityPub: Use shared inbox.
7 years ago
lain ab27c90c9f ActivityPub: Handle attachments.
7 years ago
lain fb7b926be3 Handle black name fields on incoming users.
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 38b61fddfe HttpSignature Plug: Skip if already valid.
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
lain 91928b06ab Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-pagination' into develop
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 52200998c9 Merge branch 'develop' into feature/activitypub
7 years ago
hakabahitoyo a61f21ff4f print <link rel="next"> element in atom.feed
7 years ago
Hakaba Hitoyo 7124f12a94 introduce max_id parameter in feed.atom (debug)
7 years ago
Roger Braun 08f458e6df UtilController: Fix statusnet config api compatibility.
7 years ago
Hakaba Hitoyo 9c61f60558 introduce max_id parameter in feed.atom
7 years ago
lambda af854f7e01 Merge branch 'develop' into 'develop'
7 years ago
lambda f0cde24f71 Merge branch 'fix/config-disable-chat' into 'develop'
7 years ago
Calv Collins 73249fa5ff Changed fallback controller to handle all cases from OAuthController
7 years ago
Calv Collins 314f4775c5 Merge branch 'develop' of https://git.pleroma.social/calv/pleroma into develop
7 years ago
Calv Collins bdb5dd2194 Create action_fallback for username/password incorrect input
7 years ago
Roger Braun 2f291576e4 Fix compile errors on 1.4.5
7 years ago
eal 286f6698ee Detect file type if none given.
7 years ago
lambda 61c16193de Merge branch 'move-backend-images' into 'develop'
7 years ago
Hakaba Hitoyo c8a2931549 add backend endpoint /images
7 years ago
Hakaba Hitoyo ea6d1b2b17 move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal f0745148a3 Add config option for enabling/disabling chat.
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 0f194dc56b Merge branch 'feature/instance-thumbnail-api' into 'develop'
7 years ago
eal ab8b9ababa Split emoji to default and custom.
7 years ago
Hakaba Hitoyo 03c15a54f5 provide instance thumbnail at /api/v1/instance (debug)
7 years ago
Hakaba Hitoyo e47f60c053 provide instance thumbnail at /api/v1/instance (debug)
7 years ago
Hakaba Hitoyo a4335e391f provide instance thumbnail at /api/v1/instance
7 years ago
Roger Braun 5e37adedfb Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun ad0ab3a57b Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-logo' into develop
7 years ago
Hakaba Hitoyo cefb6cfea1 provide logo at feed.atom (debug)
7 years ago
Hakaba Hitoyo b713b28dfd provide logo at feed.atom
7 years ago
lambda 2f23ae5b68 Merge branch 'pr-upstream-http-proxy' into 'develop'
7 years ago
Roger Braun 64e51c2cfa Fix incoming Pleroma CWs. Closes #96.
7 years ago
Jeff Becker 066fe1a697
use nil instead of empty string
7 years ago
Jeff Becker dffde6631d
Merge remote-tracking branch 'upstream/develop' into pr-upstream-http-proxy
7 years ago
Roger Braun 0f722a8c22 Stats: Make less crashy and improve query.
7 years ago
eal beb13bf3a9 Revert "Revert "Add remote follow pages.""
7 years ago
eal 57d413e655 Revert "Revert "Add remote follow path to webfinger.""
7 years ago
eal b259b4e4d1 Revert "Add remote follow pages."
7 years ago
eal fb5aa34092 Revert "Add remote follow path to webfinger."
7 years ago
eal 47e8c8db05 Add remote follow pages.
7 years ago
eal bc689740f0 Add remote follow path to webfinger.
7 years ago
eal b3e7d7ae6d Fetch external profile in the background.
7 years ago
eal 80f6ac412a Merge branch 'default-pictures' into 'develop'
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal d8db39564e Move user count to stats agent.
7 years ago
eal 9717166d10 Add a stats agent for storing data from expensive queries.
7 years ago
eal d56ab43609 Ask for proxy URL if proxy enabled.
7 years ago
Sebastian Huebner 29b7e822fb
added question about activating mediaproxy to config generator
7 years ago
Jeff Becker 1e185b9301
apply proxy settings to media_proxy
7 years ago
Jeff Becker 5ddd15d794
make httppoison use configurable http proxy
7 years ago
eal 5c09d8d3f1 Unlink follow import process from the one processing request.
7 years ago
href 0ccd0e5cc9
Remove a useless URI.encode call in MediaProxy
7 years ago
lambda 35ac549a99 Merge branch 'media-proxy' into 'develop'
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'
7 years ago
Lain Iwakura 47887ac848 MastoAPI: Fix always-sensitive bugs.
7 years ago
Lain Iwakura 846d59a536 Send out salmons before websub.
7 years ago
eal 1969773fb4 Fix follower/following lists.
7 years ago
lambda 6b48489237 Merge branch 'feature/follow-import' into 'develop'
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
Lain Iwakura 4a13b84887 Add recipients field to activities.
7 years ago
eal 39ccfdc084 Add follow import.
7 years ago
href f909aec050
proxy emojis
7 years ago
href 8e82547179
fix content-type and fallback to image/jpeg
7 years ago
Roger Braun 888ec9e579 ActivityPub: Check inbox requests for valid signature.
7 years ago
Roger Braun a9c23e1c32 Add plug to validate signed http requests.
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
lambda 4b06e46a3a Merge branch 'fix/tootdon-mentions' into 'develop'
7 years ago
eal b00e230760 Add a bunch of useless HTML to mentions.
7 years ago
Roger Braun c3bcafc51b HTTPSig: Add method to validate conn
7 years ago
Roger Braun 5599c5920c Basic incoming AP support.
7 years ago
href 9093b2cf49
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
href 077faaed8c
Limit body size to 25MB
7 years ago
Roger Braun 25118aeef7 Add link to AP address in webfinger.
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 ef2322bdb7 Delete notifications on activity deletion.
7 years ago
Lain Iwakura bad499b3fd Basic user deletion.
7 years ago
lambda 35cfbf43a0 Merge branch 'fix/linkify' into 'develop'
7 years ago
lambda 40c30ab895 Merge branch 'fix/mastoapi-attachment-linking' into 'develop'
7 years ago
lambda d7da3ca05d Merge branch 'postgresetup' into 'develop'
7 years ago
eal a3e68f0233 Allow parentheses in links.
7 years ago
eal bf91e5659f Fix HTML escape breaking some links.
7 years ago
eal 5436dbaeaf MastoAPI: don't add attachment 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 e31a5ff4af Priority queue fixes.
7 years ago
Lain Iwakura 66c3813ea6 Add basic queue prioritization.
7 years ago
href 72f7baa654
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
Roger Braun 1c90bfb4f6 Merge remote-tracking branch 'origin/develop' into feature/chat
7 years ago
Roger Braun 5945ec84e9 Don't save user in socket, just save the name.
7 years ago
Roger Braun 69f1024bb0 Add basic channel state.
7 years ago
eal c1fa1e8844 Fix basic auth for passwords with a colon.
7 years ago
Lain Iwakura 5c40986120 Basic backend chat.
7 years ago
Henry Jameson 964e2dd2f0 unfuck
7 years ago
Henry Jameson 6b60f5f64a made psql script compatible with migrations or generate_config reruns
7 years ago
Henry Jameson 071f518028 reverts config gen
7 years ago
Henry Jameson a884e08271 fix
7 years ago
Henry Jameson 4071403117 fixes
7 years ago
Henry Jameson 0673511d39 first version of safe DB setup
7 years ago
Roger Braun d08a34e88b OStatus: Add user bio as summary field
7 years ago
Lain Iwakura 5637d163e6 MastodonAPI: Add proper user count.
7 years ago
href 1cb5cbdc6c
Improve error handling, add configuration
7 years ago
href e28c110eba
mandatory typo fix...
7 years ago
href 5f35fdcf5d
media proxy: good enough wip
7 years ago
lambda 9d1c0ec18d Merge branch 'salmon-native-keys' into 'develop'
7 years ago
href 4524721fba
Salmon: generate private key with native crypto if available.
7 years ago
Lain Iwakura c680ae581d Return xml notice at /notice path.
7 years ago
Lain Iwakura 44dc694882 Add configuration generation tool, update readme.
7 years ago
Roger Braun d16b613929 MastodonUI login: Show error message on error.
7 years ago
lambda 698a75cb39 Merge branch 'develop' into 'develop'
7 years ago
eal 1625021a9c Merge branch 'fix/self-follow' into 'develop'
7 years ago
eal e9037ffc8d Do not include user in their own follower count.
7 years ago
eal fa19de97ba MastoAPI: no more than 4 attachments.
7 years ago