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

38 commits

Author SHA1 Message Date
tituspijean
66b6b8d6da [autopatch] Fix Host and X-Forwarded-For header spoofing 2024-02-21 14:12:21 +01:00
Moul
832a2d36ce Bump to v1.8.7 for 64 bits
No build for ARM yet
Test upgrade from ARM v1.8.5 bump commit
2023-07-12 19:15:43 +02:00
Moul
70eaf1b90a Bump ARM Duniter Deb pkg to v1.8.5, requires YnH v11
Set YunoHost/Debian Bullseye v11 as requirement
since the ARM package was built on Bullseye and doesn't
support Buster
2023-01-15 19:49:51 +01:00
Moul
76a53cf629 Bump Duniter 64bits to v1.8.5 2022-09-05 08:34:51 +02:00
Moul
2ac36db729 Bump to Duniter v1.8.3
Only bumped 64/32 bits to v1.8.3, since the ARM
Debian package requires YnH/Debian v11, and
I don't want people to prematurely upgrade their
instance to YnH/Debian v11 in order to update
Duniter to v1.8.3 in order to be able to continue
on the hard-fork

Test upgrade from v1.8.2~ynh2
2022-08-17 21:46:54 +02:00
Moul
e862b9e7ed [ref] Protect webadmin, mv BMA and webadmin paths to make the CI happy
\# Protect webadmin

Modify 'main' permission group to protect the webadmin to the admin

Create 'apis' permission publicly accessible to make BMA and WS2P APIs
accessible to whole Internet and set --auth_header=false

\# Nginx misconfiguration

BMA is exposed on port 10901
The webadmin on port 9220
this explains why BMA was not accessible
because it was redirected to the webadmin
Was probably done to solve following problem with the CI

\# Move BMA to /bma and webadmin to root path '/'

Move the WebAdmin from '/webadmin' to '/' root path
Move BMA from '/' to '/bma/' path

In order to have passing access test on the root path with the CI
BMA returns a 502 HTTP error since no synchronization have been performed
therefore there is nothing to be displayed

Cesium and Silkaj support connection to BMA endpoint with a path in

\## TODOs in Duniter v1
There is no synchronization possible to duniter_ynh BMA api,
since Duniter doesn’t support specifying a path to 'sync' command

Can’t define a custom BMAS endpoint with /bma path in
The endpoint doesn’t stay, it seems its overwritten by the fact that when
specifying port 443, BMAS endpoint get created and overwrites this one
ynh_exec_as duniter duniter config --addep "BMAS $domain 443 /bma"
This is not as important as having a correct WS2P endpoint defined
for inter-node connection
Nice to have for BMA endpoint discovery

\# Clean Nginx config
Define once by moving WS, and SSOwat panel support to the common part
Remove /modules path, not really used anymore
Replace 127.0.0.1 by localhost
2022-05-02 20:01:52 +02:00
Moul
e6f5e31467 Bump Duniter v1.8.2 2022-04-10 18:17:37 +02:00
Moul
3d858c73ae [fix] #96: Add back ARM support 2022-04-05 18:43:35 +02:00
yalh76
de9175e1f9 Apply last example_ynh 2022-03-12 16:55:59 +01:00
ericgaspar
439659d1c8
update 2021-11-25 19:38:26 +01:00
Moul
67e49bfb1e [fix] #89: Use new permission system:
Requires YnH v4.1 which implements this new permission system
Use ynh_permission_create helper
Set Duniter admin interface accessible to the selected admin
BMA is set as accessible to visitors by default
Remove / −> /webui redirection, since this change adds a tile to the admin
Remove deprecated permission system settings
Re-enable the web admin since it is protected again
Rename f() name
2021-04-13 20:55:20 +02:00
Moul
aacb2791d6 [fix] #89: Disable web admin since it is no longer protected
with the new permission system brought by YunoHost v4.1
2021-03-28 16:34:17 +02:00
Moul
4803879f5c [enh] #21: set Duniter as a systemd service
- use 'systemctl' instead of 'service'
2020-06-29 17:58:28 +02:00
Moul
5dc4d3b259 [mod] nginx: remove cesium proxy_pass 2018-11-29 16:47:13 +01:00
Moul
b32855f1a4 [enh] #64: configure Nginx and Duniter to handle WS2P API. 2018-03-09 08:37:46 +01:00
Cédric Moreau
17d49d75c6 [fix] HTTP GET parameters were not shared to modules 2017-06-21 11:45:23 +02:00
Cédric Moreau
cbc22059ee Add Nginx conf for modules 2017-06-14 11:13:00 +02:00
Moul
2ddb2cc18e [fix] nginx conf: typo.
- bad copy/pasta from:
  - https://github.com/duniter/duniter/issues/598#issuecomment-249557322
  - https://github.com/duniter/duniter/issues/401#issuecomment-238034339
2017-04-20 15:21:16 +02:00
Cédric Moreau
63d888933d The "About" page is not showing Duniter logo 2017-03-17 15:16:56 +01:00
Cédric Moreau
e63ca82933 WebSocket timeout set to 1 day 2017-03-03 10:32:53 +01:00
Cédric Moreau
821d2e2c8c [enh] Change configuration to have HTTPS only 2017-02-15 10:17:45 +01: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
ad0e6a8b78 [mod] update upstream to v0.30.0. 2016-08-19 17:45:35 +02:00
Moul
3d52501426 [enh] update upstream version to 0.22.0. 2016-08-09 20:38:29 +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
e2c49b599b [enh] nginx: add better nginx conf file wich should manage sockets, but it's not working. 2016-08-08 14:38:03 +02:00
Moul
38682195c5 [up] update upstream to v0.21.3. 2016-08-08 13:50:07 +02:00
Moul
399153f5de [up] update upstream to v0.20.3. 2016-07-30 13:00:24 +02:00
Moul
87c9aedf69 [up] update upstream to v0.20.2. 2016-07-28 12:25:26 +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
6cca02f01c [fix] nginx conf: make it works on every path. 2016-06-23 18:05:13 +00:00
Moul
f47ce16fa1 [enh] nginx conf: proxy_pass to access the ui on /duniter/ and the API on /duniter/api. 2016-06-23 17:53:34 +00:00
Moul
58b7fbd356 [enh] update upstream to alpha87. 2016-06-23 16:26:08 +00:00
Moul
f6020c33c2 [enh] set proxy_pass to duniter-ui. 2016-06-23 12:55:56 +00:00
Moul
85ad1a787f [enh] Include YunoHost tile. 2016-06-23 12:46:03 +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
e47e44ad61 [mfix] spelling. 2016-05-31 22:42:53 +00:00
Moul
49d04d56cd Clone from https://moul.re/repo/moul/ucoin_ynh/ 2016-05-31 22:42:52 +00:00