Commit Graph

1749 Commits (03702e4c4a3f7ca80d6adcdcd77b39e6a60809c6)

Author SHA1 Message Date
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
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