1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00
Commit graph

78 commits

Author SHA1 Message Date
Moul
bf78479c08 [mod] scripts: use 'duniter' command as '' var won't works on multi-instance. 2017-03-03 22:37:11 +01:00
Moul
7e48d604c0 [mod] : #28: pass tests: remove nginx conf check before reloading.
- on dev env, 'nginx -t' check can't found the associate domain name.
- it have to be manually put on the '/etc/hosts/' file.
2017-02-25 12:09:07 +01:00
Moul
4785db0549 [mod] upgrade: remove useless CPU architecture check. 2017-02-21 15:41:31 +01:00
Moul
cdf593c0b0 [enh] fix errors reported by linter. 2017-02-21 14:52:50 +01:00
Moul
08952ca781 [mod] close #30: Do not ask for credentials at install as it's insecure:
- remove from manifest and install script corresponding code.
- readme: add explaination how to configure the key on his node.
2017-02-21 14:52:43 +01:00
Moul
07c73d399a [mod] #12: remove install path choice.
A dedicated domain name is needed and make it easier to configure.
Remove code on manifest, install and upgrade scripts.
2017-02-21 12:58:51 +01:00
Moul
07fa4fab81 [fix] upgrade: variable wasn't retrieved. 2017-02-21 11:54:48 +01:00
Moul
64e334bb1d [fix] #29: pull request review:
- [fix] missing '$' before env var to retrieve is cesium is public or not.
- [fix] use YunoHost helper to set a value.
- [fix] remove Cesium patch which have been fixed upstream.
2017-02-20 15:22:42 +01:00
Cédric Moreau
51f91a24da [enh] Add a Cesium public access option 2017-02-15 11:00:33 +01:00
Cédric Moreau
821d2e2c8c [enh] Change configuration to have HTTPS only 2017-02-15 10:17:45 +01:00
Moul
f7af82df35 [fix] use config subcmd as init subcmd have been removed:
- See: 48a59b131c
2016-11-15 10:55:27 +01:00
Moul
e53082b137 [mod] #26: do not display logs of debian package install and sync process. 2016-10-14 14:50:13 +02:00
Moul
07056ab512 [enh] #25: release name convention have changed:
- Grep 'server' as there is now a 'server' and 'desktop' versions.
- Retrieve 'server' releases which doesn't contain NodeWebkit:
 - This reduce by two the size of the package: download & space usage.
