1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00
Commit graph

367 commits

Author SHA1 Message Date
yalh76
9d3b44450b Update remove 2019-03-20 03:44:43 +01:00
yalh76
2c7bff77eb Update ynh_install_ruby 2019-03-20 03:40:57 +01:00
yalh76
157889c143 Update _common.sh 2019-03-20 03:32:05 +01:00
yalh76
f3f4efec78 remove apt sources 2019-03-20 02:31:15 +01:00
yalh76
268b3df87b remove nodejs dependency 2019-03-20 00:01:42 +01:00
yalh76
f3e9605dae Fix remove steps 2019-03-19 23:54:41 +01:00
yalh76
3eee0a24e2 update install 2019-03-19 23:33:34 +01:00
yalh76
4a75d7c713 remove _future.sh 2019-03-19 23:16:12 +01:00
yalh76
2f3a368e81 move dependencies to _common.sh 2019-03-19 23:11:01 +01:00
yalh76
149191b449 Remove postgresql helper 2019-03-19 23:05:37 +01:00
yalh76
0201b2ac10 Update install 2019-03-19 22:47:40 +01:00
yalh76
f028b7f2af Apply example_ynh 2019-03-18 04:22:38 +01:00
Alexandre Aubin
edf6ab3814 Add a check that there's a reasonable quantity of RAM+swap available 2019-02-16 13:11:31 +01:00
anmol
41d7f8700d Fix account creation 2019-01-22 16:56:49 +05:30
anmol
f281b053c8 Use of rbenv 2.6.0 2019-01-22 13:02:55 +05:30
anmol
994c1f3c0b Use of rbenv 2.6.0 2019-01-22 12:45:32 +05:30
anmol
dd867100d0 Use of rbenv 2.6.0 2019-01-22 12:13:13 +05:30
anmol
6a0aab6a93 Upgraded to version 2.7.0 2019-01-21 16:37:43 +05:30
yalh76
4c1e29326d
Fix install 2019-01-14 01:49:00 +01:00
yalh76
25a9339c6e
Update install 2019-01-14 01:29:06 +01:00
anmol
f68fb1a2ef Fix 2019-01-09 17:24:30 +05:30
anmol
2d8b197984 Fix 2019-01-09 17:12:23 +05:30
anmol
d4ddcf6642 Fix 2019-01-09 17:03:07 +05:30
anmol
047dbcf208 Fix 2019-01-09 16:11:49 +05:30
anmol
04f41b9cb2 Fix 2019-01-07 21:24:46 +05:30
anmol
1e5720f85b Fix 2019-01-07 17:04:14 +05:30
anmol
2604054b96 Mastodon require ruby-build <2.6.0 2019-01-07 15:49:16 +05:30
anmol
880386bf2f Mastodon require ruby-build <2.6.0 2019-01-07 15:36:16 +05:30
anmol
768d675a87 Mastodon require ruby-build <2.6.0 2019-01-07 15:11:41 +05:30
anmol
3647d3393d Udated ruby-build to 2.6.0 2019-01-07 14:43:36 +05:30
anmol
ad188b0013 update bundler 2019-01-07 12:10:51 +05:30
anmol
e685d4d27a Give proper right permission 2019-01-07 11:53:50 +05:30
anmol
7a7653e321 Install bundler:1.16.5 2019-01-07 11:04:30 +05:30
anmol
3436cdebe8 Install bundler:1.16.5 2019-01-07 10:08:57 +05:30
anmol26s
4941a424f1 Set right permission to app while upgrade 2018-12-26 11:25:29 +05:30
anmol26s
209a618e52 Don't sync system folder if it don't exits while update 2018-12-26 11:00:48 +05:30
anmol26s
ab60f7e6ba return to automate 2018-12-26 09:29:09 +05:30
anmol26s
2331c2ae21 Try carriage return to automate 2018-12-26 09:26:23 +05:30
anmol26s
b3a1a8ccc5 Try carriage return to automate 2018-12-26 09:19:27 +05:30
anmol26s
1e84113155 Fix:command to make user admin 2018-12-26 08:33:06 +05:30
anmol26s
925cc82050 Fix:command to make user admin 2018-12-26 08:11:35 +05:30
anmol26s
a350fef6a8 Fix:command to make user admin 2018-12-26 07:06:37 +05:30
anmol26s
26787f12cd Fix:version rbenv 2018-12-26 04:42:07 +05:30
anmol
9d07d121ad Upgrade error fix and cron job 2018-11-07 09:42:21 +05:30
anmol
7b33bf4f03 Added npm install -D babel-loader @babel/core @babel/preset-env webpack 2018-11-06 15:20:18 +05:30
anmol
1752d37cbd Ruby update 2.5.3 2018-11-02 18:48:49 +05:30
nemsia
858c7cf694 Change upgrade db:migrate for 2.5.0 2018-09-05 22:20:27 +02:00
nemsia
2caf4e63f5
Remove nginx duplicated lines 2018-09-05 00:12:07 +02:00
anmol26s
c0f6ab9d6b Remove nginx replace string duplicate in install 2018-09-03 21:12:35 +05:30
nemsia
2d1465e29b Upgrade to 2.5.0 2018-09-03 01:12:59 +02:00
nemsia
f262708905
Merge pull request #114 from YunoHost-Apps/patch-z
Patch to fix nginx conf
2018-09-03 01:03:00 +02:00
nemsia
e5d9f9cece
Revert "Nginx : CSP + typo" (#113) 2018-09-03 01:02:28 +02:00
frju365
aaa1b11ad1
Update upgrade 2018-08-31 01:48:09 +02:00
frju365
19c46d2d2b
[fix] nginx conf 2018-08-31 01:47:32 +02:00
nemsia
09a07f19c5
Merge branch 'develop' into patch-frju365 2018-08-31 00:13:03 +02:00
frju365
29399adc3d
[mod] Use nginx Helper.
See mod for install
2018-08-25 00:48:50 +02:00
frju365
16cfcba4e1
[mod] use official helper for nginx
I didn't find any __PATH__ in nginx config... ??
2018-08-25 00:45:54 +02:00
anmol26s
fc1dee56d6
used ynh_replace_string in upgrade 2018-06-22 14:00:26 +05:30
nemsia
f13690c38b Add $db_pwd compatibility 2018-06-21 11:08:52 +02:00
anmol26s
531aaa6a47 Fallback user create command 2018-06-21 08:44:18 +05:30
anmol26s
9c37e95309 Improved the app 2018-06-21 08:18:02 +05:30
nemsia
cd1f81fb5d Upgrade to 2.4.2 2018-06-20 11:54:30 +02:00
nemsia
ea9d2e8f0d Merge branch 'testing-2.4' into master
And Stay on 2.4.1
2018-06-19 15:24:45 +02:00
nemsia
2bd8279988 Add pg user pass on upgrade 2018-06-18 15:15:27 +02:00
nemsia
c9429cbf23 Fix Upgrade 2018-06-14 15:25:03 +02:00
nemsia
d592fe5cac Remove backports and yarn repo files 2018-06-14 15:19:48 +02:00
nemsia
d740e4e0f3 Fix backport.list restore 2018-06-13 16:22:27 +02:00
nemsia
816d7d6e35 Fix postgresql restore script 2018-06-13 15:49:18 +02:00
nemsia
4e3f28968c Replace reload on restore script 2018-06-13 13:59:47 +02:00
nemsia
d0e9f2e753 Fix Restore Script 2018-06-13 13:13:08 +02:00
nemsia
a961856c7e Add createdb right to mastodon postgre role 2018-06-13 12:19:22 +02:00
nemsia
8e1d57d0dd db:migrate on install 2018-06-13 11:30:51 +02:00
nemsia
ae84054e6a Fix db_user create 2018-06-13 00:23:05 +02:00
nemsia
ae04282b9e Change db_name on all scripts
to mastodon_production
2018-06-12 22:53:03 +02:00
nemsia
1993c3b2ee db:Setup on install 2018-06-12 21:44:45 +02:00
nemsia
7c2d4d4927 Update to 2.4.1 + fixs
*Fix upgrade,restore scripts

* Readme and manifest to 2.4.1
2018-06-12 21:43:34 +02:00
nemsia
982f3bbde2
Testing 2.4 (#90)
* Ready to Yunohost 3 and Debian Stretch

* Remove mastodon cron tasks

* Fix Upgrade yarn not installed

* Fix Upgrade
2018-06-12 18:32:43 +02:00
nemsia
ba3ce5d001
Fix migrated stretch upgrade (#88)
* upgrade-2.3.3

upgrade-2.3.3
git fetch with all tags forced

* Upgrade 2.4.0 (#21)

* Upgrade 2.4 (#79)

* Upgrade rb to 2.5.1

* Update upgrade

* Fix 2.3.3

* Add trace on assets:precompile

* Yarn install and precompile

Update 2.4 need root to yarn install and precompile, 
Temporary bad fix.

* Update upgrade

* Fix migrate

* Update README.md

* Update manifest.json

* Upgrade yarn to 1.7.0

* Restart postgresql on upgrade

* Ready to Debian Stretch (#22)

* Ready to Debian Stretch

* rb 2.5.1 on install

* Yarn install on root

* rails precompile fix

* Fix backup on stretch

* clean

* fix backup stretch

* Change systemd mastodon service restart

* Change systemd script for stretch

* Ready to mastodon 2.4.1

* Fix migrated stretch (#23)

* Force bundle re-install

* Add check debian on upgrade and clean check
2018-06-12 15:33:34 +02:00
nemsia
64d3147a7b
Yunohost 3.0 Stretch app upgrade (#85)
* Ready to Debian Stretch

* rb 2.5.1 on install

* Yarn install on root

* Ready to mastodon 2.4.1
2018-05-31 13:41:03 +02:00
nemsia
7a3313b7cf
Postgres fix (#84)
* Restart postgresql on upgrade
2018-05-28 14:31:49 +02:00
nemsia
27505a57d7
Update yarn on upgrade (#82)
* Upgrade yarn to 1.7.0
2018-05-25 10:11:55 +02:00
nemsia
a6d9ee92f9
Upgrade 2.4 (#79)
* Upgrade rb to 2.5.1

* Update upgrade

* Fix 2.3.3

* Add trace on assets:precompile

* Yarn install and precompile

Update 2.4 need root to yarn install and precompile, 
Temporary bad fix.

* Update upgrade

* Fix migrate

* Update README.md

* Update manifest.json
2018-05-23 00:08:40 +02:00
Jean-Baptiste Holcroft
b67376ec30 add support for ynh_backup_before_upgrade and ynh_abort_if_errors 2018-05-01 20:45:29 +02:00
Jean-Baptiste Holcroft
3004a1c041 Try to limit the log 2018-05-01 20:44:54 +02:00
Jean-Baptiste Holcroft
5799993dc4 Standardization of backup 2018-05-01 20:43:49 +02:00
Jean-Baptiste Holcroft
6be35a9f26 Standardization of restoration 2018-05-01 20:43:05 +02:00
Jean-Baptiste Holcroft
c3f2f5c64f Standardization of removal 2018-05-01 18:49:32 +02:00
Jean-Baptiste Holcroft
00a9710a4e Use helpers for systemd & package installation, lock version to 2.3.3 2018-05-01 18:49:10 +02:00
Jean-Baptiste Holcroft
69ddc4592b Add helpers (multi-file systemd and exec_as) 2018-05-01 18:48:06 +02:00
Jean-Baptiste Holcroft
f0b1322812 Use latest PostgreSQL helpers 2018-05-01 11:29:25 +02:00
Jean-Baptiste Holcroft
18b69b2fdf Remove old-time specific functions and add multiple TODO 2018-04-06 21:01:26 +02:00
Jean-Baptiste Holcroft
cfce1f3c19 Rename .fonctions to _common.sh 2018-04-06 19:58:23 +02:00
nemsia
1d7613889c
Remove hotfix 2018-04-06 13:31:43 +02:00
nemsia
6218a686a1
upgrade-2.3.3 (#73)
upgrade-2.3.3
git fetch with all tags forced
2018-04-06 13:30:57 +02:00
nemsia
7dc6ec97c6
Hotfix v2.3.3 upgrade (#72)
Stay on 2.3.2
2018-04-05 23:11:32 +02:00
nemsia
666ceeb8f8
Merge branch 'master' into master 2018-03-22 13:32:46 +01:00
nemsia
a8d527d2ab
Merge branch 'upgrade-from-pre-release' into master 2018-03-22 13:27:33 +01:00
nemsia
7db022c2cc
Fix rm rb 2018-01-31 20:14:01 +01:00
nemsia
6f4293eafd
Fix rm rb 2018-01-31 20:13:24 +01:00
nemsia
a8f2853379
Upgrade to 2.2.0 (#65)
* Upgrade ruby to 2.5.0

* Add remove_regeneration_markers

* Update README.md
2018-01-31 17:02:43 +01:00
nemsia
5295228ca3 Fix install on v2 (#58)
* Fix install v2.0 ruby version

* Fix install on v2

add "SAFETY_ASSURED=1" on  .env.production
2017-10-25 21:43:05 +02:00
nemsia
4e83743845 Fix install on v2
add "SAFETY_ASSURED=1" on  .env.production
2017-10-25 21:22:35 +02:00
nemsia
785edef7e4 Fix install v2.0 ruby version 2017-10-25 19:16:20 +02:00
nemsia
a8a2874864 Upgrade to 2.0.0 (#56)
* Update to 2.0.0
2017-10-15 10:05:38 +02:00
nemsia
956dfc4050 Update upgrade 2017-10-11 21:44:36 +02:00
nemsia
1b737b0c64 Update install 2017-10-11 21:43:29 +02:00
Nemsia
c687c56305 Merge branch 'upgrade-from-pre-release' 2017-10-11 21:39:04 +02:00
nemsia
244edb7dc5 Remove duplicated bundle install and yarn install 2017-10-11 21:30:51 +02:00
nemsia
85918b2b3e Fix rbenv install error 2017-10-11 21:26:13 +02:00
nemsia
e5995887c0 Fix to 2.4.2 2017-10-11 21:22:47 +02:00
nemsia
502e75555b Upgrade to ruby 2.5.2 for release 2.0 2017-10-11 18:59:24 +02:00
Nemsia
a92d2b7f30 Remove prepare_for_foreign_keys task on upgrade 2017-09-11 22:49:53 +02:00
nemsia
099de1658f Remove prepare_for_foreign_keys 2017-09-07 23:04:29 +02:00
nemsia
f224a7d13c New method to select pre-release 2017-08-10 18:11:34 +02:00
nemsia
e471f128ce Add additional package for arm (#52)
* Add additional package for arm upgrade
2017-08-10 00:08:22 +02:00
nemsia
c9c543ee20 Add additional package for arm upgrade 2017-08-09 23:59:29 +02:00
nemsia
40e66c5983 Upgrade 1.5.0 (#48)
* Add libicu-dev and libidn11-dev
2017-07-25 13:39:31 +02:00
nemsia
c50b19af34 Merge remote-tracking branch 'refs/remotes/origin/master' into upgrade-from-pre-release 2017-07-25 13:29:04 +02:00
nemsia
0307451906 Add libicu-dev and libidn11-dev 2017-07-24 01:15:15 +02:00
nemsia
1f948e706a Merge branch 'master' of https://github.com/YunoHost-Apps/mastodon_ynh 2017-07-24 00:41:30 +02:00
nemsia
60ae6587fe Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' into upgrade-from-pre-release 2017-07-13 00:27:17 +02:00
nemsia
8711b92530 add __FINALPATH__ on Nginx conf (#46)
* [enh] Final_path on nginx

* [enh] final_path on nginx.conf

* Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' into nginx-conf

# Conflicts:
#	scripts/restore

* [fix] nginx path on backup

* [fix] Error on final_path nginx

* Version num in badge
2017-07-13 00:12:42 +02:00
nemsia
7b7070f970 Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' 2017-07-08 21:34:15 +02:00
nemsia
7cd6bc84ac Fix backup fail on yunohost 2.6 + update mastodon version to 1.4.7 2017-07-08 21:28:38 +02:00
nemsia
061bb38b00 error on script 2017-07-01 18:18:23 +02:00
nemsia
ad476aad67 error on ynh_secure_remove 2017-07-01 17:39:58 +02:00
MCMic
d7b8bd7b23 Added needed line for 1.4.2 migration 2017-06-15 10:47:06 +02:00
nemsia
e438a0ab3e Fix install on arm (#42)
* [fix] Missing pubkey on arm

* [enh] Install on arm + update README
2017-06-07 20:42:42 +02:00
nemsia
7b5077419b [fix] upgrade and install 1.4.1 (#40) 2017-05-29 21:24:43 +02:00
nemsia
e8870da4b3 [fix] Install and Upgrade to tag n-1 (#39) 2017-05-29 13:32:23 +02:00
nemsia
8f88641088 upgrade from pre-release 2017-05-28 17:31:51 +02:00
nemsia
a10d77fe4f [fix] Duplicate nodejs 6 upgrade 2017-05-28 17:20:32 +02:00
nemsia
097bd9dec8 Fix restore 1.4 (#38)
* [fix] Remove db:setup

* [enh] add install rben on restore

* [enh] Remove asset:precompile and db:migrate on restore

* [enh] bundle and yarn install on restore
2017-05-26 21:20:07 +02:00
nemsia
77a80d633c [fix] Nodejs 6 on restore 2017-05-25 14:09:20 +02:00
nemsia
eabe291999 [fix] Restore dependencies 2017-05-25 00:07:57 +02:00
nemsia
3a02566f0a Fix upgrade 1.4 (#33)
* [fix] Upgrade nodejs + conf protobuf

Fix mastodon 1.4 upgrade
2017-05-22 00:42:09 +02:00
magikcypress
e52a9dcb50
[fix] Install lastest release 2017-05-21 17:48:52 +02:00
magikcypress
79f5e7d827
[fix] upgrade ndeojs version 2017-05-21 17:02:13 +02:00
nemsia
c7eb4ace25 Upgrade with latest stable version (#31)
* [enh] Upgrade on latest

Upgrade with latest mastodon stable version
2017-05-21 15:23:14 +02:00
magikcypress
a074e13ef5
[fix] update node version to 6 #29 2017-05-21 15:17:07 +02:00
magikcypress
13cad968d8
[fix] add additional package for release 1.4 #30 2017-05-21 15:05:54 +02:00
nemsia
e6a5b2bc5e [enh] Switch release on mastodon user (#27)
* Update README

* [enh] Switch branch with mastodon user
2017-05-08 15:33:08 +02:00
nemsia
1747e72792 Use smtp 25 + waiting on upgrade (#26)
* [enh] SMTP without login

* [fix] Port to 25

* [enh] Waiting start
2017-05-08 13:04:01 +02:00
nemsia
70d41205f3 [enh] Admin user creation tune (#25)
* [fix] Password lengh check 9 to 8

* [enh] Use the email address from admin user

* [fix] Confirm real admin mail

* Check TODO

* [fix] Warning password to 7
2017-05-08 11:06:33 +02:00
nemsia
8584df0b54 Merge branch 'master' into master 2017-05-07 23:21:52 +02:00
nemsia
35275b3a78 Merge pull request #24 from nemsia/patch-2
[fix] Reinstall dependencies on restore + check .fonctions on remove
2017-05-07 17:49:28 +02:00
nemsia
a2d0dc06c6 Copy Apt .lists on restore 2017-05-07 14:18:57 +02:00
nemsia
ade55f6ef2 Change .list name on backup 2017-05-07 00:30:50 +02:00
nemsia
b72fba54be Add apt lists to backup 2017-05-07 00:29:36 +02:00
nemsia
941ed7b71c Remove unneeded comment 2017-05-07 00:25:15 +02:00