Moul
b32855f1a4
[enh] #64 : configure Nginx and Duniter to handle WS2P API.
2018-03-09 08:37:46 +01:00
Moul
fc66a05b75
[mod] #63 , #50 : retrieve release from GitLab. Set to v1.6.21.
2018-03-02 15:26:54 +01:00
Cédric Moreau
a44139f31b
[fix] "/modules" URI should not be protected
2017-06-21 11:31:21 +02:00
Cédric Moreau
3689cc85d7
Remove Cesium related stuff
2017-06-14 16:42:40 +02:00
Cédric Moreau
b29f4e4465
Protect some URLs
2017-06-14 16:42:40 +02:00
Cédric Moreau
d9494b91de
Create upgrade
2017-06-14 16:40:34 +02:00
Cédric Moreau
4416f892d9
Remove sync parameters
2017-06-14 16:40:34 +02:00
Cédric Moreau
fc3ae457f1
No initial sync
2017-06-14 16:40:34 +02:00
cgeek
d55d168241
[fix] #54 Missing protection of URL /modules
2017-06-14 16:32:43 +02:00
Moul
92cbcf0584
[fix] add missing import on remove script.
2017-06-14 11:42:33 +02:00
Cédric Moreau
706154ea6c
Cesium is no more embedded
2017-06-13 18:11:07 +02:00
nemsia
9611455fcf
[fix] Switch to latest duniter release
2017-05-11 00:01:25 +02:00
Moul
2d4040a9cf
[fix] #21 : stop daemon only when running.
2017-03-31 11:36:28 +02:00
Moul
197f9369f4
[mod] move as a f() daemon stop and debian pkg removal.
2017-03-31 11:33:59 +02:00
Moul
2a09e31afa
[mod] use variable for cesium conf path.
2017-03-20 21:04:00 +01:00
Moul
201cd7a52b
[enh] don't ask for port as it's only used locally. Set it at duniter official value.
2017-03-20 21:01:47 +01:00
Cédric Moreau
a824958bdf
[fix] #42 Install latest version available
2017-03-17 15:53:28 +01:00
Moul
6fa1bb77ba
[mod] package cleannings.
2017-03-14 09:41:28 +01:00
Moul
3ecb69de8f
[mod] scripts: use 'duniter' command as '' var won't works on
...
multi-instances.
2017-03-14 09:07:39 +01:00
Moul
f754400f3a
[fix] endpoint addition do not works with other configurations.
2017-03-12 20:00:12 +01:00
Moul
21da4e55b9
[enh] Use BMA with port 80. Add BMAS endpoint with port 443.
2017-03-09 18:34:53 +01:00
Moul
c410b9cad2
[enh] Set URL redirection from root url path to webadmin.
2017-03-05 16:19:13 +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
Moul
f353a1962c
Add shell to remove daemon.
2016-05-31 22:42:53 +00:00
Moul
e51e053c3f
Fix #5 (2).
2016-05-31 22:42:53 +00:00
Moul
1e6b9d4b2e
Fix #5 . Stop ucoin daemon.
2016-05-31 22:42:53 +00:00
Moul
369fd22e6b
Fix manifest. Display sync logs.
2016-05-31 22:42:52 +00:00
Moul
9a50542e02
Fixes
2016-05-31 22:42:52 +00:00
Moul
4562cf832e
Add CPU limit.
2016-05-31 22:42:52 +00:00
Moul
7ad95d01e3
Flash back to old way to check domain/path availability.
2016-05-31 22:42:52 +00:00
Moul
1dcfd76956
Remove useless command.
2016-05-31 22:42:52 +00:00
Moul
752856dc78
Checking node availability.
2016-05-31 22:42:52 +00:00
Moul
c92162d5d8
Some cleanning.
2016-05-31 22:42:52 +00:00
Moul
145e0d537b
Finally works. I could configure, sync. But start didn't works.
2016-05-31 22:42:52 +00:00
Moul
df331ef659
Try to fix environnment variables reloading. Fix sed on the proxy_pass.
2016-05-31 22:42:52 +00:00
Moul
33843644d8
Try with exec.
2016-05-31 22:42:52 +00:00
Moul
55dd9162b3
Remove relicats. Install from local install script. Need to try the relaunch of the shell.
2016-05-31 22:42:52 +00:00
Moul
9984f99cc5
Remove old way to install.
2016-05-31 22:42:52 +00:00
Moul
ff3eec7151
Try install with the install script.
2016-05-31 22:42:52 +00:00
Moul
49d04d56cd
Clone from https://moul.re/repo/moul/ucoin_ynh/
2016-05-31 22:42:52 +00:00
Moul
940f146d5f
Update from https://moul.re/repo/moul/ucoin_ynh/
2016-05-31 22:42:52 +00:00
Moul
de060047d7
Update install
...
Works without full path.
2016-05-31 22:42:51 +00:00
Moul
0627f876a2
Good path.
...
Good path for binary/executable.
2016-05-31 22:42:49 +00:00
Moul
ccc312226c
add new way to get IPV4
2016-05-31 22:42:33 +00:00
Moul
9503df8899
update. Now it works on YunoHost :)
2016-05-31 22:42:33 +00:00
Moul
523d9fb61a
try install with a clone, cause there is an issue installing on YunoHost
2016-05-31 22:42:33 +00:00
Moul
d88b206720
fix cpu and ipv4 conf, there is still an issue installing on Debian: I can't find the binary
2016-05-31 22:42:33 +00:00
Moul
df711546e4
fix config
2016-05-31 22:42:33 +00:00
Moul
1f61c656cb
update package, add cpu conf
2016-05-31 22:42:33 +00:00
Moul
4b6e84a0c5
update scripts
2016-05-31 22:42:33 +00:00
Moul
ecd048b3d7
first commit
2016-05-31 22:42:33 +00:00