From 1d6a389debb2891d551dc811ff6173336f41e9e3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 17 Jun 2022 17:05:26 +0200 Subject: [PATCH 1/2] Testing v0.3.5 (#30) * updating config file according to upstream * Updating disclaimer files: the admin panel is now included * Upgrade to version 0.3.5 (#29) * Upgrade to v0.3.5 * Auto-update README Co-authored-by: yunohost-bot Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: yunohost-bot --- README.md | 4 ++-- README_fr.md | 4 ++-- conf/arm64.src | 6 +++--- conf/armv6.src | 6 +++--- conf/armv7.src | 6 +++--- conf/config.yaml | 34 ++++++++++++++++++++++++++++++++++ conf/i386.src | 6 +++--- conf/x86-64.src | 6 +++--- doc/DISCLAIMER.md | 2 +- doc/DISCLAIMER_fr.md | 2 +- manifest.json | 4 ++-- 11 files changed, 57 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 81db33a..a2688b7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,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.3.4~ynh1 +**Shipped version:** 0.3.5~ynh1 ## Screenshots @@ -46,7 +46,7 @@ You will need to use a Mastodon-compatible client such as [Tusky](https://tusky. #### Administration -You can login to [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance. +You can login with your admin user (the one automatically created at the instalaltion) to your-instance.com/**admin** or using the public instance [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance. [The source code of this administration panel](https://github.com/superseriousbusiness/gotosocial-admin) is available on github. [The GTS admin panel documentation](https://docs.gotosocial.org/en/latest/admin/admin_panel/). diff --git a/README_fr.md b/README_fr.md index 61e9261..3e4a525 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,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.3.4~ynh1 +**Version incluse :** 0.3.5~ynh1 ## Captures d'écran @@ -46,7 +46,7 @@ Vous devrez utiliser un client compatible avec Mastodon comme [Tusky](https://tu #### Administration -Vous pouvez vous connecter sur [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial. +Vous pouvez vous connecter avec votre utilisateur admin (celui créé automatiquement à l'installation) à l'interface d'administration à l'adresse votre-instance.com/**admin** ou sur l'instance publique [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial. [Le code source de cette interface d'administration](https://github.com/superseriousbusiness/gotosocial-admin) est consultable sur github. [La documentation de l'interface d'administration de GoToSocial](https://docs.gotosocial.org/en/latest/admin/admin_panel/). diff --git a/conf/arm64.src b/conf/arm64.src index 48de1fd..ec0a0ce 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.4/gotosocial_0.3.4_linux_arm64.tar.gz -SOURCE_SUM=a5a7e1124d9b65ebee453442d771eb18f2964868fadd7db7d0548085eb52babb +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_arm64.tar.gz +SOURCE_SUM=44ec2783502a5c84c2c56492881fb964b97d6fead81742db65184e87c8776025 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.4_linux_arm64.tar.gz +SOURCE_FILENAME=gotosocial_0.3.5_linux_arm64.tar.gz diff --git a/conf/armv6.src b/conf/armv6.src index 4019422..a37850e 100644 --- a/conf/armv6.src +++ b/conf/armv6.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.4/gotosocial_0.3.4_linux_armv6.tar.gz -SOURCE_SUM=18dee308436e70d98680e96593cb2f9d0ab120db2a54d698eaa86bfa6796dcc2 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_armv6.tar.gz +SOURCE_SUM=4b3e5f3892bbf89238837a9ec696b92653adb5141298161b74b90e6e5d0003a7 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.4_linux_armv6.tar.gz +SOURCE_FILENAME=gotosocial_0.3.5_linux_armv6.tar.gz diff --git a/conf/armv7.src b/conf/armv7.src index 372bf96..49cdf6f 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.4/gotosocial_0.3.4_linux_armv7.tar.gz -SOURCE_SUM=3bfca64234a281ea179532ffd59d24dda021cd86c926bc7b66b78205370fa109 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_armv7.tar.gz +SOURCE_SUM=c800edefd4d71f8e51d0d2781e44cf0505e138ca2e405d2a715e3a207f206213 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.4_linux_armv7.tar.gz +SOURCE_FILENAME=gotosocial_0.3.5_linux_armv7.tar.gz diff --git a/conf/config.yaml b/conf/config.yaml index 9cde08d..e188be9 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -23,6 +23,13 @@ # Default: "info" log-level: "info" +# Bool. Log database queries when log-level is set to debug or trace. +# This setting produces verbose logs, so it's better to only enable it +# when you're trying to track an issue down. +# Options: [true, false] +# Default: false +log-db-queries: false + # String. Application name to use internally. # Examples: ["My Application","gotosocial"] # Default: "gotosocial" @@ -421,3 +428,30 @@ syslog-protocol: "udp" # String. Address:port to send syslog logs to. Leave empty to connect to local syslog. # Default: "localhost:514" syslog-address: "localhost:514" + +############################# +##### ADVANCED SETTINGS ##### +############################# + +# Advanced settings pertaining to http timeouts, security, cookies, and more. +# +# ONLY ADJUST THESE SETTINGS IF YOU KNOW WHAT YOU ARE DOING! +# +# Most users will not need to (and should not) touch these settings, since +# they are set to sensible defaults, and may break if they are changed. +# +# Nevertheless, they are provided for the sake of allowing server admins to +# tweak their instance for performance or security reasons. + +# String. Value of the SameSite attribute of cookies set by GoToSocial. +# Defaults to 'lax' to ensure that the OIDC flow does not break, which is +# fine in most cases. If you want to harden your instance against CSRF attacks +# and don't mind if some login-related things might break, you can set this +# to 'strict' instead. +# +# For an overview of what this does, see: +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite +# +# Options: ["lax", "strict"] +# Default: "lax" +advanced-cookies-samesite: "lax" diff --git a/conf/i386.src b/conf/i386.src index e653e3a..bda384a 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.4/gotosocial_0.3.4_linux_386.tar.gz -SOURCE_SUM=a36df0bd54eb178a80059da41a37cf0210ca09efd0cf9386f4132d6ddc9bf64e +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_386.tar.gz +SOURCE_SUM=509b8f84020348fac0f45c8c4c5031c77ca3cbd7cbbd5cda229dd318d10f93d1 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.4_linux_386.tar.gz +SOURCE_FILENAME=gotosocial_0.3.5_linux_386.tar.gz diff --git a/conf/x86-64.src b/conf/x86-64.src index 78daf8f..34d960d 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.3.4/gotosocial_0.3.4_linux_amd64.tar.gz -SOURCE_SUM=da874cc00a1d3a7a57f2fa796b1fd7b1ae8647f35fd5550a29c8ad9695db1409 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_amd64.tar.gz +SOURCE_SUM=337f43402bbee781cf17a042745eba7464fd37da7df1888f9e1d5c7564c510aa SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.4_linux_amd64.tar.gz +SOURCE_FILENAME=gotosocial_0.3.5_linux_amd64.tar.gz diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 77f4038..a6912b0 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -12,7 +12,7 @@ You will need to use a Mastodon-compatible client such as [Tusky](https://tusky. #### Administration -You can login to [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance. +You can login with your admin user (the one automatically created at the instalaltion) to your-instance.com/**admin** or using the public instance [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance. [The source code of this administration panel](https://github.com/superseriousbusiness/gotosocial-admin) is available on github. [The GTS admin panel documentation](https://docs.gotosocial.org/en/latest/admin/admin_panel/). diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 35d4d5b..6a32c79 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -12,7 +12,7 @@ Vous devrez utiliser un client compatible avec Mastodon comme [Tusky](https://tu #### Administration -Vous pouvez vous connecter sur [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial. +Vous pouvez vous connecter avec votre utilisateur admin (celui créé automatiquement à l'installation) à l'interface d'administration à l'adresse votre-instance.com/**admin** ou sur l'instance publique [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial. [Le code source de cette interface d'administration](https://github.com/superseriousbusiness/gotosocial-admin) est consultable sur github. [La documentation de l'interface d'administration de GoToSocial](https://docs.gotosocial.org/en/latest/admin/admin_panel/). diff --git a/manifest.json b/manifest.json index 9512c1b..93b0fba 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "An ActivityPub social network server, written in Golang.", "fr": "Un serveur de réseau social basé sur ActivityPub écrit en Golang." }, - "version": "0.3.4~ynh1", + "version": "0.3.5~ynh1", "url": "https://github.com/superseriousbusiness/gotosocial", "upstream": { "license": "AGPL-3.0-only", @@ -114,4 +114,4 @@ } ] } -} \ No newline at end of file +} From 29c7d0df5dd6e3d90070f242b74cce980676cd72 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 23 Jun 2022 01:39:42 +0200 Subject: [PATCH 2/2] Upgrade to version 0.3.6 (#31) (#32) * Upgrade to v0.3.6 * Auto-update README * fix checksums Co-authored-by: yunohost-bot Co-authored-by: yunohost-bot Co-authored-by: OniriCorpe Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: yunohost-bot --- README.md | 2 +- README_fr.md | 2 +- conf/arm64.src | 6 +++--- conf/armv6.src | 6 +++--- conf/armv7.src | 6 +++--- conf/i386.src | 6 +++--- conf/x86-64.src | 6 +++--- manifest.json | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a2688b7..13bca86 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,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.3.5~ynh1 +**Shipped version:** 0.3.6~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 3e4a525..3aec6b1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,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.3.5~ynh1 +**Version incluse :** 0.3.6~ynh1 ## Captures d'écran diff --git a/conf/arm64.src b/conf/arm64.src index ec0a0ce..1ddc695 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_arm64.tar.gz -SOURCE_SUM=44ec2783502a5c84c2c56492881fb964b97d6fead81742db65184e87c8776025 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.6/gotosocial_0.3.6_linux_arm64.tar.gz +SOURCE_SUM=4d582c01a7507ceca0302ddc6e4e15388797d89b0c1265609843a11349bf0990 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.5_linux_arm64.tar.gz +SOURCE_FILENAME=gotosocial_0.3.6_linux_arm64.tar.gz diff --git a/conf/armv6.src b/conf/armv6.src index a37850e..f249dfe 100644 --- a/conf/armv6.src +++ b/conf/armv6.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_armv6.tar.gz -SOURCE_SUM=4b3e5f3892bbf89238837a9ec696b92653adb5141298161b74b90e6e5d0003a7 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.6/gotosocial_0.3.6_linux_armv6.tar.gz +SOURCE_SUM=f2eb9547e6f9ab97b860874266584333126af06756a875bfd6a291133358edb1 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.5_linux_armv6.tar.gz +SOURCE_FILENAME=gotosocial_0.3.6_linux_armv6.tar.gz diff --git a/conf/armv7.src b/conf/armv7.src index 49cdf6f..3b7a1d4 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_armv7.tar.gz -SOURCE_SUM=c800edefd4d71f8e51d0d2781e44cf0505e138ca2e405d2a715e3a207f206213 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.6/gotosocial_0.3.6_linux_armv7.tar.gz +SOURCE_SUM=96f10febc9d76a83d974f498eb1fb5e8117191dfeebd2797db8e46260c400c97 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.5_linux_armv7.tar.gz +SOURCE_FILENAME=gotosocial_0.3.6_linux_armv7.tar.gz diff --git a/conf/i386.src b/conf/i386.src index bda384a..a37f4e7 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.5/gotosocial_0.3.5_linux_386.tar.gz -SOURCE_SUM=509b8f84020348fac0f45c8c4c5031c77ca3cbd7cbbd5cda229dd318d10f93d1 +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.6/gotosocial_0.3.6_linux_386.tar.gz +SOURCE_SUM=c8b285a62ff7e762b6ccb86f86d7a8ebc31d7c7e40f4988995fa533d595027d8 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.5_linux_386.tar.gz +SOURCE_FILENAME=gotosocial_0.3.6_linux_386.tar.gz diff --git a/conf/x86-64.src b/conf/x86-64.src index 34d960d..efc344a 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.3.5/gotosocial_0.3.5_linux_amd64.tar.gz -SOURCE_SUM=337f43402bbee781cf17a042745eba7464fd37da7df1888f9e1d5c7564c510aa +SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.3.6/gotosocial_0.3.6_linux_amd64.tar.gz +SOURCE_SUM=eb0a75eea24d8f953296398eb652ec9888de354b349519f74dac7f02a73ed762 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_EXTRACT=true SOURCE_IN_SUBDIR=false -SOURCE_FILENAME=gotosocial_0.3.5_linux_amd64.tar.gz +SOURCE_FILENAME=gotosocial_0.3.6_linux_amd64.tar.gz diff --git a/manifest.json b/manifest.json index 93b0fba..a38128d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "An ActivityPub social network server, written in Golang.", "fr": "Un serveur de réseau social basé sur ActivityPub écrit en Golang." }, - "version": "0.3.5~ynh1", + "version": "0.3.6~ynh1", "url": "https://github.com/superseriousbusiness/gotosocial", "upstream": { "license": "AGPL-3.0-only",