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

4239 Commits

Author SHA1 Message Date
Shivaram Lingamneni
b95afa1464 preemptively filter out masks from amodes in atheme import 2020-12-06 20:07:45 -05:00
Shivaram Lingamneni
f9768e2259
Merge pull request #1429 from slingamn/issue1428_tor_sts.1
fix #1428
2020-12-06 13:56:33 -08:00
Shivaram Lingamneni
82332b3f37
Merge pull request #1432 from slingamn/issue1431_topic
fix #1431
2020-12-06 09:59:10 -08:00
Shivaram Lingamneni
d6a2c0db4a fix #1431 2020-12-06 12:38:18 -05:00
Shivaram Lingamneni
96fd1c04d6
Merge pull request #1430 from oragono/devel+operblockchanges
fix #1426
2020-12-06 00:11:26 -08:00
Daniel Oaks
cd6d9826b2 Tweaked oper blocks.
I think that 'moderator vs admin' is a pretty common set of priv levels,
whereas 'oper vs admin' is a little confusing, esp. to less irc-savvy
people.

/SAJOIN and /SAMODE are really common for joining channels to check out
what's going on and for e.g. opping someone when nobody in the channel
is opered, so it makes sense for mods to have those. I feel similarly
about vhosts, they're usually something that's delegated to less-prived
opers.

Changed the whois line from 'a server admin' to 'the server admin' to
make it a bit more clear that this is one single user, rather than a set
of privs to be shared. And it's a tiny thing, but removed the 'less
privileged' term from alice's oper block because it felt a bit dodgy.
2020-12-06 17:01:32 +10:00
Shivaram Lingamneni
7bdbb01238 fix #1428
Tor listeners should never see an STS cap.

