93 Commits

Author SHA1 Message Date
192dcedbc4 Prepare version v0.3.1-alpha 2022-11-24 11:15:13 -08:00
dd72b937a2 Prepare for v0.3.0-alpha release 2022-11-17 09:46:35 -08:00
046898deda Prepare for v0.2.3 candidates 2022-10-30 12:28:20 -07:00
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
57f9b6447d Upgrade version to v0.2.2 2022-10-14 05:45:08 -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
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
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
9d73f1ec34 Merge branch 'use-linter-and-formatter' into main (#222) 2022-09-09 10:13:02 -07:00
d0f951c16d Remove zoom-in/out, restore Autocomplete, fix timer dependencies 2022-09-09 09:44:33 -07:00
e8852c2423 Replace material-ui-image, delete qrscanner, fix dependencies 2022-09-08 15:34:06 -07:00
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
2abf6cb66f Add linter and formatter 2022-08-28 00:20:45 +02:00
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
cd8fc15a60 Update and clean dependencies 2022-07-16 15:21:05 -07:00
40504a9e95 Fix vulnerabilities 2022-07-10 11:19:47 -07:00
59d8d325b2 Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
1145812e2e Fix undefined imports 2022-05-06 12:42:15 +02:00
b397420241 Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
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
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
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
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
baf76025c2 Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
227dbf2e49 Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
5c5e7918e8 Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
69f6735f86 Improve chat status communication 2022-03-10 13:35:16 -08:00
6f95d2541c Implement payout invoice from QR camera 2022-01-27 16:17:20 -08:00
6ab8f86b97 Implement responsive order book 2022-01-27 06:40:14 -08:00
bfa0cd84d1 Update readme 2022-01-19 05:32:54 -08:00
7a6cf943ee Rework book as datagrid 2022-01-14 13:40:54 -08:00
135c4c59e5 Add UI info and icons on order pager 2022-01-14 04:00:53 -08:00
abb1bdd0be Add dynamic countdown. Attach countdown to expiry progress bar. 2022-01-13 16:43:26 -08:00
64df2c7ce6 Add provisional frontend chat. The chat is totally unsafe as of now. Does not store messages either. 2022-01-13 11:22:54 -08:00
5df2134fb2 Add ugly site info page 2022-01-12 13:22:16 -08:00
bb9cafadd8 Upgrade MUI to V5 2022-01-09 14:17:15 -08:00
5fb776aca7 Add TradeBox and QR client side generation 2022-01-08 05:08:03 -08:00
30dfd09f58 fix minor things, add mui style libs, figured CSRF problems some bugs left 2022-01-04 07:00:34 -08:00
790e96cc1b Improve user generator UX. Still a bit buggy. 2022-01-02 14:31:19 -08:00
e83f0295a5 Build frontend app test page using React 2022-01-01 15:58:44 -08:00