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

197 commits

Author SHA1 Message Date
HugoPoi
953ed889ce perf(upgrade): use mv in place of rsync for system directory 2020-06-26 22:24:01 +02:00
yalh76
d3df899e0a Implement new nodejs helper 2020-06-04 00:36:02 +02:00
yalh76
8fea96dcd8 apply last example_ynh for ynh_script_progression 2020-06-02 18:34:04 +02:00
yalh76
2762898566 typo 2020-05-26 13:51:42 +02:00
yalh76
d9cac4a31a spacing 2020-05-26 13:50:52 +02:00
yalh76
5108846acb cron job to cron file 2020-05-26 13:44:21 +02:00
yalh76
0c4121ac52 Add service description 2020-05-26 13:40:04 +02:00
yalh76
d3ea53c200 removing not needed cron job description 2020-05-26 13:22:20 +02:00
yalh76
f2051e67a3 $MEMORY_NEEDED factorisation 2020-05-26 13:19:50 +02:00
yalh76
3d713af143 Moving from ynh_check_ram to ynh_get_ram 2020-05-26 13:18:02 +02:00
yalh76
f7e0cfd553 moving to 3.8 new helper 2020-05-26 12:23:48 +02:00
yalh76
5f421f48d7 Fix CRON 2020-05-19 19:20:06 +02:00
yalh76
aac5dadc34 $NODEJS_VERSION factorisation 2020-05-19 18:44:16 +02:00
yalh76
f4487bb3df fix bundle install 2020-05-19 13:25:24 +02:00
yalh76
4aafbbb86c missing = :/ 2020-05-19 13:22:00 +02:00
yalh76
b5556ae674 BUNDLER_VERSION factorization 2020-05-19 01:24:16 +02:00
yalh76
736d7908b4 RUBY_VERSION factorisation 2020-05-19 01:20:45 +02:00
yalh76
36ff48ac1d config filename factorisation 2020-05-18 22:38:55 +02:00
yalh76
0e27aab64a remove not needed code 2020-05-18 22:33:31 +02:00
yalh76
93f2e6201a correct spacing 2020-05-18 22:33:02 +02:00
yalh76
b957a40f6f Update upgrade 2020-04-09 15:57:17 +02:00
yalh76
ede37a9232 Temporary workaround
for https://github.com/tootsuite/mastodon/issues/13292
2020-03-28 20:25:37 +01:00
yalh76
6ff11dacb2 Apply example_ynh 2020-02-23 18:44:50 +01:00
yalh76
0fd7fb74c4 Update upgrade 2020-02-16 13:10:38 +01:00
yalh76
1a0e880448 removing previous nodejs version 2020-02-10 21:40:56 +01:00
yalh76
a858ca8e3a Upgrade nodejs version 2020-02-10 21:01:52 +01:00
yalh76
180db2eb33 Fix bundler 2019-12-28 14:44:18 +01:00
yalh76
95a5efb608 Fix case of missing system folder 2019-11-22 23:24:09 +01:00
yalh76
f1ea723f44 Fix upgrade step 2019-11-22 01:24:17 +01:00
yalh76
bbc6bbe91d Fix VAPID_KEY 2019-10-10 21:22:19 +02:00
yalh76
45573a61cd Upgrade to ruby 2.6.5 2019-10-07 22:54:13 +02:00
yalh76
b199de81f9 Add swap during upgrade and restore 2019-08-11 15:58:52 +02:00
yalh76
86543fc1f0 remove rm -rf 2019-06-26 07:00:51 +02:00
yalh76
cbc9f6eabf Fix public/system restoration 2019-06-26 02:18:54 +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
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
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
c027590f7e Remove ynh_systemd_action experimental helper 2019-05-10 11:30:13 +02:00
yalh76
bf9a8b1063
Additional
* Implement ynh_systemd_action

* Implement ynh_add_secure_repos__3
2019-04-06 16:08:48 +02:00
yalh76
0efc6dc766 Fix ynh_install_extra_repo 2019-03-27 22:24:36 +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
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
dddaefcd63 adding ynh_add_secure_repos__2 2019-03-22 23:59:16 +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
4e59d8298f Fix install and upgrade steps 2019-03-21 02:58:33 +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
2f3a368e81 move dependencies to _common.sh 2019-03-19 23:11:01 +01:00
yalh76
f028b7f2af Apply example_ynh 2019-03-18 04:22:38 +01:00
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
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
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
e5d9f9cece
Revert "Nginx : CSP + typo" (#113) 2018-09-03 01:02:28 +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
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
ae04282b9e Change db_name on all scripts
to mastodon_production
2018-06-12 22:53:03 +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
cfce1f3c19 Rename .fonctions to _common.sh 2018-04-06 19:58:23 +02:00