Commit Graph

31 Commits

Author SHA1 Message Date
Mark Veidemanis c7941bfcda Log authentication messages 2022-08-16 23:01:42 +01:00
Mark Veidemanis ce32ab4722 Improve regPing debugging 2022-08-18 07:20:30 +01:00
Mark Veidemanis 7efde28d99 Look before you leap to confirming registrations 2022-08-18 07:20:30 +01:00
Mark Veidemanis 659162ebc6 Fix IRC config mutation 2022-08-18 07:20:30 +01:00
Mark Veidemanis 4fa5c25e94 Fix getting all unregistered relays 2022-08-14 20:58:30 +01:00
Mark Veidemanis b62200d410 Implement API call to register 2022-08-14 16:26:09 +01:00
Mark Veidemanis 02739abaf4 Allow current nick substitution in IRC commands 2022-08-14 15:53:18 +01:00
Mark Veidemanis 559e1f4afd Print identification message 2022-08-14 13:51:13 +01:00
Mark Veidemanis 060ee4f0d5 Implement manual authentication mode 2022-08-14 13:13:05 +01:00
Mark Veidemanis f7d390da32 Implement API for authentication management actions 2022-08-14 12:43:33 +01:00
Mark Veidemanis 0b20a05b19 More debugging for reg tests and getstr command 2022-08-14 11:41:29 +01:00
Mark Veidemanis a42c6be1b7 LBYL 2022-08-13 23:38:13 +01:00
Mark Veidemanis 9470f0d0d9 Implement updating registration via API 2022-08-13 20:36:51 +01:00
Mark Veidemanis e5a14b2c91 Reformat again 2022-07-21 13:40:09 +01:00
Mark Veidemanis f4c5323de1 Reformat project 2022-07-21 13:40:05 +01:00
Mark Veidemanis 6c7d0d5c45 Reformat and fix circular import 2022-07-21 13:40:03 +01:00
Mark Veidemanis 3229d9b806 Revert "Reformat project"
This reverts commit 64e3e1160aa76d191740342ab3edc68807f890fb.
2022-07-21 13:40:01 +01:00
Mark Veidemanis 760e43b59a Reformat project 2022-07-21 13:39:59 +01:00
Mark Veidemanis e4a6e0d3c2 Don't attempt to register if it is disabled 2022-07-21 13:39:56 +01:00
Mark Veidemanis 757b22c4a1 Extra error handling around emails 2022-07-21 13:39:52 +01:00
Mark Veidemanis 5c7d71dc99 Fix provisioning with emails 2022-07-21 13:39:46 +01:00
Mark Veidemanis ff1ee63900 Reformat code with pre-commit 2022-07-21 13:39:41 +01:00
Mark Veidemanis 45fa21fea3 Use substitutions in registration tests 2020-11-01 22:19:03 +00:00
Mark Veidemanis b652b11335 Fix registration cancellation bug in regproc 2020-10-31 23:58:03 +00:00
Mark Veidemanis d60d89dbf6 Improve authentication detection
Add a negative check in the event we are authenticated and registered,
but not confirmed, as this fools other checks.
2020-10-31 16:49:37 +00:00
Mark Veidemanis 388cd1e4b9 Error checking in testing for registration message 2020-10-31 00:13:09 +00:00
Mark Veidemanis 69fbe180f1 Implement authentication checking on connection 2020-10-28 22:50:12 +00:00
Mark Veidemanis 3acf182171 Fixes to auth detection and message parsing
* don't check authentication if the network doesn't need to
  register
* don't pass through muser for ZNC type messages
* avoid duplicate message for queries containing highlights
* make a copy of the cast for metadata analysis to avoid poisoning it
* set up callback for when the instance is authenticated, so we can
  request a LIST immediately if so desired
* separate out seeding functions to populate CHANLIMIT to ease future
  work involving other options, such as PREFIX
2020-06-07 17:26:53 +01:00
Mark Veidemanis 097f100ec5 Implement authentication detection
* pending command to see which instances have never authenticated
* authcheck command to see which instances are not currently
  authenticated
2020-05-31 21:52:56 +01:00
Mark Veidemanis 81b0450904 Function to select and merge IRC network defs 2020-05-31 13:23:09 +01:00
Mark Veidemanis a3cdb35e05 Implement registration and confirmation of nicks 2020-05-30 21:40:10 +01:00