akkoma
5 years agoMerge branch 'bugfix/improve-boost-targeting' into 'develop'
kaniini [Sat, 19 Jan 2019 23:44:08 +0000 (23:44 +0000)]
Merge branch 'bugfix/improve-boost-targeting' into 'develop'

improve handling of non-public Announces

See merge request pleroma/pleroma!681

5 years agoMake use of the indices.
lain [Sat, 19 Jan 2019 23:31:17 +0000 (00:31 +0100)]
Make use of the indices.

Indices in postgresql rely on operators, so they won't be used if you use only functions.

5 years agoFormating
rinpatch [Sat, 19 Jan 2019 22:28:46 +0000 (01:28 +0300)]
Formating

5 years agoProvide local og:url for remote activities
rinpatch [Sat, 19 Jan 2019 07:58:27 +0000 (10:58 +0300)]
Provide local og:url for remote activities

5 years agoMerge branch '491_full_mentions_in_user_bio' into 'develop'
kaniini [Sat, 19 Jan 2019 07:36:58 +0000 (07:36 +0000)]
Merge branch '491_full_mentions_in_user_bio' into 'develop'

[#491] Made user bio preserve full nicknames (nick@host)

Closes #491

See merge request pleroma/pleroma!676

5 years agoFormat
Maxim Filippov [Sat, 19 Jan 2019 01:26:52 +0000 (04:26 +0300)]
Format

5 years agoAdd current user to mentioned
Maxim Filippov [Sat, 19 Jan 2019 01:25:15 +0000 (04:25 +0300)]
Add current user to mentioned

5 years agotest: add regression test for to/cc clobbering
William Pitcock [Fri, 18 Jan 2019 22:32:01 +0000 (22:32 +0000)]
test: add regression test for to/cc clobbering

5 years agoAdd actor to recipients
Maxim Filippov [Fri, 18 Jan 2019 19:40:52 +0000 (22:40 +0300)]
Add actor to recipients

5 years agoFix merge conflict
rinpatch [Fri, 18 Jan 2019 15:31:25 +0000 (18:31 +0300)]
Fix merge conflict

5 years agounfurl_nsfw: false by default
rinpatch [Fri, 18 Jan 2019 15:30:06 +0000 (18:30 +0300)]
unfurl_nsfw: false by default

5 years ago[#477] User trigram index adjustment.
Ivan Tashkinov [Fri, 18 Jan 2019 07:57:42 +0000 (10:57 +0300)]
[#477] User trigram index adjustment.

5 years agoFix ostatus test
rinpatch [Fri, 18 Jan 2019 07:35:52 +0000 (10:35 +0300)]
Fix ostatus test

5 years ago[#477] User: FTS and trigram search results mixing (to handle misspelled requests).
Ivan Tashkinov [Fri, 18 Jan 2019 07:35:45 +0000 (10:35 +0300)]
[#477] User: FTS and trigram search results mixing (to handle misspelled requests).

5 years agoRemove custom emojis and trailing whitespaces from previews
rinpatch [Fri, 18 Jan 2019 07:28:19 +0000 (10:28 +0300)]
Remove custom emojis and trailing whitespaces from previews

5 years agoUse object instead of activity for metadata
rinpatch [Fri, 18 Jan 2019 06:32:52 +0000 (09:32 +0300)]
Use object instead of activity for metadata

5 years ago[#491] Made full nicknames be preserved in user links text only in Bio.
Ivan Tashkinov [Fri, 18 Jan 2019 06:30:16 +0000 (09:30 +0300)]
[#491] Made full nicknames be preserved in user links text only in Bio.

5 years agoactivitypub: add a match clause for objects, not just activities
William Pitcock [Thu, 17 Jan 2019 23:32:16 +0000 (23:32 +0000)]
activitypub: add a match clause for objects, not just activities

5 years agoactivitypub: transmogrifier: do not clobber the addressing on relayed announcements
William Pitcock [Thu, 17 Jan 2019 23:19:15 +0000 (23:19 +0000)]
activitypub: transmogrifier: do not clobber the addressing on relayed announcements

5 years agoactivitypub: allow is_public?() to work on any type of map representing an AS2 object
William Pitcock [Thu, 17 Jan 2019 23:17:59 +0000 (23:17 +0000)]
activitypub: allow is_public?() to work on any type of map representing an AS2 object

5 years agoactivitypub: relay: chase selective public announce changes
William Pitcock [Thu, 17 Jan 2019 23:13:54 +0000 (23:13 +0000)]
activitypub: relay: chase selective public announce changes

5 years agoactivitypub: announce: add new public parameter
William Pitcock [Thu, 17 Jan 2019 23:12:42 +0000 (23:12 +0000)]
activitypub: announce: add new public parameter

5 years agoFix object id in OpenGraph test
rinpatch [Thu, 17 Jan 2019 19:57:24 +0000 (22:57 +0300)]
Fix object id in OpenGraph test

5 years agoMerge branch '502_instance_stats_active_users_count_fix' into 'develop'
kaniini [Thu, 17 Jan 2019 19:27:15 +0000 (19:27 +0000)]
Merge branch '502_instance_stats_active_users_count_fix' into 'develop'

[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users

Closes #502

See merge request pleroma/pleroma!678

5 years agoMerge branch 'bad-copy-paste' into 'develop'
kaniini [Thu, 17 Jan 2019 19:22:21 +0000 (19:22 +0000)]
Merge branch 'bad-copy-paste' into 'develop'

Fix bad link in likes collection

See merge request pleroma/pleroma!679

5 years agoMerge branch 'attachment-links' into 'develop'
kaniini [Thu, 17 Jan 2019 19:21:54 +0000 (19:21 +0000)]
Merge branch 'attachment-links' into 'develop'

Make attachment links configurable

See merge request pleroma/pleroma!677

5 years agoMerge branch 'change-mix-location' into 'develop'
kaniini [Thu, 17 Jan 2019 19:21:07 +0000 (19:21 +0000)]
Merge branch 'change-mix-location' into 'develop'

systemd: Add comments and change default path of the Mix binary.

See merge request pleroma/pleroma!680

5 years agoAdd comments and change default path of the Mix binary.
shibayashi [Thu, 17 Jan 2019 18:49:54 +0000 (19:49 +0100)]
Add comments and change default path of the Mix binary.

5 years agoFix bad link in likes collection
sxsdv1 [Thu, 17 Jan 2019 17:21:43 +0000 (18:21 +0100)]
Fix bad link in likes collection

Don't copy and paste, mkay

5 years agoDon't show content if empty or zero width space
rinpatch [Thu, 17 Jan 2019 17:18:28 +0000 (20:18 +0300)]
Don't show content if empty or zero width space

5 years ago[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
Ivan Tashkinov [Thu, 17 Jan 2019 16:16:02 +0000 (19:16 +0300)]
[#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.

5 years agoformatting
Mark Felder [Thu, 17 Jan 2019 16:10:26 +0000 (16:10 +0000)]
formatting

5 years agoDefault to disabled in the code in case the setting is absent from config.exs
Mark Felder [Thu, 17 Jan 2019 16:01:25 +0000 (16:01 +0000)]
Default to disabled in the code in case the setting is absent from config.exs

5 years agoFix the issue with get_by_nickname never being called
rinpatch [Thu, 17 Jan 2019 16:00:08 +0000 (19:00 +0300)]
Fix the issue with get_by_nickname never being called

5 years agoAlso add to default config
Mark Felder [Thu, 17 Jan 2019 15:50:34 +0000 (15:50 +0000)]
Also add to default config

5 years agoMake attachment links configurable
Mark Felder [Thu, 17 Jan 2019 15:48:14 +0000 (15:48 +0000)]
Make attachment links configurable

Thanks @href!

5 years ago[#491] Made user bio preserve full nicknames (nick@host).
Ivan Tashkinov [Thu, 17 Jan 2019 15:03:49 +0000 (18:03 +0300)]
[#491] Made user bio preserve full nicknames (nick@host).

5 years agoFix test
rinpatch [Thu, 17 Jan 2019 08:08:50 +0000 (11:08 +0300)]
Fix test

5 years agoIntroduce optional unfurling of nsfw content
rinpatch [Thu, 17 Jan 2019 08:00:02 +0000 (11:00 +0300)]
Introduce optional unfurling of nsfw content

5 years agoUse object url instead of a hack
rinpatch [Thu, 17 Jan 2019 07:34:19 +0000 (10:34 +0300)]
Use object url instead of a hack

5 years agoApply feld's patch
rinpatch [Thu, 17 Jan 2019 06:18:46 +0000 (09:18 +0300)]
Apply feld's patch

5 years agoMerge branch 'resilient-user-view-2' into 'develop'
kaniini [Thu, 17 Jan 2019 03:19:55 +0000 (03:19 +0000)]
Merge branch 'resilient-user-view-2' into 'develop'

MastoAPI: Don't break on missing users.

See merge request pleroma/pleroma!675

5 years agoRemove @providers and call Pleroma.config on runtime
rinpatch [Wed, 16 Jan 2019 15:04:41 +0000 (18:04 +0300)]
Remove @providers and call Pleroma.config on runtime

5 years agoRemove useless with in opengraph.ex
rinpatch [Wed, 16 Jan 2019 15:02:46 +0000 (18:02 +0300)]
Remove useless with in opengraph.ex

5 years agooof
rinpatch [Wed, 16 Jan 2019 15:01:17 +0000 (18:01 +0300)]
oof

5 years agoremove id cast
rinpatch [Wed, 16 Jan 2019 14:58:11 +0000 (17:58 +0300)]
remove id cast

5 years agocache ap_id in id instead of caching user two times
rinpatch [Wed, 16 Jan 2019 14:44:08 +0000 (17:44 +0300)]
cache ap_id in id instead of caching user two times

5 years agooops
rinpatch [Wed, 16 Jan 2019 14:19:01 +0000 (17:19 +0300)]
oops

5 years agoforgot to remove this thing
rinpatch [Wed, 16 Jan 2019 14:16:28 +0000 (17:16 +0300)]
forgot to remove this thing

5 years agojoin us now and share the software~. Also tests
rinpatch [Wed, 16 Jan 2019 14:15:13 +0000 (17:15 +0300)]
join us now and share the software~. Also tests

5 years agoMastoAPI: Don't break on missing users.
lain [Wed, 16 Jan 2019 14:13:09 +0000 (15:13 +0100)]
MastoAPI: Don't break on missing users.

5 years agoReplace map with reduce to remove nils
rinpatch [Wed, 16 Jan 2019 13:52:01 +0000 (16:52 +0300)]
Replace map with reduce to remove nils

5 years agoMerge branch 'feature/improve-microformats' into 'develop'
lambda [Wed, 16 Jan 2019 09:06:47 +0000 (09:06 +0000)]
Merge branch 'feature/improve-microformats' into 'develop'

improve microformats support

See merge request pleroma/pleroma!672

5 years agoMerge branch '518_instance_stats_fix' into 'develop'
lambda [Wed, 16 Jan 2019 08:59:40 +0000 (08:59 +0000)]
Merge branch '518_instance_stats_fix' into 'develop'

[#518] Fix: /api/v1/instance ("domain_count"), /api/v1/instance/peers

Closes #518

See merge request pleroma/pleroma!673

5 years agoRemove caching because it does not affect performance and may be even worse in some...
rinpatch [Wed, 16 Jan 2019 08:18:25 +0000 (11:18 +0300)]
Remove caching because it does not affect performance and may be even worse in some cases

5 years ago[#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers respo...
Ivan Tashkinov [Wed, 16 Jan 2019 08:07:46 +0000 (11:07 +0300)]
[#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers responses.

5 years agoRemove OpenGraph test from Ostatus tests
rinpatch [Wed, 16 Jan 2019 07:53:57 +0000 (10:53 +0300)]
Remove OpenGraph test from Ostatus tests

5 years agoAdd config doc
rinpatch [Wed, 16 Jan 2019 07:45:56 +0000 (10:45 +0300)]
Add config doc

5 years ago[#477] Minor refactoring (user search query).
Ivan Tashkinov [Wed, 16 Jan 2019 07:44:32 +0000 (10:44 +0300)]
[#477] Minor refactoring (user search query).

5 years agoAdd a fallback function to handle generic params, just in case
rinpatch [Wed, 16 Jan 2019 07:38:42 +0000 (10:38 +0300)]
Add a fallback function to handle generic params, just in case

5 years agoThanks you rinpatch, very cool
rinpatch [Wed, 16 Jan 2019 07:35:06 +0000 (10:35 +0300)]
Thanks you rinpatch, very cool

5 years agoNo need to use activity in the key
rinpatch [Wed, 16 Jan 2019 07:30:47 +0000 (10:30 +0300)]
No need to use activity in the key

5 years agoadd caching
rinpatch [Wed, 16 Jan 2019 07:26:01 +0000 (10:26 +0300)]
add caching

5 years agoDisable previews for any activity, but create
rinpatch [Wed, 16 Jan 2019 06:42:24 +0000 (09:42 +0300)]
Disable previews for any activity, but create

5 years agotests: fixup
William Pitcock [Wed, 16 Jan 2019 04:09:01 +0000 (04:09 +0000)]
tests: fixup

5 years agoformatter: improve microformats markup
William Pitcock [Wed, 16 Jan 2019 03:53:36 +0000 (03:53 +0000)]
formatter: improve microformats markup

5 years agohtml: allow microformats-related markup through the html filter
William Pitcock [Wed, 16 Jan 2019 03:48:43 +0000 (03:48 +0000)]
html: allow microformats-related markup through the html filter

5 years agocache HTML in OGP
rinpatch [Tue, 15 Jan 2019 21:07:28 +0000 (00:07 +0300)]
cache HTML in OGP

5 years agoAdd behaviours to TwitterCard, remove some dumb stuff in Formatter.truncate
rinpatch [Tue, 15 Jan 2019 20:25:28 +0000 (23:25 +0300)]
Add behaviours to TwitterCard, remove some dumb stuff in Formatter.truncate

5 years agoMerge branch 'bugfix/websub-hardening' into 'develop'
lambda [Tue, 15 Jan 2019 20:02:56 +0000 (20:02 +0000)]
Merge branch 'bugfix/websub-hardening' into 'develop'

websub: improve error handling

See merge request pleroma/pleroma!670

5 years agoAdd twitter card, filter nsfw
rinpatch [Tue, 15 Jan 2019 20:00:22 +0000 (23:00 +0300)]
Add twitter card, filter nsfw

5 years agoMerge branch 'bugfix/tesla-query-params' into 'develop'
lambda [Tue, 15 Jan 2019 20:00:22 +0000 (20:00 +0000)]
Merge branch 'bugfix/tesla-query-params' into 'develop'

Make OStatus Work Again

See merge request pleroma/pleroma!671

5 years agohttp: add support for query parameters, use Jason for JSON encoding instead of Poison...
William Pitcock [Tue, 15 Jan 2019 19:31:13 +0000 (19:31 +0000)]
http: add support for query parameters, use Jason for JSON encoding instead of Poison like everywhere else

5 years agoAdd space between name and nickname
rinpatch [Tue, 15 Jan 2019 18:47:45 +0000 (21:47 +0300)]
Add space between name and nickname

5 years agoFormating
rinpatch [Tue, 15 Jan 2019 18:20:27 +0000 (21:20 +0300)]
Formating

5 years agoAttach attachments
rinpatch [Tue, 15 Jan 2019 18:17:56 +0000 (21:17 +0300)]
Attach attachments

5 years agowebsub: improve error handling
William Pitcock [Tue, 15 Jan 2019 18:00:20 +0000 (18:00 +0000)]
websub: improve error handling

5 years agoIntroduce get_by_id in Activity, replace newlines with spaces
rinpatch [Tue, 15 Jan 2019 17:00:21 +0000 (20:00 +0300)]
Introduce get_by_id in Activity, replace newlines with spaces

5 years agorefactor opengraph to a different module with a behaviour
rinpatch [Tue, 15 Jan 2019 16:43:52 +0000 (19:43 +0300)]
refactor opengraph to a different module with a behaviour

5 years agoremove useless newlines after every tag. Make domain.com/username provide opengraph too
rinpatch [Tue, 15 Jan 2019 15:34:47 +0000 (18:34 +0300)]
remove useless newlines after every tag. Make domain.com/username provide opengraph too

5 years ago[#477] User search tests. Normalized search rank in User.search.
Ivan Tashkinov [Tue, 15 Jan 2019 10:05:25 +0000 (13:05 +0300)]
[#477] User search tests. Normalized search rank in User.search.

5 years agoadd a fallback function
rinpatch [Tue, 15 Jan 2019 09:11:07 +0000 (12:11 +0300)]
add a fallback function

5 years ago[#477] Added FTS index for `users`. Fixed failing test.
Ivan Tashkinov [Tue, 15 Jan 2019 09:04:54 +0000 (12:04 +0300)]
[#477] Added FTS index for `users`. Fixed failing test.

5 years agoplease don't bully me for this
rinpatch [Tue, 15 Jan 2019 09:02:55 +0000 (12:02 +0300)]
please don't bully me for this

5 years agocringe
rinpatch [Tue, 15 Jan 2019 08:59:05 +0000 (11:59 +0300)]
cringe

5 years agoFix some edge cases [nervous laughter]
rinpatch [Tue, 15 Jan 2019 08:56:35 +0000 (11:56 +0300)]
Fix some edge cases [nervous laughter]

5 years agoMerge branch 'fix/elixir-1-8-type-annotation' into 'develop'
lambda [Tue, 15 Jan 2019 08:51:59 +0000 (08:51 +0000)]
Merge branch 'fix/elixir-1-8-type-annotation' into 'develop'

Fix Elixir 1.8 type annotation issue

Closes #523

See merge request pleroma/pleroma!668

5 years agoMove metadata.ex out of ostatus
rinpatch [Tue, 15 Jan 2019 08:00:17 +0000 (11:00 +0300)]
Move metadata.ex out of ostatus

5 years agoMerge branch 'bugfix/upload_with_question_mark' into 'develop'
rinpatch [Tue, 15 Jan 2019 07:01:50 +0000 (07:01 +0000)]
Merge branch 'bugfix/upload_with_question_mark' into 'develop'

Upload: Fix uploading with a ? in the filename

See merge request pleroma/pleroma!669

5 years agoUpload: Fix uploading with a : in the filename
Haelwenn (lanodan) Monnier [Tue, 15 Jan 2019 06:57:48 +0000 (07:57 +0100)]
Upload: Fix uploading with a : in the filename

5 years agoUpload: Fix uploading with a ? in the filename
Haelwenn (lanodan) Monnier [Tue, 15 Jan 2019 06:40:00 +0000 (07:40 +0100)]
Upload: Fix uploading with a ? in the filename

5 years agoFix Elixir 1.8 type annotation issue
Maxim Filippov [Tue, 15 Jan 2019 00:58:48 +0000 (02:58 +0200)]
Fix Elixir 1.8 type annotation issue

5 years agoMerge branch 'media-url-escape' into 'develop'
rinpatch [Mon, 14 Jan 2019 18:52:23 +0000 (18:52 +0000)]
Merge branch 'media-url-escape' into 'develop'

URI escape file upload URLs

See merge request pleroma/pleroma!665

5 years agoMerge branch 'load-all-dms' into 'develop'
lambda [Mon, 14 Jan 2019 18:49:53 +0000 (18:49 +0000)]
Merge branch 'load-all-dms' into 'develop'

Remove recent activity restriction.

See merge request pleroma/pleroma!644

5 years agoAdd attachment escaping test
Shadowfacts [Mon, 14 Jan 2019 18:29:38 +0000 (13:29 -0500)]
Add attachment escaping test

5 years ago[#477] User search improvements: tsquery search with field weights, friends & followe...
Ivan Tashkinov [Mon, 14 Jan 2019 17:04:45 +0000 (20:04 +0300)]
[#477] User search improvements: tsquery search with field weights, friends & followers boosting.

5 years agoURI escape file upload URLs
Shadowfacts [Mon, 14 Jan 2019 16:31:44 +0000 (11:31 -0500)]
URI escape file upload URLs

5 years agoMerge branch 'feature/add-oembed-parser' into 'develop'
kaniini [Mon, 14 Jan 2019 07:28:04 +0000 (07:28 +0000)]
Merge branch 'feature/add-oembed-parser' into 'develop'

Add OEmbed parser

See merge request pleroma/pleroma!661

5 years agoMerge branch 'activitypub-likes' into 'develop'
kaniini [Mon, 14 Jan 2019 07:27:05 +0000 (07:27 +0000)]
Merge branch 'activitypub-likes' into 'develop'

Activitypub c2s likes

See merge request pleroma/pleroma!658

5 years agoMerge branch 'fix-nginx-caching' into 'develop'
kaniini [Mon, 14 Jan 2019 07:25:08 +0000 (07:25 +0000)]
Merge branch 'fix-nginx-caching' into 'develop'

Fix nginx caching issues

See merge request pleroma/pleroma!654