bitfl0wer
4abe3d87ec
Change visibility of attachments
2023-05-12 19:18:51 +02:00
bitfl0wer
ec37e89cc4
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
1d2ebdd3cd
Make attachment sending work!
2023-05-12 19:18:00 +02:00
Flori
59a2a0ffd8
Merge pull request #37 from polyphony-chat/bitfl0wer-patch-1
...
Update README.md
2023-05-12 15:53:27 +02:00
Flori
3c7b057315
Update README.md
2023-05-12 15:53:16 +02:00
kozabrada123
94fabbffb0
Merge branch 'polyphony-chat:main' into main
2023-05-12 11:41:53 +00:00
Flori
320b839292
Merge pull request #36 from polyphony-chat/feature/sending-messages
...
fix send() function errors
2023-05-12 13:08:57 +02:00
bitfl0wer
32f337015a
cargo fix
2023-05-12 12:35:06 +02:00
bitfl0wer
56be2c9a17
Change send to no longer take static refs
2023-05-12 12:34:27 +02:00
bitfl0wer
9fd3f733f7
Mark unused var as unused
2023-05-12 12:34:00 +02:00
bitfl0wer
6732640f96
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
ea9d864580
Merge pull request #35 from polyphony-chat/feature/sending-messages
...
Bring main up to date
2023-05-11 23:37:11 +02:00
bitfl0wer
c544bd409d
work on implementing message attachment sending
2023-05-11 23:35:36 +02:00
kozabrada123
6dfaa6e91f
Attempted reimpl
2023-05-11 22:47:31 +02:00
bitfl0wer
ce46452a2f
change message send impl
2023-05-11 22:36:35 +02:00
bitfl0wer
a2819c13f0
add a todo so i dont forget to not eat all ram
2023-05-11 00:07:45 +02:00
bitfl0wer
fe63d11055
cool i have written a memory hog
2023-05-11 00:06:13 +02:00
bitfl0wer
7387053998
Change imports
2023-05-10 18:44:17 +02:00
bitfl0wer
5a7d5e0a4c
Change register test
2023-05-10 18:44:10 +02:00
kozabrada123
6ce7396275
Merge branch 'feature/gateway-observer' into main
2023-05-09 18:35:53 +00:00
Flori
c5cbfbdc71
Merge pull request #33 from polyphony-chat/feature/sending-messages
...
Bring main up-to-date
2023-05-09 19:47:18 +02:00
bitfl0wer
3011b1164f
Change test_registration
2023-05-09 19:30:52 +02:00
Flori
6972c6f69e
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
1bc8081655
Make register and login return UserObject
2023-05-09 17:19:41 +02:00
bitfl0wer
e6291bf384
Extend UserObject to match with Spacebars' User
2023-05-09 17:19:23 +02:00
bitfl0wer
aaf454ffa7
remove println
2023-05-09 17:19:04 +02:00
bitfl0wer
a7514a28c6
impl get_settings()
2023-05-09 14:05:36 +02:00
bitfl0wer
f06b43a8fe
Make register and login return User
2023-05-09 14:05:03 +02:00
bitfl0wer
b199d11889
Made modules public, removed 110 warnings
2023-05-09 14:04:46 +02:00
bitfl0wer
c073d6be54
Removed empty lines of code
2023-05-09 14:04:34 +02:00
bitfl0wer
f59f705ec0
make token pub
2023-05-09 13:10:07 +02:00
kozabrada123
fa05680552
Less spam debug log
2023-05-07 12:44:11 +02:00
bitfl0wer
40b7064541
Remove logged_in from User
2023-05-07 12:42:52 +02:00
bitfl0wer
31407c1bf1
Run clippy
2023-05-07 12:41:14 +02:00
bitfl0wer
6a94d34bb5
Remove unneccessary imports
2023-05-07 12:39:56 +02:00
bitfl0wer
240882ffdf
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
e67acfab49
Was still a merge conflict there
2023-05-07 12:05:58 +02:00
kozabrada123
0fd7be51a8
Fix merge conflict
2023-05-07 12:04:46 +02:00
kozabrada123
b4888d2f70
Rethink websockets, fix thread blocks
2023-05-07 11:58:12 +02:00
bitfl0wer
7904b3d9f8
add docs, add instance.get_user()
2023-05-07 11:54:49 +02:00
kozabrada123
fc93762cf7
Fix deserialization error
2023-05-07 11:47:12 +02:00
bitfl0wer
3cd19ed15e
Remove display impl, add default trait
2023-05-07 11:32:25 +02:00
bitfl0wer
fafc864dfe
Impl user::get() function
2023-05-07 11:32:11 +02:00
Flori
939afac463
Merge pull request #31 from polyphony-chat/feature/sending-messages
...
Bring main up to date
2023-05-07 00:47:50 +02:00
Flori
67ea84db90
Merge pull request #30 from polyphony-chat/feature/users-retrieval-on-login-or-register
...
Feature/users retrieval on login or register
2023-05-07 00:40:24 +02:00
bitfl0wer
df850b33d5
add test fn
2023-05-07 00:18:21 +02:00
bitfl0wer
3e6e8b7812
add users to mod.rs
2023-05-07 00:18:14 +02:00
bitfl0wer
45d5505e2c
remove nesting layer
2023-05-07 00:18:06 +02:00
bitfl0wer
70a426c754
Add users to mod.rs
2023-05-07 00:17:54 +02:00
bitfl0wer
7211ff5eb3
add pronouns
2023-05-06 22:47:31 +02:00