Mark Felder [Tue, 22 Oct 2019 19:07:59 +0000 (14:07 -0500)]
Leverage nginx proxy cache to store items with a 1 year TTL with no size limit.
It does not purge items when they expire, but will only update them if the origin's
copy has changed for some reason. If origin is offline/unavailable or gone forever
it will still serve the cached copies.
Mark Felder [Tue, 22 Oct 2019 16:52:21 +0000 (11:52 -0500)]
Initial doc about storing remote media
kaniini [Mon, 21 Oct 2019 23:50:01 +0000 (23:50 +0000)]
Merge branch 'feature/push-subject-for-dm' into 'develop'
Direct messages should provide a distinct push notification subject
See merge request pleroma/pleroma!1864
Mark Felder [Mon, 21 Oct 2019 23:35:43 +0000 (18:35 -0500)]
Spelling
Mark Felder [Mon, 21 Oct 2019 23:34:20 +0000 (18:34 -0500)]
Add tests for the subject of push notifications
rinpatch [Mon, 21 Oct 2019 16:44:17 +0000 (16:44 +0000)]
Merge branch 'fix/notifs-exclude-blocked-from-with-muted' into 'develop'
Do not include notifications from blocked users when with_muted is set
See merge request pleroma/pleroma!1869
rinpatch [Mon, 21 Oct 2019 09:38:35 +0000 (12:38 +0300)]
Do not include notifications from blocked users when with_muted is set
This is not what with_muted is for per documentation and it was agreed
on irc that this behavior doesn't make sense.
kaniini [Mon, 21 Oct 2019 09:26:17 +0000 (09:26 +0000)]
Merge branch 'feature/masto_api_markers' into 'develop'
[#1275] Markers /api/v1/markers
See merge request pleroma/pleroma!1852
Maksim Pechnikov [Mon, 21 Oct 2019 08:53:11 +0000 (11:53 +0300)]
update changelog
Maksim Pechnikov [Mon, 21 Oct 2019 08:32:28 +0000 (11:32 +0300)]
Merge branch 'develop' into feature/masto_api_markers
kaniini [Mon, 21 Oct 2019 07:54:48 +0000 (07:54 +0000)]
Merge branch 'feature/activitypub-semantics' into 'develop'
activitypub semantics
See merge request pleroma/pleroma!1798
kaniini [Sun, 20 Oct 2019 11:04:22 +0000 (11:04 +0000)]
Merge branch 'chore/add-missing-websub-drop-migration' into 'develop'
add missing migration to drop websub table
See merge request pleroma/pleroma!1868
Ariadne Conill [Sun, 20 Oct 2019 10:39:03 +0000 (10:39 +0000)]
add missing migration to drop websub table
Ariadne Conill [Sat, 19 Oct 2019 23:23:13 +0000 (23:23 +0000)]
change Maksim's test description
Ariadne Conill [Sat, 19 Oct 2019 17:53:52 +0000 (17:53 +0000)]
tests: add test to ensure invisible actors are rendered with the invisible hint set to true
Ariadne Conill [Sat, 19 Oct 2019 17:50:17 +0000 (17:50 +0000)]
tests: add test verifying the relay user is invisible
Ariadne Conill [Sat, 19 Oct 2019 17:46:24 +0000 (17:46 +0000)]
rework to use properties instead of compound typing, per SocialCG
Maksim Pechnikov [Mon, 14 Oct 2019 06:31:08 +0000 (09:31 +0300)]
fix test
Maksim Pechnikov [Mon, 14 Oct 2019 06:09:32 +0000 (09:09 +0300)]
added test fo Pleroma.Web.MastodonAPI.StatusController
Ariadne Conill [Tue, 8 Oct 2019 20:59:43 +0000 (20:59 +0000)]
test: activitypub: use User.invisible?/1 for testing invisibility
Ariadne Conill [Sat, 5 Oct 2019 20:41:33 +0000 (20:41 +0000)]
implement invisible support for remote users
Ariadne Conill [Sat, 5 Oct 2019 20:11:43 +0000 (20:11 +0000)]
user: implement User.invisible?/1
Ariadne Conill [Sat, 5 Oct 2019 20:06:31 +0000 (20:06 +0000)]
relay: set invisible to true
Ariadne Conill [Sat, 5 Oct 2019 20:06:03 +0000 (20:06 +0000)]
user info: add invisible field
kaniini [Sat, 19 Oct 2019 23:20:38 +0000 (23:20 +0000)]
Merge branch 'chore/fixup-testsuite-import' into 'develop'
tests: ostatus controller tests: fix sporadic compilation failure
See merge request pleroma/pleroma!1867
Ariadne Conill [Sat, 19 Oct 2019 23:16:15 +0000 (23:16 +0000)]
tests: ostatus controller tests: fix sporadic compilation failure
Haelwenn [Sat, 19 Oct 2019 20:11:58 +0000 (20:11 +0000)]
Merge branch 'feature/mastofe-pwa' into 'develop'
MastoFE: Add PWA manifest.
See merge request pleroma/pleroma!1834
Haelwenn [Sat, 19 Oct 2019 19:55:16 +0000 (19:55 +0000)]
Merge branch 'mark-all-conversations-as-read' into 'develop'
Pleroma API: `POST /api/v1/pleroma/conversations/read`
See merge request pleroma/pleroma!1830
rinpatch [Sat, 19 Oct 2019 19:13:00 +0000 (19:13 +0000)]
Merge branch 'develop-version-bump' into 'develop'
mix.exs: Bump version for develop builds
See merge request pleroma/pleroma!1866
rinpatch [Sat, 19 Oct 2019 18:59:04 +0000 (21:59 +0300)]
mix.exs: Bump version for develop builds
As per discussion on irc, we already used GNU-style versioning system
for release candidates, so it makes sense to use it for develop builds as well.
eugenijm [Fri, 11 Oct 2019 03:40:58 +0000 (06:40 +0300)]
Pleroma API: `POST /api/v1/pleroma/conversations/read` to mark all user's conversations as read
KokaKiwi [Sat, 19 Oct 2019 10:11:25 +0000 (12:11 +0200)]
Add documentation for PWA manifest configuration.
KokaKiwi [Fri, 11 Oct 2019 12:48:01 +0000 (14:48 +0200)]
MastoFE: Add PWA manifest.
rinpatch [Sat, 19 Oct 2019 08:51:03 +0000 (08:51 +0000)]
Merge branch 'mix-emoji-task-pack-json' into 'develop'
For pleroma.emoji downloaded packs, generate pack.json instead
See merge request pleroma/pleroma!1748
Mark Felder [Fri, 18 Oct 2019 22:56:15 +0000 (17:56 -0500)]
Merge branch 'develop' into feature/push-subject-for-dm
Mark Felder [Fri, 18 Oct 2019 22:51:34 +0000 (17:51 -0500)]
Direct messages should provide a distinct push notification subject
rinpatch [Fri, 18 Oct 2019 22:29:04 +0000 (22:29 +0000)]
Merge branch 'patch-1' into 'develop'
Fix a typo in default static directory configuration for OTP releases
Closes #1289
See merge request pleroma/pleroma!1829
rinpatch [Fri, 18 Oct 2019 21:40:07 +0000 (21:40 +0000)]
Merge branch 'fix/pleroma-ctl-rpc' into 'develop'
pleroma_ctl: Fix attempting to use RPC for config generation
See merge request pleroma/pleroma!1862
rinpatch [Fri, 18 Oct 2019 21:37:39 +0000 (00:37 +0300)]
pleroma_ctl: Fix attempting to use RPC for config generation
kaniini [Fri, 18 Oct 2019 16:51:04 +0000 (16:51 +0000)]
Merge branch 'feature/relay-list' into 'develop'
Admin API: Ability to list all followed relays
See merge request pleroma/pleroma!1835
Maxim Filippov [Fri, 18 Oct 2019 16:35:58 +0000 (18:35 +0200)]
Merge branch 'develop' into feature/relay-list
kaniini [Fri, 18 Oct 2019 16:04:57 +0000 (16:04 +0000)]
Merge branch 'feature/ostatus-removal' into 'develop'
ostatus removal
Closes #1145
See merge request pleroma/pleroma!1854
Ariadne Conill [Fri, 18 Oct 2019 15:46:46 +0000 (15:46 +0000)]
tests: mastodon api: fix broken test that used OStatus
Ariadne Conill [Fri, 18 Oct 2019 15:39:15 +0000 (15:39 +0000)]
object: containment: simplify the pattern match for OStatus testsuite hack
Ariadne Conill [Fri, 18 Oct 2019 15:34:36 +0000 (15:34 +0000)]
object: containment: only allow OStatus references in test suite environment
Ariadne Conill [Fri, 18 Oct 2019 04:14:26 +0000 (04:14 +0000)]
tests: mastodon search: search for an account that is visible via activitypub, not ostatus
Ariadne Conill [Fri, 18 Oct 2019 04:08:25 +0000 (04:08 +0000)]
object: fetcher: fix up formatting
Ariadne Conill [Fri, 18 Oct 2019 03:58:28 +0000 (03:58 +0000)]
add some missing tesla fixtures
Ariadne Conill [Fri, 18 Oct 2019 03:57:32 +0000 (03:57 +0000)]
activitypub: tag containment checks for better error tracing
Ariadne Conill [Fri, 18 Oct 2019 03:56:31 +0000 (03:56 +0000)]
object: containment: also allow OStatus object IDs through when comparing origins
Ariadne Conill [Fri, 18 Oct 2019 03:41:38 +0000 (03:41 +0000)]
object: fetcher: improve error reporting
Ariadne Conill [Fri, 18 Oct 2019 03:26:50 +0000 (03:26 +0000)]
object: containment: don't try to contain ostatus objects
Ariadne Conill [Fri, 18 Oct 2019 02:56:02 +0000 (02:56 +0000)]
tests: fix up signature tests
Ariadne Conill [Fri, 18 Oct 2019 02:52:08 +0000 (02:52 +0000)]
tests: fix relay tests
Ariadne Conill [Fri, 18 Oct 2019 02:42:25 +0000 (02:42 +0000)]
object fetcher: fix up error handling
Ariadne Conill [Fri, 18 Oct 2019 00:51:53 +0000 (00:51 +0000)]
tests: simplify object fetching and containment tests
Ariadne Conill [Fri, 18 Oct 2019 00:37:13 +0000 (00:37 +0000)]
tests: remove some more ostatus tests
Ariadne Conill [Fri, 18 Oct 2019 00:30:01 +0000 (00:30 +0000)]
fix up some tests
Ariadne Conill [Thu, 17 Oct 2019 23:37:21 +0000 (23:37 +0000)]
kill almost all of the OStatus module
Ariadne Conill [Thu, 17 Oct 2019 23:15:09 +0000 (23:15 +0000)]
federator: remove OStatus incoming document support
Ariadne Conill [Thu, 17 Oct 2019 23:09:15 +0000 (23:09 +0000)]
remove Salmon module
Ariadne Conill [Thu, 17 Oct 2019 23:07:54 +0000 (23:07 +0000)]
router: disconnect Salmon
Ariadne Conill [Thu, 17 Oct 2019 23:07:20 +0000 (23:07 +0000)]
webfinger: stop pulling Salmon data out of WebFinger
Ariadne Conill [Thu, 17 Oct 2019 23:06:53 +0000 (23:06 +0000)]
feed: don't advertise salmon endpoint
Ariadne Conill [Thu, 17 Oct 2019 23:05:45 +0000 (23:05 +0000)]
publisher: move remote_users() from Salmon module
Ariadne Conill [Thu, 17 Oct 2019 22:57:37 +0000 (22:57 +0000)]
websub: remove entirely
Ariadne Conill [Thu, 17 Oct 2019 22:53:45 +0000 (22:53 +0000)]
federator: remove websub stuff
Ariadne Conill [Thu, 17 Oct 2019 22:52:46 +0000 (22:52 +0000)]
application: don't start Federator.init/1 anymore
Ariadne Conill [Thu, 17 Oct 2019 22:31:20 +0000 (22:31 +0000)]
config: disable Websub and Salmon publisher modules
Ariadne Conill [Thu, 17 Oct 2019 22:29:28 +0000 (22:29 +0000)]
update changelog
rinpatch [Fri, 18 Oct 2019 13:00:33 +0000 (13:00 +0000)]
Merge branch 'fix/changelog-typo' into 'develop'
Fix wrong list level in the changelog
See merge request pleroma/pleroma!1860
rinpatch [Fri, 18 Oct 2019 12:56:14 +0000 (15:56 +0300)]
Fix wrong list level in the changelog
rinpatch [Fri, 18 Oct 2019 12:47:45 +0000 (12:47 +0000)]
Merge branch 'chore/develop-changelog-sync' into 'develop'
Sync the changelog from stable and collapse the API sections
See merge request pleroma/pleroma!1859
rinpatch [Fri, 18 Oct 2019 12:34:29 +0000 (15:34 +0300)]
Sync the changelog from stable and collapse the API sections
rinpatch [Fri, 18 Oct 2019 12:42:09 +0000 (12:42 +0000)]
Merge branch 'backport/develop-safe-jsonb' into 'develop'
Backport safe_jsonb_set fixes to develop
See merge request pleroma/pleroma!1858
rinpatch [Fri, 18 Oct 2019 11:33:51 +0000 (14:33 +0300)]
Add a test for safe_jsonb_set
rinpatch [Fri, 18 Oct 2019 11:11:30 +0000 (14:11 +0300)]
Fix a migration wiping user info of users that don't have any mutes
And introduce safe_jsonb_set
rinpatch [Fri, 18 Oct 2019 11:34:48 +0000 (11:34 +0000)]
Merge branch 'cleanup/deprecated_config_upload' into 'develop'
upload.ex: Remove deprecated configuration
See merge request pleroma/pleroma!1855
Haelwenn (lanodan) Monnier [Fri, 18 Oct 2019 10:29:42 +0000 (12:29 +0200)]
upload.ex: Remove deprecated configuration
Maxim Filippov [Fri, 18 Oct 2019 08:24:29 +0000 (10:24 +0200)]
Merge branch 'develop' into feature/relay-list
kaniini [Fri, 18 Oct 2019 04:42:02 +0000 (04:42 +0000)]
Merge branch 'fix-streaming-with-sec-websocket-protocol' into 'develop'
Fix streaming websocket handshake with `Sec-WebSocket-Protocol`
See merge request pleroma/pleroma!1847
kaniini [Fri, 18 Oct 2019 04:36:37 +0000 (04:36 +0000)]
Apply suggestion to lib/pleroma/web/mastodon_api/websocket_handler.ex
feld [Thu, 17 Oct 2019 20:05:01 +0000 (20:05 +0000)]
Merge branch 'mark-converstation-as-read-on-new-direct-message' into 'develop'
Mastodon API / Conversations: Mark the conversation as read for the author when they send a new direct message
See merge request pleroma/pleroma!1853
eugenijm [Thu, 17 Oct 2019 12:25:15 +0000 (15:25 +0300)]
Mastodon API: Mark the conversation as read for the author when they send a new direct message
Maksim Pechnikov [Thu, 17 Oct 2019 12:26:59 +0000 (15:26 +0300)]
add Markers /api/v1/markers
lain [Wed, 16 Oct 2019 12:29:08 +0000 (12:29 +0000)]
Merge branch 'user-search-experiments' into 'develop'
User search: Remove trigram and refactor the module
See merge request pleroma/pleroma!1850
feld [Wed, 16 Oct 2019 12:14:47 +0000 (12:14 +0000)]
Merge branch 'feature/multiple-users-activation-permissions' into 'develop'
Ability to toggle activation status, permission group & delete multiple users
Closes admin-fe#39
See merge request pleroma/pleroma!1825
rinpatch [Wed, 16 Oct 2019 12:09:39 +0000 (15:09 +0300)]
Remove a failing search test due to it being unrealistic
While the case tested (`lain@ple`) gives wrong ordering due to
using only trigram to order, it almost never happens in reality. In reality
it would be either `lain` (in which case it's fine to list the user with `lain`
in display name first), or `@lain@pleroma.soykaf.com`/`lain@pleroma.soykaf.com` (which is
handled fine as well)
lain [Wed, 16 Oct 2019 11:54:49 +0000 (11:54 +0000)]
Merge branch 'benchmark-finishing' into 'develop'
Benchmark finishing
Closes #755
See merge request pleroma/pleroma!1848
rinpatch [Wed, 16 Oct 2019 10:49:33 +0000 (13:49 +0300)]
Order fts results by trigram
rinpatch [Wed, 16 Oct 2019 09:52:47 +0000 (12:52 +0300)]
User search: Remove trigram and refactor the module
- Remove trigram as it tends to rank garbage results highly, resulting
in it prioritized above fts, which gives actually decent results. ACKed
by kaniini and lain on irc.
- Remove a test for handling misspelled requests, since we no longer have
trigram
- Remove a test for searching users with `nil` display names, because it
is unrealistic, we don't accept usernames that are not >1 char strings
- Make rank boosting for followers/followees sane again, previous values
resulted in garbage matches getting on top just because the users are
followers/followees
Maxim Filippov [Tue, 15 Oct 2019 15:33:29 +0000 (17:33 +0200)]
DELETE /api/pleroma/admin/users now accepts nicknames array
Alexander [Tue, 15 Oct 2019 13:26:04 +0000 (16:26 +0300)]
some fixes
Alexander [Tue, 15 Oct 2019 12:16:17 +0000 (15:16 +0300)]
don't stream in benchmark env
kPherox [Tue, 15 Oct 2019 10:10:22 +0000 (19:10 +0900)]
Add `Sec-WebSocket-Protocol` to response header
Ekaterina Vaartis [Mon, 30 Sep 2019 13:04:30 +0000 (16:04 +0300)]
For pleroma.emoji downloaded packs, generate pack.json instead
feld [Mon, 14 Oct 2019 19:40:40 +0000 (19:40 +0000)]
Merge branch 'exclude-visibilities-for-timelines' into 'develop'
Mastodon API: Add `exclude_visibilities` parameter to the timeline and notification endpoints
See merge request pleroma/pleroma!1818
rinpatch [Mon, 14 Oct 2019 19:17:06 +0000 (19:17 +0000)]
Merge branch 'backport/develop-branch-hiding-fix' into 'develop'
Backport "Fix hiding branch name logic" to develop
See merge request pleroma/pleroma!1846
rinpatch [Mon, 14 Oct 2019 19:13:18 +0000 (22:13 +0300)]
Fix hiding branch name logic
rinpatch [Mon, 14 Oct 2019 16:08:53 +0000 (16:08 +0000)]
Merge branch 'master-to-stable' into 'develop'
Preparations for renaming `master` to `stable`
See merge request pleroma/pleroma!1840