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

63 commits

Author SHA1 Message Date
antoine
65149cd0ee solved issue#29 2019-03-03 16:36:44 +01:00
toitoinebzh
b3e4910ae8 All checks are succesful with package_check 2019-02-24 18:43:56 +01:00
toitoinebzh
bc00655bb3 Reset 2019-02-24 18:39:02 +01:00
Moul
3c9860d5b4 [enh] #20: form install: resolve domain name with '--resolve' curl option.
- instead of modifying '/etc/hosts'.
2017-04-05 19:09:10 +02:00
Moul
29f0f568d3 [fix] linter: set 'moul' as maintainer. Add 'set -u' on remove script. 2017-04-05 18:59:52 +02:00
Moul
e39e9aedd1 [fix] use setting_delete helper to remove public propriety. 2016-10-31 15:26:03 +01:00
Moul
dab908bb67 [fix] upgrade: overite when unzipping. 2016-06-29 01:27:44 +02:00
ewilly
ebc5ea163f Avoid error when space in filename (#22) 2016-06-29 00:11:40 +02:00
ewilly
5f24c86ee2 Avoid error when space in filename (here too) (#23) 2016-06-29 00:11:20 +02:00
Moul
3bb300ce44 [fix] use env var for is_public var. overwrite when unzip. 2016-06-28 11:32:13 +02:00
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