aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberdrpc.py
Commit message (Collapse)AuthorAgeFilesLines
* code cleanupnico2020-04-281-373/+0
| | | | | | | | * split up api and metrics class * revamped file nameming to better resemble their function * update prometheus and influx files * fixed version regex to not break on - in version string
* config handelingnico2020-04-081-10/+10
| | | | * add proper configuration handeling to the metrics class
* better session handelingnico2020-03-061-7/+14
| | | | | | * improved session handeling Due to the with statement in the session creation process, every requests to the api created a new session. This patch decreases the enormous TCP overhead, by creating a single global session to reuse.
* customizable muc hostnico2020-02-171-2/+3
| | | | + add optional argument to the EjabberdMetrics class to customize the default muc host sub-domain
* ejabberd 19.* fixnico2020-02-161-1/+1
| | | | * ejabberd 19 and above report muc count only on the muc host
* fetch_muc improvementsnico2020-02-041-2/+18
| | | | | + add parsed version string property * improve fetch_muc method to not request the status string for each request
* backend readability and performance improvementsnico2019-12-291-25/+36
| | | | | | | | | + add some typing * optimized imports to only import if necessary * change xmlrpc connection to with statement * change rest connection to with statement * replace format string to f-string * pep8 changes
* improve error handling + fix mucgenofire2019-12-071-1/+3
|
* improve configuration (with default values) - also for testing ejabberdrpc.pygenofire2019-12-071-3/+13
|
* add rest api support to ejabberdrpc.pygenofire2019-12-071-10/+28
|
* systemd compliancenico2019-12-071-1/+7
| | | | | | | | + add possibility to customize db name via config file + file path configurations are dealt with dynamically * at least Debian does not feature a group called nobody it is called nogroup I am not sure if other systems feature a group called nobody.
* final touchesnico2019-10-241-1/+5
| | | | | | | | | | | | # added + add method to escape whitespaces in keys and values # changed * init client handler only once and not every time * don't try to create database on every run just on the first one # removed - vhosts are listed first and after that the respective nodes are listed
* pep8 and gitignorenico2019-10-171-29/+31
| | | | | + add .gitignore * some pep8 changes
* client by (ipversion)Martin/Geno2019-10-171-28/+61
|
* s2s_in/out + mucMartin/Geno2019-10-171-3/+56
|
* first xml rpc apiMartin/Geno2019-10-171-0/+210