199 Commits

Author SHA1 Message Date
34a8fd99ed Make stealth invoices the default 2022-09-16 09:50:11 -07:00
f2cd20c8f0 Add Telegram context on UserGen response 2022-09-16 09:45:09 -07:00
6fc20424a8 Fix logic of checking whether non-participants can view order details (#245)
* Fix logic of checking whether non-participants can view order details

* Fix for no participants to not get lengthy responses on public orders

Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2022-09-15 15:47:09 +00:00
1ba94b2abc Add Telegram notifications for order takers (#244)
* Create EnableTelegramDialog functional component

* Move Enable TG button to Profile dialog

* Add TG bot_name, token and state to API /info/

* Add messages for order takers to Telegram class
2022-09-15 15:42:33 +00:00
215e04f75e Fix error when query parameters not passed (#239)
if no parameters are passed to `/api/book` then just return
orders of ALL currency of ANY type.

Currently, if no query parameters are passed, then the API returns
500 status code
2022-09-11 15:04:03 +00:00
c62a6369b0 Expose Satoshis Now on API (#236) 2022-09-10 13:51:15 +00:00
eff58dc91d Add stealth invoices (#210)
* Add stealth invoice switch to profile

* Add stealth invoice including only order uuid

* Add explanatory tooltip for stealth invoices and fix code smells
2022-08-12 17:41:06 +00:00
456723973c Add contract oracle timestamp and exchange rate to summary 2022-07-18 06:50:56 -07:00
834733cb61 Add trade summary at trade finish 2022-07-16 04:26:44 -07:00
a7cb34e55f Add npm test github actions workflow 2022-07-13 13:50:06 -07:00
a98ff65638 Fix UI. Hide unneeded expiry bars. Refresh book always. Round to 8 BTC decimals. 2022-07-02 12:51:29 -07:00
b5dd4fbea5 Improve clarity on order not available message 2022-07-01 04:22:26 -07:00
bd70d94d4a Add MarketTicks endpoint /api/ticks. Fix do_accounting. 2022-06-21 13:25:03 -07:00
c397ff63e5 Add rewards and referral code on usergen api responses 2022-06-21 04:47:29 -07:00
6f7cfb5147 Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
f1c4754868 Fix bad reply after submitting invoice 2022-06-19 07:32:00 -07:00
5c87c5ad85 Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
efed6b3c0a Pay buyer onchain-tx 2022-06-16 08:31:30 -07:00
8f93c8f7b6 Add address submission and validation checks 2022-06-13 15:27:09 -07:00
dc9d5e5e2a Add frontend input address components 2022-06-11 09:21:53 -07:00
cf82a4d6ae Add onchain logics pt2 2022-06-06 13:37:51 -07:00
8d0b518222 Add onchain logics pt1 2022-06-06 10:57:04 -07:00
ec167b6573 Fix chatroom names. Fix users entering old chats 2022-06-03 02:39:48 -07:00
bedac53e29 Fix missing PGP keys when early login. Fix avatar not found when make/book is clicked. 2022-05-30 14:19:16 -07:00
d1f671cf66 Validate PGP keys with GnuPG when a new robot is created 2022-05-30 06:34:27 -07:00
f304fa27f9 Fix empty invoice unhandled error 2022-05-28 06:05:26 -07:00
4da6a43a59 PGP ID is second hash of token 2022-05-26 14:16:02 -07:00
ac0969baf6 Convert new UserGen into POST. Fix misformed armored keys. Example encrypt/decrypt. 2022-05-23 04:21:01 -07:00
789f9fbdb1 Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
191dfe0d3b Upgrade userGen, only token_sha256 used. Deprecate token user generation. 2022-05-22 12:30:12 -07:00
d48ee9ced4 Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
1b4d42cfdf Implement last order always shown on robot profile 2022-05-09 15:34:10 -07:00
83c8d80da3 Add exchange historical endpoint api/historical 2022-05-09 10:35:04 -07:00
2b44d32b01 Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
b36155fbd6 BTC instead of Sats on Stats For Nerds (#98)
* Update views.py

* Update BottomBar.js
2022-05-01 18:09:17 +00:00
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
8ae2406275 Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
bf80986005 Implement min_amount max_amount model props and validation 2022-03-21 16:27:36 -07:00
3d9ef5fc58 Add limits API endpoint 2022-03-20 16:46:36 -07:00
5730ec0383 Add any-domain referral, ontop UnsafeAlert and control panel(app) 2022-03-19 09:33:01 -07:00
d31bd63edc Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
a36f23b572 Add maker selects public duration 2022-03-18 14:21:13 -07:00
feacb485fb Change 'today' stats for 'last 24h' 2022-03-13 05:00:21 -07:00
806a56c7f9 Remodel price endpoint to only return latest markettick 2022-03-12 06:55:29 -08:00
f383d20c37 Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
255dae188d Implement withdraw rewards (backend & frontend) 2022-03-06 08:08:28 -08:00
794d1e8f1b Add reward invoice submit to UI 2022-03-06 03:45:06 -08:00
4ee6778e11 Implement referral attributes and logics 2022-03-05 10:45:42 -08:00
dea2b665fb Route refCode url to api/user and display rewards 2022-03-05 09:32:27 -08:00
c385be123f Display total book liquidity in summary stats 2022-03-05 05:46:22 -08:00