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

736 commits

Author SHA1 Message Date
Pierre de La Morinerie
caf342f4fd Require Yunohost >= 2.6.4
New helpers used in modernized scripts require this.
2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
6e15ed6634 restore: replace deprecated yunohost app checkurl 2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
f6bef01487 restore: improve comments 2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
faa51975af upgrade: backup before upgrading, and restore backup on failure 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
ee7b6a1522 upgrade: improve comments 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f781efb160 scripts: use ynh_add_nginx_config helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
a0a9fe6ab7 remove: use ynh_system_user_delete helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f2013abebc remove: use ynh_mysql_remove_db helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
1a40ff1eed remove: use more variables instead of hardcoded values 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c2e27b9764 remove: improve comments 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f1b741980f install: remove the custom error handler
Yunohost will automatically execute the `remove` script anyway
after a failed install.
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
e37638f2f8 install: modernize script with Yunohost 2.6.4 helpers 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f524bd7940 install: improve comments 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c51127e1eb install: don’t fail to remove database if not exist 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
533f10d93b install: don’t print an error if archive doesn’t exist 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
9286fe5e85 install: install error handler before creating the database 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
51b8880157 install: use the $YNH_APP_INSTANCE_NAME variable 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
ee502444c6 install: modernize checking for domain availability 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
27e7851dcc Merge pull request #51 from YunoHost-Apps/modernize-tests
Modernize the tests infrastucture
2017-10-12 12:26:33 +05:30
Pierre de La Morinerie
9bc1c32fee test: replace usage of deprecated --ignore-hooks option 2017-10-12 12:21:06 +05:30
Pierre de La Morinerie
6b9a4359ff test: make provisioning a no-op if already configured properly 2017-10-12 11:32:50 +05:30
Pierre de La Morinerie
b7e3913fd7 tests: use a named backup 2017-10-11 16:30:25 +05:30
Pierre de La Morinerie
039ae2b1ab test: assert we can connect to the Mattermost front page 2017-10-11 16:30:25 +05:30
Pierre de La Morinerie
7d5465e786 Merge pull request #49 from YunoHost-Apps/mattermost-4.2.0
Upgrade to Mattermost 4.2.0
2017-10-10 17:08:39 +05:30
Pierre de La Morinerie
b26a785986 Update VERSION 2017-10-10 17:04:54 +05:30
Pierre de La Morinerie
cc846f64b4 Fix logs location
The log location used to be a filename, but it is now a
path since Mattermost 3.8.

Having a path was tolerated in Mattermost <= 4.1, but crashes
the server starting from Mattermost 4.2.0.
2017-10-10 17:04:43 +05:30
Pierre de La Morinerie
a4530ddb0f Merge pull request #46 from YunoHost-Apps/fix-linter
scripts: use `ynh_abort_if_errors` helper
2017-10-10 16:40:58 +05:30
Pierre de La Morinerie
ebaea2dbda scripts: use ynh_abort_if_errors helper 2017-10-10 16:36:28 +05:30
Pierre de La Morinerie
913ea796a0 Merge pull request #45 from YunoHost-Apps/restore-ssowat
restore: update SSOWAT configuration
2017-10-10 16:35:54 +05:30
Pierre de La Morinerie
4815a948a8 restore: update SSOWAT configuration 2017-10-10 16:33:27 +05:30
Pierre de La Morinerie
0685617e8f Merge pull request #42 from YunoHost-Apps/revert-41-lindy65-patch-1
Revert "Upgrade to 4.2.0"
2017-09-17 12:57:07 +05:30
Pierre de La Morinerie
b56b2d835d Revert "Update VERSION" 2017-09-17 12:56:23 +05:30
Pierre de La Morinerie
6f51e37637 Merge pull request #41 from lindy65/lindy65-patch-1
Update VERSION
2017-09-17 12:38:49 +05:30
lindy65
fcda426913 Update VERSION
Hi @kemenaran,

Here's a pull request to update to the latest version of Mattermost.

You can [view the full changelog for Mattermost 4.2 here](https://docs.mattermost.com/administration/changelog.html#release-v4-2-0) and [find download links with hash numbers here](https://pre-release.mattermost.com/core/pl/rfmj6xak9irifx5598j3jtgadc).

Thanks!
2017-09-15 12:10:31 +02:00
Pierre de La Morinerie
cc85a900df Merge pull request #40 from YunoHost-Apps/pkg-linter
Enable package linter
2017-09-13 09:22:45 +05:30
Pierre de La Morinerie
7c20359731 script: fix linter warning in install script 2017-09-12 17:24:44 +05:30
Pierre de La Morinerie
e4d568319d tests: enable package_check
For now only the linter is enabled.

LXC-based tests fail because the LXC can’t connect to the internet.
Maybe it can only run in the yunohost official vagrant box?
2017-09-12 16:35:09 +05:30
Pierre de La Morinerie
31966208a4 tests: add package_check config file 2017-09-12 16:35:00 +05:30
Pierre de La Morinerie
454cf6beaa Merge pull request #39 from YunoHost-Apps/improve-upgrade
Improve upgrade script
2017-09-12 16:29:06 +05:30
Pierre de La Morinerie
752b049866 upgrade: don’t warn when the archive file doesn’t exist 2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
ca8a3c761d upgrade: stop the server after downloading the new release
This will minimize downtime.
2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
ff4f8ba8fd upgrade: fix syntax error in the die_command variable 2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
8272eadca0 README: fix the repo URL 2017-09-12 15:11:45 +05:30
Pierre de La Morinerie
591aa27d37 Merge pull request #38 from YunoHost-Apps/no-supervisor-rm-warning
scripts: don’t warn when supervisor config file doesn’t exist
2017-09-12 15:09:11 +05:30
Pierre de La Morinerie
75fff3fd95 scripts: don’t warn when supervisor config file doesn’t exist 2017-09-12 15:07:56 +05:30
Pierre de La Morinerie
0ce3f537e3 Merge pull request #37 from YunoHost-Apps/restore
Add a script for restoring backups
2017-09-12 15:07:33 +05:30
Pierre de La Morinerie
d0b367752a scripts: add restore script 2017-09-12 15:05:18 +05:30
Pierre de La Morinerie
74c9a8231e Vagrant: upgrade Yunohost before running tests 2017-09-12 15:05:18 +05:30
Pierre de La Morinerie
dc5e3c7177 Vagrant: use a pre-packaged Yunohost box
instead of installing Yunohost ourselves.
2017-09-11 19:21:21 +05:30
Pierre de La Morinerie
ff7afbbeda Merge pull request #36 from YunoHost-Apps/tests
Add tests and modernize scripts
2017-09-11 13:15:15 +05:30