Commit Graph

725 Commits

Author SHA1 Message Date
Reckless_Satoshi
51c5bad5c0
Update federated frontend url 2024-01-12 13:46:40 +00:00
Reckless_Satoshi
2472551953
Add simple web hosted federated client 2024-01-11 12:16:13 +00:00
Reckless_Satoshi
39453058a3
Fix cancel button, add debug console log fetchOrder 2024-01-10 14:48:35 +00:00
Reckless_Satoshi
804f4c49e3
Fix click order on order map 2024-01-09 18:53:19 +00:00
Reckless_Satoshi
447c361d9d
Fix unsafeAlert and grab safe urls from federation.json 2024-01-09 18:42:32 +00:00
Reckless_Satoshi
200efc5bc1
Fix coordinator avatars orientation 2024-01-07 22:20:55 +00:00
Reckless_Satoshi
a4b2327ff4
Small fixes and lint fixes 2024-01-07 14:16:26 +00:00
Reckless_Satoshi
53037a3b18
Fix successful prompt avatars, rate text and txid 2024-01-07 13:29:51 +00:00
Reckless_Satoshi
0d9dbe5962
Fix chat avatars and numeric displays 2024-01-07 13:02:46 +00:00
Reckless_Satoshi
d380925c52
Fix undefined currencyCode 2024-01-07 12:16:05 +00:00
Reckless_Satoshi
fa0781bc36
Perf hide animated backgrounds 2024-01-06 20:59:57 +00:00
KoalaSat
94af0b2afd
Fix order autoupdate and chat (#1047)
* Fix Order autoupdate and chat

* Remove console.log
2024-01-06 12:33:57 +00:00
Reckless_Satoshi
399671d709
Add extra row to coordinator table 2024-01-05 13:12:38 +00:00
KoalaSat
085e9ccd48
Fix order flow (#1040)
Fix Order flow
2024-01-04 14:07:10 +00:00
Reckless_Satoshi
e885585472
Remove generating avatar animation 2024-01-02 17:32:04 +00:00
Reckless_Satoshi
353897cf9d
Fix show coordinator warning only once 2024-01-02 17:13:20 +00:00
KoalaSat
4b99b38853
Fix depth chart and coordinator table (#1039)
Fix depth chart and Coordinator table
2023-12-31 14:59:46 +00:00
Reckless_Satoshi
bfb97e034f
Fix update coordinators urls on network change 2023-12-30 16:45:45 +00:00
Reckless_Satoshi
278c222b85
Fix coordinator avatar on maker form 2023-12-30 16:07:50 +00:00
Reckless_Satoshi
781aee5f50
Fix coordinator table avatars flip 2023-12-30 16:03:48 +00:00
KoalaSat
40b687dc18
Robohash gereator queue (#1035)
Robohash generator queue
2023-12-30 16:01:08 +00:00
KoalaSat
8884c7f187
Fix and disable strict boolean lintern 2023-12-22 13:58:59 +01:00
KoalaSat
4a273fd98a
Avatar hashid in Garage (#983) 2023-12-15 15:17:46 +00:00
Reckless_Satoshi
4fda9370fd
Small fixes 2023-12-02 20:05:17 +00:00
Reckless_Satoshi
7e97c325f1
Add robo-identity-wasm 2023-12-02 20:01:11 +00:00
Reckless_Satoshi
2408190869
Fix statusToDelay, linting and others 2023-12-02 19:50:07 +00:00
Reckless_Satoshi
9fee3b3bba
Update temple of sats, new prettier format 2023-12-02 17:42:14 +00:00
KoalaSat
e8ec7f989a Adapt garage to coordinators 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
e870117a2c Update Dispute prompts for multi-coordinator 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
bfd967ce25 Fix and update About 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
fbee60ecbd Add coordinator notice 2023-12-02 10:40:59 +00:00
KoalaSat
eb840c5b14 Fix order workflow (#957)
* Order workflow working

* Refactoring
2023-12-02 10:40:59 +00:00
KoalaSat
937ac62c5d Change getRobot by getSlot (#955) 2023-12-02 10:40:59 +00:00
KoalaSat
88833a5a10 Fix last order 2023-12-02 10:40:59 +00:00
KoalaSat
7c06c229b4 Fix order page 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
b973afe13e Add PGP keys to /static 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
7e8b2634a2 Add new X icons, replace Twitter 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
013ca083c4 Add Simplex contact method to coordinator dialog 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
7f78f69df6 More fixes 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
4eb46f1e16 Fix lint issues 2023-12-02 10:40:59 +00:00
KoalaSat
1fcd12dbab Federation view fixes (#923) 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
2361b728fc Fix (some) lint issues 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
66c16760f6 Fix version, release_note and small typo 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
07830fd2fd
Add currency Albanian LEK 2023-11-30 16:13:38 +00:00
Reckless_Satoshi
cd42e90205
Fix use programatic colors for map marker 2023-10-19 02:35:24 -07:00
KoalaSat
1eadde7dfa
Improve f2f pin icons (#900)
* Add SVG icons for map pins

* Improve f2f pin icons

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2023-10-19 08:52:11 +00:00
Reckless_Satoshi
d145c0c2d4
Fix hide F2F button on swap mode maker form 2023-10-18 10:35:36 -07:00
KoalaSat
b7f4d5568b
Add location to f2f clusters (#899)
* Add f2f location clusters

---------

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
2023-10-17 22:07:16 +00:00
Reckless_Satoshi
8aed0aa7f3
Increase f2f location randomization radius 2023-10-17 09:56:48 -07:00
Reckless_Satoshi
a383f8ad18
Fix improve wording on tiles switch 2023-10-17 08:27:24 -07:00
Reckless_Satoshi
16426dce60
Fix allow small map and depth chart 2023-10-17 08:24:11 -07:00
Reckless_Satoshi
2d6cc04d2b
Fix f2f randomization 2023-10-17 08:10:52 -07:00
Reckless_Satoshi
d5f6e2cbd8
Fix f2f style and self-hosted assets 2023-10-17 05:21:18 -07:00
KoalaSat
28cf2287f2 Make it work for mobile 2023-10-17 08:26:30 +00:00
KoalaSat
508a63a60d Bug fix 2023-10-17 08:26:30 +00:00
KoalaSat
004d98e0d9 New icons 2023-10-17 08:26:30 +00:00
KoalaSat
22b10df91d Code Review 2023-10-17 08:26:30 +00:00
KoalaSat
cb973a7f1f Change switch icon 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
KoalaSat
33d18d67e5 Add location to F2F (frontend) 2023-10-17 08:26:30 +00:00
Reckless_Satoshi
04def5c624 Add SVG icons for map pins 2023-10-17 08:26:30 +00:00
Felix
dd2292f8d0
Use amboss.space onion link in Stats (#859)
after pre-commit cleanup
2023-09-25 10:57:38 +00:00
Reckless_Satoshi
19597ca8e5
Add coordinator maintainance notice 2023-09-08 08:33:00 -07:00
Reckless_Satoshi
b4b6709918
Enable Swahili 2023-09-05 04:16:22 -07:00
Reckless_Satoshi
0c37767d68
fix(booktable): memoized swap/fiat columns 2023-08-01 05:26:10 -07:00
Reckless_Satoshi
ff57b8a0ae
Fix book header labels (#750) 2023-07-24 19:23:53 +00:00
Reckless_Satoshi
441bad45fb
Update communities dialog (#749) 2023-07-24 11:26:52 +00:00
Reckless_Satoshi
5cf894bf4d
Update deps in package.json (#734) 2023-07-17 12:40:30 +00:00
Felix
c26e2f919a
Update handleCurrencyChange to not reset amount range on currency change in maker form (#692)
* Update handleCurrencyChange to not reset amount range on currency change

* Update MakerForm.tsx
2023-07-09 21:18:22 +00:00
Daven
8b7ab0e124
Add bd taka to available currencies (#659)
* add bd to worldflags

* added bdt to currencies.json
2023-06-12 23:20:54 +00:00
Gigi
582a49b8f5
Fix typo: if you if you -> if you (#647) 2023-06-05 10:09:39 +00:00
Reckless_Satoshi
1e5f7c0715
Fix connected chat status (#632) 2023-05-30 11:38:20 +00:00
Reckless_Satoshi
2cfed6a6f1
Merge branch 'main' into android-webview-audio 2023-05-29 16:01:57 +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
f6601922b8
Fix android sound notifications 2023-05-27 06:04:59 -07:00
Reckless_Satoshi
e1ea7289b0
Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
Reckless_Satoshi
42d8bf8b8e
Small style fixes, add sinpe as payment method 2023-05-26 04:56:43 -07:00
Reckless_Satoshi
2a06eeb02f
Disable maker submit button on bad payment methods field 2023-05-26 04:38:39 -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
fccd49b3b3
Post CLN small fixes 2023-05-23 06:10:06 -07:00
Reckless_Satoshi
5ff70bccb7
Add core-lightning as backend lightning node vendor (#611)
* Add CLN node backend image and service (#418)

* Add cln service

* Add hodlvoice Dockerfile and entrypoint

* Add lnnode vendor switch (#431)

* Add LNNode vendor switch

* Add CLN version to frontend and other fixes

* init

* first draft

* add unsettled_local_balance and unsettled_remote_balance

* gen_hold_invoice now takes 3 more variables to build a label for cln

* remove unneeded payment_hash from gen_hold_invoice

* remove comment

* add get_cln_version

* first draft of clns follow_send_payment

* fix name of get_lnd_version

* enable flake8

* flake8 fixes

* renaming cln file, class and get_version

* remove lnd specific commented code

* get_version: add try/except, refactor to top to mimic lnd.py

* rename htlc_cltv to htlc_expiry

* add clns lookup_invoice_status

* refactored double_check_htlc_is_settled to the end to match lnds file

* fix generate_rpc

* Add sample environmental variables, small fixes

* Fix CLN gRPC port

* Fix gen_hold_invoice, plus some other tiny fixes (#435)

* Fix channel_balance to use int object inside Amount (#438)

* Add CLN/LND volume to celery-beat service

* Add CLN/LND volume to celery-beat service

* Bump CLN to v23.05

* changes for 0.5 and some small fixes

* change invoice expiry from absolute to relative duration

* add try/except to catch timeout error

* fix failure_reason to be ln_payment failure reasons, albeit inaccurate sometimes

* refactor follow_send_payment and add pending check to expired case

* fix status comments

* add send_keysend method

* fix wrong state ints in cancel and settle

* switch to use hodlinvoicelookup in double_check

* move pay command after lnpayment status update

* remove loop in follow_send_payment and add error result for edge case

* fix typeerror for payment_hash

* rework follow_send_payment logic and payment_hash, watch harder if pending

* use fully qualified names for status instead of raw int

* missed 2 status from prev commit

* Always copy the cln-grpc-hodl plugin on start up

* Fix ALLOW_SELF_KEYSEND linting error

* Fix missing definition of failure_reason

---------

Co-authored-by: daywalker90 <admin@noserver4u.de>
2023-05-22 14:56:15 +00:00
+shyfire131
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
João Leal
8a04474934
Add switch Amount Exact/Range (#577)
Created new state var amountRangeEnabled to control the new switch when advanced options is enabled.

Created memo var makerHasAmountRange to control boolean state of amount exact/range switch using maker.advancedOptions and amountRangeEnabled.

Used makerHasAmountRange instead of maker.advancedOptions when testing if maker is  using amount range or exact amount (changeds places: handleCreateOrder, disableSubmit, amountToString in SummaryText, and in the Amount fields).

Change the default value of amountRageEnabled

Changed the default value of state var "amountRageEnabled" to true, and removed unnecessary use of the method "setAmountRangeEnabled" when chaging between advanced and default options.

Fix style of switch Exact/Range Amount

Fixing the style of the div of the "Exact/Range Amount" Switch removing the unecessary "width" and "height" props and adding a negative marginTop to reduce the gap between buy/sell buttons and the amount input commented in the PR, and added a padding bottom to the label of the amount (exact) to not hide the switch.

Inverting the position of the icon to match the style of the "Advanced Options" Switch.

Fixing the title from tooltip of the switch (the order of the titles was inversed and the text of the Exact Amount was wrong).

Define style of Exact/Range Amount Switch

Last change in the style of the new Exact/Range Amount Switch, following the review recommendations.
2023-05-18 11:38:23 +00:00
+shyfire131
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
Reckless_Satoshi
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
Reckless_Satoshi
1e39f32eb5
Fix usenavigate PRO (#571)
* Simplify and optimize nodeapp

* Add pro frontend

* Fix PRO errors
2023-05-12 12:51:52 +00:00
Reckless_Satoshi
eeb0094162
Small style fixes and new payment method 2023-05-12 03:01:17 -07:00
Reckless_Satoshi
2092a33f88
Simplify and optimize nodeapp (#565)
* Simplify and optimize nodeapp

* Add pro frontend
2023-05-11 16:22:01 +00:00
Dirty
ba529349b3
"Qiwi" Payment Method (#564)
Add Qiwi Payment Method (Russia)
2023-05-11 09:54:33 +00:00
Reckless_Satoshi
13e79df7c9
Decrease payment icons size, increase sharpness 2023-05-10 14:51:14 -07:00
Reckless_Satoshi
a97abff1e7
Small UI fixes 2023-05-09 15:30:06 -07:00
Reckless_Satoshi
899062ae70
Rename repository 2023-05-09 06:07:16 -07:00
Reckless_Satoshi
fa7b4676a9
Add new payment methods 2023-05-08 17:57:16 -07:00
Reckless_Satoshi
0d180ee7c9
Small fixes, fix reconnecting websockets, fix rewards webln 2023-05-08 17:37:23 -07:00
Reckless_Satoshi
2293a8922d
Small fixes chat 2023-05-07 11:52:31 -07:00
Reckless_Satoshi
8ae18f8b2a
Small fixes, increase WS reconnection delay 2023-05-07 10:11:52 -07:00