kozabrada123
10617ca85c
Rebase
2023-06-09 18:14:20 +02:00
kozabrada123
cd52c5ac3a
Cargo fix
2023-06-09 18:11:01 +02:00
Flori
05252d55b2
Merge pull request #94 from polyphony-chat/feature/permissions-and-roles
...
Feature/permissions and roles
2023-06-09 12:17:26 +02:00
bitfl0wer
2c153259b3
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
730ca5b27a
Test RoleObject::create() and ::get_all()
2023-06-09 12:03:56 +02:00
bitfl0wer
47f8b131a3
Add documentation
2023-06-08 22:39:06 +02:00
bitfl0wer
f41312d430
Implement RoleObject::create()
2023-06-08 22:26:24 +02:00
bitfl0wer
951e41db4b
Add FormCreationError
2023-06-08 22:26:08 +02:00
bitfl0wer
b0a19faa48
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
66ca26db0f
Add some documentation
2023-06-08 21:53:34 +02:00
bitfl0wer
8b35c5948d
Add RolePositionUpdateSchema
2023-06-08 20:45:56 +02:00
bitfl0wer
925165aba2
Change struct name
...
This schema is being used as a RoleModifySchema AND as a RoleCreationSchema.
2023-06-08 20:43:29 +02:00
bitfl0wer
4547e8b2d6
Add misssing attribute
2023-06-08 20:42:40 +02:00
bitfl0wer
46fac4b132
Add RoleCreateSchema
2023-06-08 20:40:36 +02:00
kozabrada123
88d571486b
Basic tests
2023-06-08 19:51:32 +02:00
kozabrada123
da98f3c581
Refactor
2023-06-08 18:24:11 +02:00
kozabrada123
74785b4b2b
Merge branch 'main' into perpetual/gateway-dev
2023-06-08 17:35:17 +02:00
kozabrada123
a0629bf198
Gateway basic error handling
2023-06-08 17:34:52 +02:00
bitfl0wer
15a122d719
cargo fix
2023-06-07 23:06:52 +02:00
bitfl0wer
7ca4c1b5b6
cargo fix
2023-06-07 23:06:47 +02:00
bitfl0wer
1381bbfcbf
Remove unnecessary imports
2023-06-07 23:03:37 +02:00
bitfl0wer
acbbc88e84
Implement RoleObject::get_all()
2023-06-07 23:03:24 +02:00
bitfl0wer
990f9eb4e2
Create roles.rs
2023-06-07 23:03:07 +02:00
bitfl0wer
91ede88140
Try making permissions to PermissionFlags
2023-06-07 22:44:16 +02:00
bitfl0wer
1d701c185f
Sort fields on Guild alphabetically
2023-06-07 22:40:48 +02:00
bitfl0wer
cf74d0e618
Make enum into bitflags struct
2023-06-07 10:39:05 +02:00
Flori
0b3a13c833
Merge pull request #93 from polyphony-chat/feature/permissions-and-roles
...
Feature/permissions and roles
2023-06-06 23:24:15 +02:00
bitfl0wer
e65aa964f0
Fix enum, add has_permission() for RoleObject
2023-06-06 21:38:28 +02:00
bitfl0wer
3cd633f7ad
Make enum pub
2023-06-06 20:10:50 +02:00
bitfl0wer
e07387fc77
Add PermissionFlags
2023-06-06 20:05:34 +02:00
Flori
f74dfbe1ac
Create SECURITY.md
2023-06-04 22:17:56 +02:00
bitfl0wer
495ea30a65
Re-order README, link issues
2023-06-04 19:49:04 +02:00
Flori
9282c89096
Update README.md
2023-06-04 19:33:46 +02:00
Flori
dcc83d7622
Update README.md
2023-06-04 19:31:39 +02:00
Flori
e6ed4257da
Update README.md
2023-06-04 14:48:39 +02:00
Flori
850e348315
Merge pull request #87 from polyphony-chat/feature/reactions
...
Feature/reactions
2023-06-04 14:47:46 +02:00
bitfl0wer
3692f15f0f
Add reference to docs
2023-06-04 14:41:24 +02:00
bitfl0wer
0a106d2e1d
Add method to remove own reaction
2023-06-04 14:39:22 +02:00
bitfl0wer
7a811e1792
improve existing documentation
2023-06-04 14:32:57 +02:00
bitfl0wer
359bfc7b8b
Add delete_user method
2023-06-04 14:29:43 +02:00
bitfl0wer
92e768d5a6
Change file structure
2023-06-04 14:20:06 +02:00
kozabrada123
8f6c533e50
Implement Clone for all events
2023-06-04 13:49:35 +02:00
kozabrada123
9bad8ab4fa
Merge branch 'main' into perpetual/gateway-dev
2023-06-04 10:18:16 +02:00
Flori
b9c87e1cf4
Merge pull request #86 from polyphony-chat/feature/reactions
...
Feature/reactions
2023-06-04 00:15:39 +02:00
bitfl0wer
5dd9d095cf
Move some pieces of documentation to where they make the most sense
2023-06-03 22:34:03 +02:00
bitfl0wer
9918b9a71d
Make reference links clickable in cargo doc
2023-06-03 22:15:03 +02:00
bitfl0wer
b5de178a91
Add references
2023-06-03 22:08:56 +02:00
bitfl0wer
065bb28c96
Add create reaction with documentation
2023-06-03 22:07:37 +02:00
bitfl0wer
33e0f75772
Add delete_emoji method with documentation
2023-06-03 20:17:21 +02:00
bitfl0wer
4d6ad1cd7b
Add documentation
2023-06-03 18:59:13 +02:00