Commit Graph

60 Commits

Author SHA1 Message Date
dependabot[bot]
4d35798a6f
Bump npm from 8.19.4 to 9.6.5 in /frontend (#490)
Bumps [npm](https://github.com/npm/cli) from 8.19.4 to 9.6.5.
- [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/v8.19.4...v9.6.5)

---
updated-dependencies:
- dependency-name: npm
  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-01 10:43:37 +00:00
dependabot[bot]
e209bb4adf
Bump webpack-cli from 4.10.0 to 5.0.2 in /frontend (#473)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.2.
- [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@4.10.0...webpack-cli@5.0.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  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-04-28 10:15:26 +00:00
dependabot[bot]
d9074d65eb
Bump light-bolt11-decoder from 2.1.0 to 3.0.0 in /frontend (#467)
Bumps [light-bolt11-decoder](https://github.com/fiatjaf/light-bolt11-decoder) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/fiatjaf/light-bolt11-decoder/releases)
- [Commits](https://github.com/fiatjaf/light-bolt11-decoder/commits/v3.0.0)

---
updated-dependencies:
- dependency-name: light-bolt11-decoder
  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-04-28 10:12:34 +00:00
dependabot[bot]
da8e4bfc72
Bump react-i18next from 11.18.6 to 12.2.2 in /frontend (#448)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.6 to 12.2.2.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.18.6...v12.2.2)

---
updated-dependencies:
- dependency-name: react-i18next
  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-04-24 14:10:34 +00:00
dependabot[bot]
896aaf7d2c
Bump jest and @types/jest in /frontend (#451)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together.

Updates `jest` from 27.5.1 to 29.5.0
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.5.0/packages/jest)

Updates `@types/jest` from 27.5.2 to 29.5.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@types/jest"
  dependency-type: direct:development
  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-04-24 14:09:37 +00:00
dependabot[bot]
4686e575e5
Bump typescript from 4.9.5 to 5.0.4 in /frontend (#453)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  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-04-24 14:06:30 +00:00
Reckless_Satoshi
c2110d1620
Migrate to react-dom-router v6 (#422) 2023-04-16 18:10:48 +00:00
Reckless_Satoshi
799226603c
Bump to v0.4.3 2023-04-10 10:27:10 -07:00
Reckless_Satoshi
ab617ce608
Migrate mui-x components to v6 (#408)
* Migrate mui-x components to v6

* Collect phrases
2023-04-03 18:38:52 +00:00
Reckless_Satoshi
44000f2535
Bump to v0.4.2-alpha 2023-03-18 03:43:27 -07:00
Reckless_Satoshi
f00ece6073
Prepare for v0.4.1 release 2023-03-10 15:47:25 -08:00
Reckless_Satoshi
139766a37a
Prepare for v0.4.0 release 2023-03-05 04:37:07 -08:00
Reckless_Satoshi
9412764f1d
Functional UnsafeAlert and other Icons (#371)
* Add unsafe alert functional component

* Convert icons to functional components

* Run lin fix

* Fix webln uncaught error
2023-03-02 14:20:30 +00:00
Reckless_Satoshi
88bb58bcb6
Prepare for v0.3.4 release 2023-02-12 06:51:00 -08:00
Reckless_Satoshi
6b1216a227
Prepare for v0.3.3 release 2022-12-08 07:27:44 -08:00
Reckless_Satoshi
987e7e01b2
Prepare for v0.3.2 patch release 2022-11-28 00:43:18 -08:00
Reckless_Satoshi
268e1259d6
Fix invoice validator 2022-11-27 03:21:07 -08:00
Reckless_Satoshi
192dcedbc4
Prepare version v0.3.1-alpha 2022-11-24 11:15:13 -08:00
Reckless_Satoshi
dd72b937a2
Prepare for v0.3.0-alpha release 2022-11-17 09:46:35 -08:00
Reckless_Satoshi
046898deda
Prepare for v0.2.3 candidates 2022-10-30 12:28:20 -07:00
Reckless_Satoshi
a4a3dbb95e
Add RoboSats PRO frame as react layout grid playground (#299)
* Add react layout grid playground

* Add BookWidget and style

* Rename basic.js back to main.js
2022-10-22 14:32:33 +00:00
Reckless_Satoshi
57f9b6447d
Upgrade version to v0.2.2 2022-10-14 05:45:08 -07:00
KoalaSat
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
Reckless_Satoshi
a6cbff8ff6
Prepare for 0.2.1 patch release 2022-09-29 08:21:33 -07:00
Reckless_Satoshi
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 340bcf8d1c.

* 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
Reckless_Satoshi
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
Reckless_Satoshi
efc3da28bd
Update Nivo and resolve need to force install of deps 2022-09-13 10:27:36 -07:00
Reckless_Satoshi
822281e467
Run npm run lint:fix
Still many linting errors to fix manually
2022-09-09 10:57:05 -07:00
Reckless_Satoshi
9d73f1ec34
Merge branch 'use-linter-and-formatter' into main (#222) 2022-09-09 10:13:02 -07:00
Reckless_Satoshi
d0f951c16d
Remove zoom-in/out, restore Autocomplete, fix timer dependencies 2022-09-09 09:44:33 -07:00
Reckless_Satoshi
e8852c2423
Replace material-ui-image, delete qrscanner, fix dependencies 2022-09-08 15:34:06 -07:00
KoalaSat
458f5ac4e7
Add book depth chart (#219)
* Amount X Axis, Avatars and refactor

* Theme and performance improvements

* Remove duplicated tooltips

* Code Review

* Marker Theme color

* Missing end lines

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>
2022-08-30 18:49:16 +00:00
ShatteredBunny
2abf6cb66f Add linter and formatter 2022-08-28 00:20:45 +02:00
KoalaSat
7083423189
Add WebLN support (#215)
* Add WebLN support

* Fix Variable Typo

* Invoice Generation

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>

* Code Review

* Second CR

* Catch cancelations

* Final Review

Signed-off-by: KoalaSat <111684255+KoalaSat@users.noreply.github.com>
2022-08-25 08:50:48 +00:00
Reckless_Satoshi
cd8fc15a60
Update and clean dependencies 2022-07-16 15:21:05 -07:00
Reckless_Satoshi
40504a9e95
Fix vulnerabilities 2022-07-10 11:19:47 -07:00
Reckless_Satoshi
59d8d325b2
Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
Reckless_Satoshi
1145812e2e
Fix undefined imports 2022-05-06 12:42:15 +02:00
Fernando Porazzi
b397420241
Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
Fernando Porazzi
dcefce874f
Add typescript support and change webpack and babel config
This commit adds full Typescript support. Although .js files will keep on working normally, it's encouraged that new files are created with either .tsx(for components) or .ts(for non components) extensions.

Also, a linter with some basic settings for React and Typescript has been added. These settings can be changed at any time if needed.
2022-05-06 12:32:12 +02:00
Reckless_Satoshi
755874b100
Advanced maker options v2 (#110)
* Add escrow/invoice time customization

* Add accordion for Expiry times

* Add current price on order maker

* Add deposit timeout limit on order page

* Minor aestetic fixes

* Implement pause/unpause and expiry reasons

* Add renew order

* Add highlight buy/sell on maker page

* Fix order renewal. Improve book visuals and response.

* Fix double renew requests

* Fix cancel orders. Fix paused status to delay

* Fix paused order layout and loading spinner

* Add telegram message: order is in chat
2022-04-29 18:54:20 +00:00
Fernando Porazzi
37d5111779
Pretty numbers (#99)
* Create pn helper function inside utils folder

The function pn() is being defined a few times in different components. This commit is the first of two commits to solve this issue.

This commit only creates the function inside the utils folder.

Jest is also being introduced for unit tests.

* Use pn from utils folder

This commit removes the multiple definitions of pn found across the project and imports the helper function whenever needed.
2022-04-20 13:58:55 -07:00
Reckless_Satoshi
96c6358d4e
Internationalization (#85)
* Implement react i18n-next

* Add XHR i18n backend, include currencies_dict in APP

* Implement i18n 2/9. Add site description

* Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled.

* Implement i18n 4/9 MakerPage.

* Implement i18n 5/9 OrderPage

* Implement i18n 6/9 Chat

* Implement i18n 9/9 Book, Bottom Bar, Profile, Misc, Info

* Add Contributing translation guidelines
2022-04-05 14:25:53 +00:00
Reckless_Satoshi
baf76025c2
Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
Reckless_Satoshi
227dbf2e49
Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
Reckless_Satoshi
5c5e7918e8
Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
Reckless_Satoshi
69f6735f86
Improve chat status communication 2022-03-10 13:35:16 -08:00
Reckless_Satoshi
6f95d2541c
Implement payout invoice from QR camera 2022-01-27 16:17:20 -08:00
Reckless_Satoshi
6ab8f86b97
Implement responsive order book 2022-01-27 06:40:14 -08:00
Reckless_Satoshi
bfa0cd84d1
Update readme 2022-01-19 05:32:54 -08:00