kozabrada123
ac38c57ada
WebSocketConnection are no longer used
2023-05-13 16:34:05 +02:00
kozabrada123
3cac8c18c0
Add a few more gateway events
2023-05-13 16:24:34 +02:00
kozabrada123
b8f649b04b
Add rest of send events
2023-05-13 15:59:46 +02:00
kozabrada123
43f77245a1
Small unit test update
2023-05-13 15:36:29 +02:00
kozabrada123
184c12ab46
Remove terrible debug messages
2023-05-13 09:54:23 +02:00
kozabrada123
6c6adabb49
Fix nested task issues
2023-05-13 09:47:12 +02:00
kozabrada123
0e64946428
Deserialization error..
2023-05-13 09:05:20 +02:00
kozabrada123
b6814a3b10
Merge branch 'polyphony-chat:main' into main
2023-05-13 06:11:07 +00:00
Flori
b4d0e2d662
Merge pull request #38 from polyphony-chat/feature/sending-messages
...
Feature/sending messages
2023-05-12 19:21:09 +02:00
bitfl0wer
96091053e4
Mark Sending messages as done
2023-05-12 19:20:03 +02:00
bitfl0wer
86b7ee22c8
Change visibility of attachments
2023-05-12 19:18:51 +02:00
bitfl0wer
6953dbb326
add set_id() to FileAttachment
...
This is so that the id of the Attachment to be sent can just be overwritten by the send() method.
2023-05-12 19:18:40 +02:00
bitfl0wer
7984c5d19f
Make attachment sending work!
2023-05-12 19:18:00 +02:00
Flori
be0a4d7f0c
Merge pull request #37 from polyphony-chat/bitfl0wer-patch-1
...
Update README.md
2023-05-12 15:53:27 +02:00
Flori
37559e8665
Update README.md
2023-05-12 15:53:16 +02:00
kozabrada123
5ab07116ec
Merge branch 'polyphony-chat:main' into main
2023-05-12 11:41:53 +00:00
Flori
0fc5e19767
Merge pull request #36 from polyphony-chat/feature/sending-messages
...
fix send() function errors
2023-05-12 13:08:57 +02:00
bitfl0wer
00acaf6de9
cargo fix
2023-05-12 12:35:06 +02:00
bitfl0wer
eec54b4ca9
Change send to no longer take static refs
2023-05-12 12:34:27 +02:00
bitfl0wer
06d84af2db
Mark unused var as unused
2023-05-12 12:34:00 +02:00
bitfl0wer
70d7b005d9
impl PartialDiscordFileAttachment
...
Now contains move_$ methods, which can move individual values out of the PartialDiscordFileAttachment while preserving the rest of the object.
2023-05-12 12:33:39 +02:00
Flori
c7b2002957
Merge pull request #35 from polyphony-chat/feature/sending-messages
...
Bring main up to date
2023-05-11 23:37:11 +02:00
bitfl0wer
7eaa8a96b7
work on implementing message attachment sending
2023-05-11 23:35:36 +02:00
kozabrada123
4008d36763
Attempted reimpl
2023-05-11 22:47:31 +02:00
bitfl0wer
4c83e190b8
change message send impl
2023-05-11 22:36:35 +02:00
bitfl0wer
d5048c2ebb
add a todo so i dont forget to not eat all ram
2023-05-11 00:07:45 +02:00
bitfl0wer
175d40209f
cool i have written a memory hog
2023-05-11 00:06:13 +02:00
bitfl0wer
f42b3785f3
Change imports
2023-05-10 18:44:17 +02:00
bitfl0wer
afb5745a74
Change register test
2023-05-10 18:44:10 +02:00
kozabrada123
9962dfdf81
Merge branch 'feature/gateway-observer' into main
2023-05-09 18:35:53 +00:00
Flori
83cedc21ec
Merge pull request #33 from polyphony-chat/feature/sending-messages
...
Bring main up-to-date
2023-05-09 19:47:18 +02:00
bitfl0wer
38d9c3ad03
Change test_registration
2023-05-09 19:30:52 +02:00
Flori
5d039310bb
Merge pull request #32 from polyphony-chat/feature/users-retrieval-on-login-or-register
...
Feature/users retrieval on login or register
2023-05-09 19:07:42 +02:00
bitfl0wer
8b09d16542
Make register and login return UserObject
2023-05-09 17:19:41 +02:00
bitfl0wer
478313507f
Extend UserObject to match with Spacebars' User
2023-05-09 17:19:23 +02:00
bitfl0wer
d8c8cd079b
remove println
2023-05-09 17:19:04 +02:00
bitfl0wer
0ba2f568fd
impl get_settings()
2023-05-09 14:05:36 +02:00
bitfl0wer
5971ce1dbc
Make register and login return User
2023-05-09 14:05:03 +02:00
bitfl0wer
15ee53b5f4
Made modules public, removed 110 warnings
2023-05-09 14:04:46 +02:00
bitfl0wer
59be7b1cde
Removed empty lines of code
2023-05-09 14:04:34 +02:00
bitfl0wer
702cafc0f5
make token pub
2023-05-09 13:10:07 +02:00
kozabrada123
d1e8cb2d5c
Less spam debug log
2023-05-07 12:44:11 +02:00
bitfl0wer
11be031e98
Remove logged_in from User
2023-05-07 12:42:52 +02:00
bitfl0wer
54944fbb0e
Run clippy
2023-05-07 12:41:14 +02:00
bitfl0wer
8f3912c277
Remove unneccessary imports
2023-05-07 12:39:56 +02:00
bitfl0wer
b2fa6db492
Remove lifetime from Instance (see below)
...
Originally, it was planned, that the Instance object would store Users. I have identified, that this was not needed, as it goes beyond the scope of a library; Users of this library are expected to keep track of users themselves. The removal of this user storage also prevented further overcomplications.
2023-05-07 12:39:04 +02:00
kozabrada123
ebab5d4433
Was still a merge conflict there
2023-05-07 12:05:58 +02:00
kozabrada123
f14b7c0e49
Fix merge conflict
2023-05-07 12:04:46 +02:00
kozabrada123
ea6bacd7b8
Rethink websockets, fix thread blocks
2023-05-07 11:58:12 +02:00
bitfl0wer
50ecc78da0
add docs, add instance.get_user()
2023-05-07 11:54:49 +02:00