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

27 commits

Author SHA1 Message Date
É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
Éric Gaspar
73f75150fe
Set rights (#274)
* Set rights
2021-09-16 11:39:20 +02:00
ericgaspar
b62f61ca40
Add templates 2021-05-22 12:31:45 +02:00
ericgaspar
d7e2d02438
Update check_process 2021-01-17 19:42:20 +01:00
ericgaspar
e56f308b4e
Update check_process 2021-01-13 18:44:21 +01:00
Éric Gaspar
fc6a600bb9
Add Team and Enterprise (#202)
* Add Team/Entreprise install
2021-01-13 11:31:12 +01:00
ericgaspar
86908c0444
Update check_process 2021-01-12 13:26:03 +01:00
ericgaspar
5a4ce86d90
Update check_process 2021-01-12 13:16:25 +01:00
ericgaspar
a6dc2d255e
Update check_process 2021-01-12 13:06:17 +01:00
ericgaspar
43bf44ff01
Remove change_url 2021-01-12 12:03:18 +01:00
ericgaspar
c9d06d1010
set change_url to true 2021-01-12 10:44:50 +01:00
Éric Gaspar
705b3da0e7
repackage (#200)
* repackage
2021-01-11 23:46:48 +01:00
Éric Gaspar
b9e6199d36
Fix linter warning (#195)
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2020-11-23 22:36:49 +01:00
Pierre de La Morinerie
d460d7f2bd scripts: disable questionnable password complexity rules
Enforcing password complexity rules is usually useless, and encourages
bad security.

However, this is not our main issue. The problem is that when installing
Mattermost on Yunohost, if the user chooses a password that doesn't
fullfil all these requirements, the installation will fail with a hard-
to-spot error message.

We don't want this to happen, so we relax the rules a little.

Fix #159
2020-02-10 00:47:38 +01:00
Pierre de La Morinerie
f07b4a7822 app: implement subpath support 2020-02-09 01:07:59 +01:00
Pierre de La Morinerie
16de4c98cb tests: make the test password comply with Mattermost complexity policy 2019-09-10 20:34:17 +02:00
Pierre de La Morinerie
15e19ce6c9 Create first user and team from the app install 2018-02-16 19:27:04 +05:30
Pierre de La Morinerie
256cafcb07 scripts: support multi-instance install 2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
0918978e92 scripts: handle port in use 2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
aa7721322d scripts: modernize the publix/private switch
This allow package_check to properly test it.
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
068bc7d399 check_process: modernize syntax 2018-01-30 12:14:57 +05:30
Pierre de La Morinerie
e379a0e46e package_check: mark LDAP auth as not applicable
Mattermost doesn't support LDAP auth in the Free edition (this
feature is restricted to the Entreprise non-free edition).

See https://github.com/YunoHost-Apps/mattermost_ynh/issues/58
2018-01-29 11:43:23 +05:30
Pierre de La Morinerie
4e028257b6 test: rename ynh-tests.local to ynh_tests.local
`ynh-dev` prefers when the box name has no dashes.
2017-10-23 19:34:50 +05:30
Pierre de La Morinerie
052bcf47fd package_check: enable CI notifications 2017-10-23 10:37:02 +05:30
Pierre de La Morinerie
eb7191628a package_check: upgrade file to latest version of the template 2017-10-23 10:37:02 +05:30
Pierre de La Morinerie
98659bd41e package_check: test more cases 2017-10-23 10:37:02 +05:30
Pierre de La Morinerie
31966208a4 tests: add package_check config file 2017-09-12 16:35:00 +05:30