tituspijean
6c44b4017d
[autopatch] Fix Host and X-Forwarded-For header spoofing
2023-07-05 00:23:29 +02: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
Pierre de La Morinerie
1c3c76e635
Fix arm and arm64 releases shasum
...
The upstream release was republished (with an updated version that
includes mmctl), so the shasum changed too.
2021-11-08 22:52:18 +01:00
Pierre de La Morinerie
b3647e3db5
config: store the socket file in a writable location
...
On Yunhost `/var/tmp` is only writable by root.
2021-11-01 22:41:51 +01:00
Pierre de La Morinerie
940589206b
install: replace bin/mattermost by bin/mmctl
...
`mmctl` is supposed to authenticate as one of the admin users. But since
this is the first user we're creating, there are no admin yet.
So in order to create the first user, we:
1. enable mmctl's "local mode", which connects to the Mattermost server
through a socket (rather than through the authenticated API),
2. create the first user and team,
3. disable the "local mode".
2021-10-30 22:06:56 +02:00
Pierre de La Morinerie
02d571fa16
Merge branch 'ci-auto-update-v6.0.0' into ci-auto-update-v6.0.2
2021-10-30 08:09:11 +02:00
yunohost-bot
3e56004e1f
Upgrade to v6.0.2
2021-10-30 06:07:05 +00:00
Pierre de La Morinerie
d24452f6cc
Merge branch 'ci-auto-update-v6.0.0' into ci-auto-update-v6.0.1
2021-10-19 08:35:20 +02:00
yunohost-bot
88bb812d93
Upgrade to v6.0.1
2021-10-19 06:07:27 +00:00
ericgaspar
ff89ba1ac0
Merge remote-tracking branch 'origin/ci-auto-update-v6.0.0' into config
2021-10-13 09:41:36 +02:00