Michael DM Dryden
552f65dcf6
main: Fix call to bak_store when disabled
2023-11-17 01:06:20 -05:00
dinosaurtirex
75560be5dc
Merge pull request #28
...
* Fixed sqlalchemy exception
2023-11-17 00:55:57 -05:00
Michael D. M. Dryden
a89659ba7a
stats: increase minimum title plot height
2023-11-14 00:43:35 -05:00
Michael D. M. Dryden
d5135a5a9c
log_storage: Use sqlalchemy-utils to make new db
2023-11-13 23:15:49 -05:00
Michael D. M. Dryden
91c60ad871
Implement testing framework
2023-11-13 22:11:35 -05:00
Michael D. M. Dryden
fe98e08eb5
stats: Add more protection against bad options
2023-11-13 22:11:35 -05:00
Michael D. M. Dryden
f707e29f90
Update to psycopg 3.0
2023-11-13 22:11:35 -05:00
Michael D. M. Dryden
97af778748
db: separate SQL from db_init function
2023-11-13 22:11:35 -05:00
Michael D. M. Dryden
573359efc1
db: Fix incorrect user_events datatype
2023-11-13 22:11:35 -05:00
Michael D. M. Dryden
0ba771e73d
stats: Upgrade matplotlib and separate figure generation
2023-11-13 22:11:34 -05:00
Michael D. M. Dryden
bb1e61e247
stats: Fix broken date selection for word statistics
2023-11-13 13:16:12 -05:00
Michael DM Dryden
6aaa7ec9c9
Reply to edited messages
2023-11-05 23:59:48 -05:00
Michael DM Dryden
0e4a37072c
Upgraded python-telegram-bot to version 20
2023-11-05 23:19:47 -05:00
Michael DM Dryden
01136894ff
Make backup store optional.
2023-11-05 20:24:16 -05:00
Michael DM Dryden
750427a841
stats: Add ECDF plot for message counts by user
2023-01-14 03:25:17 -05:00
Michael DM Dryden
5fd5c4ee08
json_dump_parser: Try to map usernames to ids. Fixes #17
2023-01-08 01:05:38 -05:00
Michael DM Dryden
b8b8eff5bf
Add script to import data from desktop client json dumps. Implement #10 .
2022-12-19 04:00:58 -05:00
Michael DM Dryden
7d80fc8ed3
parse: Fix sticker set name.
2022-12-19 02:46:10 -05:00
Michael DM Dryden
a247701ab9
Stats: Use seconds resolution for title duration plot
2022-01-13 03:09:39 -05:00
Michael DM Dryden
93feb6c8f8
Stats: Titles plot considers time zone correctly for current time
2022-01-13 03:07:14 -05:00
Michael DM Dryden
bce746cc88
Fix database creation code for immutable SQLAlchemy 1.4 URLs
2022-01-13 02:46:33 -05:00
Michael D. M. Dryden
447172ef0e
revert dbcc41ff
since methods are not actually internal
2021-06-20 01:40:09 -04:00
Michael D. M. Dryden
271f21d11d
stats: added user statistics
2021-06-20 01:37:29 -04:00
Michael D. M. Dryden
d2f2f408b5
Added time zone support
2021-06-19 23:11:22 -04:00
Michael D. M. Dryden
4fa2b47f8d
stats: Use random dollarsign quoting to pass lquery
2021-06-11 21:45:19 -04:00
Michael D. M. Dryden
80d2c0848c
stats: Add lexeme frequency
2021-06-11 21:45:19 -04:00
Michael D. M. Dryden
39fb86c7e4
stats: Display error message if counts query empty
2021-06-08 00:06:06 -04:00
Michael D. M. Dryden
4fbdb8fdab
stats: Remove @ from random message to avoid pinging users
2021-06-07 23:56:34 -04:00
Michael D. M. Dryden
470907e23d
stats: Allow limiting counts by message type
2021-06-07 23:53:21 -04:00
Michael D. M. Dryden
c722d2c750
stats: zero-fill days without data for history
2021-06-07 23:41:31 -04:00
Michael D. M. Dryden
12eb2d7fec
Allow quotes in lquery parameters
2021-06-07 01:39:29 -04:00
Michael D. M. Dryden
7510569aa5
stats: add lexical query to most stats
2021-06-07 00:15:53 -04:00
Michael D. M. Dryden
eee136dbb8
stats: add lexical query to history
2021-06-06 23:45:16 -04:00
Michael D. M. Dryden
cf9b85a363
Documentation and cleanup
2021-06-06 23:02:06 -04:00
Michael D. M. Dryden
ab51722ebc
Add print version command
2021-06-06 23:01:47 -04:00
Michael D. M. Dryden
dbcc41ffac
stats: Add underscores to internal StatsRunner methods
2021-06-06 23:00:08 -04:00
Michael D. M. Dryden
536c4d6aa4
Update python-telegram-bot to 13.6, drop Python 3.7 support.
2021-06-06 21:51:20 -04:00
Michael DM Dryden
3ef8e7c6f3
Update requirements to address security vulnerability.
2020-12-31 18:34:47 -05:00
Michael DM Dryden
a97fb8a8bd
Bump version.
2020-10-06 23:51:40 -04:00
Michael DM Dryden
2ef820bfb6
stats.py: Allow sorting title history by duration
2020-10-06 23:47:40 -04:00
Michael DM Dryden
46035adba7
stats.py: Added command to print a random message.
2020-08-08 02:07:02 -04:00
Michael DM Dryden
70411cb4e0
utils.py: escape_markdown handles urls and all reserved characters
2020-08-08 02:04:22 -04:00
Michael DM Dryden
6f1da69872
Bump version
2020-06-16 03:53:46 -04:00
mkdryden
76481bcf37
Add title history plot ( #1 )
...
* stats.py: Add title history plot
* Add title history plot to documentation
* Update CHANGELOG.rst
* stats.py: titles: fix end timezone issue
Co-authored-by: Michael DM Dryden <mk.dryden@utoronto.ca>
2020-06-16 03:48:39 -04:00
Michael DM Dryden
ca62866e0e
stats: Set message count columns in types command to integers
2020-06-06 18:32:39 -04:00
Michael DM Dryden
0734ca9248
stats: Add total row to get_stats_type output
2020-06-06 18:14:16 -04:00
Michael DM Dryden
4815fd7d79
stats: Switch get_stats_type to use autouser
2020-06-06 18:13:58 -04:00
Michael DM Dryden
9f96c7c40c
stats: document get_stats_type
2020-06-06 18:12:58 -04:00
Michael DM Dryden
cbd6ae8a5b
Merge message_type
2020-06-06 17:33:39 -04:00
Michael DM Dryden
b5fc8b2f34
Add CHANGELOG to pyproject.toml and bump version number in __init__.py
2020-06-06 17:29:15 -04:00