20 Commits

Author SHA1 Message Date
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
a383f8ad18 Fix improve wording on tiles switch 2023-10-17 08:27:24 -07:00
d5f6e2cbd8 Fix f2f style and self-hosted assets 2023-10-17 05:21:18 -07:00
22b10df91d Code Review 2023-10-17 08:26:30 +00:00
871299b3bf Order Map 2023-10-17 08:26:30 +00:00
a338dfc2ee Book map 2023-10-17 08:26:30 +00:00
7250286c0f Worldmap f2f Book orders 2023-10-17 08:26:30 +00:00
412242865d Worldmap f2f selection 2023-10-17 08:26:30 +00:00
19597ca8e5 Add coordinator maintainance notice 2023-09-08 08:33:00 -07:00
441bad45fb Update communities dialog (#749) 2023-07-24 11:26:52 +00:00
582a49b8f5 Fix typo: if you if you -> if you (#647) 2023-06-05 10:09:39 +00:00
052865c53b Add selfhosted client custom builds (#630)
Add scripts for selfhosted client
2023-05-29 15:58:12 +00:00
e1ea7289b0 Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
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
cdc5f3deef Add collect_phrases pre-commit hook; run new collect phrases (#610) 2023-05-22 08:26:48 +00:00
899062ae70 Rename repository 2023-05-09 06:07:16 -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
0477885998 Add maker summary to collected phrases 2023-05-02 03:54:18 -07:00
fcd6e25073 Enable Japanese translation 2023-04-29 07:42:45 -07:00
0f56093da5 The Japanese translation for RoboSats (#479) 2023-04-29 14:28:44 +00:00