1515 Commits

Author SHA1 Message Date
462663a540 Bump npm from 9.6.5 to 9.7.1 in /frontend (#664)
Bumps [npm](https://github.com/npm/cli) from 9.6.5 to 9.7.1.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v9.6.5...v9.7.1)

---
updated-dependencies:
- dependency-name: npm
  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-06-16 17:02:43 +00:00
8b7ab0e124 Add bd taka to available currencies (#659)
* add bd to worldflags

* added bdt to currencies.json
2023-06-12 23:20:54 +00:00
054e836521 Use base-ex hex converter for base16 / correct fn name (#649) 2023-06-12 23:14:27 +00:00
c43bd21f8d Update 05-trade-escrow.md (#650)
Clarify 05-trade-escrow docs to remove misleading verbiage indicating the hodl invoice is completely trustless.
2023-06-12 22:57:01 +00:00
d369f07ff6 Bump sqlalchemy from 2.0.15 to 2.0.16 (#657)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.15 to 2.0.16.
- [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-06-12 22:54:18 +00:00
361bff90e4 Bump celery from 5.2.7 to 5.3.0 (#658)
Bumps [celery](https://github.com/celery/celery) from 5.2.7 to 5.3.0.
- [Release notes](https://github.com/celery/celery/releases)
- [Changelog](https://github.com/celery/celery/blob/main/Changelog.rst)
- [Commits](https://github.com/celery/celery/compare/v5.2.7...v5.3.0)

---
updated-dependencies:
- dependency-name: celery
  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-06-12 22:42:33 +00:00
d5cbf6ebf6 Bump django from 4.2.1 to 4.2.2 (#656)
Bumps [django](https://github.com/django/django) from 4.2.1 to 4.2.2.
- [Commits](https://github.com/django/django/compare/4.2.1...4.2.2)

---
updated-dependencies:
- dependency-name: django
  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-06-12 22:41:14 +00:00
b14fadd7e9 Bump @mui/base from 5.0.0-beta.2 to 5.0.0-beta.4 in /frontend (#653)
Bumps [@mui/base](https://github.com/mui/material-ui/tree/HEAD/packages/mui-base) from 5.0.0-beta.2 to 5.0.0-beta.4.
- [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.4/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-06-12 22:40:36 +00:00
582a49b8f5 Fix typo: if you if you -> if you (#647) 2023-06-05 10:09:39 +00:00
667f0167c7 Bump i18next-http-backend from 2.2.0 to 2.2.1 in /frontend (#636)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 2.2.0 to 2.2.1.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  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-06-02 11:19:25 +00:00
41a77ec9e5 Update ca.json (#634)
Some sentences updated.
2023-05-31 12:00:04 +00:00
1e5f7c0715 Fix connected chat status (#632) 2023-05-30 11:38:20 +00:00
f3a7701166 Update changelog, fix release workflow, re-sync package-lock v0.5.1-alpha 2023-05-29 11:22:41 -07:00
230123c079 Merge pull request #631 from RoboSats/android-webview-audio
* Bump all the things

Seems to work :)

* Remove v8

* Bump Android SDK to 33

* Update setup.md ; delete deprecated maven repos

* Enable ProGuard and add rules

* Remove v8

* Fix android sound notifications

* Sync package-lock

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-29 16:03:30 +00:00
2cfed6a6f1 Merge branch 'main' into android-webview-audio 2023-05-29 16:01:57 +00:00
052865c53b Add selfhosted client custom builds (#630)
Add scripts for selfhosted client
2023-05-29 15:58:12 +00:00
5bdc49b957 Sync package-lock 2023-05-27 06:07:44 -07:00
f6601922b8 Fix android sound notifications 2023-05-27 06:04:59 -07:00
cf9ad31ac9 Remove v8 2023-05-27 06:04:59 -07:00
d61b366ab1 Enable ProGuard and add rules 2023-05-27 06:01:09 -07:00
c0bbd18ceb Update setup.md ; delete deprecated maven repos 2023-05-27 06:01:09 -07:00
22d226e44e Bump Android SDK to 33 2023-05-27 06:01:09 -07:00
d83da82629 Remove v8 2023-05-27 06:01:09 -07:00
2596ab5c28 Bump all the things
Seems to work :)
2023-05-27 06:00:16 -07:00
775ab96226 Bump metro-react-native-babel-preset from 0.70.3 to 0.75.1 in /mobile (#625)
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.70.3 to 0.75.1.
- [Release notes](https://github.com/facebook/metro/releases)
- [Changelog](https://github.com/facebook/metro/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/metro/compare/v0.70.3...v0.75.1)

---
updated-dependencies:
- dependency-name: metro-react-native-babel-preset
  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-27 09:06:40 +00:00
03707635f9 Bump react-native-webview from 12.0.2 to 12.1.0 in /mobile (#629)
Bumps [react-native-webview](https://github.com/react-native-webview/react-native-webview) from 12.0.2 to 12.1.0.
- [Release notes](https://github.com/react-native-webview/react-native-webview/releases)
- [Changelog](https://github.com/react-native-webview/react-native-webview/blob/master/.releaserc)
- [Commits](https://github.com/react-native-webview/react-native-webview/compare/v12.0.2...v12.1.0)

---
updated-dependencies:
- dependency-name: react-native-webview
  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-27 09:05:32 +00:00
8acb4903cb Bump to v0.5.1 2023-05-26 06:02:57 -07:00
e1ea7289b0 Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
42d8bf8b8e Small style fixes, add sinpe as payment method 2023-05-26 04:56:43 -07:00
08b6930ca2 Modify release workflow permissions 2023-05-26 04:43:17 -07:00
2a06eeb02f Disable maker submit button on bad payment methods field 2023-05-26 04:38:39 -07:00
9a1007775f Fix bug with negative premium textfield (#614)
Fixing the type handlePremiumChange function to handle the discount to the right type (React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>)

Using the correct type of handlePremiumChange function, then deconstructing the "value" var from the event.target

Using Number(value) in declaration of "newPremium", instead of using multiplication with number and string

To not affect another methods using "premium" var, I used isNaN func to make a check and set the initial value of "premium" var to zero (if is NaN) or newPremium (when valid number is entered)

The fix in the bug is the line "premium: isNaN(newPremium) || value === '' ? '' : premium," in setMaker. That makes the "premium" var to be set to zero when the input is empty or not a number, allowing the user to input the "-" (minus sign) and not entering 0 as before.
2023-05-26 10:32:22 +00:00
3f795b87dc Bump react-router-dom from 6.11.0 to 6.11.2 in /frontend (#623)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.11.0 to 6.11.2.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.11.2/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  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-26 10:21:46 +00:00
41d61debfa Bump webpack from 5.82.1 to 5.84.1 in /frontend (#622)
Bumps [webpack](https://github.com/webpack/webpack) from 5.82.1 to 5.84.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.82.1...v5.84.1)

---
updated-dependencies:
- dependency-name: webpack
  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-26 10:21:29 +00:00
3dc5469d41 Bump @mui/material from 5.13.1 to 5.13.2 in /frontend (#621)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.13.1 to 5.13.2.
- [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.2/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  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-26 10:21:13 +00:00
f9f5d904de Bump @types/react-dom from 18.2.1 to 18.2.4 in /frontend (#620)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.1 to 18.2.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  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-26 10:20:36 +00:00
2ca734f621 Bump @mui/x-data-grid from 6.3.1 to 6.5.0 in /frontend (#624)
Bumps [@mui/x-data-grid](https://github.com/mui/mui-x/tree/HEAD/packages/grid/x-data-grid) from 6.3.1 to 6.5.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/6.5.0/packages/grid/x-data-grid)

---
updated-dependencies:
- dependency-name: "@mui/x-data-grid"
  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-26 10:20:17 +00:00
07fbd831ee Fix main.js path on coordinator image 2023-05-25 05:09:18 -07:00
067ba38668 Fix exceptions for no CLN nodes 2023-05-25 04:19:45 -07:00
5d5435e7a1 Fix style reviews home page learn.robosats 2023-05-23 15:09:43 -07:00
8bbc26c8ea Add Reviews section to home in learn.robosats (#605)
* Added new Reviews section to README

* Updated version number number to latest for Athena Alpha guide

* Update README.md

* Added proposed Reviews section

* Added reviews section with a few starter sites

* Added Reviews section with a few starter sites

* Update home.md

* Added styles to align things

---------

Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-05-23 21:49:45 +00:00
fccd49b3b3 Post CLN small fixes 2023-05-23 06:10:06 -07:00
ce81d67b1d Submit PRs for LnProxy relay list updates (#613)
Instead of committing directly to main, create a new PR instead

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-23 13:18:17 +00:00
84904901fc Bump requests from 2.30.0 to 2.31.0 (#616)
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 12:01:22 +00:00
3431b573d0 Add BitcoinQnA tutorial to how-to-use.md (#612)
Add in my recent RoboSats 101 guide
2023-05-22 20:00:27 +00:00
5ff70bccb7 Add core-lightning as backend lightning node vendor (#611)
* Add CLN node backend image and service (#418)

* Add cln service

* Add hodlvoice Dockerfile and entrypoint

* Add lnnode vendor switch (#431)

* Add LNNode vendor switch

* Add CLN version to frontend and other fixes

* init

* first draft

* add unsettled_local_balance and unsettled_remote_balance

* gen_hold_invoice now takes 3 more variables to build a label for cln

* remove unneeded payment_hash from gen_hold_invoice

* remove comment

* add get_cln_version

* first draft of clns follow_send_payment

* fix name of get_lnd_version

* enable flake8

* flake8 fixes

* renaming cln file, class and get_version

* remove lnd specific commented code

* get_version: add try/except, refactor to top to mimic lnd.py

* rename htlc_cltv to htlc_expiry

* add clns lookup_invoice_status

* refactored double_check_htlc_is_settled to the end to match lnds file

* fix generate_rpc

* Add sample environmental variables, small fixes

* Fix CLN gRPC port

* Fix gen_hold_invoice, plus some other tiny fixes (#435)

* Fix channel_balance to use int object inside Amount (#438)

* Add CLN/LND volume to celery-beat service

* Add CLN/LND volume to celery-beat service

* Bump CLN to v23.05

* changes for 0.5 and some small fixes

* change invoice expiry from absolute to relative duration

* add try/except to catch timeout error

* fix failure_reason to be ln_payment failure reasons, albeit inaccurate sometimes

* refactor follow_send_payment and add pending check to expired case

* fix status comments

* add send_keysend method

* fix wrong state ints in cancel and settle

* switch to use hodlinvoicelookup in double_check

* move pay command after lnpayment status update

* remove loop in follow_send_payment and add error result for edge case

* fix typeerror for payment_hash

* rework follow_send_payment logic and payment_hash, watch harder if pending

* use fully qualified names for status instead of raw int

* missed 2 status from prev commit

* Always copy the cln-grpc-hodl plugin on start up

* Fix ALLOW_SELF_KEYSEND linting error

* Fix missing definition of failure_reason

---------

Co-authored-by: daywalker90 <admin@noserver4u.de>
2023-05-22 14:56:15 +00:00
60c72e4239 Add tracking of old locked invoices to follow-invoices 2023-05-22 03:43:43 -07:00
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
cdc5f3deef Add collect_phrases pre-commit hook; run new collect phrases (#610) 2023-05-22 08:26:48 +00:00
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