Daniel Oaks
275227a461
Make like every client-facing string translatable
6 years ago
Daniel Oaks
3b3c1c733a
Support bot mode +B
6 years ago
Shivaram Lingamneni
b1e12ca1eb
allow unprivileged users to list bans
6 years ago
Shivaram Lingamneni
6d619bf411
fix channel mode change privilege enforcement
6 years ago
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 years ago
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 years ago
Shivaram Lingamneni
71e82a9ccf
move a check, avoiding a crash
6 years ago
Shivaram Lingamneni
240f121e5e
bug fix: SAMODE should list other users' modes
6 years ago
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
6 years ago
Daniel Oaks
e3a0387cf5
channel: Fix +m (moderated) and +R (registeredonly) channel modes, add note about opers overriding +m/+R
6 years ago
Daniel Oaks
2759d8f5d3
modes: Allow 'MODE b' (used by irssi for channel sync) (thanks @dx!)
6 years ago
Shivaram Lingamneni
333afe1062
make default channel modes configurable
6 years ago
Daniel Oaks
f9ef97b204
modes: Add experimental, untested +R user mode to block messages from unregistered users
7 years ago
Daniel Oaks
b633db3c9d
modes: Also allow Voice
7 years ago
Daniel Oaks
6ffc96d495
modes: Let users give other users privs in channels. Silly bug.
7 years ago
Daniel Oaks
1c0c4841a1
General comments, fix misspellings and lints
7 years ago
Daniel Oaks
c9ed749538
Rename deps
7 years ago
Daniel Oaks
a8fa131244
Move to new repo
7 years ago
Daniel Oaks
fd793d6adb
Add very initial snomasks
7 years ago
Daniel Oaks
9cfa92ede8
modes: Avoid unnecessarily sending unknown mode numerics
7 years ago
Daniel Oaks
0046025d60
Enable chanmode +r, fix bug with registering channels
7 years ago
Daniel Oaks
cec3416eae
modes: Kill a crash
7 years ago
Daniel Oaks
861b65eb39
channels: Automagically save channel bans/excepts/invites
7 years ago
Daniel Oaks
05074e966d
modes: Continue overhauling
7 years ago
Daniel Oaks
657ed644cb
modes: Start overhauling modes
7 years ago
Daniel Oaks
9e65d9b87e
Add SAMODE command, restricted by oper capab
7 years ago
Daniel Oaks
e9324c3250
modes: Fix some more mutexes
7 years ago
Daniel Oaks
6f7c683247
channel: RWMutex for members access
7 years ago
Daniel Oaks
9314edd405
modes: Convey cmode changes to other channel members...
7 years ago
Daniel Oaks
c3174bb648
Various crash fixes, and little cleanups for safety
7 years ago
Daniel Oaks
9fea9cf658
modes: Restrict changing modes correctly
7 years ago
Daniel Oaks
07e4728c15
roleplay: Initial commit
7 years ago
Daniel Oaks
78028135eb
modes: Limit length of beI mode lists
7 years ago
Daniel Oaks
c599c8f599
modes: Fix error with cmodes being sent badly
7 years ago
Daniel Oaks
517893065b
Support STATUSMSG
7 years ago
Daniel Oaks
425a521d27
channel: Fix MODE and WHO
7 years ago
Daniel Oaks
06028e0117
modes: Remove channel.Persist mode
It's broken anyways, and we'll be replacing it with our custom channel ownership stuff later.
7 years ago
Daniel Oaks
da6f350563
modes: Remove ReOp channel mode (unused)
7 years ago
Daniel Oaks
5e72409695
Move from ascii(ish) unicode encoding to prelim rfc7700 using functions instead
7 years ago
Daniel Oaks
c9a82e3f6f
modes: Return right character on unknown mode char
7 years ago
Daniel Oaks
ad8df3c9a8
modes: Fix modes, re-add +l and +k
7 years ago
Daniel Oaks
266c534af9
theater: Remove THEATER command for now
7 years ago
Daniel Oaks
b820559050
modes: Add TLS umode (+Z)
8 years ago
Daniel Oaks
670cf51452
modes: Migrating useful mode structs and functions directly to modes
8 years ago
Daniel Oaks
bded3202c2
channels: send RPL_CHANNELCREATED and RPL_TOPICTIME
8 years ago
Daniel Oaks
e19c1527a4
modes: Fix modes, re-add channel modes
8 years ago
Daniel Oaks
04442ddef1
Stuff is no longer completely broken. Just mostly.
8 years ago
Daniel Oaks
9e7a590f23
server: Fix
8 years ago
Daniel Oaks
e83283e7fd
urgh this should not even be commited yet, this will all be squashed out
8 years ago
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
8 years ago