Commit Graph

37 Commits

Author SHA1 Message Date
Reckless_Satoshi
ee9b7147e9
fix(coordinator): warning on drf serialializer decimal 2024-04-21 22:09:06 +01:00
Reckless_Satoshi
82e4be8084
Fix missing maker/taker in chatroom when first peers is WS and second is REST 2023-12-25 13:44:27 +00:00
Reckless_Satoshi
ddb91b1cc4
Add chat REST tests and improve doc specs 2023-11-28 17:21:27 +00:00
Reckless_Satoshi
ca3f7cb222
Delete user view, session auth and png avatars (#588) 2023-08-14 14:21:12 +00:00
Reckless_Satoshi
7b6ebd0eab
Simplify coordinator updates, automatic migrations and collect statics (#583) 2023-05-15 09:46:59 +00:00
Reckless_Satoshi
3b77a473f8
Coordinator db performance clean up (#561)
* Improve DB writes performance and concurrency. Add order coordinator proceeds field.

* Fix checks on order GET inducing 400
2023-05-08 12:49:21 -07:00
Reckless_Satoshi
8434a256cf
Fix last_login for tokeauth, replace maker/taker_last seen for last_login 2023-05-07 08:06:35 -07:00
Reckless_Satoshi
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
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
d0450fc07d
Improve admin panel loading times 2023-04-27 02:38:16 -07:00
Reckless_Satoshi
399f8102f2
Add notification for new in-app chat messages (#403)
* Add TG message for new in-app chat messages

* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
Reckless_Satoshi
c2fb0e27a0
Fixes for API chatroom initialization 2022-11-15 09:53:42 -08:00
Reckless_Satoshi
3446fc33d3
Add turtle chat component
Squashed commit of the following:

commit f60870fcfe574dc4ab1343e25241b6ef7cc2721b
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Thu Nov 10 10:30:42 2022 -0800

    Fix internal error when entering chat

commit f1eeb49f2a86575eb2e85cdff20460276e71b806
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 10:08:22 2022 -0800

    Fix final serializer

commit d0c08ba6ad4378a9539c0be83b6f4f8b958b532e
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 09:44:57 2022 -0800

    Chat API changes

commit a66bf64edc06d936612db6bf75476b54e6a84334
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 09:28:29 2022 -0800

    Fix param on post

commit 60b18d13c2
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Tue Nov 8 08:56:25 2022 -0800

    Fix serializer

commit 11212d30ee
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 21:07:18 2022 +0100

    CR 2

commit c82790cb81
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 20:09:18 2022 +0100

    Fix

commit 605a3b69a1
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Sun Nov 6 14:44:42 2022 +0100

    CR

commit 09776e9c8f
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Wed Nov 2 18:12:29 2022 +0100

    translations

commit 432e4d2399
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Wed Nov 2 17:39:02 2022 +0100

    Switch and better UX

commit df6e476613
Author: KoalaSat <yv1vtrul@duck.com>
Date:   Tue Nov 1 18:20:01 2022 +0100

    Unused code

commit 5b8d6b4d32
Author: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Date:   Mon Oct 31 09:20:20 2022 -0700

    Add Chat Turtle Mode
2022-11-11 01:28:09 -08:00
Reckless_Satoshi
7643e524f1
Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
redphix
4d5c60239f
Conform to pep8 rules (#295)
* Conform to pep8 rules

* Fix some more flake8 linting errors
2022-10-20 20:53:51 +00:00
Lint Action
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +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
Reckless_Satoshi
7c050b560a
Fix signature verification error due to clock mismatch. Fix amount limits rounding. 2022-06-05 04:18:06 -07:00
Reckless_Satoshi
08f73ad923
Fix autoscroll, allow plaintext chat, forbid collab cancelation on wrong status 2022-06-04 14:26:53 -07:00
Reckless_Satoshi
64928cf4ea
Fix profile not showing, fix not connected, fix auto scroll chat 2022-06-04 10:29:21 -07:00
Reckless_Satoshi
ec167b6573
Fix chatroom names. Fix users entering old chats 2022-06-03 02:39:48 -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
aa7155974c
Serve PGP messages after reconnect 2022-05-28 07:59:32 -07:00
Reckless_Satoshi
b67e671b89
Create message model and save function 2022-05-28 06:01:50 -07:00
Reckless_Satoshi
508151eae5
Add showPGP per message, copy per message, create messageCard 2022-05-24 14:36:21 -07:00
Reckless_Satoshi
b5b129fb4e
Create EncryptedChat, add saveKeys & saveMessages, add audit button. WIP 2022-05-23 17:31:34 -07:00
Reckless_Satoshi
a3b19d871f
Add UI, switch rewards, switch advanced, allow bondless, robologo 2022-03-15 11:20:57 -07:00
Reckless_Satoshi
11ab92016f
Implement X-of-Y steps in TradeBox 2022-03-11 06:33:07 -08:00
Reckless_Satoshi
69f6735f86
Improve chat status communication 2022-03-10 13:35:16 -08:00
Reckless_Satoshi
191a043303
Improve chat text overflow. Graceful overflow without whitespaces. 2022-03-02 05:49:12 -08:00
Reckless_Satoshi
fc4ccd5281
Re-format all python code 2022-02-17 11:50:10 -08:00
Reckless_Satoshi
9d883ccc4d
Add expiration logics. Add dispute statements. 2022-01-16 13:54:42 -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
64df2c7ce6
Add provisional frontend chat. The chat is totally unsafe as of now. Does not store messages either. 2022-01-13 11:22:54 -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