Commit Graph

1411 Commits

Author SHA1 Message Date
bitfl0wer a189d2baaa Make channel delete take ownership of a Channel 2023-05-28 22:39:38 +02:00
bitfl0wer ed330859bd Add channel delete method 2023-05-28 22:39:25 +02:00
Flori 2e81f5c4e1 Update README.md 2023-05-28 22:29:24 +02:00
kozabrada123 d9b1c382b7 Add simple gateway examples 2023-05-28 17:41:50 +02:00
kozabrada123 7e37d2df42 Fix weird observer subscribe return 2023-05-28 17:37:05 +02:00
kozabrada123 6c2e29228f u16 is too small for flags apparently 2023-05-28 17:36:30 +02:00
kozabrada123 6d90980bf4 Members is optional 2023-05-28 17:36:12 +02:00
kozabrada123 0fd7b304ad agjbg??! 2023-05-28 14:52:48 +02:00
kozabrada123 51097b3a41 71 conflicts due to fmt?!?!?!?! 2023-05-28 14:52:08 +02:00
kozabrada123 da27692b53 Gateway opcode constants and small refactor 2023-05-28 14:39:41 +02:00
bitfl0wer ebe80914d2 Change rusty-hook to be pre-commit 2023-05-28 11:43:03 +02:00
kozabrada123 d233b82243 More stability 2023-05-28 08:43:22 +02:00
Quaternion c4d5b43fa6 Hijack this to make User::flags pub 2023-05-28 02:42:35 -04:00
Quaternion cb6a4352bc Add custom implementation to allow simple-array behaviour for GuildFeatures 2023-05-28 02:42:09 -04:00
Quaternion 6bae67a862 Change integer datatypes to be 'i32' as required by sqlx 2023-05-28 02:39:24 -04:00
kozabrada123 63cfebdf5a Stability, new event 2023-05-28 08:18:50 +02:00
Quaternion f689496f20 merge main 2023-05-27 19:54:43 -04:00
bitfl0wer d50248cfe9 Testing on main woah 2023-05-28 00:53:45 +02:00
bitfl0wer 05940b0e9e Add rusty-hook for pre-push cargo fmt 2023-05-28 00:52:11 +02:00
bitfl0wer 0a99e1637b run cargo fmt && cargo fix 2023-05-28 00:50:52 +02:00
Flori 02eaddbcf6 Merge pull request #77 from polyphony-chat/refactor/test-restructuring
Make all integration tests completely reproducible
2023-05-27 23:01:51 +02:00
bitfl0wer e83b901e78 remove login test 2023-05-27 22:53:40 +02:00
bitfl0wer 02a41b415f Add instance tests 2023-05-27 22:51:57 +02:00
bitfl0wer b83f90f8dc Move test to tests-dir 2023-05-27 22:51:43 +02:00
bitfl0wer b1760af9d2 Remove empty test 2023-05-27 22:47:46 +02:00
bitfl0wer 915ab010ed Remove newline at beginning of file 2023-05-27 22:47:14 +02:00
bitfl0wer 606b62d6f5 Add message tests 2023-05-27 22:46:57 +02:00
bitfl0wer 4e1024b34a Add auth tests 2023-05-27 22:46:50 +02:00
bitfl0wer efe101675c Make password optional 2023-05-27 22:46:43 +02:00
bitfl0wer a3c800c3d9 Move tests to tests/-dir 2023-05-27 22:46:27 +02:00
bitfl0wer 28663efb09 move channel test to channel 2023-05-27 22:12:15 +02:00
bitfl0wer 1b17904403 Move common code into common::<> 2023-05-27 22:12:07 +02:00
bitfl0wer fe8e237526 Rename integration.rs to guild.rs 2023-05-27 22:11:35 +02:00
Flori 1478228664 Merge pull request #76 from polyphony-chat/refactor/application-default
Refactor/application default
2023-05-27 20:55:13 +02:00
bitfl0wer 2ae221f1ee Fix build 2023-05-27 20:54:43 +02:00
bitfl0wer c715ca9838 Merge branch 'refactor/application-default' 2023-05-27 20:46:19 +02:00
Zert3x 2a63b8ae97 Merge branch 'main' into refactor/application-default 2023-05-27 14:45:44 -04:00
Flori 0ff2f4607e Merge pull request #74 from polyphony-chat/feature/full-gateway-coverage
Add rest of gateway events (merge feature/full gateway coverage)
2023-05-27 20:42:42 +02:00
kozabrada123 262365e23f Add options with empty string for identify props 2023-05-27 19:55:57 +02:00
Quaternion 9b343c604e uncomment, oops 2023-05-27 13:50:55 -04:00
Quaternion 16e050bd48 rename APIError in ErrorField vec as well 2023-05-27 13:50:28 -04:00
Quaternion 1c55b90f06 Hijack this to clean up ApplicationCommandOptionType with serde_repr 2023-05-27 13:46:37 -04:00
Quaternion 3e5e79929c Add custom Default impl to Application 2023-05-27 13:45:56 -04:00
Quaternion 24be5c0144 Rename APIError -> APIErrorPayload to solve conflicting name 2023-05-27 13:41:23 -04:00
bitfl0wer 7f707d337e Fix typos 2023-05-27 19:36:07 +02:00
kozabrada123 12a04e866a Merge branch 'main' into feature/full-gateway-coverage 2023-05-27 19:23:27 +02:00
Flori f7d5dc2bbf Merge pull request #72 from polyphony-chat/feature/feature-locks
Feature/feature locks
2023-05-27 19:13:45 +02:00
kozabrada123 cc3ad0e7a1 Fix images being deleted for some reason???! 2023-05-27 17:46:36 +02:00
Quaternion de5157299d remove message field 2023-05-27 11:40:20 -04:00
kozabrada123 e48047266a Remove dumping gateway events into stdout 2023-05-27 17:33:19 +02:00