akkoma
5 years agoMerge remote-tracking branch 'origin' into validate-user-info
lain [Fri, 30 Nov 2018 16:34:20 +0000 (17:34 +0100)]
Merge remote-tracking branch 'origin' into validate-user-info

5 years agoFix transmogrifier test.
lain [Fri, 30 Nov 2018 16:31:05 +0000 (17:31 +0100)]
Fix transmogrifier test.

5 years agoFix OStatus user updates.
lain [Fri, 30 Nov 2018 16:21:58 +0000 (17:21 +0100)]
Fix OStatus user updates.

Breaks banner updating.

5 years agoAssorted fixes.
lain [Fri, 30 Nov 2018 16:08:02 +0000 (17:08 +0100)]
Assorted fixes.

5 years agoFix TwitterApiController.
lain [Fri, 30 Nov 2018 16:07:37 +0000 (17:07 +0100)]
Fix TwitterApiController.

5 years agoRemove "most recent notification" endpoint.
lain [Fri, 30 Nov 2018 15:47:37 +0000 (16:47 +0100)]
Remove "most recent notification" endpoint.

5 years agoMerge branch 'bugfix/server-true-in-prod' into 'develop'
kaniini [Fri, 30 Nov 2018 04:36:20 +0000 (04:36 +0000)]
Merge branch 'bugfix/server-true-in-prod' into 'develop'

config/prod.exs: Remove server: true

See merge request pleroma/pleroma!483

5 years agoconfig/prod.exs: Remove server: true
Haelwenn (lanodan) Monnier [Fri, 30 Nov 2018 02:05:34 +0000 (03:05 +0100)]
config/prod.exs: Remove server: true

This breaks mix tasks in regular Elixir

5 years agoMerge branch 'enable-ci-cache' into 'develop'
lambda [Thu, 29 Nov 2018 09:34:46 +0000 (09:34 +0000)]
Merge branch 'enable-ci-cache' into 'develop'

[CI] Enable CI caching for _build and deps

See merge request pleroma/pleroma!482

5 years agoOnly jobs for one branch are allowed to use the same cache
rinpatch [Thu, 29 Nov 2018 09:20:47 +0000 (12:20 +0300)]
Only jobs for one branch are allowed to use the same cache

5 years agoCache _build
rinpatch [Thu, 29 Nov 2018 09:09:32 +0000 (12:09 +0300)]
Cache _build

5 years agoAdd dependency caching
rinpatch [Thu, 29 Nov 2018 08:45:14 +0000 (11:45 +0300)]
Add dependency caching

5 years agoMore fixes
lain [Wed, 28 Nov 2018 23:25:43 +0000 (00:25 +0100)]
More fixes

5 years agoMerge branch 'fix-list-stream-privacy' into 'develop'
lambda [Wed, 28 Nov 2018 21:10:20 +0000 (21:10 +0000)]
Merge branch 'fix-list-stream-privacy' into 'develop'

Streamer: Don't send unwanted DMs to list streams

See merge request pleroma/pleroma!478

5 years agoMerge branch 'revert-02e43d44' into 'develop'
kaniini [Tue, 27 Nov 2018 23:20:12 +0000 (23:20 +0000)]
Merge branch 'revert-02e43d44' into 'develop'

Revert "Merge branch 'chore/mix-lock-update' into 'develop'"

See merge request pleroma/pleroma!481

5 years agoRevert "Merge branch 'chore/mix-lock-update' into 'develop'"
kaniini [Tue, 27 Nov 2018 23:19:30 +0000 (23:19 +0000)]
Revert "Merge branch 'chore/mix-lock-update' into 'develop'"

This reverts merge request !480

5 years agoMerge branch 'chore/mix-lock-update' into 'develop'
kaniini [Tue, 27 Nov 2018 22:59:01 +0000 (22:59 +0000)]
Merge branch 'chore/mix-lock-update' into 'develop'

Add ex_doc & makeup_elixir to mix.lock

See merge request pleroma/pleroma!480

5 years agoAdd ex_doc & makeup_elixir to mix.lock
Maxim Filippov [Tue, 27 Nov 2018 22:12:06 +0000 (01:12 +0300)]
Add ex_doc & makeup_elixir to mix.lock

5 years agoStreamer: Don't send unwanted DMs to list streams
KokaKiwi [Tue, 27 Nov 2018 00:14:43 +0000 (01:14 +0100)]
Streamer: Don't send unwanted DMs to list streams

