aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Create CONTRIBUTING.mdGravatar Gareth Coles2018-04-09-0/+41
| |
| * Sort out argument parsing (#41)Gravatar kingdom55002018-04-09-33/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sort out tag name literal eval * Fixed typo >.> * Validate all tag commands * Clean up validation * Add default embed colours * Sorted a docstring * Typehinted validate method * Explicitly return None * Squashed some parsing bugs * Cleaned up tag name ascii checking * Removed unused import >.> * More validation fixes * Uncommented permission decorators <.< * Tidied up a bit * Tidied up a bit
| * Bump safety from 1.8.0 to 1.8.1 (#45)Gravatar dependabot[bot]2018-04-09-3/+3
| | | | | | | | | | | | | | | | Bumps [safety](https://github.com/pyupio/safety) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/pyupio/safety/releases) - [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst) - [Commits](https://github.com/pyupio/safety/compare/1.8.0...1.8.1) Signed-off-by: dependabot[bot] <[email protected]>
| * Bump dulwich from 0.19.1 to 0.19.2 (#44)Gravatar dependabot[bot]2018-04-09-25/+5
| | | | | | | | | | Bumps [dulwich](https://www.dulwich.io/) from 0.19.1 to 0.19.2. Signed-off-by: dependabot[bot] <[email protected]>
| * Websockets pin didn't workGravatar Gareth Coles2018-04-06-1/+0
| |
| * Bump dulwich from 0.19.0 to 0.19.1 (#42)Gravatar dependabot[bot]2018-04-06-2/+2
| | | | | | | | | | Bumps [dulwich](https://www.dulwich.io/) from 0.19.0 to 0.19.1. Signed-off-by: dependabot[bot] <[email protected]>
| * Bump safety from 1.7.0 to 1.8.0 (#43)Gravatar dependabot[bot]2018-04-06-9/+29
| | | | | | | | | | | | | | | | Bumps [safety](https://github.com/pyupio/safety) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/pyupio/safety/releases) - [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst) - [Commits](https://github.com/pyupio/safety/compare/1.7.0...1.8.0) Signed-off-by: dependabot[bot] <[email protected]>
| * Attmpet fix for broken websockets libGravatar Gareth Coles2018-04-05-0/+1
| |
| * Improve tag validation (#40)Gravatar kingdom55002018-04-04-50/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sort out tag name literal eval * Fixed typo >.> * Validate all tag commands * Clean up validation * Add default embed colours * Sorted a docstring * Typehinted validate method * Explicitly return None
| * attempt force redeployGravatar Kogami Akira2018-04-04-0/+0
| |
* | Snowflakes should be sent to the site as stringsGravatar Gareth Coles2018-04-10-4/+4
|/
* Fix TravisGravatar Gareth Coles2018-03-30-1/+2
|
* Changes in-line with the siteGravatar Gareth Coles2018-03-30-3/+7
|
* Flake8Gravatar Gareth Coles2018-03-30-3/+1
|
* Push all roles of all usersGravatar Gareth Coles2018-03-30-46/+39
|
* Try to make flake8-bandit happyGravatar Gareth Coles2018-03-29-5/+5
|
* Bump flake8-bandit from 1.0.1 to 1.0.2 (#39)Gravatar dependabot[bot]2018-03-29-6/+6
| | | | | | | Bumps [flake8-bandit](https://github.com/tylerwince/flake8-bandit) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/tylerwince/flake8-bandit/releases) - [Commits](https://github.com/tylerwince/flake8-bandit/commits) Signed-off-by: dependabot[bot] <[email protected]>
* Change to "pycharm" style for import orderingGravatar Gareth Coles2018-03-27-12/+7
|
* Update tox.iniGravatar Gareth Coles2018-03-27-1/+3
|
* PipenvGravatar Gareth Coles2018-03-27-3/+495
|
* Shortened .travis.yml slightly (#37)Gravatar Sam Wedgwood2018-03-24-3/+1
|
* Update requirements-ci.txt (#36)Gravatar Sam Wedgwood2018-03-23-1/+0
| | | Removed snekchek as it's no longer used.
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-03-22-39/+66
|\
| * [ClickUp] Fix derp from earlierGravatar Gareth Coles2018-03-21-1/+1
| |
| * [ClickUp] Allow a hash at the start of a task IDGravatar Gareth Coles2018-03-21-0/+3
| |
| * [ClickUp] Fix errors when task text is too longGravatar Gareth Coles2018-03-21-1/+6
| |
| * PEP8, sorry :pensive:Gravatar JoeBanks132018-03-17-3/+3
| |
| * Prevent bots from triggering codeblock detectionGravatar JoeBanks132018-03-17-36/+37
| |
| * Fix help command issue (fetch 1st index)Gravatar JoeBanks132018-03-17-1/+1
| |
| * Added logging to formatter.py (#34)Gravatar Sam Wedgwood2018-03-17-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | * added logging to formatter.py * Removed unnecessary f string * Added some log.trace() * improved some log.trace() * Removed some stray fullstops
| * Fix the catastrophic backtracking caused by NixGravatar Leon Sandøy2018-03-16-1/+1
| |
* | Game param is now activity; bring back help messageGravatar Gareth Coles2018-03-22-1/+1
|/
* Update README.mdGravatar Leon Sandøy2018-03-15-1/+1
|
* Logging cogs (#32)Gravatar Leon Sandøy2018-03-14-176/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added logging to events and verification cogs * Added logging to the tags cog * Added logging to Fun, Logging, and Security cogs. * Added logging to Deployment cog. * Added logging to cog management cog * Added logging to clickup cog * Changed some logging levels across all cogs. Most of my log.infos should have been log.debugs. Thanks Joseph. * Added logging to the Bot cog. * Adding logging to the non-cog files. * Added the logging handler to Eval, but didn't add the actual Logging. I'll leave that to Martmist * A couple of minor bugfixes * Add "trace" logging level * Add logging for paginator * Add JSON logging for future datadog integration * Changed some loglevels to trace now that we have the trace method, and also fixed stuff pointed out by joseph in his review. * Completed testing for bot.py * Completed testing for clickup.py * Completed testing for cogs.py * Completed testing for deployment.py * Completed testing for fun.py * Finished logging for bot and tags.py, as well as __init__.py * Addressing all feedback in request for changes.
* Logging fixesGravatar Gareth Coles2018-03-10-3/+3
|
* Logging with papertrailGravatar Gareth Coles2018-03-10-0/+25
|
* Update bot.py (#31)Gravatar Jeremiah Boby2018-03-10-3/+3
| | | | | | * Update bot.py * Update bot.py
* Comment out on_message handler (#30)Gravatar Jeremiah Boby2018-03-10-31/+31
|
* quickfix for autocodeblocking listening to bot_commands channel (#29)Gravatar Henrik Böving2018-03-10-4/+5
| | | | | | | | * quickfix, autocodeblock should now listen to bot_commands too * blank removed * import order
* Fix typo in events.pyGravatar Gareth Coles2018-03-10-1/+1
|
* Aiohttp fixes (#27)Gravatar Gareth Coles2018-03-10-79/+71
| | | | | | | | | | * Attempt to fix issues with aiohttp spawning way too many threads * Add aiodns to requirements * Math doesn't work for me `Fatal Python error: failed to get random numbers to initialize Python`
* Commenting out the codeblocks detection code, it appears to be interfering ↵Gravatar Leon Sandøy2018-03-08-3/+5
| | | | with self.accept()
* Improving autocodeblocks (#23)Gravatar Henrik Böving2018-03-08-38/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adding better detection for misformatted python code, using the tags api instead of hardcoded hints and mentioning the user in the hint * use a seperate string instead of msg.content * Better comments and formatting Own function for codeblock stripping splitlines instead of split("\n"), because of readability re.search instead of re.match, because re.match is too strict if content.lower().startswith("python") instead of case sensitive checking, because of readabilty Reformatted hint * More readability Changed hint sentence More descriptive variables * Even more descriptive variable names Fixed small cooldown bug * forgot to save descriptive variable names * i dont believe this * typo at import * reworked getting the tag, not sure if it works * fixed old code * oversaw one * reworked the howto again better stripping * making the hint look better * get_tag_data returns a dict ==> change .description to ['tag_content'] * if the codeblcok tag isnt found do nothing * reformat of hint * removed not needed f * more changes to the hint * lemon lied about fstrings * order of arguments * formatting * logic error * more foooormatting and a debug note * linter... * still blank
* how do I keep forgetting the api. partGravatar Leon Sandøy2018-03-07-2/+2
|
* Actually let's do SITE_URL.Gravatar Leon Sandøy2018-03-07-4/+4
|
* Oops. Forgot a bit.Gravatar Leon Sandøy2018-03-07-1/+1
|
* environment variable created, setting API constants dynamic.Gravatar Leon Sandøy2018-03-07-5/+4
|
* Python syntax method calls (#24)Gravatar Leon Sandøy2018-03-07-16/+69
| | | | | | | | | | | | * Tested on Bot Staging, appears to work just fine. Probably needs more testing to be sure. * Added some documentation to the python syntax overrides, and fixed various bugs with the current implementation. They also support single quotes now. * Solved all single and double quote issues, most use cases should work now. Tested quite a bit, but could probably stand a little more testing. * forgot a local testing environment * Switched parse method from regex (what was I thinking) to ast.literal_eval
* breaking bug discovered, missing env var. Quick temporary fix.Gravatar Leon Sandøy2018-03-06-1/+2
|
* Added first / last buttons and max_lines to pagination (#25)Gravatar Runew0lf2018-03-06-137/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added first / last buttons and max_lines to pagination * Monkey patching methods instead of adding a whole class for pagination lines * Fixed linting errors * Refactored to subclass instead of monkey patching * updated clickup and tags to work with the new subclass * Included pagination.py * Fixed linter issues in pagination.py * Fixed out of scope in __init__.py. Changed pagination to remove an error that can sometimes be caused with pagination * Changed cogs.py to use the new LinePaginator.paginate * Changed line_size to max_lines * Changed readability of the conditions in even_check * Corrected bracketing mistake * Corrected flake8 issues