Frank Becker
46fce1c3d6
check environment variables. handle invalid access token
2020-02-06 23:21:55 +01:00
Frank Becker
ca462c8ee3
implement proper shutdown. only show the last 16 digits of access token. handle login error
2020-02-06 23:19:38 +01:00
Frank Becker
299548b41f
minor cleanup and a fix for the type mapping of matrix_message parameters
2020-02-06 21:59:29 +01:00
Frank Becker
93f8c65d0c
extract BotModule class
2020-02-06 21:58:40 +01:00
Ville Ranki
80f125683f
Merge pull request #32 from tswfi/url_get_settings
...
add setting methods for url module, fixes #31
2020-01-29 20:07:47 +02:00
Tatu Wikman
b2641068ed
add setting methods for url module, fixes #31
2020-01-29 12:34:22 +02:00
Ville Ranki
760100bf51
Merge pull request #30 from tswfi/url_use_BeautifulSoup_for_parsing
...
Use Beautiful Soup for content parsing
2020-01-29 11:49:10 +02:00
Tatu Wikman
3df9c52512
Use Beautiful Soup for content parsing
...
This will help with pages that have broken html..
closes #29
2020-01-29 11:43:23 +02:00
Ville Ranki
1e97742e13
Various fixes, added bot leave command, handle left rooms in polling modules.
2020-01-26 19:20:03 +02:00
Ville Ranki
5b81671691
Added NOTAM module. Fixes #22
2020-01-26 18:17:07 +02:00
Ville Ranki
81af6599cd
Rename room variable due to name collision
2020-01-21 00:17:15 +02:00
Ville Ranki
d2a505257d
Merge branch 'master' of github.com:vranki/hemppa
2020-01-20 23:54:15 +02:00
Ville Ranki
80c1bc3f95
Fixed slow polling service issue, some minor tuning. Fixes #16 .
2020-01-20 23:54:10 +02:00
Ville Ranki
c6adf105f5
Merge pull request #15 from tswfi/url_title_spam
...
New url module
2020-01-20 23:34:39 +02:00
Tatu Wikman
5dffd2db50
Remove old todo comment
2020-01-20 23:32:26 +02:00
Tatu Wikman
ab9265bd4d
Fix readme
...
fix a typo with the old module name and add information about the default setting for a room.
2020-01-20 23:31:35 +02:00
Ville Ranki
9665b60da3
Merge pull request #17 from ptman/patch-1
...
Slimmer docker image
2020-01-20 22:27:19 +02:00
Paul Tötterman
82ac63f7a7
Slimmer docker image
...
Also, have you considered python:3-slim or python:3-alpine?
2020-01-15 14:10:04 +02:00
Tatu Wikman
9113aa19e5
blackened
2020-01-11 02:01:41 +02:00
Tatu Wikman
a2f4d7c999
renamed to url
...
Added different on off statuses
* title, spams titles
* description, spams descriptions
* both, spams both
* off, dont spam
And a bit of refactoring
2020-01-11 01:59:07 +02:00
Tatu Wikman
f3d42aa1ed
New module, url titles
...
If activated in a room this will spit out the titles of urls mentioned in the room.
2020-01-11 00:11:35 +02:00
Ville Ranki
0723dea55e
fix twitter account setting and catch exceptions
2020-01-10 22:19:49 +02:00
Ville Ranki
a37938fbff
Added twitter, refactored polling services to own class. Fixed \!bot reload losing settings.
2020-01-10 21:59:59 +02:00
Ville Ranki
69ae607c2a
Deleted uptime (moved functionality to bot), added stats and reload commands to bot module.
2020-01-06 00:33:42 +02:00
Ville Ranki
4f40c50c62
More timedelta fixes
2020-01-05 22:12:35 +02:00
Ville Ranki
9aa17e389e
Fix datetime calling
2020-01-05 21:52:39 +02:00
Ville Ranki
6cf40488d4
Added initial bot module for bot mgmt commands.
2020-01-05 00:28:57 +02:00
Ville Ranki
7ac37e1831
Moved exception handling to poll_account, fix #10 really?
2020-01-05 00:03:37 +02:00
Ville Ranki
d8d38415d1
ig: survive exceptions by ig library - fixes #10 . loc: allow multi-word search strings
2020-01-04 23:28:07 +02:00
Ville Ranki
325e1e623c
Merge pull request #12 from tswfi/pylint
...
lint evertyhing
2020-01-04 23:08:50 +02:00
Tatu Wikman
6b8e6bfbcd
and flake8 conf (mainly long lines)
2020-01-02 14:27:48 +02:00
Tatu Wikman
2b51544f07
flake8 passes
2020-01-02 14:27:29 +02:00
Tatu Wikman
2033ced123
flake, autopep etc
2020-01-02 13:20:06 +02:00
Tatu Wikman
5d8f02513f
ignore pipfile.lock, although this should probably be added...
2020-01-02 13:19:35 +02:00
Tatu Wikman
a7b15c6a1e
ignore vscode
2020-01-02 13:18:35 +02:00
Ville Ranki
1e96623408
Merge pull request #11 from tswfi/GoogleCal/NothingToday
...
Small googlecal changes
2020-01-02 12:23:50 +02:00
Tatu Wikman
b82dc4b720
Small googlecal changes
...
* if we did a add del or something else return after the operation is done
* always check if events list is empty and send a "no events" message if we got that far
2020-01-02 11:54:31 +02:00
Ville Ranki
e7a7595731
ig polling fixes - fixes #8
2019-12-30 23:52:29 +02:00
Ville Ranki
19057ec0c7
ig: added clear command, random intervals and other tuning.
2019-12-30 23:16:39 +02:00
Ville Ranki
13cd238a22
Consider owner admin always. Fixes #9
2019-12-30 22:40:55 +02:00
Ville Ranki
b6435f0c27
Include link in plaintext ig message. Fixes #7
2019-12-30 22:36:25 +02:00
Ville Ranki
a6a9334780
Ignore missing json and pickle
2019-12-30 22:34:16 +02:00
Ville Ranki
0822230eb9
Fix JOIN_ON_INVITE bug
2019-12-29 22:42:44 +02:00
Ville Ranki
f0aac718d8
Added support room link
2019-12-29 17:28:31 +02:00
Ville Ranki
73084a15f9
Changed join on invite logic and added debug print. Fixes #5 (hopefully).
2019-12-29 17:26:47 +02:00
Ville Ranki
f93069fc4b
Ignore no account data (just changed the message). Fixes #4
2019-12-29 17:22:23 +02:00
Ville Ranki
b2059e78a7
Copy with wildcard to ignore missing files - fixes #3
2019-12-29 17:17:52 +02:00
Ville Ranki
99089683af
Join invites by bot owners even if JOIN_ON_INVITE is False
2019-12-26 00:21:32 +02:00
Ville Ranki
687194a0ff
Added instagram module, some finetuning
2019-12-25 23:58:36 +02:00
Ville Ranki
4017a53e5b
Version 1.1: access control, commands can require admin or owner status.
2019-12-25 20:49:20 +02:00