akkoma
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 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

5 years agoimprove test
hakabahitoyo [Fri, 20 Jul 2018 17:57:56 +0000 (02:57 +0900)]
improve test

5 years agodebug
hakabahitoyo [Fri, 20 Jul 2018 17:19:20 +0000 (02:19 +0900)]
debug

5 years agoimprove test
hakabahitoyo [Fri, 20 Jul 2018 16:44:35 +0000 (01:44 +0900)]
improve test

5 years agoMerge remote-tracking branch 'upstream/develop' into feature/filter_exif
Tristan Mahé [Fri, 20 Jul 2018 00:44:18 +0000 (17:44 -0700)]
Merge remote-tracking branch 'upstream/develop' into feature/filter_exif

5 years agomerge
Hakaba Hitoyo [Thu, 19 Jul 2018 08:42:00 +0000 (17:42 +0900)]
merge

5 years agoMerge branch 'tests/plume' into 'develop'
lambda [Thu, 19 Jul 2018 07:35:34 +0000 (07:35 +0000)]
Merge branch 'tests/plume' into 'develop'

Articles/Notes with a actor list outside object

See merge request pleroma/pleroma!252

5 years agoMerge branch 'bugfix/activitystreams-notice-urls' into 'develop'
lambda [Thu, 19 Jul 2018 07:31:33 +0000 (07:31 +0000)]
Merge branch 'bugfix/activitystreams-notice-urls' into 'develop'

ostatus: return AS2 objects on /notice and /activities URLs like with /objects.

Closes #206

See merge request pleroma/pleroma!251

5 years agoMerge branch 'feature/fe-configuration' into 'develop'
lambda [Thu, 19 Jul 2018 07:31:10 +0000 (07:31 +0000)]
Merge branch 'feature/fe-configuration' into 'develop'

serverside frontend configuration

See merge request pleroma/pleroma!256

5 years agoMerge branch 'feature/media-description' into 'develop'
lambda [Wed, 18 Jul 2018 08:52:11 +0000 (08:52 +0000)]
Merge branch 'feature/media-description' into 'develop'

Feature/media description

Closes #174

See merge request pleroma/pleroma!255

5 years agoconfigurable timeout
Hakaba Hitoyo [Wed, 18 Jul 2018 04:36:20 +0000 (13:36 +0900)]
configurable timeout

5 years agobetter configuration
Hakaba Hitoyo [Wed, 18 Jul 2018 00:58:59 +0000 (09:58 +0900)]
better configuration

5 years agoconfig: formatting
William Pitcock [Wed, 18 Jul 2018 00:05:36 +0000 (00:05 +0000)]
config: formatting

5 years agoTwitterAPI: present pleroma frontend config in API
William Pitcock [Tue, 17 Jul 2018 15:20:39 +0000 (15:20 +0000)]
TwitterAPI: present pleroma frontend config in API

5 years agoconfig: make instance description configurable
William Pitcock [Tue, 17 Jul 2018 15:10:14 +0000 (15:10 +0000)]
config: make instance description configurable

5 years agocorrect error message
Hakaba Hitoyo [Tue, 17 Jul 2018 08:29:18 +0000 (17:29 +0900)]
correct error message

5 years agodebug
Hakaba Hitoyo [Tue, 17 Jul 2018 08:20:13 +0000 (17:20 +0900)]
debug

5 years agodebug
Hakaba Hitoyo [Tue, 17 Jul 2018 08:00:14 +0000 (17:00 +0900)]
debug

5 years agoadd suggestionsThirdPartyEngine into /nodeinfo/2.0.json
Hakaba Hitoyo [Tue, 17 Jul 2018 07:56:30 +0000 (16:56 +0900)]
add suggestionsThirdPartyEngine into /nodeinfo/2.0.json

5 years agodo nothing if configuration is skipped
Hakaba Hitoyo [Tue, 17 Jul 2018 07:45:18 +0000 (16:45 +0900)]
do nothing if configuration is skipped

