Commit Graph

54 Commits

Author SHA1 Message Date
Reckless_Satoshi
013ca083c4 Add Simplex contact method to coordinator dialog 2023-12-02 10:40:59 +00:00
KoalaSat
293c0b604d Refactor contexts and models (#921)
* Add SVG icons for map pins

* Add federation basis and new coordinator form (#793)

* Add new coordinator entry issue form

* Add Federation basis

* Fix eslint errors from F2F and fix languages

* Redo eslint @typescript-eslint/strict-boolean-expressions

* Robot Page working

* Contexts Working

* Garage Working

* CurrentOrder working

* Federation model working

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-12-02 10:40:59 +00:00
Reckless_Satoshi
a383f8ad18
Fix improve wording on tiles switch 2023-10-17 08:27:24 -07:00
Reckless_Satoshi
d5f6e2cbd8
Fix f2f style and self-hosted assets 2023-10-17 05:21:18 -07:00
KoalaSat
22b10df91d Code Review 2023-10-17 08:26:30 +00:00
KoalaSat
871299b3bf Order Map 2023-10-17 08:26:30 +00:00
KoalaSat
a338dfc2ee Book map 2023-10-17 08:26:30 +00:00
KoalaSat
7250286c0f Worldmap f2f Book orders 2023-10-17 08:26:30 +00:00
KoalaSat
412242865d Worldmap f2f selection 2023-10-17 08:26:30 +00:00
Reckless_Satoshi
19597ca8e5
Add coordinator maintainance notice 2023-09-08 08:33:00 -07:00
Reckless_Satoshi
441bad45fb
Update communities dialog (#749) 2023-07-24 11:26:52 +00:00
Gigi
582a49b8f5
Fix typo: if you if you -> if you (#647) 2023-06-05 10:09:39 +00:00
Reckless_Satoshi
052865c53b
Add selfhosted client custom builds (#630)
Add scripts for selfhosted client
2023-05-29 15:58:12 +00:00
Reckless_Satoshi
e1ea7289b0
Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
João Leal
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
Reckless_Satoshi
cdc5f3deef
Add collect_phrases pre-commit hook; run new collect phrases (#610) 2023-05-22 08:26:48 +00:00
Reckless_Satoshi
899062ae70
Rename repository 2023-05-09 06:07:16 -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
0477885998
Add maker summary to collected phrases 2023-05-02 03:54:18 -07:00
Reckless_Satoshi
fc4f3e1593
Add undo confirm fiat sent action (#461)
* Add undo confirm fiat sent action

* Collect phrases

* Small fixes
2023-04-28 09:19:18 +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
e783dea305
Fixes "no robot", add launchers on Android. (#411)
* Update robohash repo url to RoboSats org

* Add external launchers

* Fix no-robot issue due to timing of initial fetchInfo

* Collect new phrases
2023-04-09 18:48:25 +00: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
399f8102f2
Add notification for new in-app chat messages (#403)
* Add TG message for new in-app chat messages

* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
Reckless_Satoshi
bac276dd0d
Add backend phrases 2023-03-18 13:32:24 -07:00
Reckless_Satoshi
42f208fad4
Fix race condition onchain (#388)
* Fix race condition swaps

* Collect new phrases

* Increase random delay interval
2023-03-14 17:23:11 +00: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
57a47a408c
Add fiat sent confirmation dialog (#383)
* Add confirmation dialog for fiat Sent

* Collect new phrases

* Small fixes

* Small fixes
2023-03-09 13:19:24 +00:00
Reckless_Satoshi
c0b8a6d3ac
Add robot garage (#370)
* Add garage model

* Add robot select to profile

* Replace Robot for Garage init

* Add Garage inners, not re-rendering

* Revert

* Collect new phrases and small fixes

* Small fixes

* Fix unencrypted # hack on Turtle chat

* Small fixes and collect phrases
2023-03-02 11:01:06 +00:00
Reckless_Satoshi
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
Reckless_Satoshi
95f4e1708c
Add delay tor connected status, remove token from profile dialog 2023-02-22 07:55:51 -08:00
Reckless_Satoshi
d9e2e9c947
Add automatic i18n phrases collector (#359)
* Init RobotPage

* Add onboarding component and generate token step

* Add robot generation step

* Add onboarding step 3

* Add Welcome componenent

* Minor fixes

* Add recovery component

* Add robot profile component

* Small fixes

* Add TOR loading component

* Small fixes

* Fix tor loading and add highres animations on android

* Lint

* Fix robot profile order buttons

* Add collect phrases alpha

* Run collect_phrases

* Add collect-phrases script to pre-commit config
2023-02-21 17:33:52 +00: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
3446fc33d3
Add turtle chat component
Squashed commit of the following:

commit f60870fcfe574dc4ab1343e25241b6ef7cc2721b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Nov 10 10:30:42 2022 -0800

    Fix internal error when entering chat

commit f1eeb49f2a86575eb2e85cdff20460276e71b806
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 10:08:22 2022 -0800

    Fix final serializer

commit d0c08ba6ad4378a9539c0be83b6f4f8b958b532e
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 09:44:57 2022 -0800

    Chat API changes

commit a66bf64edc06d936612db6bf75476b54e6a84334
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 09:28:29 2022 -0800

    Fix param on post

commit 60b18d13c2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 08:56:25 2022 -0800

    Fix serializer

commit 11212d30ee
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 21:07:18 2022 +0100

    CR 2

commit c82790cb81
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 20:09:18 2022 +0100

    Fix

commit 605a3b69a1
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 14:44:42 2022 +0100

    CR

commit 09776e9c8f
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Wed Nov 2 18:12:29 2022 +0100

    translations

commit 432e4d2399
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Wed Nov 2 17:39:02 2022 +0100

    Switch and better UX

commit df6e476613
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Tue Nov 1 18:20:01 2022 +0100

    Unused code

commit 5b8d6b4d32
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Mon Oct 31 09:20:20 2022 -0700

    Add Chat Turtle Mode
2022-11-11 01:28:09 -08:00
Reckless_Satoshi
cafc63bc05
Revert pre-commit fix on locale files 2022-10-25 11:17:08 -07:00
Reckless_Satoshi
7643e524f1
Fix all files with pre-commit 2022-10-25 11:04:12 -07: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
ra5pvt1n
bd073eac08
Add Traditional Chinese language locale (#271)
* Add Traditional Chinese language locale

* Add Simplified Chinese language locale
2022-10-13 20:20:18 +00:00
Reckless_Satoshi
19cc6e93ca
Fix Tor connection icon in web 2022-10-07 12:34:57 -07: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
33941ce359
Add PR template, run prettier 2022-09-23 03:29:39 -07:00
Reckless_Satoshi
81c5a3d9f5
Add coordinator and client versions to Stats for Nerds 2022-09-23 02:52:59 -07: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
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
Reckless_Satoshi
473c4de528
Fix selfhosted detection on subpaths 2022-08-24 16:45:04 -07:00
Reckless_Satoshi
6ff8df6dad
Add selfhosting translation keys 2022-08-23 03:16:29 -07:00
Reckless_Satoshi
860b3c136b
Fix dispute solve admin actions. Fix i18n var for takerFee. 2022-08-18 03:33:55 -07:00
Reckless_Satoshi
0229f8759e
Update info dialog. Add explicit fee section on external charges. 2022-08-17 06:37:24 -07:00
Reckless_Satoshi
83320c9b91
Add stealth invoice icon and ES translation 2022-08-13 05:55:04 -07:00