4029 Commits

Author SHA1 Message Date
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
softsimon
4f75d13225 Updating backend package-lock 2022-07-10 14:23:12 +02:00
softsimon
d94a75915a Revert "Updating package lock"
This reverts commit bd89bf885dff9bdf456db97498c4bc29f2177d89.
2022-07-10 14:21:33 +02:00
softsimon
457252fbc0 Fixing titles. 2022-07-10 14:07:53 +02:00
softsimon
09a1dc4bf7 Updating package lock 2022-07-10 14:03:49 +02:00
wiz
39361497bf Merge branch 'master' into simon/lightning-pr 2022-07-10 14:00:02 +02:00
wiz
a47c71a07c Merge pull request #2057 from mempool/simon/transifex-pull-0710
Pull from transifex
2022-07-10 13:57:58 +02:00
wiz
b699ee7cd9 Merge pull request #2052 from mempool/nymkappa/bugfix/blocks-list-pagination-error
Fix pagination issue in blocks list
2022-07-10 13:56:38 +02:00
wiz
7f1c66b5ea Merge pull request #2051 from mempool/nymkappa/bugfix/diff-adj-table-raw-db-data
Fix diff adj table using raw db value
2022-07-10 13:14:56 +02:00
wiz
ecf731d78a Merge branch 'master' into nymkappa/bugfix/diff-adj-table-raw-db-data 2022-07-10 12:56:30 +02:00
nymkappa
f09228ada5 Fix first diff adjustmeent if INDEXING_BLOCK_AMOUNT is not -1 2022-07-10 12:39:22 +02:00
nymkappa
677771b1fb Use raw diff adjustment for diff adj table widget 2022-07-10 12:39:21 +02:00
wiz
85acee5365 Merge branch 'master' into nymkappa/bugfix/blocks-list-pagination-error 2022-07-10 12:37:51 +02:00