Add an undocumented 'hide-sts' key for listeners that hides the STS cap.
This can be used if the listener is secured at layer 3 or 4 (VPNs,
E2E mixnets). It will be necessary to add the relevant IPs to `secure-nets`.
2020-12-05 23:06:23 -05:00
Shivaram Lingamneni
c8d999c95f clean up and clarify example operator blocks
See #1426
2020-12-05 20:40:44 -05:00
Shivaram Lingamneni
23a7221137
Merge pull request #1425 from slingamn/issue1421_customlimits.2
fix #1421
2020-12-05 16:03:51 -08:00
Shivaram Lingamneni
f9b842c88b fix #1421
Allow custom limit definitions that encompass multiple subnets
2020-12-04 14:24:19 -05:00
Shivaram Lingamneni
7e56f62aed
Merge pull request #1419 from slingamn/alwayson_channelmodes.1
fix #1345
2020-12-04 02:28:38 -08:00
Shivaram Lingamneni
7624936d8c
Merge pull request #1424 from slingamn/import_enhancements
validate amode recipients during data import
2020-12-04 01:55:01 -08:00
Shivaram Lingamneni
281821ed0e validate amode recipients 2020-12-04 04:50:40 -05:00
Shivaram Lingamneni
79e3f4a15c
Merge pull request #1423 from slingamn/import_certfps
enhancements to database import
2020-12-04 01:40:29 -08:00
Shivaram Lingamneni
82d29aa9b2
Merge pull request #1422 from jlu5/master
atheme2json enhancements
2020-12-04 01:39:56 -08:00
Shivaram Lingamneni
32f3c69a08 support certfp import 2020-12-04 04:37:24 -05:00
James Lu
2dcb084e0f atheme2json: translate channel flag +a to the corresponding amode 2020-12-04 01:08:23 -08:00
James Lu
22b0263c5b atheme2json: flatten channels owned by GroupServ groups to the first group founder 2020-12-04 01:08:23 -08:00
Shivaram Lingamneni
c0bc485840 schema change for #1345
Convert the flat list of channels for always-on clients
to a map from channel names to channel-user modes.
2020-12-02 15:32:17 -05:00
Shivaram Lingamneni
51f279289d fix #1345
Store the channel-user modes of always-on clients along with their
channel memberships, restore them on server startup. This will coexist
alongside /CS AMODE, which autoapplies modes to clients on join regardless
of their always-on status.
2020-12-02 15:31:49 -05:00
Shivaram Lingamneni
3aeac42978
Merge pull request #1418 from slingamn/issue1417_joinzero
fix #1417
2020-12-01 14:05:26 -08:00
Shivaram Lingamneni
01291ceadd fix #1417
Allow `JOIN 0` with a confirmation code
2020-12-01 14:23:47 -05:00
Shivaram Lingamneni
a291e5ca74
Merge pull request #1416 from slingamn/tagmsg_bug.3
fix TAGMSG being relayed to clients without message-tags
2020-11-30 14:23:54 -08:00
Shivaram Lingamneni
b9393e5600 bump irctest 2020-11-30 17:08:53 -05:00
Shivaram Lingamneni
1b91360885 fix incorrect TAGMSG relaying 2020-11-30 17:08:53 -05:00
Shivaram Lingamneni
db100f1f91
Merge pull request #1231 from slingamn/buffer.2
more memory-efficient implementation of line reading
2020-11-30 02:34:25 -08:00
Shivaram Lingamneni
a34918e729 add a fuzz test for IRCStreamConn changes 2020-11-30 02:08:47 -05:00
Shivaram Lingamneni
5edfcced0a
Merge pull request #1415 from slingamn/issue1409_invite_history.1
fix #1409
2020-11-29 19:47:22 -08:00
Shivaram Lingamneni
b4cd62bece
Merge pull request #1414 from slingamn/issue1396_account_snomask
fix #1396
2020-11-29 19:46:12 -08:00
Shivaram Lingamneni
b28004bbd9
Merge pull request #1410 from slingamn/welcome
add network name to RPL_WELCOME
2020-11-29 19:45:36 -08:00
Shivaram Lingamneni
32bbde49a8 fix #1409
Record INVITE in DM history for the benefit of offline always-on clients
2020-11-29 22:12:06 -05:00
Shivaram Lingamneni
c62956f708 fix #1396
* Defer account login snomask until after connection registration is complete
* Don't send account-notify for pre-registration clients
2020-11-29 20:20:26 -05:00
Shivaram Lingamneni
0e470763a2
Merge pull request #1413 from slingamn/issue1411_dmtags
fix #1411
2020-11-29 17:03:38 -08:00
Shivaram Lingamneni
2d857b21c6 bump irctest 2020-11-29 19:57:47 -05:00
Shivaram Lingamneni
e18eb1db99 fix #1411
Clients without event-playback should receive client-only tags in
replayed PRIVMSG / NOTICE.
2020-11-29 19:57:47 -05:00
Shivaram Lingamneni
42d5e767dd add network name to RPL_WELCOME 2020-11-29 16:34:52 -05:00
Shivaram Lingamneni
0fcaf778e0
Merge pull request #1400 from slingamn/issue1387_messagecaching.4
fix #1387
2020-11-29 02:32:59 -08:00
Shivaram Lingamneni
34fc8aa3c8
Merge pull request #1408 from slingamn/services_source.2
fix #1407
2020-11-29 02:31:48 -08:00
Shivaram Lingamneni
3ee6fd1f6c allow overriding services hostname
Fixes #1407
2020-11-29 00:02:26 -05:00
Shivaram Lingamneni
9214d978d0 refactor services prefixes and notice handlers 2020-11-29 00:02:26 -05:00
Shivaram Lingamneni
013c138977
Merge pull request #1406 from oragono/l10n_master
New Crowdin updates
2020-11-28 15:01:30 -08:00
Daniel Oaks
5fd04b71a5 New translations nickserv.lang.json (French) 2020-11-28 16:32:35 +10:00
Daniel Oaks
2a26520240 New translations chanserv.lang.json (French) 2020-11-28 16:32:33 +10:00
Daniel Oaks
7a3da37b0d New translations help.lang.json (French) 2020-11-28 16:32:31 +10:00
Daniel Oaks
74bc7a2ef0 New translations irc.lang.json (French) 2020-11-28 16:32:29 +10:00
Shivaram Lingamneni
bec88be799
Merge pull request #1405 from kylef/kylef/mode-order
Make atheme2json sort channel modes
2020-11-27 11:34:22 -08:00
Kyle Fuller
7e5cdc4f90 refactor atheme2json to sort channel modes
This makes invoking the script multiple times with the same input return
the same result, which may not be the case before because sets are
unordered and thus the channel modes can become reordered across
multiple invocations of the script.
2020-11-27 19:20:58 +00:00
Shivaram Lingamneni
c4b7b8af3a
Merge pull request #1402 from kylef/kylef/mlock-i
Allow atheme2json to handle mlock mode removal (outside of `-t` or `-n`)
2020-11-27 10:26:51 -08:00
Kyle Fuller
97bb044640 fix atheme2json to handle mlock mode removal
For example, if the mlock is set to `-i`, `i` is not present in the
`modes` and thus it would error.

I'm inclined to think that the negative mlock feature doesn't behave
correctly, because the mlock of `-i` (or `-n`) would prevent anyone from
ever setting those modes on the channel. Which this does not appear to
be the case.

Fixes #1401
2020-11-27 16:29:08 +00:00
Shivaram Lingamneni
ec15d367ba fix #1387
Instead of building a new serialized message for each recipient,
try to cache them.
2020-11-27 00:13:47 -05:00