3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-23 11:12:44 +01:00
Commit Graph

3877 Commits

Author SHA1 Message Date
Shivaram Lingamneni
a3e5c9e98c fix #1229 2020-08-07 18:11:39 -04:00
Shivaram Lingamneni
12bcba01cd
Merge pull request #1230 from slingamn/hasnick
remove some dead code
2020-08-06 21:17:56 -07:00
Shivaram Lingamneni
1c4f9daae7 remove some dead code 2020-08-07 00:16:04 -04:00
Shivaram Lingamneni
55b21fa86c
Merge pull request #1227 from slingamn/issue1225.2
fix #1225
2020-08-06 01:19:39 -07:00
Shivaram Lingamneni
88b09e5919
Merge pull request #1226 from slingamn/websocket_dos
mitigate a potential DoS against websocket listeners
2020-08-06 01:08:01 -07:00
Shivaram Lingamneni
06882a9b89 fix #1225 2020-08-06 03:28:10 -04:00
Shivaram Lingamneni
7b28fc73e6
Merge pull request #1223 from hhirtz/rename
Update draft/rename impl
2020-08-05 14:02:15 -07:00
Hubert Hirtz
f6d5fe812f Update draft/rename implementation
Link to the new draft PR:
<https://github.com/ircv3/ircv3-specifications/pull/420>

Changes in the spec:

- Use standard replies instead of numerics:
  <https://github.com/ircv3/ircv3-specifications/pull/420/files#diff-70e90beef48dc9cf5d784d1e179ea822R44>
- Allow RENAME to a different case:
  <https://github.com/ircv3/ircv3-specifications/pull/420/files#diff-70e90beef48dc9cf5d784d1e179ea822R42>

This commit makes oragono send the PART-JOIN fallback even on case-only
changes. This is so that clients don't have to worry about oragono's
UTF8 casefolding. See the following comments for further info:
<https://github.com/ircv3/ircv3-specifications/pull/420#issuecomment-668770837>

Misc fixes:

- Remove unused variable,
- Add missing calls to utils.SafeErrorParam,
- Don't fill replies with the user-provided "oldName", for the same
  reason as sending the PART-JOIN fallback.
