akkoma
5 years agoPrefer ids to usernames
rinpatch [Mon, 14 Jan 2019 06:52:52 +0000 (09:52 +0300)]
Prefer ids to usernames

5 years agoResolve merge conflict
rinpatch [Sun, 13 Jan 2019 10:38:28 +0000 (13:38 +0300)]
Resolve merge conflict

5 years agoReset index.html to develop
rinpatch [Sun, 13 Jan 2019 10:00:53 +0000 (13:00 +0300)]
Reset index.html to develop

5 years agoRemove .idea
rinpatch [Sun, 13 Jan 2019 09:58:49 +0000 (12:58 +0300)]
Remove .idea

5 years agoMerge branch 'bugfix/pinned-statuses' into 'develop'
kaniini [Fri, 11 Jan 2019 23:09:41 +0000 (23:09 +0000)]
Merge branch 'bugfix/pinned-statuses' into 'develop'

Unpin when deleting a status

See merge request pleroma/pleroma!655

5 years agoMerge branch 'fix-spellign' into 'develop'
scarlett [Fri, 11 Jan 2019 10:02:25 +0000 (10:02 +0000)]
Merge branch 'fix-spellign' into 'develop'

Fix spellign.

See merge request pleroma/pleroma!656

5 years agoFix spellign.
scarlett [Fri, 11 Jan 2019 09:55:33 +0000 (09:55 +0000)]
Fix spellign.

5 years agotypo
Egor Kislitsyn [Fri, 11 Jan 2019 05:47:44 +0000 (12:47 +0700)]
typo

5 years agounpin when deleting a status
Egor Kislitsyn [Fri, 11 Jan 2019 05:31:31 +0000 (12:31 +0700)]
unpin when deleting a status

5 years agoMerge branch 'fix-varnish-chunked' into 'develop'
kaniini [Thu, 10 Jan 2019 18:49:00 +0000 (18:49 +0000)]
Merge branch 'fix-varnish-chunked' into 'develop'

Fix varnish chunked and general improvements

See merge request pleroma/pleroma!653

5 years agoMerge branch 'activitypub-dereference-activity-id' into 'develop'
kaniini [Thu, 10 Jan 2019 18:42:36 +0000 (18:42 +0000)]
Merge branch 'activitypub-dereference-activity-id' into 'develop'

Support activity+json request for activity

See merge request pleroma/pleroma!641

5 years agoConsistent intentation
Mark Felder [Thu, 10 Jan 2019 18:29:36 +0000 (18:29 +0000)]
Consistent intentation

5 years agoCache partial objects for 10 minutes
Mark Felder [Thu, 10 Jan 2019 18:28:14 +0000 (18:28 +0000)]
Cache partial objects for 10 minutes
This enables caching/streaming of chunked responses

5 years agoStreaming is enabled by default
Mark Felder [Thu, 10 Jan 2019 18:23:22 +0000 (18:23 +0000)]
Streaming is enabled by default
Support more filetypes for caching static media

5 years agoMerge branch 'feature/add-twitter-card-parser' into 'develop'
kaniini [Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)]
Merge branch 'feature/add-twitter-card-parser' into 'develop'

Add Twitter Card parser

See merge request pleroma/pleroma!643

5 years agoAdd Twitter Card parser
Maxim Filippov [Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)]
Add Twitter Card parser

5 years agoMerge branch 'twapi-follower-pagination' into 'develop'
kaniini [Thu, 10 Jan 2019 18:03:32 +0000 (18:03 +0000)]
Merge branch 'twapi-follower-pagination' into 'develop'

Twapi follower pagination

See merge request pleroma/pleroma!648

5 years agoMerge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
Haelwenn [Thu, 10 Jan 2019 03:54:29 +0000 (03:54 +0000)]
Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'

common api: fix newlines in markdown code blocks

See merge request pleroma/pleroma!651

