17 Commits (0854c6d60d925bed223f0d7cea2a79e77b8e819f)

Author SHA1 Message Date
Mark Veidemanis 9fd6688892 Implement setting modes in ZNC 4 years ago
Mark Veidemanis f848b5afd6 Provision users with lowercase names 4 years ago
Mark Veidemanis e0549cdd30
Restructure provisioning into fewer functions 4 years ago
Mark Veidemanis bc4d5cba8e
Separate provisioning into user and auth info 5 years ago
Mark Veidemanis 6ad6d6dc50 Fix channel allocation when relays are provisioned
Fix a bug where the channel allocation algorithm failed due to
necessary relays not having been provisioned yet.
Passed the newly created relay numbers to the allocation function
and assumed their CHANMAX would be the same as all other relays for
the same network.
5 years ago
Mark Veidemanis 0321651c20 Implement fair channel allocation in ChanKeep
* Allocate channels to relays only if they have free space based on
their chanlimit value
* Minify channels by removing ones that are already covered before
passing them off to be joined
5 years ago
Mark Veidemanis 7a6e3338c0 Implement ChanKeep joining functions
* Low-key channel joining with incrementally increasing delay
* Spin up needed instances to be able to cover a certain channel space
* Fix provisioning functions to prevent race conditions with lots of
relays being created at once
* Tweakable switchover from covering all channels to only covering
channels with more users than the mean of the cumulative user count
5 years ago
Mark Veidemanis 31c9e64790 Implement function to set up multiple relays 5 years ago
Mark Veidemanis 32309ecec2 Change alias definitions to be global, so aliases can be reused across different networks 5 years ago
Mark Veidemanis 2d70d5af11 Add error checking in places, set up automatic relay provisioning and fix starting bots 5 years ago
Mark Veidemanis f34ddab6fc Improvements to query and self event detection, implement all command and debug flags 5 years ago
Mark Veidemanis 1ec0e1f7e6 Remove provisioning restrictions, move all user tracking code to monitoring module, fix proper network name not being passed to the relay 5 years ago
Mark Veidemanis 2757256d4f Implement a single function for all callbacks from IRC hooks and send a seperate notification if an action takes place that concerns a bot 5 years ago
Mark Veidemanis 488d81dac8 Fix a race condition in disabling networks post-creation, remove redundant bindhost code and fix a minor bug in the load command 5 years ago
Mark Veidemanis a4b7bd50b1 Implement additional error checking for provisioning instances and parsing messages, and prevent ZNC from auto-connecting an instance if ConnectOnCreate is off 5 years ago
Mark Veidemanis 8926cb76ec Renovate the module system and implement adding and resuming pool instances using the new relay/alias/network system 6 years ago
Mark Veidemanis 4efea3f535 Implement the backend for automatically provisioning relays 6 years ago