Commit graph

2588 commits

Author SHA1 Message Date
jesopo
45f47bc3fc Prevent users partaking in the lottery if doing so would put their coin total
below the coin redemption amount (coins.py)
2019-01-25 16:04:10 +00:00
jesopo
d75e2452ce Delete nickname_aliases.py as it's been disabled for a very long time due to
bugs
2019-01-25 13:21:44 +00:00
jesopo
335f1545a8 Give StdOut.send the new method param (commands.py) 2019-01-25 07:11:45 +00:00
jesopo
7b3d7f85a6 I totally forgot that we don't need flask. at all. 2019-01-24 19:17:31 +00:00
jesopo
1a24f17375 IRCServer.Server.irc_lower should have a return type hint of str 2019-01-24 17:15:02 +00:00
jesopo
3df6b39228 Typo, IRCServer.Server.irc_equal -> IRCServer.Server.irc_equals 2019-01-24 17:13:51 +00:00
jesopo
301dd7378a Add irc_lower() and irc_equals() to IRCServer.Server so that no where else
in the code has to know about the server having a casemapping
2019-01-24 17:12:50 +00:00
jesopo
5bfa0d2b50 'self._get_all_user_coins' -> 'self._get_user_coins', forgot to change this when
we moved back away from wallets (coins.py)
2019-01-24 11:27:57 +00:00
jesopo
8ba7cb0396 Move logging API key from INFO to DEBUG (rest_api.py) 2019-01-23 22:23:21 +00:00
jesopo
086629f2dc Logging shouldn't use % string formatting (rest_api.py) 2019-01-23 22:10:32 +00:00
jesopo
6fef7fd0c6 INFO log when we get a HTTP request with an API key (including the key's
comment) (rest_api.py)
2019-01-23 22:08:26 +00:00
jesopo
26603c23ac Also pass method to StdOut/StdErr Send() when a send.stdout or
`send.stderr` event is sent (commands.py)
2019-01-23 21:39:05 +00:00
jesopo
64cb723901 Move logic to get command-method out of Out object (commands.py) 2019-01-23 20:35:28 +00:00
jesopo
2c7c12e9e0 Typo, server.get_value -> server.get_setting (coins.py) 2019-01-23 11:26:01 +00:00
jesopo
756938a4c9 Use rpartition to either get the last part of a ref/head/branch ref or just
`branch` (github)
2019-01-23 08:56:36 +00:00
jesopo
fcbb530b9e Don't throw an exception when we get the kind of format of ref the create
event gives (only repo name, not `"refs/head/repo"`) (github)
2019-01-23 08:51:01 +00:00
jesopo
e45b72356c Disable coin interest by default (coins.py) 2019-01-23 08:47:14 +00:00
jesopo
96f6be087a Change another usage of coins when it should be all_coins (coins.py) 2019-01-23 08:23:09 +00:00
jesopo
c39f1e002f Fix coins name collision (coins.py) 2019-01-23 08:22:08 +00:00
jesopo
b456132318 Remove wallet and bank logic (coins.py) 2019-01-23 08:20:01 +00:00
jesopo
f4467ac0ed Log a WARN when we get a HTTPTimeoutException while we're trying to get a git.io
short url (github)
2019-01-22 22:06:25 +00:00
jesopo
8024e53a68 Don't show current event filters comma-separated as they're not comma separated
when we set them and that's a little confusing (github)
2019-01-22 20:52:57 +00:00
jesopo
815eea69bd Typo, had ")" closing an array instead of "]" (github) 2019-01-22 20:50:59 +00:00
jesopo
a27b567ae1 Support handling watch event (repo being stared - misleading event name i
know) (github)
2019-01-22 20:49:31 +00:00
jesopo
c69f4414a0 Handle a situation where a repo full name isn't provided and there isn't one set
as default (github)
2019-01-22 17:16:04 +00:00
jesopo
fc5671c7c5 We only need one '-' between tweet content and short url (tweets.py) 2019-01-21 19:36:25 +00:00
jesopo
0fd180a5c2 'EventResultError' -> 'EventsResultsError' typo (maybe this should actually be
named 'EventResultError') (youtube.py)
2019-01-21 19:32:37 +00:00
jesopo
65db982f1f Show a "failed to load results" error when a video_id search returns no results
(youtube.py)
2019-01-21 19:30:39 +00:00
jesopo
627b8b6d5a Typo in README.md, 'popular network' -> 'popular networks' 2019-01-21 17:38:17 +00:00
jesopo
50349ab8c8 pr-all also shows when there are new commits to a pull request (github) 2019-01-21 17:25:13 +00:00
jesopo
381e0ae336 Error log failure to get title of a url (title.py) 2019-01-21 14:39:20 +00:00
jesopo
8bf8097dd7 bus_stop isnt a Response object (tfl.py) 2019-01-21 10:46:23 +00:00
jesopo
3cefe87c5e Show default github web hook event categories in ghwebhook.md (github) 2019-01-20 20:08:46 +00:00
jesopo
c6545ca847 Use the correct namespace for HTTPTimeoutException (wolframalpha) 2019-01-20 19:05:50 +00:00
jesopo
65f9184a54 Gracefully handle a timeout (wolframalpha) 2019-01-20 19:04:32 +00:00
jesopo
491db4fea4 Typo, '9)' -> '()' (github) 2019-01-20 13:03:36 +00:00
jesopo
7a7400922e Add !ghwebhook list to ghwebhook.md 2019-01-20 13:02:19 +00:00
jesopo
be772cb730 Add a !ghwebhook subcommand to list all registered web hooks (github) 2019-01-20 13:01:31 +00:00
jesopo
88407b2055 Combine ## Running with ## Configurating in README.md 2019-01-19 17:08:18 +00:00
jesopo
3b263aab2c 'info' -> 'information' (README.md) 2019-01-19 15:58:02 +00:00
jesopo
43b50e37b3 Add section about github web hooks to README.md 2019-01-19 15:56:10 +00:00
jesopo
f9186d7334 typo, commit["pusher"] -> data["pusher"] (github) 2019-01-19 08:02:34 +00:00
jesopo
202991a268 use data["pusher"]["name"] as data["author"]["login"] doesn't exist (github) 2019-01-19 08:00:31 +00:00
jesopo
8c1b40e785 Clarify [hook] and add sections for branches subcommand (github) 2019-01-19 07:53:30 +00:00
jesopo
3835930bdb Allow users to specify what branches are shown for github webhooks (github) 2019-01-19 07:48:24 +00:00
jesopo
0f9592063e Show user login not user name (e.g. show username not display name) for
commits (github)
2019-01-19 07:23:35 +00:00
jesopo
baeff58539 Fix incorrect indentation level in Logging.py 2019-01-18 16:28:09 +00:00
jesopo
1753329aaf Show an error when a user specifies an unknown subcommand to !ghwebhook (github) 2019-01-18 14:21:53 +00:00
jesopo
3d2c11991e Clarify wording of what can be in the list of shown events (github) 2019-01-18 14:12:29 +00:00
jesopo
d2b572849c Correct markdown url (github) 2019-01-18 14:04:06 +00:00