5 years agotest: common api: add tests for format_input/4
William Pitcock [Thu, 10 Jan 2019 03:46:34 +0000 (03:46 +0000)]
test: common api: add tests for format_input/4

5 years agocommon api: utils: remove newline to <br> conversion from bare HTML to be consistent...
William Pitcock [Thu, 10 Jan 2019 03:45:58 +0000 (03:45 +0000)]
common api: utils: remove newline to <br> conversion from bare HTML to be consistent with markdown

ok @lanodan

5 years agocommon api: fix newlines in markdown code blocks
William Pitcock [Thu, 10 Jan 2019 02:22:11 +0000 (02:22 +0000)]
common api: fix newlines in markdown code blocks

5 years agoMerge branch 'feature/pinned-posts' into 'develop'
kaniini [Thu, 10 Jan 2019 02:39:53 +0000 (02:39 +0000)]
Merge branch 'feature/pinned-posts' into 'develop'

Pinned Statuses

Closes #440

See merge request pleroma/pleroma!636

5 years agoMerge branch 'mass-follow' into 'develop'
kaniini [Thu, 10 Jan 2019 02:33:11 +0000 (02:33 +0000)]
Merge branch 'mass-follow' into 'develop'

Mass follow

See merge request pleroma/pleroma!642

5 years agoMerge branch 'dm-optimizations' into 'develop'
kaniini [Thu, 10 Jan 2019 02:31:29 +0000 (02:31 +0000)]
Merge branch 'dm-optimizations' into 'develop'

Add activity visibility index.

See merge request pleroma/pleroma!646

5 years agoMerge branch 'fix-alphasort' into 'develop'
kaniini [Thu, 10 Jan 2019 01:08:33 +0000 (01:08 +0000)]
Merge branch 'fix-alphasort' into 'develop'

Alpha sort the restricted nicknames

See merge request pleroma/pleroma!650

5 years agoAlpha sort the restricted nicknames
Mark Felder [Thu, 10 Jan 2019 00:06:03 +0000 (00:06 +0000)]
Alpha sort the restricted nicknames

5 years agoMerge branch 'hotfix/ogp-cachex-fix' into 'develop'
rinpatch [Wed, 9 Jan 2019 18:42:00 +0000 (18:42 +0000)]
Merge branch 'hotfix/ogp-cachex-fix' into 'develop'

Rich media: Remove :commit since a tuple is already returned

See merge request pleroma/pleroma!649

5 years agoRemove :commit since a tuple is already returned
rinpatch [Wed, 9 Jan 2019 18:35:01 +0000 (21:35 +0300)]
Remove :commit since a tuple is already returned

5 years agoAdd integer casts.
lain [Wed, 9 Jan 2019 17:17:23 +0000 (18:17 +0100)]
Add integer casts.

5 years agoTwitterAPI: Add follower/following pagination.
lain [Wed, 9 Jan 2019 17:14:32 +0000 (18:14 +0100)]
TwitterAPI: Add follower/following pagination.

5 years agoMerge branch 'scarlett/pleroma-summary-html-api' into 'develop'
lambda [Wed, 9 Jan 2019 16:26:38 +0000 (16:26 +0000)]
Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'

Scarlett/pleroma summary html api

See merge request pleroma/pleroma!647

5 years agoAdd test for summary_html
lain [Wed, 9 Jan 2019 16:18:37 +0000 (17:18 +0100)]
Add test for summary_html

5 years agoBuild the index concurrently.
lain [Wed, 9 Jan 2019 15:55:05 +0000 (16:55 +0100)]
Build the index concurrently.

5 years agoAdd activity visibility index.
lain [Wed, 9 Jan 2019 15:45:09 +0000 (16:45 +0100)]
Add activity visibility index.

5 years agoimprove tests
Egor Kislitsyn [Wed, 9 Jan 2019 12:54:37 +0000 (19:54 +0700)]
improve tests

5 years agoAdd Twitter API for the pinned statuses
Egor Kislitsyn [Wed, 9 Jan 2019 12:54:19 +0000 (19:54 +0700)]
Add Twitter API for the pinned statuses

