Commit Graph

45 Commits

Author SHA1 Message Date
Mark Veidemanis d46c98a211
Reset negative pass status when requesting recheck 2022-08-14 23:58:35 +01:00
Mark Veidemanis 1ce5a8228c
Use JSON for sending messages 2022-08-14 16:45:40 +01:00
Mark Veidemanis f6f515b308
Implement API call to register 2022-08-14 16:26:09 +01:00
Mark Veidemanis 9864b4e2b5
Convert num to number in registration confirmation 2022-08-14 16:09:32 +01:00
Mark Veidemanis 8c809ad444
Fix variable shadowing 2022-08-14 15:43:48 +01:00
Mark Veidemanis b5e78bc4de
Implement manual authentication mode 2022-08-14 13:13:05 +01:00
Mark Veidemanis eba2c387f0
Implement API for authentication management actions 2022-08-14 12:43:33 +01:00
Mark Veidemanis 6cc07c9171
Add allRelaysActive output to network info 2022-08-14 10:58:28 +01:00
Mark Veidemanis 128e005611
Use JSON for joining channels and don't shadow auth variable when getting network info 2022-08-14 09:25:01 +01:00
Mark Veidemanis 713e03b66e
Make channel deletion endpoint accept JSON 2022-08-14 00:01:14 +01:00
Mark Veidemanis 15523bed96
Add more information to relay API return 2022-08-13 23:36:39 +01:00
Mark Veidemanis ab9b0a1c9f
Update CHANLIMIT on all instances when set via API 2022-08-13 22:36:52 +01:00
Mark Veidemanis 956d328fd3
Implement API endpoint to enable authentication 2022-08-13 22:25:29 +01:00
Mark Veidemanis c7fa508a38
Return chanlimit for each relay 2022-08-13 21:22:43 +01:00
Mark Veidemanis b83062c34f
Check token before attempting to confirm 2022-08-13 20:55:36 +01:00
Mark Veidemanis 2e57e0930a
Implement API endpoint for provisioning relays 2022-08-13 20:51:31 +01:00
Mark Veidemanis 291968fbc7
Implement updating registration via API 2022-08-13 20:36:51 +01:00
Mark Veidemanis 6c11bbe912
Return relay numbers with channel list 2022-08-13 13:47:42 +01:00
Mark Veidemanis 4d543f31ec
Add connected status to IRC info return and check when getting active relays 2022-08-13 13:40:33 +01:00
Mark Veidemanis 6c92e8e7d9
Reformat code 2022-08-13 13:32:22 +01:00
Mark Veidemanis 836e621063
Implement getting LIST information from API 2022-08-13 13:27:20 +01:00
Mark Veidemanis edfb3f15eb
Implement migrating networks 2022-08-12 23:32:00 +01:00
Mark Veidemanis 0b370fc155
Improve channel allocation and write basic tests for it 2022-08-12 22:27:49 +01:00
Mark Veidemanis b871fea039
Add endpoint to get the bot's nickname 2022-08-09 07:20:30 +01:00
Mark Veidemanis e69ce5090a
Properly implement querying with API 2022-08-09 07:20:30 +01:00
Mark Veidemanis 813c9baf30
Get our hostname from WHO when we create fake events 2022-08-09 07:20:30 +01:00
Mark Veidemanis 220ce976f2
Fire a fake event when we send a message 2022-08-09 07:20:30 +01:00
Mark Veidemanis c983a8e3b6
Allow gaps in relay numbering 2022-08-11 19:22:09 +01:00
Mark Veidemanis a3fe92bea9
Implement deleting networks 2022-08-02 09:01:34 +01:00
Mark Veidemanis 98dcb99f90
Implement adding networks 2022-08-01 23:02:20 +01:00
Mark Veidemanis aa68bfd9be
Implement requesting channel list for network 2022-08-01 21:38:46 +01:00
Mark Veidemanis f3f717e693
Remove debugging code 2022-08-01 21:31:48 +01:00
Mark Veidemanis 864f0904f5
Implement automatic provisioning 2022-08-01 19:34:35 +01:00
Mark Veidemanis b72d3d67a1
Implement updating aliases 2022-08-01 19:05:12 +01:00
Mark Veidemanis 96d189290b
Implement API endpoint to add next relay 2022-07-29 22:39:08 +01:00
Mark Veidemanis c950bcbd43
Implement deleeting relays and fix adding 2022-07-29 22:11:43 +01:00
Mark Veidemanis 1ca6d79868
Implement creating relays via the API 2022-07-29 17:27:40 +01:00
Mark Veidemanis 15583bdaab
Implement relay, channel and alias management 2022-07-27 22:03:42 +01:00
Mark Veidemanis 8050484b6f
Implement editing networks via the API 2022-07-27 08:59:17 +01:00
Mark Veidemanis 4f141b976a
Implement network and channels view 2022-07-26 22:16:35 +01:00
Mark Veidemanis c302cd25da
Implement API endpoint for network listing 2022-07-25 18:05:53 +01:00
Mark Veidemanis 8c9ec3ab9c
Implement getting number of channels and users 2022-07-21 13:40:18 +01:00
Mark Veidemanis a8d0a7d886
Implement more API functions 2022-07-21 13:40:17 +01:00
Mark Veidemanis 071d6f4579
Implement API 2022-07-21 13:40:13 +01:00
Mark Veidemanis 4a8605626a
Begin work on API endpoint 2022-07-21 13:40:11 +01:00