Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.14.1 #1311

Merged
merged 24 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5523794
Merge pull request #1299 from Ride-The-Lightning/loop-version
ShahanaFarooqui Oct 4, 2023
aa9bf35
Typescript Configuration
ShahanaFarooqui Oct 4, 2023
6079faa
CL to CLN migration cleanup
ShahanaFarooqui Oct 4, 2023
f8393d5
Bug fix: LND Payment sort
ShahanaFarooqui Oct 4, 2023
3b2f178
Merge pull request #1300 from Ride-The-Lightning/lnd-payments-sort
ShahanaFarooqui Oct 4, 2023
89d8a44
Jasmin test fix
ShahanaFarooqui Oct 4, 2023
52ad999
Bug fix: ECL routing fee msat to sat conversion #1251
ShahanaFarooqui Oct 4, 2023
0040d38
Merge pull request #1301 from Ride-The-Lightning/ecl-routing-fee
ShahanaFarooqui Oct 4, 2023
1acbfab
Lint config
ShahanaFarooqui Oct 4, 2023
95c0b7f
Changed date format
ShahanaFarooqui Oct 4, 2023
5ed34f0
Fixed tests
ShahanaFarooqui Oct 4, 2023
66bc435
Merge pull request #1303 from Ride-The-Lightning/csv-download
ShahanaFarooqui Oct 4, 2023
b603045
Add RTL donations link
ShahanaFarooqui Oct 5, 2023
53eb5f0
Merge pull request #1304 from Ride-The-Lightning/rtl-donation
ShahanaFarooqui Oct 5, 2023
d478356
LND Taproot Channel
ShahanaFarooqui Oct 5, 2023
74af120
Changed from channel_type to commitment_type
ShahanaFarooqui Oct 5, 2023
ed5a493
Merge pull request #1305 from Ride-The-Lightning/lnd-taproot
ShahanaFarooqui Oct 5, 2023
14fd866
Bug fix: Manage button link filter #1294 and Page Settings Error
ShahanaFarooqui Oct 6, 2023
36c5895
Merge pull request #1307 from Ride-The-Lightning/ux-link-fixes
ShahanaFarooqui Oct 6, 2023
e4a2ef9
Updated to Angular 16 and removed vulnerabilities
ShahanaFarooqui Oct 6, 2023
13514c7
Merge pull request #1308 from Ride-The-Lightning/ng-16
ShahanaFarooqui Oct 6, 2023
82d87b3
Codebase Linting
ShahanaFarooqui Oct 6, 2023
ec58a24
Merge pull request #1310 from Ride-The-Lightning/ng-lint
ShahanaFarooqui Oct 6, 2023
7ccf4b8
Merge branch 'master' into Release-0.14.1
ShahanaFarooqui Oct 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"root": true,
"ignorePatterns": [
"src/**/*.js"
"backend/**/*.js"
],
"overrides": [
{
Expand All @@ -20,17 +20,18 @@
"extends": [
"plugin:@angular-eslint/all",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/recommended--extra"
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"deprecation/deprecation": "error",
"@angular-eslint/prefer-on-push-component-change-detection": "off",
"@angular-eslint/prefer-standalone-component": "off",
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
"@angular-eslint/use-component-view-encapsulation": "off",
"@angular-eslint/use-injectable-provided-in": "off",
"@typescript-eslint/member-delimiter-style": ["error", { "multiline": { "delimiter": "semi", "requireLast": true}, "singleline": { "delimiter": "comma", "requireLast": false }}],
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/type-annotation-spacing": 0,
"quotes": ["error", "single"],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
Expand Down Expand Up @@ -196,12 +197,14 @@
"@angular-eslint/template/click-events-have-key-events": "off",
"@angular-eslint/template/conditional-complexity": "off",
"@angular-eslint/template/cyclomatic-complexity": "off",
"@angular-eslint/template/elements-content": "off",
"@angular-eslint/template/i18n": "off",
"@angular-eslint/template/no-autofocus": "off",
"@angular-eslint/template/no-call-expression": "off",
"@angular-eslint/template/no-inline-styles": "off",
"@angular-eslint/template/no-interpolation-in-attributes": "off",
"@angular-eslint/template/no-positive-tabindex": "off",
"@angular-eslint/template/prefer-ngsrc": "off",
"@angular-eslint/template/use-track-by-function": "off"
}
}
Expand Down
1 change: 0 additions & 1 deletion backend/controllers/cln/getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export const getInfo = (req, res, next) => {
req.session.selectedNode.ln_version = body.version || '';
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'GetInfo', msg: 'Connecting to the Core Lightning\'s Websocket Server.' });
clWsClient.updateSelectedNode(req.session.selectedNode);
databaseService.loadDatabase(req.session);
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'GetInfo', msg: 'Node Information Received', data: body });
return res.status(200).json(body);
}
Expand Down
1 change: 0 additions & 1 deletion backend/controllers/eclair/getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const getInfo = (req, res, next) => {
body.lnImplementation = 'Eclair';
req.session.selectedNode.ln_version = body.version.split('-')[0] || '';
eclWsClient.updateSelectedNode(req.session.selectedNode);
databaseService.loadDatabase(req.session);
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'GetInfo', msg: 'Node Information Received', data: body });
return res.status(200).json(body);
}).catch((errRes) => {
Expand Down
4 changes: 4 additions & 0 deletions backend/controllers/lnd/channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ export const postChannel = (req, res, next) => {
else if (req.body.trans_type === '2') {
options.form.sat_per_byte = req.body.trans_type_value;
}
if (req.body.commitment_type) {
options.form.commitment_type = req.body.commitment_type;
}
options.form = JSON.stringify(options.form);
logger.log({ selectedNode: req.session.selectedNode, level: 'DEBUG', fileName: 'Channels', msg: 'Channel Open Options', data: options.form });
request.post(options).then((body) => {
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'Channels', msg: 'Channel Opened', data: body });
res.status(201).json(body);
Expand Down
1 change: 0 additions & 1 deletion backend/controllers/lnd/getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export const getInfo = (req, res, next) => {
else {
req.session.selectedNode.ln_version = body.version.split('-')[0] || '';
lndWsClient.updateSelectedNode(req.session.selectedNode);
databaseService.loadDatabase(req.session);
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'GetInfo', msg: 'Node Information Received', data: body });
return res.status(200).json(body);
}
Expand Down
5 changes: 4 additions & 1 deletion backend/controllers/shared/RTLConf.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ export const updateSelectedNode = (req, res, next) => {
req.session.selectedNode = common.findNode(selNodeIndex);
if (req.headers && req.headers.authorization && req.headers.authorization !== '') {
wsServer.updateLNWSClientDetails(req.session.id, +req.session.selectedNode.index, +req.params.prevNodeIndex);
if (req.params.prevNodeIndex !== -1) {
if (req.params.prevNodeIndex !== '-1') {
databaseService.unloadDatabase(req.params.prevNodeIndex, req.session.id);
}
if (req.params.currNodeIndex !== '-1') {
databaseService.loadDatabase(req.session);
}
}
const responseVal = !req.session.selectedNode.ln_node ? '' : req.session.selectedNode.ln_node;
logger.log({ selectedNode: req.session.selectedNode, level: 'INFO', fileName: 'RTLConf', msg: 'Selected Node Updated To ' + responseVal });
Expand Down
4 changes: 4 additions & 0 deletions backend/utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ export class CommonService {
errRes.error = errRes.error.stack || errRes.error.message;
err = JSON.parse(JSON.stringify(errRes));
}
else if (errRes.message || errRes.stack) {
errRes.error = errRes.message || errRes.stack;
err = JSON.parse(JSON.stringify(errRes));
}
if (!selectedNode) {
selectedNode = this.initSelectedNode;
}
Expand Down
1 change: 1 addition & 0 deletions frontend/125.020bb8ec6698fd7e.js

Large diffs are not rendered by default.

80 changes: 79 additions & 1 deletion frontend/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -603,12 +603,90 @@ to represent the company, product, or service to which they refer.**

@ngrx/effects
MIT
The MIT License (MIT)

Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This repository includes a file "debounceSync.ts" originially copied from
https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the
file header for details.


@ngrx/store
MIT
The MIT License (MIT)

Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This repository includes a file "debounceSync.ts" originially copied from
https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the
file header for details.


@ngrx/store-devtools
MIT
The MIT License (MIT)

Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

This repository includes a file "debounceSync.ts" originially copied from
https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the
file header for details.


@otplib/core
MIT
Expand Down Expand Up @@ -3014,7 +3092,7 @@ zone.js
MIT
The MIT License

Copyright (c) 2010-2022 Google LLC. https://angular.io/license
Copyright (c) 2010-2023 Google LLC. https://angular.io/license

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions frontend/456.a54c45d211d6d10c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/570.28ed94d292ccd982.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/758.2801e2da6f8bba94.js

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions frontend/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/main.c97f338354d9cdcc.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/polyfills.33bae389a4a20abf.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion frontend/polyfills.aa01d8f6b94657cb.js

This file was deleted.

1 change: 1 addition & 0 deletions frontend/runtime.6cda503defd68eb5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion frontend/styles.a04c018645a5044a.css

This file was deleted.

1 change: 1 addition & 0 deletions frontend/styles.dc1119e594f4e0c7.css

Large diffs are not rendered by default.

Loading
Loading