akkoma
5 years agoFix attachement rendering
Haelwenn (lanodan) Monnier [Wed, 13 Jun 2018 22:26:37 +0000 (00:26 +0200)]
Fix attachement rendering

5 years agoRender peertube videos in mastodon.
lain [Sun, 25 Mar 2018 15:07:40 +0000 (17:07 +0200)]
Render peertube videos in mastodon.

5 years agoUse activitypub to fetch posts.
lain [Sun, 25 Mar 2018 15:00:30 +0000 (17:00 +0200)]
Use activitypub to fetch posts.

This falls back to ostatus.

5 years agoBasic peertube support.
Haelwenn (lanodan) Monnier [Thu, 12 Jul 2018 17:06:28 +0000 (19:06 +0200)]
Basic peertube support.

5 years agoPleroma.Web.ActivityPub.Transmogrifier: Fix actor being a list of objects (Peertube)
Haelwenn (lanodan) Monnier [Wed, 1 Aug 2018 01:24:39 +0000 (03:24 +0200)]
Pleroma.Web.ActivityPub.Transmogrifier: Fix actor being a list of objects (Peertube)

5 years agoattempt to add html validation to mastodon api test case
ensra [Tue, 21 Aug 2018 14:41:32 +0000 (15:41 +0100)]
attempt to add html validation to mastodon api test case

5 years agothis should be looking at the follower's bio, not the user's bio.
ensra [Tue, 21 Aug 2018 14:25:21 +0000 (15:25 +0100)]
this should be looking at the follower's bio, not the user's bio.
fixes test.

5 years agosync bio sanitization code in tests
ensra [Tue, 21 Aug 2018 14:24:06 +0000 (15:24 +0100)]
sync bio sanitization code in tests

5 years agofix test for converting bio \r\n to <br>.
ensra [Tue, 21 Aug 2018 13:51:27 +0000 (14:51 +0100)]
fix test for converting bio \r\n to <br>.

5 years agoFormat
ensra [Tue, 21 Aug 2018 13:12:55 +0000 (14:12 +0100)]
Format

5 years agoTwitter API: Support Mastodon-style bios
ensra [Tue, 21 Aug 2018 13:03:36 +0000 (14:03 +0100)]
Twitter API: Support Mastodon-style bios
(multi-line, with links, and user mentions)

5 years agomastodon api: sanitize the bio HTML
ensra [Tue, 21 Aug 2018 09:53:53 +0000 (10:53 +0100)]
mastodon api: sanitize the bio HTML

5 years agoMerge branch 'feature/formatter-consistent-hashtag-mentions' into 'develop'
kaniini [Mon, 20 Aug 2018 18:44:52 +0000 (18:44 +0000)]
Merge branch 'feature/formatter-consistent-hashtag-mentions' into 'develop'

formatter: consistent presentation of hashtags and mentions

See merge request pleroma/pleroma!280

5 years agoformatting
William Pitcock [Mon, 20 Aug 2018 18:40:05 +0000 (18:40 +0000)]
formatting

5 years agocommon api: format hashtags in the same way as we format mentions
William Pitcock [Wed, 21 Mar 2018 00:51:47 +0000 (00:51 +0000)]
common api: format hashtags in the same way as we format mentions

5 years agoMerge branch 'update/pleroma-fe-20180821' into 'develop'
kaniini [Mon, 20 Aug 2018 18:17:05 +0000 (18:17 +0000)]
Merge branch 'update/pleroma-fe-20180821' into 'develop'

update pleroma frontend

See merge request pleroma/pleroma!279

5 years agoupdate pleroma frontend
William Pitcock [Mon, 20 Aug 2018 18:10:29 +0000 (18:10 +0000)]
update pleroma frontend

5 years agoMerge branch 'fix/redirect-on-user-fetch' into 'develop'
eal [Mon, 20 Aug 2018 12:13:07 +0000 (12:13 +0000)]
Merge branch 'fix/redirect-on-user-fetch' into 'develop'