- Grep 'linux' in the case there is only a 'windows' package released:
- that way windows package is not retrieved but an old version for linux.
- Request only one time GitHub. grep previous variable.
- Use variable for debian package path name.
2016-10-11 19:30:05 +02:00
Moul
aeef0080cd [enh] close #19: use functions for duplicate code on scripts 2016-08-20 02:31:08 +02:00
Moul
6f96db42ac [enh] #14: automatically retrieve last version
- retrive last version available for x64 or for armel architectures
- upgrade enable set -u
2016-08-20 01:35:46 +02:00
Moul
0b0936031f [enh] nginx: check configuration before reload it. 2016-08-10 11:35:43 +02:00
Moul
4a9375dc99 [enh] close #9 and #17: remove cpu asking. 2016-08-09 20:00:02 +02:00
Moul
bad29ef90e [enh] #12, grant access to the graphical interface only to the admin.
- install, upgrade: protect the path and grant access to admin user.
- upgrade: forget to comment unused sed.
- Update readme: add information about webadmin on root path.
2016-08-09 19:19:28 +02:00
Moul
2b091dc805 [enh] #12 web admin: retrict install to root path.
- Install: add check to install only on root path, comment sed line
- Nginx conf: remove path choice sed
- Manifest: set root path as default, add explaination.
- Update upstream to 0.22.0a7 which handle proxy with https for webadmin
- Update readme: add information about webadmin on root path and how to access api.
-
2016-08-09 18:35:09 +02:00
Moul
40728d547d [fix] upgrade: fix syntax. 2016-07-23 15:04:07 +02:00
Moul
2f0a7722c8 [enh] close #7: enable ARM build which works.
- enable ARM build which works
- update upstream to 0.20.0
2016-07-03 11:47:35 +02:00
Moul
48df5a49b0 [enh] remove data and conf. 2016-06-28 13:55:13 +02:00
Moul
913d698e11 [enh] scripts: add futur access management for admin on /duniter and public access on /duniter/api. 2016-06-24 12:19:02 +02:00
Moul
32d3690e90 [enh] retrieve admin argument and store it. 2016-06-24 11:57:31 +02:00
Moul
38dddb4bba [fix] scripts: check CPU arch before doing modifications on the system. 2016-06-24 11:49:05 +02:00
Moul
6870bab1a2 [fix] upgrade retrieve port arguments. 2016-06-23 17:53:54 +00:00
Moul
283f1c0920 [fix] upgrade: access to web-ui.
- Disable set -u because of unbounding variable on $nginx_conf
- Retrieve domain and path arguments
- Remove trailling "/" on path var
- Grant access to /duniter path on the SSO
2016-06-23 12:57:52 +00:00
Moul
f61cc3606f [enh] use webstart cmd to launch duniter-ui. 2016-06-23 12:47:19 +00:00
Moul
c90a6ddc3e [enh] upgrade nginx conf in upgrade script. 2016-06-23 11:29:22 +00:00
Moul
e6ac3173c8 [enh] Retrieve arguments via environment variables. 2016-06-23 11:27:00 +00:00
Moul
6705e38248 [enh] scripts: use helpers. 2016-06-23 11:12:33 +00:00
Moul
6bfab67ead [enh] use variable for Nginx conf file path. 2016-06-23 10:23:24 +00:00
Moul
200e5b12d8 [enh] store $arch and retrieve it in upgrade script. 2016-06-23 10:22:49 +00:00
Moul
34f9d6f821 [enh] scripts: some cleanning. 2016-06-23 11:33:24 +02:00
Moul
b66d6c08ff [enh] add working upgrade script. 2016-06-22 18:42:13 +00:00
Moul
be1003a318 [enh] retrive upstream version from a file. Upgrade to v0.20.0a86 2016-06-22 18:31:03 +00:00
Moul
45244f04e0 [enh] enhance way of retrieving debian packages
- use one line to retrieve the debian package
- use `--quiet` option for wget command to avoid warning messages about downloading
2016-06-01 11:38:51 +00:00
Moul
e47e44ad61 [mfix] spelling. 2016-05-31 22:42:53 +00:00
Moul
5dc34890eb [fix/Enh] Nginx conf wasn't applied. Add set -eu.
- [fix] do not move in /twp directory. Manage Debian package from current directory.
- [enh] add 'set -eu' in install and update scripts. Remove it from remove script.
2016-05-31 22:42:53 +00:00
Moul
d4fd65ba63 [fix] launch duniter with root user. 2016-05-31 22:42:53 +00:00
Moul
8af377ec38 [enh] enhance way of retrieving debian packages from GitHub 2016-05-31 22:42:53 +00:00
Moul
37d8575af7 [enh] install/remove scripts: use new shell helpers from YunoHost 2.4. 2016-05-31 22:42:53 +00:00
Moul
a09f1540af [enh] remove script: remove package with dpkg. 2016-05-31 22:42:53 +00:00
Moul
0811df144e [enh] install script: download and install duniter-v0.20.0aXX from GitHub releases for x64 and armv7l arch. 2016-05-31 22:42:53 +00:00
Moul
67a632a5d0 [enh] update script: uCoin –> Duniter. 2016-05-31 22:42:53 +00:00
Moul
baf705770f [enh] remove script: uCoin –> Duniter. 2016-05-31 22:42:53 +00:00
Moul
e0ab29c920 [enh] install script: uCoin –> Duniter. 2016-05-31 22:42:53 +00:00
Moul
c2a68e9866 Fix log path. 2016-05-31 22:42:53 +00:00
Moul
30ab797b20 Updates. 2016-05-31 22:42:53 +00:00
Moul
0312ea326b Should works with this. 2016-05-31 22:42:53 +00:00