5 years agoimprove getting host name
Hakaba Hitoyo [Tue, 17 Jul 2018 04:20:58 +0000 (13:20 +0900)]
improve getting host name

5 years agotest: mastodon attachments: update for added description field
William Pitcock [Tue, 17 Jul 2018 03:37:40 +0000 (03:37 +0000)]
test: mastodon attachments: update for added description field

5 years agotests: verify media description api support is working
William Pitcock [Tue, 17 Jul 2018 03:37:26 +0000 (03:37 +0000)]
tests: verify media description api support is working

5 years agomastodon api: support descriptions in media api, add PUT endpoint for updating metada...
William Pitcock [Tue, 17 Jul 2018 03:36:50 +0000 (03:36 +0000)]
mastodon api: support descriptions in media api, add PUT endpoint for updating metadata about a media upload

5 years agomastodon api: use object name as alt text
William Pitcock [Tue, 17 Jul 2018 03:36:11 +0000 (03:36 +0000)]
mastodon api: use object name as alt text

5 years agoupload: use generic Document object type instead of Image (mastodon compatibility)
William Pitcock [Tue, 17 Jul 2018 03:35:08 +0000 (03:35 +0000)]
upload: use generic Document object type instead of Image (mastodon compatibility)

Mastodon does not use the object name as alt text when the object is an Image.

5 years agoformat
hakabahitoyo [Sun, 15 Jul 2018 11:36:26 +0000 (20:36 +0900)]
format

5 years agoid field
hakabahitoyo [Sat, 14 Jul 2018 05:03:30 +0000 (14:03 +0900)]
id field

5 years agochange api
hakabahitoyo [Sat, 14 Jul 2018 03:07:09 +0000 (12:07 +0900)]
change api

5 years agoconfigurable
hakabahitoyo [Sat, 14 Jul 2018 02:41:09 +0000 (11:41 +0900)]
configurable

5 years agohttp access to third party user recommendation
hakabahitoyo [Sat, 14 Jul 2018 01:04:37 +0000 (10:04 +0900)]
http access to third party user recommendation

5 years agoMerge remote-tracking branch 'upstream/develop' into feature/filter_exif
Tristan Mahé [Fri, 13 Jul 2018 18:14:37 +0000 (11:14 -0700)]
Merge remote-tracking branch 'upstream/develop' into feature/filter_exif

5 years agobetter mock /api/v1/suggestions
hakabahitoyo [Fri, 13 Jul 2018 15:52:23 +0000 (00:52 +0900)]
better mock /api/v1/suggestions

5 years agomock /api/v1/suggestions
hakabahitoyo [Fri, 13 Jul 2018 15:44:18 +0000 (00:44 +0900)]
mock /api/v1/suggestions

5 years ago/api/v1/suggestions endpoint
hakabahitoyo [Fri, 13 Jul 2018 15:21:38 +0000 (00:21 +0900)]
/api/v1/suggestions endpoint

5 years ago[Pleroma.Web.ActivityPub.Transmogrifier] Add Person finding
Haelwenn (lanodan) Monnier [Thu, 12 Jul 2018 21:25:44 +0000 (23:25 +0200)]
[Pleroma.Web.ActivityPub.Transmogrifier] Add Person finding

5 years ago[Pleroma.Web.ActivityPub.Transmogrifier]: Fix actor key outside of object
Haelwenn (lanodan) Monnier [Thu, 12 Jul 2018 21:09:42 +0000 (23:09 +0200)]
[Pleroma.Web.ActivityPub.Transmogrifier]: Fix actor key outside of object

The code here is copied from feature/peertube by lain.

Co-authored-by: lain <lain@soykaf.club>
5 years agoAdd test for Plume Articles
Haelwenn (lanodan) Monnier [Thu, 12 Jul 2018 17:52:17 +0000 (19:52 +0200)]
Add test for Plume Articles

