5111 Commits

Author SHA1 Message Date
nymkappa
e7e9c6d4a0 Fix wrong skeleton labels 2022-09-06 16:43:22 +02: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
nymkappa
a4ae8d185e Show that we don't know where a node is because it's running on tor 2022-09-06 10:51:14 +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
97d87e2b8b Show tooltip on location is truncated 2022-09-04 12:02:40 +02:00
nymkappa
1cb2181d78 Only show active channels on world map 2022-09-04 09:35:31 +02:00
nymkappa
44f84770be When using clightning, use listchannels.delay as cltv_delta 2022-09-04 09:23:49 +02:00
Felipe Knorr Kuhn
72f45230c5 Fix sed command for the pools json urls 2022-09-03 09:23:55 -07: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
Felipe Knorr Kuhn
a0b24913e0 Merge branch 'master' into simon/eslint-triple-equals 2022-09-01 22:51:07 -07: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
Wes van der Vleuten
5847551aaa Added missing backend docker config 2022-09-01 06:50:42 +02:00
Mononaut
4f7ce3cc53 Use new mempool preview image as default 2022-08-31 20:40:24 +00:00
Mononaut
ed000e25bd Fix null timestamps on transaction previews 2022-08-31 18:21:24 +00:00
Mononaut
8bd4fcdab6 Better fix for unfurler race condition 2022-08-31 17:24:56 +00:00
wiz
5300f84e77 Merge pull request #2480 from mempool/simon/node-alias-ellipsis
Node aliase ellipsis
2022-08-31 15:35:17 +02:00
softsimon
b06843f162 Node aliase ellipsis
fixes #2455
2022-08-31 16:21:16 +03:00
wiz
d4342be9eb Merge pull request #2474 from mempool/simon/search-results-greyed
Grey out inactive search results
2022-08-31 14:55:40 +02:00
wiz
b3351f95ee Merge pull request #2478 from mempool/nymkappa/bugfix/mysql-inject
Fixes possible mysql injectin in channels.api
2022-08-31 14:52:14 +02:00
wiz
a89de640ec Merge branch 'master' into simon/search-results-greyed 2022-08-31 14:45:04 +02:00
wiz
44ac51ff52 Merge branch 'master' into nymkappa/bugfix/mysql-inject 2022-08-31 14:41:56 +02:00
wiz
6b45d6dace Merge pull request #2475 from mempool/simon/channel-tx-details-button
Channel txs details buttons
2022-08-31 14:41:25 +02:00
wiz
f46d2128a7 Merge pull request #2477 from mempool/nymkappa/bugfix/node-header-layout
Fix node header layout
2022-08-31 14:38:11 +02:00
wiz
d786bf7f28 Merge pull request #2476 from mempool/nymkappa/feature/closed-channels-sort
Sort closed channels by closing_date, updated_at
2022-08-31 14:34:17 +02:00
wiz
e7ab1f8b7b Merge branch 'master' into simon/channel-tx-details-button 2022-08-31 14:27:18 +02:00
wiz
9f83c30021 Merge branch 'master' into nymkappa/bugfix/node-header-layout 2022-08-31 14:23:14 +02:00
wiz
ca7ce8407c Merge branch 'master' into nymkappa/feature/closed-channels-sort 2022-08-31 14:22:25 +02:00