akkoma
5 years agoMerge branch 'features/admin-api-user-views' into 'develop'
kaniini [Mon, 31 Dec 2018 15:49:34 +0000 (15:49 +0000)]
Merge branch 'features/admin-api-user-views' into 'develop'

User/Account views: Add rights.admin

Closes #472

See merge request pleroma/pleroma!589

5 years agoMerge branch 'docs/admin-api' into 'develop'
kaniini [Mon, 31 Dec 2018 15:49:01 +0000 (15:49 +0000)]
Merge branch 'docs/admin-api' into 'develop'

Add docs/Admin-API.md

See merge request pleroma/pleroma!611

5 years agoMerge branch 'maintenance/copyright-2019' into 'develop'
kaniini [Mon, 31 Dec 2018 15:43:07 +0000 (15:43 +0000)]
Merge branch 'maintenance/copyright-2019' into 'develop'

update copyright years to 2019

See merge request pleroma/pleroma!613

5 years agoupdate copyright years to 2019
William Pitcock [Mon, 31 Dec 2018 15:41:47 +0000 (15:41 +0000)]
update copyright years to 2019

5 years agoAdd docs/Admin-API.md
Haelwenn (lanodan) Monnier [Mon, 31 Dec 2018 11:13:17 +0000 (12:13 +0100)]
Add docs/Admin-API.md

[ci skip]

5 years agoMerge branch 'fix/scrubber-cache' into 'develop'
lambda [Mon, 31 Dec 2018 09:56:26 +0000 (09:56 +0000)]
Merge branch 'fix/scrubber-cache' into 'develop'

