Commit Graph

1180 Commits

Author SHA1 Message Date
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
Flori Weber 5d6aab7d36 Modift get_mutual, add get_relationships 2023-06-18 15:39:40 +02:00
Flori Weber 94ae449f7d Start implementing get_relationship 2023-06-18 14:00:12 +02:00
Flori Weber 3bf911745f Send a friend request 2023-06-18 13:59:11 +02:00
Flori f14a38a85e Update README.md 2023-06-17 23:26:57 +02:00
Flori 85846cd0a0 Merge pull request #107 from polyphony-chat/feature/relationships
Feature/relationships
2023-06-16 13:08:55 +02:00
Flori Weber 2e6e9ad59d Add FriendRequestSendSchema 2023-06-15 19:01:01 +02:00
Flori Weber c2d46196c8 Implement send_friend_request 2023-06-15 19:00:47 +02:00
Flori Weber 6dfb0610ec Implement test_get_mutual_relationships 2023-06-15 18:48:01 +02:00
Flori f95641a0fa Merge pull request #106 from polyphony-chat/feature/relationships
Feature/relationships
2023-06-14 22:55:25 +02:00
Flori Weber 28881276e0 Add get_mutual_relationships 2023-06-14 22:54:14 +02:00
Flori Weber 7e4b4269b6 Change belongs_to to be borrowed non-mutably 2023-06-14 22:53:56 +02:00
Flori Weber e14a21f814 Format relationships.rs 2023-06-14 22:14:56 +02:00
Flori Weber 7202722eb1 Add relationships.rs 2023-06-14 22:14:48 +02:00
Flori Weber 57fc5ba860 Update link reference 2023-06-13 15:23:39 +02:00
Flori Weber cefc522e2f Update relationship.rs types 2023-06-13 15:23:06 +02:00
Flori Weber 2e84385007 Create relationships.rs 2023-06-13 14:04:58 +02:00
Flori Weber 616d8a1bf0 Create relationships.rs 2023-06-13 14:04:39 +02:00
Flori 234c0c4a8d Merge pull request #105 from polyphony-chat/refactor/limited-requester
Refactor/limited requester
2023-06-12 19:02:36 +02:00
bitfl0wer 7a3524a1ab run cargo fix 2023-06-12 18:59:06 +02:00
bitfl0wer 9bbe9fc470 run cargo fix 2023-06-12 18:58:53 +02:00
bitfl0wer c97fa7bc48 Remove unneccessary variable 2023-06-12 18:55:27 +02:00
bitfl0wer 44224cb478 Refactor limited requester
The requester does not need to be instantiated anymore, which makes things easier to read imo.
2023-06-12 18:51:54 +02:00
Flori 22a957a64f Merge pull request #104 from polyphony-chat/refactor/refcell-across-await-and-boilerplate-reduction
Boilerplate reduction
2023-06-11 21:48:21 +02:00
Flori Weber 057e8e552f Refactor users.rs to use api::common 2023-06-11 21:40:03 +02:00
Flori Weber 6db823cb48 Refactor roles.rs to use api::common 2023-06-11 20:04:40 +02:00
Flori 643ebaec13 Merge pull request #103 from polyphony-chat/feature/permissions-and-roles
Feature/permissions and roles
2023-06-11 19:32:30 +02:00
Flori 076df001ef Merge pull request #102 from polyphony-chat/feature/permissions-and-roles
Feature/permissions and roles
2023-06-11 19:32:04 +02:00