* origin/develop: (208 commits)
Document inclusion of wasm-unsafe-eval
Update http_security_plug.ex
Update lib/pleroma/web/plugs/http_security_plug.ex
try to fix ruffle on chrome
Alter priority of Delete activities to be lowest
Deletes do not generate notifications of any kind, so skip trying
Object.Fetcher: Set reachable on successful fetch
Translated using Weblate (Ukrainian)
Added translation using Weblate (Ukrainian)
Added translation using Weblate (Ukrainian)
Lint
Update config cheatsheet
Clarify config description
Document Oban workers getting timeouts defined
Lint
Define sane Oban Worker timeouts
Clean up stale entries in mix.lock
Document removal of Quack
Add migration to remove Quack from ConfigDB
Remove Quack logging backend
...
* origin/develop: (115 commits)
Change test case wording
Use `duration` param for mute expiration duration
Emoji: apply recommended tail call changes
Extract translatable strings
Emoji: split qualification variation into a module
Add authorized_fetch_mode to description.exs
EmojiReactValidator: use new qualification method
Emoji: implement full-qualifier using combinations
EmojiReactValidator: fix emoji qualification
Revert "Merge branch 'fix/emoji-react-qualification' into 'develop'"
Translated using Weblate (French)
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
Translated using Weblate (Chinese (Simplified))
...
* origin/develop: (294 commits)
Fix incorrect fallback when English is set to first language
Fix eratic test for POST /api/pleroma/admin/reports/:id/notes
After code review
Support fallbacking to other languages
Delete report notifs when demoting from superuser
Update Caddyfile to Caddy v2
Lint
Support multiple locales from userLanguage cookie
Support multiple locales formally
Make lint happy
Add test for fallbacking to a general language
Fallback to a variant if the language in general is not supported
Add changelog
Document API addition
Allow user to register with custom language
Allow update_credentials to update User.language
Send emails i18n'd using backend-stored user language
Make all emails translatable
Fix digest test
Make mail and mailer translatable
...
* origin/develop: (185 commits)
OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions
OpenAPI: Add `admin:` scope prefix to admin operations
Remove `:auth, :enforce_oauth_admin_scope_usage`
Do not want these interfering with develop builds
Make it possible to generate custom docker images by prefixing the branch name with "build-docker"
Chats: Introduce /api/v2/pleroma/chats which implements pagination
ChatMessage schema: Add `unread` property
Relicense documentation under CC-BY-4.0
Add API endpoint to remove a conversation
update changelog to mention change of avatar
replace avi.png
Add myself to .mailmap
[#2053] Changed `Notification/for_user_query/2` to use join to filter out inactive actors instead of subselect of _all_ inactive AP ids from `users`.
[#2510] Improved support for app-bound OAuth tokens. Auth-related refactoring.
not used mock
OpenAPI spec: Do not show build enviroment in the spec version
OpenAPI spec task: Load pleroma application to get version info
Lint
Revert "Add plaintext support for all emails except the digest"
MRF NoEmptyPolicy: Deny posts from local users if there is no content or only mentions.
...
This fixes connection failures when trying to retrieve large files.
It is less common in typical Pleroma usage, but it's possible to encounter
this on a cloud instance with lower memory.
* 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
...