From bd68ae180680bf8c5e1fd571023a2f40df165847 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 24 May 2023 20:46:09 +0200 Subject: [PATCH 1/7] v0.9.0 --- conf/x86-64.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/x86-64.src b/conf/x86-64.src index 512ed20..8146ec3 100644 --- a/conf/x86-64.src +++ b/conf/x86-64.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_amd64.tar.gz -SOURCE_SUM=32475bc78db64dbcfadb61b6c9b63542d9687fb9d42fa4c866f8136d86f8cf6d +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0_linux_amd64.tar.gz +SOURCE_SUM=9b802061eb694508f1876486738b3a4062474eb4df9d864c5e293283c1756337 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.8.1_linux_amd64.tar.gz +SOURCE_FILENAME=gotosocial_0.9.0_linux_amd64.tar.gz From 94371d49411fd8483bbb2e8f8ef02d57020085d0 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 24 May 2023 20:46:13 +0200 Subject: [PATCH 2/7] v0.9.0 --- conf/arm64.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/arm64.src b/conf/arm64.src index 9638143..b1753e4 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_arm64.tar.gz -SOURCE_SUM=671d66a6c7cd6b96b7499bf3e6419a1c4cc9278ff532191c0bcecc025fd4a0db +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0linux_arm64.tar.gz +SOURCE_SUM=6b3f543ef9e86953b74b859556996ee533a73fa2ec7ea035b9f392589e3c188b SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.8.1_linux_arm64.tar.gz +SOURCE_FILENAME=gotosocial_0.9.0_linux_arm64.tar.gz From fa4a4edb2ac9dd8ef90880a485735e6217a702da Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 24 May 2023 20:46:17 +0200 Subject: [PATCH 3/7] v0.9.0 --- conf/armv6.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/armv6.src b/conf/armv6.src index 9ce61fd..7c588a6 100644 --- a/conf/armv6.src +++ b/conf/armv6.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv6.tar.gz -SOURCE_SUM=207aed157dd418d6a4a7e4cff74de0724e08b0be24cf7208122988a2d9da44cc +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0_linux_armv6.tar.gz +SOURCE_SUM=6a7508c40309a621246f351e95c2bef763b37fda5a8e1f3fe2485d7805973eb1 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.8.1_linux_armv6.tar.gz +SOURCE_FILENAME=gotosocial_0.9.0_linux_armv6.tar.gz From 998c70cd66379f0f0c1933d8a9ec4fc475bcc0e6 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 24 May 2023 20:46:20 +0200 Subject: [PATCH 4/7] v0.9.0 --- conf/armv7.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/armv7.src b/conf/armv7.src index a67e712..22e74cd 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv7.tar.gz -SOURCE_SUM=54117d643829ec0c3a8e47d036d2485747d301299964dd33178308e560e1b265 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0_linux_armv7.tar.gz +SOURCE_SUM=41f932878ed3da809aa80dbfab51f0d84c6edc8283ee1893b46ee0338eb7ac01 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.8.1_linux_armv7.tar.gz +SOURCE_FILENAME=gotosocial_0.9.0_linux_armv7.tar.gz From 8c080793f7fd427958b65d71a6dbcd1c7c36eba9 Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 24 May 2023 20:46:21 +0200 Subject: [PATCH 5/7] v0.9.0 --- conf/i386.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/i386.src b/conf/i386.src index d0c8e9c..52ea365 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_386.tar.gz -SOURCE_SUM=8d1436b1eab293e97f3de3572b3631da1efb12b23dc29ffcdb76b40f8f925a0c +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.9.0/gotosocial_0.9.0_linux_386.tar.gz +SOURCE_SUM=73cf171ae72a06dd3da669ffedd03da545a143c4965dd9585ad3586a25c734c2 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.8.1_linux_386.tar.gz +SOURCE_FILENAME=gotosocial_0.9.0_linux_386.tar.gz From 2028e53b19db30a12c314519e2edeeba6e4f503e Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 25 May 2023 01:37:12 +0200 Subject: [PATCH 6/7] upgrading config file according to the upstream --- conf/config.yaml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/conf/config.yaml b/conf/config.yaml index 8e1fde9..b88c9f1 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -30,6 +30,11 @@ log-level: "info" # Default: false log-db-queries: false +# Bool. Include the client IP in the emitted log lines +# Options: [true, false] +# Default: true +log-client-ip: true + # String. Application name to use internally. # Examples: ["My Application","gotosocial"] # Default: "gotosocial" @@ -764,6 +769,37 @@ syslog-protocol: "udp" # Default: "localhost:514" syslog-address: "localhost:514" +################################## +##### OBSERVABILITY SETTINGS ##### +################################## + +# String. Header name to use to extract a request or trace ID from. Typically set by a +# loadbalancer or proxy. +# Default: "X-Request-Id" +request-id-header: "X-Request-Id" + +# Bool. Enable OpenTelemetry based tracing support. +# Default: false +tracing-enabled: false + +# String. Set the transport protocol for the tracing system. Can either be "grpc" for +# OTLP gRPC or "jaeger" for jaeger based ingesters. +# Options: ["grpc", "jaeger"] +# Default: "grpc" +tracing-transport: "grpc" + +# String. Endpoint of the trace ingester. When using the gRPC based transport, the +# endpoint is usually a single address/port combination. For the jaeger transport it +# should be a fully qualified URL. +# OTLP gRPC or "jaeger" for jaeger based ingesters +# Examples: ["localhost:4317", "http://localhost:14268/api/traces"] +# Default: "" +tracing-endpoint: "" + +# Bool. Disable HTTPS for the gRPC transport protocol. +# Default: false +tracing-insecure-transport: false + ############################# ##### ADVANCED SETTINGS ##### ############################# @@ -841,3 +877,35 @@ advanced-throttling-multiplier: 8 # Examples: [30s, 10s, 5s, 1m] # Default: 30s advanced-throttling-retry-after: "30s" + +# Int. CPU multiplier for the amount of goroutines to spawn in order to send messages via ActivityPub. +# Messages will be batched so that at most multiplier * CPU count messages will be sent out at once. +# This can be tuned to limit concurrent POSTing to remote inboxes, preventing your instance CPU +# usage from skyrocketing when an account with many followers posts a new status. +# +# Messages are split among available senders, and each sender processes its assigned messages in serial. +# For example, say a user with 1000 followers is on an instance with 2 CPUs. With the default multiplier +# of 2, this means 4 senders would be in process at once on this instance. When the user creates a new post, +# each sender would end up iterating through about 250 Create messages + delivering them to remote instances. +# +# If you set this to 0 or less, only 1 sender will be used regardless of CPU count. This may be +# useful in cases where you are working with very tight network or CPU constraints. +# +# Example values for multiplier 2 (default): +# +# 1 cpu = 2 concurrent senders +# 2 cpu = 4 concurrent senders +# 4 cpu = 8 concurrent senders +# +# Example values for multiplier 4: +# +# 1 cpu = 4 concurrent senders +# 2 cpu = 8 concurrent senders +# 4 cpu = 16 concurrent senders +# +# Example values for multiplier <1: +# +# 1 cpu = 1 concurrent sender +# 2 cpu = 1 concurrent sender +# 4 cpu = 1 concurrent sender +advanced-sender-multiplier: 2 \ No newline at end of file From 5be51ec883cbe161bca9494ea0cd9946367b3c86 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 25 May 2023 03:50:16 +0200 Subject: [PATCH 7/7] bump version --- README.md | 2 +- README_fr.md | 2 +- manifest.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eca101f..721ed02 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ With GoToSocial, you can keep in touch with your friends, post, read, and share Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). -**Shipped version:** 0.8.1~ynh1 +**Shipped version:** 0.9.0~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index b0c72d0..3e12594 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ Avec GoToSocial, vous pouvez rester en contact avec vos amis, publier, lire et p Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](https://docs.gotosocial.org). -**Version incluse :** 0.8.1~ynh1 +**Version incluse :** 0.9.0~ynh1 ## Captures d’écran diff --git a/manifest.json b/manifest.json index 9360a62..378d9a2 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "ActivityPub social network server", "fr": "Serveur de réseau social basé sur ActivityPub" }, - "version": "0.8.1~ynh1", + "version": "0.9.0~ynh1", "url": "https://github.com/superseriousbusiness/gotosocial", "upstream": { "license": "AGPL-3.0-only", @@ -114,4 +114,4 @@ } ] } -} +} \ No newline at end of file