```
# Only return statuses that have been pinned
GET /api/statuses/user_timeline.json?pinned=true

# Pin
POST /api/statuses/pin/:id

# Unpin
POST /api/statuses/unpin/:id
```

5 years agoonly non-reblogs, self-authored, public statuses can be pinned
Egor Kislitsyn [Wed, 9 Jan 2019 10:40:15 +0000 (17:40 +0700)]
only non-reblogs, self-authored, public statuses can be pinned

5 years agoUse follow_all in autofollow.
lain [Wed, 9 Jan 2019 10:38:45 +0000 (11:38 +0100)]
Use follow_all in autofollow.

5 years agoAdd User mass following function.
lain [Wed, 9 Jan 2019 10:35:23 +0000 (11:35 +0100)]
Add User mass following function.

5 years agomove defaults from sample_config.exs to config.exs
Egor Kislitsyn [Wed, 9 Jan 2019 10:02:30 +0000 (17:02 +0700)]
move defaults from sample_config.exs to config.exs

5 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned...
Egor Kislitsyn [Wed, 9 Jan 2019 09:56:31 +0000 (16:56 +0700)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts

# Conflicts:
# docs/config.md

5 years agoSupport activity+json request for activity
sxsdv1 [Tue, 8 Jan 2019 22:22:15 +0000 (23:22 +0100)]
Support activity+json request for activity

5 years agoMerge branch 'hotfix/media-proxy-uri' into 'develop'
kaniini [Wed, 9 Jan 2019 07:09:39 +0000 (07:09 +0000)]
Merge branch 'hotfix/media-proxy-uri' into 'develop'

user: fix local vs remote determination in remote_or_auth_active?/1

See merge request pleroma/pleroma!640

5 years agotest: user: add tests for visible_for?/2
William Pitcock [Wed, 9 Jan 2019 07:03:32 +0000 (07:03 +0000)]
test: user: add tests for visible_for?/2

5 years agotests: user: add tests for superuser?/1
William Pitcock [Wed, 9 Jan 2019 06:50:31 +0000 (06:50 +0000)]
tests: user: add tests for superuser?/1

5 years agouser: fix auth_active?/1 for remote users
William Pitcock [Wed, 9 Jan 2019 06:45:17 +0000 (06:45 +0000)]
user: fix auth_active?/1 for remote users

5 years agouser: factor out illogical User.Info.superuser?/1.
William Pitcock [Wed, 9 Jan 2019 06:41:25 +0000 (06:41 +0000)]
user: factor out illogical User.Info.superuser?/1.

any actual callee will be dealing with a User struct to begin with, so
just check the child struct inside User.superuser?/1 with pattern matching.

5 years agouser: remove entirely redundant remote_or_auth_active?/1.
William Pitcock [Wed, 9 Jan 2019 06:36:50 +0000 (06:36 +0000)]
user: remove entirely redundant remote_or_auth_active?/1.

auth_active?/1 can check remote users and return true directly.

5 years agouser: harden auth_active?/1, superuser?/1, visible_for?/1
William Pitcock [Wed, 9 Jan 2019 06:21:21 +0000 (06:21 +0000)]
user: harden auth_active?/1, superuser?/1, visible_for?/1

5 years agotests: user: add regression test for remote_or_auth_active?/1
William Pitcock [Wed, 9 Jan 2019 05:02:00 +0000 (05:02 +0000)]
tests: user: add regression test for remote_or_auth_active?/1

5 years agouser: use pattern matching to determine if user is local or remote instead of the...
William Pitcock [Wed, 9 Jan 2019 04:46:03 +0000 (04:46 +0000)]
user: use pattern matching to determine if user is local or remote instead of the previous hairy logic

5 years agoMerge branch 'autofollow' into 'develop'
rinpatch [Tue, 8 Jan 2019 22:58:19 +0000 (22:58 +0000)]
Merge branch 'autofollow' into 'develop'

Add a setting for users to autofollow on sign up.

See merge request pleroma/pleroma!639

5 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned...
Egor Kislitsyn [Tue, 8 Jan 2019 09:32:07 +0000 (16:32 +0700)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts

5 years agoadd default configuration for the pinned statuses and some doc
Egor Kislitsyn [Tue, 8 Jan 2019 09:11:03 +0000 (16:11 +0700)]
add default configuration for the pinned statuses and some doc

5 years agoimprove test readability
Egor Kislitsyn [Tue, 8 Jan 2019 09:01:35 +0000 (16:01 +0700)]
improve test readability

5 years agoAdd a setting for users to autofollow on sign up.
lain [Tue, 8 Jan 2019 08:55:33 +0000 (09:55 +0100)]
Add a setting for users to autofollow on sign up.

5 years agofix test
Egor Kislitsyn [Tue, 8 Jan 2019 08:32:06 +0000 (15:32 +0700)]
fix test

5 years agoadd `pinned` property to `StatusView`
Egor Kislitsyn [Tue, 8 Jan 2019 08:27:02 +0000 (15:27 +0700)]
add `pinned` property to `StatusView`

5 years agorename `post` to `status`
Egor Kislitsyn [Tue, 8 Jan 2019 08:25:50 +0000 (15:25 +0700)]
rename `post` to `status`

5 years agoMerge branch 'features/syslog_logger' into 'develop'
kaniini [Mon, 7 Jan 2019 22:25:02 +0000 (22:25 +0000)]
Merge branch 'features/syslog_logger' into 'develop'

Add logging to syslog

See merge request pleroma/pleroma!622

5 years agoMerge branch 'spc-fix-2' into 'develop'
kaniini [Mon, 7 Jan 2019 20:39:46 +0000 (20:39 +0000)]
Merge branch 'spc-fix-2' into 'develop'

Actually put some onformation in the error user, make it actually properly parse in conversations.

See merge request pleroma/pleroma!638

5 years agoActually put some onformation in the error user, make it actually properly parse
lain [Mon, 7 Jan 2019 19:59:30 +0000 (20:59 +0100)]
Actually put some onformation in the error user, make it actually properly parse
in conversations.

5 years agoMerge branch 'resilient-user-view' into 'develop'
kaniini [Mon, 7 Jan 2019 17:09:52 +0000 (17:09 +0000)]
Merge branch 'resilient-user-view' into 'develop'

Make TwAPI UserView more resilient to issues.

See merge request pleroma/pleroma!634

5 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned...
Egor Kislitsyn [Mon, 7 Jan 2019 13:55:32 +0000 (20:55 +0700)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts

5 years agoadd pinned posts
Egor Kislitsyn [Mon, 7 Jan 2019 13:45:33 +0000 (20:45 +0700)]
add pinned posts

5 years agoMerge branch 'scarlett/pleroma-search-visibility-check' into 'develop'
lambda [Mon, 7 Jan 2019 12:20:15 +0000 (12:20 +0000)]
Merge branch 'scarlett/pleroma-search-visibility-check' into 'develop'

Scarlett/pleroma search visibility check

See merge request pleroma/pleroma!635

5 years agoMastoAPI: Add test.
lain [Mon, 7 Jan 2019 12:13:37 +0000 (13:13 +0100)]
MastoAPI: Add test.

5 years agoMake TwAPI UserView more resilient to issues.
lain [Mon, 7 Jan 2019 11:41:31 +0000 (12:41 +0100)]
Make TwAPI UserView more resilient to issues.

Will work for missing users and badly migrated users.

5 years agoCheck visible_for_user when performing a search using a direct link.
scarlett [Mon, 7 Jan 2019 10:30:30 +0000 (10:30 +0000)]
Check visible_for_user when performing a search using a direct link.

5 years agoTwitter API: Add a summary_html field.
scarlett [Sun, 6 Jan 2019 10:16:40 +0000 (10:16 +0000)]
Twitter API: Add a summary_html field.

The intention here is to allow proper subject copying when it contains
emoji, obviously this will require minor frontend changes, though.

5 years agoconfig/config.exs: Add syslog backends
Haelwenn (lanodan) Monnier [Wed, 2 Jan 2019 22:07:48 +0000 (23:07 +0100)]
config/config.exs: Add syslog backends

5 years agoInstall ex_syslogger
Haelwenn (lanodan) Monnier [Wed, 2 Jan 2019 21:57:37 +0000 (22:57 +0100)]
Install ex_syslogger

5 years agoMerge branch 'fix/multiple-follow-notifications-from-same-user' into 'develop'
kaniini [Sat, 5 Jan 2019 22:54:25 +0000 (22:54 +0000)]
Merge branch 'fix/multiple-follow-notifications-from-same-user' into 'develop'

Add check to prevent multiple follow notifications from the same user

Closes #397

See merge request pleroma/pleroma!591

5 years agoAdd check to prevent multiple follow notifications from the same user
Sadposter [Sat, 5 Jan 2019 22:54:25 +0000 (22:54 +0000)]
Add check to prevent multiple follow notifications from the same user

5 years agoMerge branch 'fix/user-search-null-name' into 'develop'
kaniini [Sat, 5 Jan 2019 22:34:47 +0000 (22:34 +0000)]
Merge branch 'fix/user-search-null-name' into 'develop'

fix user search results for users with unset display name

Closes #499

See merge request pleroma/pleroma!625

5 years agoMerge branch 'fix_486' into 'develop'
kaniini [Sat, 5 Jan 2019 22:33:38 +0000 (22:33 +0000)]
Merge branch 'fix_486' into 'develop'

fix 486: Add option --assume-yes to allow mix pleroma.user to work non-interactive

See merge request pleroma/pleroma!627

5 years agoMerge branch 'activitypub-tombstone-fix' into 'develop'
kaniini [Sat, 5 Jan 2019 22:29:08 +0000 (22:29 +0000)]
Merge branch 'activitypub-tombstone-fix' into 'develop'

Don't crash on AP request for tombstone

See merge request pleroma/pleroma!630

5 years agoMerge branch 'emoji-in-summary' into 'develop'
scarlett [Sat, 5 Jan 2019 21:52:02 +0000 (21:52 +0000)]
Merge branch 'emoji-in-summary' into 'develop'

Strip HTML in and allow emoji in summaries.

See merge request pleroma/pleroma!631

5 years agoAdd tests for emoji and lack of HTML in summaries.
scarlett [Sat, 5 Jan 2019 21:46:42 +0000 (21:46 +0000)]
Add tests for emoji and lack of HTML in summaries.

5 years agoRemove redundant comma.
scarlett [Sat, 5 Jan 2019 18:25:36 +0000 (18:25 +0000)]
Remove redundant comma.

5 years agoResolve some test failures.
scarlett [Sat, 5 Jan 2019 18:20:42 +0000 (18:20 +0000)]
Resolve some test failures.

5 years agoadd some brakets to the emoji list.
scarlett [Sat, 5 Jan 2019 17:35:39 +0000 (17:35 +0000)]
add some brakets to the emoji list.

5 years agoStrip HTML in and allow emoji in summaries.
scarlett [Sat, 5 Jan 2019 17:28:47 +0000 (17:28 +0000)]
Strip HTML in and allow emoji in summaries.

5 years agoDon't crash on AP request for tombstone
sxsdv1 [Sat, 5 Jan 2019 09:38:38 +0000 (10:38 +0100)]
Don't crash on AP request for tombstone

Because tombstone objects has no addressing the is_public?-predicate
would cause an error that propagated as a 500 error in the api

5 years agoMerge branch 'develop' of git.pleroma.social:cascode/pleroma into fix/user-search...
cascode [Sat, 5 Jan 2019 04:32:55 +0000 (20:32 -0800)]
Merge branch 'develop' of git.pleroma.social:cascode/pleroma into fix/user-search-null-name

5 years agoMerge branch 'feature/rich-media-cachex' into 'develop'
rinpatch [Fri, 4 Jan 2019 23:56:42 +0000 (23:56 +0000)]
Merge branch 'feature/rich-media-cachex' into 'develop'

rich media: use cachex to avoid flooding remote servers

See merge request pleroma/pleroma!629

5 years agorich media: disable cachex in test mode
William Pitcock [Fri, 4 Jan 2019 23:50:54 +0000 (23:50 +0000)]
rich media: disable cachex in test mode

5 years agoMerge branch 'fix/html-cache-content-collision' into 'develop'
kaniini [Fri, 4 Jan 2019 23:35:56 +0000 (23:35 +0000)]
Merge branch 'fix/html-cache-content-collision' into 'develop'

Different caches based on the module. Remove scrubber version since it is not relevant anymore

See merge request pleroma/pleroma!628

5 years agorich media: use cachex to avoid flooding remote servers
William Pitcock [Fri, 4 Jan 2019 23:23:47 +0000 (23:23 +0000)]
rich media: use cachex to avoid flooding remote servers

5 years agooopsies
Rin Toshaka [Fri, 4 Jan 2019 23:25:31 +0000 (00:25 +0100)]
oopsies

5 years agoDifferent caches based on the module. Remove scrubber version since it is not relevan...
Rin Toshaka [Fri, 4 Jan 2019 23:19:46 +0000 (00:19 +0100)]
Different caches based on the module. Remove scrubber version since it is not relevant anymore

5 years agofix 486: Add option --assume-yes to allow it to work non-interactive
spctrl [Fri, 4 Jan 2019 21:11:46 +0000 (22:11 +0100)]
fix 486: Add option --assume-yes to allow it to work non-interactive

5 years agoMerge branch 'feature/rich-media' into 'develop'
kaniini [Fri, 4 Jan 2019 20:50:18 +0000 (20:50 +0000)]
Merge branch 'feature/rich-media' into 'develop'

URL previews in posts

Closes #402

See merge request pleroma/pleroma!617

5 years agoMerge branch 'activitypub-c2s-delete-activity' into 'develop'
kaniini [Fri, 4 Jan 2019 20:32:10 +0000 (20:32 +0000)]
Merge branch 'activitypub-c2s-delete-activity' into 'develop'

Activitypub c2s delete activity

See merge request pleroma/pleroma!618

5 years agoformatted
cascode [Fri, 4 Jan 2019 18:18:43 +0000 (10:18 -0800)]
formatted

5 years agoadded test for #499
cascode [Fri, 4 Jan 2019 18:14:13 +0000 (10:14 -0800)]
added test for #499

5 years agohandle null
cascode [Fri, 4 Jan 2019 09:35:26 +0000 (01:35 -0800)]
handle null

5 years agoMerge branch 'mr/retry-queue-remove-fold' into 'develop'
kaniini [Thu, 3 Jan 2019 22:30:02 +0000 (22:30 +0000)]
Merge branch 'mr/retry-queue-remove-fold' into 'develop'

rewrites List.foldl to Enum.each in RetryQueue

See merge request pleroma/pleroma!621

5 years agoMerge branch 'media-proxy-remove-empty-conf-defaults' into 'develop'
kaniini [Thu, 3 Jan 2019 22:29:36 +0000 (22:29 +0000)]
Merge branch 'media-proxy-remove-empty-conf-defaults' into 'develop'

Remove media proxy examples in config/config.exs

See merge request pleroma/pleroma!624

5 years agoRemove media proxy examples in config/config.exs
href [Thu, 3 Jan 2019 19:20:11 +0000 (20:20 +0100)]
Remove media proxy examples in config/config.exs

1. this was overriding the real defaults
2. it's documented in `config/config.md`