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

488 commits

Author SHA1 Message Date
yalh76
34ed90b06a remove change_url 2019-06-19 21:03:02 +02:00
yalh76
f50a2d9b55 backup .env before replacing it 2019-06-01 06:49:42 +02:00
yalh76
c52665ddb1 switch from ynh_add_secure_repos__3 to ynh_add_extra_apt_repos__3 2019-05-22 17:41:50 +02:00
yalh76
1eb5ccc9df Fix missing ports 2019-05-22 15:17:31 +02:00
yalh76
0486d088e8
Merge pull request #144 from YunoHost-Apps/example_ynh
example_ynh corrections
2019-05-15 23:26:46 +02:00
yalh76
cd046117a5 example_ynh corrections 2019-05-15 12:18:39 +02:00
yalh76
7dc905542a Cleanup dependencies 2019-05-14 21:04:05 +02:00
yalh76
c857d70f73
Merge branch 'testing' into example_ynh 2019-05-12 20:32:33 +02:00
yalh76
386c48a338 Adding weight 2019-05-12 03:01:21 +02:00
yalh76
297496c478 fix db_user removal 2019-05-11 18:10:17 +02:00
yalh76
90fbfdf3f5 fix message 2019-05-11 15:35:49 +02:00
yalh76
74af5c0b9b remove remove_ruby 2019-05-11 14:44:23 +02:00
yalh76
ee4f535aa7
Merge branch 'testing' into v2.8.2 2019-05-11 02:16:49 +02:00
yalh76
750402c9c2 removing vapid_private_key 2019-05-10 22:29:00 +02:00
yalh76
9719db911b fix upgrade 2019-05-10 21:07:21 +02:00
yalh76
55a0d422f7 switch to ynh_psql_setup_db 2019-05-10 19:38:49 +02:00
yalh76
80f60b149c remove ruby before upgrade 2019-05-10 19:34:48 +02:00
yalh76
c8a9c03212 upgrade to ruby 2.6.1 2019-05-10 17:28:21 +02:00
yalh76
cbbe9d3cc5 Add cache clear 2019-05-10 17:24:58 +02:00
yalh76
ae5845526a Apply example_ynh 2019-05-10 16:34:57 +02:00
yalh76
629b59bc53 Apply example_ynh on install 2019-05-10 12:19:39 +02:00
yalh76
383afca10c switch to ynh_send_readme_to_admin__2 2019-05-10 11:36:13 +02:00
yalh76
c027590f7e Remove ynh_systemd_action experimental helper 2019-05-10 11:30:13 +02:00
yalh76
2987ccf8b3 Merge branch 'develop' 2019-05-10 02:00:48 +02:00
yalh76
0494ace9af Update install 2019-04-12 13:54:10 +02:00
yalh76
8b342cce12 Revert "Revert "Merge pull request #3 from alexAubin/patch-1""
This reverts commit ea966973f5.
2019-04-12 13:51:19 +02:00
yalh76
ea966973f5 Revert "Merge pull request #3 from alexAubin/patch-1"
This reverts commit 90a0331309, reversing
changes made to df2e2fb226.
2019-04-12 03:15:40 +02:00
yalh76
5e9e9ac4e4 Fix postgresql database removal error
in new ynh_psql_remove_db db_name and db_user have been inverted in legacy mode
2019-04-12 02:30:36 +02:00
yalh76
90a0331309
Merge pull request #3 from alexAubin/patch-1
Add a check that there's a reasonable quantity of RAM+swap available
2019-04-11 20:24:25 +02:00
yalh76
bf9a8b1063
Additional
* Implement ynh_systemd_action