ActivityPub: follow redirects when fetching user

See merge request pleroma/pleroma!278

5 years agoActivityPub: follow redirects when fetching user
eal [Mon, 20 Aug 2018 11:51:13 +0000 (14:51 +0300)]
ActivityPub: follow redirects when fetching user

5 years agoMerge branch 'update/pleroma-fe-20180820' into 'develop'
kaniini [Mon, 20 Aug 2018 04:50:27 +0000 (04:50 +0000)]
Merge branch 'update/pleroma-fe-20180820' into 'develop'

update pleroma frontend

See merge request pleroma/pleroma!277

5 years agoupdate pleroma frontend
William Pitcock [Mon, 20 Aug 2018 04:45:34 +0000 (04:45 +0000)]
update pleroma frontend

5 years agoMerge branch 'update/pleroma-fe-20180818' into 'develop'
kaniini [Sat, 18 Aug 2018 18:24:33 +0000 (18:24 +0000)]
Merge branch 'update/pleroma-fe-20180818' into 'develop'

update pleroma frontend

See merge request pleroma/pleroma!276

5 years agoupdate pleroma frontend
William Pitcock [Sat, 18 Aug 2018 18:19:11 +0000 (18:19 +0000)]
update pleroma frontend

5 years agoMerge branch 'develop' into 'develop'
kaniini [Fri, 17 Aug 2018 16:03:52 +0000 (16:03 +0000)]
Merge branch 'develop' into 'develop'

Fix typo in app creation response

See merge request pleroma/pleroma!275

5 years agoFix typo in app creation response
shadowfacts [Fri, 17 Aug 2018 12:48:24 +0000 (12:48 +0000)]
Fix typo in app creation response

Mastodon sends redirect_uri (singular), so should Pleroma.

5 years agoMerge branch 'bugfix/undocumented-mastodon-app-api' into 'develop'
kaniini [Thu, 16 Aug 2018 23:59:34 +0000 (23:59 +0000)]
Merge branch 'bugfix/undocumented-mastodon-app-api' into 'develop'

mastodon api: add undocumented fields to json response, return app id as string…

See merge request pleroma/pleroma!274

5 years agomastodon api controller: client_name, not name
William Pitcock [Thu, 16 Aug 2018 23:49:35 +0000 (23:49 +0000)]
mastodon api controller: client_name, not name

5 years agomastodon api: add undocumented fields to json response, return app id as string like...
William Pitcock [Thu, 16 Aug 2018 23:36:35 +0000 (23:36 +0000)]
mastodon api: add undocumented fields to json response, return app id as string like mastodon itself does

5 years agoMerge branch 'bugfix/mix-lock' into 'develop'
kaniini [Thu, 16 Aug 2018 23:35:39 +0000 (23:35 +0000)]
Merge branch 'bugfix/mix-lock' into 'develop'

update mix.lock

See merge request pleroma/pleroma!273

5 years agoupdate mix.lock
William Pitcock [Thu, 16 Aug 2018 23:25:45 +0000 (23:25 +0000)]
update mix.lock

5 years agoMerge branch 'patch-2' into 'develop'
kaniini [Thu, 16 Aug 2018 15:45:12 +0000 (15:45 +0000)]
Merge branch 'patch-2' into 'develop'

Update mix.exs

See merge request pleroma/pleroma!241

5 years agoMerge branch 'dev-lanodan-url-regex' into 'develop'
kaniini [Thu, 16 Aug 2018 15:41:16 +0000 (15:41 +0000)]
Merge branch 'dev-lanodan-url-regex' into 'develop'

lib/pleroma/formatter.ex: Fix URL regex

Closes #127

See merge request pleroma/pleroma!69

5 years agoMerge branch 'mastofe/system-font' into 'develop'
kaniini [Thu, 16 Aug 2018 15:38:59 +0000 (15:38 +0000)]
Merge branch 'mastofe/system-font' into 'develop'

Mastodon frontend: Use system font

See merge request pleroma/pleroma!247

