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

4256 Commits

Author SHA1 Message Date
Shivaram Lingamneni
58edabf5c3
Merge pull request #1445 from slingamn/flatiptypes.5
introduce "flat ip" representations
2020-12-08 20:50:31 -08:00
Shivaram Lingamneni
84e3b5d77b stop autocreating d-lines for throttle violations
This didn't work correctly for IPv6 or custom nets.
/UNDLINE IP can temporarily be used to reset the throttle.
2020-12-08 22:01:23 -05:00
Shivaram Lingamneni
44cc4c2092 introduce "flat ip" representations 2020-12-07 21:21:10 -05:00
Shivaram Lingamneni
85c39f3ea0
Merge pull request #1444 from slingamn/issue1439_confusable_import
fix #1439, give all atheme group founders +q
2020-12-07 16:06:46 -08:00
Shivaram Lingamneni
579924c832 give all groupserv founders +q in atheme2json 2020-12-07 17:26:31 -05:00
Shivaram Lingamneni
c8c1ddfb41 fix #1439
Validate imported databases for confusable nicks
2020-12-07 13:35:58 -05:00
Shivaram Lingamneni
e61735aa2c
Merge pull request #1440 from Mikaela/exampleconfig-consistency-ip-cidr
{default,traditional}.yaml: refer to IPs/CIDR instead of addrs
2020-12-07 08:43:35 -08:00
a68d4da5df
{default,traditional}.yaml: refer to IPs/CIDR instead of addrs
Whenever CIDR is mentioned in the config, it's in combination with IP so
talking about addressese in these points gives wrong impression that a
domain name would be valid as those are often thought as addresses.
2020-12-07 12:40:58 +02:00
Shivaram Lingamneni
31003bd02d fix bugs in atheme2json.py 2020-12-07 02:53:45 -05:00
Shivaram Lingamneni
d4dd161c45
Merge pull request #1435 from slingamn/morebugs
fix some bugs
2020-12-06 23:31:42 -08:00
Shivaram Lingamneni
e994e0451a fix incorrect vhost serialization 2020-12-07 02:29:18 -05:00
Shivaram Lingamneni
da2d4ca130 make overridden services hostname appear in chanserv 2020-12-07 02:29:18 -05:00
Shivaram Lingamneni
8c2d0762e4
Merge pull request #1434 from slingamn/need_privs
change FAIL codes from NOT_PRIVED to PRIVS_NEEDED
2020-12-06 23:28:04 -08:00
Shivaram Lingamneni
30b514cf95 bump irctest 2020-12-07 02:25:39 -05:00
Shivaram Lingamneni
66d90bef5e change FAIL codes from NOT_PRIVED to PRIVS_NEEDED 2020-12-06 21:01:44 -05:00
Shivaram Lingamneni
937e519595
Merge pull request #1433 from slingamn/import_enhancements
fix #1403
2020-12-06 17:55:02 -08:00
Shivaram Lingamneni
468b5a4a39 fix #1403
Handle the case where atheme had a successor, but didn't correctly
elect them as founder (?)
2020-12-06 20:50:06 -05:00
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