mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
Merge pull request #71 from YunoHost-Apps/testing
Testing : version 0.8.0 is out + upgrade auto-updater
This commit is contained in:
commit
4423c8c439
13 changed files with 131 additions and 71 deletions
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch the source code
|
- name: Fetch the source code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Run the updater script
|
- name: Run the updater script
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
if: ${{ env.PROCEED == 'true' }}
|
if: ${{ env.PROCEED == 'true' }}
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: Update to version ${{ env.VERSION }}
|
commit-message: Update to version ${{ env.VERSION }}
|
||||||
|
|
|
@ -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).
|
Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org).
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.7.1~ynh2
|
**Shipped version:** 0.8.0~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -97,8 +97,6 @@ To create a new user, proceed as follows:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
|
./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
|
||||||
|
|
||||||
./gotosocial --config-path config.yaml admin account confirm --username some_username
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And to promote them as an administrator of your instance:
|
And to promote them as an administrator of your instance:
|
||||||
|
@ -113,7 +111,7 @@ And to promote them as an administrator of your instance:
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Official app website: <https://docs.gotosocial.org/>
|
* Official app website: <https://gotosocial.org/>
|
||||||
* Official user documentation: <https://docs.gotosocial.org/en/latest/>
|
* Official user documentation: <https://docs.gotosocial.org/en/latest/>
|
||||||
* Official admin documentation: <https://docs.gotosocial.org/en/latest/>
|
* Official admin documentation: <https://docs.gotosocial.org/en/latest/>
|
||||||
* Upstream app code repository: <https://github.com/superseriousbusiness/gotosocial>
|
* Upstream app code repository: <https://github.com/superseriousbusiness/gotosocial>
|
||||||
|
|
|
@ -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).
|
Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](https://docs.gotosocial.org).
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 0.7.1~ynh2
|
**Version incluse :** 0.8.0~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
@ -97,8 +97,6 @@ Pour créer un nouveau compte utilisateur, procédez comme suit :
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
|
./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
|
||||||
|
|
||||||
./gotosocial --config-path config.yaml admin account confirm --username nom_dutilisateur
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Et pour promouvoir un compte en tant qu'administrateur de votre instance :
|
Et pour promouvoir un compte en tant qu'administrateur de votre instance :
|
||||||
|
@ -113,7 +111,7 @@ Et pour promouvoir un compte en tant qu'administrateur de votre instance :
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Site officiel de l’app : <https://docs.gotosocial.org/>
|
* Site officiel de l’app : <https://gotosocial.org/>
|
||||||
* Documentation officielle utilisateur : <https://docs.gotosocial.org/en/latest/>
|
* Documentation officielle utilisateur : <https://docs.gotosocial.org/en/latest/>
|
||||||
* Documentation officielle de l’admin : <https://docs.gotosocial.org/en/latest/>
|
* Documentation officielle de l’admin : <https://docs.gotosocial.org/en/latest/>
|
||||||
* Dépôt de code officiel de l’app : <https://github.com/superseriousbusiness/gotosocial>
|
* Dépôt de code officiel de l’app : <https://github.com/superseriousbusiness/gotosocial>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.7.1/gotosocial_0.7.1_linux_arm64.tar.gz
|
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_arm64.tar.gz
|
||||||
SOURCE_SUM=6f60b13214e51da38336333dc780611729a66fc894d7093aef9c49c9a5e48bab
|
SOURCE_SUM=5dc2e205f8d254c4b17880d830efc34e135a3feade5347d8bfe8ad04912cf121
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=gotosocial_0.7.1_linux_arm64.tar.gz
|
SOURCE_FILENAME=gotosocial_0.8.0_linux_arm64.tar.gz
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.7.1/gotosocial_0.7.1_linux_armv6.tar.gz
|
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_armv6.tar.gz
|
||||||
SOURCE_SUM=582a9b0cefb62039a737aa1fb0a08bd3d917d679db473d15042dcbcb6bc88cf4
|
SOURCE_SUM=9551e2d8f30db11a5b3c5539e4ed67f6ffd78d94afebb09c5ec98a91d7da4e3a
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=gotosocial_0.7.1_linux_armv6.tar.gz
|
SOURCE_FILENAME=gotosocial_0.8.0_linux_armv6.tar.gz
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.7.1/gotosocial_0.7.1_linux_armv7.tar.gz
|
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_armv7.tar.gz
|
||||||
SOURCE_SUM=a9cd301bffecf4d863419fc614be50f890e577960a1db529799f97cf1e8ee4b9
|
SOURCE_SUM=7598eabfaed6ec6de0f7846d80b913708a2f115aac6cbce3be5428d92a63a6e4
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=gotosocial_0.7.1_linux_armv7.tar.gz
|
SOURCE_FILENAME=gotosocial_0.8.0_linux_armv7.tar.gz
|
||||||
|
|
144
conf/config.yaml
144
conf/config.yaml
|
@ -55,6 +55,11 @@ host: "__DOMAIN__"
|
||||||
# to "gts.example.org/.well-known/webfinger" so that GtS can handle them properly.
|
# to "gts.example.org/.well-known/webfinger" so that GtS can handle them properly.
|
||||||
#
|
#
|
||||||
# You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way.
|
# You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way.
|
||||||
|
#
|
||||||
|
# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint
|
||||||
|
# is used by a number of clients to discover the API endpoint to use when the host and account domain are
|
||||||
|
# different.
|
||||||
|
#
|
||||||
# An empty string (ie., not set) means that the same value as 'host' will be used.
|
# An empty string (ie., not set) means that the same value as 'host' will be used.
|
||||||
#
|
#
|
||||||
# DO NOT change this after your server has already run once, or you will break things!
|
# DO NOT change this after your server has already run once, or you will break things!
|
||||||
|
@ -226,63 +231,95 @@ db-sqlite-cache-size: "8MiB"
|
||||||
db-sqlite-busy-timeout: "5m"
|
db-sqlite-busy-timeout: "5m"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
# Cache configuration options:
|
||||||
|
#
|
||||||
|
# max-size = maximum cached objects count
|
||||||
|
# ttl = cached object lifetime
|
||||||
|
# sweep-freq = frequency to look for stale cache objects
|
||||||
|
# (zero will disable cache sweeping)
|
||||||
|
|
||||||
|
#############################
|
||||||
|
#### VISIBILITY CACHES ######
|
||||||
|
#############################
|
||||||
|
#
|
||||||
|
# Configure Status and account
|
||||||
|
# visibility cache.
|
||||||
|
|
||||||
|
visibility-max-size: 2000
|
||||||
|
visibility-ttl: "30m"
|
||||||
|
visibility-sweep-freq: "1m"
|
||||||
|
|
||||||
gts:
|
gts:
|
||||||
###########################
|
###########################
|
||||||
#### DATABASE CACHES ######
|
#### DATABASE CACHES ######
|
||||||
###########################
|
###########################
|
||||||
#
|
#
|
||||||
# Database cache configuration:
|
# Configure GTS database
|
||||||
#
|
# model caches.
|
||||||
# Allows configuration of caches used
|
|
||||||
# when loading GTS models from the database.
|
|
||||||
#
|
|
||||||
# max-size = maximum cached objects count
|
|
||||||
# ttl = cached object lifetime
|
|
||||||
# sweep-freq = frequency to look for stale cache objects
|
|
||||||
|
|
||||||
account-max-size: 100
|
account-max-size: 2000
|
||||||
account-ttl: "5m"
|
account-ttl: "30m"
|
||||||
account-sweep-freq: "10s"
|
account-sweep-freq: "1m"
|
||||||
|
|
||||||
block-max-size: 100
|
block-max-size: 100
|
||||||
block-ttl: "5m"
|
block-ttl: "30m"
|
||||||
block-sweep-freq: "10s"
|
block-sweep-freq: "1m"
|
||||||
|
|
||||||
domain-block-max-size: 1000
|
domain-block-max-size: 2000
|
||||||
domain-block-ttl: "24h"
|
domain-block-ttl: "24h"
|
||||||
domain-block-sweep-freq: "1m"
|
domain-block-sweep-freq: "1m"
|
||||||
|
|
||||||
emoji-max-size: 500
|
emoji-max-size: 2000
|
||||||
emoji-ttl: "5m"
|
emoji-ttl: "30m"
|
||||||
emoji-sweep-freq: "10s"
|
emoji-sweep-freq: "1m"
|
||||||
|
|
||||||
emoji-category-max-size: 100
|
emoji-category-max-size: 100
|
||||||
emoji-category-ttl: "5m"
|
emoji-category-ttl: "30m"
|
||||||
emoji-category-sweep-freq: "10s"
|
emoji-category-sweep-freq: "1m"
|
||||||
|
|
||||||
mention-max-size: 500
|
follow-max-size: 2000
|
||||||
mention-ttl: "5m"
|
follow-ttl: "30m"
|
||||||
mention-sweep-freq: "10s"
|
follow-sweep-freq: "1m"
|
||||||
|
|
||||||
notification-max-size: 500
|
follow-request-max-size: 2000
|
||||||
notification-ttl: "5m"
|
follow-request-ttl: "30m"
|
||||||
notification-sweep-freq: "10s"
|
follow-request-sweep-freq: "1m"
|
||||||
|
|
||||||
|
media-max-size: 1000
|
||||||
|
media-ttl: "30m"
|
||||||
|
media-sweep-freq: "1m"
|
||||||
|
|
||||||
|
mention-max-size: 2000
|
||||||
|
mention-ttl: "30m"
|
||||||
|
mention-sweep-freq: "1m"
|
||||||
|
|
||||||
|
notification-max-size: 1000
|
||||||
|
notification-ttl: "30m"
|
||||||
|
notification-sweep-freq: "1m"
|
||||||
|
|
||||||
report-max-size: 100
|
report-max-size: 100
|
||||||
report-ttl: "5m"
|
report-ttl: "30m"
|
||||||
report-sweep-freq: "10s"
|
report-sweep-freq: "1m"
|
||||||
|
|
||||||
status-max-size: 500
|
status-max-size: 2000
|
||||||
status-ttl: "5m"
|
status-ttl: "30m"
|
||||||
status-sweep-freq: "10s"
|
status-sweep-freq: "1m"
|
||||||
|
|
||||||
tombstone-max-size: 100
|
status-fave-max-size: 2000
|
||||||
tombstone-ttl: "5m"
|
status-fave-ttl: "30m"
|
||||||
tombstone-sweep-freq: "10s"
|
status-fave-sweep-freq: "1m"
|
||||||
|
|
||||||
user-max-size: 100
|
tombstone-max-size: 500
|
||||||
user-ttl: "5m"
|
tombstone-ttl: "30m"
|
||||||
user-sweep-freq: "10s"
|
tombstone-sweep-freq: "1m"
|
||||||
|
|
||||||
|
user-max-size: 500
|
||||||
|
user-ttl: "30m"
|
||||||
|
user-sweep-freq: "1m"
|
||||||
|
|
||||||
|
webfinger-max-size": 250
|
||||||
|
webfinger-ttl: "24h"
|
||||||
|
webfinger-sweep-freq": "1m"
|
||||||
|
|
||||||
######################
|
######################
|
||||||
##### WEB CONFIG #####
|
##### WEB CONFIG #####
|
||||||
|
@ -573,6 +610,22 @@ letsencrypt-cert-dir: "/gotosocial/storage/certs"
|
||||||
# Default: ""
|
# Default: ""
|
||||||
letsencrypt-email-address: ""
|
letsencrypt-email-address: ""
|
||||||
|
|
||||||
|
##############################
|
||||||
|
##### MANUAL TLS CONFIG #####
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# String. Path to a PEM-encoded file on disk that includes the certificate chain
|
||||||
|
# and the public key
|
||||||
|
# Examples: ["/gotosocial/storage/certs/chain.pem"]
|
||||||
|
# Default: ""
|
||||||
|
tls-certificate-chain: ""
|
||||||
|
|
||||||
|
# String. Path to a PEM-encoded file on disk containing the private key for the
|
||||||
|
# associated tls-certificate-chain
|
||||||
|
# Examples: ["/gotosocial/storage/certs/private.pem"]
|
||||||
|
# Default: ""
|
||||||
|
tls-certificate-key: ""
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
##### OIDC CONFIG #####
|
##### OIDC CONFIG #####
|
||||||
#######################
|
#######################
|
||||||
|
@ -618,7 +671,7 @@ oidc-client-secret: ""
|
||||||
# Array of string. Scopes to request from the OIDC provider. The returned values will be used to
|
# Array of string. Scopes to request from the OIDC provider. The returned values will be used to
|
||||||
# populate users created in GtS as a result of the authentication flow. 'openid' and 'email' are required.
|
# populate users created in GtS as a result of the authentication flow. 'openid' and 'email' are required.
|
||||||
# 'profile' is used to extract a username for the newly created user.
|
# 'profile' is used to extract a username for the newly created user.
|
||||||
# 'groups' is optional and can be used to determine if a user is an admin (if they're in the group 'admin' or 'admins').
|
# 'groups' is optional and can be used to determine if a user is an admin based on oidc-admin-groups.
|
||||||
# Examples: See eg., https://auth0.com/docs/scopes/openid-connect-scopes
|
# Examples: See eg., https://auth0.com/docs/scopes/openid-connect-scopes
|
||||||
# Default: ["openid", "email", "profile", "groups"]
|
# Default: ["openid", "email", "profile", "groups"]
|
||||||
oidc-scopes:
|
oidc-scopes:
|
||||||
|
@ -634,6 +687,11 @@ oidc-scopes:
|
||||||
# Default: false
|
# Default: false
|
||||||
oidc-link-existing: false
|
oidc-link-existing: false
|
||||||
|
|
||||||
|
# Array of string. If the returned ID token contains a 'groups' claim that matches one of the
|
||||||
|
# groups in oidc-admin-groups, then this user will be granted admin rights on the GtS instance
|
||||||
|
# Default: []
|
||||||
|
oidc-admin-groups: []
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
##### SMTP CONFIG #####
|
##### SMTP CONFIG #####
|
||||||
#######################
|
#######################
|
||||||
|
@ -669,6 +727,18 @@ smtp-password: ""
|
||||||
# Default: ""
|
# Default: ""
|
||||||
smtp-from: "GoToSocial@__DOMAIN__"
|
smtp-from: "GoToSocial@__DOMAIN__"
|
||||||
|
|
||||||
|
# Bool. If true, when an email is sent that has multiple recipients, each recipient
|
||||||
|
# will be included in the To field, so that each recipient can see who else got the
|
||||||
|
# email, and they can 'reply all' to the other recipients if they want to.
|
||||||
|
#
|
||||||
|
# If false, email will be sent to Undisclosed Recipients, and each recipient will not
|
||||||
|
# be able to see who else received the email.
|
||||||
|
#
|
||||||
|
# It might be useful to change this setting to 'true' if you want to be able to discuss
|
||||||
|
# new moderation reports with other admins by 'replying-all' to the notification email.
|
||||||
|
# Default: false
|
||||||
|
smtp-disclose-recipients: false
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
##### SYSLOG CONFIG #####
|
##### SYSLOG CONFIG #####
|
||||||
#########################
|
#########################
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.7.1/gotosocial_0.7.1_linux_386.tar.gz
|
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_386.tar.gz
|
||||||
SOURCE_SUM=864ac0cf58623fe77b4f9de7e90d038ab589cf80026df3866b5a5fb0893cd24c
|
SOURCE_SUM=17ef690197873b23759d7d84c4801689637eba5093d24b8903fa46032d18b15b
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=gotosocial_0.7.1_linux_386.tar.gz
|
SOURCE_FILENAME=gotosocial_0.8.0_linux_386.tar.gz
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.7.1/gotosocial_0.7.1_linux_amd64.tar.gz
|
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_amd64.tar.gz
|
||||||
SOURCE_SUM=e19740b5cb6891d80440425d5c255089fef06b08b741dc5f115761c94a3910e7
|
SOURCE_SUM=7384267428167e8852223998995f83cad7670cd803688d562eda0d9c5d95ce5a
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
SOURCE_IN_SUBDIR=false
|
SOURCE_IN_SUBDIR=false
|
||||||
SOURCE_FILENAME=gotosocial_0.7.1_linux_amd64.tar.gz
|
SOURCE_FILENAME=gotosocial_0.8.0_linux_amd64.tar.gz
|
||||||
|
|
|
@ -62,8 +62,6 @@ To create a new user, proceed as follows:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
|
./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
|
||||||
|
|
||||||
./gotosocial --config-path config.yaml admin account confirm --username some_username
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And to promote them as an administrator of your instance:
|
And to promote them as an administrator of your instance:
|
||||||
|
|
|
@ -62,8 +62,6 @@ Pour créer un nouveau compte utilisateur, procédez comme suit :
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
|
./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
|
||||||
|
|
||||||
./gotosocial --config-path config.yaml admin account confirm --username nom_dutilisateur
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Et pour promouvoir un compte en tant qu'administrateur de votre instance :
|
Et pour promouvoir un compte en tant qu'administrateur de votre instance :
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
"en": "ActivityPub social network server",
|
"en": "ActivityPub social network server",
|
||||||
"fr": "Serveur de réseau social basé sur ActivityPub"
|
"fr": "Serveur de réseau social basé sur ActivityPub"
|
||||||
},
|
},
|
||||||
"version": "0.7.1~ynh2",
|
"version": "0.8.0~ynh1",
|
||||||
"url": "https://github.com/superseriousbusiness/gotosocial",
|
"url": "https://github.com/superseriousbusiness/gotosocial",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"website": "https://docs.gotosocial.org/",
|
"website": "https://gotosocial.org/",
|
||||||
"demo": "",
|
"demo": "",
|
||||||
"admindoc": "https://docs.gotosocial.org/en/latest/",
|
"admindoc": "https://docs.gotosocial.org/en/latest/",
|
||||||
"userdoc": "https://docs.gotosocial.org/en/latest/",
|
"userdoc": "https://docs.gotosocial.org/en/latest/",
|
||||||
|
|
|
@ -276,8 +276,6 @@ ynh_script_progression --message="Creating gotosocial admin user..." --weight=1
|
||||||
|
|
||||||
"$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
"$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
||||||
|
|
||||||
"$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account confirm --username "$admin"
|
|
||||||
|
|
||||||
"$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account promote --username "$admin"
|
"$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account promote --username "$admin"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue