81 Commits

Author SHA1 Message Date
a4b2327ff4 Small fixes and lint fixes 2024-01-07 14:16:26 +00:00
53037a3b18 Fix successful prompt avatars, rate text and txid 2024-01-07 13:29:51 +00:00
0d9dbe5962 Fix chat avatars and numeric displays 2024-01-07 13:02:46 +00:00
94af0b2afd Fix order autoupdate and chat (#1047)
* Fix Order autoupdate and chat

* Remove console.log
2024-01-06 12:33:57 +00:00
085e9ccd48 Fix order flow (#1040)
Fix Order flow
2024-01-04 14:07:10 +00:00
8884c7f187 Fix and disable strict boolean lintern 2023-12-22 13:58:59 +01:00
4a273fd98a Avatar hashid in Garage (#983) 2023-12-15 15:17:46 +00:00
2408190869 Fix statusToDelay, linting and others 2023-12-02 19:50:07 +00:00
e8ec7f989a Adapt garage to coordinators 2023-12-02 10:40:59 +00:00
e870117a2c Update Dispute prompts for multi-coordinator 2023-12-02 10:40:59 +00:00
eb840c5b14 Fix order workflow (#957)
* Order workflow working

* Refactoring
2023-12-02 10:40:59 +00:00
937ac62c5d Change getRobot by getSlot (#955) 2023-12-02 10:40:59 +00:00
88833a5a10 Fix last order 2023-12-02 10:40:59 +00:00
7c06c229b4 Fix order page 2023-12-02 10:40:59 +00:00
7f78f69df6 More fixes 2023-12-02 10:40:59 +00:00
2361b728fc Fix (some) lint issues 2023-12-02 10:40:59 +00:00
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
582a49b8f5 Fix typo: if you if you -> if you (#647) 2023-06-05 10:09:39 +00:00
1e5f7c0715 Fix connected chat status (#632) 2023-05-30 11:38:20 +00:00
e1ea7289b0 Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
c9b70dc10d Add support for multiline chat (#595)
* Support newlines for sender

- add multiline prop
- default behavior is not to submit the form when enter is hit, so listen for keypresses and trigger a synthetic button click when enter is hit
- however shift+enter is reserved for newlines, so we also check for those

* Support newlines for receiver

If decrypted message containes newlines, split and render on multiple lines

* Also add newline support for turtle mode senders

* Styling adjustment for send button

* Implement styling feedback

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
2023-05-21 20:25:12 +00:00
3bd7ade298 Fix lnproxy support and add lnproxy relays workflow (#586)
* Use new lnproxy API

- Use POST instead of GET, so create and send a body parameter
- Path is /spec/ instead of /api/, and list of relays from lnproxy will contain /spec already, so path parameter for ApiClient.post() is an empty string

* add lnproxy sync workflow

* Use new lnproxy JSON structure

* Remove virtualenv

doing this so that the “scripts” subfolder in .github/workflows can be added

* Move workflow script to subfolder

* Add translation support

Locale strings not added yet

* Simplify coordinator updates, automatic migrations and collect statics (#583)

* Delete commited proto files

* Run sync workflow weekly instead of hourly

* Tweak display name for relays

* Update sync script to be append-only

* Use new naming convention for relays

* Fix bitcoinNetwork hydration

* PR Feedback

- Change hook deps from settings.network to settings
- routing_msat param updates for lnproxy API

* Actually set host in settings

* Updated parsing of LnProxy response

---------

Co-authored-by: +shyfire131 <shyfire131@shyfire131.net>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2023-05-18 11:14:11 +00:00
516537a38e Add pgp signature to sensitive client - coordinator messages (#592)
* Minor fixes on dev setup start up

* Add pgp cleartext signatures
2023-05-17 13:06:04 +00:00
a97abff1e7 Small UI fixes 2023-05-09 15:30:06 -07:00
899062ae70 Rename repository 2023-05-09 06:07:16 -07:00
0d180ee7c9 Small fixes, fix reconnecting websockets, fix rewards webln 2023-05-08 17:37:23 -07:00
2293a8922d Small fixes chat 2023-05-07 11:52:31 -07:00
8ae18f8b2a Small fixes, increase WS reconnection delay 2023-05-07 10:11:52 -07:00
8434a256cf Fix last_login for tokeauth, replace maker/taker_last seen for last_login 2023-05-07 08:06:35 -07:00
f2de58ca36 Add hash/preimage or address/txid to trade summary report 2023-05-07 04:11:40 -07:00
25f0b0eea5 Fix token auth native (#558)
* Fix token auth on Native

* Fix pre-release action
2023-05-06 13:42:48 +00:00
daa1127cfc Increase max mining fee (#551) 2023-05-05 19:44:18 +00:00
298ce130f7 Add switch for light QR codes on dark theme 2023-05-05 06:42:20 -07:00
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
23a4f08be6 Remove typo 2023-05-01 03:39:46 -07:00
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
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
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
7665a2bb22 Refactor tradebox states as switch, fix websocket first connect, show PGP erros. 2023-04-20 09:41:34 -07:00
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
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
94bc44ad0e Improve tasks reliability (#390)
* Add broadcasted flag

* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
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
9c982c998f Fix textbox invoice string not changing for escrow 2023-03-10 10:15:03 -08:00
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
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
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
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
6ef62a1fa4 Update minimum swap mining fee to 2 Sats/vbyte 2023-02-13 05:57:00 -08:00
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