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

286 commits

Author SHA1 Message Date
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
nemsia
7529cf6210 Check .fonctions 2017-05-07 00:23:22 +02:00
nemsia
9747afe4ec [fix] Jenkins upgrade error 2017-05-06 23:44:21 +02:00
nemsia
f12507fbf0 Merge branch 'devel' into master 2017-05-06 23:01:35 +02:00
nemsia
39cde5408c Return to home 2017-05-06 22:48:26 +02:00
nemsia
1d212bebcb [fix] Reinstall dependencies on restore 2017-05-06 22:30:44 +02:00
nemsia
9f63099207 [fix] Owner of live 2017-05-06 20:35:26 +02:00
nemsia
04fc6dcc4b [fix] Owner of live 2017-05-06 20:34:29 +02:00
nemsia
133eeb1cef [fix] Upgrade from 1.3.3
Fix error: Your local changes to the following files would be overwritten by merge:
        .babelrc
        .dockerignore
        .editorconfig
        .env.production.sample
        .gitignore
        .rubocop.yml
        .travis.yml
        Capfile
        Dockerfile
        README.md
        Vagrantfile
        ....
2017-05-06 19:58:45 +02:00
nemsia
daf425f070 Update upgrade 2017-05-06 19:55:02 +02:00
__cyp
b25cc8f544 Merge pull request #20 from nemsia/patch-3
[fix] Restore pg dump and make jenkins happy
2017-05-06 19:54:54 +02:00
nemsia
38c3ccc75f Remove git fetch 2017-05-06 19:50:54 +02:00
nemsia
6d0d7a561a [fix] Change rm dump to ynh_secure_remove 2017-05-06 19:37:08 +02:00
nemsia
7d9014285d [fix] Restore pg dump
Restore pg dump with mastodon user.
2017-05-01 21:26:46 +02:00
nemsia
e5c96518a3 [fix] restore from $final_path 2017-05-01 15:07:21 +02:00
nemsia
4d2a047184 [FIX] Chmod before restore 2017-05-01 14:14:04 +02:00
nemsia
2f578fd2c2 [fix] Restore db with mastodon user 2017-04-30 23:49:00 +02:00
nemsia
1b76f0b4da [enh] Switch to tagged release on upgrade 2017-04-30 14:24:02 +02:00
nemsia
3a2f559174 [enh] cd $final_path 2017-04-30 14:13:44 +02:00
nemsia
e3e4ee08e5 [fix] Change pushd to cd on upgrade 2017-04-30 14:07:59 +02:00
nemsia
e7ed942684 [enh] Switch to tagged release 2017-04-30 14:04:25 +02:00
nemsia
4aa9a1d170 Merge pull request #8 from YunoHost-Apps/master
[enh] Create admin on install
2017-04-30 13:59:58 +02:00
nemsia
d4642d2973 Merge branch 'master' into patch-2 2017-04-30 10:45:52 +02:00
magikcypress
6bd9e8e222 [enh] Create user & administrator after install 2017-04-30 03:00:14 +02:00
nemsia
003c40c9e8 [fix] change pushd to cd 2017-04-30 00:53:56 +02:00
nemsia
bf0b5ad36b [fix] popd on services file copy 2017-04-30 00:35:01 +02:00
nemsia
96c72ba225 [fix] popd error 2017-04-30 00:32:05 +02:00
nemsia
5bcc59f37c [enh] Switch to tagged release on upgrade 2017-04-30 00:01:11 +02:00
nemsia
3b3f95cfe3 [enh] Switch tagged release on install
Work with 1.3.2
2017-04-29 23:58:25 +02:00
nemsia
67a35b2ff2 [fix] Restore with psql 2017-04-29 23:53:33 +02:00
nemsia
d898b11074 [fix] Pushd 2017-04-29 23:50:30 +02:00
nemsia
b9fc55ae81 [fix] Switch branch to tagged release 2017-04-29 23:48:37 +02:00
nemsia
b7789afb50 Merge branch 'master' of https://github.com/nemsia/mastodon_ynh 2017-04-29 23:19:38 +02:00
nemsia
71fe59cb4e Merge branch 'refs/heads/pr/5'
# Conflicts:
#	scripts/restore
2017-04-29 23:19:23 +02:00
nemsia
dfcc366e07 [FIX] Upgrade with tagged release 2017-04-29 22:05:18 +02:00
nemsia
842e7b249b [FIX] Switch to tagged release 2017-04-29 22:02:55 +02:00
nemsia
09f59cec8b [fix] Restore dump with psql 2017-04-29 21:43:36 +02:00
magikcypress
2cef464c6b [fix] restore script 2017-04-29 16:00:54 +02:00
nemsia
1e9438883e upgrade on master 2017-04-28 18:54:02 +02:00
nemsia
3623fad03d [fix] Error on upgrade with yarn.lock 2017-04-28 18:37:00 +02:00
nemsia
58661b14d2 [fix] Upgrade on tagged release 2017-04-28 18:07:45 +02:00
nemsia
e245bb18e4 Merge branch 'master' into patch-1 2017-04-28 18:05:07 +02:00
nemsia
3a93656160 [fix] Install tagged release 2017-04-28 18:02:28 +02:00
nemsia
f79e0148cb [enh] Install tagged releases 2017-04-28 13:30:04 +02:00
nemsia
2aedf332e7 [fix] Replace pushd by cd on upgrade 2017-04-28 11:42:08 +02:00
nemsia
9d73a23ac8 [enh] Install tagged release 2017-04-27 22:34:49 +02:00
nemsia
4f7830b595 [fix] PG restore 2017-04-26 16:12:34 +02:00
nemsia
ed08bd31ad [fix] Add restart postgre 2017-04-26 13:52:17 +02:00
nemsia
a73600b547 [fix] Chmod on backup/tmp 2017-04-26 10:40:39 +02:00
nemsia
5850d81662 [fix] Copy dump in $finalpath 2017-04-25 21:21:11 +02:00
nemsia
d15d287456 [fix] Acl backup directory 2017-04-25 14:46:40 +02:00
nemsia
fadf3e03b9 [fix] Chmod .sql 2017-04-25 12:46:21 +02:00
nemsia
3604622ae5 [fix] replace setfact by chmod 2017-04-25 00:04:58 +02:00
nemsia
838f971cf4 Merge pull request #3 from YunoHost-Apps/master
update
2017-04-24 23:59:53 +02:00
nemsia
e05277a8fe [fix] Stop streaming on remove 2017-04-24 23:54:57 +02:00
nemsia
a087f72f4a [fix] Stop streaming service 2017-04-24 23:52:44 +02:00
nemsia
25bb625228 Copy nginx conf on upgrade 2017-04-22 23:10:37 +02:00
nemsia
6e6f3cd38d Acl for Postgres user dump 2017-04-21 14:29:37 +02:00
magikcypress
9c513c9e7a [fix] upgrade - Reload SSOwat configuration 2017-04-20 17:01:27 +02:00
nemsia
45e2837a44 Fix 2017-04-20 16:39:35 +02:00
nemsia
39075ce06d Merge pull request #1 from magikcypress/patch-1
Add Unprotected url
2017-04-20 16:37:01 +02:00
nemsia
f62443160a Make public on upgrade 2017-04-20 16:35:44 +02:00
__cyp
12a64f8f94 Add Unprotected url 2017-04-20 16:34:35 +02:00
nemsia
c0cf1c131c Make public on install 2017-04-20 16:34:31 +02:00
magikcypress
82fa072ce6 [fix] Secret key install + backup correct + restore (need test restore) 2017-04-19 02:37:40 +02:00
magikcypress
128aa107ba [fix] secure rm + upgrade 2017-04-18 02:47:58 +02:00
magikcypress
cfdc9938e2 [fix] Bug backup crontab 2017-04-17 19:53:43 +02:00
magikcypress
fc08bdd80c [fix] always public + fix upgrade 2017-04-17 02:04:18 +02:00
magikcypress
8b811b7343 [enh] Create user + administrator 2017-04-16 16:12:21 +02:00
magikcypress
2be310eefa [fix] Clear code & fix install 2017-04-16 16:08:42 +02:00
magikcypress
9bddc797b4 [add] language 2017-04-15 04:20:28 +02:00
magikcypress
4ff6c990cc [fix] Update crontab 2017-04-15 01:56:09 +02:00
magikcypress
4045dfd749 [fix] Clear code install script 2017-04-14 16:44:41 +02:00
magikcypress
40e39fcfbb [fix] create secret keys with 128 character (not Uppercase) 2017-04-14 16:36:06 +02:00
magikcypress
3846d5a626 [fix] bug sed variable admin_pass 2017-04-13 18:04:29 +02:00
magikcypress
5665b8030f [fix] clean sed 2017-04-13 17:22:49 +02:00
magikcypress
4f11bfe432 [fix] add smtp login & pass 2017-04-13 17:20:31 +02:00
magikcypress
9599028041 [fix] rbenv init + start service 2017-04-13 01:38:09 +02:00
__cyp
80fa7cd71a Merge branch 'master' into master 2017-04-11 17:17:13 +02:00
nemsia
6cca229765 Add stop and start services 2017-04-11 17:03:11 +02:00
nemsia
51a5fc28f1 Repair broken services 2017-04-11 16:51:11 +02:00
nemsia
90462283e7 Use popd 2017-04-11 16:08:02 +02:00