Skip to content

Commit 8414d5b

Browse files
authored
Update specs: ratify websocket and reply. Add unreact. (#590)
1 parent 1b1e6a2 commit 8414d5b

7 files changed

Lines changed: 61 additions & 18 deletions

File tree

_data/irc_versions.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ stable:
5252
- batch
5353
tags:
5454
- batch
55+
client-batch:
56+
name: client-batch
57+
description: Client initiated batch Extension
58+
link: /specs/extensions/client-batch.html
59+
draft: true
5560
bot-mode:
5661
name: Bot Mode
5762
description: Bot Mode
@@ -275,18 +280,19 @@ stable:
275280

276281
react-client-tag:
277282
name: +draft/react
278-
description: React client tag DRAFT
283+
description: React and unreact client tags DRAFT
279284
link: /specs/client-tags/react.html
280285
draft: true
281286
tags:
282287
- +draft/react
288+
- +draft/unreact
283289
reply-client-tag:
284-
name: +draft/reply
285-
description: Reply client tag DRAFT
290+
name: +reply
291+
description: Reply client tag
286292
link: /specs/client-tags/reply.html
287-
draft: true
293+
hide-if-no-support: true
288294
tags:
289-
- +draft/reply
295+
- +reply
290296

291297
channel-context-client-tag:
292298
name: +draft/channel-context

_data/registry.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@
311311
specs:
312312
- react-client-tag
313313
description: Sends a reaction to a specific sent message.
314+
- name: +unreact
315+
specs:
316+
- react-client-tag
317+
description: Removes a reaction from a specific sent message.
314318
- name: +reply
315319
specs:
316320
- reply-client-tag

_data/standard_replies_registry.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@
4040
description: Any other multiline error
4141
specs:
4242
- multiline
43+
- command: BATCH
44+
code: INVALID_REFTAG
45+
description: The provided reference tag contains disallowed characters
46+
specs:
47+
- client-batch
48+
- command: BATCH
49+
code: TIMEOUT
50+
description: The batch was left open for too long
51+
specs:
52+
- client-batch
53+
- command: BATCH
54+
code: UNKNOWN_TYPE
55+
description: The batch type is not recognized by the server
56+
specs:
57+
- client-batch
4358
- command: CHATHISTORY
4459
code: INVALID_PARAMS
4560
description: Indicates that the client sent invalid parameters with their `CHATHISTORY` command

_data/sw_bridges.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@
8484
userhost-in-names:
8585
utf8only:
8686
react-client-tag:
87-
reply-client-tag:
8887
SASL:
8988
- plain
89+
partial:
90+
stable:
91+
reply-client-tag: "draft cap"
9092
na:
9193
stable:
9294
account-notify:

_data/sw_clients.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,16 @@
8383
message-tags:
8484
msgid:
8585
multi-prefix:
86-
reply-client-tag:
8786
sasl-3.1:
8887
server-time:
8988
setname:
9089
userhost-in-names:
9190
SASL:
9291
- external
9392
- plain
93+
partial:
94+
stable:
95+
reply-client-tag: "draft cap"
9496
na:
9597
stable:
9698
sts: TLS-only
@@ -743,10 +745,12 @@
743745
# Client tags
744746
channel-context-client-tag:
745747
react-client-tag:
746-
reply-client-tag:
747748
typing-client-tag:
748749
SASL:
749750
- plain
751+
partial:
752+
stable:
753+
reply-client-tag: "draft cap"
750754

751755
- name: Mobile Clients
752756
software:
@@ -968,10 +972,12 @@
968972
whox:
969973
channel-context-client-tag:
970974
react-client-tag:
971-
reply-client-tag:
972975
typing-client-tag:
973976
SASL:
974977
- plain
978+
partial:
979+
stable:
980+
reply-client-tag: "draft cap"
975981

976982
- name: Bouncers
977983
software:
@@ -1049,7 +1055,6 @@
10491055
account-tag:
10501056
away-notify:
10511057
batch:
1052-
bot-mode: Draft
10531058
cap-3.1:
10541059
cap-3.2:
10551060
cap-notify:
@@ -1071,6 +1076,9 @@
10711076
whox:
10721077
SASL:
10731078
external:
1079+
partial:
1080+
stable:
1081+
bot-mode: "draft cap"
10741082
- name: pounce (as Client)
10751083
# ref: https://git.causal.agency/pounce/about/pounce.1#Client_Configuration
10761084
link: https://git.causal.agency/pounce/about/
@@ -1080,7 +1088,6 @@
10801088
account-tag:
10811089
away-notify:
10821090
batch:
1083-
bot-mode: Draft
10841091
cap-3.1:
10851092
cap-3.2:
10861093
cap-notify:
@@ -1102,6 +1109,9 @@
11021109
SASL:
11031110
external:
11041111
plain:
1112+
partial:
1113+
stable:
1114+
bot-mode: "draft cap"
11051115
na:
11061116
stable:
11071117
sts: TLS-only
@@ -1115,7 +1125,6 @@
11151125
account-tag:
11161126
away-notify:
11171127
batch:
1118-
bot-mode: Draft
11191128
cap-3.1:
11201129
cap-3.2:
11211130
cap-notify:
@@ -1146,6 +1155,7 @@
11461155
partial:
11471156
stable:
11481157
websockets: text only
1158+
bot-mode: "draft cap"
11491159
- name: soju (as Client)
11501160
# ref: https://codeberg.org/emersion/soju/src/branch/master/upstream.go#L28
11511161
link: https://codeberg.org/emersion/soju
@@ -1268,12 +1278,14 @@
12681278
sts:
12691279
userhost-in-names:
12701280
whox:
1271-
reply-client-tag:
12721281
typing-client-tag:
12731282
SASL:
12741283
- plain
12751284
- external
12761285
- scram-sha-256
1286+
partial:
1287+
stable:
1288+
reply-client-tag: "draft cap"
12771289
- name: Eggdrop
12781290
link: https://github.com/eggheads/eggdrop
12791291
# ref: https://github.com/eggheads/eggdrop/blob/886c2ff6f943952018000c16cb48c08b8ab99127/eggdrop.conf#L1127
@@ -1347,11 +1359,13 @@
13471359
utf8only:
13481360
whox:
13491361
react-client-tag:
1350-
reply-client-tag:
13511362
SASL:
13521363
- external
13531364
- plain
13541365
- scram-sha-256
1366+
partial:
1367+
stable:
1368+
reply-client-tag: "draft cap"
13551369
- name: Moon Moon
13561370
# ref: https://github.com/wiseguiz/Moon-Moon/blob/master/irc.moon
13571371
# ref: https://github.com/wiseguiz/Moon-Moon/blob/master/plugins/batch.moon
@@ -1381,11 +1395,13 @@
13811395
server-time:
13821396
userhost-in-names:
13831397
whox:
1384-
reply-client-tag:
13851398
typing-client-tag:
13861399
SASL:
13871400
- plain
13881401
- external
1402+
partial:
1403+
stable:
1404+
reply-client-tag: "draft cap"
13891405
- name: Sopel (ex Willie)
13901406
#ref: https://github.com/sopel-irc/sopel/blob/v5.3.0/willie/coretasks.py#L357
13911407
# https://github.com/sopel-irc/sopel/blob/e5df2fa/sopel/coretasks.py#L345

_irc/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ and as such we detail them in their own section here.
223223
Here are the client-only tags the IRCv3 WG defines:
224224

225225
* [The `channel-context` client-only tag]({{site.baseurl}}/specs/client-tags/channel-context.html) **[draft]** indicates the channel a private message should be displayed in.
226-
* [The `reply` client-only tag]({{site.baseurl}}/specs/client-tags/reply.html) **[draft]** marks that a given message is intended as a reply to a specific sent message.
226+
* [The `reply` client-only tag]({{site.baseurl}}/specs/client-tags/reply.html) marks that a given message is intended as a reply to a specific sent message.
227227
* [The `react` client-only tag]({{site.baseurl}}/specs/client-tags/react.html) **[draft]** sends a reaction to a specific sent message, allowing such functionality from other chat systems.
228228
* [The `typing` client-only tag]({{site.baseurl}}/specs/client-tags/typing.html) lets users know when another user is typing a message in their channel or private message.
229229

@@ -414,7 +414,7 @@ keep in mind while implementing this feature.
414414

415415
## [WebSocket]({{site.baseurl}}/specs/extensions/websocket.html)
416416

417-
The **work-in-progress** [WebSocket spec]({{site.baseurl}}/specs/extensions/websocket.html)
417+
The [WebSocket spec]({{site.baseurl}}/specs/extensions/websocket.html)
418418
describes conventions for transporting IRC lines over the WebSocket protocol.
419419
This is necessary for browser-based clients, which cannot make conventional
420420
TCP connections to IRC servers.

0 commit comments

Comments
 (0)