5 years agoFix ostatus test.
lain [Tue, 27 Nov 2018 17:37:46 +0000 (18:37 +0100)]
Fix ostatus test.

5 years agoWebfinger fixes.
lain [Tue, 27 Nov 2018 17:31:44 +0000 (18:31 +0100)]
Webfinger fixes.

5 years agoMore and more fixes.
lain [Tue, 27 Nov 2018 17:21:05 +0000 (18:21 +0100)]
More and more fixes.

5 years agoMore fixes.
lain [Tue, 27 Nov 2018 17:12:03 +0000 (18:12 +0100)]
More fixes.

5 years agoMerge branch 'fix/version-string-force-git-abbrev-size' into 'develop'
kaniini [Tue, 27 Nov 2018 17:10:08 +0000 (17:10 +0000)]
Merge branch 'fix/version-string-force-git-abbrev-size' into 'develop'

fix: version string: force git abbrev size to 8 chars

Closes #389

See merge request pleroma/pleroma!472

5 years agoMerge branch 'ogg-theora-detection' into 'develop'
kaniini [Tue, 27 Nov 2018 16:55:56 +0000 (16:55 +0000)]
Merge branch 'ogg-theora-detection' into 'develop'

Add Theora detection to upload.ex

See merge request pleroma/pleroma!479

5 years agoHTTP sig fixes.
lain [Tue, 27 Nov 2018 16:42:45 +0000 (17:42 +0100)]
HTTP sig fixes.

5 years agoFix CommonApi tests.
lain [Tue, 27 Nov 2018 16:31:14 +0000 (17:31 +0100)]
Fix CommonApi tests.

5 years ago Fix lint error
rinpatch [Tue, 27 Nov 2018 16:07:58 +0000 (19:07 +0300)]
 Fix lint error

5 years agoAdd Theora detection to upload.ex
rinpatch [Tue, 27 Nov 2018 11:34:29 +0000 (14:34 +0300)]
Add Theora detection to upload.ex

5 years agoMerge branch 'feature/mrf-user-allowlist' into 'develop'
Haelwenn [Tue, 27 Nov 2018 00:12:03 +0000 (00:12 +0000)]
Merge branch 'feature/mrf-user-allowlist' into 'develop'

MRF: user allowlist module

See merge request pleroma/pleroma!477

5 years agoMerge branch 'fix/pleromafe-title' into 'develop'
kaniini [Mon, 26 Nov 2018 23:59:30 +0000 (23:59 +0000)]
Merge branch 'fix/pleromafe-title' into 'develop'

Replace hardcoded <title>

See merge request pleroma/pleroma!476

5 years agoconfig: document mrf_user_allowlist
William Pitcock [Mon, 26 Nov 2018 23:54:46 +0000 (23:54 +0000)]
config: document mrf_user_allowlist

5 years agonodeinfo: add mrf_user_allowlist data
William Pitcock [Mon, 26 Nov 2018 23:42:24 +0000 (23:42 +0000)]
nodeinfo: add mrf_user_allowlist data

5 years agoMRF: add user allowlist module
William Pitcock [Mon, 26 Nov 2018 23:23:43 +0000 (23:23 +0000)]
MRF: add user allowlist module

5 years agoReplace this hardcoded <title>
Mark Felder [Mon, 26 Nov 2018 22:51:25 +0000 (22:51 +0000)]
Replace this hardcoded <title>

5 years agoMerge branch 'bugfix/csp-no-https' into 'develop'
kaniini [Mon, 26 Nov 2018 22:24:21 +0000 (22:24 +0000)]
Merge branch 'bugfix/csp-no-https' into 'develop'

Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https

See merge request pleroma/pleroma!475

5 years agoPlugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https
Haelwenn (lanodan) Monnier [Mon, 26 Nov 2018 20:40:29 +0000 (21:40 +0100)]
Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https

This fixes running mastofe with MIX_ENV=dev

5 years agoMerge branch 'add-manifest-src-to-csp' into 'develop'
Haelwenn [Mon, 26 Nov 2018 19:56:49 +0000 (19:56 +0000)]
Merge branch 'add-manifest-src-to-csp' into 'develop'

Add manifest-src to CSP to allow manifest.json

See merge request pleroma/pleroma!474

