Commit Graph

674 Commits

Author SHA1 Message Date
Reckless_Satoshi
7e5c9bcb70
Small fixes 2023-05-05 10:19:45 -07:00
Reckless_Satoshi
298ce130f7
Add switch for light QR codes on dark theme 2023-05-05 06:42:20 -07:00
Reckless_Satoshi
a10f7f2e21
Add slashed return as rewards when bonded stake is uneven (#538) 2023-05-05 12:07:13 +00: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
8035f67515
Enable Japanese on Android app 2023-05-02 03:08:27 -07:00
Reckless_Satoshi
dacb9e9fa6
Disable CSRF checks 2023-05-01 12:12:01 -07:00
Reckless_Satoshi
a1f0a85646
Small fixes 2023-05-01 10:35:55 -07:00
Reckless_Satoshi
23a4f08be6
Remove typo 2023-05-01 03:39:46 -07:00
Reckless_Satoshi
fcd6e25073
Enable Japanese translation 2023-04-29 07:42:45 -07:00
Reckless_Satoshi
0e17121999
Fix routing to order on bookpage floating maker form 2023-04-29 07:14:23 -07:00
Reckless_Satoshi
c813da1b2e
Small book optimizations (#462) 2023-04-28 10:02:29 +00: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
f5ae7aab34
Remove animations (#460)
* Remove animations

* Disable background animation on avatar load
2023-04-27 19:06:03 +00:00
Reckless_Satoshi
275a68a7f0
Small fixes. Click through laoding overlay, take amount calc with no api/info. 2023-04-27 09:04:37 -07:00
Reckless_Satoshi
a0627a2028
Fix sats conversion on taker helper text for swaps 2023-04-27 04:26:07 -07:00
Reckless_Satoshi
91bbc4c9f5
Fix blank route and loading spinner on order page change 2023-04-27 02:57:52 -07:00
Reckless_Satoshi
09fb3cb3a1
Fix update matches when payment method changes 2023-04-26 05:12:49 -07:00
Reckless_Satoshi
edb8c8b3ff
Use premium to filter matches (#459) 2023-04-26 12:18:54 +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
db5548ecca
Fix payment methods as icons memo 2023-04-26 04:47:26 -07:00
Reckless_Satoshi
e878299ae8
Add light weight webp avatars (#457)
* Add generate webp avatars, also small size

* Use new avatars in frontend
2023-04-25 18:40:46 +00:00
Reckless_Satoshi
8c81bed013
Fix Garage and Settings load on Android 2023-04-24 07:55:49 -07:00
Reckless_Satoshi
e4c1089b46
Add generating animation and fix robot corrupted robot garage load 2023-04-24 06:43:21 -07:00
Reckless_Satoshi
4f9280e797
Fix basic Main styled components 2023-04-23 12:03:38 -07: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
7665a2bb22
Refactor tradebox states as switch, fix websocket first connect, show PGP erros. 2023-04-20 09:41:34 -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
e3b7f1f268
Fix ErrorBoundary background 2023-04-17 04:16:30 -07:00
Reckless_Satoshi
c2110d1620
Migrate to react-dom-router v6 (#422) 2023-04-16 18:10:48 +00:00
Reckless_Satoshi
a16af276c5
Add error boundary (#421) 2023-04-15 18:47:46 +00:00
SatFlow
89111f2f27
Fix parameter typo (#416) 2023-04-11 16:54:52 +00:00
Reckless_Satoshi
9a99e6f1ff
Fix hide currency column in book when mode is swaps 2023-04-10 10:21:27 -07:00
Reckless_Satoshi
72f620fee4
Fix fetchInfo android 2023-04-10 04:42:17 -07:00
Hesam
473a38faf9
Add Iranian Toman (IRT) currency (#412)
Add Iranian Toman (IRT) currency
2023-04-09 21:36:05 +00:00
Reckless_Satoshi
719c41705d
Improve payment method strings to icons performance 2023-04-09 12:44:02 -07: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
9c5f4d4f46
Fix adjust swap button book visibility 2023-04-03 07:19:30 -07:00
Reckless_Satoshi
5b1f64ced8
Improve booktable performance by 15-30% 2023-03-28 10:37:14 -07: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
Dirty ⚡️ Room 969
877fbf955b
Fix prevent "Tinkoff" and "Tinkoff QR" methods collision. (#400)
* New payment methods and icons for Russia.
SBP, Tinkoff QR. New icon for Tinkoff.

* Fix to prevent Tinkoff and Tinkoff Qr collision.
"Tinkoff" is "Tinkoff Bank" now. And "Sberbank" is "Sber Bank" (which is true, actually).
2023-03-25 11:51:51 +00:00
Reckless_Satoshi
44000f2535
Bump to v0.4.2-alpha 2023-03-18 03:43:27 -07:00
Dirty ⚡️ Room 969
6d4c948a53
Add new payment methods and icons for Russia. (#397)
SBP, Tinkoff QR. New icon for Tinkoff.
2023-03-17 19:56:16 +00:00
minaraus
9fd03b6427
Add L-USDt payment method (#396) 2023-03-17 18:22:44 +00:00
Luka Bajovic
44beac4742
Added Serbian Dinar (RSD) currency. (#392) 2023-03-16 18:14:16 +00:00
Reckless_Satoshi
94bc44ad0e
Improve tasks reliability (#390)
* Add broadcasted flag

* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
Reckless_Satoshi
64f3243c53
Fix makerform UI current price 2023-03-15 04:41:50 -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
ba072652a7
Fix expand amount details on non swap orders 2023-03-10 15:43:52 -08:00
Reckless_Satoshi
9c982c998f
Fix textbox invoice string not changing for escrow 2023-03-10 10:15:03 -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
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
7a5ae1c25c
Fix initial fetchInfo on torified app 2023-03-07 08:07:14 -08:00
Reckless_Satoshi
f6fcbd61a1
Fix link to update Android client 2023-03-07 08:04:04 -08:00
Reckless_Satoshi
de18fb0d4c
Fix unsafe/selfhosted alert 2023-03-07 04:13:56 -08:00
Reckless_Satoshi
e69aa09bb6
Fix useffects for book/limit baseurl change, robot open profile and stats. 2023-03-04 11:49:10 -08:00
Reckless_Satoshi
41feb8cf8e
Fix useffects for book/limit baseurl change, robot open profile and stats. 2023-03-04 10:55:24 -08:00
Reckless_Satoshi
8d4301a0c0
Fix Native requests (#375)
* fix-android-maker

* test
2023-03-04 12:54:06 +00:00
Reckless_Satoshi
cee6ffbf45
Fix authenticated requests on Native 2023-03-04 02:14:45 -08:00
Reckless_Satoshi
09027deffc
Fix order click on matches. Fix existing PGP on deleted robot rebuild. 2023-03-03 11:00:08 -08:00
Reckless_Satoshi
7f6b2bb79e
Fix load garage android (#372)
* Refactor constructor

* Test
2023-03-03 16:54:03 +00:00
Reckless_Satoshi
74398a019c
Small fixes and updates 2023-03-03 07:25:21 -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
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
95f4e1708c
Add delay tor connected status, remove token from profile dialog 2023-02-22 07:55:51 -08: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
4f930345f9
Fix book controls overflow on small displays 2023-02-14 11:13:09 -08:00
Reckless_Satoshi
db83f2b972
Fix crash on fullpage order book 2023-02-13 11:17:06 -08:00
Reckless_Satoshi
6ef62a1fa4
Update minimum swap mining fee to 2 Sats/vbyte 2023-02-13 05:57:00 -08:00
Reckless_Satoshi
e7f745be13
Fix maker form tooltips for swaps 2023-02-11 05:59:43 -08: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
237c9fd951
Fix bug on copied referral links 2023-02-09 09:57:39 -08:00
Reckless_Satoshi
d3851784e2
Fix confusing prompt title for submission of payout information 2023-01-14 04:52:47 -08:00
Reckless_Satoshi
f7a0554fb1
Add Stowaway to swap methods 2022-12-08 07:05:02 -08:00
Reckless_Satoshi
718210ccd8
Fix dispute resolution titles 2022-12-04 02:11:59 -08:00
Reckless_Satoshi
a7ad9c8c7e
Fix swap dispute prompts 2022-12-01 02:18:42 -08:00
Reckless_Satoshi
cc87054246
Add initial time fraction left on time progress 2022-11-29 02:00:56 -08:00
Reckless_Satoshi
56f9c35b50
Add baseUrl to apiClient on pro frontend 2022-11-28 11:25:50 -08:00
Reckless_Satoshi
e4e7b031b4
Fix random order matchmaking 2022-11-28 03:55:53 -08:00
Reckless_Satoshi
f374b38660
Fix infinite spinner on routing failed without failure reason 2022-11-28 03:29:11 -08:00
Reckless_Satoshi
da6a5c02c0
Fix prompt order for payout/escrow wait 2022-11-28 00:40:52 -08:00
Reckless_Satoshi
f7d4648fa5
Add lnproxy json responses, enable lnproxy on android app 2022-11-27 12:34:37 -08:00
Reckless_Satoshi
0ae63c50d2
Fix reset advanced option on disable 2022-11-27 08:15:50 -08:00
Reckless_Satoshi
268e1259d6
Fix invoice validator 2022-11-27 03:21:07 -08:00
Reckless_Satoshi
a1ef900469
Fix payout prompt title 2022-11-27 01:11:41 -08:00
Reckless_Satoshi
dccb155cd8
Fix setSettings host override 2022-11-26 03:22:45 -08:00
Reckless_Satoshi
3320291d03
Extend order side notice on lockInvoice prompt to makers 2022-11-24 10:48:27 -08:00
Reckless_Satoshi
acaf0db9e6
Add routing budget and lnproxy (#328)
* 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

* Small fixes
2022-11-24 17:47:49 +00: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
19796c7c50
Fix non interactive book controls 2022-11-17 12:24:55 -08:00
Reckless_Satoshi
bf30a99fd3
Fix fetch info on app start and ref link 2022-11-17 10:51:13 -08:00
Reckless_Satoshi
ddcad444b6
Add copied feedback to Android pgp export 2022-11-17 09:42:52 -08:00
KoalaSat
7c3293775b
Fix export chat android (#324)
* Fix export chat button on Android

* Fix export chat button on Android
2022-11-17 17:29:56 +00:00
Reckless_Satoshi
9d80ca6fdb
Fix tradesummary avatars baseurl 2022-11-15 10:36:43 -08:00
Reckless_Satoshi
7f731dfb00
Fix confirm action bug 2022-11-15 10:22:01 -08:00
Reckless_Satoshi
c2fb0e27a0
Fixes for API chatroom initialization 2022-11-15 09:53:42 -08:00