5 years agotest: ostatus controller: add AS2 fetching tests
William Pitcock [Thu, 12 Jul 2018 20:32:05 +0000 (20:32 +0000)]
test: ostatus controller: add AS2 fetching tests

5 years agoostatus: return AS2 objects on /notice and /activities URLs like with /objects.
William Pitcock [Thu, 12 Jul 2018 17:13:20 +0000 (17:13 +0000)]
ostatus: return AS2 objects on /notice and /activities URLs like with /objects.

5 years agoMerge branch 'feature/object-normalization' into 'develop'
lambda [Thu, 12 Jul 2018 16:48:15 +0000 (16:48 +0000)]
Merge branch 'feature/object-normalization' into 'develop'

object normalization

See merge request pleroma/pleroma!238

5 years agoMerge branch 'feature/mediaproxy-nodeinfo' into 'develop'
lambda [Thu, 12 Jul 2018 16:47:19 +0000 (16:47 +0000)]
Merge branch 'feature/mediaproxy-nodeinfo' into 'develop'

[Pleroma.Web.Nodeinfo.NodeinfoController]: add mediaProxy metadata

Closes #229

See merge request pleroma/pleroma!235

5 years agoMerge branch 'bugfix/activitypub-object-actor' into 'develop'
lambda [Thu, 12 Jul 2018 16:46:50 +0000 (16:46 +0000)]
Merge branch 'bugfix/activitypub-object-actor' into 'develop'

activitypub: more robustly handle object-to-actor associations

See merge request pleroma/pleroma!250

5 years agoMerge branch 'feature/message-summary' into 'develop'
lambda [Thu, 12 Jul 2018 16:45:57 +0000 (16:45 +0000)]
Merge branch 'feature/message-summary' into 'develop'

message summary

See merge request pleroma/pleroma!249

5 years agoactivitypub: more robustly handle object-to-actor associations
William Pitcock [Thu, 12 Jul 2018 16:37:42 +0000 (16:37 +0000)]
activitypub: more robustly handle object-to-actor associations

5 years agoformatting
William Pitcock [Thu, 12 Jul 2018 16:12:54 +0000 (16:12 +0000)]
formatting

5 years agotestsuite: twitter api: add summary where necessary
William Pitcock [Sun, 24 Jun 2018 06:23:19 +0000 (06:23 +0000)]
testsuite: twitter api: add summary where necessary

5 years agotwitter api: activity representer: add summary field for testsuite
William Pitcock [Sun, 24 Jun 2018 06:22:53 +0000 (06:22 +0000)]
twitter api: activity representer: add summary field for testsuite

5 years agotwitter api: refactor activity html generation, add support for Articles
William Pitcock [Sun, 24 Jun 2018 05:33:34 +0000 (05:33 +0000)]
twitter api: refactor activity html generation, add support for Articles

5 years agotwitterapi: activity view: expose message summary text
William Pitcock [Sat, 23 Jun 2018 06:08:09 +0000 (06:08 +0000)]
twitterapi: activity view: expose message summary text

5 years agoUpdate nodeinfo_controller.ex
lambda [Thu, 12 Jul 2018 06:00:55 +0000 (06:00 +0000)]
Update nodeinfo_controller.ex

5 years agoMerge branch 'feature/default-scope' into 'develop'
lambda [Thu, 12 Jul 2018 05:59:12 +0000 (05:59 +0000)]
Merge branch 'feature/default-scope' into 'develop'

default scope setting

See merge request pleroma/pleroma!239

5 years agoMerge branch 'feature/article-support' into 'develop'
lambda [Thu, 12 Jul 2018 05:58:39 +0000 (05:58 +0000)]
Merge branch 'feature/article-support' into 'develop'

article support (plume, etc)

See merge request pleroma/pleroma!240

5 years agoMerge branch 'feature/auto-shortcodes' into 'develop'
lambda [Thu, 12 Jul 2018 05:56:29 +0000 (05:56 +0000)]
Merge branch 'feature/auto-shortcodes' into 'develop'