5 years agoAdd manifest-src to allow manifest.json
shibayashi [Mon, 26 Nov 2018 19:48:24 +0000 (20:48 +0100)]
Add manifest-src to allow manifest.json

5 years agoMerge branch 'bugfix/public-mastoapi-websocket' into 'develop'
kaniini [Sun, 25 Nov 2018 02:54:54 +0000 (02:54 +0000)]
Merge branch 'bugfix/public-mastoapi-websocket' into 'develop'

Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints

See merge request pleroma/pleroma!471

5 years agoversion string: force git abbrev size to 8 chars
href [Sat, 24 Nov 2018 13:38:34 +0000 (14:38 +0100)]
version string: force git abbrev size to 8 chars

Fixes #389

Older git versions defaults to 7 chars.

5 years agoWeb.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket
Haelwenn (lanodan) Monnier [Sat, 24 Nov 2018 07:47:35 +0000 (08:47 +0100)]
Web.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket

5 years agoWeb.Streamer: Get unauthenticated statuses representation
Haelwenn (lanodan) Monnier [Sat, 24 Nov 2018 07:45:45 +0000 (08:45 +0100)]
Web.Streamer: Get unauthenticated statuses representation

5 years agoWeb.MastodonAPI.MastodonSocket: Put access_token at function-level
Haelwenn (lanodan) Monnier [Sat, 24 Nov 2018 05:43:03 +0000 (06:43 +0100)]
Web.MastodonAPI.MastodonSocket: Put access_token at function-level

5 years agoWeb.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints
Haelwenn (lanodan) Monnier [Sat, 24 Nov 2018 05:13:36 +0000 (06:13 +0100)]
Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints

reported by soka on CRTNet

5 years agoMerge branch 'feature/admin-api' into 'develop'
kaniini [Thu, 22 Nov 2018 00:28:04 +0000 (00:28 +0000)]
Merge branch 'feature/admin-api' into 'develop'

Add a admin API

See merge request pleroma/pleroma!366

5 years agoMerge branch 'feature/improve-version' into 'develop'
kaniini [Wed, 21 Nov 2018 16:53:38 +0000 (16:53 +0000)]
Merge branch 'feature/improve-version' into 'develop'

Improved version string

See merge request pleroma/pleroma!467

5 years agoMerge branch 'runtime-fixes' into 'develop'
kaniini [Tue, 20 Nov 2018 22:25:35 +0000 (22:25 +0000)]
Merge branch 'runtime-fixes' into 'develop'

Various runtime configuration fixes

See merge request pleroma/pleroma!468

5 years agoMerge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate...
lain [Tue, 20 Nov 2018 19:16:16 +0000 (20:16 +0100)]
Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info

5 years agoRaise on usage of old function.
lain [Tue, 20 Nov 2018 19:14:38 +0000 (20:14 +0100)]
Raise on usage of old function.

5 years agoFix most mastodon api bugs.
lain [Tue, 20 Nov 2018 19:12:39 +0000 (20:12 +0100)]
Fix most mastodon api bugs.

5 years agotests: fix up some more broken mastodon api testcases
William Pitcock [Tue, 20 Nov 2018 19:08:41 +0000 (19:08 +0000)]
tests: fix up some more broken mastodon api testcases

5 years agoMerge branch 'feature/retry-queue' into 'develop'
Haelwenn [Tue, 20 Nov 2018 19:04:52 +0000 (19:04 +0000)]
Merge branch 'feature/retry-queue' into 'develop'

Federator: add retry queue.

See merge request pleroma/pleroma!323

5 years agomastodon api: fix up quite a few test failures
William Pitcock [Tue, 20 Nov 2018 19:02:23 +0000 (19:02 +0000)]
mastodon api: fix up quite a few test failures

5 years agoactivitypub: fix restrict_blocked()
William Pitcock [Tue, 20 Nov 2018 18:58:08 +0000 (18:58 +0000)]
activitypub: fix restrict_blocked()

5 years agomastodon api: account view: fix tests
William Pitcock [Tue, 20 Nov 2018 18:54:48 +0000 (18:54 +0000)]
mastodon api: account view: fix tests

5 years agostreamer: fix fetching the user's block list
William Pitcock [Tue, 20 Nov 2018 18:47:12 +0000 (18:47 +0000)]
streamer: fix fetching the user's block list

5 years agooauth plug: fix deactivated check
William Pitcock [Tue, 20 Nov 2018 18:47:00 +0000 (18:47 +0000)]
oauth plug: fix deactivated check

