From 99991f4b09f42b6ca8978fc8eb1d0c361060edc4 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 2 Aug 2017 15:14:48 +0200 Subject: [PATCH 01/15] Readme 1.5.0 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 14cfa07..c091015 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mastodon for YunoHost -[![Latest Version](https://img.shields.io/badge/version-1.4.7-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) +[![Latest Version](https://img.shields.io/badge/version-1.5.0-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/milestones) [![Dependencies](https://img.shields.io/badge/dependencies-includes-lightgrey.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE) @@ -34,7 +34,7 @@ ajouter cette ligne dans /etc/fstab ``` /swapfile none swap sw 0 0 ``` - +5 ### Installation #### Utilisation de __screen__ en cas de déconnection From 727140d078f4141073404fbbfcb34ea769af5af5 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 2 Aug 2017 15:16:44 +0200 Subject: [PATCH 02/15] Manifest 1.5.0 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index ccf281d..c616512 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Mastodon is a free, open-source social network.", "fr": "Mastodon est un réseau social gratuit et open source." }, - "version": "1.4.7", + "version": "1.5.0", "url": "https://github.com/tootsuite/mastodon", "license": "AGPL v3.0", "maintainer": { From 093c4a07a3ba259da4aafc69288e7d5910248845 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 2 Aug 2017 15:18:43 +0200 Subject: [PATCH 03/15] Fix error on readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c091015..211fb68 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ ajouter cette ligne dans /etc/fstab ``` /swapfile none swap sw 0 0 ``` -5 ### Installation #### Utilisation de __screen__ en cas de déconnection From 6b3074f01066d2adaf342f092a9a1d3ac4c99bb9 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 2 Aug 2017 15:20:00 +0200 Subject: [PATCH 04/15] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 211fb68..f8fafe7 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ ajouter cette ligne dans /etc/fstab ``` /swapfile none swap sw 0 0 ``` + ### Installation #### Utilisation de __screen__ en cas de déconnection From c9c543ee209a29bcde8a367a644f5d5dcb7f7ad2 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 9 Aug 2017 23:58:51 +0200 Subject: [PATCH 05/15] Add additional package for arm upgrade --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f32252f..217ca34 100644 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,7 @@ ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt ynh_package_install redis-server redis-tools # Install postgresql -ynh_package_install postgresql postgresql-contrib +ynh_package_install postgresql postgresql-contrib postgresql-server-dev-9.4 # Install Ruby ynh_package_install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev diff --git a/scripts/upgrade b/scripts/upgrade index 99ae13f..6726f92 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -64,8 +64,8 @@ if [[ $node_version =~ ^v4.*$ ]]; then sudo apt-get -y install nodejs fi -# add additional package for release 1.4 -ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev +# add additional package for upgrade +ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev postgresql-server-dev-9.4 # Apply Mastodon upgrade sudo su - $app < Date: Thu, 10 Aug 2017 00:28:54 +0200 Subject: [PATCH 06/15] Update to 1.5.1 --- README.md | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8fafe7..11a58fe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mastodon for YunoHost -[![Latest Version](https://img.shields.io/badge/version-1.5.0-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) +[![Latest Version](https://img.shields.io/badge/version-1.5.1-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/milestones) [![Dependencies](https://img.shields.io/badge/dependencies-includes-lightgrey.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE) diff --git a/manifest.json b/manifest.json index c616512..830f27f 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Mastodon is a free, open-source social network.", "fr": "Mastodon est un réseau social gratuit et open source." }, - "version": "1.5.0", + "version": "1.5.1", "url": "https://github.com/tootsuite/mastodon", "license": "AGPL v3.0", "maintainer": { From 6d99d517a8ce0daf779efd5c086b7e512d2044c6 Mon Sep 17 00:00:00 2001 From: Nemsia Date: Mon, 11 Sep 2017 22:39:35 +0200 Subject: [PATCH 07/15] Upgrade to 1.6.0 --- README.md | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 11a58fe..683eb05 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mastodon for YunoHost -[![Latest Version](https://img.shields.io/badge/version-1.5.1-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) +[![Latest Version](https://img.shields.io/badge/version-1.6.0-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/milestones) [![Dependencies](https://img.shields.io/badge/dependencies-includes-lightgrey.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE) diff --git a/manifest.json b/manifest.json index 830f27f..009b5df 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Mastodon is a free, open-source social network.", "fr": "Mastodon est un réseau social gratuit et open source." }, - "version": "1.5.1", + "version": "1.6.0", "url": "https://github.com/tootsuite/mastodon", "license": "AGPL v3.0", "maintainer": { From a92d2b7f30eca840006c11eb6e03475c50ba2326 Mon Sep 17 00:00:00 2001 From: Nemsia Date: Mon, 11 Sep 2017 22:49:53 +0200 Subject: [PATCH 08/15] Remove prepare_for_foreign_keys task on upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 6726f92..4e84b0d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ pushd ~/live bin/bundle install yarn install --pure-lockfile # For 1.4.1 -> 1.4.2 migration prepare_for_foreign_keys is needed -RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys +# RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys RAILS_ENV=production bundle exec rails assets:clean RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails db:migrate From 1b737b0c6423b734a9e50e5d13e9b4586478067e Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 11 Oct 2017 21:43:29 +0200 Subject: [PATCH 09/15] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index cb4adb5..217ca34 100644 --- a/scripts/install +++ b/scripts/install @@ -102,9 +102,10 @@ CLONECOMMANDS # Switch branch to tagged release cd $final_path/live +version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4) sudo su - $app < Date: Wed, 11 Oct 2017 21:44:36 +0200 Subject: [PATCH 10/15] Update upgrade --- scripts/upgrade | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index e734e97..0c469bb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,9 +50,10 @@ PULLCOMMANDS # Switch branch to tagged release cd $final_path/live +version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4) sudo su - $app < 1.4.2 migration prepare_for_foreign_keys is needed -# RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys RAILS_ENV=production bundle exec rails assets:clean RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails db:migrate From f32a2a0c63f6d91984b3ea6004617e2b4521a6e6 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 11 Oct 2017 21:46:16 +0200 Subject: [PATCH 11/15] Update to 2.0.0 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 009b5df..09da9c0 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Mastodon is a free, open-source social network.", "fr": "Mastodon est un réseau social gratuit et open source." }, - "version": "1.6.0", + "version": "2.0.0", "url": "https://github.com/tootsuite/mastodon", "license": "AGPL v3.0", "maintainer": { From b19d877631986196653c129b86831e2aa6683e6f Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 11 Oct 2017 21:47:10 +0200 Subject: [PATCH 12/15] Update to 2.0.0 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 683eb05..d30e94e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mastodon for YunoHost -[![Latest Version](https://img.shields.io/badge/version-1.6.0-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) +[![Latest Version](https://img.shields.io/badge/version-2.0.0-green.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/releases) [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/milestones) [![Dependencies](https://img.shields.io/badge/dependencies-includes-lightgrey.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE) From 785edef7e416ecfbe844fc08597e20139d1fc260 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 25 Oct 2017 19:16:20 +0200 Subject: [PATCH 13/15] Fix install v2.0 ruby version --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 217ca34..7be59db 100644 --- a/scripts/install +++ b/scripts/install @@ -122,17 +122,17 @@ COMMANDS # Install ruby-build sudo su - $app < Date: Wed, 25 Oct 2017 21:22:35 +0200 Subject: [PATCH 14/15] Fix install on v2 add "SAFETY_ASSURED=1" on .env.production --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 7be59db..f3ac754 100644 --- a/scripts/install +++ b/scripts/install @@ -168,6 +168,7 @@ sudo sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" " # Preconfig CSS & JS sudo su - $app <> .env.production RAILS_ENV=production bin/bundle exec rails db:setup RAILS_ENV=production bin/bundle exec rails --trace assets:precompile CCOMMANDS From d5351f52a8a541129c69c6e167b32086f5d6ab36 Mon Sep 17 00:00:00 2001 From: Nemsia Date: Sat, 18 Nov 2017 00:15:34 +0100 Subject: [PATCH 15/15] Update Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d30e94e..975931d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/milestones) [![Dependencies](https://img.shields.io/badge/dependencies-includes-lightgrey.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh#dependencies) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/mastodon_ynh/master/LICENSE) -[![Yunohost version](https://img.shields.io/badge/yunohost-2.5.6_tested-orange.svg?style=flat)](https://github.com/YunoHost/yunohost) +[![Yunohost version](https://img.shields.io/badge/yunohost-2.7.2_tested-orange.svg?style=flat)](https://github.com/YunoHost/yunohost) [![GitHub issues](https://img.shields.io/github/issues/YunoHost-Apps/mastodon_ynh.svg?style=flat)](https://github.com/YunoHost-Apps/mastodon_ynh/issues) [![Install Mastodon with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=mastodon)