Shivaram Lingamneni
cab192e2af
fix #2130
We load registered channels unconditionally; reloading them again on rehash
is incorrect. This caused buggy behavior when channel registration was
disabled in the config, but some registered channels were already loaded.
2 months ago
Shivaram Lingamneni
75bd63d0bc
add channel autojoin feature
See discussion on #2077
10 months ago
Shivaram Lingamneni
0f39fde647
remove insecure reattach check
See #2013 ; given that plaintext is deprecated now, it seems like there is no
added value from continuing to police this.
11 months ago
Shivaram Lingamneni
7ce0636276
refactor of channel persistence to use UUIDs
1 year ago
Shivaram Lingamneni
d17faf6bcb
fix #1975
Provide a nondestructive stack trace dump option even when the http pprof
listener is disabled
1 year ago
Shivaram Lingamneni
ae1de2554e
add persistence broadcasting
1 year ago
Shivaram Lingamneni
893922afe0
don't report PERSISTENCE STATUS in reg burst for anonymous clients
1 year ago
Shivaram Lingamneni
99d27ff737
initial implementation of draft/persistence
1 year ago
Shivaram Lingamneni
35128bfc23
use new aligned atomic types everywhere
See 69448b13a1 / #1969 ; the compiler can now ensure that a uint64
intended for atomic access is always aligned to a 64-bit boundary.
Convert atomic operations on uint32s and pointers as well.
1 year ago
Shivaram Lingamneni
a99c8a42f9
remove utils.ConfigStore in favor of atomic.Pointer[T]
1 year ago
Shivaram Lingamneni
737697d1d4
exempt operators from history cutoffs
See #1593 ; this enables a client-side implementation of bulk deletion
2 years ago
Shivaram Lingamneni
c5579a6a34
fix #1688
* Add ACCEPT-tracking functionality (authorizing users to send DMs
despite +R or other applicable restrictions)
* Sending a DM automatically accepts the recipient
* Add explicit ACCEPT command
2 years ago
Shivaram Lingamneni
077081076c
fix #1941
KLINE'd clients would produce a QUIT snotice without a corresponding
CONNECT snotice; explicitly suppress the QUIT snotice.
2 years ago
Shivaram Lingamneni
c603d41d08
genericize atomic config changes
2 years ago
Shivaram Lingamneni
2b8eb93c00
clean up magic numbers
2 years ago
Shivaram Lingamneni
51cdebf167
fix #1935
RPL_WHOISCHANNELS didn't have proper line breaks
2 years ago
Val Lorentz
379632a9e6
Fix implementation of `LIST <n`
2 years ago
Shivaram Lingamneni
32f7868bfd
implement draft/read-marker capability
2 years ago
Shivaram Lingamneni
0a59f41cf9
add ip-check-script.exempt-sasl
2 years ago
Shivaram Lingamneni
ed75533cb1
optionally protect against multiple starts with flock (#1873)
* optionally protect against multiple starts with flock
Fixes #1823
* use traditional .lock extension
* move config key to top level
2 years ago
Shivaram Lingamneni
51d573d3c9
fix #1802
Add a config option to suppress LUSERS
2 years ago
Shivaram Lingamneni
3ec5ffa340
Revert "fix #1676"
This reverts commit 5bbee02fe6 .
2 years ago
Shivaram Lingamneni
5bbee02fe6
fix #1676
Fix various pagination issues with CHATHISTORY; also undo #491
(msgid munging).
2 years ago
Shivaram Lingamneni
b0f412538c
move signals code to utils/
2 years ago
Shivaram Lingamneni
2cae19dde5
remove unnecessary indirection in config
2 years ago
Shivaram Lingamneni
e0e4791f72
factor out some shared code
2 years ago
Shivaram Lingamneni
69d88fb231
update logo in /INFO response
2 years ago
Shivaram Lingamneni
26cdb4cf36
fix #1650
RPL_WHOISACTUALLY should display some arbitrarily chosen IP address and
hostname.
2 years ago
Shivaram Lingamneni
5fc7ac41da
always mark the service ready after rehash
2 years ago
Shivaram Lingamneni
364193df4e
refactor some start-stop logging
2 years ago
Shivaram Lingamneni
6f24082705
support systemd notifications
Fixes #1733
2 years ago
Shivaram Lingamneni
4910aefa37
use ergochat/irc-go instead of goshuirc/irc-go
2 years ago
Shivaram Lingamneni
6ff0486aa0
changelog, documentation, and distrib updates for ergo 2.7
3 years ago
Shivaram Lingamneni
f1ae8051cb
update readmes, add placeholder logo
3 years ago
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3 years ago
Shivaram Lingamneni
7c5a8f2013
make MaxLineLen configurable
3 years ago
Shivaram Lingamneni
ba21987d03
remove draft/resume-0.5
3 years ago
Shivaram Lingamneni
aa27ad98a8
add a warning for the #1634 case
Configurations with require-sasl and open account registration are valid,
but likely unintended. Show a warning about them.
3 years ago
Shivaram Lingamneni
0d05ab4ff4
fix #1615
Remove the CHATHISTORY * and znc.in/playback *self targets,
clean up associated database code, add new mechanisms to play
all missed DMs.
3 years ago
Shivaram Lingamneni
5b33cd436f
remove unnecessary indirection in semaphore
3 years ago
Shivaram Lingamneni
18b6e2f1cd
implement CHATHISTORY TARGETS
3 years ago
Shivaram Lingamneni
4e49a25ba6
fix #1570
Handle panics in rehash, even if it was triggered by SIGHUP
3 years ago
Shivaram Lingamneni
42316bc04f
fix #1176
Transition most "is an operator" checks to require a specific operator
capability
3 years ago
Shivaram Lingamneni
07fa2ecb3e
allow UBAN <ip> REQUIRE-SASL
3 years ago
Shivaram Lingamneni
4a48e52518
fix #1490
Track channel join times, use them to optionally enforce history access
restrictions
3 years ago
Shivaram Lingamneni
bb5276553d
initial UBAN implementation
3 years ago
Shivaram Lingamneni
7c4d016fcb
fix incorrect sprintf-before-unescape
3 years ago
Shivaram Lingamneni
48166b5b4b
Implement expiration for always-on clients
Fixes #810
3 years ago
Shivaram Lingamneni
dd4fd1cbb6
fix #1452
3 years ago
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.
3 years ago