Commit Graph

146 Commits

Author SHA1 Message Date
64fc790962
Fix syntax error 2021-02-27 11:57:19 +01:00
6a606ad3dd
Use f strings for logging 2021-02-27 11:56:35 +01:00
3426b1fbb9
Also don't send logger here 2021-02-27 11:50:54 +01:00
3605a215f3
Don't pass logger anymore 2021-02-27 11:50:05 +01:00
a407e3d483
Convert to string 2021-02-27 11:46:53 +01:00
d427d58ff1
Use slixmpp provided message access here 2021-02-27 11:43:12 +01:00
623f2c8bb5
Move functions under the class to unify self usage 2021-02-27 11:38:28 +01:00
d41e4b80bd
Extend room setup logic to invites also
Closes #4.
2021-02-27 11:30:44 +01:00
86c8495e88
Re-use types here too 2021-02-27 11:10:45 +01:00
a38515ab10
Make room_path local because not used elsewhere 2021-02-27 11:08:21 +01:00
f3854ded5b
List reason in response 2021-02-27 11:08:00 +01:00
ddf7f57ca5
Refactor media type detection and log when we miss it 2021-02-27 10:52:23 +01:00
f6c7520f42
Mark as regex string 2021-02-27 10:47:16 +01:00
8773810efc
Classes are normally capitalised 2021-02-27 10:46:40 +01:00
46ca1b1fb5
Not required to return here 2021-02-27 10:46:10 +01:00
36eed56661
Use built-in logger 2021-02-27 10:45:19 +01:00
9625c991c6
No need to close, the context manager does it 2021-02-27 10:41:47 +01:00
3054fbf368
Remove unused imports 2021-02-27 10:34:20 +01:00
b359d92021
Auto-formatter has something to say here 2021-02-27 10:33:45 +01:00
63365779e3 changing path to roomname (and not include the @muc.vvvvvvaria.org) 2021-02-17 17:18:32 +01:00
1638748a21 missing comma 2021-02-17 17:16:09 +01:00
ad1cb276b9 setting room_path back to self.output + message.room in download() and write_log() 2021-02-17 17:15:11 +01:00
7f3fd2c375 printing room_path info at setup 2021-02-17 17:09:36 +01:00
1ccae03d1c room_path is almost correct 2021-02-17 17:06:36 +01:00
0a29cd8fef pass self to the download function 2021-02-17 16:53:09 +01:00
22944ec0c8 changing output to self.room_path 2021-02-17 16:51:52 +01:00
17d71674ae output path is overwritten 2021-02-17 16:47:52 +01:00
6918715868 upgrading logbot to xbotlib 0.16 2021-02-17 16:42:19 +01:00
192dbbc2a7 updating the download path 2021-02-01 11:33:29 +01:00
1accd7d1c1 defining output_path for logs 2021-02-01 11:26:25 +01:00
20d9d16879 removing the trailing slash at the server path 2021-02-01 11:19:37 +01:00
3e26e76aa3 removing the requirements file from the LogBot folder, using the main one is more useful while working with supervisor on the server 2021-02-01 11:17:37 +01:00
e0ff0ee72a syncing the help text with the readme file 2021-02-01 11:14:57 +01:00
c612847048 added download function for media files + prepared logbot to run on the server 2021-01-30 23:15:36 +01:00
80f9ef4232 updating logbot to the latest version of xbotlib .... woosh 2021-01-30 17:36:59 +01:00
00805bc7e7 Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/bots 2021-01-22 10:21:51 +01:00
a4b6cc6ae8 deleting example from git 2021-01-22 10:21:46 +01:00
mb
6c0179d7dd taking out lastid and nextid: not needed anymore in readdb 2021-01-22 10:18:43 +01:00
dd9539746d adding requirements file 2021-01-22 10:17:06 +01:00
3bc9883742 small update 2021-01-22 00:31:35 +01:00
be742bd779 small update 2021-01-22 00:31:11 +01:00
6d65fae90a small update 2021-01-22 00:30:48 +01:00
mb
3a1b5f0619 Update 'LogBot/README.md' 2021-01-22 00:29:25 +01:00
mb
f03feb56db Update 'LogBot/README.md' 2021-01-22 00:29:01 +01:00
99b5558092 removing index.html 2021-01-22 00:20:41 +01:00
cf67f81bd1 following camelcase style :) 2021-01-22 00:17:37 +01:00