Commit Graph

65 Commits

Author SHA1 Message Date
koalasat
6885a24f59 Include created_at 2024-07-09 21:50:48 +02:00
koalasat
53bdb30166 Fix endpoint fields 2024-07-09 21:39:15 +02:00
KoalaSat
9855e5d1f2 Test fix 2024-07-09 21:39:15 +02:00
KoalaSat
0175e73ca1 New notifications 2024-07-09 21:39:15 +02:00
KoalaSat
1757a9781a
Feat: add notifications api endpoint (#1347)
* Notifications Endpoint

* Fix tests

* CR

* Check tests

* Fix Tests

* Fix Chat

* Remove unused notifications

* Fix chat

* Fix chat

* Fix chat
2024-06-27 16:47:23 +00:00
jerry
9e1216628a
add robot status "Seen Recently" where missing in the documentation (#1312)
add robot status "Seen Recently" where missing
2024-06-02 08:37:38 +00:00
Reckless_Satoshi
ee9b7147e9
fix(coordinator): warning on drf serialializer decimal 2024-04-21 22:09:06 +01:00
Reckless_Satoshi
5509340c99
add api info entries for limits and swap availability 2024-02-11 14:57:47 +00:00
Reckless_Satoshi
bc9f8ae985
Add robot hash ids to order details and robot view 2023-12-01 12:56:55 +00:00
Reckless_Satoshi
92b041cb31
Add maker_hash_id to book response 2023-11-28 11:13:40 +00:00
Reckless_Satoshi
01c4a28dae
Refactor trade tests, add onchain payout test 2023-11-23 17:53:39 +00:00
Reckless_Satoshi
515133bb8e Add ticks test 2023-11-20 14:54:04 +00:00
Reckless_Satoshi
f271d59172 Add pause/unpause tests 2023-11-17 13:02:30 +00:00
Reckless_Satoshi
5674337b32 Add fiat sent/received confirmation tests. Improve API documentation 2023-11-17 13:02:30 +00:00
Reckless_Satoshi
79a3df66a2 Add lock escrow tests 2023-11-17 13:02:30 +00:00
Reckless_Satoshi
605a37bb87 Add CLN regtest to integration tests 2023-11-14 13:54:51 +00:00
Reckless_Satoshi
ebd0a287c3 Add dev dependencies and regtest test environments 2023-11-14 13:54:51 +00:00
Reckless_Satoshi
b4fe30e733 Add testing against API specs with assertResponse 2023-11-14 13:54:51 +00:00
Reckless_Satoshi
a555f204ca
Fix models decoupling (#874)
* Fix move order model constrains to env to settings.py

* Remove lnpayment, tick, onchain model contraints based on .env
2023-10-10 12:48:05 +00:00
KoalaSat
4d45b884cf
Add location to F2F payment option (backend) (#867)
* Add location to F2F payment option

* Fix py linterns

* Include migration

* Revert docker-compose changes

* Remove bond_size from migration

* Rename 0043_order_latitude_order_longitude_alter_order_bond_size.py to 0043_order_latitude_order_longitude.py
2023-10-10 12:47:22 +00:00
Reckless_Satoshi
ca3f7cb222
Delete user view, session auth and png avatars (#588) 2023-08-14 14:21:12 +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
899062ae70
Rename repository 2023-05-09 06:07:16 -07:00
Reckless_Satoshi
811cb4181d
Delete old user rating functionality 2023-05-05 05:40:29 -07:00
Reckless_Satoshi
4d62ea1549
Delete coordinator referral program functionality 2023-05-05 05:32:52 -07:00
Reckless_Satoshi
75f04579ed
Refactor models into a module (#481)
* Refactor models into a module

* Rename Profile model as Robot

* Underscore numeric literals
2023-05-01 10:30:53 +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
7e47fb60bf
Add automatic dispute resolution (#437)
* Add automatic dispute resolution logic

* Small fixes
2023-04-24 11:05:52 +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
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
Reckless_Satoshi
227610c84a
Add Nav Bar, Settings Page, large refactor (#308)
commit a5b63aed93
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 10:46:05 2022 -0700

    Small fixes

commit d64adfc2bf
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 06:02:06 2022 -0700

    wip work on federation settings

commit ca35d6b3d2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sun Oct 30 04:05:33 2022 -0700

    Refactor confirmation Dialogs

commit c660a5b0d1
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Sat Oct 29 13:36:59 2022 -0700

    refactor login (clean separation robot/info. Style navbar.

commit b9dc7f7c95
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Fri Oct 28 09:54:38 2022 -0700

    Add size slider and settings widget

commit 20b2b3dcd6
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Fri Oct 28 05:41:48 2022 -0700

    Add show more and Dialogs

commit da8b70091b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 27 16:26:07 2022 -0700

    Add sliding pages

commit 6dd90aa118
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Oct 27 06:34:58 2022 -0700

    Add settings forms

commit d3d0f3ee1a
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Wed Oct 26 04:16:06 2022 -0700

    Refactor utils
2022-10-30 12:13:01 -07:00
Reckless_Satoshi
7643e524f1
Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
Lint Action
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +00:00
redphix
c32c07eaa6
Python files style cleanup (#281)
* Remove unused imports in python files

* Add black and isort dependencies

Also added pyproject.toml for isort config, but later can be used to
configure various other python tools

* Add flake8 in requirements.txt

* Add py-linter workflow
2022-10-20 09:55:24 +00:00
Reckless_Satoshi
79dad7afe2
Add Chat endpoint to API v0 (#288)
* Add /api/chat route and GET method

* Add message POST method

* Wrap /api/chat GET in /api/order GET

* Add send channel message on POST request

* Fix OAS schema bug
2022-10-16 21:11:48 +00:00
redphix
7d887804a0
Fix docs - add missing field in /api/book (#279) 2022-10-11 17:26:06 +00:00
Reckless_Satoshi
0a100802f2
Add bond size to order book 2022-10-02 13:54:45 -07:00
redphix
9a6d3d33a4
Add OpenAPI v3.0 Docs for API (#243)
* Add initial api docs using drf-spectacular

This commit adds the inital and basic docs using drf-spectacular.
It also adds some serializers to be used for automatically
generating response objects by drf-spectacular

* Update api docs with correct request and response objects

- TODO: /order route

* Fix typo in api docs

* Separate OpenAPI schemas into it's own file

* Update drf-spectacular and add API intro and logo

* Update API docs for GET /order

* Add api docs for POST /order route

* Update serializers.py
2022-10-02 18:02:35 +00:00
ShatteredBunny
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
Reckless_Satoshi
bd70d94d4a
Add MarketTicks endpoint /api/ticks. Fix do_accounting. 2022-06-21 13:25:03 -07:00
Reckless_Satoshi
cf82a4d6ae
Add onchain logics pt2 2022-06-06 13:37:51 -07:00
Reckless_Satoshi
5b214c3b9c
Validate length of token_hash. Increase expiry times of routing status. 2022-05-30 07:08:32 -07:00
Reckless_Satoshi
ac0969baf6
Convert new UserGen into POST. Fix misformed armored keys. Example encrypt/decrypt. 2022-05-23 04:21:01 -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
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
d31bd63edc
Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
Reckless_Satoshi
a36f23b572
Add maker selects public duration 2022-03-18 14:21:13 -07:00
Reckless_Satoshi
f383d20c37
Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
Reckless_Satoshi
255dae188d
Implement withdraw rewards (backend & frontend) 2022-03-06 08:08:28 -08:00