Tristan Gosselin-Hane
c801ced15c
Completely refactor the codebase and make everything object-oriented and pythonic
...
Ensure 100% compliance with the pylint and flake8 linters
6 years ago
Tristan Gosselin-Hane
3f9a938474
Refactor elasticsearch logger into class
6 years ago
Tristan Gosselin-Hane
27273edd57
Launch the bridge using the new module name
6 years ago
Tristan Gosselin-Hane
614e46a19d
Start crunching down on pylint warnings and errors
6 years ago
Tristan Gosselin-Hane
2c0ae52fe5
Make the project a valid python package
6 years ago
Tristan Gosselin-Hane
00f1c434a7
Better gitignore for python projects
6 years ago
Tristan Gosselin-Hane
a3ab3fd4c6
Remove unnecessary env variables in github workflow
6 years ago
Tristan Gosselin-Hane
49dd0f69c2
Fix typo in github action
6 years ago
Tristan Gosselin-Hane
0a2068eb8b
Merge branch 'feature/refactor-project-structure'
6 years ago
Tristan Gosselin-Hane
7d887bb5ed
Add some github actions CI
6 years ago
Tristan Gosselin-Hane
cb4951e428
Add some dev dependencies for testing to Pipfile
6 years ago
Tristan Gosselin-Hane
0f0f300ab4
Add setup.py
6 years ago
Tristan Gosselin-Hane
f4d6be681f
Formatting fixes
6 years ago
Tristan Gosselin-Hane
b2cf991f5b
Run flake8 with tox and pipenv
6 years ago
Tristan Gosselin-Hane
1e0ef1426f
Lint code with Flake8
...
(ignore line length issues for now)
6 years ago
Tristan Gosselin-Hane
8560604c29
Fix mc!stopchathere command being broken
...
Fix webhook deletion logic
6 years ago
Tristan Gosselin-Hane
4b34297695
Refactor project structure
6 years ago
Tristan Gosselin-Hane
661332250d
Update dependencies
...
Add flake8 in development for better linting
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