Commit Graph

3204 Commits (8c6d5a6b4ddb6c2fc9fea9cf009a99c72260ddee)

Author SHA1 Message Date
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
rinpatch b028b0f97d Merge branch 'bugfix/missing-announces' into 'develop'
6 years ago
William Pitcock 26b0c802c3 fix up missing announcements with preloads
6 years ago
kaniini bc14c98de1 Merge branch 'features/s3-uploader-digital-ocean' into 'develop'
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
Austin Lanari 6c96d68f77 add overriding truncated_namespace condition for truncating paths for digital ocean
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 4aa699271c activity: use left join instead of inner join when fetching activities that may or may not have a child object
6 years ago
William Pitcock 332dc1371b user: use preloads when deleting accounts
6 years ago
William Pitcock debf7f016d ostatus: use preload objects with Object.normalize() when opportunistic
6 years ago
William Pitcock 3c2350cbee object: downgrade normalize warning to debug severity
6 years ago
William Pitcock 8c70156157 activitypub: object view: use preloaded object when possible
6 years ago
William Pitcock f9d5c13b21 activity: add get_by_ap_id_with_object()
6 years ago
William Pitcock ce47eb8b29 activitypub: when fetching objects, use the preloaded object from the synthesized activity
6 years ago
William Pitcock aabcecb269 notification: formatting
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 9a06d9f6e8 notification: preload child objects
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 59518cbcd8 activity: fix credo nitpick
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
William Pitcock 092cedede5 activity: add with_preloaded_object() convenience
6 years ago
William Pitcock 62bccddde0 object: add support for preloading objects when walking an activity graph in normal form
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
rinpatch 3229c7a1d6 Ensure fts is prefered over trigram and use union_all instead of union in user search query
6 years ago
William Pitcock 27e03a2177 reports: fix up email generation for remote reports
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
kaniini bf8b29e080 Merge branch 'feature/move-search-to-db' into 'develop'
6 years ago
rinpatch 88096c65a5 Move gluing search results from application to database and get mutuals
6 years ago
Quentin Rameau 80bc9ed2ba Add a gopher url port config option
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 19a19bdd81 Fix migration timestamp type
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
Maxim Filippov 7ac9fff437 Format
6 years ago
Maxim Filippov ed8a2935f5 Use ILIKE to search users
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 67ff8d9311 user: properly cope with actors which do not declare a followers 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
kaniini 43bd7f47db Merge branch 'feature/order-users-by-nickname-admin-api' into 'develop'
6 years ago
kaniini aba4c27120 Merge branch 'masto-api-notifications' into 'develop'
6 years ago
Ivan Tashkinov 40e9a04c31 [#923] Registration validations & unique index on [:user_id, :provider].
6 years ago
Ekaterina Vaartis a1aacc08a4 Check if the user has indeed not been federated with
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
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
Fong-Wan Chau 4ed2618f6c Allow 'rel' attribute on `<a>` link with specific values (for hashtag recognition).
6 years ago
Maxim Filippov 93291c3d7a Order users by nickname
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 4b3c86c1a6 Merge branch 'fix/mediaproxy-capture-content-disposition-filename' into 'develop'
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 094e1ef048 formatting
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
rinpatch d02f1120f9 Content-Disposition regex improvements
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
rinpatch 958227d556 MediaProxy: parse filename from content-disposition for non-whitelisted types
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
rinpatch cbdd11c381 Merge develop to bump elixir version in the CI so I don't get failing formatting
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 e2fe796c63 Add some tests
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
Egor Kislitsyn 16e598ec11 fix wording
6 years ago
Egor Kislitsyn d013b58e84 add `mix pleroma.user delete_activities NICKNAME` task
6 years ago
eugenijm 984b5f8adf MastoAPI followers/following endpoints
6 years ago
rinpatch 92a69bddce escape quotation marks in Content-Disposition header
6 years ago
rinpatch 5a73cae2be WIP: Stop mangling filenames
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 1f78d23eed http: connection: unify adapter configuration and defaults
6 years ago
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