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 .
vor 4 Jahren
Shivaram Lingamneni
bd45c346dc
fix #685
vor 4 Jahren
Shivaram Lingamneni
85a536977c
factor out confirmation codes into utils, change their format
vor 4 Jahren
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
vor 4 Jahren
Shivaram Lingamneni
bd822853bc
fix some translation warnings
vor 4 Jahren
Shivaram Lingamneni
f920d3b79f
fix #530, #721
vor 4 Jahren
Shivaram Lingamneni
8c1db7a2f5
better UX for cancelling channel transfers
vor 4 Jahren
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
vor 4 Jahren
Shivaram Lingamneni
1c583d775c
refactor /HELP for services
1. DRY "banner" descriptions of each services
2. `/HELP NICKSERV` now refers the user to `/NICKSERV HELP`, etc.
3. Fix double translation of `textGenerator` output
vor 5 Jahren
Shivaram Lingamneni
8fc588375b
implement user preferences system
vor 5 Jahren
Daniel Oaks
b8c9de5379
Make strings easier to understand
vor 5 Jahren
Shivaram Lingamneni
63029e2ff5
refactor channel registration
vor 5 Jahren
Daniel Oaks
6d109e92a5
Fix dodgy TL strings to make them easier to translate
vor 5 Jahren
Shivaram Lingamneni
344a1d7e48
fix #392
vor 5 Jahren
Shivaram Lingamneni
e4c9351254
fix: set the existing channels unregistered
vor 5 Jahren
Shivaram Lingamneni
2910eda737
fix a nit
vor 5 Jahren
Shivaram Lingamneni
ff7bbc4a9c
track channel registrations per account
* limit the total number of registrations per account
* when an account is unregistered, unregister all its channels
vor 5 Jahren
Shivaram Lingamneni
598d9a025b
review fix: add maxParams for service commands
vor 5 Jahren
Shivaram Lingamneni
b80df0885f
refactor services code
vor 5 Jahren
Shivaram Lingamneni
578ca2fdf6
add support for service command aliases
vor 6 Jahren
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
vor 6 Jahren
Shivaram Lingamneni
c3b66b5236
add a verification code to CS UNREGISTER
vor 6 Jahren
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
vor 6 Jahren
Shivaram Lingamneni
d3815fbe61
review fixes and updates
vor 6 Jahren
Shivaram Lingamneni
1016f86f70
implement CHANSERV AMODE
vor 6 Jahren
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
vor 6 Jahren
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
vor 6 Jahren
Shivaram Lingamneni
8fb5a38851
Updates to channel persistence
1. Implement persistent channel keys (#208 )
2. Persist changes to registered channel modes
3. Backend changes for persisting operator status (partial #198 )
vor 6 Jahren
Daniel Oaks
b6a997f68c
Unify translations
vor 6 Jahren
Daniel Oaks
6fb4284e32
Refactor chanserv.go to match nickserv.go, unify the two
vor 6 Jahren
Daniel Oaks
46c98c2cf5
Fix CHANSERV OP
vor 6 Jahren
Daniel Oaks
a67dfe37ca
Add CHANSERV OP (thanks benharri for making the request!)
vor 6 Jahren
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
vor 6 Jahren
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
vor 6 Jahren
Daniel Oaks
3ef4c5f799
Split NS/CS commands into separate functions
vor 6 Jahren
Daniel Oaks
2ecec25d28
Misc refactoring
vor 6 Jahren
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)
vor 6 Jahren
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
vor 6 Jahren
Daniel Oaks
275227a461
Make like every client-facing string translatable
vor 6 Jahren
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.
vor 6 Jahren
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
vor 6 Jahren
Daniel Oaks
c9ed749538
Rename deps
vor 7 Jahren
Daniel Oaks
a8fa131244
Move to new repo
vor 7 Jahren
Daniel Oaks
53190ef131
Send a whole lot more snomasks
vor 7 Jahren
Daniel Oaks
0046025d60
Enable chanmode +r, fix bug with registering channels
vor 7 Jahren
Daniel Oaks
70b7606996
config: Allow enabling/disabling channel reg
vor 7 Jahren
Daniel Oaks
b33b217fab
Add very initial ChanServ and NickServ virtual clients
As well, add channel registration and re-applying founder privs on the first client joining the channel. I'm going to re-architect our modes system to better acocunt for this sort of change.
vor 7 Jahren