Commit Graph

1257 Commits

Author SHA1 Message Date
Flori 82573a58b1 Merge pull request #123 from polyphony-chat/refactor/reuse-reqwest-client
Refactor/reuse reqwest client
2023-06-21 09:50:25 +02:00
Flori Weber 62f6bfa363 Change send_request() calls to pass &mut Instance 2023-06-20 22:42:42 +02:00
Flori Weber 6650bcf1df Use Instance.client instead of creating a new one. 2023-06-20 22:42:08 +02:00
Flori Weber 6542a7a362 Add reqwest::Client to chorus::Instance. 2023-06-20 22:41:31 +02:00
Flori Weber 6eb3cf65d1 Change to single-line docstring 2023-06-20 22:36:39 +02:00
Flori Weber 20f39a409d Multiline docstring to single line docstring 2023-06-20 22:30:42 +02:00
Flori Weber 0f085491a0 Merge branch 'main' into refactor/reuse-reqwest-client 2023-06-20 22:21:08 +02:00
Flori Weber c08ec54f92 Change docstring from multi- to singleline 2023-06-20 22:20:06 +02:00
Flori a9dbde4122 Merge pull request #122 from SpecificProtagonist/winter
More consistent use of snowflakes
2023-06-20 22:16:54 +02:00
Vincent Junge 55b0f268e2 more consistent use of snowflakes 2023-06-20 22:03:29 +02:00
Flori 2c6becb361 Merge pull request #121 from polyphony-chat/fix/cannot-connect-to-discord
Remove unnecessary things
2023-06-20 21:54:53 +02:00
Flori 03df0ae9cf Merge pull request #114 from SpecificProtagonist/snowflake
Simplify Snowflake
2023-06-20 18:57:25 +02:00
Flori 225b6e4798 Merge pull request #117 from SpecificProtagonist/gateway-event
Simplify GatewayEvent
2023-06-20 18:57:13 +02:00
Flori 30260d267f Merge pull request #119 from polyphony-chat/change/use-result-instead-of-option-err
Change Option<ChorusLibError> to Result<(), ChorusLibError>
2023-06-20 18:56:49 +02:00
kozabrada123 1f29582564 Update in tests too 2023-06-20 18:33:37 +02:00
kozabrada123 cd98de286f Change Option<ChorusLibError> to Result<(), ChorusLibError> 2023-06-20 18:26:30 +02:00
Vincent Junge 1df01512d7 simplify GatewayEvent 2023-06-20 16:12:13 +02:00
Flori 99eb7abb53 Merge pull request #115 from SpecificProtagonist/urlbundle
UrlBundle remove getters
2023-06-20 12:45:55 +02:00
Vincent Junge 9c7031abde UrlBundle remove getters 2023-06-20 12:29:52 +02:00
Vincent Junge f9619dde8d simplyfy Snowflake 2023-06-20 12:21:22 +02:00
Flori Weber a5afada13f Remove unnecessary things 2023-06-20 00:35:46 +02:00
Flori Weber aae478543d Simplify README 2023-06-20 00:17:52 +02:00
Flori 97cffd8d17 Update README.md 2023-06-19 23:42:56 +02:00
Flori 55d1f0d0c4 Merge pull request #112 from polyphony-chat/refactor/clippy-lints
apply clippy suggestions
2023-06-19 19:07:18 +02:00
Flori 0b94165abf Merge pull request #111 from polyphony-chat/feature/relationships
Feature/relationships
2023-06-19 19:01:29 +02:00
Flori Weber ec3a531f48 apply clippy suggestions 2023-06-19 19:01:18 +02:00
Flori Weber f9000a1e90 Add block and unblock test 2023-06-19 18:46:49 +02:00
Flori Weber 5dbb627322 change post to delete 2023-06-19 18:12:09 +02:00
Flori Weber 51e7cc003a Add Eq, PartialEq derives 2023-06-19 18:12:01 +02:00
Flori Weber 4640ecf604 Add a friendship test (:3) 2023-06-19 18:11:53 +02:00
Flori Weber 94c98cfce4 Merge branch 'main' into feature/relationships 2023-06-19 16:57:13 +02:00
Flori 772f451879 Merge pull request #110 from SpecificProtagonist/clippy2
Fix clippy::await_holding_refcell_ref false positives
2023-06-19 16:56:42 +02:00
Vincent Junge c06778fc71 Fix clippy::await_holding_refcell_ref false positives 2023-06-19 16:46:58 +02:00
Flori Weber e814d617d4 Merge branch 'main' into feature/relationships 2023-06-19 16:36:52 +02:00
Flori Weber 2dbbb9373b Change Clippy CI to only run on main pushes or PRs 2023-06-19 16:30:46 +02:00
Flori 42f669dde9 Update badges 2023-06-19 16:28:43 +02:00
Flori 177ef7b1bb Merge pull request #109 from SpecificProtagonist/clippy
Fix various Clippy lints
2023-06-19 16:27:46 +02:00
Flori Weber c5cdb57838 Rename build_and_test, add clippy actions 2023-06-19 16:21:53 +02:00
Flori Weber cac12decad Fix build failing 2023-06-19 16:11:53 +02:00
Vincent Junge f0241e0756 Make MessageSendSchema fields public 2023-06-19 14:21:27 +02:00
Vincent Junge 208eeac536 Fix various Clippy lints 2023-06-19 12:35:07 +02:00
Flori Weber d9edf49081 Mark Friend Requests and Blocking as completed 2023-06-18 23:24:10 +02:00
Flori 0ff57601f1 Merge pull request #108 from polyphony-chat/feature/relationships
Feature/relationships
2023-06-18 23:16:45 +02:00
Flori Weber 1cb672faa6 Add remove_relationship 2023-06-18 23:10:29 +02:00
Flori Weber f658f3fe61 Remove unneccessary imports 2023-06-18 23:04:25 +02:00
Flori Weber 8c68e8bd77 Add modify_user_relationship 2023-06-18 23:02:49 +02:00
Flori Weber fa524b1791 Fix errors not displayed, add InvalidArgumentsErr 2023-06-18 23:01:38 +02:00
Flori Weber 3aa162cfc7 Move FriendRequestSchema to schemas 2023-06-18 19:05:09 +02:00
Flori Weber 3102ea8057 Create relationship schemes 2023-06-18 19:04:55 +02:00
Flori Weber 9b52ceab4b Change returns, add documentation 2023-06-18 15:39:52 +02:00