Commit Graph

3955 Commits (c49a09ed88c3cef0f3df3e97cf4fa5367cd8f830)

Author SHA1 Message Date
rinpatch 89fead9250 Default DB configuration to false and set the default database name to
5 years ago
rinpatch 2437f51284 Merge branch 'fix/config-gen-releases' into 'develop'
5 years ago
Alexander Strizhakov 32320c1ee9 Fixes for dynamic configuration
5 years ago
rinpatch 69070e641d Allow setting upload/static directories in the config generator
5 years ago
rinpatch 144e2e3e0b Remove deprecated dedupe_media from the config template
5 years ago
rinpatch fe3a830b80 Remove a useless binding from config template call
5 years ago
rinpatch f8c64dd4c0 Release Tasks: Ensure the application is loaded before getting the
5 years ago
rinpatch 8c7a382027 Rename Pleroma.Mix.Tasks.Common -> Mix.Pleroma and import it's functions
5 years ago
Ivan Tashkinov 363618207c Apply suggestion to lib/mix/tasks/pleroma/user.ex
5 years ago
Ivan Tashkinov 71fb75b7ef User sign out mix task.
5 years ago
William Pitcock 21dacd4b15 unbreak polls
5 years ago
William Pitcock 736d8ad6be implement anti link spam MRF
5 years ago
Alexander Strizhakov e4fa6b99ac aliases for mix tasks
5 years ago
rinpatch df2dab69a7 Merge branch 'begone-the-dot-hack' into 'develop'
5 years ago
lain 5c6c4ce634 Merge branch 'fix/rich-media-hashtags-again' into 'develop'
5 years ago
rinpatch 035368d363 Rich Media: Skip Microformats hashtags
5 years ago
lain 966317e052 Merge branch 'deps/update-auto-linker' into 'develop'
5 years ago
Ivan Tashkinov 64bc7ac619 Minor edit (comment).
5 years ago
Ivan Tashkinov 9f45f93949 Added more `redirect_uri` checks to prevent redirect to not explicitly listed URI.
5 years ago
rinpatch f30a3241d2 Deps: Update auto_linker
5 years ago
rinpatch c7acca2abb Mastodon API: Sanitize display names
5 years ago
rinpatch c4e4f7d0e4 Add proper error handling for when the post exceeds character limits
5 years ago
rinpatch dce27de733 Mastodon API: Remove the dot hack
5 years ago
rinpatch 49a49d3763 Merge branch 'removing-test-errors' into 'develop'
5 years ago
Haelwenn c34327b22e Merge branch 'fix/sanitize-report-content' into 'develop'
5 years ago
Alex S 0f59265a50 salmon fix
5 years ago
Maksim a04bf131e0 [#570] add user:notification stream
5 years ago
rinpatch bf6aa6f1a8 Fix report content stopping to be nullable
5 years ago
Alexander Strizhakov 7a4228be5a fix for new instances
5 years ago
rinpatch 44de34d170 Credo fixes
5 years ago
rinpatch 641bcaa44e Sanitize HTML in ReportView
5 years ago
lain 135c196769 Merge branch 'bugfix/980-polls-double-vote' into 'develop'
5 years ago
lain 37ee6c6e2c Merge branch 'update/phoenix-and-plug' into 'develop'
5 years ago
kaniini 52b1b0e45d Merge branch '963_oob_oauth_redirect_fix' into 'develop'
5 years ago
Mark Felder 9b908697dd OEmbed.OEmbedController does not exist in the Pleroma codebase. It was removed in commit 92c5640f
5 years ago
lain a440cf856d Mastodon API: Return the token needed for the chat.
5 years ago
rinpatch 62ffc00a5d Merge branch 'feature/add-background-image-to-mastoapi' into 'develop'
5 years ago
Alexander Strizhakov c2ca1f22a2 it is changed in compile time
5 years ago
lain 7f48b90bfb Merge branch 'fix/hashtag-rich-media' into 'develop'
5 years ago
Maksim ee4ed87fb4 [#948] /api/v1/account_search added optional parameters (limit, offset, following)
5 years ago
rinpatch d0ebc0edf3 Fix hashtags being picked up by rich media parser
5 years ago
Egor 58a094b605 Add copyright info to containment.ex
5 years ago
lain eac298083f MastodonAPI: Add a way to update the background image.
5 years ago
Egor Kislitsyn b22b10d3aa Improve rate limiter documentation
5 years ago
lain 315f090f59 Prometheus: Remove flaky process collection NIF.
5 years ago
lain 5965efb216 AccountView: Add user background.
5 years ago
lain 6f5a0cc14e Merge branch 'fix/ogp-title' into 'develop'
5 years ago
Egor Kislitsyn 30e54fd7e2 Handle HTTP 404 response
5 years ago
Egor Kislitsyn afae3ada22 Handle HTTP "410 Gone" response
5 years ago
Egor Kislitsyn a12f8e13c8 Improve <title> fallback; Add a test
5 years ago
Mark Felder 7363a0ea8a Revert "Only run Floki if title is missing from the map"
5 years ago
Mark Felder 97d2b1a45a Only run Floki if title is missing from the map
5 years ago
Mark Felder 097fdf6a5d Attempt to use <title> from HTML as a fallback
5 years ago
Ivan Tashkinov 4b2c29016c [#963] No redirect on OOB OAuth authorize request with existing authorization. OAuth-related refactoring.
5 years ago
lain 966543379d MastodonAPI Controller: Band-Aid double vote problem.
5 years ago
lain f46c628e6b Merge branch 'update_auto_linker' into 'develop'
5 years ago
Egor Kislitsyn 817c66bc3e Remove search result order for non-RUM indexes
5 years ago
Egor Kislitsyn bf22ed5fbd Update `auto_linker` dependency
5 years ago
Egor Kislitsyn 6f29865d43 Add option to restrict all users to local content
5 years ago
lain 63ab3c30eb Merge branch 'feature/rate-limiter' into 'develop'
5 years ago
Egor Kislitsyn ad04d12de6 Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
Egor Kislitsyn bc8f059367 Add rate limiting for search endpoints
5 years ago
Egor Kislitsyn 2e5affce61 Add RateLimiter
5 years ago
kaniini f2d72b1fe4 Merge branch 'preload-changes' into 'develop'
5 years ago
rinpatch 3ecfe2a6d4 Merge branch 'develop' into feature/releases
5 years ago
rinpatch 2a659b35f1 Add migrate/rollback to release tasks
5 years ago
rinpatch 7223c1b643 Use Mix.shell().yes? if available
5 years ago
rinpatch d7ec0898e5 Make mix tasks work in a release
5 years ago
lain 1e0fa899b6 Merge branch 'fix/transmogrifier-inReplyTo' into 'develop'
5 years ago
rinpatch d020f68e87 Transmogrifier: Do not crash if inReplyTo does not exist and can't be fetched
5 years ago
lain 970f71e222 Conversations: Fetch users in one query.
5 years ago
lain cb3258c863 Emoji: Use full path to check if a file is a directory.
5 years ago
kaniini d5330ed125 Merge branch 'fix/replace-mix-env' into 'develop'
5 years ago
rinpatch bc597d888c Mix Tasks: Switch to Application.ensure_all_started instead of
5 years ago
rinpatch 92213fb87c Replace Mix.env with Pleroma.Config.get(:env)
5 years ago
kaniini 62cdf701f4 Merge branch 'fix/elixir-master-deprecation-warnings' into 'develop'
5 years ago
lain cb2bcee842 User Search: Boost friends more strongly.
5 years ago
rinpatch 9ae8f012a5 Switch to manual Supervisor child specifications instead of Supervisor.Spec
5 years ago
Egor f82382de22 [#943] Make the unauthenticated users limitation optional
5 years ago
kaniini 3f6da9c45a Merge branch 'bugfix/377-stuck-follow-request' into 'develop'
5 years ago
kaniini a511d2f900 Merge branch 'improve-search' into 'develop'
5 years ago
lain e1370ba131 Utils: Use update_follow_state_for_all when appropriate.
5 years ago
lain ad19bfc7fe Utils: Split update_follow_state and update_follow_state_for_all.
5 years ago
lain 076c9ae40e User: Remove superfluous `maybe_follow`.
5 years ago
lain 3115b64cfe Transmogrifier: Add tests for incoming follows to locked accounts.
5 years ago
rinpatch 50afe5ab9e Merge branch 'fix-stuck-follows' into 'develop'
5 years ago
Egor Kislitsyn ddd4a09b72 Fix merge conflict
5 years ago
Egor Kislitsyn cfa5572d28 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
lain 024dfdc39c Typo + Linting.
5 years ago
lain 8b9a0dd4a7 User: Don't error out when following a user that's already followed.
5 years ago
Ivan Tashkinov 3eefb274f4 OAuth consumer: tests fix, comments, Keycloak config notes.
5 years ago
Egor Kislitsyn 1cb245c982 Fix formatting
5 years ago
Egor Kislitsyn 5b04f07a1e Limit search for unauthenticated users to local users only
5 years ago
Egor Kislitsyn 94b9e9d844 Update benchmark mix task
5 years ago
Egor Kislitsyn 93397fce3d Contain search for unauthenticated users
5 years ago
kaniini e4babb1c9f Merge branch 'explicit-addressing' into 'develop'
5 years ago
Egor Kislitsyn 6ba9055b51 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Haelwenn ab4915edcb Merge branch 'bugfix/956-activity-id-nil-conversations' into 'develop'
5 years ago
lain 18c35d84fd NodeInfo: Add explicit addressing to nodeinfo.
5 years ago
Maksim Pechnikov 1e7bb69a95 update ActivityPub#fetch_activities_query
5 years ago
Maksim Pechnikov d3d1704e84 Merge branch 'develop' into issue/941
5 years ago
Maksim Pechnikov 0acfcf6c52 update ActivityPub#fetch_activities_query
5 years ago
lain a3a7178b60 Participations: Filter out participations without activities.
5 years ago
Haelwenn 0eb7464c10 Merge branch 'emoji-loader-fix' into 'develop'
5 years ago
rinpatch 17383861ed Fix CommonAPI.vote returning tuples inside of the activity array instead of just activities
5 years ago
lain e74581a5c4 Emoji: Don't die when files are present in the emoji folder.
5 years ago
rinpatch 29b022bb59 Restrict `get_existing_votes` to only get Create activities
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
lain 4cab98b7bf Merge remote-tracking branch 'origin/develop' into explicit-addressing
5 years ago
William Pitcock 37a4ba0624 utils: access inReplyTo as an explicit string when fetching poll results`
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
William Pitcock 1c6cf0a348 nodeinfo: add pollLimits to metadata
5 years ago
kaniini 9f0d0d0805 Merge branch 'feature/mrf-subchain' into 'develop'
5 years ago
kaniini 9d2563a3de Merge branch 'generic-fe-settings' into 'develop'
5 years ago
Maksim Pechnikov f13d6c7f78 update api to set skip_thread_containment
5 years ago
eugenijm f2c4c99e03 Remove repeated scope lists
5 years ago
lain 80d4d83aac CommonAPI: Add explicit addressing.
5 years ago
lain 2b664b048e User: Add function to get AP ids from nicknames.
5 years ago
eugenijm 243d8ed94e Use workaround for the heavy checkmark symbol in iOS
5 years ago
Mark Felder f4e2595592 Merge branch 'develop' into update-oauth-template
5 years ago
Maksim Pechnikov 080e1aa70e add option skip_thread_containment
5 years ago
rinpatch dc91bcc0af Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
lambda 314758c25b Merge branch 'align-mastodon-conversations' into 'develop'
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch 5bd41fef8b Change query order in fetch_activities_for_context_query to make poll vote exclusion work
5 years ago
rinpatch 1fd8e19d76 Remove a TODO comment as the tests for poll view were written
5 years ago
rinpatch 2fe3a20638 Make error message about author's inability to vote more sensible
5 years ago
rinpatch e3c460353d Refresh the object in CommonAPI.vote instead of MastoAPI controller
5 years ago
William Pitcock 561a21986d formatting
5 years ago
William Pitcock 4087ccdab8 mrf: add subchain policy
5 years ago
William Pitcock edf772d41e mrf: allow a policy chain to be specified when filtering
5 years ago
William Pitcock 52e09807d4 reverse proxy: clean up some @hackney leftovers
5 years ago
kaniini 5402d04e3c Merge branch 'feature/notification-control-part-2' into 'develop'
5 years ago
rinpatch 6bc9e5c020 Mastodon API: Refresh the object before rendering it after voting
5 years ago
rinpatch 444406167b Mastodon API: actually check for poll votes
5 years ago
rinpatch 65db5e9f52 Resolve merge conflicts
5 years ago
rinpatch 300d94c628 Add poll votes
5 years ago
kaniini e706b42f51 Merge branch 'bugfix/visibility-indicator-litepub-dm' into 'develop'
5 years ago
Sergey Suprunenko 2bbc2a801f Remove all follower collections but actor's from "cc"
5 years ago
William Pitcock f2efe24cf8 visibility: if litepub:directMessage is asserted, always report the object as "direct" visibility
5 years ago
Haelwenn (lanodan) Monnier 5d3ece2861
Remove now useless flavours switching
5 years ago
Haelwenn (lanodan) Monnier aa9f52edd2
mastodon_api_controller.ex: Remove vanilla from supported_flavours
5 years ago
feld 6872c5f88f Mastodon API search default value for "resolve" is false
5 years ago
lambda 2993361075 Merge branch 'hotfix/leaking-lists' into 'develop'
5 years ago
lain 7861974ab2 MastodonAPI: Add extension to set and get pleroma_settings_store.
5 years ago
lain aaad85c4d9 AccountView: settings -> settings_store
5 years ago
lain eb2963bc43 User: Add settings store to Info, AccountView
5 years ago
rinpatch d9c0650ff9 Mastodon API: Fix lists leaking private posts
5 years ago
rinpatch a9eaa55885 Fix fix_explicit_addressing moving follower collection to cc and add tests for it
5 years ago
lain 97fb50d9fa Mastodon Conversation API: Don't return own account in 'accounts'.
5 years ago
Sergey Suprunenko 1690be991e Replace missing non-nullable Card attributes with empty strings
5 years ago
lambda 91ac8b075b Merge branch 'use-pleroma-config' into 'develop'
5 years ago
Egor Kislitsyn 99f70c7e20 Use Pleroma.Config everywhere
5 years ago
kaniini 6aec0d1b58 Revert "Merge branch 'feature/search-authenticated-only' into 'develop'"
5 years ago
Mark Felder e7edfd9fec Permit fetching statuses from API with nickname or id
5 years ago
Mark Felder 672fddb721 Default search limit should be 40
5 years ago
William Pitcock 0159a6dbe9 router: require oauth_read for searching
5 years ago
jeff 9f3bcf0efe Respect proxy settings federation
5 years ago
Sachin Joshi 1452a96ad6 ability to set and reset avatar, profile banner and backgroud in Mastodon API
5 years ago
lambda 5bb843ceec Merge branch 'refactor/die-httpoison-die' into 'develop'
5 years ago
William Pitcock 79503ce90f mrf: simple policy: fix matching imported activitypub and ostatus statuses
5 years ago
William Pitcock 750ede5764 notification: remove local/remote match rules (too complicated)
5 years ago
William Pitcock e7e2e7a1a6 user info: allow formdata for notification settings like every other API
5 years ago
William Pitcock 59a703fcbe twitter api: user view: expose user notification settings under pleroma object
5 years ago
William Pitcock 4030837d91 notification: add non_follows/non_followers notification control settings
5 years ago
William Pitcock 56fd7dbdd7 remove @websub and @ostatus module-level constants
5 years ago
William Pitcock 9bec891eb4 kill @httpoison
5 years ago
Aaron Tinio 9415932af5 Keep nodeinfo available when not federating
5 years ago
Sergey Suprunenko bbea5691da Mention all people in the beginning of DM
5 years ago
feld f916e4cdd9 Move the Cache Control header test to its own file
5 years ago
Egor Kislitsyn f333041a0a Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
rinpatch 8b2d39c1ec Change the order of preloading when fetching activities for context
5 years ago
Sachin Joshi 0c53d91f3b fix merge conflict
5 years ago
rinpatch e6b175ed6c Fix credo issues
5 years ago
William Pitcock baf72d6c58 mrf: simple policy: add the ability to strip avatars and banners from user profiles
5 years ago
William Pitcock 60f882b09f activitypub: run user objects through MRF filters
5 years ago
William Pitcock 75b6c4b004 mrf: defang policy modules for filtering user profile objects
5 years ago
rinpatch ac7702f800 Exclude Answers from fetching by default
5 years ago
rinpatch 19c90d47c4 Normalize poll votes to Answer objects
5 years ago
rinpatch 54e10a3e55 Disable timeouts for object pruning query
5 years ago
Maksim 620908a2db [#699] add worker to clean expired oauth tokens
5 years ago
lambda 714d8d4ef9 Merge branch 'feature/object-pruning' into 'develop'
5 years ago
lambda ff363f70b5 Merge branch 'refactor/keys' into 'develop'
5 years ago
William Pitcock 1344c85e2f salmon: fix credo
5 years ago
rinpatch cdac5efd10 Merge branch 'bugfix/account_view_source.note' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier 0e2c215a00
MastoAPI AccountView: fill source.note with plaintext version of note
5 years ago
Sachin Joshi 17bfd000d7 Ability to reset avatar, profile banner and backgroud
5 years ago
kaniini 79c2cef2fb Merge branch 'mongooseim-support' into 'develop'
5 years ago
kaniini ab6e15622b Merge branch 'fix/api-fallback' into 'develop'
5 years ago
Sergey Suprunenko 9134848170 Do not truncate DM when it contains newlines and safe_dm_mentions is set to true
5 years ago
William Pitcock 045803346d move key generation functions into Pleroma.Keys module
5 years ago
William Pitcock a023ca004c prune objects task: use Repo.delete_all()
5 years ago
Aaron Tinio 3ab9255eda Respond with a 404 Not implemented JSON error message
5 years ago
William Pitcock 16b260fb19 add mix task to prune the object database using a configured retention period
5 years ago
William Pitcock 73df9d690d object: fetcher: add support for reinjecting pruned objects
5 years ago
William Pitcock c2b0b82e6a object: add Object.prune()
5 years ago
rinpatch 63b0b7190c MastoAPI: Add GET /api/v1/polls/:id
5 years ago
rinpatch ff61d34502 Accept question objects for conversations
5 years ago
rinpatch 5f67c26baf Accept strings in expires_in because sasuga javascript
5 years ago
rinpatch 0407ffe75f Change validation error status codes to be more appropriate
5 years ago
rinpatch ee68244141 Do not stream out poll replies
5 years ago
rinpatch d7c4d029c8 Restrict poll replies when fetching activiites for context
5 years ago
rinpatch f28747858b Actual vote count in poll view
5 years ago
rinpatch a53d062730 Fix posting non-polls from mastofe
5 years ago
rinpatch aafe30d94e Handle poll votes
5 years ago
rinpatch 3f96b3e4b8 Enforce poll limits and add error handling for MastodonAPI's post endpoint
5 years ago
rinpatch 76a7429bef Add poll limits to /api/v1/instance and initial state
5 years ago
kaniini be6b57193a Merge branch 'trivial/increase-hackney-timeouts' into 'develop'
5 years ago
William Pitcock c972d0bb14 http: bump connection timeout to 10 seconds
5 years ago
kaniini 94caca924d Merge branch 'fix/prometheus-ecto-error-when-not-configured' into 'develop'
5 years ago
kaniini d4847b17ca Merge branch 'refactor/add-virtual-thread-muted-field' into 'develop'
5 years ago
Aaron Tinio f96e9b28bb Fix prometheus-ecto error when not configured
5 years ago
Aaron Tinio eb02edcad9 Add virtual :thread_muted? field
5 years ago
Sadposter daeae8e2e7
Move default mascot configuration to `config/`
5 years ago
Sadposter 3d0d9e7a56
Use string map for default mascot
5 years ago
Sadposter e81f0fc6d4
Add mascot get/set tests
5 years ago
Sadposter 54e9cb5c2d
Add API endpoints for a custom user mascot
5 years ago
Aaron Tinio 2375e9a95b Add report filtering to MRF.SimplePolicy
5 years ago
rinpatch 6430cb1bf7 Restrict poll replies from fetch queries by default
5 years ago
rinpatch 1d90f9b969 Remove tags/mentions/rich text from poll options because Mastodon and
5 years ago
rinpatch 5ece901af3 Resolve merge conflicts and remove IO.inspects
5 years ago
rinpatch fd920c8973 Mastodon API: Add support for posting polls
5 years ago
rinpatch 8e9a764dfc Merge branch 'feature/mrf-always-nsfw' into 'develop'
5 years ago
William Pitcock c4a55e167a add Changelog entry
5 years ago
William Pitcock dc08159538 also suppress link previews from posts marked #nsfw
5 years ago
William Pitcock 290f5b2cfe config: make sending the user agent configurable, disable sending the user agent in tests
5 years ago
William Pitcock d3b8cd342f http: request builder: send user-agent when making requests
5 years ago
William Pitcock 0da1233e8e rich media: suppress link previews if post is marked as sensitive
5 years ago
William Pitcock 78588dbd80 mrf: simple policy: mark all posts instead of posts with media as sensitive if they match media_nsfw
5 years ago
Egor Kislitsyn 3b71612d3d Improve Pleroma.Web.ActivityPub.ActivityPub.maybe_update_cc/3
5 years ago
lain 075eecec90 Linting.
5 years ago
lain f959bf7aa6 MongooseIM: Add basic integration endpoints.
5 years ago
Egor Kislitsyn 557f0e33a7 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Egor Kislitsyn f2936e0a07 Add `ap_id` to List
5 years ago
lain 412a3d8a0f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into rum-index
5 years ago
lambda e5b34f5e05 Merge branch 'ecto_sql_update' into 'develop'
5 years ago
lambda 1dcdcd8871 Merge branch 'bugfix/903-mastoapi-relationship-requested' into 'develop'
5 years ago
lambda 46684db84d Update account_view.ex
5 years ago
lain 249b31ffe5 Fix specs.
5 years ago
rinpatch 642a67dd44 Render polls in statuses
5 years ago
Alexander Strizhakov 7ed682213f Fix/902 random compile failing
5 years ago
Haelwenn (lanodan) Monnier 68c75a08e8
MastoAPI account_view.ex: requested is false when following is true
5 years ago
Aaron Tinio 70235ce840 Fix typo: s/"tags"/"tag"/g
5 years ago
kaniini bf84d50c76 Merge branch 'feature/890-add-report-uri' into 'develop'
5 years ago
Sergey Suprunenko 2c303afc8b Remove duplicated entries in users' following lists
5 years ago
Sergey Suprunenko e2b3a27204 Add Reports to Admin API
5 years ago
feld e190b3022b Merge branch 'fix/domain-unblocked-reblogs' into 'develop'
5 years ago
Mark Felder efa61c1610 Move to pleroma.database mix task
5 years ago
Mark Felder ebb0482116 Merge branch 'develop' into conversations-import
5 years ago
lambda fde30aee43 Merge branch 'feature/sql-thread-sat' into 'develop'
5 years ago