Ivan Tashkinov
027adbc9e5
[ #468 ] Refactored OAuth scopes parsing / defaults handling.
6 years ago
Ivan Tashkinov
949e35e26d
[ #468 ] OAuth scopes-related data migration simplification.
6 years ago
href
1d17082ab2
Merge branch 'fix/mediaproxy-s3' into 'develop'
...
Fix S3 links encoding in Mediaproxy
Closes #580
See merge request pleroma/pleroma!828
6 years ago
Egor Kislitsyn
3f32d7b937
Fix queue name
6 years ago
Egor Kislitsyn
907306174b
fix S3 links encoding in Mediaproxy
6 years ago
kaniini
19756d68f2
Merge branch 'fix/credo-issues-test' into 'develop'
...
Fix credo issues in ./test
See merge request pleroma/pleroma!808
6 years ago
Haelwenn
6652389e80
Merge branch 'bugfix/activitypub-totalitems-removal' into 'develop'
...
activitypub: user inbox/outbox: `totalItems` removal
See merge request pleroma/pleroma!827
6 years ago
William Pitcock
e031cc6473
tests: update tests for totalItems leak fix
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
...
(this is based on a counter in User.Info, but the counter is not reliable.)
6 years ago
William Pitcock
ee2fa1a314
activitypub: user view: remove totalInbox from user inbox view
...
It is not really feasible to quickly calculate the totalItems value and
it shouldn't be trusted anyway.
6 years ago
kaniini
bc9e5e6b65
Merge branch 'feature/activitypub-oauth-endpoints' into 'develop'
...
ActivityPub C2S oauth endpoints
See merge request pleroma/pleroma!821
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
...
The normal Base64 alphabet uses the equals sign (=) as a padding character. Since
Base64 strings are self-synchronizing, padding characters are unnecessary, so don't
generate them in the first place.
6 years ago
William Pitcock
889ad95a2a
tests: add some reserialization tests based on IR differences
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
kaniini
1ef4741861
Merge branch 'feature/better-login-errors' into 'develop'
...
Improve login error for OAuth flow
See merge request pleroma/pleroma!824
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
d54c483964
tests: add tests for endpoints
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
dd989962e6
litepub schema: add oauthRegistrationEndpoint [ci skip]
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
rinpatch
99f955cd9e
Merge branch 'mass-follow-fixes' into 'develop'
...
User.follow_all: Respect blocks in both directions.
See merge request pleroma/pleroma!823
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
kaniini
33f8f3c33a
Merge branch 'doc/mark-streaming-feature-for-apps-2' into 'develop'
...
Mark streaming feature for desktop apps in Clients.md
See merge request pleroma/pleroma!818
6 years ago
Hakaba Hitoyo
16b7c07115
Mark streaming feature for desktop apps in Clients.md
6 years ago
kaniini
4bdb2d44c2
Merge branch 'bugfix/mdii-uploader' into 'develop'
...
Bugfix for MDII Uploader
See merge request pleroma/pleroma!822
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
kaniini
0534463cef
Merge branch 'feature/csp_mastofe-dev' into 'develop'
...
Add CSP for mastofe development, remove secure-cookies in MIX_ENV=dev
See merge request pleroma/pleroma!820
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
...
This is needed to run dev mode mastofe at the same time
6 years ago
Haelwenn (lanodan) Monnier
71ce564ecc
config/dev.exs: Don’t put secure cookies on dev
6 years ago
Haelwenn
c71b3a1b12
Merge branch 'fix-csp-upgrade-insecure-requests-check' into 'develop'
...
Fix CSP check for 'upgrade-insecure-requests'
See merge request pleroma/pleroma!814
6 years ago
Haelwenn
e1983fca8d
Merge branch 'doc/mark-streaming-feature-for-apps' into 'develop'
...
Mark streaming feature for mobile/web apps in Clients.md
See merge request pleroma/pleroma!816
[ci skip]
6 years ago
Hakaba Hitoyo
84f22d1cb8
Mark streaming feature for mobile/web apps in Clients.md
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
...
Twitter cards were not passing any useful metadata. A few things were
being handled on Twitter's end by trying to match OpenGraph tags with
their own, but it wasn't working at all for media. This is an attempt to
fix that.
Common functions have been pulled out of opengraph and put into
utils. Twitter's functionality was entirely replaced with a direct copy
of Opengraph's and then modified as needed.
Profiles are now represented as Summary Cards
Posts with images are now represented as Summart with Large Image Cards
Posts with video and audio attachments are represented as Player Cards.
This now passes the Twitter Card Validator.
Validator and Docs are below
https://cards-dev.twitter.com/validator
https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards
6 years ago
shibayashi
ea1058929c
Use url[:scheme] instead of protocol to determine if https is enabled
6 years ago