bitfl0wer
9bf968c7e0
Change Role to have String over PermissionFlags
...
PermissionFlags implementation needs to be figured out a bit better before we can use it here.
2023-06-09 12:04:49 +02:00
bitfl0wer
f44e1f5856
Test RoleObject::create() and ::get_all()
2023-06-09 12:03:56 +02:00
bitfl0wer
fc66036674
Add documentation
2023-06-08 22:39:06 +02:00
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
kozabrada123
e6af81d694
Basic tests
2023-06-08 19:51:32 +02:00
kozabrada123
cae038af8f
Refactor
2023-06-08 18:24:11 +02:00
kozabrada123
0f4eef2fb9
Merge branch 'main' into perpetual/gateway-dev
2023-06-08 17:35:17 +02:00
kozabrada123
f4f17f7454
Gateway basic error handling
2023-06-08 17:34:52 +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
Flori
958fc78309
Merge pull request #93 from polyphony-chat/feature/permissions-and-roles
...
Feature/permissions and roles
2023-06-06 23:24:15 +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
kozabrada123
7d17a1c976
Implement Clone for all events
2023-06-04 13:49:35 +02:00
kozabrada123
ca9f7f6c11
Merge branch 'main' into perpetual/gateway-dev
2023-06-04 10:18:16 +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