Brian Martin
edf5e8e3c0
add first_run
...
if certs aren't in folder, ask to create with create_certs.
2019-06-07 19:16:44 -04:00
Brian Martin
6c429b93e6
more grace
...
more graceful shutdown and error handling
2019-06-07 00:54:12 -04:00
Brian Martin
72f3b5d049
change execution
...
bumper.start/shutdown
- allow envionrment variables (prep for docker)
- move bumper.db to new "data" directory
start_bumper reworked
- use argparse
2019-06-06 22:46:40 -04:00
Brian Martin
bcafa83c65
update travis and appveyor configs
...
update travis and appveyor configs to run pytest instead of nosetests
2019-06-03 09:55:22 -04:00
Brian Martin
615c6011ed
add test_xmppserver.py
...
Add new test_xmppserver.py
- first connect test
2019-06-03 09:04:16 -04:00
Brian Martin
c3098e03e4
Format with black
...
Formatting code with black
- pipenv update
2019-05-30 06:55:15 -04:00
Brian Martin
2dd59a5b98
STARTTLS working
...
Addresses #35
Re-worked XMPP to use protocol and adds support for STARTTLS.
Re-worked start and added graceful close on Ctrl+C
2019-05-29 20:48:47 -04:00
Brian Martin
2460182f4f
Fix the things
...
XMPP is now async and works - Closes #27
Full async - Closes #22
Individual log files - Closes #21
2019-05-23 09:01:30 -04:00
Brian Martin
d238ded6c1
Better MQTT logging and asyncio debug on
...
Better MQTT logging and asyncio debug on
2019-05-18 08:35:08 -04:00
Brian Martin
d6816a02ec
Remove vars
...
Start removal
2019-05-12 15:31:52 -04:00
Brian Martin
2683421c34
Fix startup and create db path
...
Fix for listen args and create db path if it doesn't exist
2019-05-12 15:20:10 -04:00
Brian Martin
437417929e
WIP - Convert XMPP to Async
...
WIP - Convert XMPP to Async
2019-03-22 09:49:15 -04:00
Brian Martin
a296f038a7
rearrange start to use asyncio
...
Create an asyncio loop then start confservers, mqtt, and mqtthelper in loop.
TODO: Re-work xmpp for asyncio
2019-03-21 21:19:29 -04:00
Brian Martin
d5449961f3
Add --listen arg
...
A system with multiple nics had an issue with selecting the right IP to listen on.
Add --listen command-line arg.
Usage:
run_bumper.py --listen ip.address
2019-03-20 08:05:02 -04:00
Brian Martin
d9c5b5ee27
Update to xmpplogging
...
Move some connection related exceptions to debug log.
- Rename run_bumper to start_bumper and fix in README.
2019-03-19 08:58:56 -04:00