Mark Veidemanis
6c7d0d5c45
Reformat and fix circular import
2 years ago
Mark Veidemanis
3229d9b806
Revert "Reformat project"
...
This reverts commit 64e3e1160aa76d191740342ab3edc68807f890fb.
2 years ago
Mark Veidemanis
760e43b59a
Reformat project
2 years ago
Mark Veidemanis
757b22c4a1
Extra error handling around emails
2 years ago
Mark Veidemanis
5c7d71dc99
Fix provisioning with emails
2 years ago
Mark Veidemanis
ff1ee63900
Reformat code with pre-commit
2 years ago
Mark Veidemanis
19e04dbf36
Implement setting modes in ZNC
4 years ago
Mark Veidemanis
6acb106761
Provision users with lowercase names
4 years ago
Mark Veidemanis
d99c3c394f
Restructure provisioning into fewer functions
4 years ago
Mark Veidemanis
f4e5d248d5
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
6 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
6 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