5 years agofix compile
kaniini [Thu, 16 Aug 2018 15:37:58 +0000 (15:37 +0000)]
fix compile

5 years agoMerge branch 'develop' into 'patch-2'
kaniini [Thu, 16 Aug 2018 15:23:04 +0000 (15:23 +0000)]
Merge branch 'develop' into 'patch-2'

# Conflicts:
#   mix.exs

5 years agoMerge branch 'bugfix/federation-kroeg' into 'develop'
kaniini [Thu, 16 Aug 2018 15:20:15 +0000 (15:20 +0000)]
Merge branch 'bugfix/federation-kroeg' into 'develop'

fix federation with kroeg

See merge request pleroma/pleroma!272

5 years agoMerge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'
kaniini [Thu, 16 Aug 2018 15:19:46 +0000 (15:19 +0000)]
Merge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'

Fix: Output repeats at ActivityPub outbox

Closes #191

See merge request pleroma/pleroma!175

5 years agoMerge branch 'fix/normalize-file-extension' into 'develop'
kaniini [Thu, 16 Aug 2018 15:17:17 +0000 (15:17 +0000)]
Merge branch 'fix/normalize-file-extension' into 'develop'

Normalize file extension for uploaded files

Closes #218

See merge request pleroma/pleroma!233

5 years agotestsuite: add puckipedia test fixture
William Pitcock [Thu, 16 Aug 2018 15:10:10 +0000 (15:10 +0000)]
testsuite: add puckipedia test fixture

5 years agoMerge branch 'feature/suggestions-api-with-third-party-recommendation-engine' into...
lambda [Wed, 15 Aug 2018 07:47:33 +0000 (07:47 +0000)]
Merge branch 'feature/suggestions-api-with-third-party-recommendation-engine' into 'develop'

Feature / Suggestions API with third party recommendation engine

See merge request pleroma/pleroma!254

5 years agotestsuite: formatting
William Pitcock [Tue, 14 Aug 2018 17:15:33 +0000 (17:15 +0000)]
testsuite: formatting

5 years agotest: add kroeg fixtures
William Pitcock [Tue, 14 Aug 2018 17:07:01 +0000 (17:07 +0000)]
test: add kroeg fixtures

5 years agoactivitypub: transmogrifier: add necessary translations for kroeg
William Pitcock [Tue, 14 Aug 2018 17:05:11 +0000 (17:05 +0000)]
activitypub: transmogrifier: add necessary translations for kroeg

5 years agoUse Image type for emoji icons.
eal [Mon, 13 Aug 2018 13:21:18 +0000 (16:21 +0300)]
Use Image type for emoji icons.

5 years agoActivityPub user view: include tag if present.
eal [Mon, 13 Aug 2018 13:11:48 +0000 (16:11 +0300)]
ActivityPub user view: include tag if present.

5 years agoCommonAPI: add emoji to user source data on update
eal [Sun, 12 Aug 2018 19:24:10 +0000 (22:24 +0300)]
CommonAPI: add emoji to user source data on update

5 years agoformatting
lain [Sun, 12 Aug 2018 17:42:21 +0000 (19:42 +0200)]
formatting

5 years agoFix for elixir 1.7.
lain [Sun, 12 Aug 2018 16:41:33 +0000 (18:41 +0200)]
Fix for elixir 1.7.

5 years agoupdate frontend
lain [Sun, 12 Aug 2018 16:16:19 +0000 (18:16 +0200)]
update frontend

5 years agoUpdate Mastofe.
lain [Sun, 12 Aug 2018 13:29:30 +0000 (15:29 +0200)]
Update Mastofe.

5 years agoMerge branch 'feature/invites' into 'develop'
lambda [Sun, 12 Aug 2018 12:04:15 +0000 (12:04 +0000)]
Merge branch 'feature/invites' into 'develop'

Invites

Closes #108

See merge request pleroma/pleroma!208

5 years agoUpdate generate_invite_token.ex
lambda [Sun, 12 Aug 2018 11:11:08 +0000 (11:11 +0000)]
Update generate_invite_token.ex

