Daniel Oaks
e3a0387cf5
channel: Fix +m (moderated) and +R (registeredonly) channel modes, add note about opers overriding +m/+R
6 jaren geleden
Daniel Oaks
b850a6c1d9
caps: Actually remove MessageIDs (accidentally left it here with the merge)
6 jaren geleden
Daniel Oaks
b4fcb45af0
Add license stuff to the top of caps/ and sno/ files I guess
6 jaren geleden
Daniel Oaks
275449e6cc
caps: Move most capability-handling types into the caps package
6 jaren geleden
Daniel Oaks
85bfe3818b
Merge pull request #141 from slingamn/dline_safety.2
refactor [dk]linemanagers
6 jaren geleden
Shivaram Lingamneni
ae441d22d3
refactor [dk]linemanagers
* Synchronize map accesses
* Be more aggressive about cleaning up expired lines
* CIDR dlines did not work (nil dereference)
6 jaren geleden
Daniel Oaks
cea6565b80
client: HasCapabs -> HasRoleCapabs to make it more clear exactly what this means
6 jaren geleden
Daniel Oaks
810908db7f
Add comments
6 jaren geleden
Daniel Oaks
9bfdc4fdfb
Move caps to their own package to prevent conflicts
6 jaren geleden
Daniel Oaks
830484feb6
AWAY: Send correct mode string (thanks for pointing out this silly bug @jwheare!)
6 jaren geleden
Daniel Oaks
c39206ad13
Don't create new caps out of nowhere, dummy
6 jaren geleden
Daniel Oaks
ffe7375a68
Fix proxied DLINE/throttle/etc error messages
6 jaren geleden
Shivaram Lingamneni
a9e4ed237e
deduplicate d-line and throttle code
6 jaren geleden
Daniel Oaks
8b1f722655
server: Fix the PROXY command
6 jaren geleden
Daniel Oaks
3f4bf38bee
Merge branch 'rehash_refactor.4' of https://github.com/slingamn/oragono
6 jaren geleden
Daniel Oaks
8ea5632269
Setup v0.9.2-unreleased devel ver
6 jaren geleden
Shivaram Lingamneni
b7b24c34b4
rehash cannot modify the server name
6 jaren geleden
Shivaram Lingamneni
3b0f1ff1cc
delete websocket support as per discussion on #139
6 jaren geleden
Shivaram Lingamneni
e8b1870067
refactor the rehash implementation
6 jaren geleden
Daniel Oaks
eae04e8c51
Release v0.9.1
6 jaren geleden
Daniel Oaks
cd8b4877b6
accounts: Check for account logins correctly, fixes registration. Also fix a typo, thanks squigz!
6 jaren geleden
Daniel Oaks
90435256fd
Merge pull request #138 from slingamn/quit_messages
send the actual quit message to friends
6 jaren geleden
Shivaram Lingamneni
1612c141d5
send the actual quit message to friends
6 jaren geleden
Daniel Oaks
a78a8f1130
client: Only add friends if they actually have the caps we request. Friends() is entirely broken because of this
6 jaren geleden
Daniel Oaks
79de443496
channel: Don't send TOPIC on entirely new channel
6 jaren geleden
Daniel Oaks
2759d8f5d3
modes: Allow 'MODE b' (used by irssi for channel sync) (thanks @dx!)
6 jaren geleden
Daniel Oaks
3b0d9c4db9
Send nick parameter correctly on ERR_NOSUCHNICK numerics
6 jaren geleden
Daniel Oaks
1ccdd67a45
Setup v0.9.1-unreleased devel ver
6 jaren geleden
Daniel Oaks
02cd620bd4
Release v0.9.0
6 jaren geleden
Daniel Oaks
e95c75f87d
monitor: Fix a crash around the MONITOR command
6 jaren geleden
Daniel Oaks
7ff33b88dd
Update info doc and changelog
6 jaren geleden
Daniel Oaks
ee73d136fc
vendor: Updated submodules
6 jaren geleden
Daniel Oaks
acec0e1690
PROXY: Check DLINEs and connection limits/throttle on new proxied connections
6 jaren geleden
Daniel Oaks
38498b752b
PROXY: Make sure given IPs are valid and pass them through appropriately
6 jaren geleden
Daniel Oaks
7d140c9e43
PROXY: Update some comments, disallow from registered clients
6 jaren geleden
Shivaram Lingamneni
99f02ede20
restore PROXY protocol support
support for PROXY was removed in 43e28e2fef . After discussion,
it's worth keeping around in case of client compatibility issues,
and until /rehash support is more mature.
6 jaren geleden
Daniel Oaks
8cd016e4c0
server: Fix comments
6 jaren geleden
Daniel Oaks
989fea18f9
Merge pull request #135 from slingamn/listeners_refactor_again.7
refactor create/update/destroy of listeners
6 jaren geleden
Shivaram Lingamneni
0f0f2d1314
refactor listener update/destroy code
Don't close and reopen listeners
6 jaren geleden
Shivaram Lingamneni
d5528f6e56
execute rehash() in its own goroutine
This prevents a deadlock:
1. rehash() is executing on the main goroutine
2. it's trying to stop a listener goroutine
3. the listener goroutine needs to hand off a new connection to newConns
4. but the main goroutine is blocked by rehash() so it can't receive it
6 jaren geleden
Shivaram Lingamneni
b1376d5f71
Fix a concurrency error with Server.listeners
See #134 ; there was a `fatal error: concurrent map read and map write`
due to unsynchronized accesses to `Server.listeners`. Now, `listeners`
is only accessed by `NewServer` and `rehash`, so it doesn't need
synchronization.
6 jaren geleden
Daniel Oaks
c48d869f4d
Allow multiple account registrations for testing
6 jaren geleden
Daniel Oaks
8e32098f1f
Quiet mkcerts messages
6 jaren geleden
Daniel Oaks
97010461f7
Merge pull request #133 from slingamn/default_modes.2
implement #132 (configurable default channel modes)
6 jaren geleden
Shivaram Lingamneni
6063d30bc5
add a test for default channel mode parsing
6 jaren geleden
Shivaram Lingamneni
333afe1062
make default channel modes configurable
6 jaren geleden
Shivaram Lingamneni
a50e68af4d
ignore vim swapfiles
6 jaren geleden
Daniel Oaks
34964a9920
changelog: Document new stuff
6 jaren geleden
Daniel Oaks
d052ca8a8d
accounts: Disable reg if client's already registered an account
6 jaren geleden
Daniel Oaks
eb72c38d0c
changelog: Note latest changes, reword some dodgy lines
6 jaren geleden