* Implement ynh_add_secure_repos__3
2019-04-06 16:08:48 +02:00
yalh76
d24dccd332 Fix ynh_add_secure_repos_2 2019-04-02 04:14:24 +02:00
yalh76
d9c52a27d2 Fix bug generated by ynh_install_extra_repo 2019-03-31 18:02:01 +02:00
yalh76
0efc6dc766 Fix ynh_install_extra_repo 2019-03-27 22:24:36 +01:00
yalh76
9749ea5afa remove ynh_clean_setup 2019-03-27 21:21:46 +01:00
yalh76
08485fd7d3 Fix armored key 2019-03-27 21:20:14 +01:00
yalh76
2f69ed9251 fix yarn repo key 2019-03-23 13:11:31 +01:00
yalh76
210af9d0f9 Fix database name 2019-03-23 03:44:14 +01:00
yalh76
37e462d1ad removed LDAP
Mastodon LDAP need authentication
Wasn't able to create a dedicated user
2019-03-23 03:33:44 +01:00
yalh76
d1a1e67008 fix key for upgrade 2019-03-23 02:58:59 +01:00
yalh76
652d6f6c67 fix ldap user 2019-03-23 02:28:48 +01:00
yalh76
ff2fea8ef2 fix ldap_user 2019-03-23 02:18:28 +01:00
yalh76
80acfc8df6 fix ldap username 2019-03-23 02:07:42 +01:00
yalh76
d4eac065f7 Fix LDAP User 2019-03-23 01:54:06 +01:00
yalh76
86301f170d fix LDAP_BIND_DN 2019-03-23 01:24:41 +01:00
yalh76
a09cb0c891 fix source for install 2019-03-23 00:14:12 +01:00
yalh76
ffda3d5c8b siwth app-mastodon.src to app.src 2019-03-23 00:11:09 +01:00
yalh76
e1f1a535b7 move ynh_add_secure_repos__2 at the good place 2019-03-23 00:09:36 +01:00
yalh76
c61837c5f8 fix admin_mail 2019-03-23 00:05:43 +01:00
yalh76
dddaefcd63 adding ynh_add_secure_repos__2 2019-03-22 23:59:16 +01:00
yalh76
35f672269a move port in port step 2019-03-22 23:42:17 +01:00
yalh76
e7df7cc8d7 Add VAPID Keys generation 2019-03-22 23:24:05 +01:00
yalh76
c7da529e29 cleanup 2019-03-22 23:09:55 +01:00
yalh76
c468541e82 cleanup 2019-03-22 22:41:35 +01:00
yalh76
84fe35915e Update restore 2019-03-21 22:08:13 +01:00
yalh76
1dc6ef4085 fix restore 2019-03-21 20:34:35 +01:00
yalh76
477783ea53 fix user creation 2019-03-21 05:47:44 +01:00
yalh76
4325834c7a provide a .env.production file 2019-03-21 04:30:44 +01:00
yalh76
9d671c8fc1 Fix error in install 2019-03-21 04:13:43 +01:00
yalh76
514a09f21e Fix install 2019-03-21 03:52:37 +01:00
yalh76
737de6a78a Fix install steps 2019-03-21 03:43:47 +01:00
yalh76
3cea0bdc57 fix install 2019-03-21 03:26:05 +01:00
yalh76
27e8bed40d Update install 2019-03-21 03:08:09 +01:00
yalh76
4e59d8298f Fix install and upgrade steps 2019-03-21 02:58:33 +01:00
yalh76
9a80610241 Update install 2019-03-21 02:50:01 +01:00
yalh76
05045a2b9d Fix dependencies steps 2019-03-21 02:38:51 +01:00
yalh76
2c8861a994 Fix install and upgrade steps 2019-03-21 02:31:06 +01:00
yalh76
1d2c258abe Apply example_ynh 2019-03-21 02:07:49 +01:00
yalh76
f8096d8c25 Update install 2019-03-20 12:14:29 +01:00
yalh76
d903267166 add env PATH=$PATH 2019-03-20 04:28:13 +01:00
yalh76
5885b4cf7d Fix ruby 2019-03-20 04:06:44 +01:00
yalh76
7915cc889f fix db_user 2019-03-20 03:55:14 +01:00
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