[#481] Store scrubbed posts in Cachex

Closes #481

See merge request pleroma/pleroma!610

5 years agoFix a typo in user_test.ex
Rin Toshaka [Mon, 31 Dec 2018 07:34:14 +0000 (08:34 +0100)]
Fix a typo in user_test.ex

5 years agoEh?
Rin Toshaka [Mon, 31 Dec 2018 07:25:48 +0000 (08:25 +0100)]
Eh?

5 years agoMove scrubber cache-related functions to Pleroma.HTML
Rin Toshaka [Mon, 31 Dec 2018 07:19:48 +0000 (08:19 +0100)]
Move scrubber cache-related functions to Pleroma.HTML

5 years agoMerge branch 'mr/retry-queue' into 'develop'
kaniini [Sun, 30 Dec 2018 21:47:50 +0000 (21:47 +0000)]
Merge branch 'mr/retry-queue' into 'develop'

Improves RetryQueue behavior

See merge request pleroma/pleroma!609

5 years agoGet default scrubbers from config instead of hardcoded
rinpatch [Sun, 30 Dec 2018 21:12:14 +0000 (00:12 +0300)]
Get default scrubbers from config instead of hardcoded

5 years agoFix test failure
rinpatch [Sun, 30 Dec 2018 21:03:03 +0000 (00:03 +0300)]
Fix test failure

5 years agoResolve merge conflict
Rin Toshaka [Sun, 30 Dec 2018 20:00:40 +0000 (21:00 +0100)]
Resolve merge conflict

5 years agoFix comment in object.ex
Rin Toshaka [Sun, 30 Dec 2018 19:51:31 +0000 (20:51 +0100)]
Fix comment in object.ex

5 years agoMerge branch 'activitypub-c2s' into 'develop'
kaniini [Sun, 30 Dec 2018 19:50:15 +0000 (19:50 +0000)]
Merge branch 'activitypub-c2s' into 'develop'

Activitypub c2s

See merge request pleroma/pleroma!608

5 years agoshame on me for not testing after revert
Rin Toshaka [Sun, 30 Dec 2018 19:44:17 +0000 (20:44 +0100)]
shame on me for not testing after revert

5 years agoFix formating. Aparently my pre-commit hook broke.
Rin Toshaka [Sun, 30 Dec 2018 19:16:42 +0000 (20:16 +0100)]
Fix formating. Aparently my pre-commit hook broke.

5 years agoRevert some changes in html.ex
Rin Toshaka [Sun, 30 Dec 2018 19:12:12 +0000 (20:12 +0100)]
Revert some changes in html.ex

5 years agoFriendship ended with Postgresql now Cachex is my best friend
Rin Toshaka [Sun, 30 Dec 2018 19:00:01 +0000 (20:00 +0100)]
Friendship ended with Postgresql now Cachex is my best friend

5 years agoFriendship ended with Postgresql now Cachex is my best friend
Rin Toshaka [Sun, 30 Dec 2018 18:33:36 +0000 (19:33 +0100)]
Friendship ended with Postgresql now Cachex is my best friend

5 years agoAdded get_stripped_html_for_object. Renamed a few things
Rin Toshaka [Sun, 30 Dec 2018 15:51:16 +0000 (16:51 +0100)]
Added get_stripped_html_for_object. Renamed a few things

5 years agoImproves RetryQueue behavior
Michael Loftis [Sun, 30 Dec 2018 15:16:26 +0000 (15:16 +0000)]
Improves RetryQueue behavior

reduces to one single timer firing once a second
switches to a parallel worker model

5 years agoTidy up the code. Rename key to signature
Rin Toshaka [Sun, 30 Dec 2018 14:58:19 +0000 (15:58 +0100)]
Tidy up the code. Rename key to signature

5 years agoFix some stupid typos
Rin Toshaka [Sun, 30 Dec 2018 12:51:01 +0000 (13:51 +0100)]
Fix some stupid typos

5 years agoRespond with full activity to outbox post
sxsdv1 [Sun, 30 Dec 2018 10:19:53 +0000 (11:19 +0100)]
Respond with full activity to outbox post

5 years agoLimit activity types accepted to outbox to only 'Create'
sxsdv1 [Sat, 29 Dec 2018 17:22:40 +0000 (18:22 +0100)]
Limit activity types accepted to outbox to only 'Create'

5 years agoCreate activity when client posts to outbox
sxsdv1 [Sat, 29 Dec 2018 17:21:45 +0000 (18:21 +0100)]
Create activity when client posts to outbox

5 years agoImplement ActivityPub inbox view
sxsdv1 [Sat, 29 Dec 2018 17:15:28 +0000 (18:15 +0100)]
Implement ActivityPub inbox view

More or less verbatim copied from the outbox template with only changes
to the activities fetched and url reported

5 years agoUse Object.change instead of Ecto.Changeset.change
Rin Toshaka [Sun, 30 Dec 2018 10:08:19 +0000 (11:08 +0100)]
Use Object.change instead of Ecto.Changeset.change

5 years agoWire up stub routes for client calls of activitypub inbox/outbox
sxsdv1 [Sat, 29 Dec 2018 17:01:15 +0000 (18:01 +0100)]
Wire up stub routes for client calls of activitypub inbox/outbox

Code style: remove wrapping function of outbox

5 years agouse Kernel.put_in instead of Map.merge
Rin Toshaka [Sat, 29 Dec 2018 20:50:34 +0000 (21:50 +0100)]
use Kernel.put_in instead of Map.merge

5 years agoMerge branch 'fix_485' into 'develop'
Haelwenn [Sat, 29 Dec 2018 17:30:31 +0000 (17:30 +0000)]
Merge branch 'fix_485' into 'develop'

Change 'name' to 'instance_name' so option is used when running non-interactive

See merge request pleroma/pleroma!607

5 years agoI am not sure what's going on anymore so I'll just commit and reset all the other...
Rin Toshaka [Sat, 29 Dec 2018 16:45:50 +0000 (17:45 +0100)]
I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD

5 years agoMerge branch '2018-12-29-update-frontend' into 'develop'
lambda [Sat, 29 Dec 2018 13:47:45 +0000 (13:47 +0000)]
Merge branch '2018-12-29-update-frontend' into 'develop'

update frontend

See merge request pleroma/pleroma!606

5 years agoupdate frontend
lain [Sat, 29 Dec 2018 13:30:44 +0000 (14:30 +0100)]
update frontend

5 years agoMerge branch 'carrot-bullying' into 'develop'
kaniini [Sat, 29 Dec 2018 11:46:06 +0000 (11:46 +0000)]
Merge branch 'carrot-bullying' into 'develop'

Add some hard limits on inserted activities.

See merge request pleroma/pleroma!595

5 years agoChange 'name' to 'instance_name' so option is used when running non-interactive
spctrl [Sat, 29 Dec 2018 11:43:54 +0000 (12:43 +0100)]
Change 'name' to 'instance_name' so option is used when running non-interactive

5 years agoMerge branch '483_blocks_import_export' into 'develop'
kaniini [Sat, 29 Dec 2018 11:34:51 +0000 (11:34 +0000)]
Merge branch '483_blocks_import_export' into 'develop'

[#483] Blocked users list import & export

Closes #483

See merge request pleroma/pleroma!603

5 years agoMerge branch 'support/issue_480' into 'develop'
kaniini [Sat, 29 Dec 2018 11:32:24 +0000 (11:32 +0000)]
Merge branch 'support/issue_480' into 'develop'

[#480] Salmon# fixed publish an activity to remote accounts

See merge request pleroma/pleroma!605

5 years agoSalmon# fixed publish an activity to remote accounts
Maksim Pechnikov [Sat, 29 Dec 2018 09:48:54 +0000 (12:48 +0300)]
Salmon# fixed publish an activity to remote accounts

5 years ago[#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added...
Ivan Tashkinov [Sat, 29 Dec 2018 09:26:23 +0000 (12:26 +0300)]
[#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.

5 years ago[#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added...
Ivan Tashkinov [Sat, 29 Dec 2018 09:26:23 +0000 (12:26 +0300)]
[#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.

5 years ago[#483] User.get_by_nickname/1: allowed retrieving user by fully-qualified local nickname
Ivan Tashkinov [Sat, 29 Dec 2018 09:15:46 +0000 (12:15 +0300)]
[#483] User.get_by_nickname/1: allowed retrieving user by fully-qualified local nickname
(<nick>@<our_instance_host>).

5 years ago[#483] Refactored blocks and follows import, added tests.
Ivan Tashkinov [Sat, 29 Dec 2018 09:02:37 +0000 (12:02 +0300)]
[#483] Refactored blocks and follows import, added tests.

5 years agoMerge branch '471_invalid_accounts_rendering' into 'develop'
kaniini [Sat, 29 Dec 2018 03:03:18 +0000 (03:03 +0000)]
Merge branch '471_invalid_accounts_rendering' into 'develop'

[#471] Prevented rendering of inactive local accounts

Closes #471

See merge request pleroma/pleroma!599

5 years agoMerge branch 'systemd-drop-sysadmin-privilege' into 'develop'
kaniini [Fri, 28 Dec 2018 20:14:29 +0000 (20:14 +0000)]
Merge branch 'systemd-drop-sysadmin-privilege' into 'develop'

Security/Drops the sysadmin privilege from the daemon

See merge request pleroma/pleroma!604

5 years agoSecurity/Drops the sysadmin privilege from the daemon
shibayashi [Fri, 28 Dec 2018 20:09:48 +0000 (21:09 +0100)]
Security/Drops the sysadmin privilege from the daemon

5 years ago[#483] Blocked users list import (TwitterAPI).
Ivan Tashkinov [Fri, 28 Dec 2018 20:01:03 +0000 (23:01 +0300)]
[#483] Blocked users list import (TwitterAPI).

5 years ago[#467] Refactored valid / invalid user rendering.
Ivan Tashkinov [Fri, 28 Dec 2018 19:47:42 +0000 (22:47 +0300)]
[#467] Refactored valid / invalid user rendering.

5 years agoRaise remote limit
lambda [Fri, 28 Dec 2018 18:57:50 +0000 (18:57 +0000)]
Raise remote limit

5 years agoMerge branch 'fix/no-attachment-links' into 'develop'
kaniini [Fri, 28 Dec 2018 18:33:14 +0000 (18:33 +0000)]
Merge branch 'fix/no-attachment-links' into 'develop'

Treat any present value in "no_attachment_links" as true

Closes pleroma-fe#175

See merge request pleroma/pleroma!597

5 years agoMerge branch 'fix/public-timeline-auth' into 'develop'
kaniini [Fri, 28 Dec 2018 18:30:36 +0000 (18:30 +0000)]
Merge branch 'fix/public-timeline-auth' into 'develop'

Fix Twitter timelines for private instances

See merge request pleroma/pleroma!602

5 years ago[#483] Blocked users export for TwitterAPI.
Ivan Tashkinov [Fri, 28 Dec 2018 18:08:07 +0000 (21:08 +0300)]
[#483] Blocked users export for TwitterAPI.

5 years agoWeb.TwitterAPI.UserView: Add rights.admin
Haelwenn (lanodan) Monnier [Sun, 23 Dec 2018 17:31:37 +0000 (18:31 +0100)]
Web.TwitterAPI.UserView: Add rights.admin

5 years ago[#471] Factored out User.visible_for?/2.
Ivan Tashkinov [Fri, 28 Dec 2018 11:35:25 +0000 (14:35 +0300)]
[#471] Factored out User.visible_for?/2.

5 years agoFix Twitter timelines for private instances
Vyr Cossont [Fri, 28 Dec 2018 06:43:40 +0000 (22:43 -0800)]
Fix Twitter timelines for private instances

5 years agoMerge branch '396_elixir_1.7' into 'develop'
Haelwenn [Thu, 27 Dec 2018 22:10:39 +0000 (22:10 +0000)]
Merge branch '396_elixir_1.7' into 'develop'

[#396] Required Elixir ~> 1.7.

Closes #396

See merge request pleroma/pleroma!600

5 years agoMerge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
kaniini [Thu, 27 Dec 2018 19:37:55 +0000 (19:37 +0000)]
Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'

Create tombstone instead of object deletion

See merge request pleroma/pleroma!593

5 years agoMerge branch 'reserve-user-names' into 'develop'
kaniini [Thu, 27 Dec 2018 19:35:06 +0000 (19:35 +0000)]
Merge branch 'reserve-user-names' into 'develop'

Reserve a few user names

See merge request pleroma/pleroma!594

5 years agoMerge branch 'feature/exclude_reblogs' into 'develop'
kaniini [Thu, 27 Dec 2018 19:22:31 +0000 (19:22 +0000)]
Merge branch 'feature/exclude_reblogs' into 'develop'

Implement exclude_reblogs and include_rts

See merge request pleroma/pleroma!598

5 years ago[#396] Updated `ex_doc` version spec. Updated README to reflect Elixir version.
Ivan Tashkinov [Thu, 27 Dec 2018 13:32:47 +0000 (16:32 +0300)]
[#396] Updated `ex_doc` version spec. Updated README to reflect Elixir version.

5 years ago[Fixes #396] Required Elixir ~> 1.7.
Ivan Tashkinov [Thu, 27 Dec 2018 13:12:33 +0000 (16:12 +0300)]
[Fixes #396] Required Elixir ~> 1.7.

5 years ago[#471] Prevented rendering of inactive local accounts.
Ivan Tashkinov [Thu, 27 Dec 2018 12:46:18 +0000 (15:46 +0300)]
[#471] Prevented rendering of inactive local accounts.

5 years agoTreat only true and "true" as true
Maxim Filippov [Thu, 27 Dec 2018 10:21:04 +0000 (13:21 +0300)]
Treat only true and "true" as true

5 years agoImplement exclude_reblogs and include_rts
Vyr Cossont [Thu, 27 Dec 2018 05:30:01 +0000 (21:30 -0800)]
Implement exclude_reblogs and include_rts

5 years agoTreat any present value in "no_attachment_links" as true
Maxim Filippov [Wed, 26 Dec 2018 23:39:41 +0000 (02:39 +0300)]
Treat any present value in "no_attachment_links" as true

5 years agoMerge branch 'fix/ci-set-mix-env-globally' into 'develop'
Haelwenn [Wed, 26 Dec 2018 20:11:07 +0000 (20:11 +0000)]
Merge branch 'fix/ci-set-mix-env-globally' into 'develop'

[CI] Set MIX_ENV to test in `variables` section instead of specifying it before the command. Fix `mix compile` compiling in dev env.

See merge request pleroma/pleroma!596

5 years ago[CI] Set MIX_ENV to test in `variables` section instead of specifying it before the...
Rin Toshaka [Wed, 26 Dec 2018 17:50:52 +0000 (18:50 +0100)]
[CI] Set MIX_ENV to test in `variables` section instead of specifying it before the command. Fix `mix compile` compiling in the dev env.

5 years agoAdd 'about' to restricted list.
lain [Wed, 26 Dec 2018 13:51:51 +0000 (14:51 +0100)]
Add 'about' to restricted list.

And correct pleromaFE config.

5 years agoAdd ~ to the list of restricted names.
lain [Wed, 26 Dec 2018 13:16:41 +0000 (14:16 +0100)]
Add ~ to the list of restricted names.

5 years agoExpose restricted names in nodeinfo.
lain [Wed, 26 Dec 2018 11:46:16 +0000 (12:46 +0100)]
Expose restricted names in nodeinfo.

5 years agoAdd some hard limits on inserted activities.
lain [Wed, 26 Dec 2018 11:39:35 +0000 (12:39 +0100)]
Add some hard limits on inserted activities.

5 years agoAdd test to check /object/:id does not leak the tombstone itself
Maxim Filippov [Tue, 25 Dec 2018 20:40:57 +0000 (23:40 +0300)]
Add test to check /object/:id does not leak the tombstone itself

5 years agoReserve a few user names
lain [Tue, 25 Dec 2018 19:09:27 +0000 (20:09 +0100)]
Reserve a few user names

These are all names that are used for domain.com/:route routes or projected to be.

5 years agoMerge branch 'legal-boilerplate' into 'develop'
lambda [Tue, 25 Dec 2018 17:53:48 +0000 (17:53 +0000)]
Merge branch 'legal-boilerplate' into 'develop'

Legal boilerplate

See merge request pleroma/pleroma!592

5 years agoFormat
Maxim Filippov [Tue, 25 Dec 2018 00:47:20 +0000 (03:47 +0300)]
Format

5 years agoRevert unneeded changes
Maxim Filippov [Tue, 25 Dec 2018 00:44:48 +0000 (03:44 +0300)]
Revert unneeded changes

5 years agoFix Activity test
Maxim Filippov [Tue, 25 Dec 2018 00:41:14 +0000 (03:41 +0300)]
Fix Activity test

5 years agoRemove unused test
Maxim Filippov [Tue, 25 Dec 2018 00:38:02 +0000 (03:38 +0300)]
Remove unused test

5 years agoRevert Activity tombstones, add ObjectTombstone struct
Maxim Filippov [Tue, 25 Dec 2018 00:00:06 +0000 (03:00 +0300)]
Revert Activity tombstones, add ObjectTombstone struct

5 years agoFix failing tests
Maxim Filippov [Mon, 24 Dec 2018 21:29:13 +0000 (00:29 +0300)]
Fix failing tests

5 years agoCapitalize "tombstone"
Maxim Filippov [Mon, 24 Dec 2018 17:09:18 +0000 (20:09 +0300)]
Capitalize "tombstone"

5 years agoCreate tombstone instead of object deletion
Maxim Filippov [Sun, 23 Dec 2018 23:25:36 +0000 (02:25 +0300)]
Create tombstone instead of object deletion

5 years agotests: add legal boilerplate
William Pitcock [Sun, 23 Dec 2018 20:11:29 +0000 (20:11 +0000)]
tests: add legal boilerplate

5 years agomix tasks: add legal boilerplate
William Pitcock [Sun, 23 Dec 2018 20:05:55 +0000 (20:05 +0000)]
mix tasks: add legal boilerplate

5 years agoadd license boilerplate to pleroma core
William Pitcock [Sun, 23 Dec 2018 20:04:54 +0000 (20:04 +0000)]
add license boilerplate to pleroma core

5 years agoMerge branch 'bugfix/trans_fix_url_videos' into 'develop'
lambda [Sun, 23 Dec 2018 14:46:58 +0000 (14:46 +0000)]
Merge branch 'bugfix/trans_fix_url_videos' into 'develop'

Fix "url" of Videos in transmogrifier

Closes #367

See merge request pleroma/pleroma!459

5 years agotests: twitter api: add test proving that peertube videos are correctly handled
William Pitcock [Sun, 23 Dec 2018 13:59:06 +0000 (13:59 +0000)]
tests: twitter api: add test proving that peertube videos are correctly handled

5 years agotwitter api: add "Video" to supported activity types list
William Pitcock [Sun, 23 Dec 2018 13:58:45 +0000 (13:58 +0000)]
twitter api: add "Video" to supported activity types list

5 years agotests: twitter api: activity view test: enable tesla mock
William Pitcock [Sun, 23 Dec 2018 13:55:08 +0000 (13:55 +0000)]
tests: twitter api: activity view test: enable tesla mock

5 years agotwitter api: activity representer: remove peertube hack
William Pitcock [Sun, 23 Dec 2018 13:53:25 +0000 (13:53 +0000)]
twitter api: activity representer: remove peertube hack

5 years agotests: mastodon api: add test verifying that peertube videos are correctly rendered
William Pitcock [Sun, 23 Dec 2018 13:42:42 +0000 (13:42 +0000)]
tests: mastodon api: add test verifying that peertube videos are correctly rendered

5 years agomastodon api: status view: remove obsolete peertube hack
William Pitcock [Sun, 23 Dec 2018 13:40:33 +0000 (13:40 +0000)]
mastodon api: status view: remove obsolete peertube hack

5 years agotransmogrifier: significantly rework handling of peertube videos, add test
William Pitcock [Sun, 23 Dec 2018 13:28:17 +0000 (13:28 +0000)]
transmogrifier: significantly rework handling of peertube videos, add test

5 years agoMerge branch 'hotfix/activity-without-content' into 'develop'
lambda [Sun, 23 Dec 2018 13:17:25 +0000 (13:17 +0000)]
Merge branch 'hotfix/activity-without-content' into 'develop'

Twitter ActivityView: fix crash with activity without content

See merge request pleroma/pleroma!572

5 years agotransmogrifier: When it’s a Video move "url" to "attachment"
Haelwenn (lanodan) Monnier [Sat, 17 Nov 2018 17:34:45 +0000 (18:34 +0100)]
transmogrifier: When it’s a Video move "url" to "attachment"

5 years agoMerge branch 'feature/hellthread-mitigation' into 'develop'
kaniini [Sun, 23 Dec 2018 11:28:43 +0000 (11:28 +0000)]
Merge branch 'feature/hellthread-mitigation' into 'develop'

implement hellthread mitigation

Closes #474

See merge request pleroma/pleroma!588

5 years agoImplement kaniini's tweaks
Karen Konou [Sun, 23 Dec 2018 11:24:53 +0000 (12:24 +0100)]
Implement kaniini's tweaks

5 years agoRenamed the things
Karen Konou [Sun, 23 Dec 2018 10:14:29 +0000 (11:14 +0100)]
Renamed the things

5 years agoAdd documentation
Karen Konou [Sun, 23 Dec 2018 09:41:56 +0000 (10:41 +0100)]
Add documentation