Feature: automatic shortcodes for emoji

See merge request pleroma/pleroma!245

5 years agoMerge branch 'bugfix/status-url-field' into 'develop'
lambda [Thu, 12 Jul 2018 05:55:20 +0000 (05:55 +0000)]
Merge branch 'bugfix/status-url-field' into 'develop'

[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses

Closes #231

See merge request pleroma/pleroma!246

5 years agoMerge branch 'bugfix/x509-public-key' into 'develop'
lambda [Thu, 12 Jul 2018 05:54:14 +0000 (05:54 +0000)]
Merge branch 'bugfix/x509-public-key' into 'develop'

activitypub: switch to using x509 representation for public keys instead of pkcs#1

See merge request pleroma/pleroma!248

5 years agoactivitypub: switch to using x509 representation for public keys instead of pkcs#1
William Pitcock [Thu, 12 Jul 2018 02:45:48 +0000 (02:45 +0000)]
activitypub: switch to using x509 representation for public keys instead of pkcs#1

5 years ago[Pleroma.Web.Nodeinfo.NodeinfoController]: add mediaProxy metadata
Haelwenn (lanodan) Monnier [Tue, 26 Jun 2018 11:51:35 +0000 (13:51 +0200)]
[Pleroma.Web.Nodeinfo.NodeinfoController]: add mediaProxy metadata

Closes: https://git.pleroma.social/pleroma/pleroma/issues/229
5 years ago[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses
Haelwenn (lanodan) Monnier [Mon, 2 Jul 2018 04:28:21 +0000 (06:28 +0200)]
[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses

Closes: https://git.pleroma.social/pleroma/pleroma/issues/231
6 years ago/web/* template: Add class system-font
Haelwenn (lanodan) Monnier [Tue, 3 Jul 2018 15:26:04 +0000 (17:26 +0200)]
/web/* template: Add class system-font

6 years agoFix auto-shortcode emoji
Jorty [Sun, 1 Jul 2018 00:35:34 +0000 (20:35 -0400)]
Fix auto-shortcode emoji

Emoji were broken due to `Pleroma.Formatter` not knowing about the
auto-shortcode emoji. This moves that logic from
`Pleroma.Web.TwitterAPI.UtilController` to `Pleroma.Formatter`.

Additionally, it's now possible to specify multiple shortcode globs, and
the default globs were changed to `["/emoji/custom/**/*.png"]`, since
that's in the .gitignore and the files there would have to be shortcode
emoji anyway.

6 years agoMove emoji glob setting to config.exs
Jorty [Sat, 30 Jun 2018 21:20:08 +0000 (17:20 -0400)]
Move emoji glob setting to config.exs

Also, a bit of formatting, and the glob includes an "/emoji/" prefix to
make it more intuitive to users

6 years agoAllow emojis to be added automatically
Jorty [Sat, 30 Jun 2018 19:08:31 +0000 (15:08 -0400)]
Allow emojis to be added automatically

6 years agoCONFIGURATION.md: add doc about upload and strip_exif
Tristan Mahé [Thu, 28 Jun 2018 17:49:44 +0000 (10:49 -0700)]
CONFIGURATION.md: add doc about upload and strip_exif

6 years agoUpdate mix.exs
Artik Banana [Wed, 27 Jun 2018 19:35:38 +0000 (19:35 +0000)]
Update mix.exs

6 years agoactivity interpretation: formatting
William Pitcock [Sun, 24 Jun 2018 06:34:44 +0000 (06:34 +0000)]
activity interpretation: formatting

6 years agotwitter api: use ActivityView.render_content() where appropriate instead of duplicati...
William Pitcock [Sun, 24 Jun 2018 06:30:23 +0000 (06:30 +0000)]
twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic

6 years agomastodon api: add interpreter for Article activity types
William Pitcock [Sun, 24 Jun 2018 06:14:17 +0000 (06:14 +0000)]
mastodon api: add interpreter for Article activity types

6 years agotwitter api: refactor activity html generation, add support for Articles
William Pitcock [Sun, 24 Jun 2018 05:33:34 +0000 (05:33 +0000)]
twitter api: refactor activity html generation, add support for Articles

6 years agoutils: make_create_data: add support for Article objects
William Pitcock [Sun, 24 Jun 2018 06:52:17 +0000 (06:52 +0000)]
utils: make_create_data: add support for Article objects

6 years agotransmogrifier: accept Article activities
William Pitcock [Sun, 24 Jun 2018 05:33:22 +0000 (05:33 +0000)]
transmogrifier: accept Article activities

6 years agotests: add default_scope where appropriate
William Pitcock [Sun, 24 Jun 2018 06:31:09 +0000 (06:31 +0000)]
tests: add default_scope where appropriate

6 years agotwitter api: allow setting default_scope
William Pitcock [Sat, 23 Jun 2018 07:02:49 +0000 (07:02 +0000)]
twitter api: allow setting default_scope

6 years agotwitter api: user view: show default message scope if known
William Pitcock [Sat, 23 Jun 2018 06:55:32 +0000 (06:55 +0000)]
twitter api: user view: show default message scope if known

6 years agomastodon api: use info["default_scope"] if available for post scope
William Pitcock [Sat, 23 Jun 2018 06:53:29 +0000 (06:53 +0000)]
mastodon api: use info["default_scope"] if available for post scope

6 years agoactivitypub: use Activity.normalize() in several places instead of using Activity...
William Pitcock [Mon, 18 Jun 2018 21:21:03 +0000 (21:21 +0000)]
activitypub: use Activity.normalize() in several places instead of using Activity.get_by_ap_id() directly.

6 years agoostatus: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
William Pitcock [Mon, 18 Jun 2018 21:20:44 +0000 (21:20 +0000)]
ostatus: use Activity.normalize() instead of directly using Activity.get_by_ap_id().

6 years agofederator: use Activity.normalize() instead of directly using Activity.get_by_ap_id().
William Pitcock [Mon, 18 Jun 2018 21:20:18 +0000 (21:20 +0000)]
federator: use Activity.normalize() instead of directly using Activity.get_by_ap_id().

6 years agoostatus: use Object.normalize() instead of Object.get_by_ap_id() directly.
William Pitcock [Mon, 18 Jun 2018 21:08:37 +0000 (21:08 +0000)]
ostatus: use Object.normalize() instead of Object.get_by_ap_id() directly.

6 years agocommon api: use Object.normalize() instead of Object.get_by_ap_id() directly.
William Pitcock [Mon, 18 Jun 2018 21:08:12 +0000 (21:08 +0000)]
common api: use Object.normalize() instead of Object.get_by_ap_id() directly.

6 years agoactivitypub: use Object.normalize() instead of Object.get_by_ap_id() directly.
William Pitcock [Mon, 18 Jun 2018 21:01:33 +0000 (21:01 +0000)]
activitypub: use Object.normalize() instead of Object.get_by_ap_id() directly.

6 years agostreamer: use Object.normalize() instead of Object.get_by_ap_id() directly.
William Pitcock [Mon, 18 Jun 2018 20:58:09 +0000 (20:58 +0000)]
streamer: use Object.normalize() instead of Object.get_by_ap_id() directly.

6 years agouser: use Object.normalize() instead of Object.get_by_ap_id() directly.
William Pitcock [Mon, 18 Jun 2018 20:57:38 +0000 (20:57 +0000)]
user: use Object.normalize() instead of Object.get_by_ap_id() directly.

6 years agoactivity: add normalize() to find a complete activity given either URI or partial...
William Pitcock [Mon, 18 Jun 2018 20:54:59 +0000 (20:54 +0000)]
activity: add normalize() to find a complete activity given either URI or partial structure