* origin/develop: (145 commits)
CHANGELOG.md: Remove wrong entries from Unreleased(patch)
Only run one attachment cleanup job per node
Just validate command is in PATH; forking a shell is wasteful
Linting.
Pbkdf2: Use it everywhere.
Password -> Password.Pbkdf2
Linting
Password: Replace Pbkdf2 with Password.
Password: Add password module
COPYING: Bump copyright to 2021
Bump Copyright to 2021
Pagination: Don't be dos'd by random parameters.
Simplify. We will always have a result from Upload.base_url/0, so just add it to the list
Fix regression in MediaProxy.local?/0 and appending the Upload.base_url to whitelisted domains
ChatMessages: Fix pagination headers.
Formatting
.formatter.exs: Format optional migrations
Add development section
Apply 4 suggestion(s) to 2 file(s)
Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0
...
* origin/develop: (330 commits)
Translated using Weblate (Chinese (Simplified))
Minor refactoring of the logic for hiding followers/following counts.
changelog
Fix for dropping posts/notifs in WS when mix task is executed
Fixed Rich Media Previews
Majic: specify commit so source users do not get surprise updates
Switch to a fork of Hackney 1.15.2 for now so we can have our URL normalization bugfix
instance.gen: Warn that stripping exif requires exiftool
instance.gen task: Only show files which will be actually overwritten
Translated using Weblate (Ukrainian)
Added translation using Weblate (Ukrainian)
Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).
Changed default OAuth token expiration time to 30 days.
[#3112] .gitattributes fix.
Update CHANGELOG
ApplicationRequirements: Add test, more text for pool size.
Apply 1 suggestion(s) to 1 file(s)
Add a startup error for modified Repo pool_size
instance.reachable?: Limit to binary input
instance: Do not fetch unreachable instances
...
Current FedSocket implementation has a bunch of problems. It doesn't
have proper error handling (in case of an error the server just doesn't
respond until the connection is closed, while the client doesn't match
any error messages and just assumes there has been an error after 15s)
and the code is full of bad descisions (see: fetch registry which uses
uuids for no reason and waits for a response by recursively querying a
ets table until the value changes, or double JSON encoding).
Sometime ago I almost completed rewriting fedsockets from scrach to
adress these issues. However, while doing so, I realized that fedsockets
are just too overkill for what they were trying to accomplish, which is
reduce the overhead of federation by not signing every message.
This could be done without reimplementing failure states and endpoint
logic we already have with HTTP by, for example, using TLS cert auth,
or switching to a more performant signature algorithm. I opened
https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further
discussion on alternatives to fedsockets.
From discussions I had with other Pleroma developers it seems like they
would approve the descision to remove them as well,
therefore I am submitting this patch.
While taking a final look at instance.gen before releasing I noticed
that the release_env task outputs messages in broken english. Upon
further inspection it seems to have even more severe issues which, in
my opinion, warrant it's at least temporary removal:
- We do not explain what it actually does, anywhere. Neither the task
docs nor instance.gen, nor installation instructions.
- It does not respect FHS on OTP releases (uses /opt/pleroma/config even
though we store the config in /etc/pleroma/config.exs).
- It doesn't work on OTP releases, which is the main reason it exists.
Neither systemd nor openrc service files for OTP include it.
- It is not mentioned in install guides other than the ones for Debian
and OTP releases.
* origin/develop: (162 commits)
Improve Keyword descriptions for AdminFE
Fixed User.is_discoverable attribute rendering in Admin API User view.
@doc fix.
FrontStatic plug: excluded invalid url
phoenix_controller_render_duration is no longer available in telemetry of Phoenix 1.5+
ActivityPub: Add back debug call + explanation.
clients.md: Add AndStatus, note supported protocols
Fix link reference
NoNewPrivileges breaks ability to send email via sendmail because it restricts ability to run setuid/setgid binaries
Changelog: Add info about whitespace name remote users.
User: Correctly handle whitespace names.
Translated using Weblate (Chinese (Simplified))
[#3059] Used forked prometheus-phx to remove log spam.
[#3059] Formatting fix.
[#3059] Fixed Phoenix 1.5 telemetry processing.
Changelog: Add information about self-chats
SideEffects: Correctly handle chat messages sent to yourself
fix module name
update changelog
update docs
...
* origin/develop: (180 commits)
Deep link to the user account in AdminFE in account confirmation emails
Spelling
Ask user to use matching values for database setup
Syntax error
Don't always need to drop
Improve backup/restore documentation
Lint
Apply 1 suggestion(s) to 1 file(s)
Apply 1 suggestion(s) to 1 file(s)
Apply 2 suggestion(s) to 2 file(s)
Improve description yet again
Don't leak internal variables in the docs. They're useless to users.
Credo
Improve descriptions for reserved and proxies
Add test for an entry without CIDR format
Move hardcoded default configuration into config.exs
Fix docs for default headers used by RemoteIp. We only use X-Forwarded-For by default.
Document the NSFW link preview change
Add helper function to convert single IPs into CIDR format if they were not provided that way
Docs: Modify docs so the postgres config is harder to get wrong.
...
* origin/develop: (566 commits)
Fix MRF reject for ChatMessage
Create MRF.filter_pipeline to inject :object_data when present
KeywordPolicy: Still match when fields are absent
pleroma-fe bundle: bump to b225c3578f3c89af5ed3a0be3f8f3a6bbcedcc7d
CHANGELOG.md: Add 2.1.2 entry
mix.exs: bump version to 2.1.2
Merge branch '2130-mfa-users-oauth-login-fix' into 'develop'
Merge branch 'fix/streaming-termination-errors' into 'develop'
Merge branch 'fix/mrf-simple-welcome-chats' into 'develop'
Merge branch 'reply-visibility-user-guard' into 'develop'
Merge branch 'bugfix/mrf-ingestion' into 'develop'
adapt to new user factory behavior
add test and changelog entry
User search respect discoverable flag
Merge branch 'hotfix/rich-media-compile-error' into 'develop'
Merge branch 'feat/rich-media-head' into 'develop'
Deny ConfigDB migration when deprecated settings found
RichMedia: Fix log spam on failures and resetting TTL on cached errors
Return the file content for `GET /api/pleroma/admin/instance_document/:document_name`
add description to changelog
...
* origin/develop: (67 commits)
Fix example json response
ChatMessage schema: Add preview cards.
ChatMessageReferenceView: Display preview cards.
OTP users need Pleroma running to execute pleroma_ctl, so reorganize instructions.
Attempt to fix markdown formatting
Apply 1 suggestion(s) to 1 file(s)
set versions
updated `cors_plug`
set `postgrex` version
set `web_push_encryption` version
updated `calendar` package
Expose seconds_valid in Pleroma Captcha API endpoint
:show_reactions, refactor the other test
:show_reactions, add CHANGELOG.md, refactor test
feed/user_controller: Return 404 when the user is remote
AccountController: Don't explicitly ask to keep users unconfirmed.
EnsureRePrepended: Don't break on chat messages.
update mogrify package
set http_signatures version
set `jason` version
...
* origin/develop: (53 commits)
Add warning against parsing/reusing MastoFE settings blob
Update NotificationOperation spec
Add `is_muted` to notifications
Translated using Weblate (Italian)
Added translation using Weblate (Italian)
Add include for the "Further reading" section
HellthreadPolicy: Restrict to Notes and Articles.
Apply suggestion to lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
proper error codes for error in adminFE
Apply suggestion to lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
cheatsheet.md: no_attachment_links → attachment_links
fix for packs pagination
Stop filling conversation field on incoming objects (legacy, unused)
Only accounts with Service actor_type are considered as bots
Add support for bot field in update_credentials
README: Add some troubleshooting info for compilation issues.
[#1873] Fixes missing :offset pagination param support. Added pagination support for hashtags search.
default page size for files
changelog entry
adding overall count for packs and files
...
* origin/develop: (276 commits)
Remove `poll` from `notification_type` OpenAPI spec
credo fix
CHANGELOG.md: mention minimal elixir version update
Update OTP releases to official images of 1.10.3
Chunk the notification type backfill migration
moving custom ecto types in context folders
Upgrade to Elixir 1.9
naming
fix attemps to merge map
fix for updated hackney
Mogrify args as custom tuples
Fix tests
Changelog: Add info about conversation view changes.
Conversations: Return last dm for conversation, not last message.
Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page
ControllerHelper: Always return id field.
Apply suggestion to lib/pleroma/web/controller_helper.ex
Remove use of atoms in MRF.UserAllowListPolicy
Fix atom leak in Rich Media Parser
Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2
...
* origin/develop: (249 commits)
Add a test for accounts/update_credentials
Fix activity deletion
Add emoji support in statuses in staticfe
AccountView: fix for other forms of <br> in bio
Mastodon API Account view: Remove an outdated hack
Improved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).
restrict_unauthenticated setting
include_types parameter in /api/v1/notifications
remove federated testing
Improved in-test config management functions.
Fix ssl option on Ecto config breaking release
Admin API: `PATCH /api/pleroma/admin/users/:nickname/credentials`, `GET /api/pleroma/admin/users/:nickname/credentials`.
Admin API: `PATCH /api/pleroma/admin/users/:nickname/change_password`
removing with_move parameter
Improve documentation of mrf_object_age
gitlab: create templates for bug reports and release MRs
warnings fix
removing from descriptions.exs deprecated settings
fix for content-type header for tag feed
adding rss for user feed
...
* origin/develop: (734 commits)
update fast sanitize dependency
streamer: use direct object for filter checks when there is no valid child object in an activity
Bump fast_sanitize version
Fix moderation log crash
Undo dialyzer fix
Fix count
AdminAPI: Omit relay user from users list
Fix "the call ... will never return" warning
Bump fast_sanitize dependency so this builds on more than just Linux
Remove following column from the migrations
Update test for get_recipients_from_activity
Fix bookmark migration using a query with a schema
Add a migration to fix blocked follows
Fix duplicate recipients
Rip out the rest of htmlsanitizeex
Remove commented-out code
Fix XSS emoji test
Bump fast_sanitize dependency
Fix two migrations sharing the same module name
Migrate missing follow requests
...
* origin/develop: (159 commits)
[#1043] fix search accounts.
tasks/pleroma/instance.ex: Change :upload_dir to :uploads_dir
Expose `skip_thread_containment` in nodeinfo
Split alters rather than work with indexes
Use fallback values for search queries
Fix migration
[#1048] Fixed version parsing in pleroma_ctl. Closes#1036.
[#1048] Resolved violations of SemVer version format. Refactoring.
Add fallback value to the admin report view.
Move changelog entries
[#1033] Fix database migrations
Update changelog and admin API docs with tags, display_name, avatar additions
OTP Release install docs: Remove --dry-run in cron certbot command
Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)
[#1026] Filter.AnonymizeFilename added ability to retain file extension with custom text
Fix not being able to pin unlisted posts
Add PLEROMA_BUILD_ENV to override env for the version generator and use it in the CI for building docs
Add a caveat for docker deployment in the config docs
Revert "Build releases only on tags or develop"
Build releases only on tags or develop
...
* origin/develop: (193 commits)
Remove search result order for non-RUM indexes
Update `auto_linker` dependency
Document TagPolicy in `rewrite_policy` section
Import release config from env variable or /etc/pleroma/config.exs and warn if the file is missing
Add option to restrict all users to local content
Better default parameters for suggestion
Update `plug` dependency
Update `ex_rated` dependency
Replace `MastodonAPIController.account_register/2` rate limiter
Update CHANGELOG
Add rate limiting for search endpoints
Add RateLimiter
Remove unused imports and aliases from migration
Update pleroma_ctl
Add more tests for using media_proxy and whitelists
Add a changelog entry for releases
specify that a version is needed for rollback
Add migrate/rollback to release tasks
Fix wrong placement of serve_endpoints
Use Mix.shell().yes? if available
...