Commit Graph

380 Commits

Author SHA1 Message Date
Reckless_Satoshi
5f602ab8f8
Add federation coordinator est. date and hard limits 2024-02-07 14:57:36 +00:00
KoalaSat
61d6406e0a
Fix telegram link (#1099) 2024-01-29 20:03:29 +00:00
KoalaSat
83410c174e
Book coordinator filter (#1087)
* Fix book loading

* Fix Robot page

* Code Review

* Book coordinator filter
2024-01-23 23:32:00 +00:00
Reckless_Satoshi
876846aa3a
Add devfund donation to coordinator summary accordion 2024-01-19 18:52:16 +00:00
Reckless_Satoshi
759e9f733a
Fix unsafe_alert locale string 2024-01-18 07:59:04 +00:00
Reckless_Satoshi
5dcb6f0394
Fix coordinator hosted web app 2024-01-15 11:46:22 +00:00
Reckless_Satoshi
27b265220e
Fix too-many fetchRobots and coordinator endpoints print 2024-01-14 18:20:48 +00:00
Reckless_Satoshi
017601c478
Add coordinator endpoint to stats for nerds 2024-01-13 13:06:37 +00:00
Reckless_Satoshi
51c5bad5c0
Update federated frontend url 2024-01-12 13:46:40 +00:00
Reckless_Satoshi
447c361d9d
Fix unsafeAlert and grab safe urls from federation.json 2024-01-09 18:42:32 +00:00
Reckless_Satoshi
53037a3b18
Fix successful prompt avatars, rate text and txid 2024-01-07 13:29:51 +00:00
Reckless_Satoshi
353897cf9d
Fix show coordinator warning only once 2024-01-02 17:13:20 +00:00
Reckless_Satoshi
807355ec42
Add coordinator warning 2024-01-02 12:40:05 +00:00
Reckless_Satoshi
138d5cabf9
Add coordinator: TheBigLake 2023-12-30 11:18:09 +00:00
KoalaSat
16a16da96a
Fix navbar and book duplication (#1031) 2023-12-30 10:32:18 +00:00
Reckless_Satoshi
0976010876
Fix un-silence all mainnet coordinators 2023-12-27 19:51:42 +00:00
Reckless_Satoshi
1724fb2074
Merge branch 'main' into the-federation-layer-v0.6.0 2023-12-25 14:04:13 +00:00
Tony Nakamoto
6c1d425fa3
russian translation (#989)
* back at it ru.json

* Update ru.json

* Update ru.json

mempool fees made me update Russian language :D
2023-12-15 15:15:28 +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
802942761d Fix mobile app (#969) 2023-12-02 10:40:59 +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
8d8e3a5688 Fix robot recovery (#945)
* Fix Robot recovery

* Change testralia onion
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
07edb124e7 Add satstralia PGP keys 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
9d87bf6bd6 Add coordinator: Satstralia 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
6a5b7600df Remove template coordinator 2023-12-02 10:40:59 +00:00
Reckless_Satoshi
48c551db83 Add cordinator: Temple of Sats 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
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
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
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
ac547e63af
Add location pin SVGs by @RedPurdy (#895)
Add files via upload

Co-authored-by: Red_Purdy <104675727+RedPurdy@users.noreply.github.com>
2023-10-15 18:38:51 +00:00
Reckless_Satoshi
19597ca8e5
Add coordinator maintainance notice 2023-09-08 08:33:00 -07:00
Reckless_Satoshi
fde96c30e2
Fix malformed French translation 2023-09-05 05:53:06 -07:00
J'informatique
352a3dac52
Update fr.json (#823) 2023-09-05 12:11:32 +00:00
Reckless_Satoshi
b4b6709918
Enable Swahili 2023-09-05 04:16:22 -07:00
turizspace
f785be7b5d
Add Swahili translation (#819) 2023-09-05 10:52:57 +00:00
Reckless_Satoshi
441bad45fb
Update communities dialog (#749) 2023-07-24 11:26:52 +00:00
LeoSpyke
3068c4f1f4
Adds Italian translations (#660)
* fix 02-languages.md locales path

* translate it.json sections 1 to 12

* translate it.json sections 13 to 15

* translate it.json sections 18 to 38

* translate it.json sections 41 to 46

* translate it.json sections 43 to 73

* finalize translate it.json

* typo fix in it.json
2023-06-18 15:47:30 +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
₿lue Lynx
41a77ec9e5
Update ca.json (#634)
Some sentences updated.
2023-05-31 12:00:04 +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
João Leal
6a1c8c32ef
Fix collect_phrases.py to work on all OS (#607)
Changed handcrafted.py to use a OrderedDict instead of a dict (guarantee the order independant of the python version)

Moved the value of "../../src" to the variable "src_path" to improve readability, and reuse the value again later in code

Changed the "Look for all matching i18n keys" part of code to order the dirs and file in a independant OS way - alphabetical order using the "sort" func of list object

Changed the "Look for all matching i18n keys" part of code to collect all phrases in a OrderedDict (guarantee the order independant of the python version)

Changed the list indexing in filepath var (filepath[10:]) to the use of os.path.relpath(filepath, src_path) func to improve readability

Changed all_phrases to a OrderedDict (guarantee the order independant of the python version) and use update method of OrderedDict to add the files's phrases and handcrafted phrases to the OrderedDict in order

Changed the loop of matches to inside the if statement (if len(matches) > 0) to improve readability - if the "if statement" is false, the loop was never executed

Changed the "Load existing locale dics and replace keys" part of code to use OrderedDict in the new_phrases var to guarantee the order of the keys insert in json.dump in all OS

Changed the "Load existing locale dics and replace keys" part of code to not substitute the keys "#{counter}" to guarantee the order independant of the json file of the translation.
2023-05-22 08:14:22 +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
6c20ce4f70
Simplify frontend/client dev setup, shrink nodeapp 2023-05-12 04:07:56 -07:00
Reckless_Satoshi
eeb0094162
Small style fixes and new payment method 2023-05-12 03:01:17 -07: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
fcd6e25073
Enable Japanese translation 2023-04-29 07:42:45 -07:00
aaroniumii
0f56093da5
The Japanese translation for RoboSats (#479) 2023-04-29 14:28:44 +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
e4c1089b46
Add generating animation and fix robot corrupted robot garage load 2023-04-24 06:43:21 -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
ra5pvt1n
f4dc15d38a
Update zh-TR.json (#425) 2023-04-21 11:05:44 +00:00
ra5pvt1n
6fb99d35c6
Update zh-SI.json (#424) 2023-04-21 11:04:12 +00:00
Hesam
473a38faf9
Add Iranian Toman (IRT) currency (#412)
Add Iranian Toman (IRT) currency
2023-04-09 21:36:05 +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
₿lue Lynx
be060dff34
Update ca.json (#409)
New version sentences translated
2023-04-06 09:45:23 +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
7f19af6f41
Fix es.json and collect phrases 2023-03-25 04:55:33 -07:00
Kote
0ab25be507
Update es.json (#401) 2023-03-25 11:52:40 +00:00
Reckless_Satoshi
bac276dd0d
Add backend phrases 2023-03-18 13:32:24 -07:00
Reckless_Satoshi
37041e474b
Fix spanish translation 2023-03-18 13:09:44 -07:00
Kote
11e2d39640
Update spanish translation (#399)
* Unas cuantas traducciones mas.

* Update es.json

* Update es.json

* Update es.json

---------

Co-authored-by: Nailuj2000 <irc@extralab.net>
2023-03-18 20:02:56 +00:00
Luka Bajovic
44beac4742
Added Serbian Dinar (RSD) currency. (#392) 2023-03-16 18:14:16 +00: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
Nailuj2000
4e0e8482f6
Translate to Spanish up to line 63 (#377)
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-03-05 12:46:44 +00: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
₿lue Lynx
d815fb8a8e
Update ca.json (#365)
Remaining sentences translated
2023-02-24 11:44:10 +00:00
Reckless_Satoshi
9c720abbf5
Add coordinator badges vector art (#366)
Add files via upload

Co-authored-by: Red_Purdy <104675727+RedPurdy@users.noreply.github.com>
2023-02-24 10:41:31 +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
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
₿lue Lynx
f290fef0fd
Update ca.json (#336)
Updated Android app phrases
2022-12-23 13:46:17 +00: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