5 years agoMerge branch 'fix/remote-follow-errormessage' into 'develop'
lambda [Sun, 12 Aug 2018 10:55:53 +0000 (10:55 +0000)]
Merge branch 'fix/remote-follow-errormessage' into 'develop'

Remote follow: don't show confusing error if already following

See merge request pleroma/pleroma!267

5 years agoMerge branch 'bugfix/gopher-empty-lines' into 'develop'
lambda [Sun, 12 Aug 2018 10:55:21 +0000 (10:55 +0000)]
Merge branch 'bugfix/gopher-empty-lines' into 'develop'

lib/pleroma/gopher/server.ex: Fix errorneous empty lines

See merge request pleroma/pleroma!270

5 years agoMerge branch 'emoji-in-account-view' into 'develop'
lambda [Sun, 12 Aug 2018 10:41:30 +0000 (10:41 +0000)]
Merge branch 'emoji-in-account-view' into 'develop'

Render emoji in user profiles

See merge request pleroma/pleroma!265

5 years agolib/pleroma/gopher/server.ex: Fix errorneous empty lines
Haelwenn (lanodan) Monnier [Fri, 10 Aug 2018 16:01:42 +0000 (18:01 +0200)]
lib/pleroma/gopher/server.ex: Fix errorneous empty lines

5 years agoMerge branch 'bugfix/fix-gopher-server-i' into 'develop'
lambda [Fri, 10 Aug 2018 13:45:39 +0000 (13:45 +0000)]
Merge branch 'bugfix/fix-gopher-server-i' into 'develop'

fix gopher server informational messages

See merge request pleroma/pleroma!268

5 years agofix gopher server informational messages
trqx@goat.si [Thu, 9 Aug 2018 14:17:45 +0000 (16:17 +0200)]
fix gopher server informational messages

some gopher clients did not accept those lines due to a missing tab

5 years agoRemote follow: don't show confusing error if already following
eal [Thu, 9 Aug 2018 17:47:29 +0000 (20:47 +0300)]
Remote follow: don't show confusing error if already following

5 years agoHTML-sanitize usernames before emojifying.
eal [Thu, 9 Aug 2018 10:07:03 +0000 (13:07 +0300)]
HTML-sanitize usernames before emojifying.

5 years agoAdd tests for emoji in user profiles
eal [Wed, 8 Aug 2018 06:24:50 +0000 (09:24 +0300)]
Add tests for emoji in user profiles

Also use the correct field in TwitterAPI...

5 years agoTwitterAPI user view: add screen_name_html and description_html.
eal [Wed, 8 Aug 2018 05:38:25 +0000 (08:38 +0300)]
TwitterAPI user view: add screen_name_html and description_html.

5 years agoMastoAPI AccountView: render profile emoji.
eal [Tue, 7 Aug 2018 18:56:50 +0000 (21:56 +0300)]
MastoAPI AccountView: render profile emoji.

5 years agoMerge branch 'bugfix/duplicate-follow-requests' into 'develop'
lambda [Mon, 6 Aug 2018 18:07:27 +0000 (18:07 +0000)]
Merge branch 'bugfix/duplicate-follow-requests' into 'develop'

user: filter out duplicate follow requests

Closes #228

See merge request pleroma/pleroma!263

5 years agoMerge branch 'feature/camelcase-hashtags' into 'develop'
lambda [Mon, 6 Aug 2018 18:07:01 +0000 (18:07 +0000)]
Merge branch 'feature/camelcase-hashtags' into 'develop'

formatter: preserve case of hashtags

Closes #165

See merge request pleroma/pleroma!262

5 years agotest: use private visibility for twitterapi update consistency test, to ensure that...
William Pitcock [Mon, 6 Aug 2018 11:10:49 +0000 (11:10 +0000)]
test: use private visibility for twitterapi update consistency test, to ensure that a second activity isn't relayed

