108 Commits

Author SHA1 Message Date
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
f5f78588c3 Add placeholder commit_sha 2023-05-19 04:45:22 -07:00
0c5989ca5f Small fixes lnproxy relay sync workflow 2023-05-18 04:25:12 -07:00
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
7b6ebd0eab Simplify coordinator updates, automatic migrations and collect statics (#583) 2023-05-15 09:46:59 +00:00
fd8f64e93a Fix frontend dockerized env in windows 2023-05-14 16:32:44 -07:00
a5d0550100 Fix release workflow 2023-05-10 02:48:31 -07:00
899062ae70 Rename repository 2023-05-09 06:07:16 -07:00
25f0b0eea5 Fix token auth native (#558)
* Fix token auth on Native

* Fix pre-release action
2023-05-06 13:42:48 +00:00
815973aea5 Bump docker/build-push-action from 3 to 4 (#520)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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-02 23:59:36 +00:00
9ae22c42a4 Bump actions/setup-python from 3 to 4 (#519)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-02 23:58:27 +00:00
c31c5b4218 Bump actions/checkout from 2 to 3 (#514)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-02 23:55:36 +00:00
b2ebe8f56f Bump benc-uk/workflow-dispatch from 1 to 121 (#516)
Bumps [benc-uk/workflow-dispatch](https://github.com/benc-uk/workflow-dispatch) from 1 to 121.
- [Release notes](https://github.com/benc-uk/workflow-dispatch/releases)
- [Commits](https://github.com/benc-uk/workflow-dispatch/compare/v1...v121)

---
updated-dependencies:
- dependency-name: benc-uk/workflow-dispatch
  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-02 23:54:38 +00:00
52ae4b252b Bump pr-mpt/actions-commit-hash from 1 to 2 (#517)
Bumps [pr-mpt/actions-commit-hash](https://github.com/pr-mpt/actions-commit-hash) from 1 to 2.
- [Release notes](https://github.com/pr-mpt/actions-commit-hash/releases)
- [Commits](https://github.com/pr-mpt/actions-commit-hash/compare/v1...v2)

---
updated-dependencies:
- dependency-name: pr-mpt/actions-commit-hash
  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-02 23:54:00 +00:00
449d3459e6 Add github-actions to dependabot 2023-05-02 16:52:05 -07:00
222b4f9fff Bump to python 3.11, optimize Coordinator image size, update dependabot config 2023-05-01 05:13:48 -07:00
f449e042c7 Increase dependabot frequency 2023-04-28 03:04:13 -07:00
dc24ff7a51 Update pre-commit use in PR template 2023-04-26 05:16:01 -07:00
07a82582b2 Configure dependabot 2023-04-24 07:00:48 -07:00
bdd0174b92 Fix conflicting release workflow ids 2023-04-10 10:38:42 -07:00
1ac6e0fa86 Add multi architecture Android builds and reduce bundle sizes (#413)
* Add multi architecture Android builds and reduce bundle sizes

* Disable Proguard

* Add universal build
2023-04-10 17:02:30 +00:00
d88c2a5eff Add App context (#369)
* Refactor fetchRobot

* Add appcontext

* Robot recovery fixes

* Add usecontext on maker and settings forms

* Add usecontext to booktable

* Add useContext to order page and main dialogs

* Small fixes
2023-02-24 19:17:13 +00:00
6b1216a227 Prepare for v0.3.3 release 2022-12-08 07:27:44 -08:00
5c42b5da71 Fix android build dependency repos down 2022-10-31 04:55:56 -07:00
c89391cfd0 Fix skip android debug build 2022-10-30 12:57:28 -07:00
7643e524f1 Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
f21a15b2bd Add pre-commit to CONTRIBUTING.md (#305)
* Add pre-commit to CONTRIBUTING.md

* Update PR template
2022-10-25 17:51:27 +00:00
8633c5abb9 Revert js bundle rename in workflows 2022-10-22 07:43:32 -07:00
1dea4e73b6 Refactor and Init RoboSats PRO (#296)
commit 9c6d55cfc77d42471da3e865f2729167597868e5
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 20 10:35:49 2022 -0700

    Small fixes

commit 23d6c00ccb5e78593e768c36b866d02f26031e7b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 20 06:12:42 2022 -0700

    Refactor frontend

commit b2c21d4a98c49f6168bc3ff6e6a3d7b9f8943a12
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Wed Oct 19 07:26:00 2022 -0700

    Small fixes (more)

commit 78a8ab799dc33e8f8b8f14e22e155bbc7104c3a9
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Wed Oct 19 02:11:03 2022 -0700

    Try out to revert depth chart

commit ef73c980a8cfc4ae760e720e3bca99acc30b7270
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Oct 18 11:43:37 2022 -0700

    Small fixes

commit fa3e60208f8f292256dd90813e7beff15db3057a
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Oct 18 09:43:03 2022 -0700

    Add old UserGen and BottomBar to new main.tsx

commit 1e257d1924df20e2fa4feb7f6afce4f31f2a9acc
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Oct 18 04:01:53 2022 -0700

    Add Maker and Book page to new main.tsx

commit 037d46ceef34df09530e645a2e01c9fbd9b3efd4
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Mon Oct 17 08:54:55 2022 -0700

    Add Main component WIP

commit e43b274c33a75ab5050be360a3d01f655e1e8142
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Mon Oct 17 04:32:43 2022 -0700

    App as functional component
2022-10-20 11:06:16 -07:00
514c3fe90c Rename workflow 2022-10-20 06:30:44 -07:00
04f45e4b87 Fixes to python auto-formatting (#291)
Fix pull_request_target
2022-10-20 13:19:20 +00:00
c32c07eaa6 Python files style cleanup (#281)
* Remove unused imports in python files

* Add black and isort dependencies

Also added pyproject.toml for isort config, but later can be used to
configure various other python tools

* Add flake8 in requirements.txt

* Add py-linter workflow
2022-10-20 09:55:24 +00:00
01bcb03aff Add versioning to Android app 2022-10-06 03:53:03 -07:00
36cf1569f0 Update PR template. Fix Android release workflow. 2022-10-04 09:56:12 -07:00
0689377f2c Android app config and fixes (#267)
* Android app confuration and fixes

* Adding ignore files

* Prettier

* Asset load

* Run prettier

* Add upload Web.bundle directory as build artifact

* CR

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2022-10-04 16:00:37 +00:00
a6cbff8ff6 Prepare for 0.2.1 patch release 2022-09-29 08:21:33 -07:00
ab4d83bf49 Set up Android APK build workflow for releases 2022-09-28 13:29:21 -07:00
7b8fcb3285 Add android webview app (#259)
* Add android build workflow

* Initial webview on tsx template

* Insert ReactJS app from local

* Add Android app icon by @red_purdy (#174)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>

* Fix local reactjs

* Add setup guide. Bundled dev main.js

* Add react native tor

* Move Android CHANGELOG.md to /mobile

* Add torified webview in react-native (#247)

* Add android build workflow

* Android Tor Requests

* Fetching internal files (i18n)

* react-native-tor does not implement PUT

* Get Files from Tor

* Revert "Add android build workflow"

This reverts commit 340bcf8d1c8703af31dddf12a8762d39a967b160.

* Fix Rebase Removals

* External sources

* react-native-tor crashes

* Last Refactor

* Fix/revert setup guide

* Add /mobile as volume to npm-dev container

On the fully dockerized dev environment the npm process cannot save files outside of /frontend directory. Now it can also save the builds to /mobile

* Fix UsafeAlert

* Run prettier

* Run lint:fix

* Main Profile Image fix

* Remove Tor Requests limitation

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>

Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>
Co-authored-by: KoalaSat <yv1vtrul@duck.com>
2022-09-28 12:08:16 +00:00
33941ce359 Add PR template, run prettier 2022-09-23 03:29:39 -07:00
ae193f19a4 Refactor avatars (#251) 2022-09-22 16:23:21 -07:00
f5f707bd4e Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope (#250)
* Refactor GH workflows

* Add version mismatch checker and UpdateClient Dialog

* Fix finalize release workflow

* Increase prettier scope

* Increase prettier coverage, add some static to prettierignore

* Add CodeQL on PR
2022-09-22 15:22:51 -07:00
efc3da28bd Update Nivo and resolve need to force install of deps 2022-09-13 10:27:36 -07:00
822281e467 Run npm run lint:fix
Still many linting errors to fix manually
2022-09-09 10:57:05 -07:00
14487a9c2d Run linter and add linter GH action 2022-09-09 10:25:55 -07:00
e8852c2423 Replace material-ui-image, delete qrscanner, fix dependencies 2022-09-08 15:34:06 -07:00
d6f82886fd Update CI/CD workflows 2022-08-22 16:22:34 -07:00
6013757e24 Fix github action workflow symlinks ignored 2022-08-22 10:52:58 -07:00
d769129142 Create RoboSats docker client app for soverign nodes (#216)
* Init robosats node app development

* Add simple node app to dev docker-compose

* Add multi-platform build for node client app
2022-08-22 16:51:23 +00:00
965e864861 Create codeql-analysis.yml 2022-07-23 14:31:25 +00:00