Commit Graph

40 Commits

Author SHA1 Message Date
UmamiAppearance
054e836521
Use base-ex hex converter for base16 / correct fn name (#649) 2023-06-12 23:14:27 +00:00
Reckless_Satoshi
0d180ee7c9
Small fixes, fix reconnecting websockets, fix rewards webln 2023-05-08 17:37:23 -07:00
Reckless_Satoshi
e6ddcf9e4b
Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512)
* Add RobotTokenSHA256 middleware for in-the-fly robot generation/login

* Add RobotView, fix middleware, upgrade frontend

* Token header as base91

* Add OAS schema of RobotView

* Use RobotView on new fetchRobot(), mimick old fetchRobot() functionality

* Upgrade websockets for token based authentication

* Small fixes

* Add frontend token entropy checks, add token on route /robot/<token>

* Rename admin panel

* Collect phrases
2023-05-05 10:12:38 +00:00
Reckless_Satoshi
edb8c8b3ff
Use premium to filter matches (#459) 2023-04-26 12:18:54 +00:00
Reckless_Satoshi
b227df7c7c
Improve preliminary sats summary, add taker satoshis (#429)
* Improve preliminary sats summary, add taker satoshis

* Collect phrases
2023-04-21 11:10:47 +00:00
Reckless_Satoshi
ba072652a7
Fix expand amount details on non swap orders 2023-03-10 15:43:52 -08:00
Reckless_Satoshi
b6129bb46f
Enhance clarity for swaps (#382)
* Improve clarity of swap orders

* Add descriptive send/receive amounts for swaps on Maker Page

* Add descriptive send/receive amounts for swaps on OrderDetails

* Collect new phrases

* Small fixes
2023-03-09 20:10:49 +00:00
Reckless_Satoshi
965bbb0765
Enhance UI for Swaps (#346)
* Add better fiat/swap UI switches

* Add swap controls to booktable

* Enhance order details and take button for swaps

* Add swap specific order summary strings

* Add specific bond commitment descriptions for swap orders

* Fix cosmetics
2023-02-10 13:28:26 +00:00
Reckless_Satoshi
e4e7b031b4
Fix random order matchmaking 2022-11-28 03:55:53 -08:00
Reckless_Satoshi
6b2dedce13
Add Tradebox, OrderDetails, Notifications, OrderPage functional components. (#315)
* Re-init new tradebox

* Wip progress on OrderDetails

* Wip 2 OrderDetails

* Fix multiple requests on load

* Add functional Order page

* Fixes order page

* Fix delete storage

* Fix order page style

* Add Public order prompt

* Add paused order prompt

* Add expired prompt

* Create statusToContract logics

* Move fetch order loop to Main

* Add payout and wait prompts

* Fix order fetch on badOrder

* Fix styles

* Add chat and dispute prompts

* Add remaining prompts

* Fix style

* Add notifications component

* Fix take order style, add more notifications

* Add page title notification

* Add more notifications and small tradebox fixes

* Small fixes

* Small fixes to routing failure prompt

* Remove old trade box

* Add bad take order
2022-11-21 12:56:29 +00:00
Reckless_Satoshi
227610c84a
Add Nav Bar, Settings Page, large refactor (#308)
commit a5b63aed93
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 10:46:05 2022 -0700

    Small fixes

commit d64adfc2bf
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 06:02:06 2022 -0700

    wip work on federation settings

commit ca35d6b3d2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 04:05:33 2022 -0700

    Refactor confirmation Dialogs

commit c660a5b0d1
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sat Oct 29 13:36:59 2022 -0700

    refactor login (clean separation robot/info. Style navbar.

commit b9dc7f7c95
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Fri Oct 28 09:54:38 2022 -0700

    Add size slider and settings widget

commit 20b2b3dcd6
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Fri Oct 28 05:41:48 2022 -0700

    Add show more and Dialogs

commit da8b70091b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 27 16:26:07 2022 -0700

    Add sliding pages

commit 6dd90aa118
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 27 06:34:58 2022 -0700

    Add settings forms

commit d3d0f3ee1a
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Wed Oct 26 04:16:06 2022 -0700

    Refactor utils
2022-10-30 12:13:01 -07:00
Reckless_Satoshi
04126ae0bd
Add functional homepage (#289)
* App as functional component

* Add Main component WIP

* Add Maker and Book page to new main.tsx

* Add old UserGen and BottomBar to new main.tsx

* Small fixes

* Try out to revert depth chart

* Small fixes (more)
2022-10-20 17:24:53 +00:00
Reckless_Satoshi
ddd9f3fc32
Add MakerForm functional component (#265)
* Create maker form model

* Add MakerForm functional component

* Add advance options switch

* Add range slider

* Add timers, bond size, helpers and submit button

* Style maker form

* Add filter toolbar to maker page

* Add new Maker Page

* Fix MakerPage

* Add match maker

* Add order filter util, run lint:fix

* Fix book filter by payment method

* Add confirmation dialogs

* Add Book page as functional component

* Load orders and limits on app start (homepage)

* Turn BookPage and MakerPage into modules

* Add translation keys

* Fixes

* More fixes
2022-10-14 12:10:12 +00:00
KoalaSat
e78b5e9c8b
Persist Data on Android (#274)
* Android Cookies

* Android Fix POST headers

* Format

* App & Cookies Working

* Fix token on UserGen
2022-10-10 12:40:22 +00:00
KoalaSat
9bda934ee5
Android Tor icon and copy to clipboard (#269)
* Android Clipboard and Tor Status Icon

* working clipboard and lintern

* Fix

* Add style for Tor connection component

* Fix Freeze and Internet out

* Fix Typo

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2022-10-07 14:10:21 +00:00
Reckless_Satoshi
e47d55b582
Book functional component (#256)
* Add bookTable functional component

* Implement responsive booktable

* Fix unwanted scroll bar on chromium browsers

* Add column self-organization and 3 new columns

* Add responsive behaviour on depth chart

* Run prettier

* Add minimum pageSize (book must at least be 1 row height)

* Adjust circular spinner div height

* Add order ID column style

* Refactor window resize event listener

* Add depth chart outline

* Review fixes
2022-09-27 15:52:00 +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
cb6475a3f4
Fix smooth avatar loading. Run prettier 2022-09-10 11:02:30 -07:00
Reckless_Satoshi
3992032d2a
Fix pretty numbers tests 2022-09-10 06:49:00 -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
14487a9c2d
Run linter and add linter GH action 2022-09-09 10:25:55 -07:00
KoalaSat
425225d23d
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 13:12:15 -07: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
rs
7eae2cf58c
Fix copy to clipboard in any context 2022-07-04 11:54:29 -07:00
Reckless_Satoshi
6f7cfb5147
Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
Reckless_Satoshi
7eb29fb57e
Delete and reload cookies on avatar login 2022-06-20 07:26:19 -07:00
Reckless_Satoshi
7c050b560a
Fix signature verification error due to clock mismatch. Fix amount limits rounding. 2022-06-05 04:18:06 -07:00
Reckless_Satoshi
5534ada1be
Fix robot PGP keys created in a future time 2022-06-01 14:44:58 -07:00
Reckless_Satoshi
4da6a43a59
PGP ID is second hash of token 2022-05-26 14:16:02 -07:00
Reckless_Satoshi
40d44d8d59
Add download robot credential button. Add timedate to messages in chat. 2022-05-25 06:13:39 -07:00
Reckless_Satoshi
83564df25a
Add tooltips and helper buttons 2022-05-24 06:33:55 -07:00
Reckless_Satoshi
af001d31d2
Add Audit Dialog 2022-05-24 05:16:50 -07:00
Reckless_Satoshi
b5b129fb4e
Create EncryptedChat, add saveKeys & saveMessages, add audit button. WIP 2022-05-23 17:31:34 -07:00
Reckless_Satoshi
789f9fbdb1
Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
Reckless_Satoshi
191dfe0d3b
Upgrade userGen, only token_sha256 used. Deprecate token user generation. 2022-05-22 12:30:12 -07:00
Reckless_Satoshi
59d8d325b2
Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
Fernando Porazzi
b397420241
Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
Reckless_Satoshi
2b44d32b01
Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07: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
Fernando Porazzi
7bca5ecdc7
Extract getCookie function into its own file (#94)
The getCookie function was being implemented a couple of times across the pages. These changes create a single implementation and imports the helper function whenever needed.
2022-04-15 16:22:49 +00:00