Skip to content

the great protocol refactor #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 68 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
809b534
feat(chat): add invite created / deleted / used events
90-008 Feb 3, 2022
b7d1cd8
docs: document IDs, document more stuff
90-008 Feb 6, 2022
6e7dbf2
docs(ids): document emote pack and user ids
90-008 Feb 6, 2022
ebc06c1
docs(batch): document it better
90-008 Feb 6, 2022
43b1d79
fix(chat): revert breaking change
90-008 Feb 6, 2022
caf363e
fix: override avatars can be hmc, file id or external image url
90-008 Feb 6, 2022
df5abd2
fix(chat): add guild_ids to owner added / removed events
90-008 Feb 6, 2022
9dd16e2
docs(chat): fix typo
90-008 Feb 7, 2022
078f155
docs(emote): document that addemotetopack can take a file id
90-008 Feb 9, 2022
187ea91
refactor(chat): move text content to root of content, improve attachm…
90-008 Feb 11, 2022
166dab0
refactor(chat): use emote in emoji format
90-008 Feb 11, 2022
8e4da89
feat(chat): seperate content type for sending messages
90-008 Feb 11, 2022
bc4eb21
refactor: remove batch, replace most get endpoints with 'batched' var…
90-008 Feb 11, 2022
35109fc
feat: add image resolution to embeds, fix ids
90-008 Feb 11, 2022
cd89e8e
feat(mediaproxy): add image resolution to site / media metadatas
90-008 Feb 11, 2022
e467d47
refactor(chat): rename QueryHasPermission -> HasPermission
90-008 Feb 14, 2022
7514d4f
refactor: move PhotoInfo to harmonytypes as ImageInfo, use it in places
90-008 Feb 14, 2022
42d1d02
refactor(emote): add emote rpc shouldnt use emote itself
90-008 Feb 14, 2022
a2f1964
refactor(chat): use repeated Permission in HasPermissions, document G…
90-008 Feb 14, 2022
d923771
remove deprecated is_bot field
bluskript Feb 15, 2022
8084e42
move embeds and attachments out of extras
bluskript Feb 15, 2022
ff630bb
improve consistency: rename photo to image, add id field to mediaproxy
bluskript Feb 15, 2022
6b61f2e
fix(chat): make sendmessage.content consistent with content
90-008 Feb 20, 2022
af88d10
feat(chat): seperate ImageInfos again
90-008 Feb 20, 2022
828cefe
fix(mediaproxy): fix import
90-008 Feb 20, 2022
40c9d52
feat: remove is_bot
90-008 Feb 20, 2022
0c42f2f
feat(chat): make GetPermissions return guild perms seperately
90-008 Feb 21, 2022
858ed82
docs: fix ID documentations
90-008 Feb 26, 2022
1c923b5
refactor(chat): rework guild kinds
90-008 Feb 26, 2022
45d1662
feat(profile): extend user status by allowing it to contain activities
90-008 Feb 26, 2022
5c39069
refactor(chat): rework embeds
90-008 Feb 26, 2022
0fcff77
refactor: move ImageInfo's under their Attachment's, improve some com…
90-008 Feb 26, 2022
22fcfd7
feat: remove localization format
90-008 Feb 26, 2022
9c3798e
feat(chat): rework reactions
90-008 Feb 26, 2022
593ba50
feat(chat): rework UpdateMessageText into UpdateMessageContent
90-008 Feb 26, 2022
d963c67
feat: remove voice
sowelipililimute Feb 22, 2022
f67cbf8
feat: add webrtc service
sowelipililimute Feb 22, 2022
31ea189
feat(profile): add user notes app data type
90-008 Apr 2, 2022
9c39c99
feat: bot tokens (#99)
90-008 Apr 2, 2022
94b1112
feat: separate private channels from guilds (#100)
90-008 Apr 2, 2022
d9f35a3
feat: refactor actions (#101)
90-008 Apr 2, 2022
ac35c01
fix(chat): message name typo
90-008 Apr 2, 2022
6ad5b1d
fix(chat): add missing get private channel list rpc
90-008 Apr 2, 2022
a2d4082
fix(chat): remove unused import
90-008 Apr 2, 2022
90a1fc0
fix(chat): fix a few fields that need to be optional
90-008 Apr 3, 2022
ffb8ca8
fix(chat): typing request should have an optional guild id
90-008 Apr 3, 2022
6bbbadc
fix: fix location.guild_invite_id to be string, remove invite_id from…
90-008 Apr 6, 2022
f424aa0
fix: Invite* events should also use location
90-008 Apr 6, 2022
63b855f
feat(chat): add GetOutgoingPendingInvites to let users fetch the invi…
90-008 Apr 6, 2022
fb9028f
feat(chat): add DeleteOutgoingInvite to delete and cancel an outgoing…
90-008 Apr 6, 2022
14be6dd
fix(chat): Reject/Ignore pending invite requests should use PendingIn…
90-008 Apr 6, 2022
cc41fa8
feat(chat): allow specifying pack_id optionally in Emoji format
90-008 Apr 6, 2022
abd8124
refactor(chat): Invite* events should use Pending/Outgoing Invite
90-008 Apr 6, 2022
317b784
refactor(chat): make more server_ids optional
90-008 Apr 6, 2022
848b617
feat(sync): add inviter_id to user rejected invite
90-008 Apr 6, 2022
c964791
feat: remove outgoing invites, add join private channel
90-008 Apr 7, 2022
724cf95
fix(chat): remove outgoing invite usage
90-008 Apr 7, 2022
0981d97
fix(chat): add field names
90-008 Apr 7, 2022
87a9359
refactor(chat): make pending invite endpoints not use pending invite …
90-008 Apr 7, 2022
ca3ebac
docs(chat): document when a pending invite is unique
90-008 Apr 7, 2022
db38966
feat(chat): add leave private channel endpoint
90-008 Apr 7, 2022
64ea59e
refactor(chat): rename is_locked to is_dm, let create private channel…
90-008 Apr 7, 2022
772798b
refactor(chat): make another server id optional
90-008 Apr 7, 2022
b265a91
add private channel data to get rpc, add optional name
bluskript Apr 10, 2022
b47c27f
separate private channel fetching and its data
bluskript Apr 10, 2022
598e413
refactor(chat): GetPrivateChannelData -> GetPrivateChannel
90-008 Apr 10, 2022
e438b77
refactor(chat): dont use optional name in UpdatePrivateChannelNameReq…
90-008 Apr 10, 2022
a1319c7
feat(chat): consolidate UpdatePrivateChannel\* RPCs into one, add Pri…
90-008 Apr 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(chat): typing request should have an optional guild id
  • Loading branch information
90-008 committed Apr 3, 2022
commit ffb8ca8e2fdb7e4be78f5cf7075167be6d5b33a1
10 changes: 0 additions & 10 deletions stable/chat/v1/channels.proto
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,3 @@ message DeleteChannelRequest {
}
// Used in the `DeleteChannel` endpoint.
message DeleteChannelResponse {}

// Used in `Typing` endpoint.
message TypingRequest {
// The guild id of the channel the user is typing in.
uint64 guild_id = 1;
// The channel id of the channel the user is typing in.
uint64 channel_id = 2;
}
// Used in `Typing` endpoint.
message TypingResponse {}
10 changes: 10 additions & 0 deletions stable/chat/v1/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -677,3 +677,13 @@ message RemoveReactionRequest {
}
// Used in `RemoveReaction` endpoint.
message RemoveReactionResponse {}

// Used in `Typing` endpoint.
message TypingRequest {
// The guild id of the channel the user is typing in.
optional uint64 guild_id = 1;
// The channel id of the channel the user is typing in.
uint64 channel_id = 2;
}
// Used in `Typing` endpoint.
message TypingResponse {}