2020-08-05 22:46:30 +02:00
Shivaram Lingamneni
aad39024b9 mitigate a potential DoS against websocket listeners
Websocket listeners would process an arbitrary number of invalid
(non-text or blank) messages without throttling. This imposes fakelag
on such messages by treating them as blank lines.
2020-08-05 15:00:39 -04:00
Shivaram Lingamneni
8f490ae298
Merge pull request #1224 from slingamn/errors_again
minor refactoring
2020-08-04 18:59:08 -07:00
Shivaram Lingamneni
df8be72c6f move StringSet to utils package 2020-08-04 21:54:03 -04:00
Shivaram Lingamneni
ddac7d94a8 use ChannelSet 2020-08-04 21:46:07 -04:00
Shivaram Lingamneni
15c54e80de clean up some error handling 2020-08-03 23:57:42 -04:00
Shivaram Lingamneni
daefa40b75
Merge pull request #1222 from slingamn/linelen
make it easier to patch out the maximum line length
2020-08-03 10:02:13 -07:00
Shivaram Lingamneni
9000383f88 Move config errors to call sites
Since allocating them is rare.
2020-08-03 12:55:52 -04:00
Shivaram Lingamneni
6a2fba9812 make it easier to patch out the maximum line length 2020-08-03 12:51:04 -04:00
Shivaram Lingamneni
101e49bc03
Merge pull request #1220 from oragono/l10n_master
New Crowdin updates
2020-07-28 13:47:24 -07:00
Daniel Oaks
5663ad8824 New translations nickserv.lang.json (Romanian) 2020-07-29 05:22:48 +10:00
Daniel Oaks
fc86c02935 New translations help.lang.json (Romanian) 2020-07-29 05:22:46 +10:00
Daniel Oaks
43f3bede2c New translations irc.lang.json (Romanian) 2020-07-29 05:22:44 +10:00
Shivaram Lingamneni
5dd13596c4
Merge pull request #1219 from slingamn/alwayson_again
fix an edge case with `/NS SASET user always-on true`
2020-07-28 00:14:48 -07:00
Shivaram Lingamneni
470756cd3e fix an edge case with /NS SASET user always-on true
If force-nick-equals-account is disabled, then this could cause
a client with a non-reserved (or grouped) nick to become always-on.
(This can't happen with `/NS SET always-on true` because we check in
advance.)
2020-07-27 06:08:06 -04:00
Shivaram Lingamneni
d9cab88780
Merge pull request #1218 from slingamn/saset_alwayson.1
clean up always-on state machine
2020-07-26 21:26:40 -07:00
Shivaram Lingamneni
027886046c clean up always-on state machine 2020-07-27 00:21:16 -04:00
Shivaram Lingamneni
dc90b3c910
Merge pull request #1211 from slingamn/issue1204_echomessage.3
fix #1204
2020-07-26 03:11:27 -07:00
Shivaram Lingamneni
4bb4d02729
Merge pull request #1200 from slingamn/issue1190_remove_offerlist.1
fix #1190
2020-07-26 03:11:12 -07:00
Shivaram Lingamneni
400158f3c7
Merge pull request #1217 from slingamn/devel
bump to new development version, upgrade dependencies
2020-07-26 03:09:49 -07:00
Shivaram Lingamneni
9acfea5516 upgrade golang.org/x/text 2020-07-26 06:07:46 -04:00
Shivaram Lingamneni
8e90e18b72 upgrade golang.org/x/sys 2020-07-26 06:02:12 -04:00
Shivaram Lingamneni
08834ca511 upgrade golang.org/x/crypto 2020-07-26 06:01:12 -04:00
Shivaram Lingamneni
6fbbcbc44f set up v2.3.0-unreleased 2020-07-26 06:00:24 -04:00
Shivaram Lingamneni
58be8463c9 bump version to 2.2.0 2020-07-26 05:47:18 -04:00
Shivaram Lingamneni
c6f4299447
Merge pull request #1203 from slingamn/release
documentation updates for release
2020-07-26 02:46:47 -07:00
Shivaram Lingamneni
66793cb480 add changelog entry for #1216 2020-07-26 05:45:11 -04:00
Shivaram Lingamneni
effad1453c
Merge pull request #1215 from slingamn/issue1214_saregister
fix #1214
2020-07-26 01:31:00 -07:00
Shivaram Lingamneni
d679d21ac0 fix #1216 2020-07-26 04:11:39 -04:00
Shivaram Lingamneni
bcf581f63d fix #1214 2020-07-26 04:03:07 -04:00
Shivaram Lingamneni
8cd67375a2 bump changelog version 2020-07-24 04:00:32 -04:00
Shivaram Lingamneni
fffe31a7b7 changelog and documentation updates 2020-07-24 04:00:32 -04:00
Shivaram Lingamneni
6d18a1a78c tweak addEchoMessage signature 2020-07-24 02:55:46 -04:00
Shivaram Lingamneni
28d4971f36 fix #1204 2020-07-24 02:46:02 -04:00
Shivaram Lingamneni
b3fd7e39f0
Merge pull request #1210 from oragono/l10n_master
New Crowdin updates
2020-07-23 01:39:49 -07:00
Daniel Oaks
160d189732 New translations nickserv.lang.json (Bosnian) 2020-07-23 17:55:30 +10:00
Daniel Oaks
a732000d93 New translations help.lang.json (German) 2020-07-23 17:55:29 +10:00
Daniel Oaks
64602b84e7 New translations nickserv.lang.json (German) 2020-07-23 17:55:27 +10:00
Daniel Oaks
7ebff15398 New translations irc.lang.json (Greek) 2020-07-23 17:55:26 +10:00
Daniel Oaks
cc05257db1 New translations help.lang.json (Greek) 2020-07-23 17:55:24 +10:00
Daniel Oaks
3da5c9b87f New translations nickserv.lang.json (Greek) 2020-07-23 17:55:23 +10:00
Daniel Oaks
39d97313cc New translations irc.lang.json (Finnish) 2020-07-23 17:55:21 +10:00
Daniel Oaks
dbf29aef6d New translations help.lang.json (Finnish) 2020-07-23 17:55:20 +10:00