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

53 commits

Author SHA1 Message Date
Moul
2601970896 [enh] install: retrive lang from env var. 2016-06-26 21:56:56 +02:00
Moul
8da76b42c3 [fix] unzip in /tmp and not in current directory. 2016-06-26 21:29:14 +02:00
Moul
bbc5cc96a7 [enh] install: rm of .htaccess useless now. 2016-06-26 21:29:14 +02:00
Moul
7716439b3a [enh] remove and upgrade scripts: use helpers. 2016-06-26 21:29:14 +02:00
Moul
43e1f13202 [enh] install: use helpers.
- domain and path arguments are already stored.
- Review comments
2016-06-26 21:29:14 +02:00
Moul
7a1c7e1688 [enh] retrieve arguments from env variables.
- install: do not works for is_public and default_lang:
 - Warning: ./install: line 15: YNH_APP_ARG_IS_PUBLIC: unbound variable
2016-06-26 21:29:14 +02:00
Moul
42d33ffc60 [enh] source helpers. 2016-06-26 21:29:14 +02:00
Moul
9e12c32890 [enh] scripts: use in all scripts excepted the remove one. 2016-06-26 21:29:14 +02:00
Moul
ef54c7dd66 [enh] use brackets. 2016-06-26 21:29:14 +02:00
Moul
ace2454039 [enh/fix] upgrade: retrieve sources from upstream. Fix nginx conf.
- [enh] Retrieve PluXml 5.5 sources from upstream
 - do not erase data folders
 - only copy core
- [fix] fix nginx conf by copying code from install script
2016-06-26 21:29:14 +02:00
Moul
ff561be203 [enh] install: retrieve sources from upstream. 2016-06-26 21:29:14 +02:00
Moul
69e3595904 [fix] scripts: chwon didn't works. 2016-06-26 21:29:14 +02:00
Moul
9d7219be82 [fix] remove script: reload nginx conf, add comments. 2016-06-26 21:29:14 +02:00
Moul
1582a9b3ff [enh] install and upgrade scripts
- set www-data owner on {data, plugins}
- use variable for nginx conf path
2016-06-26 21:29:14 +02:00
Moul
c8b5cd8118 [enh] scripts: rename variable final_path to src_path. 2016-06-26 21:29:14 +02:00
Moul
7c6e3b79ec [enh] scripts: small fixes.
- ssowatconf is no more necessary at the end of the install script.
2016-06-26 21:29:14 +02:00
Moul
4eeef49340 [fix] bash header. 2016-06-26 21:29:14 +02:00
ewilly
356e469fdd Fix plugin configuration & update from admin page 2016-06-26 21:29:14 +02:00
M5oul
4305c46b70 Retrieve domain variable
Retrieve domain variable which is used after
2016-06-26 21:29:14 +02:00
matlink
78d5945e1c [fix] removing useless .htaccess
whatever, it was removed anyway just after to be copied.
2016-06-26 21:29:12 +02:00
matlink
e1fd9094dc Multi-instance
I think this is all that is needed :) Your scripts are very clean so YunoHost takes care of the rest (adds __1, __2, etc... behind $app names).
2016-06-26 21:28:59 +02:00
matlink
467a79cac2 [upd] adding .htaccess 2016-06-26 21:28:29 +02:00
matlink
1828ca9abc [fix] adding ssowat protection for admin panel 2016-06-26 21:28:19 +02:00
matlink
d7e4fd20bf [fix] adding domain into /etc/hosts for install on subdomains 2016-06-26 21:28:16 +02:00
matlink
32e69ea6eb [fix] removing data folder before restoring the backed one 2016-06-26 21:28:13 +02:00
matlink
57d4c06538 [enh] adding backup and restore scripts 2016-06-26 21:28:12 +02:00
matlink
3d66fcd610 removing superfluous slash 2016-06-26 21:27:59 +02:00
Julien Malik
9ffe909647 [fix] remove install.php when upgrading 2016-06-26 21:27:58 +02:00
Julien Malik
6228b6f803 [enh] remove useless .htaccess 2016-06-26 21:27:58 +02:00
Julien Malik
0e87c50673 [enh] remove useless .htaccess 2016-06-26 21:27:58 +02:00
Julien Malik
3eaffb354c [enh] remove additionnal / 2016-06-26 21:27:58 +02:00
Julien Malik
365e1f36ec [fix] yet another unnecessary sudo 2016-06-26 21:27:58 +02:00
Julien Malik
c30389edcd [fix] remove unnecessary sudo 2016-06-26 21:27:58 +02:00
Julien Malik
a7b70b00bb [enh] urlencode when sending param via curl, and clearer command line 2016-06-26 21:27:58 +02:00
Julien Malik
c7e8704ef3 [enh] set permission to root except data dir 2016-06-26 21:27:57 +02:00
Julien Malik
90a9ec6cbf [enh] indentation 2016-06-26 21:27:57 +02:00
Julien Malik
5007dcc9fb [fix] remove bad substitution
This causes the following error :
install: line 13: ${$domain%?}: bad substitution

I guess the intended subtitution was :
  domain=${domain%?}
instead, which removes the last character of domain, and thus is wrong.
2016-06-26 21:27:57 +02:00
matlink
ff66175225 trying something 2016-06-26 21:27:35 +02:00
matlink
1dab3f13b6 update languages 2016-06-26 21:27:34 +02:00
matlink
7dc480f69b now remove install.php after install 2016-06-26 21:27:32 +02:00
matlink
f10898e608 fix substitution error 2016-06-26 21:27:31 +02:00
matlink
0680d4d25a fix issue with skipped_uris 2016-06-26 21:27:29 +02:00
matlink
4d8fc16339 fix issue with variables 2016-06-26 21:27:28 +02:00
matlink
3c0bce1caa testing 2016-06-26 21:27:25 +02:00
matlink
818e73a589 testing 2016-06-26 21:27:23 +02:00
matlink
64b90f2198 testing 2016-06-26 21:27:21 +02:00
matlink
868d194c68 testing 2016-06-26 21:27:17 +02:00
matlink
af9f17b5b7 testing 2016-06-26 21:27:16 +02:00
matlink
d196e76844 Update README.md 2016-06-26 21:27:12 +02:00
matlink
cf392a5c96 fixed path error 2016-06-26 21:21:18 +02:00