Shivaram Lingamneni
2f9234318c
fix #1021
hace 4 años
Alex Jaspersen
d5cec62df3
Call ApplyUserModeChanges for default user modes.
This ensures that counts like the number of invisible users are updated
correctly.
hace 4 años
Alex Jaspersen
b3a7e5c996
Set default user modes when always-on clients reconnect.
Add default-user-modes configuration to conventional.yaml.
Fix comment on DefaultUserModes.
hace 4 años
Alex Jaspersen
df9bf15f00
Add support for setting user modes by default.
hace 4 años
Shivaram Lingamneni
f5fe580d22
partial implementation of #729
This propagates CS AMODE changes to the actual modes, but not the other
way around.
Also fixes #909 .
hace 4 años
Shivaram Lingamneni
d98e3581b3
disallow /SAMODE nick +o
hace 4 años
Shivaram Lingamneni
438fffab99
fix #725
hace 4 años
Shivaram Lingamneni
166dc60729
fix #753
Also add +C no-ctcp mode, since it's not conflicted
hace 4 años
Shivaram Lingamneni
bd822853bc
fix some translation warnings
hace 4 años
Shivaram Lingamneni
07865b8f63
chanserv enhancements and miscellaneous fixes
* Fix #684
* Fix #683
* Add `CHANSERV CLEAR`
* Allow mode changes from channel founders even when they aren't joined
* Operators with the chanreg capability are exempt from max-channels-per-account
* Small fixes and cleanup
hace 4 años
Shivaram Lingamneni
82c5041225
fix #649
hace 4 años
Shivaram Lingamneni
332f0d8d91
fix #644
hace 4 años
Shivaram Lingamneni
0835ad6af5
fix #514
Also ensure that people can remove their own persistent modes via CS AMODE
hace 5 años
Shivaram Lingamneni
4b88a60ba6
clean up some old getters
hace 5 años
Shivaram Lingamneni
30f6e11698
fix #400
Also fix some issues with STATUSMSG
hace 5 años
Shivaram Lingamneni
a729772f0c
fix a deadlock in CS AMODE
hace 5 años
Shivaram Lingamneni
18a8b075ea
fix #425 and #395
hace 5 años
Shivaram Lingamneni
63029e2ff5
refactor channel registration
hace 5 años
Shivaram Lingamneni
e2e07c0eee
fix #374
hace 5 años
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
hace 5 años
Shivaram Lingamneni
ac08ce0f20
move ChannelOperator check into hasPrivs helper
hace 6 años
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
hace 6 años
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
hace 6 años
Shivaram Lingamneni
d3815fbe61
review fixes and updates
hace 6 años
Shivaram Lingamneni
abbbd2c899
review fix
hace 6 años
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
hace 6 años
moocow
744ad2ce0b
Stats for LUSERS logic now seperated, fixed params in LUSERS
hace 6 años
Daniel Oaks
5811226760
Only allow valid snomasks to be set
hace 6 años
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
hace 6 años
Daniel Oaks
3634d0601e
Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes)
hace 6 años
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
hace 6 años
Daniel Oaks
8bc2c0ee67
temp *badbadbad*
hace 6 años
Daniel Oaks
16a55cbba8
Add labeled-responses for MODE
hace 6 años
Daniel Oaks
275227a461
Make like every client-facing string translatable
hace 6 años
Daniel Oaks
3b3c1c733a
Support bot mode +B
hace 6 años
Shivaram Lingamneni
b1e12ca1eb
allow unprivileged users to list bans
hace 6 años
Shivaram Lingamneni
6d619bf411
fix channel mode change privilege enforcement
hace 6 años
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.
hace 6 años
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
hace 6 años
Shivaram Lingamneni
71e82a9ccf
move a check, avoiding a crash
hace 6 años
Shivaram Lingamneni
240f121e5e
bug fix: SAMODE should list other users' modes
hace 6 años
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
hace 6 años
Daniel Oaks
e3a0387cf5
channel: Fix +m (moderated) and +R (registeredonly) channel modes, add note about opers overriding +m/+R
hace 6 años
Daniel Oaks
2759d8f5d3
modes: Allow 'MODE b' (used by irssi for channel sync) (thanks @dx!)
hace 6 años
Shivaram Lingamneni
333afe1062
make default channel modes configurable
hace 6 años
Daniel Oaks
f9ef97b204
modes: Add experimental, untested +R user mode to block messages from unregistered users
hace 7 años
Daniel Oaks
b633db3c9d
modes: Also allow Voice
hace 7 años
Daniel Oaks
6ffc96d495
modes: Let users give other users privs in channels. Silly bug.
hace 7 años
Daniel Oaks
1c0c4841a1
General comments, fix misspellings and lints
hace 7 años
Daniel Oaks
c9ed749538
Rename deps
hace 7 años