Ivan Tashkinov [Sun, 3 Feb 2019 09:41:27 +0000 (12:41 +0300)]
[#582] Optimized federation retirement by reducing the number of SQL calls
(calling `Instances.set_reachable/1` only if instance had `unreachable_since`,
calling `Instances.set_unreachable/1` only if instance had nil `unreachable_since`).
rinpatch [Sat, 2 Feb 2019 10:48:35 +0000 (10:48 +0000)]
Merge branch 'fix/oauth-page-responsiveness' into 'develop'
Add responsive features to layout
Closes #564
See merge request pleroma/pleroma!760
Maxim Filippov [Sat, 2 Feb 2019 10:38:52 +0000 (13:38 +0300)]
Add responsive features to layout
kaniini [Fri, 1 Feb 2019 20:23:55 +0000 (20:23 +0000)]
Merge branch 'revert-
0a82a7e6' into 'develop'
Revert "Merge branch 'feature/split-hide-network' into 'develop'"
See merge request pleroma/pleroma!758
kaniini [Fri, 1 Feb 2019 20:22:58 +0000 (20:22 +0000)]
Revert "Merge branch 'feature/split-hide-network' into 'develop'"
This reverts merge request !733
href [Fri, 1 Feb 2019 19:45:55 +0000 (19:45 +0000)]
Merge branch 'hotfix/object-normalize-cache' into 'develop'
object: use cached accesses when possible in Object.normalize()
See merge request pleroma/pleroma!757
href [Fri, 1 Feb 2019 19:39:50 +0000 (19:39 +0000)]
Merge branch 'streaming-api-url-fix' into 'develop'
Fix WebSocket streaming API URL.
See merge request pleroma/pleroma!756
William Pitcock [Fri, 1 Feb 2019 19:38:57 +0000 (19:38 +0000)]
object: use cached accesses when possible in Object.normalize()
eugenijm [Fri, 1 Feb 2019 19:35:19 +0000 (22:35 +0300)]
Use url() instead of static_url in Endpoint.websocket_url()
href [Fri, 1 Feb 2019 19:18:46 +0000 (19:18 +0000)]
Merge branch 'develop' into 'develop'
Use nodeinfo 2.1
See merge request pleroma/pleroma!753
Luna [Fri, 1 Feb 2019 19:03:23 +0000 (16:03 -0300)]
update nodeinfo version when requesting 2.1
eugenijm [Fri, 1 Feb 2019 18:56:18 +0000 (21:56 +0300)]
Use String.replace_leading instead of String.replace for getting websocket streaming api url.
Extract the login responsible for obtaining websocket URL into the corresponding
Endpoint function.
Luna [Fri, 1 Feb 2019 17:40:43 +0000 (14:40 -0300)]
mix format pass
Luna [Fri, 1 Feb 2019 17:35:08 +0000 (14:35 -0300)]
downcase software name in nodeinfo
Luna [Fri, 1 Feb 2019 17:33:14 +0000 (14:33 -0300)]
add tests for nodeinfo 2.0 compat and 2.1's new field
Haelwenn [Fri, 1 Feb 2019 17:27:50 +0000 (17:27 +0000)]
Merge branch 'bugfix/get_list_return_404' into 'develop'
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
See merge request pleroma/pleroma!755
Luna [Fri, 1 Feb 2019 17:23:40 +0000 (14:23 -0300)]
keep compatibility with nodeinfo 2.0
splits actual nodeinfo generation into raw_nodeinfo, the 2.0 handler
gives the same result, while the 2.1 handler inserts the
software.repository field. requested by @href
Haelwenn (lanodan) Monnier [Fri, 1 Feb 2019 17:15:15 +0000 (18:15 +0100)]
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
Luna [Fri, 1 Feb 2019 17:11:23 +0000 (14:11 -0300)]
use Mix.Project.Config for some Application functions
kaniini [Fri, 1 Feb 2019 17:05:29 +0000 (17:05 +0000)]
Merge branch 'feature/split-hide-network' into 'develop'
Split hide_network into hide_followers & hide_followings
See merge request pleroma/pleroma!733
lambda [Fri, 1 Feb 2019 14:24:07 +0000 (14:24 +0000)]
Merge branch 'serve-sw-pleroma.js' into 'develop'
Serve sw-pleroma.js properly
See merge request pleroma/pleroma!754
href [Fri, 1 Feb 2019 10:34:41 +0000 (11:34 +0100)]
Serve sw-pleroma.js properly
lambda [Fri, 1 Feb 2019 09:33:50 +0000 (09:33 +0000)]
Merge branch 'fix-rich-media-toggle' into 'develop'
Remove default value for rich media.
See merge request pleroma/pleroma!751
lain [Fri, 1 Feb 2019 09:21:17 +0000 (10:21 +0100)]
Merge remote-tracking branch 'origin/develop' into fix-rich-media-toggle
href [Fri, 1 Feb 2019 09:14:35 +0000 (09:14 +0000)]
Merge branch '534_federation_targets_reachability' into 'develop'
[#534] Unreachable federation targets retirement
Closes #534
See merge request pleroma/pleroma!703
Luna [Fri, 1 Feb 2019 07:02:40 +0000 (04:02 -0300)]
mix format pass
Luna [Fri, 1 Feb 2019 06:55:10 +0000 (03:55 -0300)]
use nodeinfo 2.1, add repository field
that is the only change from nodeinfo 2.0 to 2.1
also this makes the nodeinfo tests use 2.1.json instead of 2.0.json
Haelwenn [Thu, 31 Jan 2019 22:28:08 +0000 (22:28 +0000)]
Merge branch 'docs/pleroma-api-invite-token' into 'develop'
docs/Pleroma-API.md: Add missing token field documentation
See merge request pleroma/pleroma!752
Haelwenn (lanodan) Monnier [Thu, 31 Jan 2019 22:23:53 +0000 (23:23 +0100)]
docs/Pleroma-API.md: Add missing token field documentation
[ci skip]
lain [Thu, 31 Jan 2019 19:02:08 +0000 (20:02 +0100)]
Remove default value for rich media.
Setting it to true will actually override a 'false' set before.
kaniini [Thu, 31 Jan 2019 18:50:00 +0000 (18:50 +0000)]
Merge branch 'user-follow-all-unique' into 'develop'
User.follow_all: ensure the following array stays unique
See merge request pleroma/pleroma!750
href [Thu, 31 Jan 2019 17:07:46 +0000 (18:07 +0100)]
User.follow_all: ensure its stays unique
lambda [Thu, 31 Jan 2019 16:54:48 +0000 (16:54 +0000)]
Merge branch 'bugfix/rich-media-non-unicode' into 'develop'
rich media non-unicode bugfix
See merge request pleroma/pleroma!749
William Pitcock [Thu, 31 Jan 2019 16:30:56 +0000 (16:30 +0000)]
test: http mocks: formatting
kaniini [Thu, 31 Jan 2019 16:28:40 +0000 (16:28 +0000)]
Merge branch 'develop' into 'develop'
Clarify the description of the `logo_mask` configuration key.
See merge request pleroma/pleroma!747
kaniini [Thu, 31 Jan 2019 16:22:26 +0000 (16:22 +0000)]
Merge branch 'fix/rich-media-disable-in-config' into 'develop'
Make rich media support toggleable
See merge request pleroma/pleroma!748
William Pitcock [Thu, 31 Jan 2019 16:19:53 +0000 (16:19 +0000)]
test: rich media: parser: add malformed data regression test
William Pitcock [Thu, 31 Jan 2019 16:19:31 +0000 (16:19 +0000)]
rich media: parser: only try to validate strings, not numbers (OEmbed)
William Pitcock [Thu, 31 Jan 2019 16:12:35 +0000 (16:12 +0000)]
test: add malformed OGP data fixture
William Pitcock [Thu, 31 Jan 2019 16:03:56 +0000 (16:03 +0000)]
rich media: parser: reject OGP fields we cannot safely process
rinpatch [Thu, 31 Jan 2019 15:18:20 +0000 (18:18 +0300)]
Make rich media support toggleable
Alice [Thu, 31 Jan 2019 13:14:22 +0000 (13:14 +0000)]
Clarify the description of the `logo_mask` configuration key.
lambda [Thu, 31 Jan 2019 12:16:44 +0000 (12:16 +0000)]
Merge branch 'revert-
4d3655c4' into 'develop'
Revert "Merge branch 'spc-fix-3' into 'develop'"
See merge request pleroma/pleroma!745
lambda [Thu, 31 Jan 2019 12:16:23 +0000 (12:16 +0000)]
Revert "Merge branch 'spc-fix-3' into 'develop'"
This reverts merge request !682
kaniini [Thu, 31 Jan 2019 11:29:29 +0000 (11:29 +0000)]
Merge branch 'spc-fix-3' into 'develop'
Spc fix 3
See merge request pleroma/pleroma!682
Haelwenn [Thu, 31 Jan 2019 10:16:11 +0000 (10:16 +0000)]
Merge branch 'features/glitch-soc-frontend' into 'develop'
Features/glitch soc frontend
See merge request pleroma/pleroma!192
Haelwenn [Thu, 31 Jan 2019 10:12:48 +0000 (10:12 +0000)]
Merge branch 'update-mastofe/glitch-soc-2019-01-28' into 'develop'
[MastodonFE] Update Frontend (glitch)
See merge request pleroma/pleroma!730
Haelwenn (lanodan) Monnier [Sun, 16 Sep 2018 21:17:34 +0000 (23:17 +0200)]
[MastodonFE] Update Frontend (glitch)
kaniini [Wed, 30 Jan 2019 21:38:15 +0000 (21:38 +0000)]
Merge branch 'add-wiki-reference-to-readme' into 'develop'
Add wiki reference to readme
See merge request pleroma/pleroma!744
shibayashi [Wed, 30 Jan 2019 21:26:10 +0000 (22:26 +0100)]
Reformat to make markdownlint happy and other little typographic things
shibayashi [Wed, 30 Jan 2019 21:15:52 +0000 (22:15 +0100)]
Add reference to Pleroma Wiki in the Readme
lambda [Wed, 30 Jan 2019 20:18:05 +0000 (20:18 +0000)]
Merge branch 'multiple-hackney-pools' into 'develop'
Fix
4aff4efa typos
See merge request pleroma/pleroma!743
lambda [Wed, 30 Jan 2019 20:17:22 +0000 (20:17 +0000)]
Merge branch '2019-1-30-update-frontend' into 'develop'
update frontend
See merge request pleroma/pleroma!742
href [Wed, 30 Jan 2019 20:08:41 +0000 (21:08 +0100)]
lain [Wed, 30 Jan 2019 20:04:58 +0000 (21:04 +0100)]
update frontend
kaniini [Wed, 30 Jan 2019 19:01:57 +0000 (19:01 +0000)]
Merge branch 'multiple-hackney-pools' into 'develop'
Use multiple hackney pools
See merge request pleroma/pleroma!739
kaniini [Wed, 30 Jan 2019 18:50:00 +0000 (18:50 +0000)]
Merge branch 'better-following' into 'develop'
Use race condition free queries for following / unfollowing
See merge request pleroma/pleroma!740
lain [Wed, 30 Jan 2019 18:45:31 +0000 (19:45 +0100)]
Fix specs.
lain [Wed, 30 Jan 2019 18:33:25 +0000 (19:33 +0100)]
Use race-condition free mass follow.
lain [Wed, 30 Jan 2019 18:21:04 +0000 (19:21 +0100)]
Use race-condition free following method.
href [Wed, 30 Jan 2019 11:38:38 +0000 (12:38 +0100)]
Use multiple hackney pools
* federation (ap, salmon)
* media (rich media, media proxy)
* upload (uploader proxy)
Each "part" will stop fighting others ones -- a huge federation outbound
could before make the media proxy fail to checkout a connection in time.
splitted media and uploaded media for the good reason than an upload
pool will have all connections to the same host (the uploader upstream).
it also has a longer default retention period for connections.
Haelwenn [Wed, 30 Jan 2019 10:56:53 +0000 (10:56 +0000)]
Merge branch 'docs/fix-frontend_config' into 'develop'
docs/config.md: Fix syntax, pleroma_fe isn’t an atom
See merge request pleroma/pleroma!738
Haelwenn (lanodan) Monnier [Wed, 30 Jan 2019 10:51:12 +0000 (11:51 +0100)]
docs/config.md: Fix syntax, pleroma_fe isn’t an atom
kaniini [Wed, 30 Jan 2019 10:38:41 +0000 (10:38 +0000)]
Merge branch 'docs/fix-frontend_config' into 'develop'
docs/config.md: Fix typo, provide an example key with camelCase and where to find more
See merge request pleroma/pleroma!737
Haelwenn (lanodan) Monnier [Wed, 30 Jan 2019 10:33:06 +0000 (11:33 +0100)]
docs/config.md: Fix typo, provide an example key with camelCase and where to find more
[ci skip]
lambda [Tue, 29 Jan 2019 19:24:30 +0000 (19:24 +0000)]
Merge branch 'docs/fix-pleroma-api-title' into 'develop'
docs/Pleroma-API.md: Fix ex_doc title by changing the first h1 to it
See merge request pleroma/pleroma!736
Haelwenn (lanodan) Monnier [Tue, 29 Jan 2019 18:11:34 +0000 (19:11 +0100)]
docs/Pleroma-API.md: Fix ex_doc title by changing the first h1 to it
[ci skip]
kaniini [Tue, 29 Jan 2019 14:47:36 +0000 (14:47 +0000)]
Merge branch 'bugfix/fix-rejects' into 'develop'
follow request fixups
Closes #537
See merge request pleroma/pleroma!734
kaniini [Tue, 29 Jan 2019 13:54:10 +0000 (13:54 +0000)]
Merge branch 'hj-happiness-improvement' into 'develop'
New frontend configuration mechanism.
Closes #445
See merge request pleroma/pleroma!700
William Pitcock [Tue, 29 Jan 2019 12:21:02 +0000 (12:21 +0000)]
activitypub: utils: update the state of *any* pending follow relationship that matches the actor and target
William Pitcock [Tue, 29 Jan 2019 11:57:46 +0000 (11:57 +0000)]
activitypub: transmogrifier: fix follow request rejections
Ivan Tashkinov [Tue, 29 Jan 2019 10:12:28 +0000 (13:12 +0300)]
[#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
Haelwenn [Tue, 29 Jan 2019 05:11:08 +0000 (05:11 +0000)]
Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
Rich Media support, part 2.
See merge request pleroma/pleroma!719
William Pitcock [Mon, 28 Jan 2019 21:07:36 +0000 (21:07 +0000)]
rich media: oembed: return data in the same format as the other parsers
William Pitcock [Mon, 28 Jan 2019 20:55:33 +0000 (20:55 +0000)]
rich media: kill some testsuite noise
William Pitcock [Mon, 28 Jan 2019 20:31:43 +0000 (20:31 +0000)]
rich media: parser: add some basic sanity checks on the returned data with pattern matching
William Pitcock [Mon, 28 Jan 2019 20:19:07 +0000 (20:19 +0000)]
rich media: parser: cache negatives
William Pitcock [Mon, 28 Jan 2019 19:59:36 +0000 (19:59 +0000)]
rich media: parser: add copyright header
Maxim Filippov [Mon, 28 Jan 2019 18:35:02 +0000 (21:35 +0300)]
Format
Maxim Filippov [Mon, 28 Jan 2019 18:31:08 +0000 (21:31 +0300)]
Split hide_network into hide_followers & hide_followings
kaniini [Mon, 28 Jan 2019 14:31:03 +0000 (14:31 +0000)]
Merge branch 'app-list-changes' into 'develop'
App list changes: Separate into two categories, and drop Subway Tooter.
See merge request pleroma/pleroma!731
scarlett [Mon, 28 Jan 2019 14:24:49 +0000 (14:24 +0000)]
App list changes: Separate into two categories, and drop Subway Tooter.
lain [Mon, 28 Jan 2019 13:39:54 +0000 (14:39 +0100)]
Put deprecation warnings undre Pleroma.Config.
Ivan Tashkinov [Mon, 28 Jan 2019 12:39:14 +0000 (15:39 +0300)]
[#534] Merged `upstream/develop`.
Ivan Tashkinov [Mon, 28 Jan 2019 12:25:06 +0000 (15:25 +0300)]
[#534] Various tweaks. Tests for Instances and Instance.
lain [Mon, 28 Jan 2019 12:07:12 +0000 (13:07 +0100)]
Return new-style config if old-style config is set to false.
This is in preparation for 1.0. We'll be able to switch the config to the new
mechanism on PleromaFE then as well.
lain [Mon, 28 Jan 2019 12:06:28 +0000 (13:06 +0100)]
Update config.md
lain [Mon, 28 Jan 2019 12:05:17 +0000 (13:05 +0100)]
Don't run warnings in a task.
lain [Mon, 28 Jan 2019 12:04:51 +0000 (13:04 +0100)]
Change default bg image in new config.
Haelwenn [Mon, 28 Jan 2019 11:48:03 +0000 (11:48 +0000)]
Merge branch 'safe-render-activities' into 'develop'
remove unnecessary filter (re !723)
See merge request pleroma/pleroma!729
href [Mon, 28 Jan 2019 11:24:14 +0000 (12:24 +0100)]
re
f83bae7c: remove unnecessary filter
lain [Mon, 28 Jan 2019 11:09:41 +0000 (12:09 +0100)]
Add deprecation warning mechanism.
href [Mon, 28 Jan 2019 10:49:03 +0000 (10:49 +0000)]
Merge branch 'oauth-login-failure-bug' into 'develop'
Correctly handle invalid credentials on auth login.
Closes #407
See merge request pleroma/pleroma!728
lain [Mon, 28 Jan 2019 10:41:47 +0000 (11:41 +0100)]
Correctly handle invalid credentials on auth login.
Closes #407
Haelwenn [Mon, 28 Jan 2019 08:23:21 +0000 (08:23 +0000)]
Merge branch 'patch-2' into 'develop'
Update the openrc service's retry with the correct format
See merge request pleroma/pleroma!727
vaartis [Mon, 28 Jan 2019 08:18:11 +0000 (08:18 +0000)]
Update the openrc service's retry with the correct format
Ivan Tashkinov [Mon, 28 Jan 2019 08:03:52 +0000 (11:03 +0300)]
[#534] Refactoring / tweaks per MR review.
William Pitcock [Mon, 28 Jan 2019 06:42:27 +0000 (06:42 +0000)]
mastodon api: card: force OGP images through mediaproxy
William Pitcock [Mon, 28 Jan 2019 06:19:00 +0000 (06:19 +0000)]
test: add status posting with OGP link preview test
William Pitcock [Mon, 28 Jan 2019 06:10:25 +0000 (06:10 +0000)]
rich media: helpers: clean up unused aliases