5 years agouser: do not leak virtuals in account search
William Pitcock [Mon, 6 Aug 2018 10:57:19 +0000 (10:57 +0000)]
user: do not leak virtuals in account search

5 years agouser: hide virtual actors from statistics queries
William Pitcock [Mon, 6 Aug 2018 10:44:25 +0000 (10:44 +0000)]
user: hide virtual actors from statistics queries

5 years agoactivitypub: do not show observable effects of non-public boosts
William Pitcock [Mon, 6 Aug 2018 10:37:52 +0000 (10:37 +0000)]
activitypub: do not show observable effects of non-public boosts

5 years agotest: nickname is no longer a required field
William Pitcock [Mon, 6 Aug 2018 08:46:06 +0000 (08:46 +0000)]
test: nickname is no longer a required field

5 years agorelay: do not relay in test mode
William Pitcock [Mon, 6 Aug 2018 08:35:56 +0000 (08:35 +0000)]
relay: do not relay in test mode

5 years agorun mix format
William Pitcock [Mon, 6 Aug 2018 08:26:36 +0000 (08:26 +0000)]
run mix format

5 years agorelay: reintroduce @allow_relay
William Pitcock [Mon, 6 Aug 2018 08:20:21 +0000 (08:20 +0000)]
relay: reintroduce @allow_relay

5 years agoactivitypub: relay: fix up AS2 actor object
William Pitcock [Mon, 6 Aug 2018 08:15:18 +0000 (08:15 +0000)]
activitypub: relay: fix up AS2 actor object

5 years agorelay: move to /relay endpoint from / due to webapp issues
William Pitcock [Mon, 6 Aug 2018 08:13:05 +0000 (08:13 +0000)]
relay: move to /relay endpoint from / due to webapp issues

5 years agorelay: only relay create activities
William Pitcock [Mon, 6 Aug 2018 08:03:10 +0000 (08:03 +0000)]
relay: only relay create activities

5 years agouser: set up a valid followers address to use
William Pitcock [Mon, 6 Aug 2018 08:03:00 +0000 (08:03 +0000)]
user: set up a valid followers address to use

5 years agoactivitypub: relay: add relay following/followers collection URLs
William Pitcock [Mon, 6 Aug 2018 07:48:08 +0000 (07:48 +0000)]
activitypub: relay: add relay following/followers collection URLs

5 years agofederator: actually relay the public activities
William Pitcock [Mon, 6 Aug 2018 07:43:37 +0000 (07:43 +0000)]
federator: actually relay the public activities

5 years agorelay: remove @allow_relay for the moment
William Pitcock [Mon, 6 Aug 2018 07:34:39 +0000 (07:34 +0000)]
relay: remove @allow_relay for the moment

5 years agorelay: fix invoking federator, use a timer to sleep the mix task to force a context...
William Pitcock [Mon, 6 Aug 2018 07:27:11 +0000 (07:27 +0000)]
relay: fix invoking federator, use a timer to sleep the mix task to force a context switch

5 years agorelay: add relay follow/unfollow tasks
William Pitcock [Mon, 6 Aug 2018 07:14:16 +0000 (07:14 +0000)]
relay: add relay follow/unfollow tasks

5 years agouser: remote actors can have no nickname if they are virtual services
William Pitcock [Mon, 6 Aug 2018 06:50:18 +0000 (06:50 +0000)]
user: remote actors can have no nickname if they are virtual services

5 years agoconfig: allow relaying to be disabled
William Pitcock [Mon, 6 Aug 2018 06:18:15 +0000 (06:18 +0000)]
config: allow relaying to be disabled

5 years agoactivitypub: refactor relay concerns into new relay module
William Pitcock [Mon, 6 Aug 2018 06:15:22 +0000 (06:15 +0000)]
activitypub: refactor relay concerns into new relay module

5 years agoactivitypub: represent relay actor at instance root
William Pitcock [Mon, 6 Aug 2018 06:11:51 +0000 (06:11 +0000)]
activitypub: represent relay actor at instance root

