Ivan Tashkinov [Mon, 28 Jan 2019 12:25:06 +0000 (15:25 +0300)]
[#534] Various tweaks. Tests for Instances and Instance.
Ivan Tashkinov [Mon, 28 Jan 2019 08:03:52 +0000 (11:03 +0300)]
[#534] Refactoring / tweaks per MR review.
Ivan Tashkinov [Fri, 25 Jan 2019 17:38:54 +0000 (20:38 +0300)]
[#534] Federation reachability filtering tests.
Ivan Tashkinov [Fri, 25 Jan 2019 17:38:13 +0000 (20:38 +0300)]
[#534] Made Salmon.send_to_user calls be handled through Federator.enqueue.
Ivan Tashkinov [Fri, 25 Jan 2019 15:29:43 +0000 (18:29 +0300)]
[#534] Websub fix: made SQL use UTC time zone when comparing with `valid_until` (instead of postgresql-server default time zone).
Ivan Tashkinov [Fri, 25 Jan 2019 12:10:21 +0000 (15:10 +0300)]
[#534] Configurable outgoing federation reachability timeout.
Ivan Tashkinov [Thu, 24 Jan 2019 16:15:23 +0000 (19:15 +0300)]
[#534] Optimized bulk publish ops to filter on reachability early. `Instance` refactoring.
Ivan Tashkinov [Thu, 24 Jan 2019 14:37:23 +0000 (17:37 +0300)]
[#534] Updating external instances reachability on incoming federation.
Ivan Tashkinov [Thu, 24 Jan 2019 08:54:52 +0000 (11:54 +0300)]
[#534] Federation publish requests status control (enforced 2xx response code check).
Ivan Tashkinov [Wed, 23 Jan 2019 15:37:25 +0000 (18:37 +0300)]
[#534] Initial implementation of unreachable federation targets retirement.
kaniini [Wed, 23 Jan 2019 13:25:04 +0000 (13:25 +0000)]
Merge branch 's3-namespace' into 'develop'
S3 uploader: support for namespaced bucket
Closes #532
See merge request pleroma/pleroma!699
href [Wed, 23 Jan 2019 13:20:34 +0000 (13:20 +0000)]
Merge branch 'fix-info-id' into 'develop'
Fix info ids.
Closes #511
See merge request pleroma/pleroma!702
lain [Wed, 23 Jan 2019 13:00:23 +0000 (14:00 +0100)]
Fix info ids.
The previous migration actually created values for the key "id", including the
quotes. This one should fill out all missing ids.
Closes #511
lambda [Wed, 23 Jan 2019 12:14:41 +0000 (12:14 +0000)]
Merge branch 'rename/pleroma_activity_consistency' into 'develop'
Consistent fonction names in Pleroma.Activity
See merge request pleroma/pleroma!690
lain [Wed, 23 Jan 2019 12:05:58 +0000 (13:05 +0100)]
Merge branch 'develop' into rename/pleroma_activity_consistency
href [Tue, 22 Jan 2019 16:10:38 +0000 (16:10 +0000)]
Merge branch 'mr/
20190122-activity-visibility-update' into 'develop'
slightly changes definition so that autovacuum works parallel safe too
Closes #540
See merge request pleroma/pleroma!697
Michael Loftis [Tue, 22 Jan 2019 15:35:21 +0000 (15:35 +0000)]
slightly changes definition so that autovacuum works paralell safe too
Haelwenn [Tue, 22 Jan 2019 14:28:17 +0000 (14:28 +0000)]
Merge branch 'fix/activity_get_by_id' into 'develop'
Add get_by_id to activity.ex
See merge request pleroma/pleroma!695
lambda [Tue, 22 Jan 2019 14:18:36 +0000 (14:18 +0000)]
Merge branch '502_stats_fix_for_nil_info_deactivated' into 'develop'
[#502] Stats fix (users with nil or missing `info.deactivated` should be treated active)
Closes #502
See merge request pleroma/pleroma!696
Ivan Tashkinov [Tue, 22 Jan 2019 14:12:53 +0000 (17:12 +0300)]
[#502] Fixed User.active_local_user_query to return users with nil or missing `info.deactivated`. Adjusted test.
kaniini [Tue, 22 Jan 2019 09:03:03 +0000 (09:03 +0000)]
Merge branch 'uploader-controller' into 'develop'
Uploader callback controller
See merge request pleroma/pleroma!694
rinpatch [Tue, 22 Jan 2019 07:54:11 +0000 (10:54 +0300)]
Add get_by_id to activity.ex
href [Mon, 21 Jan 2019 21:44:14 +0000 (22:44 +0100)]
Uploader callback controller
rinpatch [Mon, 21 Jan 2019 20:02:58 +0000 (20:02 +0000)]
Merge branch 'fix-buggy-test' into 'develop'
Fix buggy test.
See merge request pleroma/pleroma!693
lain [Mon, 21 Jan 2019 16:54:11 +0000 (17:54 +0100)]
Fix buggy test.
lambda [Mon, 21 Jan 2019 16:19:15 +0000 (16:19 +0000)]
Merge branch 'proxy-no-default-plug-cache' into 'develop'
Always override plug's default cache-control in reverse proxy
See merge request pleroma/pleroma!692
href [Mon, 21 Jan 2019 14:17:24 +0000 (15:17 +0100)]
reverse_proxy - always override plug's cache-control
href [Mon, 21 Jan 2019 13:42:16 +0000 (14:42 +0100)]
S3 Namespace
lambda [Mon, 21 Jan 2019 13:03:32 +0000 (13:03 +0000)]
Merge branch '530_federator_user_info_overwrite_fix' into 'develop'
[#530] Prevents user `info` from being overwritten because of race conditions
Closes #530
See merge request pleroma/pleroma!691
lambda [Mon, 21 Jan 2019 12:35:10 +0000 (12:35 +0000)]
Merge branch 'feature/dm-sanity' into 'develop'
DM sanitization
See merge request pleroma/pleroma!458
Ivan Tashkinov [Mon, 21 Jan 2019 11:52:41 +0000 (14:52 +0300)]
[#502] Code comments update.
Ivan Tashkinov [Mon, 21 Jan 2019 11:30:01 +0000 (14:30 +0300)]
[#530] Fixed test.
Ivan Tashkinov [Mon, 21 Jan 2019 11:16:51 +0000 (14:16 +0300)]
[#530] Prevents user `info` from being overwritten because of race conditions
and non-partial update of embed (in WebFinger.ensure_keys_present and other places).
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 06:37:45 +0000 (07:37 +0100)]
Activity: mix format (2 empty lines)
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 06:14:20 +0000 (07:14 +0100)]
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 06:07:54 +0000 (07:07 +0100)]
Activity: create_activity_by_object_id_query/1 → create_by_object_ap_id/1 when is_list
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 05:46:47 +0000 (06:46 +0100)]
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 05:39:00 +0000 (06:39 +0100)]
Activity: all_by_object_ap_id_q/1 → create_by_object_ap_id/1
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 05:15:05 +0000 (06:15 +0100)]
Activity: all_non_create_by_object_ap_id_q → by_object_ap_id
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 05:29:05 +0000 (06:29 +0100)]
Activity: all_by_object_ap_id/1 → get_all_by_object_ap_id/1
rinpatch [Mon, 21 Jan 2019 05:22:34 +0000 (05:22 +0000)]
Merge branch 'bugfix/gen_signing_salt' into 'develop'
Mix.Tasks.Pleroma.Instance: Generate signing_salt
Closes #533
See merge request pleroma/pleroma!689
Haelwenn (lanodan) Monnier [Mon, 21 Jan 2019 00:16:41 +0000 (01:16 +0100)]
Mix.Tasks.Pleroma.Instance: Generate signing_salt
Closes: https://git.pleroma.social/pleroma/pleroma/issues/533
kaniini [Sun, 20 Jan 2019 23:06:21 +0000 (23:06 +0000)]
Merge branch '116-send-delete-event' into 'develop'
Send delete event over Mastodon streaming api
Closes #116
See merge request pleroma/pleroma!688
lain [Sun, 20 Jan 2019 12:00:46 +0000 (13:00 +0100)]
Send delete event over Mastodon streaming api
Closes #116
lambda [Sun, 20 Jan 2019 10:58:19 +0000 (10:58 +0000)]
Merge branch 'add-custom-emoji-test' into 'develop'
Add a test to ensure #39 is fixed.
See merge request pleroma/pleroma!687
lain [Sun, 20 Jan 2019 10:48:53 +0000 (11:48 +0100)]
Add a test to ensure #39 is fixed.
lambda [Sun, 20 Jan 2019 10:42:06 +0000 (10:42 +0000)]
Merge branch '2019-1-20-update-frontend' into 'develop'
update frontend
See merge request pleroma/pleroma!686
lain [Sun, 20 Jan 2019 10:28:11 +0000 (11:28 +0100)]
update frontend
lambda [Sun, 20 Jan 2019 10:24:05 +0000 (10:24 +0000)]
Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
I1t/pleroma 477 user search improvements
See merge request pleroma/pleroma!685
lain [Sun, 20 Jan 2019 09:57:49 +0000 (10:57 +0100)]
Set custom similarity limit.
William Pitcock [Sun, 20 Jan 2019 02:30:29 +0000 (02:30 +0000)]
activitypub: short-circuit is_public?() with directMessage flag check
William Pitcock [Sun, 23 Dec 2018 15:55:07 +0000 (15:55 +0000)]
test: transmogrifier: verify directMessage flag is sent outbound based on declared visibility
William Pitcock [Sun, 23 Dec 2018 15:44:26 +0000 (15:44 +0000)]
transmogrifier: slightly clean up fix_explicit_addressing pipeline
William Pitcock [Sun, 23 Dec 2018 15:35:49 +0000 (15:35 +0000)]
transmogrifier: don't apply heuristics against messages which have `directMessage` set true
William Pitcock [Sun, 23 Dec 2018 15:27:08 +0000 (15:27 +0000)]
activitypub: add is_private?/is_direct? helpers
William Pitcock [Sun, 23 Dec 2018 15:26:07 +0000 (15:26 +0000)]
common api: set directMessage flag on our own posts
William Pitcock [Sun, 23 Dec 2018 15:13:06 +0000 (15:13 +0000)]
litepub schema: add litepub:directMessage flag
William Pitcock [Sat, 17 Nov 2018 16:30:44 +0000 (16:30 +0000)]
mastodon api: get_visibility(): DMs never have a cc list.
William Pitcock [Sat, 17 Nov 2018 16:18:40 +0000 (16:18 +0000)]
tests: add tests for DM sanitizer
William Pitcock [Sat, 17 Nov 2018 16:05:41 +0000 (16:05 +0000)]
activitypub: transmogrifier: fix up to/cc addressing brain damage caused by mastodon-style explicit DMs
William Pitcock [Sat, 17 Nov 2018 15:51:02 +0000 (15:51 +0000)]
activitypub: utils: add determine_explicit_mentions() and tests
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
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.
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
William Pitcock [Fri, 18 Jan 2019 22:32:01 +0000 (22:32 +0000)]
test: add regression test for to/cc clobbering
Ivan Tashkinov [Fri, 18 Jan 2019 07:57:42 +0000 (10:57 +0300)]
[#477] User trigram index adjustment.
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).
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.
William Pitcock [Thu, 17 Jan 2019 23:32:16 +0000 (23:32 +0000)]
activitypub: add a match clause for objects, not just activities
William Pitcock [Thu, 17 Jan 2019 23:19:15 +0000 (23:19 +0000)]
activitypub: transmogrifier: do not clobber the addressing on relayed announcements
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
William Pitcock [Thu, 17 Jan 2019 23:13:54 +0000 (23:13 +0000)]
activitypub: relay: chase selective public announce changes
William Pitcock [Thu, 17 Jan 2019 23:12:42 +0000 (23:12 +0000)]
activitypub: announce: add new public parameter
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
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
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
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
shibayashi [Thu, 17 Jan 2019 18:49:54 +0000 (19:49 +0100)]
Add comments and change default path of the Mix binary.
sxsdv1 [Thu, 17 Jan 2019 17:21:43 +0000 (18:21 +0100)]
Fix bad link in likes collection
Don't copy and paste, mkay
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.
Mark Felder [Thu, 17 Jan 2019 16:10:26 +0000 (16:10 +0000)]
formatting
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
Mark Felder [Thu, 17 Jan 2019 15:50:34 +0000 (15:50 +0000)]
Also add to default config
Mark Felder [Thu, 17 Jan 2019 15:48:14 +0000 (15:48 +0000)]
Make attachment links configurable
Thanks @href!
Ivan Tashkinov [Thu, 17 Jan 2019 15:03:49 +0000 (18:03 +0300)]
[#491] Made user bio preserve full nicknames (nick@host).
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
lain [Wed, 16 Jan 2019 14:13:09 +0000 (15:13 +0100)]
MastoAPI: Don't break on missing users.
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
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
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.
Ivan Tashkinov [Wed, 16 Jan 2019 07:44:32 +0000 (10:44 +0300)]
[#477] Minor refactoring (user search query).
William Pitcock [Wed, 16 Jan 2019 04:09:01 +0000 (04:09 +0000)]
tests: fixup
William Pitcock [Wed, 16 Jan 2019 03:53:36 +0000 (03:53 +0000)]
formatter: improve microformats markup
William Pitcock [Wed, 16 Jan 2019 03:48:43 +0000 (03:48 +0000)]
html: allow microformats-related markup through the html filter
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
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
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
William Pitcock [Tue, 15 Jan 2019 18:00:20 +0000 (18:00 +0000)]
websub: improve error handling
Ivan Tashkinov [Tue, 15 Jan 2019 10:05:25 +0000 (13:05 +0300)]
[#477] User search tests. Normalized search rank in User.search.
Ivan Tashkinov [Tue, 15 Jan 2019 09:04:54 +0000 (12:04 +0300)]
[#477] Added FTS index for `users`. Fixed failing test.