Shivaram Lingamneni
e2e07c0eee
fix #374
il y a 5 ans
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
il y a 5 ans
Shivaram Lingamneni
ac08ce0f20
move ChannelOperator check into hasPrivs helper
il y a 6 ans
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
il y a 6 ans
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
il y a 6 ans
Shivaram Lingamneni
d3815fbe61
review fixes and updates
il y a 6 ans
Shivaram Lingamneni
abbbd2c899
review fix
il y a 6 ans
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
il y a 6 ans
moocow
744ad2ce0b
Stats for LUSERS logic now seperated, fixed params in LUSERS
il y a 6 ans
Daniel Oaks
5811226760
Only allow valid snomasks to be set
il y a 6 ans
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
il y a 6 ans
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)
il y a 6 ans
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
il y a 6 ans
Daniel Oaks
8bc2c0ee67
temp *badbadbad*
il y a 6 ans
Daniel Oaks
16a55cbba8
Add labeled-responses for MODE
il y a 6 ans
Daniel Oaks
275227a461
Make like every client-facing string translatable
il y a 6 ans
Daniel Oaks
3b3c1c733a
Support bot mode +B
il y a 6 ans
Shivaram Lingamneni
b1e12ca1eb
allow unprivileged users to list bans
il y a 6 ans
Shivaram Lingamneni
6d619bf411
fix channel mode change privilege enforcement
il y a 6 ans
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.
il y a 6 ans
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
il y a 6 ans
Shivaram Lingamneni
71e82a9ccf
move a check, avoiding a crash
il y a 6 ans
Shivaram Lingamneni
240f121e5e
bug fix: SAMODE should list other users' modes
il y a 6 ans
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
il y a 6 ans
Daniel Oaks
e3a0387cf5
channel: Fix +m (moderated) and +R (registeredonly) channel modes, add note about opers overriding +m/+R
il y a 6 ans
Daniel Oaks
2759d8f5d3
modes: Allow 'MODE b' (used by irssi for channel sync) (thanks @dx!)
il y a 6 ans
Shivaram Lingamneni
333afe1062
make default channel modes configurable
il y a 7 ans
Daniel Oaks
f9ef97b204
modes: Add experimental, untested +R user mode to block messages from unregistered users
il y a 7 ans
Daniel Oaks
b633db3c9d
modes: Also allow Voice
il y a 7 ans
Daniel Oaks
6ffc96d495
modes: Let users give other users privs in channels. Silly bug.
il y a 7 ans
Daniel Oaks
1c0c4841a1
General comments, fix misspellings and lints
il y a 7 ans
Daniel Oaks
c9ed749538
Rename deps
il y a 7 ans
Daniel Oaks
a8fa131244
Move to new repo
il y a 7 ans
Daniel Oaks
fd793d6adb
Add very initial snomasks
il y a 7 ans
Daniel Oaks
9cfa92ede8
modes: Avoid unnecessarily sending unknown mode numerics
il y a 7 ans
Daniel Oaks
0046025d60
Enable chanmode +r, fix bug with registering channels
il y a 7 ans
Daniel Oaks
cec3416eae
modes: Kill a crash
il y a 7 ans
Daniel Oaks
861b65eb39
channels: Automagically save channel bans/excepts/invites
il y a 7 ans
Daniel Oaks
05074e966d
modes: Continue overhauling
il y a 7 ans
Daniel Oaks
657ed644cb
modes: Start overhauling modes
il y a 7 ans
Daniel Oaks
9e65d9b87e
Add SAMODE command, restricted by oper capab
il y a 7 ans
Daniel Oaks
e9324c3250
modes: Fix some more mutexes
il y a 7 ans
Daniel Oaks
6f7c683247
channel: RWMutex for members access
il y a 7 ans
Daniel Oaks
9314edd405
modes: Convey cmode changes to other channel members...
il y a 7 ans
Daniel Oaks
c3174bb648
Various crash fixes, and little cleanups for safety
il y a 7 ans
Daniel Oaks
9fea9cf658
modes: Restrict changing modes correctly
il y a 7 ans
Daniel Oaks
07e4728c15
roleplay: Initial commit
il y a 7 ans
Daniel Oaks
78028135eb
modes: Limit length of beI mode lists
il y a 7 ans
Daniel Oaks
c599c8f599
modes: Fix error with cmodes being sent badly
il y a 7 ans
Daniel Oaks
517893065b
Support STATUSMSG
il y a 7 ans