4725 Commits

Author SHA1 Message Date
Felipe Knorr Kuhn
34ef9ca8a3 Merge branch 'master' into master 2022-09-08 10:03:36 -07:00
softsimon
d94131b1db Merge pull request #2518 from mempool/nymkappa/feature/only-scan-closed-chan-new-block
Only scan for closed channels when there is a new block
2022-09-08 17:44:10 +02:00
softsimon
5fbe90d2b7 Merge pull request #2517 from mempool/nymkappa/bugfix/missing-loaders
Add skeleton loader in node per isp/country lists
2022-09-08 15:59:21 +02:00
softsimon
336c9954ac Merge pull request #2512 from mempool/nymkappa/feature/closed-channel-info
If a channel is closed, show closing date instead of last update
2022-09-08 15:49:39 +02:00
softsimon
db116e68eb Merge pull request #2504 from mempool/nymkappa/bugfix/placeholder-channel-page
Show '-' when value is not defined in channel page
2022-09-08 15:39:15 +02:00
nymkappa
b0106f6958 Fix missing space between value and label 2022-09-08 14:33:46 +02:00
wiz
8c67c268ea Merge pull request #2529 from mempool/nymkappa/special-feature-for-wiz-because-its-cool/change-isp-threshold
Change isp pie chart threshold from 0.5% to 0.4%
2022-09-07 22:16:27 +02:00
nymkappa
628f11208f Change isp pie chart threshold from 0.5% to 0.4% 2022-09-07 21:53:42 +02:00
wiz
3644c302f4 Merge pull request #2523 from mempool/nymkappa/bugfix/fix-ln-seo
Fix missing seo in lightning pages
2022-09-07 15:37:30 +02:00
nymkappa
5c651bbdea Fix missing seo in lightning pages 2022-09-07 15:25:03 +02:00
wiz
0d31432b76 Merge pull request #2522 from mempool/nymkappa/feature/node-world-map
Show clearnet nodes on world map
2022-09-07 15:23:34 +02:00
wiz
814b1fdb7f Merge branch 'master' into nymkappa/feature/node-world-map 2022-09-07 15:03:46 +02:00
wiz
c252d9218a Merge pull request #2454 from Emzy/ops/cahnge-restart
Remove the mempool restart script in prod install
2022-09-07 15:02:34 +02:00
wiz
8bd367f2e8 Merge pull request #2096 from erikarvstedt/backend-packaging
Simplify packaging for backend
2022-09-07 15:01:18 +02:00
wiz
00cd2545ac Merge pull request #2500 from mempool/nymkappa/bugfix/node-list-location-label
Renamed "City" to "Location"
2022-09-07 15:00:23 +02:00
wiz
ffbee04283 Merge branch 'master' into nymkappa/bugfix/node-list-location-label 2022-09-06 22:58:59 +02:00
wiz
e869565284 Merge pull request #2502 from mempool/nymkappa/bugfix/node-per-country
Show 0 sats when country has no liquidity
2022-09-06 22:58:27 +02:00
wiz
2016d73de9 Merge branch 'master' into nymkappa/bugfix/node-per-country 2022-09-06 22:47:07 +02:00
wiz
c689881a03 Merge pull request #2501 from mempool/nymkappa/bugfix/capacity-liquidity
Renamed capacity to liquidity
2022-09-06 22:40:52 +02:00
nymkappa
54b6976ef6 Show clearnet nodes on world map 2022-09-06 19:33:07 +02:00
softsimon
1652969687 Merge pull request #2472 from hunicus/lightning-api-docs
Add lightning api docs
2022-09-06 20:11:56 +03:00
softsimon
b92efc5d56 Merge pull request #2469 from mempool/nymkappa/bugfix/only-show-active-channels-in-map
Only show active channels on world map
2022-09-06 20:01:44 +03:00
hunicus
f0520beaf8 Add signet lightning api docs 2022-09-06 10:29:04 -04:00
hunicus
afb9d879f8 Add testnet lightning api docs 2022-09-06 10:28:56 -04:00
hunicus
40777d7d2a Add mainnet lightning api docs 2022-09-06 10:28:43 -04:00
softsimon
47aef1d4dc Merge pull request #2485 from mononaut/restyle-lightning-previews
Restyle lightning preview titles to match main pages
2022-09-06 15:03:52 +03:00
nymkappa
bd677e9ba8 Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
nymkappa
6673b3d2a2 Add skeleton loader in node per isp/country lists 2022-09-06 11:01:46 +02:00
Wes van der Vleuten
cd3a59273e Fixed forgotten CLN instance 2022-09-05 19:35:55 +02:00
Wes van der Vleuten
97e918e212 Fixed CLN to CLIGHTNING 2022-09-05 19:02:36 +02:00
nymkappa
7a3761f9ac Show closing date in closed channel list 2022-09-04 19:39:28 +02:00
nymkappa
a33b31a8ab If a channel is closed, show closing date instead of last update 2022-09-04 19:12:01 +02:00
nymkappa
1cb2181d78 Only show active channels on world map 2022-09-04 09:35:31 +02:00
nymkappa
1de431045a Show '-' when value is not defined in channel page 2022-09-02 16:17:48 +02:00
Erik Arvstedt
4d138bcc97 backend: Rename build variable DOCKER_COMMIT_HASH -> MEMPOOL_COMMIT_HASH
This var is useful for all build methods, not only Docker.

