Commit graph

2409 commits

Author SHA1 Message Date
Dessalines 9fe3efcb32 Trimming allowed and blocked instances 2020-10-07 09:40:36 -05:00
Dessalines 30431199cf Merge remote-tracking branch 'origin/no-send-blocked' into no-send-blocked-dess 2020-10-06 12:33:18 -05:00
Dessalines db7027a367 Removing on_conflict as it may not work with table triggers (user_fast, etc) 2020-10-06 12:31:16 -05:00
Felix Ableitner 26883208cd Create separate SendActivityTask for each destination 2020-10-06 19:19:53 +02:00
Felix Ableitner 60730e81d9 Avoid duplicate comment send, better activity logging 2020-10-06 18:28:31 +02:00
Dessalines ca4868cefd Adding a boolean check to send_activity_internal 2020-10-06 10:19:01 -05:00
Felix Ableitner 9e84fe20e6 Dont send mentions to inbox of local community
also, dont start SendActivityTask for empty `to`, and remove
useless comment
2020-10-06 14:58:37 +02:00
Dessalines 048fe287c2 Running cargo fmt. 2020-10-03 09:50:06 -05:00
Dessalines 9fa2092a21 Adding some logging. 2020-10-03 09:47:06 -05:00
Dessalines 2e2b6eacd7 Fixing pretty print again. 2020-10-02 10:15:26 -05:00
Dessalines eef0a5c7e8 Adding pretty print for activities. 2020-10-02 09:21:14 -05:00
Dessalines f5b511ccce Merge branch 'main' into no-send-blocked-dess 2020-10-01 15:57:47 -05:00
Dessalines 2ad137c280 Merge branch 'remove-hardcoded-https-dess' into main 2020-10-01 12:56:04 -05:00
Dessalines 3a24adc57f Renaming to sign_and_send 2020-10-01 12:54:20 -05:00
Dessalines 61f013e4cb Trying to fix travis build. 2020-10-01 09:16:56 -05:00
Dessalines 6c8a5723f8 Trying to add some long delays. 2020-10-01 08:32:01 -05:00
Felix Ableitner a4cb067130 Dont send to blocked instances, rewrite activity_sender 2020-09-30 20:35:02 +02:00
Dessalines b074a963fe Version v0.7.61 2020-09-30 20:28:58 +02:00
Dessalines 0ebd830814 More overwriteable fields (#1155)
* Adding more overwriteable fields for user. Fixes #1154

* Adding a note for bio.
2020-09-30 20:28:58 +02:00
Dessalines 4772cbd23f
Merge pull request #1162 from asonix/remove-hardcoded-https
Use http-signature-normalization-reqwest
2020-09-30 09:28:40 -04:00
asonix 1fc21aed1c Use http-signature-normalization-reqwest 2020-09-29 20:08:50 -05:00
Felix Ableitner c1db1042ad Also sign the digest header 2020-09-29 16:46:49 +02:00
Felix Ableitner 0aa0ea19fb Use reqwest to send activities 2020-09-29 15:10:55 +02:00
Dessalines ada82582ef Version v0.7.61 2020-09-25 16:26:19 -05:00
Felix Ableitner 927ab1f040 Remove hardcoded usage of https (fixes #1126) 2020-09-25 17:33:00 +02:00
Dessalines 8bea13d651
More overwriteable fields (#1155)
* Adding more overwriteable fields for user. Fixes #1154

* Adding a note for bio.
2020-09-25 11:16:49 -04:00
Dessalines 10b3d9005f
Merge pull request #1152 from LemmyNet/upgrade_api_test_deps
Upgrade api test deps
2020-09-24 22:50:32 -04:00
Dessalines 5dbb2b45cb Upgrade api test deps. 2020-09-24 13:22:11 -05:00
nutomic bfed8a8be4 Dont federate embeds, but refetch them for security (#106)
Dont federate embeds, but refetch them for security (#ref 647)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/106
2020-09-24 17:43:42 +00:00
Dessalines 4de80dc29d Merge remote-tracking branch 'yerba/main' into main 2020-09-24 09:14:09 -05:00
nutomic 442369a041 Move websocket code into workspace (#107)
Adjust dockerfiles, fix cargo.toml and remove unused deps

Merge branch 'main' into move-websocket-to-workspace

Move api code into workspace

Move apub to separate workspace

Move websocket code into separate workspace

Some code cleanup

Remove websocket dependency on API

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/107
2020-09-24 13:53:21 +00:00
nutomic e8ea0664ef Fix nginx config for local federation setup (#104)
Fix depends_on

Add note about different port for backend in federation docs

Fix nginx config for local federation setup

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/104
2020-09-24 13:50:38 +00:00
Dessalines 698fb20c12
Fixing ansible install. (#1150)
* Fixing ansible install.

* Fixing LEMMY_EXTERNAL_HOST docs.
2020-09-24 09:47:24 -04:00
Dessalines c6888472dc
Add linked instances. (#1149)
* Adding linked instances. Fixes #1147

* Removing current instance, checking for federation enabled.

* Cleaning up.

* Switching to iterator.
2020-09-24 09:46:57 -04:00
Dessalines ab17e0a9f3 Merge branch 'add-view-helper-functions' of https://github.com/eiknat/lemmy into eiknat-add-view-helper-functions 2020-09-23 16:16:18 -05:00
Dessalines b99b62a211 Version v0.7.59 2020-09-23 08:58:30 -05:00
Dessalines 1dcf14289d Removing weblate translations from deploy. 2020-09-23 08:56:32 -05:00
Dessalines 5732fde4d9 Updating issue template to show lemmy-ui. 2020-09-22 14:32:18 -05:00
Nutomic 440dba4372
Merge pull request #1146 from LemmyNet/fix_nginx_docs
Fix nginx docs, fix test deploy.
2020-09-22 19:02:46 +00:00
Dessalines 2bee3ac33b Fix nginx docs, fix test deploy. 2020-09-22 11:28:16 -05:00
Dessalines 2189d15e5b Merge branch 'main' of https://github.com/lemmynet/lemmy into main 2020-09-22 10:12:36 -05:00
Dessalines 66cf9ff70a Merge remote-tracking branch 'yerba/main' into main 2020-09-22 10:12:26 -05:00
dessalines 8e69801e24 Merge pull request 'Add integration test to ensure that signatures are verified' (#103) from integration-test into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/103
2020-09-22 15:10:28 +00:00
Nutomic b5860a4283
Merge pull request #1145 from LemmyNet/fix_remote_subscribe
Fixing remote subscribe result. Fixes #1144
2020-09-21 19:09:48 +00:00
Felix Ableitner aece5e67b7 Address review comments 2020-09-21 17:24:42 +02:00
Dessalines 9395312079 Fixing remote subscribe result. Fixes #1144 2020-09-21 09:35:13 -05:00
Dessalines 8a7eb57c24
Add openssl (#1143)
* Adding openssl.

* Openssl didnt work, switching to rustls.
2020-09-21 10:08:47 -04:00
Felix Ableitner 12af0f462f Update federation docs 2020-09-21 14:02:40 +02:00
Felix Ableitner db3dcc6fdc Add tests for community_inbox and user_inbox 2020-09-18 17:45:50 +02:00
Felix Ableitner 9d4973829b Add integration test to ensure that signatures are verified 2020-09-18 16:37:46 +02:00