1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
Commit graph

183 commits

Author SHA1 Message Date
Éric Gaspar
c27aaaaa11 Merge branch 'master' into testing 2023-10-22 14:38:37 +02:00
Éric Gaspar
b459db510c Update config.json 2023-10-22 14:25:07 +02:00
eric_G
3fa15c5061
Testing (#443)
* 9.0.0 (#440)

* Update manifest.toml

* Auto-update README

* Update config.json

* Update config.json

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Auto-update README

* 9.0.1

* Auto-update README

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2023-10-07 22:59:58 +02:00
Éric Gaspar
b711c41257 9.0.1 2023-10-07 11:56:21 +02:00
eric_G
ab976a5073
9.0.0 (#440) (#441)
* Update manifest.toml

* Auto-update README

* Update config.json

* Update config.json

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2023-09-21 10:27:29 +02:00
eric_G
2717f9e7e0
9.0.0 (#440)
* Update manifest.toml

* Auto-update README

* Update config.json

* Update config.json

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2023-09-20 21:56:38 +02:00
eric_G
0f5db1d1d9
Testing (#435)
* scripts: reduce pgloader's prefetched columns 

This helps fixing stack overflow errors on large
databases.

* scripts: increase the migration timeout again

It seems to be too short on some lesser-powered VMs.

* Update manifest.json

* Auto-update README

* [autopatch] Fix Host and X-Forwarded-For header spoofing

* conf: upgrade to Mattermost ESR 8.1.1 (#431)

https://docs.mattermost.com/install/self-managed-changelog.html#release-v8-1-extended-support-release

* Packaging format v2 (#406)

* backup script for PostgreSQL (#376)

Inspired from https://github.com/YunoHost-Apps/moodle_ynh/blob/master/scripts/backup

* Adapt to PostgreSQL (#375)

Question: in https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server, I see `BindsTo=postgresql.service` while in the original file here I find `Requires=mysql.service`. I don't know which one makes sense, so I keep the orinigal Yunohost version (Requires)

* config.json for PostgreSQL (#374)

Inspired from the original MySQL config.json and from Mattermost documentation https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server

* Install with PostgreSQL (#373)

I took inspiration from https://github.com/YunoHost-Apps/commento_ynh/blob/master/scripts/install

* install postgresql

* Reordering

* reset config file

* Update _common.sh

* Update config.json

* Fix

* Migration (#382)

* add migration

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Fix

* Fix

* Fix

* Update install

* Update upgrade

* Fix

* Update install

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update install

* Fix

* Fix

* Fix

* Update upgrade

* Cleaning up

* Update upgrade

* Update _common.sh

* Update check_process

* Update _common.sh

* Fix

* Update mysql-to-pg.conf

* Update upgrade

* Update systemd.service

* Cleaning

* Update _common.sh

* Fix

* Update upgrade

* Update _common.sh

* Update upgrade

* Update backup

* Fix

* Fix

* Update upgrade

* Update upgrade

* Update systemd.service

* Update _common.sh

* Revert "Update _common.sh"

This reverts commit d880150af9.

* Cleaning

* Fix

* Update check_process

* Fix

* Update _common.sh

* Fix

* Update _common.sh

* Fix

* Update manifest.json

* Update install

* Update _common.sh

* Update upgrade

* Fix

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Auto-update README

* Update _common.sh

* Upgrade to v7.4.0

* Auto-update README

* Upgrade to v7.5.2

* Auto-update README

* Update config.json

* [fix] mariadb to postgres migration

* Auto-update README

* [fix] Update manifest requirements

* Update manifest.json

* Update config.json

* upgrade config to upstream

* Fix linter

* Update _common.sh

* v2

* Fix

* Auto-update README

* Fix

* Auto-update README

* Update upgrade

* Fix

* Cleaning

* add apt

* Auto-update README

* cleaning

* fix data path var

* fix

* Auto-update README

* Update backup

* add more apt

* Update manifest.toml

* Update tests.toml

* Fix

* Update _common.sh

* Update upgrade

* Update restore

* Update remove

* cleaning

* Update install

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update manifest.toml

* 7.7.1

* Update manifest.json

* Auto-update README

* Update config.json

* Auto-update README

* cleaning

* Auto-update README

* Update ADMIN.md

* Update ADMIN_fr.md

* fix

* Delete check_process

* 7.8.1

* Auto-update README

* Auto-update README

* Update manifest.toml

* Auto-update README

* fix migration from 7.3.0

* Update manifest.toml

* fix migration from 7.3.0

* cleaning

* Update manifest.toml

* src

* Update upgrade

* Update upgrade

* Update tests.toml

* remove src

* 7.9.1

* Auto-update README

* Update config.json

* Update doc/DESCRIPTION.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Auto-update README

* Update tests.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update manifest.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update manifest.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update upgrade

* Update install

* Update DESCRIPTION_fr.md

* Auto-update README

* Update _common.sh

* Update manifest.toml

* Update manifest.toml

* Auto-update README

* Update manifest.toml

* Update upgrade

* Update manifest.toml

* Auto-update README

* cleaning

* Auto-update README

* Update nginx.conf

* Update manifest.toml

* Auto-update README

* cleaning

* Update doc/ADMIN.md

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update doc/ADMIN_fr.md

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* 8.0.0

* Auto-update README

* Update manifest.toml

* Auto-update README

* 8.1.0

* Auto-update README

* Update upgrade

* Update tests.toml

* Update tests.toml

* Update _common.sh

* Update manifest.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update manifest.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update manifest.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update tests.toml

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* Update manifest.toml

* DEBUG: see if other migrations pass (#430)

* Update manifest.toml

* Auto-update README

* Revert "DEBUG: see if other migrations pass (#430)"

This reverts commit 8532bd3ba2.

* Update tests.toml

* scripts: fix MySQL migration

The PostgreSQL database has already been created,
no need to create it manually.

* scripts: improve DB migration comment

* Update config.json

* Update tests.toml

* Fix v2 database deletion on error (#434)

* scripts: improve comments

* scripts: manually remove MariaDB database if needed

---------

Co-authored-by: biva <biva@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: ljf <ljf+git@grimaud.me>
Co-authored-by: Kay0u <pierre@kayou.io>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>

* Update manifest.toml

* Auto-update README

* Update manifest.toml

* Auto-update README

---------

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
Co-authored-by: biva <biva@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: ljf <ljf+git@grimaud.me>
Co-authored-by: Kay0u <pierre@kayou.io>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-09-11 21:36:20 +02:00
eric_G
f0fad03ab6
Testing (#432)
* scripts: reduce pgloader's prefetched columns 

This helps fixing stack overflow errors on large
databases.

* scripts: increase the migration timeout again

It seems to be too short on some lesser-powered VMs.

* Update manifest.json

* Auto-update README

* [autopatch] Fix Host and X-Forwarded-For header spoofing

* conf: upgrade to Mattermost ESR 8.1.1 (#431)

https://docs.mattermost.com/install/self-managed-changelog.html#release-v8-1-extended-support-release

---------

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
2023-09-08 16:52:23 +02:00
Éric Gaspar
a67ddf1fca
Testing (#420)
* scripts: reduce pgloader's prefetched columns 

This helps fixing stack overflow errors on large
databases.

* scripts: increase the migration timeout again

It seems to be too short on some lesser-powered VMs.

* Update manifest.json

* Auto-update README

* [autopatch] Fix Host and X-Forwarded-For header spoofing

---------

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: tituspijean <titus+yunohost@pijean.ovh>
2023-07-28 07:33:53 +01:00
Éric Gaspar
3a6906f3e6
upgrade to 7.8.1 (#412)
* 7.7.1

* Update manifest.json

* Auto-update README

* Update config.json

* 7.8.1

* Auto-update README

* fix migration from 7.3.0

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Kay0u <pierre@kayou.io>
2023-03-23 09:37:25 +01:00
Kayou
386cdb633d
Change arm64 source (#409)
* add entreprise for arm64, use the official build for arm64

* Auto-update README

* update auto-updater script

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2023-03-07 08:46:42 +01:00
Éric Gaspar
ec8fa5570a
Transition to PostgreSQL (#377)
* backup script for PostgreSQL (#376)

Inspired from https://github.com/YunoHost-Apps/moodle_ynh/blob/master/scripts/backup

* Adapt to PostgreSQL (#375)

Question: in https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server, I see `BindsTo=postgresql.service` while in the original file here I find `Requires=mysql.service`. I don't know which one makes sense, so I keep the orinigal Yunohost version (Requires)

* config.json for PostgreSQL (#374)

Inspired from the original MySQL config.json and from Mattermost documentation https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server

* Install with PostgreSQL (#373)

I took inspiration from https://github.com/YunoHost-Apps/commento_ynh/blob/master/scripts/install

* install postgresql

* Reordering

* reset config file

* Update _common.sh

* Update config.json

* Fix

* Migration (#382)

* add migration

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Fix

* Fix

* Fix

* Update install

* Update upgrade

* Fix

* Update install

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update install

* Fix

* Fix

* Fix

* Update upgrade

* Cleaning up

* Update upgrade

* Update _common.sh

* Update check_process

* Update _common.sh

* Fix

* Update mysql-to-pg.conf

* Update upgrade

* Update systemd.service

* Cleaning

* Update _common.sh

* Fix

* Update upgrade

* Update _common.sh

* Update upgrade

* Update backup

* Fix

* Fix

* Update upgrade

* Update upgrade

* Update systemd.service

* Update _common.sh

* Revert "Update _common.sh"

This reverts commit d880150af9.

* Cleaning

* Fix

* Update check_process

* Fix

* Update _common.sh

* Fix

* Update _common.sh

* Fix

* Update manifest.json

* Update install

* Update _common.sh

* Update upgrade

* Fix

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Auto-update README

* Update _common.sh

* Upgrade to v7.4.0

* Auto-update README

* Upgrade to v7.5.2

* Auto-update README

* Update config.json

* [fix] mariadb to postgres migration

* Auto-update README

* [fix] Update manifest requirements

* Update manifest.json

* Update config.json

* upgrade config to upstream

* Fix linter

* Update _common.sh

* Fix typo

* Auto-update README

* Update upgrade

* Update scripts/upgrade

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* [enh] Indentation

* Apply suggestions from code review

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* [enh] COmments

* Increase timeout for table creation

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* test upgrade from 7.2.0

* Auto-update README

* fix db_name in case of multi_instance

* Fix 7.3.0 migration

* delete only the problematic value in db_migrations

* Added explanation for migration management from 7.3.0

* mariadb-to-pg: drop stray columns

These should have been removed in a previous migration, but weren't.

See https://github.com/mattermost/mattermost-server/issues/18351#issuecomment-1325648058

* mariadb-to-pg: increase mattermost timeout

On a small VPS the 2 mn timeout is almost reached.
Increase it to 3 mn.

---------

Co-authored-by: biva <biva@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: ljf <ljf+git@grimaud.me>
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: Kay0u <pierre@kayou.io>
2023-03-06 22:26:35 +01:00
Pierre de La Morinerie
e9b2656b36
Merge pull request #395 from YunoHost-Apps/config
Config
2022-09-25 09:40:25 +02:00
ericgaspar
beebce0e76 Update config.json 2022-09-24 16:07:25 +02:00
yunohost-bot
863923e6ac Upgrade to v7.3.0 2022-09-16 06:40:46 +00:00
github-actions[bot]
d68469efbf
Upgrade to version 7.2.0 (#389)
* Upgrade to v7.2.0

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-08-29 18:56:30 +02:00
ericgaspar
b0114d041e Update config.json 2022-07-22 08:40:26 +02:00
yunohost-bot
4d24760764 Upgrade to v7.1.2 2022-07-22 06:10:41 +00:00
Éric Gaspar
485136c06a
Cleaning (#380)
* Cleaning var

* Cleaning var
2022-06-25 11:03:29 +02:00
yunohost-bot
696e04c00c Upgrade to v7.0.1 2022-06-25 06:09:18 +00:00
Éric Gaspar
9575adbcd6
Merge branch 'conf' of https://github.com/YunoHost-Apps/mattermost_ynh into conf 2022-06-15 10:41:59 +02:00
Éric Gaspar
c18a3ef97a
Update config.json 2022-06-15 10:41:51 +02:00
Éric Gaspar
f938fb7142
Merge branch 'ci-auto-update-v7.0.0' into conf 2022-06-15 10:40:22 +02:00
Éric Gaspar
f0065dcfbc
Update config.json 2022-06-15 10:39:19 +02:00
yunohost-bot
6616e662b3 Upgrade to v7.0.0 2022-06-15 06:09:50 +00:00
Pierre de La Morinerie
710d7af11b
Merge pull request #365 from YunoHost-Apps/Set-config
Update config.json
2022-05-17 22:35:52 +02:00
ericgaspar
938655f894
Update config.json 2022-05-17 11:04:24 +02:00
yunohost-bot
21a972c984 Upgrade to v6.7.0 2022-05-17 06:11:26 +00:00
github-actions[bot]
915d0c543e
Upgrade to version 6.6.1 (#359)
* Upgrade to v6.6.1

* Auto-update README

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-05-02 10:23:25 +02:00
github-actions[bot]
eafe400232
Upgrade to version 6.6.0 (#355)
* Upgrade to v6.6.0

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-04-15 18:12:39 +02:00
Pierre de La Morinerie
468a6a684d conf: update systemd conf to fix preview links
The previous systemd hardening prevented the Go networking library from
resolving a hostname to an IP.

Adding the correct permission fixes the hostname resolution, which fixes
the retrieval of link previews by Mattermost's server.

Fix #340
2022-04-12 08:30:58 +02:00
ericgaspar
4ef3c481b9
Update config.json 2022-03-17 08:16:26 +01:00
yunohost-bot
031fd7e18a Upgrade to v6.5.0 2022-03-17 06:09:14 +00:00
github-actions[bot]
e3aa45e117
Upgrade to version 6.4.2 (#346)
* Upgrade to v6.4.2

* Auto-update README

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-03-12 23:22:31 +01:00
Pierre de La Morinerie
5d27ee0012
Merge branch 'ci-auto-update-v6.4.0' into ci-auto-update-v6.4.1 2022-02-26 14:09:20 +01:00
yunohost-bot
b7fc0292d0 Upgrade to v6.4.1 2022-02-26 06:08:45 +00:00
Pierre de La Morinerie
8cacf8876e
Merge pull request #339 from YunoHost-Apps/config-to-upstream
Update config.json
2022-02-25 08:03:36 +01:00
ericgaspar
5095a6a8ce Update config.json 2022-02-25 07:58:47 +01:00
yunohost-bot
2f8d0f22ae Upgrade to v6.4.0 2022-02-25 06:09:03 +00:00
yunohost-bot
7a99df28dd Upgrade to v6.3.3 2022-02-05 06:07:26 +00:00
Pierre de La Morinerie
a6c44d7753 Upgrade to v6.3.1 2022-01-24 00:23:35 +01:00
Pierre de La Morinerie
e8dc894171 conf: fix src files botched by the auto-update CI action 2022-01-19 08:43:31 +01:00
yunohost-bot
cbeeb58647 Upgrade to v6.3.0 2022-01-19 08:43:30 +01:00
ericgaspar
3d61e62612
Update config.json 2022-01-16 12:21:53 +01:00
Pierre de La Morinerie
edc5f8f8f7 config: allow connections to the Plugins marketplace
Otherwise the connections to the default Marketplace are blocked, which
is a bad user experience.
2021-12-26 09:42:01 +01:00
ericgaspar
58fa4dfc3d synchronize config file to upstream 2021-12-21 09:18:28 +01:00
yunohost-bot
c8bd48b44d Upgrade to v6.2.1 2021-12-21 06:08:12 +00:00
Éric Gaspar
678a1d80cb
Remove ynh_detect_arch helper (#317)
ynh_detect_arch is deprecated in favor of YNH_ARCH

* Add  #315 and #316
2021-12-06 12:37:56 +01:00
ericgaspar
982af69b0c
Update config.json 2021-12-03 23:25:41 +01:00
Pierre de La Morinerie
25591dfeb0 Update to Mattermost 6.1.0 2021-11-29 08:20:07 +01:00