Tristan Gosselin-Hane
6196d7e8b3
Embed attachment links into minecraft chat. (broken for now)
...
This is broken by design because the bridge's message masquerading
deletes the original image and this the link 404s by the time it is
posted in chat. I will need to figure out a workaround before merging
this.
6 years ago
Tristan Gosselin-Hane
8db6873f48
Upgrade to python 3.7 and upgrade deps
6 years ago
Tristan Gosselin-Hane
968c4b0dd3
Only force disconnect if we are connected
7 years ago
Tristan Gosselin-Hane
34b5ea94e6
Fixed minecraft uuid lookup method wrongly placing the short UUID into
...
the cache instead of the long uuid.
Closes #25
7 years ago
Tristan Gosselin-Hane
cdeb7f777d
Better logging of incoming and outgoing messages
7 years ago
Tristan Gosselin-Hane
319c0e911a
Actually useful debug output for minecraft exceptions
7 years ago
Tristan Gosselin-Hane
98227c0585
Merge branch 'feature/refactor-logging'
7 years ago
Tristan Gosselin-Hane
104dfbc94c
Refactored loggers to use proper names to aid debugging
7 years ago
Tristan Gosselin-Hane
0da2038b5b
Catch more discord forbidden exceptions
7 years ago
Tristan Gosselin-Hane
1d4eecfff8
Merge branch 'feature/clear-webhook-list-on-reconnect'
7 years ago
Tristan Gosselin-Hane
1b41821bde
Clear the list at the beginning of the reconnection
7 years ago
Tristan Gosselin-Hane
a7ce5bdb40
Clear the list of webhooks when the bot reconnects to discord
7 years ago
Tristan Gosselin-Hane
dd3452015a
Fixed a bug causing all connection events to be logged to ES on login
7 years ago
Tristan Gosselin-Hane
77883d963b
Merge branch 'feature/fix-elasticsearch-connection-sending'
7 years ago
Tristan Gosselin-Hane
ca9eea1b63
Fixed regression: always send elasticsearch post on connection
7 years ago
Tristan Gosselin-Hane
daaddd5a78
Merge branch 'feature/fix-elasticsearch-naming'
7 years ago
Tristan Gosselin-Hane
2c151541cb
Consistent naming for elasticsearch logging methods
7 years ago
Tristan Gosselin-Hane
7963e68ffb
Merge branch 'temp-develop'
7 years ago
Tristan Gosselin-Hane
bb6e5bc8b8
Revert to pyCraft master and update deps
7 years ago
Tristan Gosselin-Hane
8b0a7ecf35
Merge branch 'feature/dont-accept-join-events-on-first-login' into temp-develop
7 years ago
Tristan Gosselin-Hane
099d970302
Don't accept join events until the bot's join even on 1st login
7 years ago
Tristan Gosselin-Hane
2254879d56
Merge branch 'feature/better-player-count-on-reconnect' into temp-develop
7 years ago
Tristan Gosselin-Hane
5b81b32687
Fixed a few bugs relating to elasticsearch player count
...
* Log the bot's connection
* Ignore duplicate bot connection packets
* Simulate decrementing player count for missed disconnect events
7 years ago
Tristan Gosselin-Hane
510a7d47c0
Merge branch 'feature/improve-player-list' into temp-develop
7 years ago
Tristan Gosselin-Hane
b8b54f007f
Greatly improved bot reconnection handling
...
* No more time-based hacks
* End of tab-list back-fill is detected by getting the bot's own
tab-list add packet
* Users that have disconnected since the bot's disconnected now get
their disconnection event logged to elasticsearch once the bot is able
to reconnect to the server
7 years ago
Tristan Gosselin-Hane
54dd3f3747
Merge branch 'feature/escape-some-discord-markdown' into temp-develop
7 years ago
Tristan Gosselin-Hane
4f152bae14
Merge branch 'feature/experimental-pycraft-tablist' into temp-develop
7 years ago
Tristan Gosselin-Hane
8049701c43
Only alter tab list content when formatting a message to send
7 years ago
Tristan Gosselin-Hane
ab7e09e045
Escape some markdown characters in messages sent from the discord side
7 years ago
Tristan Gosselin-Hane
debf2d9ff9
Strip out bold italics and escape char in discord messages
7 years ago
Tristan Gosselin-Hane
b7eaf81ac3
Merge branch 'feature/add-readme'
7 years ago
Tristan Gosselin-Hane
9260b12982
Add more documentation in the README
7 years ago
Tristan Gosselin-Hane
49615070e2
Add initial README documentation
...
* A lot more docs to come...
7 years ago
Tristan Gosselin-Hane
f050efeb63
Always restart the bot and remove accidental line
7 years ago
Tristan Gosselin-Hane
51cad28ab3
Add tablist header and footer to mc!tab command
...
* Waiting for upstream support from pyCraft so this uses my fork
7 years ago
Tristan Gosselin-Hane
d31913134a
Properly masquerade chat messages sent via the bridge to elasticsearch
...
Conserve the original nested message in the unformatted chat field
7 years ago
Tristan Gosselin-Hane
f24d730294
Add optional analytics logging to elasticsearch
7 years ago
Tristan Gosselin-Hane
05baa28a8c
Don't spam the discord side with join messages while the tab list is
...
being backfilled
Fix player list bug
7 years ago
Tristan Gosselin-Hane
1f4ae6e31a
License under Apache-2.0
7 years ago
Tristan Gosselin-Hane
31c36b4d71
Added half-done tab list implementation
7 years ago
Tristan Gosselin-Hane
fdabf8c00e
Formatted all files
7 years ago
Tristan Gosselin-Hane
d8b152576c
Fixed mojang uuid lookup array index
7 years ago
Tristan Gosselin-Hane
21e2420eaf
Add basic rate-limiting to combat spam
7 years ago
Tristan Gosselin-Hane
452e9c89bb
Clean up database sessions properly
7 years ago
Tristan Gosselin-Hane
e90ae8c45f
Better handling of email usernames
7 years ago
Tristan Gosselin-Hane
7e346180ab
Remove unneded config line
7 years ago
Tristan Gosselin-Hane
2ca84c7fe8
Automatically provision webhooks
...
Closes #5
7 years ago
Tristan Gosselin-Hane
102a2afa4f
Cleanup unused imports
7 years ago
Tristan Gosselin-Hane
894dd7885b
PEP-8 Again!
7 years ago
Tristan Gosselin-Hane
535cbfd215
Fixed the padding for chat message cutoff
7 years ago