Shivaram Lingamneni
82be9a8423
support migrating anope databases
3 years ago
Shivaram Lingamneni
1ec029a53b
review fixes
1. Avoid undefined behavior of time.Time{}.UnixNano()
2. Times should be compared with Equal()
3 years ago
Shivaram Lingamneni
7a6413ea2c
first draft of atheme migration code
3 years ago
Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
3 years ago
Shivaram Lingamneni
811da03ab5
fix #889
4 years ago
Shivaram Lingamneni
3005e95c1f
rename IncludeAllChannelAttrs
4 years ago
Shivaram Lingamneni
fab0630180
time.Unix still requires normalization to UTC
4 years ago
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4 years ago
Shivaram Lingamneni
2110f3dad7
fix #705
4 years ago
Shivaram Lingamneni
c5a81d59ff
fix #581
4 years ago
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
4 years ago
Shivaram Lingamneni
332f0d8d91
fix #644
4 years ago
Shivaram Lingamneni
63029e2ff5
refactor channel registration
5 years ago
Shivaram Lingamneni
e4c9351254
fix: set the existing channels unregistered
5 years ago
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
5 years ago
Shivaram Lingamneni
7cd5b8473c
fix a bug in CS UNREGISTER
6 years ago
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
6 years ago
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 )
6 years ago
Daniel Oaks
2ecec25d28
Misc refactoring
6 years ago
Shivaram Lingamneni
4b1aa2b952
remove unused member ChannelRegistry.channels
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
Daniel Oaks
0f8ab4eaec
server: Add proposed RENAME command
7 years ago
Daniel Oaks
317a804644
Fix dates at top of source files
7 years ago
Daniel Oaks
861b65eb39
channels: Automagically save channel bans/excepts/invites
7 years ago
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.
7 years ago