Commit Graph

138 Commits

Author SHA1 Message Date
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 varia/bots#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
184b3fa099
Quote those 2021-02-03 10:55:42 +01:00
b1edd4bf19
Another run on the README 2021-02-03 10:47:54 +01:00
e7d31fb21b
Add notice 2021-02-03 10:38:07 +01:00
0282b7ed1e
Take another pass on the README 2021-02-03 10:35:10 +01:00
7a739b613e
Ignore those files 2021-02-03 10:01:49 +01:00
29fcdc7cc4
Upgrade xbotlib 2021-02-03 09:56:19 +01:00
92d4f9f3e7
Add the rest of the xbotlib bots 2021-02-03 09:55:26 +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
50d0353859 testing the hook 2021-02-01 11:16:17 +01:00
e0ff0ee72a syncing the help text with the readme file 2021-02-01 11:14:57 +01:00
a3670e70e6 testing the git hook 2021-02-01 10:12:17 +01:00
13ea90ed89 removing pkg-resources==0.0.0 from requirements 2021-02-01 10:10:17 +01:00
12d95030f5 adding a ?, to test the git hook 2021-02-01 10:08:17 +01:00
9795302f5a double xbotlib in requirements 2021-02-01 10:05:07 +01:00
mb
72e0154f54 Update 'requirements.txt' 2021-01-31 00:24:01 +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