Daniel Oaks
11ea52b0f0
Release v0.10.2
6 anni fa
Shivaram Lingamneni
ca8a0b7091
fix a wide-ranging assortment of crash bugs
6 anni fa
Daniel Oaks
efb54163a5
Setup v0.10.2-unreleased devel ver
6 anni fa
Daniel Oaks
f2d4698baf
Release v0.10.1
6 anni fa
Shivaram Lingamneni
6d619bf411
fix channel mode change privilege enforcement
6 anni fa
Shivaram Lingamneni
d4cb15354f
remove registeredChannelsMutex
This moves channel registration to an eventual consistency model,
where the in-memory datastructures (Channel and ChannelManager)
are the exclusive source of truth, and updates to them get persisted
asynchronously to the DB.
6 anni fa
Shivaram Lingamneni
60b861e07e
fix a race in regenerateMembersCache
The rationale for why regenerateMembersCache didn't need to hold the Lock()
throughout was subtly wrong. It is true that at least some attempt to
regenerate the cache would see *all* the updates. However, it was possible for
the value of `result` generated by that attempt to lose the race for the final
assignment `channel.membersCache = result`.
The fix is to serialize the attempts to regenerate the cache, without adding
any additional locking on the underlying `Channel` fields via
`Channel.stateMutex`. This ensures that the final read from `Channel.members`
is paired with the final write to `Channel.membersCache`.
6 anni fa
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
6 anni fa
Shivaram Lingamneni
94cf438f51
remove channelJoinPartMutex
6 anni fa
Daniel Oaks
d715abf0f0
Add the INFO command
6 anni fa
Daniel Oaks
384e6e1720
client: Fix crash from not having right line lengths computed
6 anni fa
Daniel Oaks
03978c6b85
Setup 0.10.1-unreleased devel ver
6 anni fa
Shivaram Lingamneni
6130e48a67
always log the panic trace
6 anni fa
Shivaram Lingamneni
7b58bf76ef
make error recovery configurable
6 anni fa
Shivaram Lingamneni
80968d000f
log panic traces via the usual logging mechanism
6 anni fa
Shivaram Lingamneni
054f57e215
recover from client-caused panics
6 anni fa
Shivaram Lingamneni
71e82a9ccf
move a check, avoiding a crash
6 anni fa
Shivaram Lingamneni
240f121e5e
bug fix: SAMODE should list other users' modes
6 anni fa
Daniel Oaks
fbaf2d8e3a
Release v0.10.0
6 anni fa
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
6 anni fa
Shivaram Lingamneni
c026cc5ab6
review fixes
* move constant definitions
* always give the client at least quitTimeout to respond to ping,
even if registerTimeout or quitTimeout are longer than idleTimeout
6 anni fa
Daniel Oaks
8910dc59ee
Fix KLINE quit/error message and corrects comment on Client.Quit
6 anni fa
Shivaram Lingamneni
7ccb485b50
add two getters
6 anni fa
Shivaram Lingamneni
e540fde816
refactor idle timeouts
6 anni fa
Shivaram Lingamneni
b86fc105cd
eliminate destroyMutex
6 anni fa
Shivaram Lingamneni
545e8d71db
eliminate quitMutex
6 anni fa
Daniel Oaks
b0649cb5d3
WEBIRC: Allow protecting with fingerprint and parse `tls` flag
6 anni fa
Daniel Oaks
e1868f8a47
WEBIRC: Export fields so the config loads properly
6 anni fa
Daniel Oaks
34987ba53a
Allow WEBIRC from specified hosts
6 anni fa
Daniel Oaks
16c4b4166a
Change debug files from ergonomadic -> oragono
6 anni fa
Daniel Oaks
ef25b5b5c7
draft/sts -> sts
6 anni fa
Daniel Oaks
1324c5ff83
Allow simple way of listing DLINEs and KLINEs
6 anni fa
Daniel Oaks
2791476f16
INVITE: Fix dumb crash (thanks for pointing this out, @josephbisch!)
6 anni fa
Shivaram Lingamneni
d66470f1c4
review fix: rename various packages and objects
6 anni fa
Shivaram Lingamneni
58faad90dd
add loglines for IP limits
6 anni fa
Shivaram Lingamneni
ac9ac5ef19
create separate irc/connection_limiting package
6 anni fa
Shivaram Lingamneni
a2ac4eeef9
refactor limits and throttling
6 anni fa
Daniel Oaks
695faefd93
Allow formatting codes in the MOTD
6 anni fa
Daniel Oaks
d4a8984e63
Initial implementation of labeled-responses for WHOIS
6 anni fa
Daniel Oaks
a90ee16a20
caps: Test Add, Remove and String
6 anni fa
Daniel Oaks
378d55af65
Add tests to subpackages
6 anni fa
Daniel Oaks
10949a434a
kline: Gofmt -s
6 anni fa
Daniel Oaks
9f7e395c96
logger: Fix comments
6 anni fa
Daniel Oaks
68b1dc9e72
Split passwd into its' own subpackage
6 anni fa
Daniel Oaks
207c1074df
Split utils out to a separate subpackage
6 anni fa
Daniel Oaks
4aa52956e5
Split isupport to its' own subpackage
6 anni fa
Daniel Oaks
eac6a69782
Fix some notes and add some comments.
6 anni fa
Daniel Oaks
797b9f0996
help: Link to https oragono.io
6 anni fa
Shivaram Lingamneni
456174ed53
review fixes for raw i/o notification
6 anni fa
Shivaram Lingamneni
aff1752d67
refactor logging to implement #142
6 anni fa