Commit Graph

178 Commits

Author SHA1 Message Date
mb
378d4666fd 'LogBot/stylesheets/float.css' updaten 2021-04-17 15:25:53 +02:00
mb
d2353c9b69 'LogBot/stylesheets/float.css' updaten 2021-04-17 15:24:50 +02:00
mb
e3c785dc7d 'LogBot/stylesheets/float.css' updaten 2021-04-17 15:24:28 +02:00
mb
bc0b4d66f8 'LogBot/stylesheets/float.css' updaten 2021-04-17 15:20:01 +02:00
mb
48eb8d4182 updating print stylesheet logbot 2021-04-17 15:17:31 +02:00
mb
5ad4e3343a updating print stylesheet logbot 2021-04-17 15:15:51 +02:00
mb
03b01342e2 updating print stylesheet logbot 2021-04-17 15:13:52 +02:00
mb
d345943386 updating print stylesheet logbot 2021-04-17 15:12:31 +02:00
mb
aacd5d2023 adding print stylesheet to logbot's float css (testing a open tap print edition) 2021-04-17 15:08:37 +02:00
fbccd8e88a adding the timeline css 2021-03-17 11:05:38 +01:00
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
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
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