Michael DM Dryden
b8cfa98638
README.rst: removed duplicate pypi shield
2020-06-16 04:00: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
934c9a3ef6
README.rst: added missing TOC entry
2020-06-09 13:03:57 -04:00
Michael DM Dryden
cf72935137
Add requirements.txt for GitHub to parse
2020-06-06 22:51: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
1fd965c5e2
Update README.rst to document types subcommand
2020-06-06 18:15:54 -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
Michael DM Dryden
72d4da3578
stats: add message type stats
2020-06-06 17:25:06 -04:00
Michael DM Dryden
65ba2421a4
Add CHANGELOG.rst
2020-06-06 17:23:52 -04:00
Michael DM Dryden
1fc7c067be
pyproject.toml: include examples when publishing
2020-06-06 01:24:51 -04:00
Michael DM Dryden
7b14d86f13
README.rst: Fix git install instructions
2020-06-06 01:15:23 -04:00
Michael DM Dryden
6a1f10e753
README.rst: Replace example images with .png
2020-06-06 01:06:29 -04:00
Michael DM Dryden
ae11a0a6b4
Bump version number
2020-06-06 00:46:54 -04:00
Michael DM Dryden
5e9395fc0f
Add README.rst
2020-06-06 00:45:03 -04:00
Michael DM Dryden
d51d4d7399
main: PEP-8 formatting
2020-06-06 00:37:11 -04:00
Michael DM Dryden
5292537c53
main: log when chat member can't be fetched
2020-06-05 02:45:19 -04:00
Michael DM Dryden
fe35413e36
stats: Set history line alpha to 1 if no averages being plotted
2020-06-05 02:43:30 -04:00
Michael DM Dryden
97ef0b27d8
stats: Set default averages for history proportionally to data points
2020-06-05 02:42:55 -04:00
Michael DM Dryden
3563de5abf
stats: Show a useful warning when not enough data for delta
2020-06-05 02:22:03 -04:00
Michael DM Dryden
2e574f8a07
stats: fix hours plots when time period under 24 hours
2020-06-05 02:17:26 -04:00
Michael DM Dryden
cfa6591408
stats: fix days plots when time period under 7 days
2020-06-05 02:16:59 -04:00
Michael DM Dryden
ce628725c8
stats: week now tolerates missing days' data
2020-06-05 01:47:41 -04:00
Michael DM Dryden
98d28ff132
main: handle adding new users into db properly
2020-06-04 03:41:07 -04:00
Michael DM Dryden
cb47282621
PostgresStore: Create database if missing
2020-06-04 03:37:11 -04:00
Michael DM Dryden
cd34634622
db: fix missing column in user_names
2020-06-04 03:37:11 -04:00
Michael DM Dryden
d7637209cf
parse: Add typing_extensions for Python 3.7 compatibility
2020-06-04 03:37:11 -04:00
Michael DM Dryden
4af4693058
main: Add /chatid command
2020-06-04 03:37:11 -04:00
Michael DM Dryden
a75081154b
main: test if bot privacy is enabled and warn
2020-06-04 03:37:06 -04:00
Michael DM Dryden
11c9769dbb
Add GPL notices and LICENSE file.
2020-06-04 03:33:56 -04:00
Michael DM Dryden
442ac46ff9
git: fix line endings and ignore pycache
2020-06-04 03:33:56 -04:00
Michael DM Dryden
c8c752b022
Switch to poetry for packaging.
2020-06-04 03:33:56 -04:00
Michael DM Dryden
00f9816ac8
Fix relative imports to allow running as module.
2020-06-04 03:33:56 -04:00
Michael DM Dryden
e31231d70d
stats: reformat file and fix some help messages
2020-06-04 03:33:56 -04:00
Michael DM Dryden
c63fb3d138
stats: add get_message_deltas method
2020-06-04 03:33:56 -04:00
Michael DM Dryden
d7d8e5b507
stats: add get_user_correlation method
2020-06-04 03:33:56 -04:00
Michael DM Dryden
2bd9de78d8
stats: make get_parser handle bool arguments properly
2020-06-04 03:33:56 -04:00
Michael DM Dryden
ec83a7a691
stats: Move markdown handling into stats methods and add escape_markdown
2020-06-04 03:33:56 -04:00
Michael DM Dryden
a0d98d6eb6
stats: Set argument defaults in method signatures
2020-06-04 03:33:56 -04:00
Michael DM Dryden
170a2dfed1
stats: Allow autouser arg in parser
2020-06-04 03:33:56 -04:00
Michael DM Dryden
6856b82a25
main: Extract send_help function
2020-06-04 03:33:56 -04:00
Michael DM Dryden
00f57ad1ca
main: Catch Unauthorized exception when trying to send help messages
2020-06-04 03:33:56 -04:00
Michael DM Dryden
93914e0228
stats: protect against SQL injection.
2020-06-04 03:33:56 -04:00
Michael DM Dryden
6789277b00
stats: Removed heatmap number labels
2020-06-04 03:33:56 -04:00
Michael DM Dryden
215ff84379
stats: Add tight bbox to figure output
2020-06-04 03:33:56 -04:00
Michael DM Dryden
07424c3f8a
stats: Add week by hour/day plot
2020-06-04 03:33:56 -04:00