Commit Graph

598 Commits

Author SHA1 Message Date
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
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
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
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
bitfl0wer be512504c5 Add reactions: get 2023-06-03 18:53:53 +02:00
bitfl0wer da0726c538 Implement reactions: delete all 2023-06-03 18:46:36 +02:00
bitfl0wer df6fcbd5ee Add ReactionMeta struct 2023-06-03 15:21:49 +02:00
bitfl0wer e9d5384f02 Create reactions.rs 2023-06-01 21:14:11 +02:00
bitfl0wer e61546e442 Remove mod 2023-06-01 21:14:02 +02:00
Flori 7f6762a825 Update README.md 2023-06-01 19:16:25 +02:00
Flori 23f43f107e 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 103e1feeeb We had two types directories this whole time??? 2023-06-01 18:20:55 +02:00
Flori db1afb4578 Merge pull request #83 from polyphony-chat/refactor/less-boilerplate
Refactor/less boilerplate
2023-05-30 23:11:47 +02:00
bitfl0wer 9943fcc55f Refactored users() as much as possible 2023-05-30 23:04:22 +02:00
Flori 0fcf2c13aa 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
Quaternion fefc6a68f9 make the tests pass 2023-05-30 10:57:34 -04:00