5 years agouser: support creating an actor which represents the instance itself
William Pitcock [Mon, 6 Aug 2018 05:46:37 +0000 (05:46 +0000)]
user: support creating an actor which represents the instance itself

5 years agouser: filter out duplicate follow requests
William Pitcock [Sun, 5 Aug 2018 01:10:05 +0000 (01:10 +0000)]
user: filter out duplicate follow requests

5 years agoformatter: preserve case of hashtags
William Pitcock [Sun, 5 Aug 2018 00:35:29 +0000 (00:35 +0000)]
formatter: preserve case of hashtags

when generating hashtag links, we used the casefolded version that we use in
the link URLs, instead of the original version.

accordingly, adjust the formatter to use the original text for the links, while
keeping the casefolded version for the URLs.

5 years agoadd suggestions/web config
Hakaba Hitoyo [Thu, 2 Aug 2018 09:03:35 +0000 (18:03 +0900)]
add suggestions/web config

5 years agoMerge branch 'bugfix/digest-legacy-compat' into 'develop'
lambda [Wed, 1 Aug 2018 10:37:28 +0000 (10:37 +0000)]
Merge branch 'bugfix/digest-legacy-compat' into 'develop'

activitypub: actually send digest header when federating

See merge request pleroma/pleroma!261

5 years agoactivitypub: actually send digest header when federating
William Pitcock [Wed, 1 Aug 2018 10:22:03 +0000 (10:22 +0000)]
activitypub: actually send digest header when federating

this is needed for backwards compatibility with non-digest pleroma instances

5 years agoMerge branch 'security/digest-signature-validation' into 'develop'
lambda [Wed, 1 Aug 2018 08:11:28 +0000 (08:11 +0000)]
Merge branch 'security/digest-signature-validation' into 'develop'

digest signature validation

See merge request pleroma/pleroma!260

5 years agoAllow additionnal schemes in the config
Haelwenn (lanodan) Monnier [Mon, 30 Jul 2018 19:59:04 +0000 (21:59 +0200)]
Allow additionnal schemes in the config

5 years agoactivitypub: verify remote http signature digests by recomputing the digest and repla...
William Pitcock [Tue, 31 Jul 2018 23:17:47 +0000 (23:17 +0000)]
activitypub: verify remote http signature digests by recomputing the digest and replacing the digest header

5 years agoactivitypub: add digest header to outbound messages and sign it
William Pitcock [Tue, 31 Jul 2018 21:41:18 +0000 (21:41 +0000)]
activitypub: add digest header to outbound messages and sign it

5 years ago[Pleroma.FormatterTest] Add test for XMPP link
Haelwenn (lanodan) Monnier [Sat, 23 Jun 2018 11:32:03 +0000 (13:32 +0200)]
[Pleroma.FormatterTest] Add test for XMPP link

5 years ago[Pleroma.FormatterTest]: .add_links: Add a space before the dot
Haelwenn (lanodan) Monnier [Sat, 23 Jun 2018 11:28:14 +0000 (13:28 +0200)]
[Pleroma.FormatterTest]: .add_links: Add a space before the dot

A dot is legal in the url, even at the end, so I moved it for the test

5 years ago[Pleroma.Formatter]: Add support for non-HTTP schemes in URIs
Haelwenn (lanodan) Monnier [Mon, 18 Jun 2018 10:45:15 +0000 (12:45 +0200)]
[Pleroma.Formatter]: Add support for non-HTTP schemes in URIs

The call to the regex in add_links is there just to be sure it’s a legal URI, it can be removed if you want to get more performance.

The URI Schemes list is sorted, but with http(s) at the start (in case it might make it faster for common links).

Closes: https://git.pleroma.social/pleroma/pleroma/issues/127
5 years agoMerge branch 'feature/filter_exif' into 'develop'
lambda [Wed, 25 Jul 2018 07:16:50 +0000 (07:16 +0000)]
Merge branch 'feature/filter_exif' into 'develop'

Feature/filter exif (  solve #187 )

See merge request pleroma/pleroma!237