Commit Graph

44 Commits

Author SHA1 Message Date
Lint Action
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +00: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
Reckless_Satoshi
588691c4c8
Add new payment methods and rename posgres_db envvar 2022-08-09 02:44:29 -07:00
Reckless_Satoshi
6f1e865a15
Enable warnings logging to console via envvar 2022-08-01 05:55:43 -07:00
Reckless_Satoshi
65f781af43
functional, but chat does not send messages (it does receive) 2022-06-26 15:43:57 -07:00
Reckless_Satoshi
e525b84c9e
Fix payments cleansing 2022-06-21 06:32:35 -07:00
Reckless_Satoshi
7eb29fb57e
Delete and reload cookies on avatar login 2022-06-20 07:26:19 -07:00
Reckless_Satoshi
5c87c5ad85
Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
Reckless_Satoshi
f538d26355
Create Balance model and log task 2022-06-06 02:32:39 -07:00
Reckless_Satoshi
6fa145c185
Create task to delete canceled LNpayments older than 3 days 2022-05-31 03:35:36 -07:00
Reckless_Satoshi
8b7e05a24d
Create task to delete older than 3 days encrypted messages 2022-05-31 02:23:01 -07:00
Reckless_Satoshi
3d9ef5fc58
Add limits API endpoint 2022-03-20 16:46:36 -07:00
Reckless_Satoshi
ca79ea9914
Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00
Reckless_Satoshi
5730ec0383
Add any-domain referral, ontop UnsafeAlert and control panel(app) 2022-03-19 09:33:01 -07:00
Reckless_Satoshi
a36f23b572
Add maker selects public duration 2022-03-18 14:21:13 -07:00
Reckless_Satoshi
a3b19d871f
Add UI, switch rewards, switch advanced, allow bondless, robologo 2022-03-15 11:20:57 -07:00
Reckless_Satoshi
ec7aac2e00
Implement give rewards scheduler 2022-03-05 12:51:16 -08:00
Reckless_Satoshi
0b7542bf68
Add postgresql envvars 2022-02-20 04:03:53 -08:00
Reckless_Satoshi
2cf10ce86b
Switch to postgres dev environment 2022-02-19 17:13:51 -08:00
Reckless_Satoshi
fc4ccd5281
Re-format all python code 2022-02-17 11:50:10 -08:00
rs
a9a344fddf Fix taker bond is not return on maker cancel. Update all libs. Add extra hosts. 2022-02-13 16:43:49 +00:00
rs
04e097536e Add allowed local host alias 2022-02-12 23:09:13 +00:00
Reckless_Satoshi
04c9466c3e
Unlink avatars from prod static 2022-02-12 07:46:58 -08:00
Reckless_Satoshi
27ebf29397
Add secret_key to env, fix docker CMD bug 2022-02-10 13:38:56 -08:00
Reckless_Satoshi
4a16f7debd
Fit for daphne + gunicorn. Docker default command runs dev node. 2022-02-10 11:28:59 -08:00
Reckless_Satoshi
470393f2a0
Working docker-compose 2022-02-07 10:11:57 -08:00
Reckless_Satoshi
3eff1f38ff
Serve statics into dev/prod 2022-02-07 05:37:16 -08:00
Reckless_Satoshi
f830c4df15
Init dockerization of dev environment with docker-compose 2022-02-07 03:21:59 -08:00
Reckless_Satoshi
14ae3d0c2e
Prepare for collectstatic 2022-02-06 16:15:45 -08:00
Reckless_Satoshi
18d5cac16a
Add timeout for db writes to avoid sqlite database locked error 2022-01-31 11:12:49 -08:00
Reckless_Satoshi
7218b9b0d3
Logics update: escrow settles exactly at buyer payout time. 2022-01-19 11:37:10 -08:00
Reckless_Satoshi
f010fe9bb0
Fix today active robots 2022-01-18 09:52:48 -08:00
Reckless_Satoshi
0db73c7c82
Convert order cleaning task into admin command 2022-01-17 10:11:44 -08:00
Reckless_Satoshi
eddd4674f6
Add admin background task: follow all active hold invoices 2022-01-17 08:41:55 -08:00
Reckless_Satoshi
28bfaee937
Add background task for expired orders removal 2022-01-16 10:32:34 -08:00
Reckless_Satoshi
185cc71e91
Improve market price fetching and caching 2022-01-16 07:18:23 -08:00
Reckless_Satoshi
7ba2fcc921
Add celery background and scheduled tasks. Add user cleansing task 2022-01-16 04:31:25 -08:00
Reckless_Satoshi
abb1bdd0be
Add dynamic countdown. Attach countdown to expiry progress bar. 2022-01-13 16:43:26 -08:00
Reckless_Satoshi
8104656ce6
Add Redis. Basic websocket chat working. 2022-01-13 06:08:21 -08:00
Reckless_Satoshi
f4b14baf69
Create new chat app, configure urls 2022-01-13 03:07:20 -08:00
Reckless_Satoshi
5df2134fb2
Add ugly site info page 2022-01-12 13:22:16 -08:00
Reckless_Satoshi
e83f0295a5
Build frontend app test page using React 2022-01-01 15:58:44 -08:00
Reckless_Satoshi
76a45bc8d5
Create API endpoint for POST make order
Added the Order model with a rough approxiation to the fields needed. The field status can be read lineally as the progression trough the app pipeline. The view serves POSTs requests to enter new orders into the db.
2022-01-01 14:40:08 -08:00
Reckless-Satoshi
97ae2056e5
Initialize the Django project and write setup guide 2022-01-01 10:53:17 -08:00