3991 Commits

Author SHA1 Message Date
Erik Arvstedt
9f9d75f601 CONTRIBUTING.md: Ask contributors to sign their commits 2022-07-11 19:42:56 +02:00
softsimon
bde6bdd6c9 Refactoring backend routes code 2022-07-11 19:15:28 +02:00
wiz
d69dfdd0ad Merge pull request #2069 from mempool/nymkappa/bugfix/update-log-indexer
[Indexer] Set log level accordingly - Remove indexing ETAs
2022-07-11 18:43:42 +02:00
wiz
b62985bad9 Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:18:20 +02:00
wiz
83e388338a Merge pull request #2075 from mempool/simon/logger-lightning
Add lightning to logger
2022-07-11 18:18:11 +02:00
wiz
9ccf66a6b1 Merge pull request #2074 from mempool/simon/maxmind
Use maxmind to store node locations
2022-07-11 18:18:00 +02:00
softsimon
e09d5c1682 Add lightning to logger 2022-07-11 18:02:54 +02:00
wiz
d70a5873c4 Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:01:15 +02:00
wiz
cc3bbcc6cb Merge pull request #2070 from erikarvstedt/fix-resources-access
frontend: Always reference `resources` relative to root
2022-07-11 18:01:05 +02:00
softsimon
f305f4f96f Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
wiz
a07dd16562 Merge branch 'master' into fix-resources-access 2022-07-11 17:12:24 +02:00
wiz
926a127f6d Merge pull request #2073 from mempool/simon/populate-historical-node-data
Populate historical node data
2022-07-11 17:08:28 +02:00
wiz
6daf1a17e2 Merge pull request #2071 from mempool/wiz/add-maxmind-geoipdb
Add maxmind geoip-db update utility to prod installer
2022-07-11 16:42:24 +02:00
wiz
66558ae1f0 Merge branch 'master' into simon/populate-historical-node-data 2022-07-11 16:42:04 +02:00
wiz
5349641ee6 Merge pull request #2072 from erikarvstedt/nxinx-gixy-fixes
nginx: Fix errors found by gixy (nginx conf static analyzer)
2022-07-11 16:41:56 +02:00
wiz
176b0fe18f Merge branch 'master' into simon/populate-historical-node-data 2022-07-11 15:58:58 +02:00
Erik Arvstedt
8e5b609587 nginx: Fix gixy test host_spoofing
This patch was generated by replacing:
`proxy_set_header Host $http_host` ->
`proxy_set_header Host $host`

Script:
find . -type f -exec sed -i 's|proxy_set_header Host \$http_host|proxy_set_header Host \$host|g' {} \;

Fixes test error:
```
>> Problem: [host_spoofing] The proxied Host header may be spoofed.
Description: In most cases "$host" variable are more appropriate, just use it.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md
```

`proxy_set_header Host $host` is indeed the recommended default proxy header setting.
2022-07-11 15:32:37 +02:00
Erik Arvstedt
a88388e311 nginx: Fix gixy test http_splitting
Fixes test error:
```
>> Problem: [http_splitting] Possible HTTP-Splitting vulnerability.
Description: Using variables that can contain "\n" or "\r" may lead to http injection.
```

Summary: `$uri` should never be used in `return` statements.
See: https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md