5 years agocommon api: fix moderator check when deleting posts
William Pitcock [Tue, 20 Nov 2018 18:42:28 +0000 (18:42 +0000)]
common api: fix moderator check when deleting posts

5 years agouser: fix user.info lookup in User.locked?()
William Pitcock [Tue, 20 Nov 2018 18:41:44 +0000 (18:41 +0000)]
user: fix user.info lookup in User.locked?()

5 years agoFix Notification tests.
lain [Tue, 20 Nov 2018 18:15:28 +0000 (19:15 +0100)]
Fix Notification tests.

5 years agoMerge branch 'fix/mediaproxy-empty-url' into 'develop'
kaniini [Tue, 20 Nov 2018 18:09:46 +0000 (18:09 +0000)]
Merge branch 'fix/mediaproxy-empty-url' into 'develop'

mediaproxy: fix empty url & add some tests

See merge request pleroma/pleroma!466

5 years agoFix formatter tests.
lain [Tue, 20 Nov 2018 18:07:01 +0000 (19:07 +0100)]
Fix formatter tests.

5 years agoImproved version string
href [Tue, 20 Nov 2018 16:55:03 +0000 (17:55 +0100)]
Improved version string

5 years agomediaproxy: fix empty url & add some tests
href [Tue, 20 Nov 2018 16:46:54 +0000 (17:46 +0100)]
mediaproxy: fix empty url & add some tests

5 years agoRetryQueue: tiny refractor, add tests
eal [Mon, 19 Nov 2018 16:08:41 +0000 (18:08 +0200)]
RetryQueue: tiny refractor, add tests

5 years agoVarious runtime configuration fixes
href [Fri, 16 Nov 2018 20:35:08 +0000 (21:35 +0100)]
Various runtime configuration fixes

5 years agoSeveral twitter api fixes.
lain [Sun, 18 Nov 2018 21:36:47 +0000 (22:36 +0100)]
Several twitter api fixes.

5 years agoFix user updating from AP.
lain [Sun, 18 Nov 2018 21:15:03 +0000 (22:15 +0100)]
Fix user updating from AP.

5 years agoMix format.
lain [Sun, 18 Nov 2018 20:41:35 +0000 (21:41 +0100)]
Mix format.

5 years agoFix most User tests.
lain [Sun, 18 Nov 2018 20:40:52 +0000 (21:40 +0100)]
Fix most User tests.

5 years agoFix setting of keys.
lain [Sun, 18 Nov 2018 18:33:43 +0000 (19:33 +0100)]
Fix setting of keys.

5 years agoFix following locked users.
lain [Sun, 18 Nov 2018 17:53:50 +0000 (18:53 +0100)]
Fix following locked users.

5 years agoFix note count update.
lain [Sun, 18 Nov 2018 17:52:21 +0000 (18:52 +0100)]
Fix note count update.

5 years agoFix follower count test.
lain [Sun, 18 Nov 2018 17:46:04 +0000 (18:46 +0100)]
Fix follower count test.

5 years agoFix user deactivation test.
lain [Sun, 18 Nov 2018 17:40:58 +0000 (18:40 +0100)]
Fix user deactivation test.

5 years agoFix blocking.
lain [Sun, 18 Nov 2018 17:40:31 +0000 (18:40 +0100)]
Fix blocking.

5 years agoMerge branch 'update/pleroma-fe-20181118' into 'develop'
kaniini [Sun, 18 Nov 2018 17:29:25 +0000 (17:29 +0000)]
Merge branch 'update/pleroma-fe-20181118' into 'develop'

update pleroma frontend

See merge request pleroma/pleroma!464

5 years agoupdate pleroma frontend
William Pitcock [Sun, 18 Nov 2018 17:27:48 +0000 (17:27 +0000)]
update pleroma frontend

5 years agoFormatting.
lain [Sun, 18 Nov 2018 17:27:04 +0000 (18:27 +0100)]
Formatting.

5 years agoFix follower count setting.
lain [Sun, 18 Nov 2018 17:24:16 +0000 (18:24 +0100)]
Fix follower count setting.

5 years agoFix note counting.
lain [Sun, 18 Nov 2018 17:17:56 +0000 (18:17 +0100)]
Fix note counting.

5 years agoFix User deactivation.
lain [Sun, 18 Nov 2018 17:06:02 +0000 (18:06 +0100)]
Fix User deactivation.

