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

860 commits

Author SHA1 Message Date
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
061db9922f Merge pull request #62 from YunoHost-Apps/logs-in-subdir
scripts: move logs to a subdirectory of /var/log
2017-10-18 09:53:06 +05:30
Pierre de La Morinerie
b4f05f6449 scripts: move logs to a subdirectory of /var/log
This allows to give permission to the `mattermost` user to
write new files in this subdirectory, which is needed for
log rotation.

Fix #61
2017-10-17 10:36:25 +05:30
Pierre de La Morinerie
a0e4e1a984 Merge pull request #60 from goofy-bz/patch-1
Update manifest.json
2017-10-16 18:21:19 +05:30
goofy-bz
58f13dbcd5 Update manifest.json
détail, un mot traduit
2017-10-16 11:13:44 +00:00
Pierre de La Morinerie
6adb7c6d3e test: fix changes committed by mistake 2017-10-16 10:02:16 +05:30
Pierre de La Morinerie
352f0b040f Merge pull request #59 from YunoHost-Apps/improve-readme
Improve README
2017-10-16 09:52:49 +05:30
Pierre de La Morinerie
9e208d2d09 README: clarify telemetrics usage 2017-10-16 09:50:15 +05:30
Pierre de La Morinerie
66b36becc5 README: better explain what works and what doesn’t 2017-10-16 09:48:43 +05:30
Pierre de La Morinerie
9fb559b918 README: fix minimum Yunohost version
This had been updated in the manifest file, but not in
the README.
2017-10-16 09:47:51 +05:30
Pierre de La Morinerie
40072d6113 Merge pull request #56 from YunoHost-Apps/systemd
Use systemd rather than supervisor
2017-10-16 09:21:24 +05:30
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