This is an internal renaming that doesn't change the public Docker
backend image API.
2022-09-02 12:50:44 +02:00
Erik Arvstedt
74f90c73d8 docker/init.sh: Remove unused code
This code has no effect because string `master` does not exist in `api/backend-info.ts`.
2022-09-02 12:50:44 +02:00
Erik Arvstedt
8f94788248 backend: Create npm script package
This script creates a directory `backend/package` which only contains the
files required by the backend at runtime:
- The contents of `dist`
- `node_modules` minus `typescript` and `@typescript-eslint`.
  These packages are build-only and are larger than the remaining whole package.

By using only `backend/package` in the Docker image,
the backend content size in the image is decreased by 70% to 31M.
This, along with the improved copying in the Dockerfile, reduces the
backend image size by 44% to 200M.
(Step `RUN chown -R 1000:1000 /backend ...` created a layer that effectively
duplicated the backend.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
4678407473 backend: Fetch package version at build time
Extract `fetch-version.ts` which is called at build time to create
file `dist/api/version.json`.
This file is read by `backend-info.ts` at runtime.

This also fixes handing over the Git commit hash to the backend app
in the Docker backend image, which was broken as of 2022-07-12.
(Reason: The commit hash was previously required at runtime, but was
only provided at build time.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
a4d54dec47 backend: Read mtgox-weekly.json from dist 2022-09-02 11:10:47 +02:00
Erik Arvstedt
6d6e7ce108 backend: Add config file env var 2022-09-02 11:08:42 +02:00
nymkappa
3f913941ea Fixes #2495 2022-09-02 10:28:54 +02:00
nymkappa
0a6b63f979 Renamed capacity to liquidity 2022-09-02 10:23:02 +02:00
nymkappa
fe0638db1b Use shared component in node ranking list 2022-09-02 10:08:25 +02:00
nymkappa
95e5f6aada Renamed "City" to "Location" 2022-09-02 09:30:07 +02:00
Mononaut
d9b47f3546 Update block, address & tx preview layouts 2022-09-01 17:01:31 +00:00
Mononaut
595bfc2551 Move lightning preview headers to top bar 2022-09-01 15:49:15 +00:00
Mononaut
ad6642245d Restyle ln preview titles to match main pages 2022-09-01 15:49:12 +00:00
wiz
ea581c9499 Merge pull request #2484 from mononaut/new-default-preview-img
Use new mempool preview image as default
2022-09-01 11:09:21 +02:00
wiz
9fcd28addc Merge pull request #2483 from mononaut/fix-unfurler-race-condition-again
Fix unfurler race condition again
2022-09-01 10:18:59 +02:00
Wes van der Vleuten
3190144b9c Accept the CLA for @WesVleuten 2022-09-01 07:51:18 +02:00