eleksir
2708d84d8a
Properly set loglevel if it omitted in config
2022-05-13 11:49:22 +03:00
eleksir
a9bb74b440
Perlcritic overhaul, apply to Teapot lib too
2022-02-12 17:50:23 +03:00
eleksir
3eceeaf028
Now it is aleesa-telegram
2022-01-28 21:01:32 +03:00
eleksir
3a061078d4
Move Archeologist and Fisher to separate module
2022-01-08 02:43:37 +03:00
eleksir
ca946c7e7b
Move web client and karma plugins to redis rails, remove unneeded data and perl modules
2022-01-06 04:13:38 +03:00
eleksir
c68f716cbb
Try to move most of static commands to redis rails
2022-01-01 02:00:43 +03:00
eleksir
e74a3e46c1
Use main:: namespace to preserve telegram and redis context
2021-12-19 13:54:28 +03:00
eleksir
7cac72d5b9
Fixes for cli
...
Use correct path for working dir
Fix path for Conf.om
Use pubsub object instead of redis connection
2021-12-11 15:55:14 +03:00
eleksir
f33e05a91c
Add test client for redis
2021-12-11 15:38:58 +03:00
eleksir
2134edd841
Implemented !proverb and !пословица commands
2021-08-11 16:54:21 +03:00
eleksir
f1ad32d5ae
Add migration scripts and doc.
...
When I move bot from perl-5.30.0 to perl-5.32.1 I encounter with BDB0091
DB_VERSION_MISMATCH error And it looks like I have to export essential
data on older perl to some portable format and then import it on newer
perl environment.
2021-07-05 16:56:01 +03:00
eleksir
eddbcc6277
Prep for gamestat implementation
...
* Move artifacts to separate files
+ Implement db seed with artifacts
+ Add gamedata_seed.pl script to seed artifacts to db
2021-07-02 16:03:20 +03:00
eleksir
096877bee2
Make logging use features of Log::Any and log as it should be done via this module. Cleanup sample config.
2021-05-04 18:45:30 +03:00
eleksir
36c79eb46c
Add BotLib changes to all remain scripts in bin dir
2021-05-01 01:29:02 +03:00
eleksir
0befdf6327
Set log verbosity of CHI::Driver to warn to avoid excessive logging flood
2021-04-25 01:50:01 +03:00
eleksir
fbab0a4d88
1-st run fixes after refactor
2021-04-24 16:12:30 +03:00
eleksir
8665a6ddda
Refactor some parts of bot
...
- Move most modules to subdirs
- Rename functions according perlcritic guidelines
- Fix and add some bugs
2021-04-22 17:36:50 +03:00
eleksir
c8a766881e
flickr.pm: Implement flickr.com searching api
2021-03-07 14:34:16 +03:00
eleksir
041ab3efeb
Fix fortune src filename check and another pack of style and natural language fixes
2021-02-09 00:57:08 +03:00
eleksir
a1d238949f
Refactor code
...
* move plugins out of botlib.pm
* use make_path instead of mkpath
* squash some bugs
* update .gitignore
* use more correct randomizer, rather than perl own rand()
* coding style fixes
2021-02-06 19:06:59 +03:00
eleksir
e861f5420b
Implement logging via Log::Any, cleanup, remove logger()
2020-12-13 16:23:16 +03:00
eleksir
ad37a349c1
Implement fortune commands set
...
+ !f, !ф, !fortune, !фортунка - show random phrase from fortune_mod db
+ !f 1, !ф 1, !fortune 1, !фортунка 1 - show fortune in chat at ~8 am
+ !f 0, !ф 0, !fortune 0, !фортунка 0 - do not show fortune in the morning
+ !f ?, !ф ?, !fortune ?, !фортунка ? - query morning fortune status
2020-11-22 15:17:34 +03:00
eleksir
e448225a7b
Implement !friday and !пятница commands
2020-11-21 15:47:53 +03:00
eleksir
295835c283
Add famous latin prases module
2020-10-22 13:49:45 +03:00
eleksir
9c629a8dbc
Use perlcritic to lint the code, make it happy
2020-10-19 18:01:47 +03:00
eleksir
1822054f03
Fix fool typo that prevents daemon from start
2020-09-21 02:09:21 +03:00
eleksir
d53ee53ad8
Use Cwd::utf8 to cope with returning string ut8-ness
...
* Use Cwd::utf8
* Sort cpanfile require, remove duplicates, add Cwd::utf8
* Add check on first call of abs_path()
2020-09-19 14:48:29 +03:00
eleksir
814a7ddb2b
Create pid file in workdir if run directly from unpriv. user
2020-09-11 11:20:21 +03:00
eleksir
7218c7d510
Require perl-5.18.0 to properly lc() and uc() unicode strings
2020-09-11 11:20:21 +03:00
eleksir
20bbfab333
Add help, debug log, fix pid file creation
...
+ Add help in group chat
+ Add debug log ability
* A bit of cleanup
* Check against start uid rather than effective uid when creating pid-file
2020-09-11 11:20:21 +03:00
eleksir
2bf710aeb7
Initial commit. Split bot from myapi as separate application.
2020-09-05 22:50:10 +03:00