Commit Graph

3055 Commits (7c69c6f624e9e244acaac44c8ed57329aed53166)

Author SHA1 Message Date
William Pitcock ba48bd901c http: connection: relax the timeouts a little
6 years ago
William Pitcock 19afd9f81f http: rework connection timeouts to match hackney docs, enforce 1 second max TCP connection timeout
6 years ago
William Pitcock 773f532b14 http: actually pass the options list to the Connection factory
6 years ago
William Pitcock 50ba4ba2c9 http: connection: merge hackney option lists instead of concatenating them
6 years ago
William Pitcock 2a83c0ba93 http: safely catch erlang exits and elixir errors from hackney (ref #672)
6 years ago
kaniini 46200d8fac Merge branch 'fix-tlsv1.3' into 'develop'
6 years ago
kaniini 735f40047a Merge branch 'delete-status' into 'develop'
6 years ago
kaniini 130fc9eae6 Merge branch 'fetch-posts-on-first-federation' into 'develop'
6 years ago
eugenijm 2827dfea50 Allow an admin to delete a user status
6 years ago
Ekaterina Vaartis 5021b7836f Fetch user's outbox posts on first federation with that user
6 years ago
William Pitcock e53a9fd15e MRF: anti followbot: gracefully handle accounts without a display name
6 years ago
rinpatch 992145e64c Merge branch 'bugfix/delete-activity-audience' into 'develop'
6 years ago
Karen Konou c2faae70df Adjust delete activity audience to match the deleted object
6 years ago
Karen Konou 6a69ece437 Revert existing object check
6 years ago
eugenijm 7342b5a45f Preserve parameters in link headers (Mastodon API)
6 years ago
kaniini 0fe715f3ba Merge branch 'chore/merge-search-into-list-users' into 'develop'
6 years ago
kaniini 39b766cc43 Merge branch 'bugfix/connect-src-https' into 'develop'
6 years ago
kaniini 07f8c79a69 Merge branch 'bugfix/rel-me_list' into 'develop'
6 years ago
Maksim bc7570c282 [#647] tests for web push
6 years ago
Haelwenn 96901b6554 Merge branch 'fix/escape-reserved-chars-in-filenames' into 'develop'
6 years ago
Karen Konou 28d5b40d0a Add handling of objects not in database
6 years ago
rinpatch 4263edc9c9 Properly escape reserved URI charachters in upload urls
6 years ago
rinpatch bcd8ef65e0 Merge branch 'add-admin-to-node-info' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 788a354ce0
Web.RelMe: Fix having other values in rel attr
6 years ago
Haelwenn (lanodan) Monnier fc37e5815f
Plugs.HTTPSecurityPlug: Add static_url to CSP's connect-src
6 years ago
eugenijm d1de0a30cc Include admins in nodeinfo
6 years ago
Maxim Filippov 2d30fc279f Typo
6 years ago
William Pitcock b7aa1ea9e6 rich media: helpers: rework validate_page_url()
6 years ago
William Pitcock 9f3cb38012 helpers: use AutoLinker to validate URIs as well as the other tests
6 years ago
William Pitcock d38d537bee rich media: don't crawl bogus URIs
6 years ago
kaniini d45dbdce5a Merge branch 'feature/add-status-text-to-notifications' into 'develop'
6 years ago
Maxim Filippov f620199836 Merge search endpoint into /users
6 years ago
Maxim Filippov 0245ce842f Remove unused code
6 years ago
Maxim Filippov cc7b35e097 Add status text to notifications (mentions and reposts)
6 years ago
kaniini ca5d894e68 Merge branch 'fix/like-adressing' into 'develop'
6 years ago
rinpatch 33c614bce0 Stop adresssing like activities to actor's follower collection on non-public posts
6 years ago
kaniini 10248d86a2 Merge branch 'unify-follow' into 'develop'
6 years ago
KokaKiwi bf43f055dd Set content types settings on mastofe endpoint.
6 years ago
KokaKiwi b57913b13a Fix supported TLS versions as TLS 1.3 support seems buggy.
6 years ago
Karen Konou 1445dc25d4 fix format
6 years ago
Karen Konou aab86698a5 Expand "to" of delete activities
6 years ago
eugenijm 86e4b48a5e Fix DM visibility for blocking users
6 years ago
eugenijm 594694607c Unify Mastodon and Twitter follow implementations using CommonAPI
6 years ago
kaniini dd5865535e Merge branch 'muting' into 'develop'
6 years ago
William Pearson 818a7894da Don't stream muted accounts
6 years ago
link0ff 88a672fe88 Move LDAP code to LDAPAuthenticator. Use Authenticator for token_exchange with grant_type as well
6 years ago
link0ff 19e2b85247 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
kaniini ace4231628 Merge branch 'features/bio_rel_me' into 'develop'
6 years ago
kaniini 6c6a2dbfdd Merge branch 'feature/add-pagination-to-users-admin-api' into 'develop'
6 years ago
kaniini b531e366df Merge branch 'get-follow-requests-sql' into 'develop'
6 years ago
kaniini 413cf00cc3 Merge branch 'atomic-note-count-updates' into 'develop'
6 years ago
kaniini c93479c6f5 Merge branch 'count-only-public-statuses' into 'develop'
6 years ago
eugenijm d5418e9ff7 Remove follow_request_count as it's not needed for FE anymore.
6 years ago
eugenijm af0039a3a0 Use atomic update for note count and follower count
6 years ago
lambda 9b63fda9c7 Merge branch 'fix/dont-show-dms-in-mentions-timeline' into 'develop'
6 years ago
eugenijm c46950d3b1 Increment user note count only on public activities
6 years ago
eugenijm 1a1f4520cd Use sql query in User.get_follow_requests/1 for filtering logic
6 years ago
Maxim Filippov 2ec8cf5665 Add pagination to search
6 years ago
rinpatch f38c316e6e Merge branch 'bugfix/oauth-scopes-join' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier f2452d5700
Pleroma.User: mix format
6 years ago
Haelwenn (lanodan) Monnier 8e6f7fdb86
RelMe.maybe_put_rel_me/2: When true put "me" otherwise nil
6 years ago
Haelwenn (lanodan) Monnier 39a5bea9b7
Pleroma.User: Fix syntax and user.ap_id call
6 years ago
Haelwenn (lanodan) Monnier 3d22642352
Pleroma.User: Pass an array to profile_urls
6 years ago
Haelwenn (lanodan) Monnier 9b83236fb0
Pleroma.Web.RelMe: fixups
6 years ago
Haelwenn (lanodan) Monnier 56d4e39012
Pleroma.User: Add rel=me to URLs where it linkbacks to the profile
6 years ago
Haelwenn (lanodan) Monnier b6a001a34c
Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response
6 years ago
Maxim Filippov f635b675b2 Refactor a little bit
6 years ago
Maxim Filippov f1a4c3163b Show current user in users list as well
6 years ago
Maxim Filippov 5b08b470f6 Add "local" params to users search
6 years ago
William Pitcock 689b0730f8 activitypub: fix date header format
6 years ago
lambda 2f00814475 Merge branch 'bugfix/236-ambiguous-route-for-numerical-handles' into 'develop'
6 years ago
rinpatch 1341ee650e [#675] Do not show DMs in mentions timeline
6 years ago
William Pitcock 28b4093233 mastodon websocket: return errors using ok, not stop
6 years ago
William Pitcock 388a3f4ca2 mastodon websocket: bring back infinity timeout
6 years ago
Maxim Filippov 46f29b9da1 Add search users endpoint
6 years ago
William Pitcock f1d37a5e23 mastodon websocket: use pattern match to get query data, robustly handle errors
6 years ago
William Pitcock bc53dff5b6 mastodon api: websocket: update code for cowboy 2.x
6 years ago
Maxim Filippov 72b7a0797e Use Mastodon API views in Admin API
6 years ago
href a47cc5a2cf Merge branch 'customizable_auth' into 'develop'
6 years ago
Ivan Tashkinov 3281a3f074 Renamed *DatabaseAuthenticator to *Authenticator.
6 years ago
Ivan Tashkinov 4e77f68414 Added `auth_template/0` to DatabaseAuthenticator.
6 years ago
kaniini cf426a719d Merge branch 'with-mutes' into 'develop'
6 years ago
href 90a24fbf95 Merge branch 'customizable_auth' into 'develop'
6 years ago
kaniini 089e2588a3 Merge branch 'speedup-follow-requests' into 'develop'
6 years ago
kaniini 3c849d0438 Merge branch 'deactivated-in-user-view' into 'develop'
6 years ago
Ivan Tashkinov b6f915313f Made auth customization be runtime-configurable.
6 years ago
eugenijm 6b11011039 Added deactivated to the user view
6 years ago
Maxim Filippov 2883f75a3a Add pagination to users admin API
6 years ago
lain bbbdbec4fd Remove parts of the old activity view.
6 years ago
lain 9ade1242c2 Add user muted status info to twitterapi.
6 years ago
lain c1ae495878 Add user muted status info to MastodonAPI.
6 years ago
lain c4235f96bd Add `with_muted` param.
6 years ago
lain b24cc44e8d Follower requests: Utilize object index.
6 years ago
William Pitcock 1536640962 mastodon api: embed relationship card under account card for Pleroma FE convenience
6 years ago
Egor Kislitsyn 5d961d536c fix formatter
6 years ago
Egor c3ac9424d2 AutoLinker
6 years ago
Maxim Filippov 90d0d055fc Add more admin actions
6 years ago
Ivan Tashkinov e98d34e5fb Added missing copyright headers.
6 years ago
Ivan Tashkinov fd46edb473 Merge remote-tracking branch 'remotes/origin/develop' into customizable_auth
6 years ago
Ivan Tashkinov e82b70eb53 Database authenticator behaviour / Pleroma implementation refactoring.
6 years ago
William Pitcock fc9d895ebc twitter card: remove IO.inspect() spam
6 years ago
11backslashes efa506b874 delegate user retrieval to the User module
6 years ago
link0ff e278d47023 OpenLDAP support
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
lain 62296f5a25 Fix private post card handling.
6 years ago
Ivan Tashkinov afddce45b3 Minor setting name adjustment (:app_template -> :app_layout).
6 years ago
kaniini 5a4e2905fe Merge branch 'fix/twittercards' into 'develop'
6 years ago
KZ 7c722c08f5 Fix: Fixing an outbox related bug when local user activity is empty
6 years ago
Ivan Tashkinov 1097ce6d9f Auth customization support.
6 years ago
lambda 2813f28b6f Merge branch 'bugfix/httpsig-sign-date' into 'develop'
6 years ago
William Pitcock f8a72f2997 activitypub: sign http date header
6 years ago
William Pitcock 1803d9a022 fix fetching AP objects with application/json
6 years ago
William Pitcock 22e2ed235d logging: only return ISE reasons in API responses when in dev or test mode
6 years ago
William Pitcock 8b08096436 logging: improve visibility into ISE errors
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
lain 59c27f29c8 Add some nicer urls in status view.
6 years ago
Ivan Tashkinov b574d97c2e [#468] Added support for `push` OAuth scope (Mastodon 2.4+).
6 years ago
Ivan Tashkinov 6fe7acd58e [#468] Merged `upstream/develop`.
6 years ago
lambda 11b3c10c54 Merge branch 'muting' into 'develop'
6 years ago
Ivan Tashkinov 3ad91ec3c1 [#468] Adjusted scope restriction for MastodonAPIController#index.
6 years ago
Ekaterina Vaartis 5a46d37af9 Update the mute implementation to the current codebase
6 years ago
Ekaterina Vaartis 465b547c90 Remove unused "muted" parameter, use piping for mute/block fns
6 years ago
Ekaterina Vaartis 092b1b1453 Do not unfollow muted users
6 years ago
Ekaterina Vaartis da64ea4a55 Implement mastodon mutes endpoint
6 years ago
Ekaterina Vaartis f41f017bbc Implement muting, add it to the mastodon API
6 years ago
href f4bfc628ca
Player: allow styles on CSP, loop videos
6 years ago
href aa9af1d639
CSP: Allow iframes on embed player
6 years ago
Mark Felder 2d21ea1a0e Merge branch 'develop' into fix/twittercards
6 years ago
href 10a11f083c
Embed player suitable for Twitter Cards
6 years ago
eugenijm 25b9e7a8c3 Added admin API for changing user activation status
6 years ago
Ivan Tashkinov c0ecbf6669 [#468] Merged `upstream/develop`.
6 years ago
lambda 1dd718e83c Merge branch 'set-cache-on-user-tag-update' into 'develop'
6 years ago
lambda f25a3f4f78 Merge branch 'fix/check-follower-collection-in-is_private' into 'develop'
6 years ago
lambda f53dc5ee08 Merge branch 'fix/ap_id-unique_constraint' into 'develop'
6 years ago
rinpatch 109b01a631 mark ap_id unique_constraint
6 years ago
rinpatch 96dcacade1 properly check for follower address in is_private?
6 years ago
eugenijm fc35481445 Update user cache when user tags are updated
6 years ago
kaniini 833161b5d2 Merge branch 'feature/jobs' into 'develop'
6 years ago
kaniini a39a094cda Merge branch 'patch-image-description' into 'develop'
6 years ago
kaniini 7456338ed3 Merge branch 'feature/add-oauth-tokens-endpoint' into 'develop'
6 years ago
kaniini c23bd05737 Merge branch 'features/flavour-switching' into 'develop'
6 years ago
kaniini cd019a5927 Merge branch 'follow-request-count' into 'develop'
6 years ago
kaniini 3f38a05571 Merge branch 'csv-export' into 'develop'
6 years ago
Maxim Filippov 94708d6370 Render only "id", "valid_until" and "app_name" in TokenView
6 years ago
lambda f26582aae9 Merge branch 'mastoapi-stop-capping-attachments' into 'develop'
6 years ago
lambda ae84af4ad0 Merge branch 'fix/hellthread-policy-recipient-check' into 'develop'
6 years ago
Ivan Tashkinov d3fe2c8ec6 [#468] Formatting fix.
6 years ago
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