Commit Graph

1369 Commits

Author SHA1 Message Date
Reckless_Satoshi
60c72e4239
Add tracking of old locked invoices to follow-invoices 2023-05-22 03:43:43 -07:00
+shyfire131
5d2339bfcf
Additional updates to LnProxy support (#609)
* Fetch relay list from official lnproxy repo

My changes have been merged on the lnproxy.org repo, so RoboSats must not fetch from my fork of lnproxy anymore.

* Grant workflow job write perms

By default, the GITHUB_TOKEN only has read permissions. Write is required in order to update the list of relays.

* Update to latest version of checkout action

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-22 09:41:40 +00:00
Reckless_Satoshi
cdc5f3deef
Add collect_phrases pre-commit hook; run new collect phrases (#610) 2023-05-22 08:26:48 +00:00
João Leal
6a1c8c32ef
Fix collect_phrases.py to work on all OS (#607)
Changed handcrafted.py to use a OrderedDict instead of a dict (guarantee the order independant of the python version)

Moved the value of "../../src" to the variable "src_path" to improve readability, and reuse the value again later in code

Changed the "Look for all matching i18n keys" part of code to order the dirs and file in a independant OS way - alphabetical order using the "sort" func of list object

Changed the "Look for all matching i18n keys" part of code to collect all phrases in a OrderedDict (guarantee the order independant of the python version)

Changed the list indexing in filepath var (filepath[10:]) to the use of os.path.relpath(filepath, src_path) func to improve readability

Changed all_phrases to a OrderedDict (guarantee the order independant of the python version) and use update method of OrderedDict to add the files's phrases and handcrafted phrases to the OrderedDict in order

Changed the loop of matches to inside the if statement (if len(matches) > 0) to improve readability - if the "if statement" is false, the loop was never executed

Changed the "Load existing locale dics and replace keys" part of code to use OrderedDict in the new_phrases var to guarantee the order of the keys insert in json.dump in all OS

Changed the "Load existing locale dics and replace keys" part of code to not substitute the keys "#{counter}" to guarantee the order independant of the json file of the translation.
2023-05-22 08:14:22 +00:00
Reckless_Satoshi
20f4a7b471
Add qualified lnd grpc variables 2023-05-21 15:22:15 -07:00
+shyfire131
c9b70dc10d
Add support for multiline chat (#595)
* Support newlines for sender

- add multiline prop
- default behavior is not to submit the form when enter is hit, so listen for keypresses and trigger a synthetic button click when enter is hit
- however shift+enter is reserved for newlines, so we also check for those

* Support newlines for receiver

If decrypted message containes newlines, split and render on multiple lines

* Also add newline support for turtle mode senders

* Styling adjustment for send button

* Implement styling feedback

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-21 20:25:12 +00:00
dependabot[bot]
b1d5b02009
Bump sqlalchemy from 2.0.13 to 2.0.15 (#606)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.13 to 2.0.15.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-21 11:24:59 +00:00
Reckless_Satoshi
547a7212a0
Do not watch all locked invoices in follow-invoices 2023-05-20 07:52:30 -07:00
Reckless_Satoshi
66f1a68963
Fix flake8 unused imported dep 2023-05-20 04:23:51 -07:00
dependabot[bot]
d6551c1931
Bump @typescript-eslint/parser from 5.59.1 to 5.59.6 in /mobile (#602)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.1 to 5.59.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 11:22:14 +00:00
Reckless_Satoshi
f5f78588c3
Add placeholder commit_sha 2023-05-19 04:45:22 -07:00
dependabot[bot]
7b91355109
Bump i18next from 22.4.15 to 22.5.0 in /frontend (#598)
Bumps [i18next](https://github.com/i18next/i18next) from 22.4.15 to 22.5.0.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v22.4.15...v22.5.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 10:49:58 +00:00
dependabot[bot]
39135fe069
Bump @babel/core from 7.21.4 to 7.21.8 in /frontend (#600)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.4 to 7.21.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.8/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 10:49:38 +00:00
dependabot[bot]
eecb6413b5
Bump webpack-cli from 5.0.2 to 5.1.1 in /frontend (#599)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.2 to 5.1.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.0.2...webpack-cli@5.1.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 10:49:30 +00:00
dependabot[bot]
b37aa34c08
Bump @mui/x-date-pickers from 6.0.4 to 6.4.0 in /frontend (#597)
Bumps [@mui/x-date-pickers](https://github.com/mui/mui-x/tree/HEAD/packages/x-date-pickers) from 6.0.4 to 6.4.0.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v6.4.0/packages/x-date-pickers)

---
updated-dependencies:
- dependency-name: "@mui/x-date-pickers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 10:49:19 +00:00
dependabot[bot]
81b90d4568
Bump @mui/material from 5.12.3 to 5.13.1 in /frontend (#596)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.12.3 to 5.13.1.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.13.1/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 10:49:14 +00:00
Reckless_Satoshi
5303186896
Allow blank order donated field on lnpayment admin edits 2023-05-18 07:27:24 -07:00
Reckless_Satoshi
0797a7d1ef
Fix robosats on blixt's react-native-webview (#594) 2023-05-18 13:29:49 +00:00
João Leal
8a04474934
Add switch Amount Exact/Range (#577)
Created new state var amountRangeEnabled to control the new switch when advanced options is enabled.

Created memo var makerHasAmountRange to control boolean state of amount exact/range switch using maker.advancedOptions and amountRangeEnabled.

Used makerHasAmountRange instead of maker.advancedOptions when testing if maker is  using amount range or exact amount (changeds places: handleCreateOrder, disableSubmit, amountToString in SummaryText, and in the Amount fields).

Change the default value of amountRageEnabled

Changed the default value of state var "amountRageEnabled" to true, and removed unnecessary use of the method "setAmountRangeEnabled" when chaging between advanced and default options.

Fix style of switch Exact/Range Amount

Fixing the style of the div of the "Exact/Range Amount" Switch removing the unecessary "width" and "height" props and adding a negative marginTop to reduce the gap between buy/sell buttons and the amount input commented in the PR, and added a padding bottom to the label of the amount (exact) to not hide the switch.

Inverting the position of the icon to match the style of the "Advanced Options" Switch.

Fixing the title from tooltip of the switch (the order of the titles was inversed and the text of the Exact Amount was wrong).

Define style of Exact/Range Amount Switch

Last change in the style of the new Exact/Range Amount Switch, following the review recommendations.
2023-05-18 11:38:23 +00:00
Reckless_Satoshi
0c5989ca5f
Small fixes lnproxy relay sync workflow 2023-05-18 04:25:12 -07:00
+shyfire131
3bd7ade298
Fix lnproxy support and add lnproxy relays workflow (#586)
* Use new lnproxy API

- Use POST instead of GET, so create and send a body parameter
- Path is /spec/ instead of /api/, and list of relays from lnproxy will contain /spec already, so path parameter for ApiClient.post() is an empty string

* add lnproxy sync workflow

* Use new lnproxy JSON structure

* Remove virtualenv

doing this so that the “scripts” subfolder in .github/workflows can be added

* Move workflow script to subfolder

* Add translation support

Locale strings not added yet

* Simplify coordinator updates, automatic migrations and collect statics (#583)

* Delete commited proto files

* Run sync workflow weekly instead of hourly

* Tweak display name for relays

* Update sync script to be append-only

* Use new naming convention for relays

* Fix bitcoinNetwork hydration

* PR Feedback

- Change hook deps from settings.network to settings
- routing_msat param updates for lnproxy API

* Actually set host in settings

* Updated parsing of LnProxy response

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2023-05-18 11:14:11 +00:00
Reckless_Satoshi
516537a38e
Add pgp signature to sensitive client - coordinator messages (#592)
* Minor fixes on dev setup start up

* Add pgp cleartext signatures
2023-05-17 13:06:04 +00:00
Reckless_Satoshi
2bb0b4d7bf
Minor fixes on dev setup start up 2023-05-17 04:16:26 -07:00
Reckless_Satoshi
0a620901a7
Add keysend devfund donations functionality (#589) 2023-05-16 17:12:15 +00:00
okada-blue
b4a54f3b1a
Edit learn.robosats.com "Contribute" Documentation (#587)
* Update 00-contribute.md

Add context to body

* Update 01-development.md

Add context, revise typos and grammatical error

* Update 02-languages.md

Add context, correct typos and grammatical errors

* Update 03-liquidity.md

Add rough draft for opening channels, and how that can be a way to contribute to RoboSats

* Update 04-guides.md

Add rough draft for contributing guides, and general things to consider

* Update 05-art.md

Add rough draft for art

* Update 06-outreach.md

Add rough draft for outreach

* Update 07-donate.md

Fix typos

* Update 01-development.md

Revise wording

* Update 03-liquidity.md

Revise wording

* Update 06-outreach.md

Revise wording
2023-05-16 10:40:17 +00:00
Reckless_Satoshi
73eb4df291
Delete commited proto files 2023-05-15 04:11:27 -07:00
Reckless_Satoshi
7b6ebd0eab
Simplify coordinator updates, automatic migrations and collect statics (#583) 2023-05-15 09:46:59 +00:00
Reckless_Satoshi
fd8f64e93a
Fix frontend dockerized env in windows 2023-05-14 16:32:44 -07:00
dependabot[bot]
794377dbfc
Bump django-celery-results from 2.5.0 to 2.5.1 (#582)
Bumps [django-celery-results](https://github.com/celery/django-celery-results) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/celery/django-celery-results/releases)
- [Changelog](https://github.com/celery/django-celery-results/blob/main/Changelog)
- [Commits](https://github.com/celery/django-celery-results/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: django-celery-results
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 11:42:31 +00:00
dependabot[bot]
73bc7c049d
Bump grpcio from 1.54.0 to 1.54.2 (#578)
Bumps [grpcio](https://github.com/grpc/grpc) from 1.54.0 to 1.54.2.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/compare/v1.54.0...v1.54.2)

---
updated-dependencies:
- dependency-name: grpcio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 11:42:19 +00:00
dependabot[bot]
04a4cbe96f
Bump sqlalchemy from 2.0.12 to 2.0.13 (#579)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 11:42:06 +00:00
dependabot[bot]
0b86078095
Bump grpcio-tools from 1.54.0 to 1.54.2 (#581)
Bumps [grpcio-tools](https://github.com/grpc/grpc) from 1.54.0 to 1.54.2.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/compare/v1.54.0...v1.54.2)

---
updated-dependencies:
- dependency-name: grpcio-tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 11:41:40 +00:00
dependabot[bot]
e78bc920e1
Bump django-cors-headers from 3.14.0 to 4.0.0 (#580)
Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 3.14.0 to 4.0.0.
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/adamchainz/django-cors-headers/compare/3.14.0...4.0.0)

---
updated-dependencies:
- dependency-name: django-cors-headers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-14 11:38:55 +00:00
Reckless_Satoshi
b0ffe150c0
Refactor expiry_height into follow_invoices 2023-05-13 08:51:22 -07:00
Reckless_Satoshi
70b6d88321
Improve lookup invoice status updates delay 2023-05-13 08:38:13 -07:00
Reckless_Satoshi
1b347420fe
Fix bug automatic resolutions 2023-05-12 11:29:19 -07:00
Reckless_Satoshi
1e39f32eb5
Fix usenavigate PRO (#571)
* Simplify and optimize nodeapp

* Add pro frontend

* Fix PRO errors
2023-05-12 12:51:52 +00:00
Reckless_Satoshi
71820cee91
Add logs to nodeapp 2023-05-12 05:18:48 -07:00
Reckless_Satoshi
6c20ce4f70
Simplify frontend/client dev setup, shrink nodeapp 2023-05-12 04:07:56 -07:00
Reckless_Satoshi
70740750f5
Fix soft time limits in api tasks 2023-05-12 03:10:14 -07:00
Reckless_Satoshi
eeb0094162
Small style fixes and new payment method 2023-05-12 03:01:17 -07:00
dependabot[bot]
db58dd755a
Bump @typescript-eslint/parser from 5.59.2 to 5.59.5 in /frontend (#570)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.2 to 5.59.5.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.5/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 09:08:14 +00:00
dependabot[bot]
910ea20256
Bump eslint from 8.39.0 to 8.40.0 in /frontend (#566)
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 09:08:08 +00:00
dependabot[bot]
15cc824f9f
Bump @emotion/styled from 11.10.8 to 11.11.0 in /frontend (#569)
Bumps [@emotion/styled](https://github.com/emotion-js/emotion) from 11.10.8 to 11.11.0.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/styled@11.10.8...@emotion/styled@11.11.0)

---
updated-dependencies:
- dependency-name: "@emotion/styled"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 09:07:44 +00:00
dependabot[bot]
c8f48014b0
Bump @mui/base from 5.0.0-alpha.128 to 5.0.0-beta.0 in /frontend (#568)
Bumps [@mui/base](https://github.com/mui/material-ui/tree/HEAD/packages/mui-base) from 5.0.0-alpha.128 to 5.0.0-beta.0.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.0.0-beta.0/packages/mui-base)

---
updated-dependencies:
- dependency-name: "@mui/base"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 09:07:36 +00:00
dependabot[bot]
140aac332b
Bump webpack from 5.82.0 to 5.82.1 in /frontend (#567)
Bumps [webpack](https://github.com/webpack/webpack) from 5.82.0 to 5.82.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 09:07:15 +00:00
Reckless_Satoshi
0048f396a7
Fix npm-dev Dockerfile add python installation 2023-05-11 16:00:53 -07:00
Reckless_Satoshi
2092a33f88
Simplify and optimize nodeapp (#565)
* Simplify and optimize nodeapp

* Add pro frontend
2023-05-11 16:22:01 +00:00
Dirty
ba529349b3
"Qiwi" Payment Method (#564)
Add Qiwi Payment Method (Russia)
2023-05-11 09:54:33 +00:00
+shyfire131
c5b12ebabd
Fix minor typo in setup.md (#563) 2023-05-10 22:04:54 +00:00