In this case, `$uri` always equals `/`, so just replace it.
2022-07-11 15:25:42 +02:00
softsimon
739e677c5b Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
wiz
bc6b96fcfb Add maxmind geoip-db update utility to prod installer 2022-07-11 14:32:38 +02:00
Erik Arvstedt
55b88186c0 frontend URLs: ./resources -> /resources
This patch was created by:
find ./frontend -type f -exec sed -i 's|\./resources|/resources|g' {} \;
2022-07-11 13:33:25 +02:00
Erik Arvstedt
3aedd9b2f1 frontend URLs: *../resources -> /resources 2022-07-11 13:32:23 +02:00
wiz
ead9c69167 Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 11:31:39 +02:00
wiz
7eb4414518 Merge pull request #2067 from mempool/nymkappa/feature/block-api-dynamic-caching
Set /block API cache duration according to block age
2022-07-11 11:30:45 +02:00
wiz
b209db9ed4 Merge branch 'master' into nymkappa/feature/block-api-dynamic-caching 2022-07-11 11:19:03 +02:00
wiz
32034c0364 Merge pull request #2066 from mempool/nymkappa/bugfix/graph-buttons
Fix graphs button layout
2022-07-11 11:18:01 +02:00
nymkappa
e9b7bf2838 [Indexer] Set log level accordingly - Remove indexing ETAs 2022-07-11 11:07:41 +02:00
wiz
32e3f173bb Merge branch 'master' into nymkappa/bugfix/graph-buttons 2022-07-11 10:57:33 +02:00
wiz
5c39e86703 Merge pull request #2065 from mempool/nymkappa/bugfix/liquid-block-api
Liquid always uses esplora (regression of #2039)
2022-07-11 10:56:42 +02:00
nymkappa
433384bf0d Set /block API cache duration according to block age 2022-07-11 09:53:32 +02:00
nymkappa
5f0c0b21f4 Fix graphs button layout 2022-07-11 09:36:42 +02:00
nymkappa
d9d8c75fe4 Liquid always uses esplora (regression of #2039) 2022-07-11 08:41:28 +02:00
wiz
183be34eac Merge pull request #2026 from mempool/dependabot/npm_and_yarn/frontend/tinyify-3.1.0
Bump tinyify from 3.0.0 to 3.1.0 in /frontend
2022-07-10 19:35:00 +02:00
softsimon
764a12cf4d Backfill node_stats 2022-07-10 19:28:21 +02:00
wiz
17957f5b1a Merge branch 'master' into dependabot/npm_and_yarn/frontend/tinyify-3.1.0 2022-07-10 19:24:39 +02:00
wiz
c6f35b86f6 Merge pull request #1981 from mempool/nymkappa/feature/ln-chart-in-graph-component
Add LN charts into `/graphs` and add timespan selection
2022-07-10 19:17:42 +02:00
nymkappa
ebc8a7ceb6 Add Lightning charts in /graph 2022-07-10 19:03:50 +02:00
wiz
138bef0807 Merge pull request #1980 from mempool/nymkappa/feature/channels-stats-widget
Index LN channels stats and show them in dashboard widget
2022-07-10 17:52:31 +02:00
softsimon
f0c7413d96 Removing empty column 2022-07-10 17:40:46 +02:00
wiz
665becada4 Fix kappa's accidental search and replace 2022-07-10 17:28:47 +02:00
wiz
36991f0a82 Fix number of arguments in SQL query 2022-07-10 17:24:43 +02:00
nymkappa
f5b3ae5238 Index daily channel stats and show in dashboard widget 2022-07-10 17:09:01 +02:00
wiz
f7adf3a17c Merge pull request #1978 from mempool/nymkappa/feature/ln-nodes-networks
Add nodes per network chart component
2022-07-10 16:42:09 +02:00
nymkappa
7dc7ccd1c9 Add nodes per network chart component 2022-07-10 16:22:53 +02:00
wiz
f5ec7477b8 Merge pull request #2059 from mempool/nymkappa/bugfix/diff-rounding
Don't round signet difficulty in table and chart
2022-07-10 16:17:00 +02:00
wiz
2402b16ba1 Merge branch 'master' into nymkappa/bugfix/diff-rounding 2022-07-10 15:08:50 +02:00
wiz
f996cbfa04 Merge pull request #1976 from mempool/simon/lightning-pr
Lightning
2022-07-10 15:08:37 +02:00
wiz
c35df8ed12 Bump version to v2.5.0-dev 2022-07-10 14:53:57 +02:00
wiz
0da679200b Fix HTTP 501 -> HTTP 400 suggestions in PR review 2022-07-10 14:51:09 +02:00
nymkappa
f7a1e4d0af Don't round signet difficulty in table and chart 2022-07-10 14:32:15 +02:00