Commit Graph

386 Commits

Author SHA1 Message Date
Ville Ranki 4228779748
Merge pull request #139 from xPMo/wa-oneline
!wa: Make short response all one line
2021-04-18 19:19:13 +03:00
gammafn 1c58f33c79 Make short response all one line
Fixes #138
2021-04-17 16:14:41 -05:00
Ville Ranki ef061deaa1 Store indices of flights, not just count to make sure all landed flights are notified. Fixes #136 2021-04-14 23:02:50 +03:00
Ville Ranki 2cf1f75ec9 Lie user-agent for google. Seems to fix Youtube titles. Thank Google for this nonsense! 2021-04-14 22:20:37 +03:00
Ville Ranki f6571b8f26
Merge pull request #133 from xPMo/powerlevel
Allow passing custom power level to admin check
2021-04-12 21:08:15 +03:00
Ville Ranki 2f34059d57
Merge pull request #134 from xPMo/pt-fix
Fall back to video['uuid'] if video['url'] doesn't exist
2021-04-12 21:07:00 +03:00
gammafn 669530a8c8 Fall back to video['uuid'] if video['url'] doesn't exist 2021-04-12 12:37:20 -05:00
Ville Ranki 5ee81f4f0f Fix peertube init when no config set 2021-04-11 23:11:07 +03:00
Ville Ranki eff9c4153c Added Peertube (pt) module 2021-04-11 23:01:23 +03:00
Ville Ranki 8b655663b5 Fix flog's live mode 2021-04-10 23:22:11 +03:00
Ville Ranki 166757674b flog module changed to use glidernet log api 2021-04-10 00:31:54 +03:00
Ville Ranki 35593de3b9 Url: support blacklisting certain urls (to work around youtube suckiness) 2021-04-08 20:47:49 +03:00
Ville Ranki 2bc62c7a37
Merge pull request #130 from xPMo/wa-fixes
Fix !wa module
2021-04-06 20:59:15 +03:00
gammafn 3fcce6c611 Add !wafull to readme 2021-04-06 12:54:19 -05:00
gammafn f0aa5530db docstring for parse_api_response 2021-04-06 12:54:09 -05:00
gammafn 0e69efcc11 Rewrite !wa to use html output 2021-04-06 12:39:38 -05:00
gammafn b6e10928f0 Rewrite wa:
- Work around upstream bug when result has only one pod
- Add !wafull alias to output all result
2021-04-05 13:45:15 -05:00
Ville Ranki dd95c7f0ad
Merge pull request #128 from xPMo/aliases
Allow a module to declare aliases
2021-03-30 23:17:51 +03:00
gammafn 6ce7e36b18 Add !alias commnd to user-alias modules 2021-03-30 11:53:06 -05:00
gammafn 874b24e081 Mention aliasing modules in the README 2021-03-30 11:49:42 -05:00
gammafn 87dd319385 Add add_module_aliases convenience function 2021-03-30 11:04:43 -05:00
gammafn 1efce55ff8 Add module aliases
A module can add an alias by simply defining

def matrix_start(self, bot):
    super().matrix_start(bot)
    bot.module_aliases['my_alias'] = self.name

No alias will override a module name
2021-03-29 22:16:58 -05:00
gammafn 9851a24886 Allow passing custom power level to admin check 2021-03-29 15:34:41 -05:00
Ville Ranki 6f6acfd681
Merge pull request #123 from vranki/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.3 to 5.4
2021-03-26 17:32:44 +02:00
dependabot[bot] 43b0513c2c
Bump pyyaml from 5.3 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.3...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 23:34:18 +00:00
Ville Ranki 4c2853dfc9
Merge pull request #122 from kwdi/welcome_server_fix
KeyError on module welcome_serverfix
2021-03-21 21:21:03 +02:00
Konstantinos 6913fe7576 KeyError on module welcome_serverfix 2021-02-28 07:47:36 +01:00
Ville Ranki a84db65d93 Refactored Github asset management code, changed to use domains and color-coded labels. See README for updated info. 2021-02-07 23:43:37 +02:00
Ville Ranki 090ccc3011 Added ghproj github project managerment module. 2021-02-04 21:34:05 +02:00
Ville Ranki 5846ba6bac
Merge pull request #118 from dylhack/no-module-spam
Revisioned Module Listing
2021-01-23 22:31:03 +02:00
Dylan Hackworth 6640fdeb70
Revisioned Module Listing
It's a little spammy
2021-01-23 14:16:21 -06:00
Ville Ranki 9d0d3086da
Merge pull request #116 from dylhack/master
Re-visioned Join on Invite Environment Variable
2021-01-23 22:10:58 +02:00
Ville Ranki 06a35f5a0b
Merge branch 'master' into master 2021-01-23 22:10:49 +02:00
Dylan Hackworth 7479a0cd29
Documented Changes 2021-01-23 14:08:41 -06:00
Dylan Hackworth a8cd7de81e
Documented changes 2021-01-23 14:07:34 -06:00
Ville Ranki c4ebafc1e9
Merge pull request #117 from dylhack/optional-empty-rooms
Added LEAVE_EMPTY_ROOMS env var
2021-01-23 22:00:33 +02:00
Dylan Hackworth 6722fd01a4
Added LEAVE_EMPTY_ROOMS env var 2021-01-23 13:41:24 -06:00
Dylan Hackworth a3692d2646
Merge branch 'join-on-invite-patch' into dylhack-master 2021-01-23 13:29:47 -06:00
Dylan Hackworth f27d0af90f
Revisioned Join on Invite env var 2021-01-23 13:23:48 -06:00
Ville Ranki dcc9049a89 Dont spam streaming, even in debug output 2020-12-20 21:42:42 +02:00
Ville Ranki e7b35d9c55 Moved image upload code to shared function in bot.py. Removed the original urls for less spam. 2020-12-20 21:42:18 +02:00
Ville Ranki e55af556ae Wolfram Alpha works again. Fixes #114. 2020-12-17 22:07:11 +02:00
Ville Ranki 9b6d8efaf7 Lie user agent to fix Youtube. Fixes #115. 2020-12-17 21:50:17 +02:00
Ville Ranki 19aaa1a546 Disabled a few modules by default, added docs and scripts for running locally. 2020-11-25 22:09:18 +02:00
Ville Ranki cfe303d654 Fixes 2020-11-24 23:02:47 +02:00
Ville Ranki b4441964ae Printing: Allow setting paper size. Documentation enhancements. 2020-11-24 23:02:39 +02:00
Ville Ranki 5876d8bc5b Added printing module 2020-11-23 00:20:09 +02:00
Ville Ranki 7fcd4fd5bf Bump base image version, add cups stuff 2020-11-23 00:19:43 +02:00
Ville Ranki 578ec4908e Log when all modules started or stopped 2020-11-23 00:19:23 +02:00
Ville Ranki ab04436e11
Merge pull request #111 from berlincount/missing_bs4
Re-add url dependency that went missing
2020-11-15 22:35:52 +02:00