Commit Graph

164 Commits

Author SHA1 Message Date
359ac2f4ab the sorting order of the posts is fixed now, bit hacky in the jinja template 2021-03-12 22:14:34 +01:00
9922d20a5c removing fixed iframe width 2021-03-12 21:20:14 +01:00
3a0f5aa2ea renaming linear to timeline, updating README + @help text 2021-03-12 21:19:40 +01:00
5d09d6bda4 adding @style and @font support to logbot 2021-03-12 12:10:01 +01:00
61346f03d4 oops, wrong log path edited 2021-03-07 11:49:55 +01:00
555d37bc91 updating the feed.rss template, hardcoding the link 2021-03-07 11:46:41 +01:00
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
d6bee48b98 removing feedparser to the requirements 2021-03-07 11:07:49 +01:00
1f282fe7f5 adding feedparser to the requirements 2021-03-07 11:03:27 +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 #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