Commit Graph

2035 Commits (a02e0c18bc0814817ece3495888c5cb03921ca2e)

Author SHA1 Message Date
William Pitcock fee43ae5e7 twitterapi: activity view: implement in_reply_to_screen_name using the new graph walking helper
6 years ago
William Pitcock f3f736afc4 activity: add helper to fetch an activity's parent
6 years ago
kaniini 945ce9910d Merge branch 'bugfix/html-scrub-comments' into 'develop'
6 years ago
William Pitcock 8613db0e3b html: ensure comments are correctly scrubbed
6 years ago
scarlett a253c1466e New frontend options
6 years ago
AkiraFukushima a249cbf187 Add a test for List.get_lists_account_belongs
6 years ago
AkiraFukushima e8c698af41 Add an endpoint /api/v1/accounts/:id/lists to get lists to which account belongs
6 years ago
kaniini ad3181895c Merge branch 'bugfix/html-scrub-schemes' into 'develop'
6 years ago
William Pitcock 595d855f0e html scrubbing policies: restrict img tags to http/https only for mediaproxy compatibility
6 years ago
Haelwenn (lanodan) Monnier 2154c5dcd8
lib/pleroma/html.ex: Use macros for valid_schemes, change config for schemes
6 years ago
William Pitcock 582dbe5c8d formatter: fix matching osada users
6 years ago
scarlett 7562912f6a Use maybe_direct_follow for follow imports
6 years ago
Haelwenn (lanodan) Monnier d7654c77de
lib/pleroma/html.ex: Use a function as a variable (broken for some reason)
6 years ago
Haelwenn (lanodan) Monnier 50e0a9ae56
lib/pleroma/html.ex: Fix scheme lists
6 years ago
William Pitcock 30efa86c05 common api: enable tag linking in markdown mode
6 years ago
Haelwenn (lanodan) Monnier eacab0fb05
Delete Tokens and Authorizations on password change
6 years ago
William Pitcock 51eaece3ea user: break out local cases for maybe_direct_follow
6 years ago
William Pitcock 2c29329d39 user: local users are always AP-enabled (closes #316)
6 years ago
William Pitcock 111841ad34 common api: take the combination of the subject and content for length limit enforcement
6 years ago
William Pitcock 08d5ad71b6 nodeinfo: allow opting out of MRF transparency
6 years ago
William Pitcock 7b3fff9af8 {mastodon api, twitter api}: make the follow handshake timeout configurable
6 years ago
William Pitcock 7f530f6f80 mastodon api: relationship view: better handle no pre-existing follow activity
6 years ago
William Pitcock e69faf550c user: add wait_and_refresh() for async three-way handshake case
6 years ago
William Pitcock 3e751496e3 mastodon api: account view: fetch follow state and use it to populate `requested` field
6 years ago
William Pitcock a71b822013 activitypub: always track following state for async reasons
6 years ago
William Pitcock 8ce217776d activitypub transmogrifier: better manage follow state
6 years ago
William Pitcock 4f7a468659 user: only pre-create follow relationships on OStatus
6 years ago
William Pitcock bd76d9cee6 nodeinfo: add accepted post formats to metadata
6 years ago
William Pitcock 285ac80c36 config: allow for accepted post formats to be configured
6 years ago
William Pitcock 52b05137c5 formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly
6 years ago
William Pitcock 16307da311 twitterapi: frontend config: add formattingOptionsEnabled
6 years ago
William Pitcock b1be9415ef Revert "Merge branch 'revert-a26d5e6b' into 'develop'"
6 years ago
Haelwenn (lanodan) Monnier f2efc8dcfb
nodeinfo_controller: Fix JSON rendering
6 years ago
Haelwenn (lanodan) Monnier 28651df478
MRF Transparency
6 years ago
Haelwenn (lanodan) Monnier 56d31db130
Pleroma.Web.Nodeinfo.NodeinfoController: Further transparency, breaks API of previous one
6 years ago
Haelwenn (lanodan) Monnier 8226953f1d
[Pleroma.Web.Nodeinfo.NodeinfoController]: Transparency on MRF Simple
6 years ago
kaniini 4f03bb2299 Merge branch 'bugfix/fix-mrf-reject-match' into 'develop'
6 years ago
William Pitcock 4db1bc2c0e activitypub: fix error condition match
6 years ago
Haelwenn (lanodan) Monnier a3cffd3566
formatter: Stop using phoenix HTML and format it ourselves
6 years ago
Haelwenn 34b6d444d6 Merge branch 'feature/twitter_api/fields' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
6 years ago
William Pitcock 707077edde activitypub: don't fall back to OStatus fetching when MRF rejects an object
6 years ago
William Pitcock 5c312ad677 activitypub inbox: only accept unsigned/invalid-signature relayed creates, nothing else
6 years ago
Haelwenn (lanodan) Monnier c739737998
transmogrifier: get_actor called without casting attributedTo in actor and actor is nil
6 years ago
Haelwenn (lanodan) Monnier 9446b02bdf
transmogrifier: Just make attachement maps into a list and reroll
6 years ago
Haelwenn (lanodan) Monnier e53da692fb
transmogrifier: Use the correct variable and prefer inspect in case of a bad type being passed on
6 years ago
William Pitcock d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
6 years ago
Haelwenn (lanodan) Monnier 4c3a80de96
transmogrifier: Use oneliners when applicable
6 years ago
William Pitcock ed8dfa3029
transmogrifier: reformat `cond` block by hand
6 years ago
Haelwenn (lanodan) Monnier eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
6 years ago
Haelwenn (lanodan) Monnier f3291acc91
transmogrifier: pro-actively add support for Hashtag without array in tag
6 years ago
Haelwenn (lanodan) Monnier 22927f3a34
transmogrifier: Use a cond, add proactive support for arrays
6 years ago
Haelwenn (lanodan) Monnier 0aac72f1d3
[Pleroma.Web.ActivityPub.Transmogrifier]: quick fix when tag is a Map
6 years ago
Haelwenn (lanodan) Monnier 28e8a8ab36
[Pleroma.Web.ActivityPub.Transmogrifier]: fix emoji in tag when it’s not in a array [kroeg]
6 years ago
Haelwenn (lanodan) Monnier f8a0cb9c0b
[Pleroma.Web.ActivityPub.Transmogrifier]: fix when attachment contain is just a Map [kroeg]
6 years ago
Haelwenn (lanodan) Monnier a4abb124ea
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix when inReplyTo is a inlined post [kroeg]
6 years ago
Haelwenn (lanodan) Monnier 523757be52
[Pleroma.Web.ActivityPub.ActivityPub]: Harden getting endpoints [kroeg]
6 years ago
Martin Kühl f77ec96707 Uploaders.S3: Replace unsafe characters in object key
6 years ago
Martin Kühl d94ee5cd50 Mastodon API: Support push subscription CRUD
6 years ago
Martin Kühl c2d592c9c5 Assign token to connection
6 years ago
William Pitcock 7f0e291483 html: twittertext: add missing catchall scrub function
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
6 years ago
William Pitcock df00a364fb mastodon api: formatting
6 years ago
William Pitcock c2b69798dd twitter api: add support for disabling rich text
6 years ago
William Pitcock 958e085acb mastodon api: add support for user-supplied html policy
6 years ago
William Pitcock 2f5b026548 twitter api: add support for user-specified html policy
6 years ago
William Pitcock 735cdfb848 user: add User.html_filter_policy()
6 years ago
William Pitcock 8ae9424edb html: default to using normal scrub policy if provided scrub policy is nil
6 years ago
kaniini 4cb6331843 Merge branch 'feature/dynamic-user-refresh' into 'develop'
6 years ago
kaniini 0fe165165f Merge branch 'task-204-on-options-request' into 'develop'
6 years ago
William Pitcock 8e28e8a18f mix: remove fix_ap_users task, now obsolete
6 years ago
William Pitcock c9f6eb9a41 user: implement dynamic refresh of profiles (gets rid of need for fix_ap_users task)
6 years ago
Haelwenn (lanodan) Monnier 40c51f118f
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.5.0
6 years ago
Haelwenn (lanodan) Monnier f74725df41
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Remove unused variables
6 years ago
Haelwenn (lanodan) Monnier 33a1e92584
[Pleroma.Web.Router]: Fake /api/v1/endorsements
6 years ago
Haelwenn (lanodan) Monnier a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
Haelwenn (lanodan) Monnier 43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
6 years ago
William Pitcock c9585ec007 twitter api: fix mimetype fallback when attachments use a URI instead of a URL object
6 years ago
William Pitcock 0cac493fdc mastodon api: default attachment type to image if one is not present
6 years ago
Martin Kühl f4fcea5258 Revert "Mastodon API: Fake support for loading filters"
6 years ago
Dominique Feyer 9b0f2d572b Return 204 response on options request
6 years ago
William Pitcock a7d0ecdc7c html: add policy which transforms inline images to pass through the media proxy
6 years ago
William Pitcock cd13fa17fd html: allow scrubbing policies to be stackable
6 years ago
William Pitcock 342ed84446 MRF: add policy for normalizing HTML markup (local and remote) to a specific policy
6 years ago
William Pitcock 95376ac1fe html: add the ability to override the default scrub policy
6 years ago
kaniini c2650f0ffb Merge branch 'feature/html-scrub-policy' into 'develop'
6 years ago
shadowfacts 39aed5348a Add visible_in_picker to status emojis
6 years ago
William Pitcock d3248e13e3 activitypub: transmogrifier: allow profile updates from bots
6 years ago
William Pitcock e0b8c0ccba MRF: reject non-public: use pattern match to remove unnecessary if block
6 years ago
William Pitcock 88094c266d MRF: simple policy: refactor module to use guards and pattern matching
6 years ago
William Pitcock 97253df3ee MRF: simple policy: contain media removal/nsfw ops to create activities only
6 years ago
William Pitcock e82ce2a4b3 formatting
6 years ago
William Pitcock 358f88e10a html: allow inline images by default (because of custom emoji)
6 years ago
William Pitcock 40e2f6e500 html: add default scrubbing profile and configuration knobs
6 years ago
William Pitcock ac486fc59b everywhere: use Pleroma.HTML module instead of HtmlSanitizeEx directly
6 years ago
William Pitcock 255f46d7ab html: new module providing a configurable markup scrubbing policy
6 years ago
Dominique Feyer 801d645c6b TASK: Fix formatting
6 years ago
Dominique Feyer b79c126ee0 Add missing URL encoding in create authorization redirect
6 years ago
Hakaba Hitoyo 4e1bb7bccb make limit for /api/v1/suggestions
6 years ago
lambda 045953225e Merge branch 'moonman/pleroma-sha512-crypt' into 'develop'
6 years ago
kaniini 530561a091 Merge branch 'add-secure-and-samesite-cookie-flags' into 'develop'
6 years ago
kaniini 3e4f39116b Merge branch 'feature/custom_media_url' into 'develop'
6 years ago
Martin Kühl c1d07da4e1 Mastodon API: Fake support for loading filters
6 years ago
Martin Kühl 619f67768a Mastodon API: Add unsupported attributes to relationship responses
6 years ago
lain 70163aec9b Add LegacyAuthenticationPlug to router.
6 years ago
lain 44b094908c Update legacy passwords automatically.
6 years ago
lain 3aba585e7a Add Plugs to router.
6 years ago
lain e601165426 Add UserEnabledPlug.
6 years ago
lain 5ce1ebb179 Add SetUserSessionIdPlug.
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
lain 636ad3e155 Add new plugs to router.
6 years ago
lain 12bc73dd28 Add EnsureUserKeyPlug, smaller fixes
6 years ago
lain 32465b9939 Simplify AuthenticationPlug
6 years ago
lain 9a96c93be7 Add SessionAuthenticationPlug.
6 years ago
lain a3f54fca4d Add LegacyAuthenticationPlug
6 years ago
lain 3cf17dc402 Add EnsureAuthenticatedPlug
6 years ago
lain faf5347748 Add UserFetcherPlug.
6 years ago
lain 42bd985e66 Add BasicAuthDecoderPlug
6 years ago
Moon Man 8b020e03a6 change cond to if else
6 years ago
Moon Man 1a8bc26e52 auth against sha512-crypt password hashes, upgrade to pbkdf2
6 years ago
kaniini 76c67a41c1 Merge branch 'develop' into 'feature/staff-discovery-api'
6 years ago
William Pitcock 9a21ff5f61 nodeinfo: add staffAccounts field to metadata
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
Hakaba Hitoyo b1124f1605 report chat and gopher support at /nodeinfo/2.0.json
6 years ago
William Pitcock b61430163b user: add moderator_user_query()
6 years ago
kaniini 7ca2a2ddea Merge branch 'nil-bio-emojis' into 'develop'
6 years ago
shadowfacts 35515cfa66 Update mastodon_api_controller.ex
6 years ago
shadowfacts 26f8697400 Update mastodon_api_controller.ex
6 years ago
shadowfacts 2b2bd0e047 Render notification IDs as strings, not numbers
6 years ago
Thurloat 4257f784bc sloop around get_emoji/1 to check is_binary and have a fallthrough
6 years ago
Haelwenn (lanodan) Monnier 754deb26dd
[Pleroma.Uploaders.Local]: Add configuration for custom url path
6 years ago
kaniini b7923aa304 Merge branch 'hotfix_broken_likes' into 'develop'
6 years ago
William Pitcock 834515fb51 formatter: don't add XSS emoji
6 years ago
kaniini 3c7280934e Merge branch 'security/activitypub-spoofing' into 'develop'
6 years ago
William Pitcock 03e92977cb transmogrifier: fix peertube/plume actor handling
6 years ago
William Pitcock 0b2c051a04 activitypub: fix possibility of spoofing by containing remote objects to the same domain as their actor
6 years ago
William Pitcock e2ce0e9e05 run `mix format`.
6 years ago
Martin Kühl 84d84e4ca4 OAuth: Support /revoke endpoint for revoking tokens
6 years ago
Martin Kühl ad2a7972e7 OAuth: Set `created_at` in token exchange response
6 years ago
Martin Kühl b60d232719 AccountView: `sensitive` is supposed to be a boolean, not a string
6 years ago
William Pitcock c921d99898 config: add ability to disable Pleroma FE config management (closes #276)
6 years ago
kaniini 2e2f458705 Merge branch 'lanodan/code-dup_in_mastoapi_search' into 'develop'
6 years ago
Will Pearson 0c2a0e3551 Specify default scope in verify_credentials
6 years ago
Haelwenn (lanodan) Monnier 8885d16e1b
[Pleroma.Web.MastodonAPI.MastodonAPIController].search(2)?: Remove code duplication
6 years ago
Thurloat a9c0f395cb add nil clause for Formatter.get_emoji/1 to return an empty result
6 years ago
lambda 58539e1357 Revert "Merge branch 'feature/rich-text' into 'develop'"
6 years ago
William Pitcock 856b5e1ca4 config: chase pleroma-fe updates from MR pleroma-fe!324.
6 years ago
kaniini a26d5e6b2a Merge branch 'feature/rich-text' into 'develop'
6 years ago
William Pitcock 6aa65b68b8 common api: add support for formatting messages outside of twitter-style plain text
6 years ago
kaniini e838969495 Merge branch 'use-media-proxy-in-suggestions-api' into 'develop'
6 years ago
kaniini 65e8d47cfb Merge branch 'backendhack' into 'develop'
6 years ago
Thurloat adffad5502 increase uploader behaviour documentation accuracy.
6 years ago
Thurloat af01f0196a Add backend failure handling with :ok | :error so the uploader can handle it.
6 years ago
William Pitcock 29b5e30c46 activity: drop recipients_to/recipients_cc fields
6 years ago
William Pitcock de9acebbf3 activitypub: use jsonb query for containment instead of recipients_to/recipients_cc.
6 years ago
href ddc6f32b75
Fix Mastodon API when actor's nickname is null
6 years ago
William Pitcock cce9d008f9 streamer: contain list updates in the same way as we do with the database query
6 years ago
William Pitcock ded9091206 mastodon api: use bounded AP object graph query to enforce containment of private statuses
6 years ago
William Pitcock 643fae6e36 activitypub: allow querying the activity/object graph bounded to a specific to/cc set
6 years ago
William Pitcock 81673b8136 activity: add recipients_to and recipients_cc fields
6 years ago
Thurloat d424e9fa5f fix S3 ref in sample config to generate proper path.
6 years ago
Thurloat ab9e5d64d6 add a sample swift config
6 years ago
Thurloat 2ff25ac0ce A hobbldey-working swift client.
6 years ago
Thurloat 9fc20ed572 works now, tested with profile photo upload on local backend.
6 years ago
Thurloat dad39b24a1 add the behaviour, work on actually making it work.
6 years ago
shibayashi 18ad8aaecf
Explicitly set 'http_only' to true
6 years ago
Thurloat 8d2d7a8859 Implement uploader behaviour
6 years ago
shibayashi 4656a07e9e
Set SameSite flag to 'Strict'
6 years ago
Hakaba Hitoyo 6cbfb5ab5d use media proxy for suggestions api
6 years ago
Thurloat 0df558a6a5 cleaning up a bit.
6 years ago
Thurloat 709816a0f8 example of flexible storage backends
6 years ago
William Pitcock d22f66655b upload: formatting
6 years ago
William Pitcock 1596185ac6 upload: add the S3 support itself
6 years ago
William Pitcock 03c35e579b sample config: add S3 public endpoint option
6 years ago
William Pitcock 86c007ddd2 upload: strip exif data before finalizing the file path
6 years ago
William Pitcock e95d958b52 sample config: show how amazon s3 support is activated, including third-party clones like wasabi
6 years ago
shibayashi 0c4493f144
Fix formatting
6 years ago
shibayashi b9a642da1e
Add Secure and SameSite cookie flags
6 years ago
Henry Jameson 0f1c629d65 better solution, added test.
6 years ago
Haelwenn (lanodan) Monnier 6973b77e94
[Pleroma.Web.MastodonAPI.FilterView] fix expires_at being a unsafe variable
6 years ago
Haelwenn (lanodan) Monnier 9bddb39ff0
[Pleroma.Web.MastodonAPI.FilterView]: expires_at should be null when N/A
6 years ago
Haelwenn (lanodan) Monnier d571a571fe
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.4.3
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
Haelwenn (lanodan) Monnier a5adb251ab
[Pleroma.Web.MastodonAPI.AccountView]: Add fields support
6 years ago
Haelwenn (lanodan) Monnier d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
Haelwenn (lanodan) Monnier 97e20d2932
[MastodonAPI] the tag field isn’t fixed to a static type in pleroma
6 years ago
Haelwenn (lanodan) Monnier 83efaa3af6
[MastodonAPI] Add streaming of hashtags
6 years ago
William Pitcock 5dd6542db5 formatting
6 years ago
William Pitcock 1089d3658e user: fix up notification last calculation [NOT related to upstream]
6 years ago
lambda 46c7c2380c Merge branch 'feature/relay' into 'develop'
6 years ago
lambda 440b459cd1 Merge branch 'bugfix/announce-timeline-flooding' into 'develop'
6 years ago
kaniini 63094cfd3e Merge branch 'feature/emoji-in-local-users' into 'develop'
6 years ago
William Pitcock bc3c30430e fix formatting
6 years ago
kaniini 1ad5cbed51 Merge branch 'bugfix/common-api-visibility-orphan' into 'develop'
6 years ago
William Pitcock 741c6ad671 common api: handle replying to orphaned threads
6 years ago
kaniini c9e4c45e0e Merge branch 'login-with-email' into 'develop'
6 years ago
kaniini 0f5bff8c66 Merge branch 'develop' into 'feature/relay'
6 years ago
hakabahitoyo 946a0769c4 remove unused settings from /api/statusnet/config
6 years ago
Ekaterina Vaartis 540cce5d10 When logging in, try treating the login as an email
6 years ago
kaniini ffa552f1a4 Merge branch 'feature/twitterapi-object-description' into 'develop'
6 years ago
William Pitcock aab2bdddf4 twitter api: provide object descriptions as attachment description field
6 years ago
William Pitcock 290798b821 http: fix TLS server name indication
6 years ago
kaniini be7a6db1f5 Merge branch 'bugfix/formatter-single-char-nicks' into 'develop'
6 years ago
kaniini 9ded0ee1a5 Merge branch 'config/fe-collapse-subject' into 'develop'
6 years ago
William Pitcock 3e10d13909 formatter: adjust regexp captures to match local users with single character nicknames (closes #163)
6 years ago
William Pitcock 09cb402203 fe config: add collapse_message_with_subject fe option
6 years ago
Jorty ba6e3eba33 Move invite task to pleroma namespace
6 years ago
Jorty 8a1dc0de92 Refactor Mix tasks
6 years ago
hakabahitoyo bf9f68b681 debug
6 years ago
William Pitcock a909fe45a6 formatting
6 years ago
William Pitcock 52b44184b4 transmogrifier: reject activities lacking a valid ID
6 years ago
Henry Jameson 9b046d2a84 fixed notifications API completely breaking if there's a like for
6 years ago
Haelwenn (lanodan) Monnier d5bdd55b5d
[Pleroma.Web.TwitterAPI.UserView]: Do not fail if user.bio is nil
6 years ago
Haelwenn (lanodan) Monnier 5dde6e4a00
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
6 years ago
kaniini f6b06d2ac8 Merge branch 'feature/peertube_2' into 'develop'
6 years ago
kaniini a6d4cc8917 Merge branch 'sanitize-bio' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 046741c60d
[Pleroma.Web.MastodonAPI.StatusView] Support Peertube Video titles
6 years ago
Haelwenn (lanodan) Monnier f5b056e3ce
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix likes
6 years ago
Haelwenn (lanodan) Monnier 3b8ef24532
Fix attachement rendering
6 years ago
lain a6b021a52b
Render peertube videos in mastodon.
6 years ago
lain c381d0b577
Use activitypub to fetch posts.
6 years ago
Haelwenn (lanodan) Monnier 74c74decf5
Basic peertube support.
6 years ago
Haelwenn (lanodan) Monnier ef4f982e2c
Pleroma.Web.ActivityPub.Transmogrifier: Fix actor being a list of objects (Peertube)
6 years ago
ensra 1495d04789 fix test for converting bio \r\n to <br>.
6 years ago
ensra cdb3dd48ab Format
6 years ago
ensra 5debd7b5cc Twitter API: Support Mastodon-style bios
6 years ago
ensra 175f0bebbc mastodon api: sanitize the bio HTML
6 years ago
kaniini c1b8a6a73b Merge branch 'feature/formatter-consistent-hashtag-mentions' into 'develop'
6 years ago
William Pitcock c033d2004b formatting
6 years ago
William Pitcock 145546e52a common api: format hashtags in the same way as we format mentions
6 years ago
eal f1c407e777 Merge branch 'fix/redirect-on-user-fetch' into 'develop'
6 years ago
eal 51a21284c6 ActivityPub: follow redirects when fetching user
6 years ago
shadowfacts 6698749073 Fix typo in app creation response
6 years ago
William Pitcock a3ef2ebb35 mastodon api controller: client_name, not name
6 years ago
William Pitcock b5a92b1199 mastodon api: add undocumented fields to json response, return app id as string like mastodon itself does
6 years ago
kaniini 183ccd1812 Merge branch 'dev-lanodan-url-regex' into 'develop'
6 years ago
kaniini c004b6ea0a Merge branch 'mastofe/system-font' into 'develop'
6 years ago
kaniini 5fbb14f5ec Merge branch 'bugfix/federation-kroeg' into 'develop'
6 years ago
kaniini 38361e7b5e Merge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'
6 years ago
kaniini 8dc715b30b Merge branch 'fix/normalize-file-extension' into 'develop'
6 years ago
lambda 9908cf8fda Merge branch 'feature/suggestions-api-with-third-party-recommendation-engine' into 'develop'
6 years ago
William Pitcock f446e75577 activitypub: transmogrifier: add necessary translations for kroeg
6 years ago
eal 92caa2632b Use Image type for emoji icons.
6 years ago
eal 1ed1ff17a4 ActivityPub user view: include tag if present.
6 years ago
eal f9d13558c8 CommonAPI: add emoji to user source data on update
6 years ago
lain 8c0c930041 formatting
6 years ago
lain ffd9ad1f0c Fix for elixir 1.7.
6 years ago
lambda 13440a80e1 Merge branch 'feature/invites' into 'develop'
6 years ago
lambda 1e9d152d60 Update generate_invite_token.ex
6 years ago
lambda 9de6145737 Merge branch 'fix/remote-follow-errormessage' into 'develop'
6 years ago
lambda ae9c4983d7 Merge branch 'bugfix/gopher-empty-lines' into 'develop'
6 years ago
lambda e81f788cb8 Merge branch 'emoji-in-account-view' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier af30f3f648
lib/pleroma/gopher/server.ex: Fix errorneous empty lines
6 years ago
trqx@goat.si e7b00f202f fix gopher server informational messages
6 years ago
eal db5cdfa333 Remote follow: don't show confusing error if already following
6 years ago
eal 37b802682c HTML-sanitize usernames before emojifying.
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
eal cee63ad3f7 TwitterAPI user view: add screen_name_html and description_html.
6 years ago
eal c2d1a5e9c4 MastoAPI AccountView: render profile emoji.
6 years ago
lambda 59b42531a3 Merge branch 'bugfix/duplicate-follow-requests' into 'develop'
6 years ago
William Pitcock d91fd48edf user: do not leak virtuals in account search
6 years ago
William Pitcock ecfd4b2106 user: hide virtual actors from statistics queries
6 years ago
William Pitcock de6be63b1b activitypub: do not show observable effects of non-public boosts
6 years ago
William Pitcock 5202d4ce10 relay: do not relay in test mode
6 years ago
William Pitcock 0ca9b9ff96 run mix format
6 years ago
William Pitcock 5abf9ad602 relay: reintroduce @allow_relay
6 years ago
William Pitcock 1e1a29f084 activitypub: relay: fix up AS2 actor object
6 years ago
William Pitcock e49131bb72 relay: move to /relay endpoint from / due to webapp issues
6 years ago
William Pitcock 2b628f2341 relay: only relay create activities
6 years ago
William Pitcock ae3cb652b6 user: set up a valid followers address to use
6 years ago
William Pitcock 56dc8db582 activitypub: relay: add relay following/followers collection URLs
6 years ago
William Pitcock 1c40a631e8 federator: actually relay the public activities
6 years ago
William Pitcock f9b0fc4ddb relay: remove @allow_relay for the moment
6 years ago
William Pitcock 266b314051 relay: fix invoking federator, use a timer to sleep the mix task to force a context switch
6 years ago
William Pitcock 99be3d3dcc relay: add relay follow/unfollow tasks
6 years ago
William Pitcock 1c90f88393 user: remote actors can have no nickname if they are virtual services
6 years ago
William Pitcock 7bed350a23 config: allow relaying to be disabled
6 years ago
William Pitcock b7ca7f282a activitypub: refactor relay concerns into new relay module
6 years ago
William Pitcock 00e890264c activitypub: represent relay actor at instance root
6 years ago
William Pitcock 4807a52284 user: support creating an actor which represents the instance itself
6 years ago
William Pitcock 275c42e438 user: filter out duplicate follow requests
6 years ago
William Pitcock 0ee29994a5 formatter: preserve case of hashtags
6 years ago
Hakaba Hitoyo f72cfada1a add suggestions/web config
6 years ago
William Pitcock 3be58ad34e activitypub: actually send digest header when federating
6 years ago
Haelwenn (lanodan) Monnier d5091c3175
Allow additionnal schemes in the config
6 years ago
William Pitcock 8da406afa2 activitypub: verify remote http signature digests by recomputing the digest and replacing the digest header
6 years ago
William Pitcock 2890aef9e8 activitypub: add digest header to outbound messages and sign it
6 years ago
Haelwenn (lanodan) Monnier 3623504e5d
[Pleroma.Formatter]: Add support for non-HTTP schemes in URIs
6 years ago
Tristan Mahé bc2668bb63 Merge remote-tracking branch 'upstream/develop' into feature/filter_exif
6 years ago
Hakaba Hitoyo cc9c062b55 merge
6 years ago
lambda 41b0ecef95 Merge branch 'tests/plume' into 'develop'
6 years ago
lambda 54963a6379 Merge branch 'bugfix/activitystreams-notice-urls' into 'develop'
6 years ago
lambda 6f23fb53d3 Merge branch 'feature/fe-configuration' into 'develop'
6 years ago
Hakaba Hitoyo b12d17d2ce configurable timeout
6 years ago
Hakaba Hitoyo e4dd58307a better configuration
6 years ago
William Pitcock b23630076f TwitterAPI: present pleroma frontend config in API
6 years ago
William Pitcock cf219b6add config: make instance description configurable
6 years ago
Hakaba Hitoyo 5b4a21317d correct error message
6 years ago
Hakaba Hitoyo 8ff336e02a debug
6 years ago
Hakaba Hitoyo 2b7b1b3e6b add suggestionsThirdPartyEngine into /nodeinfo/2.0.json
6 years ago
Hakaba Hitoyo d76f0d87be do nothing if configuration is skipped
6 years ago
Hakaba Hitoyo df3233e7e7 improve getting host name
6 years ago
William Pitcock 99c0252314 mastodon api: support descriptions in media api, add PUT endpoint for updating metadata about a media upload
6 years ago
William Pitcock cd19d37a90 mastodon api: use object name as alt text
6 years ago
William Pitcock f10291a1d3 upload: use generic Document object type instead of Image (mastodon compatibility)
6 years ago
hakabahitoyo e7c580828c format
6 years ago
hakabahitoyo 2eeaf01627 id field
6 years ago
hakabahitoyo 127882a5d5 configurable
6 years ago
hakabahitoyo eb0afda3a7 http access to third party user recommendation
6 years ago
Tristan Mahé 5469fb9561 Merge remote-tracking branch 'upstream/develop' into feature/filter_exif
6 years ago
hakabahitoyo 3812b627ca better mock /api/v1/suggestions
6 years ago
hakabahitoyo 4a21c1b343 mock /api/v1/suggestions
6 years ago
hakabahitoyo f944f8157a /api/v1/suggestions endpoint
6 years ago
Haelwenn (lanodan) Monnier 7501481db4
[Pleroma.Web.ActivityPub.Transmogrifier] Add Person finding
6 years ago
Haelwenn (lanodan) Monnier 8472fba2a7
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix actor key outside of object
6 years ago
William Pitcock 0899588e4d ostatus: return AS2 objects on /notice and /activities URLs like with /objects.
6 years ago
lambda d93789dfde Merge branch 'feature/object-normalization' into 'develop'
6 years ago
lambda ceffb91065 Merge branch 'feature/mediaproxy-nodeinfo' into 'develop'
6 years ago
lambda b1fcfcfae1 Merge branch 'bugfix/activitypub-object-actor' into 'develop'
6 years ago
William Pitcock 590d4df77c activitypub: more robustly handle object-to-actor associations
6 years ago
William Pitcock b832df1e15 formatting
6 years ago
William Pitcock f03e57f764 twitter api: activity representer: add summary field for testsuite
6 years ago
William Pitcock 152a526237 twitter api: refactor activity html generation, add support for Articles
6 years ago
William Pitcock 3b799f22b7 twitterapi: activity view: expose message summary text
6 years ago
lambda b806aa36c8 Update nodeinfo_controller.ex
6 years ago
lambda fe4387077a Merge branch 'feature/default-scope' into 'develop'
6 years ago
lambda 4a922305af Merge branch 'feature/article-support' into 'develop'
6 years ago
lambda 14054dd582 Merge branch 'feature/auto-shortcodes' into 'develop'
6 years ago
lambda 33b0334216 Merge branch 'bugfix/status-url-field' into 'develop'
6 years ago
William Pitcock 8546551257 activitypub: switch to using x509 representation for public keys instead of pkcs#1
6 years ago
Haelwenn (lanodan) Monnier 4326cb9920
[Pleroma.Web.Nodeinfo.NodeinfoController]: add mediaProxy metadata
6 years ago
Haelwenn (lanodan) Monnier 7a351cb36f
[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses
6 years ago
Haelwenn (lanodan) Monnier 835345754d
/web/* template: Add class system-font
6 years ago
Jorty 748fff6544 Fix auto-shortcode emoji
6 years ago
Jorty c171f9790b Move emoji glob setting to config.exs
6 years ago
Jorty 0bfbf15b37 Allow emojis to be added automatically
6 years ago
William Pitcock 971bb4f2bd activity interpretation: formatting
6 years ago
William Pitcock 66819ea784 twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock ea982e7503 mastodon api: add interpreter for Article activity types
6 years ago
William Pitcock 121c1f6230 twitter api: refactor activity html generation, add support for Articles
6 years ago
William Pitcock bd479606ba utils: make_create_data: add support for Article objects
6 years ago
William Pitcock c42f28b82c transmogrifier: accept Article activities
6 years ago
William Pitcock 2f14996d9a twitter api: allow setting default_scope
6 years ago
William Pitcock dcdf7b6686 twitter api: user view: show default message scope if known
6 years ago
William Pitcock 4f6de34f4f mastodon api: use info["default_scope"] if available for post scope
6 years ago
William Pitcock 7c63e70de1 activitypub: use Activity.normalize() in several places instead of using Activity.get_by_ap_id() directly.
6 years ago
William Pitcock 6f4ca7ddf7 ostatus: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
6 years ago
William Pitcock 5b240c3b18 federator: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
6 years ago
William Pitcock bc05548370 ostatus: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock 49da04c509 common api: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock 15d624e077 activitypub: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock fb04fecfb4 streamer: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock 47189531c5 user: use Object.normalize() instead of Object.get_by_ap_id() directly.
6 years ago
William Pitcock b036a19c21 activity: add normalize() to find a complete activity given either URI or partial structure
6 years ago
William Pitcock a200943240 object: add helper functions to handle various forms of a given object and return a normalized one
6 years ago
Tristan Mahé dc8ace29d1 use the correct end file
6 years ago
Tristan Mahé ca63585a32 maybe I should learn proper elixir ;D
6 years ago
Tristan Mahé d8d43f1173 do the filtering
6 years ago
Tristan Mahé c67cf8e9af format...
6 years ago
Tristan Mahé cb21bf5fc2 filter exif data #187
6 years ago
Haelwenn (lanodan) Monnier beb940a57e
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Add rights to initial_state
6 years ago
lambda fc012491a5 Merge branch 'fix/mutes.json-emptyarray' into 'develop'
6 years ago
lambda dfc96f222c Merge branch 'feature/configurable-blocks' into 'develop'
6 years ago
squidboi ea214b8ba6
combined outgoing_blocks with statement
6 years ago
Vivian Lim 6160a1b3c0 mix format
6 years ago
Vivian Lim 1299bccc7d return unquoted empty array from /api/qvitter/mutes.json
6 years ago
Vivian Lim 6316003946 fixes- found that TwitterAPI.Controller adds .json suffix already
6 years ago
Vivian Lim f2badd4424 return empty array for api/qvitter/mutes.json queries instead of html
6 years ago
squidboi c4038ede07
fix mind-crushingly dumb syntax error
6 years ago
squidboi f4990283de
change moved attributes into normal variables
6 years ago
squidboi 4e099fcfa9
move configurable module attributes into relevant functions
6 years ago
Haelwenn (lanodan) Monnier 5a4a45b875
[Pleroma.Web.MastodonApi.MastodonApiController] Add initial_state.meta.max_toot_chars
6 years ago
Haelwenn (lanodan) Monnier a05c0ff61d
[Pleroma.Web.MastodonApi.MastodonApiController] Add /api/v2/search
6 years ago
Haelwenn (lanodan) Monnier 359093d73b
Fake 2.4.0 API
6 years ago
Haelwenn (lanodan) Monnier c45133377a
lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
6 years ago
Francis Dinh 082920044a Normalize file extension for uploaded files
6 years ago
William Pitcock 60d6038be5 mrf simple: add accept lists
6 years ago
lambda 90cf75f4a7 Merge branch 'features/column_media_streaming' into 'develop'
6 years ago
lambda be800d7936 Merge branch 'bugfix/block-follow-relationships' into 'develop'
6 years ago
William Pitcock 056305dfa7 user: add helper function to fetch a user given only an ap_id (fix tests)
6 years ago
lambda db0731b6ac Merge branch 'feature/exclude-replies-filter' into 'develop'
6 years ago
William Pitcock 320ca7b11e user: when processing a block in User.block(), ensure all follow relationships are broken
6 years ago
William Pitcock c95941e64d activitypub transmogrifier: fix handling of contentMap.
6 years ago
William Pitcock 7e0f62acee object: add helper functions to handle various forms of a given object and return a normalized one
6 years ago
William Pitcock 6f384d35dd ostatus: we need to include the original author of a message as a mention
6 years ago
William Pitcock 591c82620e activitypub: filter destination list for announce activities differently than normal (closes #164)
6 years ago
William Pitcock 4f589998ee activitypub: support filtering activities by whether or not they are a reply (closes #109)
6 years ago
Haelwenn (lanodan) Monnier b670d4d683
MastodonAPI: Add streaming to media tabs of federated and local TLs
6 years ago
Henry Jameson 0b1ca6a584 Token-generating task
6 years ago
squidboi 2e294ee44a Merge branch 'develop' into feature/configurable-blocks
6 years ago
lambda 1ea4a18ad8 Merge branch 'feature/configure-mrf-rejectnonpublic' into 'develop'
6 years ago
eal a938d07df1 Merge branch 'bugfix/mastofe_thread_render' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 72c2915ecd
Pleroma.Web.MastodonAPI.StatusView: Fix status.json so it renders threads
6 years ago
lain 00d7d109ef Fix typo
6 years ago
lambda de20c8d620 Merge branch 'fix/missing-file-extension' into 'develop'
6 years ago
Francis Dinh 0a95b5594b Add missing file extension if file does not have one
6 years ago
eal 12c7a023de upload.ex: add MPEG Layer 3 file header.
6 years ago
lambda 2723fb5150 Merge branch 'bugfix/mrf-orphaning' into 'develop'
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
lambda 2c303b3302 Merge branch 'bugfix/oauth2-param-name' into 'develop'
6 years ago