nico
9c3f6761e5
Hotfix NoneType len exeption
...
* fix NoneType not having a len exeption
2018-11-11 23:40:57 +01:00
nico
b6b84108ed
quality of life improvement to servercontact
...
+ added opt_arg abbreviation
2018-11-09 20:52:31 +01:00
nico
cd1442e216
code quality improvements
...
- remove unused variable
* better iteration of xdata nodes
- removed unnecessary else
2018-11-09 19:42:21 +01:00
nico
d1b8090ee8
NoneType Bug fix
...
* fixed NoneType tag bug
2018-11-07 14:47:55 +01:00
nico
de56a9315c
small error correction
...
* +x to main.py
+ added catch for a None response as some xeps have addition tags some do not have
2018-11-07 01:14:45 +01:00
nico
d7fc664d3b
* corrected CamelCase
...
* corrected logging.INFO to .info
* small changes to HandleError class
2018-11-07 00:37:24 +01:00
nico
0c313565f2
simplification and major rework
...
* 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
2018-11-06 23:43:11 +01:00
nico
559ab280ca
* new uptime.py file
...
- removed asyncio from import
* fixed bug with muc jid parser
* outsorced validate and dedup to misc.py
2018-10-11 19:28:18 +02:00
nico
9d45271778
+ added etree implementation to grab contact addresses from bare xml
2018-10-10 17:43:01 +02:00
nico
d305f8adf3
small improvements
...
* leading 0 fix
* validation function improvements
* moved strings.py and misc files to /common/
2018-10-06 13:16:27 +02:00
nico
6c6c14b55f
* switched xml.etreeElementTree for defusexml
...
- removed unnecessary pass statement
2018-10-03 23:36:59 +02:00
nico
825167b8aa
Squashed commit of the following:
...
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
2018-10-03 23:24:36 +02:00
nico
294a728b0f
refactorization ( #1 )
...
* 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
2018-10-01 23:17:09 +02:00