Commit Graph

2908 Commits (2c8deecdd2f75c6cdf1089e4266bedb8be55539c)

Author SHA1 Message Date
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
rinpatch 8f98d970c1 Fix recipient count in hellthread policy
6 years ago
Haelwenn (lanodan) Monnier 4df455f69b
[MastoAPI] Add switching of frontend flavours
6 years ago
rinpatch 96c725328b Remove a limit on attachments in Mastodon API and document the changes in responses from vanilla mastodon
6 years ago
lain 269d3e1ca6 WelcomeMessage: Get rid of Ecto reference.
6 years ago
lain 38e15930cb Add option to return all friends in twitter api.
6 years ago
lain d812a347ca Add optional welcome message.
6 years ago
Ivan Tashkinov 2a4a4f3342 [#468] Defined OAuth restrictions for all applicable routes.
6 years ago
lambda 1ce1b7b58d Merge branch 'bugfix/oauth-token-padding' into 'develop'
6 years ago
rinpatch 921571c19b Merge branch 'hellthread-filter-fix' into 'develop'
6 years ago
Karen Konou c2e0a0c8d4 Readd threshold is not 0 check, optmization?
6 years ago
Karen Konou dca6bee2f7 Rename test, add check for follower collection when delisting
6 years ago
rinpatch b63a5e309d Merge branch 'bugfix/actor-containment' into 'develop'
6 years ago
Karen Konou d943c90249 Add tests, change default config values, fix a bug
6 years ago
eugenijm ecdf0657ba Add logic for keeping follow_request_count up-to-date on the `follow`,
6 years ago
William Pitcock da44cdd381 user: search: use get_or_fetch() instead of get_or_fetch_by_nickname()
6 years ago
lambda ea2698beb7 Merge branch 'bugfix/activitypub-reserialization' into 'develop'
6 years ago
William Pitcock 56862f4ce1 activitypub: clean up logging statements a little
6 years ago
Wim Vanderbauwhede 04b1c13554 Merge remote-tracking branch 'upstream/develop' into patch-image-description
6 years ago
Ivan Tashkinov 027adbc9e5 [#468] Refactored OAuth scopes parsing / defaults handling.
6 years ago
Egor Kislitsyn 3f32d7b937 Fix queue name
6 years ago
Egor Kislitsyn 907306174b fix S3 links encoding in Mediaproxy
6 years ago
William Pitcock 72ba5b4ab7 activitypub: user view: formatting
6 years ago
William Pitcock 5307c211b8 activitypub: user view: report totalItems=0 for follows/followers when hidden
6 years ago
William Pitcock 6542b86292 activitypub: user view: remove totalItems from user outbox
6 years ago
William Pitcock ee2fa1a314 activitypub: user view: remove totalInbox from user inbox view
6 years ago
kaniini bc9e5e6b65 Merge branch 'feature/activitypub-oauth-endpoints' into 'develop'
6 years ago
William Pitcock 64620d8980 activitypub: user view: do not expose oAuth endpoints for instance users
6 years ago
William Pitcock e9ef4b8da6 oauth: never use base64 padding when returning tokens to applications
6 years ago
William Pitcock e05bf2940f activitypub: transmogrifier: correctly handle nil inReplyTo value
6 years ago
William Pitcock 94cbbb0e3a activitypub: transmogrifier: do not attempt to expand pre-existing AS2 tag objects
6 years ago
Mark Felder f62c1d6266 Improve login error for OAuth flow
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
William Pitcock 9bd6ed975e activitypub: user view: use route helpers instead of hardcoded URIs
6 years ago
William Pitcock 29e946ace4 activitypub: user view: add oauthRegistrationEndpoint to user profiles
6 years ago
William Pitcock db8abd958d activitypub: user view: fix up endpoints rendering
6 years ago
William Pitcock 90facd3598 user view: add AP C2S oauth endpoints to local user profiles
6 years ago
Karen Konou bef9b9cb66 refactored code
6 years ago
Karen Konou adcdd21f16 Merge branch 'develop' into hellthread-filter-fix
6 years ago
lain 88a4de24f9 User.follow_all: Respect blocks in both directions.
6 years ago
Maxim Filippov 760fec4cb8 Update token.ex
6 years ago
Maxim Filippov 62a45bdc11 Add revoke token
6 years ago
Maxim Filippov 61a4bc5095 Add OAuth tokens endpoint
6 years ago
hakabahitoyo b7bc666200 bugfix mdii uploader
6 years ago
Karen Konou 1d727cd069 added checks for public url and follower collections
6 years ago
Haelwenn (lanodan) Monnier da4c662af3
Plugs.HTTPSecurityPlug: Add webpacker to connect-src
6 years ago
Haelwenn (lanodan) Monnier 00e8f0b07d
Plugs.HTTPSecurityPlug: Add unsafe-eval to script-src when in dev mode
6 years ago
Mark Felder c984e8272a Formatting
6 years ago
Mark Felder 4956ab5ea3 Fix compile
6 years ago
Mark Felder ac7ef0999d WIP: Fix Twitter Cards
6 years ago
shibayashi ea1058929c
Use url[:scheme] instead of protocol to determine if https is enabled
6 years ago
rinpatch 379d04692c Filter summary in keywordpolicy
6 years ago
rinpatch 39383a6b79 Merge branch 'feature/thread-muting' into 'develop'
6 years ago
lambda 044616292b Merge branch 'feature/rich-media-limits' into 'develop'
6 years ago
Karen Konou ac72b578da Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou c01ef574c1 Refactor as per Rin's suggestions, add endpoint tests
6 years ago
lambda d53e36bf1e Revert "Merge branch 'object-creation' into 'develop'"
6 years ago
Egor Kislitsyn 305d219413 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
William Pitcock 45e57dd187 rich media: tighten fetching timeouts and size limits
6 years ago
kaniini 6c8d15da11 Merge branch 'fix/credo-issues' into 'develop'
6 years ago
Karen Konou cc21fc5f53 refactor, status view updating, error handling
6 years ago
rinpatch e0de0fcf22 Merge branch 'object-creation' into 'develop'
6 years ago
kaniini d5fe05c37e Merge branch 'follow-enhancements' into 'develop'
6 years ago
lain f8388be9c6 Do object insertion through Cachex
6 years ago
Karen Konou 6a150de3bd Add unique index and unique constraint check, uniqueness test fails
6 years ago
Karen Konou 638456ce8f elixir too new for CI's mix format lol
6 years ago
Karen Konou a0d732ec55 it works!!
6 years ago
Haelwenn (lanodan) Monnier 6ca633ddd3
Mix.Tasks.Pleroma.Uploads: Disable Enum.reduce warning on line 100 (unsure)
6 years ago
Haelwenn (lanodan) Monnier d924dc73ba
de-group import/s
6 years ago
Haelwenn (lanodan) Monnier 6a6a5b3251
de-group alias/es
6 years ago
Ivan Tashkinov a337bd114c [#468] MastodonAPI scope restrictions. Removed obsolete "POST /web/login" route.
6 years ago
Ivan Tashkinov 4ad843fb9d [#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
6 years ago
Haelwenn (lanodan) Monnier 381fe44172
HTML.Scrubber.Default: Consistency
6 years ago
Haelwenn (lanodan) Monnier 2272934a5e
Stash
6 years ago
Haelwenn (lanodan) Monnier d2e4eb7c74
Web.ActivityPub.ActivityPub: assign the Enum.filter to recipients & simplify it
6 years ago
Haelwenn (lanodan) Monnier bd9b5fffbc
Mix.Tasks.Pleroma.Uploads: Fix typo in documentation
6 years ago
Haelwenn (lanodan) Monnier 473095faf2
Web.Federator: Fix unused variable
6 years ago
Haelwenn (lanodan) Monnier 60ea29dfe6
Credo fixes: alias grouping/ordering
6 years ago
Haelwenn (lanodan) Monnier 106f4e7a0f
Credo fixes: parameter consistency
6 years ago
Haelwenn (lanodan) Monnier 8bcfac93a8
Make credo happy
6 years ago
lain 563f04e81b Do autofollow first.
6 years ago
lain bbd0049fae Respect blocks in mass follow.
6 years ago
lambda 1eecbc1cd1 Merge branch 'feature/keyword-policy' into 'develop'
6 years ago
Karen Konou 7e47a810a2 help i am not good with git
6 years ago
Karen Konou 5c5b228f21 Added thread unmuting (still a bit buggy maybe)
6 years ago
Karen Konou a44e532fb1 Added thread unmuting (still a bit buggy maybe)
6 years ago
rinpatch 7356659273 wow
6 years ago
Karen Konou 98ec578f4d Merge branch 'develop' into feature/thread-muting
6 years ago
rinpatch f88dec8b33 What idiot did that? (me)
6 years ago
rinpatch 6c21f5aa16 Merge branch 'develop' into feature/keyword-policy
6 years ago
rinpatch 8a0b755c19 rename ftl_removal to federated_timeline_removal to keep consistent naming with SimplePolicy
6 years ago
rinpatch 2174f6eb4f Add default config for keyword policy
6 years ago
rinpatch 46aa8c18a2 Add keyword policy
6 years ago
Karen Konou c43f414a79 Somehow fixed the repo insert [skip-ci]
6 years ago
Karen Konou 7e3ec93ed0 made a silly oopsie
6 years ago
Karen Konou 77448de492 ugghhhh
6 years ago
Ivan Tashkinov 2c68cf7e9e OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security breach fix.
6 years ago
Karen Konou f4ff4ffba2 Migration and some boilerplate stuff
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
Haelwenn 1220a17146 Merge branch 'bugfix/rich-media-card' into 'develop'
6 years ago
kaniini 18e783bcb2 Merge branch 'add-admin-and-moderator-fields' into 'develop'
6 years ago
William Pitcock 65a4b9fbea mastodon api: rich media: don't clobber %URI struct with a string
6 years ago
rinpatch f7aedbcc55 Merge branch 'fix/activitypub-user-view-badmap' into 'develop'
6 years ago
href f753043ce0
Fix if clause in activity_pub user_view
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
eugenijm 035eaeb9b8 Allow to configure visibility for admin and moderator badges
6 years ago
eugenijm 398c81f9c8 Add is_admin and is_moderator boolean fields to the user view
6 years ago
William Pitcock d83dbd9070 rich media: parser: reject any data which cannot be explicitly encoded into JSON
6 years ago
kaniini d120aa63f0 Merge branch 'fix-dm-index' into 'develop'
6 years ago
kaniini 681ba1e52f Merge branch 'feature/ap-c2s-whoami' into 'develop'
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
kaniini ecdb0b7f57 Merge branch 'bugfix/rich-media-image-nil' into 'develop'
6 years ago
William Pitcock 1d94b67e40 mastodon api: fix rendering of cards without image URLs (closes #597)
6 years ago
lambda f8b831ecfd Merge branch 'bugfix/transmogrifier-bare-tags' into 'develop'
6 years ago
William Pitcock a2bb5d890d html: don't attempt to parse nil content
6 years ago
William Pitcock e71ab5a10f activitypub: transmogrifier: fix bare tags
6 years ago
William Pitcock db1165f70f activitypub: c2s: add /api/ap/whoami endpoint for andstatus
6 years ago
lain f3c8b02d65 Massage index until it actually does the stuff we want.
6 years ago
Haelwenn 03991e7bc5 Merge branch 'feature/mrf-tag' into 'develop'
6 years ago
William Pitcock 7d110be119 activitypub: mrf: tag policy: fix force-unlisted and sandbox actions
6 years ago
William Pitcock 64a3993425 activitypub: mrf: tag policy: add support for subscription control
6 years ago
Egor Kislitsyn 14d967f515 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
rinpatch 3ae11835a9 Merge branch 'hotfix/hellthread-deprecation-warning' into 'develop'
6 years ago
Karen Konou 4031c94a59 fix hellthread threshold deprecation warning
6 years ago
William Pitcock ff2c28fd6d activitypub: mrf: tag policy: refactor the filtering hook a bit
6 years ago
William Pitcock 9a69f08e86 activitypub: mrf: tag policy: add support for processing follow requests
6 years ago
William Pitcock 084bb8ccd5 activitypub: mrf: tag policy: implement force-unlisted and sandbox
6 years ago
William Pitcock 88e32a32ce mrf: add initial MRF.TagPolicy engine
6 years ago
William Pitcock 93e136d70b mix: add user tag/untag task
6 years ago
kaniini 25a659d2dc Merge branch 'mime-riff' into 'develop'
6 years ago
href 127f99ae18
Mime: detect RIFF formats (wave, webp, avi)
6 years ago
rinpatch 00835bf678 Merge branch 'fix/rich-media-relative-path' into 'develop'
6 years ago
Egor Kislitsyn 3a3a3996b7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
rinpatch 89762ad230 Merge branch 'feature/hellthread-filter-improvements' into 'develop'
6 years ago
Karen Konou 58262a8b8a removed a debug thingy
6 years ago
Karen Konou 4430641349 squished a bug
6 years ago
Karen Konou 3cf046babb actually commited the changes
6 years ago
Karen Konou 63a4f4b7be fixed Map,put arguments, updated nomenclature
6 years ago
Karen Konou 583c4e0f17 more tweaks, fixed silly mistakes...
6 years ago
Karen Konou e10cda7541 implemented tweaks
6 years ago
kaniini c57f37bd36 Merge branch 'mogrify-orient' into 'develop'
6 years ago
Karen Konou 531507a635 fixed things
6 years ago
Karen Konou 10130fa7d6 made toggleable, added docs
6 years ago
Karen Konou 0ef0ae35ab added optional delist feature
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lambda 69a38644bc Merge branch '589-fix-cache' into 'develop'
6 years ago
lain 505a084058 Still do caching in tests.
6 years ago
Mark Felder 0c08bd4181 Update Mogrify docs and warning for deprecated syntax to encourage
6 years ago
Ivan Tashkinov 3913b0196e [#582] Made single-pub task call Instance.set_reachable/1 if `set_reachable` is not specified.
6 years ago
Ivan Tashkinov b40b4bc4e5 [#582] Optimized federation retirement by reducing the number of SQL calls
6 years ago
Maxim Filippov 2c59eb3cfc Add responsive features to layout
6 years ago
rinpatch 68d461b3a9 Check if rich media uri is relative
6 years ago
rinpatch 833404f0f5 Use with instead of if in the card
6 years ago
rinpatch e4d18f328b merge only if page_url is an absolute path
6 years ago
rinpatch cbadf9d333 Fix rich media relative path
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
href 28bfb09b01 Merge branch 'hotfix/object-normalize-cache' into 'develop'
6 years ago
href ffbf306c9a Merge branch 'streaming-api-url-fix' into 'develop'
6 years ago
William Pitcock af10ef8d4e object: use cached accesses when possible in Object.normalize()
6 years ago
eugenijm a184811a60 Use url() instead of static_url in Endpoint.websocket_url()
6 years ago
href 7e384a2425 Merge branch 'develop' into 'develop'
6 years ago
Luna 9cac8729af update nodeinfo version when requesting 2.1
6 years ago
eugenijm d747bd9870 Use String.replace_leading instead of String.replace for getting websocket streaming api url.
6 years ago
Luna 1cdcee89da mix format pass
6 years ago
Luna 23b1c64a19 downcase software name in nodeinfo
6 years ago
Luna b17ce875cf keep compatibility with nodeinfo 2.0
6 years ago
Haelwenn (lanodan) Monnier 74c6119f28
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
6 years ago
Luna cd6db6abe4 use Mix.Project.Config for some Application functions
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
lambda fc7644798d Merge branch 'serve-sw-pleroma.js' into 'develop'
6 years ago
href fa5ec765d9
Serve sw-pleroma.js properly
6 years ago
lain 01d483f9c7 Merge remote-tracking branch 'origin/develop' into fix-rich-media-toggle
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
Luna b0c4c082c4 mix format pass
6 years ago
Luna c05928dbda use nodeinfo 2.1, add repository field
6 years ago
lain b19b4f8537 Remove default value for rich media.
6 years ago
href 308b35ebe2
User.follow_all: ensure its stays unique
6 years ago
lambda 44913c1019 Merge branch 'bugfix/rich-media-non-unicode' into 'develop'
6 years ago
William Pitcock 46dba03098 rich media: parser: only try to validate strings, not numbers (OEmbed)
6 years ago
William Pitcock dafb6f0b5e rich media: parser: reject OGP fields we cannot safely process
6 years ago
rinpatch 7057891db6 Make rich media support toggleable
6 years ago
lambda a43a1c6d4e Revert "Merge branch 'spc-fix-3' into 'develop'"
6 years ago
kaniini 4d3655c479 Merge branch 'spc-fix-3' into 'develop'
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Egor Kislitsyn 58e250d9d2 fix merge
6 years ago
Egor Kislitsyn d3677d2b4d Merge remote-tracking branch 'MAIN/develop' into feature/jobs
6 years ago
lambda 6b54a3ec0b Merge branch 'multiple-hackney-pools' into 'develop'
6 years ago
href 5ea0397e2d
Fix 4aff4efa typos
6 years ago
kaniini bd5086731e Merge branch 'multiple-hackney-pools' into 'develop'
6 years ago
lain 47ec690c54 Use race-condition free mass follow.
6 years ago
lain 935e65e261 Use race-condition free following method.
6 years ago
Egor Kislitsyn ab31adf15b tiny improve
6 years ago
href 4aff4efa8d
Use multiple hackney pools
6 years ago
kaniini 7a2c4f984b Merge branch 'bugfix/fix-rejects' into 'develop'
6 years ago
kaniini d03a116654 Merge branch 'hj-happiness-improvement' into 'develop'
6 years ago
William Pitcock 57549f6043 activitypub: utils: update the state of *any* pending follow relationship that matches the actor and target
6 years ago
William Pitcock cbb2b709de activitypub: transmogrifier: fix follow request rejections
6 years ago
Ivan Tashkinov 92753b0cd9 [#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
6 years ago
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago