* origin/develop: (208 commits)
Web.OAuth.OAuthControllerTest: Add test against token formatting
Web.OAuth.OAuthController: Fix scopes Enum.join for OAuth response
activitypub: fix date header format
Added migration for setting default tags in existing users records
config: fix chat endpoint path
mastodon websocket: return errors using ok, not stop
mastodon websocket: bring back infinity timeout
mastodon websocket: use pattern match to get query data, robustly handle errors
config: update config for cowboy 2 endpoints
mastodon api: websocket: update code for cowboy 2.x
mix: update dependencies for cowboy 2.0
Renamed *DatabaseAuthenticator to *Authenticator.
Added `auth_template/0` to DatabaseAuthenticator.
Made auth customization be runtime-configurable.
Added deactivated to the user view
Remove parts of the old activity view.
Add user muted status info to twitterapi.
Add user muted status info to MastodonAPI.
Add `with_muted` param.
Follower requests: Utilize object index.
...
* origin/develop: (280 commits)
Mark streaming feature for Apps in README.md
Update README.md
hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
tests: add a rich media card that contains all relevant fields
test: add some regression tests for the rich media card rendering
mastodon api: rich media: don't clobber %URI struct with a string
adds a couple of explicit examples for ExSyslogger
Fix if clause in activity_pub user_view
rids the duplicate timestamp from default ExSyslogger config
update frontend
Allow to configure visibility for admin and moderator badges
Add is_admin and is_moderator boolean fields to the user view
rich media: parser: reject any data which cannot be explicitly encoded into JSON
test: twitterapi: fix another possible test failure case
test: twitterapi: fix the test breakage for real
mastodon api: fix rendering of cards without image URLs (closes#597)
Fix SQL
ARGLE GARBLE
html: don't attempt to parse nil content
activitypub: transmogrifier: fix bare tags
...
* origin/develop: (194 commits)
Mix.Tasks.Pleroma.Instance: Generate signing_salt
Send delete event over Mastodon streaming api
Add a test to ensure #39 is fixed.
update frontend
Set custom similarity limit.
Make use of the indices.
test: add regression test for to/cc clobbering
[#477] User trigram index adjustment.
[#477] User: FTS and trigram search results mixing (to handle misspelled requests).
[#491] Made full nicknames be preserved in user links text only in Bio.
activitypub: add a match clause for objects, not just activities
activitypub: transmogrifier: do not clobber the addressing on relayed announcements
activitypub: allow is_public?() to work on any type of map representing an AS2 object
activitypub: relay: chase selective public announce changes
activitypub: announce: add new public parameter
Add comments and change default path of the Mix binary.
Fix bad link in likes collection
[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
formatting
Default to disabled in the code in case the setting is absent from config.exs
...
Nginx is currently not caching data because proxy_buffering needs to be
enabled for caching to work at all, and we are receiving a Cache-Control
header from Pleroma that states "max-age=0, private, must-revalidate"
Even disregarding the Cache-Control header that should actually be set
to "public, max-age=1209600" as defined in the reverse_proxy code, we
don't want to obey this header at all as it overrides our Nginx caching
rules.
* origin/develop: (295 commits)
update frontend
Fix uploads test.
fix text field
don't re-use build
Fix tagging problems for existing instances.
Alias Kocaptcha in the test
Use :ets.match_delete to delete old captchas
Switch to phoenixframework/phoenix as the needed change is merged.
Integration tests for mastodon websocket
Cowboy handler for Mastodon WebSocket
Support both OAuth token record and token string in UserView
minutes->seconds_retained in config.md
Clean captchas up periodically, not schedule it after theyre created
Fix captcha tests
Change minutes_retained config to seconds_retained
Make the hosted kocaptcha the default value
Add a configurable auto-cleanup for captchas
More put_view.
Use bindings dbuser and dbname in sample_psql.eex
Upgrade to Phoenix 1.4
...
* origin/develop: (92 commits)
Web.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket
Web.Streamer: Get unauthenticated statuses representation
Web.MastodonAPI.MastodonSocket: Put access_token at function-level
Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints
Improved version string
mediaproxy: fix empty url & add some tests
RetryQueue: tiny refractor, add tests
Various runtime configuration fixes
update pleroma frontend
Federator: add retry queue.
activitypub: object view: avoid leaking private details
ostatus controller: respond with AS2 objects instead of activities to notice URIs
tests: federator: fix formatting
activitypub: transmogrifier: make deletes secure
Web.AdminAPI.AdminAPIControllerTest: New Test
Web.AdminAPI.AdminAPIController: Fixes bugs found with ExUnit
test/plugs/user_is_admin_plug_test: New test
lib/mix/tasks/relay*: Use a with block
Change Relay from `status` to `{status, message}`
Web.Router: Change right to permission group (except for function names)
...
* origin/develop: (207 commits)
Update README.md
Mastodon API: Fix list streaming
nginx example config: remove CORS headers, now managed by CORSPlug.
config: properly configure CORSPlug.
oauth: fix token decode regression
tests: add test for internal data stripping
activitypub: transmogrifier: sanitize internal representation details from outgoing objects
lib/mix/tasks: s/@doc/@moduledoc/
lib/mix/tasks/unsubscribe_user.ex: Fix syntax from bad line copy
lib/mix/tasks: Add remaining documentation for mix tasks
config/config.md: Add lines inspired/copied from CONFIGURATION.md
README.md: Add note about config/config.md
README.md: Put the systemd’s .service note to the relevant section
README.md: Add note for OpenRC
config/config.md: scope_options_enabled also addresses subject
config/config.md: Fill all the blanks
config/config.md: Complete it [WIP]
config/config.md: Create
Document the mix tasks in ex_doc instead
Document mix tasks
...
'self' only allows forms submitted to the same origin, which
breaks the "remote follow" form. To allow remote following,
we want to allow forms to be submitted to any host.
* origin/develop: (129 commits)
Uploaders.S3: Replace unsafe characters in object key
update pleroma frontend
test: add smoketests for the scrubbing policies
html: twittertext: add missing catchall scrub function
twitter api: add no_rich_text option to userview for account prefs
test: add tests for new User.html_filter_policy()
mastodon api: formatting
twitter api: add support for disabling rich text
mastodon api: add support for user-supplied html policy
twitter api: add support for user-specified html policy
user: add User.html_filter_policy()
html: default to using normal scrub policy if provided scrub policy is nil
mix: remove fix_ap_users task, now obsolete
test: add test proving that users are refreshed when stale
user: implement dynamic refresh of profiles (gets rid of need for fix_ap_users task)
Update mastodon frontend
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to 2.5.0
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Remove unused variables
[Pleroma.Web.Router]: Fake /api/v1/endorsements
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
...