Commit Graph

62 Commits

Author SHA1 Message Date
bcfa57984b edited the rss.feed template 2021-03-07 11:41:37 +01:00
30df62d1d5 adding RSS support to logbot 2021-03-07 11:36:03 +01:00
e5d325041a adding more comments in the code for readability 2021-03-07 10:56:47 +01:00
61f5d546ec adding comments to the different sections of the code 2021-03-07 10:55:29 +01:00
52cab957cb saving a bit of whitespace 2021-03-07 10:53:45 +01:00
c72b211c98 adding self.db._dumps() also to the _add_to_db function, but not sure if this is needed 2021-03-07 10:52:33 +01:00
1c1f871f2a adding spaces to the f strings when {} appear 2021-03-07 10:51:43 +01:00
ccd695c462 adding descriptions to all the functions 2021-03-07 10:50:48 +01:00
57c2dbc881
Go back to using homebrew templating 2021-02-27 20:21:06 +01:00
cdb2ce8b04
Save the DB when writing to it 2021-02-27 20:15:28 +01:00
a7a948cb68
Don't need to specify keys 2021-02-27 20:15:17 +01:00
0a3ed438af
Try to fill out entire dictionary contents
Covers edge cases where the state is improperly setup.
2021-02-27 20:11:24 +01:00
d5cb732aaf
Also run setup for previously invited rooms 2021-02-27 20:07:14 +01:00
8e8b54e3e1
Rener using built-in template 2021-02-27 19:57:35 +01:00
0f3c2e758b
Use default template file 2021-02-27 19:57:24 +01:00
99cd4e5d6d
Remove old avatar 2021-02-27 19:56:07 +01:00
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 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
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