summaryrefslogtreecommitdiffstats
path: root/main.py
Commit message (Collapse)AuthorAgeFilesLines
* correct logging parameternico2018-11-111-1/+1
| | | | * fix loglevel be set to the correct logging parameter
* code quality improvementsnico2018-11-091-6/+0
| | | | | | - remove unused variable * better iteration of xdata nodes - removed unnecessary else
* small error correctionnico2018-11-071-0/+0
| | | | | * +x to main.py + added catch for a None response as some xeps have addition tags some do not have
* small fixupnico2018-11-071-1/+1
| | | | | + added timestamp to logging output * finished up HandleError output
* * corrected CamelCasenico2018-11-071-1/+2
| | | | | * corrected logging.INFO to .info * small changes to HandleError class
* simplification and major reworknico2018-11-061-39/+79
| | | | | | | | | | | | | | | * updated gitignore file * partly reworked servercontact implementation * complete rework of uptime, version * part rework of xep requests + added more comments to xep requests + added opt_arg to version, xep and contact * complete rework of validate function * updated HandleError function * part rework of StaticStrings function + implemented data dictionary to hold all data in main bot + added message_ids * complete rework of queue building and deduplication
* * new uptime.py filenico2018-10-111-68/+22
| | | | | - removed asyncio from import * fixed bug with muc jid parser * outsorced validate and dedup to misc.py
* new async logicnico2018-10-101-25/+32
|
* small improvementsnico2018-10-061-12/+11
| | | | | | * leading 0 fix * validation function improvements * moved strings.py and misc files to /common/
* Squashed commit of the following:nico2018-10-031-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 91cf4b74105f69f16a80825581a0d2d34d15d155 Merge: 30ceaea 90b42ed Author: nico <nico.wellpott@uni-oldenburg.de> Date: Wed Oct 3 22:34:42 2018 +0200 Merge remote-tracking branch 'origin/xep' into xep commit 30ceaea56a77ed95deba30c4fe65e238ea5960ac Author: nico <nico.wellpott@uni-oldenburg.de> Date: Wed Oct 3 22:34:33 2018 +0200 Initial Version XEP query + added initial version of xep query class Init Implementation + added xep plugin to bot class * reworked validation function * updated .gitignore file + added xep plugin commit 90b42edb9b8e92eba3bb67030d5f919b1e71d0bc Author: nico <nico.wellpott@uni-oldenburg.de> Date: Wed Oct 3 22:34:21 2018 +0200 * reworked validation function * updated .gitignore file + added xep plugin commit 25c78807731417867840d6fe4abf598e64aded28 Author: nico <nico@magicbroccoli.de> Date: Wed Oct 3 10:54:02 2018 +0200 Init Implementation + added xep plugin to bot class commit fe711f44d40671d927e9b946fb66679b297272c8 Author: nico <nico@magicbroccoli.de> Date: Tue Oct 2 21:20:08 2018 +0200 Initial Version XEP query + added initial version of xep query class
* IndexError fixnico2018-10-021-0/+1
| | | * prevent IndexError when help is called
* refactorization (#1)nico2018-10-011-233/+183
| | | | | | | | | | | | | * changed all lineendings to lf * cleaned up main class * refactor bot * refactor bot functions * moved functions.py to classes dir * code comment changes * changed code comment style - removed unnecessary pass statement + added missing newline * simplified function and return statements
* XEP-0157 finally finishedmightyBroccoli2018-07-201-2/+7
| | | | * fixed XEP 0157 functionality * updated README.MD
* + added ability to join multiple roomsnico2018-07-201-1/+3
|
* + first release with basic functionalitynico2018-07-201-0/+226
+ added systemd service file + added README with instructions