Commit Graph

2623 Commits (be067ec2ab7d3ebcbad7b1306ab19b266dcda664)

Author SHA1 Message Date
rinpatch 1bb4d5d65b Implement fake status submit
6 years ago
Egor 9a39d1d846 Replace Pleroma.Jobs with `pleroma_job_queue`
6 years ago
Haelwenn (lanodan) Monnier c8abef373b
mastodon_api_controller.ex: fallback to first for min_id
6 years ago
Haelwenn (lanodan) Monnier 6b407872b4
mastodon_api_controller.ex: Use min_id in link header instead of since_id
6 years ago
Haelwenn (lanodan) Monnier 6f15224053
activity_pub.ex: Move limit/max_id restrictions to Pagination helpers
6 years ago
eugenijm cd90695a34 Add PUT /api/pleroma/notification_settings endpoint
6 years ago
eugenijm 10c81fc902 Add user show endpoint for Pleroma admin API
6 years ago
Alex S 3ca6c4f443 password reset page labels align
6 years ago
Ivan Tashkinov 20e0f36605 Merge remote-tracking branch 'remotes/origin/develop' into twitter_oauth
6 years ago
Ivan Tashkinov 2a95014b9d [#923] OAuth consumer improvements, fixes, refactoring.
6 years ago
lambda 926bf114b7 Merge branch 'feature/more-user-filters' into 'develop'
6 years ago
rinpatch ce6d64bbd8 Fix missing announces in MastoAPI home timeline
6 years ago
Maxim Filippov 3cf7539bca Add more user filters + move search to its own module
6 years ago
eugenijm a4ab60ac54 Add vapid_key to the `POST /api/v1/apps` response
6 years ago
eugenijm 691d1208b5 Add GET /api/v1/apps/verify_credentials
6 years ago
lambda ff3b09f6b3 Merge branch 'fix/ap-icon' into 'develop'
6 years ago
lambda c6ab5ebe7c Merge branch 'features/mastoapi/2.7.2-instance-attributes' into 'develop'
6 years ago
lain 10a7a4a868 AP UserView: Refactor banner / avatar display code, add test.
6 years ago
lambda 9e3899bf36 Merge branch 'features/mastoapi/2.7.0-auth-error-messages' into 'develop'
6 years ago
lambda 21ff78cd40 Merge branch 'replies-count' into 'develop'
6 years ago
rinpatch 406d19331f Remove ActivityRepresenter
6 years ago
Ivan Tashkinov eef1042b16 Mastodon 2.7.2 instance attributes (registrations, languages).
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
Ivan Tashkinov b0759f821b Comments split.
6 years ago
Ivan Tashkinov 263ca3dea2 Mastodon-based auth error messages. Defaulted User#auth_active?/1 to `true`.
6 years ago
Mark Felder c410296120 Try sending an empty map
6 years ago
Mark Felder 6f090f981b Attempt to fix incorrect federation of default instance avatars
6 years ago
kaniini 63ffa4842c Merge branch 'fix/mastoapi-liked' into 'develop'
6 years ago
rinpatch a7f58b3c13 Serve non-public activities in /api/v1/favourites
6 years ago
rinpatch 750de7d842 Merge branch 'features/mrf-keyword-nil-summary' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier eab9425cc4
mrf/keyword_policy.ex: Fix when summary == nil, do not whitelist content == nil
6 years ago
William Pitcock debf7f016d ostatus: use preload objects with Object.normalize() when opportunistic
6 years ago
William Pitcock 8c70156157 activitypub: object view: use preloaded object when possible
6 years ago
William Pitcock ce47eb8b29 activitypub: when fetching objects, use the preloaded object from the synthesized activity
6 years ago
William Pitcock 07cdd9ed02 streamer: use the preloaded object if possible
6 years ago
William Pitcock c62220c500 rich media: helpers: only crawl Create activities
6 years ago
William Pitcock 4cedf45423 relay: use preloaded object since we always have it
6 years ago
William Pitcock e430a71d37 ostatus: fetch preloaded object in note handler for testsuite
6 years ago
William Pitcock 73efe95368 activitypub: allow skipping preload in some cases (like certain tests where the preload is obnoxious)
6 years ago
William Pitcock ba7299fc87 activitypub: add missing with_preloaded_object()
6 years ago
William Pitcock e4307cadc8 activitypub: splice in the child object if we have one
6 years ago
William Pitcock a6973a668e formatting
6 years ago
William Pitcock b3bf523c09 rich media: use optimized Object.normalize()
6 years ago
William Pitcock e75e43b949 common api: use the optimized Object.normalize whenever possible
6 years ago
William Pitcock 9aea7cc224 activitypub: preload child objects when fetching timelines
6 years ago
rinpatch 1b33986bfa Fix text being nullable in TwitterAPI
6 years ago
lambda fee360e581 Merge branch 'safe-mentions' into 'develop'
6 years ago
lain e2afce34b6 NodeInfo: Return safe_dm_mentions feature flag.
6 years ago
kaniini 1c3d3d0c2b Merge branch 'safe-mentions' into 'develop'
6 years ago
William Pitcock 3cc2554fa3 mastodon api: add conversation_id extension (ref #674)
6 years ago
William Pitcock fea3696799 common api: move context functions from twitterapi
6 years ago
rinpatch b92a16aa00 Merge branch 'ecto-3-migration' into 'develop'
6 years ago
lain bf27190f7f UtilController: Return state of safe dm mentions.
6 years ago
lain 8468f3f6d4 Add safe dm mode option.
6 years ago
Ivan Tashkinov af68a42ef7 [#923] Support for multiple OAuth consumer strategies.
6 years ago
rinpatch 9a7b817c9a Ecto 3.0.5 migration
6 years ago
Ivan Tashkinov e17a9a1f66 [#923] Nickname & email selection for external registrations, option to connect to existing account.
6 years ago
William Pitcock 1685e4258f transmogrifier: upgrade: when upgrading OStatus users to AP, ensure we always use the fake collection
6 years ago
William Pitcock cd055983c3 transmogrifier: when determining followers collection URI, we may need to fetch the actor
6 years ago
William Pitcock d487b753c3 activitypub: transmogrifier: do not allow missing lists to be interpreted as nil
6 years ago
William Pitcock 798da28812 activitypub: transmogrifier: ensure as:Public activities are delivered to followers
6 years ago
Ivan Tashkinov 8d21859717 [#923] External User registration refactoring, password randomization.
6 years ago
Ivan Tashkinov 26b6354095 [#923] Support for multiple (external) registrations per user via Registration.
6 years ago
Zachary Dunn 5ba14c664b Fix missing end brace
6 years ago
Zachary Dunn a2e03d4f3c Initial attempt at updating return type
6 years ago
eugenijm 1588688a11 Added support for exclude_types, limit, and min_id in Mastodon
6 years ago
Ivan Tashkinov 2a96283efb [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Haelwenn (lanodan) Monnier f6fab01ba7
Web.Router: Add routes for Conversation mastoAPI
6 years ago
kaniini 6d6f48d079 Merge branch 'feature/federated-flags' into 'develop'
6 years ago
lambda 28df397454 Merge branch 'feature/oauth-me' into 'develop'
6 years ago
kaniini c69dc2acf1 Merge branch 'feature/reblog-muting' into 'develop'
6 years ago
William Pitcock e0edc706cf oauth: add me property to token responses
6 years ago
eugenijm 43fb03be5a Allow to mark a single notification as read
6 years ago
kaniini 8b352af4dd Merge branch 'feature/openldap-support' into 'develop'
6 years ago
Ivan Tashkinov 2739057442 Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Ivan Tashkinov aacbf0f570 [#923] OAuth: prototype of sign in / sign up with Twitter.
6 years ago
Karen Konou d8244c2a1b remove unused function
6 years ago
Karen Konou dfeb3aec44 fix credo warning
6 years ago
Karen Konou da53c079db Refactor to store user ap_id, add tests
6 years ago
Karen Konou be465c762b formatting
6 years ago
Karen Konou 15b21d1983 refactor filtering mechanism
6 years ago
Karen Konou aa71139e4a Fix elixir 1.8 vs 1.7 format conflict
6 years ago
Karen Konou fe4c1d26fc Add ActivityPub.contain_activity checks to streamer
6 years ago
Karen Konou c8f31e0bc2 Implement mastodon's reblog hiding feature
6 years ago
Haelwenn 41fc67aa49 Merge branch 'mastoapi/mime_type' into 'develop'
6 years ago
rinpatch d7a34b604b Extend MastoAPI to provide attachment mimetypes
6 years ago
kaniini 0f42ea87d6 Merge branch 'notifications-is-seen' into 'develop'
6 years ago
kaniini c708656b5e Merge branch 'robotstxt' into 'develop'
6 years ago
William Pearson 3dadaa4432 robots.txt
6 years ago
eugenijm 100413bf2c Add `is_seen` to MastoAPI notifications, extract rendering logic into separate NotificationView, add tests
6 years ago
William Pitcock 423fd07928 activitypub: inject to/cc fields on non-forwarded reports since Flag activities are now Forwardable
6 years ago
William Pitcock 5c7b774f09 reports: unify sending e-mail for both remote and local reports
6 years ago
William Pitcock 64b0120d67 activitypub: add support for forwarding reports
6 years ago
William Pitcock 3b48d5f0c2 common api: add support for forwarding reports
6 years ago
William Pitcock 379442ad17 activitypub: utils: also match Activity objects
6 years ago
William Pitcock 0f3ecb2bfb activitypub: transmogrifier: accept remote Flag activities
6 years ago
William Pitcock f86f7dbb8f activitypub: utils: rework make_flag_data to accept either activity payloads or IRIs
6 years ago
rinpatch 34fc0dca2e Merge branch 'hotfix/delete-activities' into 'develop'
6 years ago
rinpatch e630e5e135 Fix delete activities not federating
6 years ago
link0ff 54e7087ab4 Merge remote-tracking branch 'upstream/develop' into feature/openldap-support
6 years ago
kaniini 59333f2d56 Merge branch 'admin-api-account-view-namespace' into 'develop'
6 years ago
kaniini 86871c8a04 Merge branch 'feature/add-local-to-users-admin-api' into 'develop'
6 years ago
Maxim Filippov f3964f4024 Ensure empty array is returned for tags
6 years ago
Maxim Filippov 257d8e78e5 Add tags
6 years ago
kaniini 4e72762322 Merge branch 'mastofe-content-types' into 'develop'
6 years ago
eugenijm e416c344dd Unify unfollow, accept and reject follow requests using CommonAPI
6 years ago
Maxim Filippov 490d9cf7b1 Add "local" to users admin API
6 years ago
Haelwenn (lanodan) Monnier cc0f2f8ba3
MastodonAPI.Admin.AccountView → AdminAPI.AccountView
6 years ago
Haelwenn (lanodan) Monnier d43b1c0b5d
Pleroma.Web.TwitterAPI.Controller: Remove duplicated alias/es
6 years ago
Haelwenn (lanodan) Monnier 4b73ca638e
[Credo][CI] Add readability as it’s fixed
6 years ago
Haelwenn (lanodan) Monnier 23960309a0
[Credo] Change quoted string with 3+ quotes to sigils
6 years ago
Haelwenn (lanodan) Monnier c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
Haelwenn (lanodan) Monnier 8cd3eada7d
[Credo] write large numbers with underscore separation
6 years ago
Haelwenn (lanodan) Monnier c3d41b2b6e
[Credo] make all variables use snake_case
6 years ago
Haelwenn (lanodan) Monnier fb82f6fc7c
[Credo] Remove parentesis on argument-less functions
6 years ago
Haelwenn (lanodan) Monnier a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
Haelwenn (lanodan) Monnier 4c440f12c3
[Credo] Fix the consistency
6 years ago
Haelwenn (lanodan) Monnier 6c8743d0c0
[Credo] Fix the warnings
6 years ago
Maxim Filippov 25eb6cf1cb Add "roles" to users admin API
6 years ago
kaniini c231ed610a Merge branch 'masto-api-followers-following' into 'develop'
6 years ago
link0ff 9338f061a3 Support LDAP method start_tls
6 years ago
eugenijm 984b5f8adf MastoAPI followers/following endpoints
6 years ago
kaniini 4aa285e6ce Merge branch 'add-screenname-extension-to-masto-api' into 'develop'
6 years ago
lain 07277879e5 Linting.
6 years ago
lain 600f428db4 WebPush: Add activity id to the push messages.
6 years ago
Ivan Tashkinov 63ab61ed3f Sign in via Twitter (WIP).
6 years ago
lain 3474066f6d MastoAPI Accounts: Add fetching by nickname.
6 years ago
lambda 2c8deecdd2 Merge branch 'add-local-field-to-status' into 'develop'
6 years ago
lambda d9ae2d00a1 Merge branch 'feat/style-oauth-login-page' into 'develop'
6 years ago
Shpuld Shpuldson 50edead11c Remove chromium input hilight that clashes with our own
6 years ago
Shpuld Shpuldson 8ddbedcd9a Style again the login page to fit pleroma more
6 years ago
lain 4811eefa6e MastoAPI StatusView: Add locality indicator.
6 years ago
eugenijm 6038c8a753 Broadcast deleted activity id on deletion to conform to MastoAPI streamig spec
6 years ago
William Pitcock 19afd9f81f http: rework connection timeouts to match hackney docs, enforce 1 second max TCP connection timeout
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 07f8c79a69 Merge branch 'bugfix/rel-me_list' into 'develop'
6 years ago
Maksim bc7570c282 [#647] tests for web push
6 years ago
Karen Konou 28d5b40d0a Add handling of objects not in database
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
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
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 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
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
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 8e6f7fdb86
RelMe.maybe_put_rel_me/2: When true put "me" otherwise nil
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 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
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 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 f25a3f4f78 Merge branch 'fix/check-follower-collection-in-is_private' into 'develop'
6 years ago
rinpatch 96dcacade1 properly check for follower address in is_private?
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