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

697 commits

Author SHA1 Message Date
Pierre de La Morinerie
362ea2408c manifest: systemd helpers require Yunohost >= 2.7 2017-10-16 09:16:49 +05:30
Pierre de La Morinerie
d79c4fcfe4 scripts: advertise service in admin panel 2017-10-16 09:14:20 +05:30
Pierre de La Morinerie
e8c51d4715 scripts: use systemd rather than supervisor
Systemd is now the standard way of doing services in
Yunohost. It also avoids to install an extra dependency.

Fix #43
2017-10-16 09:05:21 +05:30
Pierre de La Morinerie
2a2cde5658 Merge pull request #57 from lindy65/master
Update VERSION
2017-10-16 09:00:56 +05:30
lindy65
2bc00424f9 Update VERSION
Hi @kemenaran!

Here's a quick update to the latest Mattermost version. Thanks for continuing to maintain the Yunohost package!
2017-10-15 20:24:32 +02:00
Pierre de La Morinerie
d1bd96210b Merge pull request #55 from YunoHost-Apps/no-copy
test: use symlinked app directory directly
2017-10-12 18:30:01 +05:30
Pierre de La Morinerie
3fa1b46c73 test: use symlinked app directory directly
We used to copy the app content, to avoid the tests accidentally
mutating it.

But it makes it difficult to change the source code and having it
reflected inside the VM. Also Yunohost copies the app files itself
before executing scripts. So this should be more convenient and safe
enough.
2017-10-12 18:12:49 +05:30
Pierre de La Morinerie
a954069d0f Merge pull request #54 from YunoHost-Apps/site-url
install: configure SiteURL
2017-10-12 12:54:25 +05:30
Pierre de La Morinerie
bcb5f88e95 install: configure SiteURL
This is a mandatory variable since Mattermost 3.8.

See https://docs.mattermost.com/administration/config-settings.html#site-url

Fix #50
2017-10-12 12:53:55 +05:30
Pierre de La Morinerie
1090b1a946 Merge pull request #52 from YunoHost-Apps/modernize-scripts
Modernize scripts
2017-10-12 12:37:42 +05:30
Pierre de La Morinerie
7fc00fe0df test: don’t mix --verbose option with app names 2017-10-12 12:27:10 +05:30
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