Commit graph

33 commits

Author SHA1 Message Date
Jonny Rimkus
4458a18258 fix bot for latest slixmpp changes 2022-01-16 14:47:50 +01:00
nico
9c3f6761e5
Hotfix NoneType len exeption
* fix NoneType not having a len exeption
2018-11-11 23:40:57 +01:00
nico
a4ab459c05
NoneType isdigit Hotfix
* fix AttributeError if isdigit is called on a NoneType object
2018-11-11 04:00:16 +01:00
nico
56e7e6861f Merge remote-tracking branch 'origin/master' 2018-11-11 03:48:01 +01:00
nico
ce1af725d7
Merge pull request #7 from mightyBroccoli/dev
# added
+ added more comments to xep requests
+ added opt_arg to version, xep and contact
+ implemented data dictionary to hold all data in main bot
+ added message_ids

# changed
* updated gitignore file
* partly reworked servercontact implementation
* complete rework of uptime, version
* part rework of xep requests
* complete rework of validate function
* updated HandleError function
* part rework of StaticStrings function
* complete rework of queue building and deduplication
2018-11-11 03:43:27 +01:00
nico
69951bba37 Merge branch 'dev'
+ added more comments to xep requests
+ added opt_arg to version, xep and contact
+ implemented data dictionary to hold all data in main bot
+ added message_ids

* updated gitignore file
* partly reworked servercontact implementation
* complete rework of uptime, version
* part rework of xep requests
* complete rework of validate function
* updated HandleError function
* part rework of StaticStrings function
* complete rework of queue building and deduplication
* logging parameter fix
2018-11-11 03:13:33 +01:00
nico
1b13bdfd92
correct logging parameter
* fix loglevel be set to the correct logging parameter
2018-11-11 03:09:57 +01:00
nico
b6b84108ed quality of life improvement to servercontact
+ added opt_arg abbreviation
2018-11-09 20:52:31 +01:00
nico
86d058237b elif amount reduction
* reduced amount of unnecessary elif after return
* some formatting
2018-11-09 19:56:09 +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
146a4efc7f
small fixup
+ added timestamp to logging output
* finished up HandleError output
2018-11-07 00:49:32 +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
31ddc8aeb4 new async logic 2018-10-10 01:34:56 +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
c6a549669a
Merge pull request #5 from mightyBroccoli/dev
readme + usability improvements
2018-10-04 00:49:01 +02:00
nico
6bb9f1d5b8 readme + usability improvements
+ added requirements.txt
* updated readme
2018-10-04 00:46:57 +02:00
nico
1987753e3f
Merge pull request #4 from mightyBroccoli/dev
+ added !xep feature
2018-10-03 23:40:12 +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
67f9eb9ed3
Merge pull request #3 from mightyBroccoli/dev
Licence stuff
2018-10-02 01:47:39 +02:00
nico
bfef4f1025 Licence stuff
+ added Licence
* updated Readme
2018-10-02 01:44:53 +02:00
nico
918d270eeb
Merge pull request #2 from mightyBroccoli/dev
IndexError fix
2018-10-02 00:33:03 +02:00
nico
83e5b1f0aa IndexError fix
* prevent IndexError when help is called
2018-10-02 00:31:43 +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
mightyBroccoli
b9a2e5adcd XEP-0157 finally finished
* fixed XEP 0157 functionality
* updated README.MD
2018-07-20 23:17:43 +02:00
nico
abbbb88191 + added ability to join multiple rooms 2018-07-20 18:05:41 +02:00
nico
c3596c3b84 + first release with basic functionality
+ added systemd service file
+ added README with instructions
2018-07-20 16:12:53 +02:00
nico
faf2c428bf initial commit
+ added .gitignore file
+ added basic README file
2018-06-21 23:15:44 +02:00