Commit Graph

34 Commits

Author SHA1 Message Date
KoalaSat
937ac62c5d Change getRobot by getSlot (#955) 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
4eb46f1e16 Fix lint issues 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
2361b728fc Fix (some) lint issues 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
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
4f2ef09c6f
Simplify routing (#458)
* Fix payment methods as icons memo

* Simplify pages / router

* Load current order on robotfetch
2023-04-26 12:10:21 +00:00
Reckless_Satoshi
4f9280e797
Fix basic Main styled components 2023-04-23 12:03:38 -07:00
Reckless_Satoshi
28ef253020
Refactor context (#427)
* Move AppContext to top level

* Refactor context
2023-04-20 14:52:03 +00:00
Reckless_Satoshi
c2110d1620
Migrate to react-dom-router v6 (#422) 2023-04-16 18:10:48 +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
eb725331d0
Fix bug on protocol (#368)
* Update Main.tsx (#367)

Change in line 155
old: setBaseUrl(`http://${host}`);
new: setBaseUrl(`${location.protocol}://${host}`);

Co-authored-by: Nailuj2000 <irc@extralab.net>

* Fix typo url

---------

Co-authored-by: Nailuj2000 <irc@extralab.net>
2023-02-24 11:13:07 +00:00
Reckless_Satoshi
b39ae7de41
New Robot page (#357)
* 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
2023-02-21 17:22:48 +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
f7d4648fa5
Add lnproxy json responses, enable lnproxy on android app 2022-11-27 12:34:37 -08:00
Reckless_Satoshi
268e1259d6
Fix invoice validator 2022-11-27 03:21:07 -08:00
Reckless_Satoshi
dccb155cd8
Fix setSettings host override 2022-11-26 03:22:45 -08:00
Reckless_Satoshi
86e6bed37c
Add advanced options to LN payout form (#326)
* Add advanced options to LN payout form

* Complete amount calcs

* Temporary working solution for lnproxy web only (uses text instead of json)

* Update LNpayment model and logics to use user's routing budget

* Add handle lnproxyserver networks (i2p, tor, clearnet) / (mainnet,testnet)

* Small fixes
2022-11-24 17:42:30 +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
bf30a99fd3
Fix fetch info on app start and ref link 2022-11-17 10:51:13 -08:00
Reckless_Satoshi
c2fb0e27a0
Fixes for API chatroom initialization 2022-11-15 09:53:42 -08:00
Reckless_Satoshi
df786376ac
Fix conflicts 2022-11-11 02:08:51 -08:00
Reckless_Satoshi
741fba11d5
Add swappable baseurls (#316)
* Add swappable baseurls (network and coordinators)

* Add testnet bitcoin styles

* Small fixes

* Small fixes
2022-11-07 16:45:05 +00:00
Reckless_Satoshi
b25230378e
Small fixes and partial TradeBox functional component (#309)
* Add Order model

* Add permanent settings

* Fix maker on book page

* Add chat models

* Attempt to fix Android cookies

* Add Tradebox Dialogs

* Add Lock Invoice box

* Add taker found prompt

* Fix load setting cookies

* Revert TradeBox for test release

* Refactor ordering of constructing theme

* Add load encrypted seetings
2022-11-07 10:13:02 +00:00
KoalaSat
5ae1f8ca18
Fix Robot token not loading to android (#313)
* Fix Robot token not loading to android

* Redo Maker
2022-11-06 16:20:54 +00:00
Reckless_Satoshi
2706703382
Add small fixes 2022-10-31 14:20:58 -07:00
Reckless_Satoshi
c9749bde24
Fix navbar refactor bugs on native app 2022-10-31 09:20:20 -07: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
b4205761fe
Fix avatar loading issues 2022-10-26 02:47:50 -07:00
Reckless_Satoshi
7c901da04d
Fix info fetches overwritting active robot 2022-10-25 10:56:43 -07:00
Reckless_Satoshi
12222d3fbd
Fix match making table bug. Add styles 2022-10-25 01:37:25 -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
1dea4e73b6
Refactor and Init RoboSats PRO (#296)
commit 9c6d55cfc7
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 20 10:35:49 2022 -0700

    Small fixes

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

    Refactor frontend

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

    Small fixes (more)

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

    Try out to revert depth chart

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

    Small fixes

commit fa3e60208f
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 1e257d1924
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 037d46ceef
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Mon Oct 17 08:54:55 2022 -0700

    Add Main component WIP

commit e43b274c33
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