5 years agoAdd User.Info module
lain [Sun, 18 Nov 2018 17:04:42 +0000 (18:04 +0100)]
Add User.Info module

To validate and mutate the user.info field.

5 years agoFederator: add retry queue.
eal [Sun, 26 Aug 2018 18:17:13 +0000 (21:17 +0300)]
Federator: add retry queue.

5 years agoMerge branch 'security/as2-object-render-hardening' into 'develop'
lambda [Sat, 17 Nov 2018 22:43:45 +0000 (22:43 +0000)]
Merge branch 'security/as2-object-render-hardening' into 'develop'

activitypub: object view: avoid leaking private details

See merge request pleroma/pleroma!463

5 years agoactivitypub: object view: avoid leaking private details
William Pitcock [Sat, 17 Nov 2018 22:29:08 +0000 (22:29 +0000)]
activitypub: object view: avoid leaking private details

5 years agoMerge branch 'bugfix/notice-urls-should-return-objects' into 'develop'
lambda [Sat, 17 Nov 2018 22:20:08 +0000 (22:20 +0000)]
Merge branch 'bugfix/notice-urls-should-return-objects' into 'develop'

ostatus controller: respond with AS2 objects instead of activities to notice URIs

Closes #289 and #383

See merge request pleroma/pleroma!462

5 years agoostatus controller: respond with AS2 objects instead of activities to notice URIs
William Pitcock [Sat, 17 Nov 2018 22:10:15 +0000 (22:10 +0000)]
ostatus controller: respond with AS2 objects instead of activities to notice URIs

5 years agoMerge branch 'security/spoofing-hardening' into 'develop'
lambda [Sat, 17 Nov 2018 21:52:51 +0000 (21:52 +0000)]
Merge branch 'security/spoofing-hardening' into 'develop'

security: spoofing hardening

Closes #380, #381, and #382

See merge request pleroma/pleroma!461

5 years agotests: federator: fix formatting
William Pitcock [Sat, 17 Nov 2018 21:41:08 +0000 (21:41 +0000)]
tests: federator: fix formatting

5 years agoactivitypub: transmogrifier: make deletes secure
William Pitcock [Sat, 17 Nov 2018 21:22:30 +0000 (21:22 +0000)]
activitypub: transmogrifier: make deletes secure

5 years agoWeb.AdminAPI.AdminAPIControllerTest: New Test
Haelwenn (lanodan) Monnier [Sat, 17 Nov 2018 21:11:18 +0000 (22:11 +0100)]
Web.AdminAPI.AdminAPIControllerTest: New Test

5 years agoWeb.AdminAPI.AdminAPIController: Fixes bugs found with ExUnit
Haelwenn (lanodan) Monnier [Sat, 17 Nov 2018 21:10:23 +0000 (22:10 +0100)]
Web.AdminAPI.AdminAPIController: Fixes bugs found with ExUnit

5 years agotest/plugs/user_is_admin_plug_test: New test
Haelwenn (lanodan) Monnier [Sat, 17 Nov 2018 19:04:54 +0000 (20:04 +0100)]
test/plugs/user_is_admin_plug_test: New test

5 years agolib/mix/tasks/relay*: Use a with block
Haelwenn (lanodan) Monnier [Sat, 10 Nov 2018 14:53:37 +0000 (15:53 +0100)]
lib/mix/tasks/relay*: Use a with block

5 years agoChange Relay from `status` to `{status, message}`
Haelwenn (lanodan) Monnier [Sat, 10 Nov 2018 14:31:37 +0000 (15:31 +0100)]
Change Relay from `status` to `{status, message}`

5 years agoWeb.Router: Change right to permission group (except for function names)
Haelwenn (lanodan) Monnier [Sat, 10 Nov 2018 14:20:49 +0000 (15:20 +0100)]
Web.Router: Change right to permission group (except for function names)

5 years agotest: add sanity tests for federator handling of AP docs
William Pitcock [Sat, 17 Nov 2018 21:01:19 +0000 (21:01 +0000)]
test: add sanity tests for federator handling of AP docs

5 years agofederator: return :ok or :error depending on if an AP doc was accepted or not
William Pitcock [Sat, 17 Nov 2018 21:00:37 +0000 (21:00 +0000)]
federator: return :ok or :error depending on if an AP doc was accepted or not