Commit Graph

474 Commits

Author SHA1 Message Date
Reckless_Satoshi
789f9fbdb1
Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
Reckless_Satoshi
e233fd3079
Merge branch 'bottom-bar-dialogs' into main #141 2022-05-22 13:57:27 -07:00
Reckless_Satoshi
4bbb885ec6
Fix claim rewards refresh bug 2022-05-22 13:56:07 -07:00
Reckless_Satoshi
191dfe0d3b
Upgrade userGen, only token_sha256 used. Deprecate token user generation. 2022-05-22 12:30:12 -07:00
Reckless_Satoshi
59d8d325b2
Add utility functions for keypair generation, encrypt and decrypt messages 2022-05-22 10:46:04 -07:00
Reckless_Satoshi
ae4d6a1ac0
Include all docs svg icons, Fix links, Add pages 2022-05-22 03:08:41 -07:00
Reckless_Satoshi
f6d03aab8b
Fix in-app typos 2022-05-20 05:31:49 -07:00
Reckless_Satoshi
0fa6f4e3d9
Add Portuguese speaking community to CommunityDialog 2022-05-19 10:04:29 -07:00
Reckless_Satoshi
f53fcce17c
Translate failure reasons 2022-05-19 07:49:08 -07:00
Reckless_Satoshi
d48ee9ced4
Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
Fernando Porazzi
bf35961efb
Migrate StatsDialog to Dialogs folder
Migrate StatsDialog component into its own file and convert its contents to Typescript.
2022-05-19 14:33:41 +02:00
Reckless_Satoshi
f7b9ca67d4
Fix reverse buy/sell on maker to book page transitions 2022-05-19 02:39:00 -07:00
Reckless_Satoshi
da1ee95ef5
Add tutorials and missing pages to Learn.RoboSats 2022-05-18 17:58:16 -07:00
Fernando Porazzi
04e13d50fd
Migrate ProfileDialog to Dialogs folder
Convert ProfileDialog component to Typescript and co-locate it inside the dialogs folder
2022-05-18 11:17:25 +02:00
Reckless_Satoshi
3c43f5dd3b
Complete splash screen learn.robosats. Add _pages. 2022-05-17 15:30:11 -07:00
Fernando Porazzi
5ff6e1e78d
Migrate ExchangeSummaryDialog to Dialogs folder
This commit migrates the ExchangeSummaryDialog component to the dialogs folder whilst converting it to Typescript
2022-05-17 22:29:25 +02:00
Reckless_Satoshi
cc06874f4d
Fix invalid payload when premium textbox is reset. Mv pngs 2022-05-17 09:19:35 -07:00
Reckless_Satoshi
16da19815f
Add files via upload (#139)
Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>
2022-05-17 13:59:47 +00:00
Reckless_Satoshi
159cf1a39e
Add SeeCompatibleWallets button to re-submit invoic after fail routing 2022-05-16 13:57:44 -07:00
Reckless_Satoshi
b92d78967a
Create LearnDialog (links to learn.robosats.com) 2022-05-16 13:42:51 -07:00
Reckless_Satoshi
1c1c6fc488
Add link to Learn.RoboSats, add WIP _include 2022-05-16 12:34:54 -07:00
Reckless_Satoshi
a6c433719e
Convert Icons to ts, add Bitcoin Icons 2022-05-16 11:01:17 -07:00
Reckless_Satoshi
6f318129c1
Add Wallet compatibiity button link 2022-05-16 06:03:01 -07:00
Reckless_Satoshi
1a751b4fa7
Make collateral lock step more explicit for takers 2022-05-16 05:22:40 -07:00
Reckless_Satoshi
30300c7e4f
Improve connection of UI between Make and Book 2022-05-16 04:37:30 -07:00
Reckless_Satoshi
55e3f8d031
Merge branch 'linear-determinate-to-ts' into main (#132) 2022-05-16 01:35:16 -07:00
Reckless_Satoshi
523d899482
Add import React on LinearDeterminate 2022-05-16 01:34:03 -07:00
Reckless_Satoshi
9e96aaa021
Add Twitter to CommunityDialog 2022-05-13 08:47:54 -07:00
Reckless_Satoshi
5cba7474b8
Catalan translation (#133)
* Catalan translation

Work in progress.

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

* Update ca.json

Catalan translation finished.

* Update ca.json

Updated according to the latest English version.

* Activate CA

Co-authored-by: ₿lue Lynx <104466642+BlueLynx21@users.noreply.github.com>
2022-05-11 13:31:12 +00:00
Fernando Porazzi
73baacb137
Convert LinearDeterminate component to Typescript 2022-05-11 13:27:11 +02:00
Reckless_Satoshi
ce0f5f8f74
Merge branch 'add-typescript-support' into main (#103) 2022-05-10 11:57:51 -07:00
Reckless_Satoshi
ee445e0cff
Fix last warnings 2022-05-10 11:44:12 -07:00
Reckless_Satoshi
8ae7a5d0c9
Remove 'buy' as make order default 2022-05-10 05:18:28 -07:00
Reckless_Satoshi
1b4d42cfdf
Implement last order always shown on robot profile 2022-05-09 15:34:10 -07:00
David
60944ea716
Fix layout for small iOS devices and allow scroll (#130)
* Fix layout for small iOS devices and allow scroll

* Apply new styles in fidelity bond lock page
2022-05-09 22:09:19 +00:00
David
3894ca5d30
Fix typos in spanish translation file (#131) 2022-05-09 17:40:09 +00:00
Reckless_Satoshi
3c662b847f
Create StoreToken and NoRobot dialogs 2022-05-08 15:07:49 -07:00
Reckless_Satoshi
6112e64b61
Fix warnings in Tradebox and Chat 2022-05-08 09:46:27 -07:00
Reckless_Satoshi
9af2e722be
Fix warnings, wip 2022-05-08 08:43:08 -07:00
Reckless_Satoshi
c09e81a037
Add usage of API fetched limits everywhere on MakerPage 2022-05-08 06:29:42 -07:00
David
ce1cf4ef99
Fix order book alignement in iOS (#127) 2022-05-07 21:21:12 +00:00
Reckless_Satoshi
8d9f79c5af
Create InfoDialog Component 2022-05-07 11:59:42 -07:00
Reckless_Satoshi
c9649d58a8
Add back lost duplicated tooltip message 2022-05-07 11:24:38 -07:00
Fernando Porazzi
423c816389
Create CommunityDialog component 2022-05-06 12:44:23 +02:00
Fernando Porazzi
90939c42e5
Create FlagWithProps component
This component replaces the function getFlags
2022-05-06 12:44:23 +02:00
Fernando Porazzi
a1aa270cfd
Remove duplicated tooltip
The Tooltip component does not allow another Tooltip component as child.
2022-05-06 12:43:51 +02:00
Reckless_Satoshi
6c53fc21c5
Fix RangeSlider 2022-05-06 12:43:51 +02:00
Reckless_Satoshi
1145812e2e
Fix undefined imports 2022-05-06 12:42:15 +02:00
Fernando Porazzi
d5c93e5a30
Fix type errors 2022-05-06 12:36:52 +02:00
Fernando Porazzi
b397420241
Convert prettyNumbers util to Typescript 2022-05-06 12:32:13 +02:00
Fernando Porazzi
dcefce874f
Add typescript support and change webpack and babel config
This commit adds full Typescript support. Although .js files will keep on working normally, it's encouraged that new files are created with either .tsx(for components) or .ts(for non components) extensions.

Also, a linter with some basic settings for React and Typescript has been added. These settings can be changed at any time if needed.
2022-05-06 12:32:12 +02:00
Reckless_Satoshi
e4e33d39f5
Fix charged maker bond at cancel before taker bond is locked 2022-05-05 11:15:14 -07:00
Reckless_Satoshi
02321a3592
Add alert user to save token before taking order 2022-05-04 08:13:35 -07:00
Reckless_Satoshi
26155fe451
Add currency UAH 2022-05-04 07:27:05 -07:00
Reckless_Satoshi
b3fcfc0570
Fix colaboative cancel broken 2022-05-03 15:51:52 -07:00
Reckless_Satoshi
a4afb81ccc
Prompt user to store token before order making 2022-05-03 15:38:41 -07:00
Reckless_Satoshi
2b44d32b01
Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
dsitti
4abfe91587
Update de.json (#122)
* update de.json

* update de.json

Signed-off-by: dsitti <dsitti@pm.me>
2022-05-03 16:38:57 +00:00
Reckless_Satoshi
416aab46d0
Store orders in app state. Fix typos. 2022-05-02 09:35:05 -07:00
Reckless_Satoshi
0d4922a6e2
Add new payment method icons 2022-05-02 08:34:42 -07:00
Reckless_Satoshi
09e68c4473
Add new Info logo. Fix buy/sell icons. 2022-05-01 14:54:05 -07:00
Reckless_Satoshi
7e71d6da37
Merge branch 'add-art-0.1.2' into main 2022-05-01 14:26:28 -07:00
RedPurdy
a4ff0d24eb
v0.1.2 2022-05-01 22:18:45 +02:00
RedPurdy
3eb7cec094
Buy-selected-icon-correction 2022-05-01 21:38:45 +02:00
ibertario
b36155fbd6
BTC instead of Sats on Stats For Nerds (#98)
* Update views.py

* Update BottomBar.js
2022-05-01 18:09:17 +00:00
Reckless_Satoshi
7af3b13050
Add new icons to methods.js 2022-05-01 10:24:36 -07:00
David
fa524427d3
Add complete set of localized amazon icons (#119) 2022-05-01 17:08:02 +00:00
Reckless_Satoshi
1f920c9268
Fix DEL in clean orders. Add cancel button to paused order 2022-05-01 10:05:58 -07:00
Reckless_Satoshi
419fadc125
Add new icons, add new limits. Fix minor bugs. 2022-05-01 06:41:55 -07:00
RedPurdy
a727bc2039
Sell-icon-2-correction 2022-05-01 15:08:01 +02:00
RedPurdy
34310409a9
receive-icon-correction 2022-05-01 14:53:35 +02:00
RedPurdy
de31909564
Buy-Icon-correction 2022-05-01 13:32:43 +02:00
Reckless_Satoshi
8d62ef1b89
Add new svg buy/sell icons (#118)
Co-authored-by: RedPurdy <104675727+RedPurdy@users.noreply.github.com>
2022-05-01 09:45:04 +00:00
Edu392
44da4d0fc1
Update fr.json (#117)
Corrected 6 sentences which were not finishing by ","
2022-05-01 09:39:36 +00:00
RedPurdy
3d84c5ceac
Add new svg buy/sell icons 2022-04-30 17:57:12 +02:00
Reckless_Satoshi
3f6602e1a9
Activate new payment method icons 2022-04-29 12:39:54 -07:00
Reckless_Satoshi
a60ed8ae00
Activate DE and FR 2022-04-29 12:26:33 -07:00
Reckless_Satoshi
755874b100
Advanced maker options v2 (#110)
* Add escrow/invoice time customization

* Add accordion for Expiry times

* Add current price on order maker

* Add deposit timeout limit on order page

* Minor aestetic fixes

* Implement pause/unpause and expiry reasons

* Add renew order

* Add highlight buy/sell on maker page

* Fix order renewal. Improve book visuals and response.

* Fix double renew requests

* Fix cancel orders. Fix paused status to delay

* Fix paused order layout and loading spinner

* Add telegram message: order is in chat
2022-04-29 18:54:20 +00:00
Edu392
0b7d2754d1
fr.json (#107)
* Create fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json

* Update fr.json
2022-04-29 15:03:01 +00:00
David
2d24f0fa46
Add amazon icons including flags of 8 regions (#113) 2022-04-29 07:17:06 +00:00
dsitti
c9e1dceef5
de.json (#108)
German translation by @dsitti 

* Merge branch 'Translation-german' of https://github.com/dsitti/robosats into Translation-german

* changed some text for better UI
2022-04-27 23:07:09 +00:00
Reckless_Satoshi
ba9bc16b53
Polish translation (#111)
* Create pl.json

* Update pl.json

* Update pl.json

* Update pl.json

* Update pl.json

* Activate PL translation

Co-authored-by: valladolidBTCpol <104273807+valladolidBTCpol@users.noreply.github.com>
2022-04-24 19:32:08 +00:00
valladolidBTCpol
e2e939b044
pl.json (#105)
* Create pl.json

* Update pl.json

* Update pl.json

* Update pl.json

* Update pl.json
2022-04-24 19:30:42 +00:00
Reckless_Satoshi
21c4e9f74c
Add positioning badge on Order page avatars 2022-04-24 09:01:25 -07:00
Reckless_Satoshi
acc0db2e96
New filtering and Buy/Sell icons in Book and Maker page 2022-04-24 08:18:17 -07:00
Reckless_Satoshi
433952cbf4
Fix lnpayment deletion at profile deletion. Fix precision premium rank. 2022-04-24 04:20:05 -07:00
Reckless_Satoshi
f7fb80ee07
Add book refresh button. Add amazon TLDs 2022-04-22 08:15:53 -07:00
Reckless_Satoshi
a464a011f5
Add AliPay & WeChat Pay methods. Fix spanish translation. 2022-04-22 07:45:49 -07:00
Fernando Porazzi
e680f32f79
Remove built main.js from versioning (#102)
We should never version built files. This leads to conflicts when merging branches.

This commit deletes the main.js file and changes the .gitignore to prevent it from being added again
2022-04-21 13:03:42 +00:00
Fernando Porazzi
37d5111779
Pretty numbers (#99)
* Create pn helper function inside utils folder

The function pn() is being defined a few times in different components. This commit is the first of two commits to solve this issue.

This commit only creates the function inside the utils folder.

Jest is also being introduced for unit tests.

* Use pn from utils folder

This commit removes the multiple definitions of pn found across the project and imports the helper function whenever needed.
2022-04-20 13:58:55 -07:00
Reckless_Satoshi
5c06cab195
Rework concurrent payments. in_flight true/false 2022-04-18 15:19:58 -07:00
Reckless_Satoshi
2f1f82f1a6
Add currency XAF, TZS. Fix XOF icon. 2022-04-17 14:17:52 -07:00
Reckless_Satoshi
9297ddfb2a
Refactor payment icons, add 'not specified' icon 2022-04-17 13:33:43 -07:00
Reckless_Satoshi
5e784d4bbb
Add payment method translations 2022-04-17 12:14:22 -07:00
Reckless_Satoshi
42cf915dea
Fix re-taken order asks for new buyer invoice 2022-04-16 12:50:40 -07:00
Reckless_Satoshi
9f57667f36
Improve contribute icons readme. Add trademark usage disclaimer. Add 5 new payment methods 2022-04-16 08:31:42 -07:00
Reckless_Satoshi
14b4c16fa3
Fix for UI & Spanish translation. Implement concurrent invoice payments. 2022-04-15 17:04:17 -07:00
Fernando Porazzi
7bca5ecdc7
Extract getCookie function into its own file (#94)
The getCookie function was being implemented a couple of times across the pages. These changes create a single implementation and imports the helper function whenever needed.
2022-04-15 16:22:49 +00:00
Reckless_Satoshi
22675ebaab
Spanish translation (#96)
* Translate tp Spanish (#93)

* update_es.json

* Update es.json

Translate eng to esp from line 222 to end

Co-authored-by: mamifiero <99733022+mamifiero@users.noreply.github.com>

* Fit book and maker UI for variable length text

* Correction and style of the Spanish translation (#95)

* Correction and style of the Spanish translation

The following terms have been unified and adjusted only in Spanish, but can be done in English base too:

* Satoshis, satoshis, sats = Sats (in honour of RoboSats)
* Robot (always first capital letter in honour of RoboSats)
* Lightning, lightning, LN, Lightning Network = Lightningç
* Telegram, TG = Telegram
* Trade, Swap = Trade (Intercambio)
* Trade counterpart, Peer, Trading peer = Peer (Compañero)
* Hold invoice, Bond & Fidelity Bond = Bond (Fianza)
* Trade collateral, Collateral, Trade escrow, Escrow = Collateral (Colateral)
* Burner contact method, Burner email = Burner contact method (Método de contacto de usar y tirar)
* Hidden service (deprecated), Onion services, .onion site = Onion site (sitio cebolla)
https://tb-manual.torproject.org/es/onion-services/
* Tor Browser (Navegador Tor)
https://tb-manual.torproject.org/es/about/
* Craiglist is not common on spanish countries, so now inserted WallaPop

* Update es.json

Co-authored-by: decentralized.b <58108487+decentralizedb@users.noreply.github.com>
Co-authored-by: mamifiero <99733022+mamifiero@users.noreply.github.com>
Co-authored-by: ibertario <68381662+ibertario@users.noreply.github.com>
2022-04-15 16:15:57 +00:00
Reckless_Satoshi
fb62be2ebb
Delete frontend/src/components/payment-methods/webp directory 2022-04-12 21:37:00 +00:00
Reckless_Satoshi
1c928d1cd2
Fixes #90, Fixes #89, Fixes #88 2022-04-10 11:48:43 -07:00
Reckless_Satoshi
357d00c130
Disable ES 2022-04-10 06:53:31 -07:00
Reckless_Satoshi
a85c34f14c
Merge branch 'i18n' of github.com:Reckless-Satoshi/robosats into i18n 2022-04-10 06:49:37 -07:00
Reckless_Satoshi
d5d36dc6f0
Add instant SEPA, small fixes 2022-04-10 06:45:43 -07:00
Reckless_Satoshi
06529595d6
Add instant SEPA, small fixes 2022-04-10 05:28:10 -07:00
Reckless_Satoshi
6044583b28
Update CONTRIBUTING.MD 2022-04-06 10:47:50 +00:00
Reckless_Satoshi
96c6358d4e
Internationalization (#85)
* Implement react i18n-next

* Add XHR i18n backend, include currencies_dict in APP

* Implement i18n 2/9. Add site description

* Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled.

* Implement i18n 4/9 MakerPage.

* Implement i18n 5/9 OrderPage

* Implement i18n 6/9 Chat

* Implement i18n 9/9 Book, Bottom Bar, Profile, Misc, Info

* Add Contributing translation guidelines
2022-04-05 14:25:53 +00:00
Reckless_Satoshi
a263ccba3a
Add Contributing translation guidelines 2022-04-05 07:23:00 -07:00
Reckless_Satoshi
eaf596936c
Implement i18n 9/9 Book, Bottom Bar, Profile, Misc, Info 2022-04-04 15:56:50 -07:00
Reckless_Satoshi
41d121ce82
Implement i18n 6/9 Chat 2022-04-04 12:26:09 -07:00
Reckless_Satoshi
433f538508
Implement i18n 5/9 OrderPage 2022-04-04 12:18:07 -07:00
Reckless_Satoshi
b95d21c8bc
Implement i18n 4/9 MakerPage. 2022-04-04 08:41:56 -07:00
Reckless_Satoshi
95e4f0811a
Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled. 2022-04-04 05:42:45 -07:00
Reckless_Satoshi
243147686f
Implement i18n 2/9. Add site description 2022-04-03 14:34:12 -07:00
Reckless_Satoshi
4c2ec14a2f
Add XHR i18n backend, include currencies_dict in APP 2022-04-02 07:42:36 -07:00
Reckless_Satoshi
1061403487
Implement react i18n-next 2022-04-01 16:41:08 -07:00
Reckless_Satoshi
2c8dfdbff5
Small cosmetic and usuability fixes 2022-04-01 13:19:03 -07:00
Reckless_Satoshi
7f07613060
Add permanent memory for book type and currency 2022-03-31 07:38:53 -07:00
Reckless_Satoshi
24897866fa
Fix payment methods icon/text align and orderbook ANY currency 2022-03-31 04:22:25 -07:00
Reckless_Satoshi
3a2af01ab6
Fix empty other payment method after text parse 2022-03-31 02:45:45 -07:00
Reckless_Satoshi
b85b78c722
Fix payment method delete bug, improve viz (better icons, better shadows) 2022-03-30 13:01:26 -07:00
Reckless_Satoshi
d68d07f760
Add string to icons. Add payment icons to order and book page. 2022-03-30 07:26:13 -07:00
Reckless_Satoshi
8265dc1dc4
Make method picker functional. Add Swap methods and icons. 2022-03-30 03:57:56 -07:00
Reckless_Satoshi
baf76025c2
Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
Reckless_Satoshi
85ff23894d
Replace bottomBar unicode emojis for svg icons 2022-03-27 08:23:00 -07:00
Reckless_Satoshi
784ce92ae5
Replace userpage unicode emojis for svg icons 2022-03-27 05:09:51 -07:00
Reckless_Satoshi
227dbf2e49
Include flags in-app (replace unicode emojis) 2022-03-27 04:39:33 -07:00
Reckless_Satoshi
4b31acfca9
Add full datagrid static loader spinner 2022-03-26 12:07:08 -07:00
Reckless_Satoshi
83df98613d
Merge pull request #81 from tradewind886/patch-2
Update getFlags.js
2022-03-26 16:19:30 +00:00
Reckless_Satoshi
9773cc6e25
Merge pull request #82 from tradewind886/patch-3
Update currencies.json
2022-03-26 16:19:07 +00:00
Reckless_Satoshi
36134cf1a7
Merge pull request #76 from Reckless-Satoshi/advanced-maker-options-1
Advanced maker options v1
2022-03-26 16:18:44 +00:00
Reckless_Satoshi
fae1f1317e
Fix TG retry welcome bug 2022-03-26 08:23:34 -07:00
Reckless_Satoshi
b89df0217d
Minify main.js, improve spinner and loader page 2022-03-25 12:47:01 -07:00
Reckless_Satoshi
261cb46f9b
Add app loading message slider 2022-03-25 05:27:27 -07:00
Reckless_Satoshi
d5e5879340
Add css app loading page 2022-03-25 03:07:29 -07:00
Reckless_Satoshi
6ce9957694
mend 2022-03-24 17:30:40 -07:00
Reckless_Satoshi
dc5f228fce
Fix percentile computing for ranges, fix limit adjusts by premium 2022-03-24 17:09:55 -07:00
Reckless_Satoshi
0be7bccc0d
Fix dark theme chat and qr margins 2022-03-24 15:18:01 -07:00
Reckless_Satoshi
cb7dcab147
Remove input numeric arrows 2022-03-24 10:29:51 -07:00
tradewind886
d3e06df062
Update currencies.json
adding TWD (new Taiwan Dollar) currency
2022-03-25 00:29:27 +08:00
tradewind886
47ef44b6ca
Update getFlags.js
yadio.io has now added TWD to the ticker, submitting change to getflags alongside currencies.json
2022-03-25 00:27:43 +08:00
Reckless_Satoshi
5aa0304d32
Improve amount specification UI 2022-03-24 08:43:31 -07:00
Reckless_Satoshi
93da75607c
Fix maker order tab alignment, fix typo on info text 2022-03-24 06:53:11 -07:00
Reckless_Satoshi
5ee28f9564
Add dark mode, text input for amount range, basic/advance tabs 2022-03-24 06:41:32 -07:00
Reckless_Satoshi
7c3c7758d7
Update favicons 2022-03-22 15:16:35 -07:00
Reckless_Satoshi
ffee6f4b56
Fix do_accounting, safe adjust maxRange 2022-03-22 12:45:44 -07:00
Reckless_Satoshi
8ae2406275
Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
Reckless_Satoshi
bf80986005
Implement min_amount max_amount model props and validation 2022-03-21 16:27:36 -07:00
Reckless_Satoshi
2998c265d6
Add smart amount range picker with limits 2022-03-21 08:51:26 -07:00
Reckless_Satoshi
ca79ea9914
Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00