bitfl0wer
30cfb3b744
Implement RoleObject::create()
2023-06-08 22:26:24 +02:00
bitfl0wer
1c5be5693e
Add FormCreationError
2023-06-08 22:26:08 +02:00
bitfl0wer
9f21c06492
Change InstanceServerError to ChorusLibError
...
The name InstanceServerError was chosen without thinking about it too much, very early in development. The new name suits this custom Error type way better, in my opinion.
2023-06-08 22:16:23 +02:00
bitfl0wer
ea69d51574
Add some documentation
2023-06-08 21:53:34 +02:00
bitfl0wer
bac097fb2e
Add RolePositionUpdateSchema
2023-06-08 20:45:56 +02:00
bitfl0wer
4993b7bac8
Change struct name
...
This schema is being used as a RoleModifySchema AND as a RoleCreationSchema.
2023-06-08 20:43:29 +02:00
bitfl0wer
a1a4532b57
Add misssing attribute
2023-06-08 20:42:40 +02:00
bitfl0wer
c31d2aa76d
Add RoleCreateSchema
2023-06-08 20:40:36 +02:00
bitfl0wer
429db9332b
cargo fix
2023-06-07 23:06:52 +02:00
bitfl0wer
b33de14c25
cargo fix
2023-06-07 23:06:47 +02:00
bitfl0wer
0097809049
Remove unnecessary imports
2023-06-07 23:03:37 +02:00
bitfl0wer
32503078d7
Implement RoleObject::get_all()
2023-06-07 23:03:24 +02:00
bitfl0wer
afe9663ded
Create roles.rs
2023-06-07 23:03:07 +02:00
bitfl0wer
97ca0c17eb
Try making permissions to PermissionFlags
2023-06-07 22:44:16 +02:00
bitfl0wer
6c0d21867c
Sort fields on Guild alphabetically
2023-06-07 22:40:48 +02:00
bitfl0wer
5b7bfa4a5d
Make enum into bitflags struct
2023-06-07 10:39:05 +02:00
bitfl0wer
7a1021031e
Fix enum, add has_permission() for RoleObject
2023-06-06 21:38:28 +02:00
bitfl0wer
e2c80fc1f8
Make enum pub
2023-06-06 20:10:50 +02:00
bitfl0wer
6d2db3d808
Add PermissionFlags
2023-06-06 20:05:34 +02:00
Flori
14adb385e5
Create SECURITY.md
2023-06-04 22:17:56 +02:00
bitfl0wer
9b1adba411
Re-order README, link issues
2023-06-04 19:49:04 +02:00
Flori
6980571ca6
Update README.md
2023-06-04 19:33:46 +02:00
Flori
86912147b9
Update README.md
2023-06-04 19:31:39 +02:00
Flori
009f3d4bb3
Update README.md
2023-06-04 14:48:39 +02:00
Flori
e49ff7b325
Merge pull request #87 from polyphony-chat/feature/reactions
...
Feature/reactions
2023-06-04 14:47:46 +02:00
bitfl0wer
7a3f485580
Add reference to docs
2023-06-04 14:41:24 +02:00
bitfl0wer
471abc88a6
Add method to remove own reaction
2023-06-04 14:39:22 +02:00
bitfl0wer
fd2b9e670f
improve existing documentation
2023-06-04 14:32:57 +02:00
bitfl0wer
213220c8e0
Add delete_user method
2023-06-04 14:29:43 +02:00
bitfl0wer
47d1c52014
Change file structure
2023-06-04 14:20:06 +02:00
Flori
b07cc5e6cf
Merge pull request #86 from polyphony-chat/feature/reactions
...
Feature/reactions
2023-06-04 00:15:39 +02:00
bitfl0wer
6b8d458eb4
Move some pieces of documentation to where they make the most sense
2023-06-03 22:34:03 +02:00
bitfl0wer
f2de0f8813
Make reference links clickable in cargo doc
2023-06-03 22:15:03 +02:00
bitfl0wer
5967858e81
Add references
2023-06-03 22:08:56 +02:00
bitfl0wer
3722536de2
Add create reaction with documentation
2023-06-03 22:07:37 +02:00
bitfl0wer
5b579c551a
Add delete_emoji method with documentation
2023-06-03 20:17:21 +02:00
bitfl0wer
02db71055c
Add documentation
2023-06-03 18:59:13 +02:00
bitfl0wer
4f91f26a28
Add reactions: get
2023-06-03 18:53:53 +02:00
bitfl0wer
fab9bc1c62
Implement reactions: delete all
2023-06-03 18:46:36 +02:00
bitfl0wer
addfb01075
Add ReactionMeta struct
2023-06-03 15:21:49 +02:00
bitfl0wer
e4a185dce5
Create reactions.rs
2023-06-01 21:14:11 +02:00
bitfl0wer
4bdecb0a6c
Remove mod
2023-06-01 21:14:02 +02:00
Flori
73b1cd31e2
Update README.md
2023-06-01 19:16:25 +02:00
Flori
3efbd7e0ab
Merge pull request #84 from polyphony-chat/refactor/less-boilerplate
...
We had two types directories this whole time???
2023-06-01 19:10:03 +02:00
bitfl0wer
cda1f564ae
We had two types directories this whole time???
2023-06-01 18:20:55 +02:00
Flori
b87ac84f61
Merge pull request #83 from polyphony-chat/refactor/less-boilerplate
...
Refactor/less boilerplate
2023-05-30 23:11:47 +02:00
bitfl0wer
dc40c69ebe
Refactored users() as much as possible
2023-05-30 23:04:22 +02:00
Flori
cf3189b85a
Merge pull request #75 from polyphony-chat/refactor/rename-apierror
...
Rename APIError -> APIErrorPayload to solve conflicting name
2023-05-30 22:44:09 +02:00
Zertex
5a9a156846
make the tests pass
2023-05-30 10:57:34 -04:00
Zert3x
25a0544822
Merge branch 'main' into refactor/rename-apierror
2023-05-29 22:25:02 -04:00