Commit graph

  • d8466ecf6d Require authentication to use or potentially lose coins jesopo 2018-08-28 12:42:10 +0100
  • 2806a915bc Add !resetcoins in coins.py jesopo 2018-08-28 12:39:16 +0100
  • 3398398a11 Fix typo in database.user_settings.delete jesopo 2018-08-28 12:38:59 +0100
  • 20b90f955b Check if event objects should be purged after an event is called jesopo 2018-08-28 12:24:39 +0100
  • e5a5fa5c4b modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging to be an object on the server object instead of an event call jesopo 2018-08-28 12:23:57 +0100
  • ea9b6f32dc Prevent users sending coins to themselves jesopo 2018-08-25 20:09:44 +0100
  • da74357807 Use a zero-width joiner in Utils.prevent_highlight instead of zero width space jesopo 2018-08-20 11:03:01 +0100
  • 3bb54a4808 upate IRCUser.id when a user changes their nickname jesopo 2018-08-19 10:19:36 +0100
  • 1ae1206b8a .add -> .append typo in channel_save.py jesopo 2018-08-19 00:20:24 +0100
  • 9a3f2e5de6 Change the database to give channels and users ids and use those in the settings tables jesopo 2018-08-19 00:19:53 +0100
  • 88eb7b695f show uptime in 1w1d1h1m1s format jesopo 2018-08-18 21:54:12 +0100
  • 8386e45343 check if a table exists before making it instead of catching the sqlite exception jesopo 2018-08-18 21:53:50 +0100
  • 33b48f5ea3 .wrote -> .write typo in words.py jesopo 2018-08-18 18:29:06 +0100
  • 4da8a4ac39 Added code to preprocess check a command that only requires authentication, not a permission jesopo 2018-08-18 18:28:41 +0100
  • 054a98c0c8 Added !resetkarma in karma.py jesopo 2018-08-18 18:28:27 +0100
  • dacf74e2b1 Show spin colour, make sure there's bet amounts for all bets, fix street regex, show total winnings and support low/high for !roulette in coins.py jesopo 2018-08-18 18:26:47 +0100
  • ea9073d12f Add indexes to settings tables jesopo 2018-08-18 18:26:04 +0100
  • 84a793caf2 Support multiple bets in one go with !roulette in coins.py jesopo 2018-08-16 11:54:51 +0100
  • 8ef02fdbd8 Added streets and big/small to !roulette jesopo 2018-08-15 18:33:14 +0100
  • eb3155d3e0 implemented !roulette in coins.py jesopo 2018-08-15 17:55:05 +0100
  • bc6278f9df username -> lastfm_username jesopo 2018-08-15 10:34:58 +0100
  • 51cf5c56d4 save !to commands for the target user, not the user sending the command! jesopo 2018-08-13 18:19:17 +0100
  • 0f09184e48 Add setting to prevent sending a random quote on quit jesopo 2018-08-13 16:04:27 +0100
  • 63418dc0f3 Don't show actual lastfm name unless it was explicitly provided jesopo 2018-08-13 16:04:08 +0100
  • b369f5d6e8 Use regex match to avoid coin values less than 0.01 jesopo 2018-08-13 16:01:06 +0100
  • d89fcbfe46 Round up when checking zeroness jesopo 2018-08-10 14:00:33 +0100
  • 6709fa1878 Prevent highlighting users in !wordusers and !richest jesopo 2018-08-10 13:56:45 +0100
  • fed2d64739 don't permit 0-coin flips jesopo 2018-08-10 13:56:00 +0100
  • b24e37fed6 fixed filtering out bankrupt users from !richest jesopo 2018-08-10 12:59:06 +0100
  • 922ff5ac84 Fix "decimal" typo in !richest jesopo 2018-08-10 12:54:19 +0100
  • a385270cb9 Switch to using Decimal in coins.py, floats are weird! jesopo 2018-08-10 12:22:41 +0100
  • 155bf689ea Have 2 decimal places for coins! jesopo 2018-08-10 10:28:43 +0100
  • 8d50b702f3 A 10 second interval for interest rates is not good jesopo 2018-08-10 10:27:34 +0100
  • 760b46979d stderr not stdout, int() interest rates and actually redo interest rates every hour jesopo 2018-08-09 18:02:29 +0100
  • a114390cde Allow users to see other people's coins jesopo 2018-08-09 16:37:55 +0100
  • 1cc83a4a38 Fix more issues with referencing "server" in interest() in coins.py jesopo 2018-08-09 16:13:17 +0100
  • e477e8f04f "wins/loses %d coin(s)!" instead of "wins/loses %d!" jesopo 2018-08-09 16:10:22 +0100
  • e113ec23d9 Add help strings for stats.py jesopo 2018-08-09 15:16:35 +0100
  • 4502256263 Fix wrong method of referencing server in timer callback jesopo 2018-08-09 15:16:15 +0100
  • 67e030155d Added interest rates in coins.py, filter out 0 for !richest jesopo 2018-08-09 14:22:25 +0100
  • 213bf999b9 Changed find_all_by_setting to not return setting, added !richest jesopo 2018-08-09 13:49:44 +0100
  • 3e8f10dff5 More grammar jesopo 2018-08-09 13:35:31 +0100
  • f6058594f6 Round up redeem-delay time, allow users to send coins jesopo 2018-08-09 13:18:05 +0100
  • beb2b4a606 Only allow !redeemcoins when you have no coins jesopo 2018-08-09 12:34:12 +0100
  • 7c1fce17cd Remove print in coins.py, fixed grammar a little jesopo 2018-08-09 12:29:51 +0100
  • c1193774f0 Added coins.py jesopo 2018-08-09 12:24:09 +0100
  • ad53ba0631 Added Utils.to_pretty_time jesopo 2018-08-09 12:23:54 +0100
  • f7e4d08eb0 Switch to using monotonic time in Database.py timing jesopo 2018-08-09 10:38:13 +0100
  • e424e3b294 fixed typos in !channelget jesopo 2018-08-08 20:49:34 +0100
  • ee86848b62 Added !get and !channelget jesopo 2018-08-08 20:45:57 +0100
  • ecf63fa5d4 Added rotated log files to gitignore jesopo 2018-08-08 20:24:51 +0100
  • fda3d65d53 Added a setting to disable ctcp responses jesopo 2018-08-08 13:41:25 +0100
  • 2e9ce67586 Also track BitBot's words in words.py jesopo 2018-08-08 10:33:33 +0100
  • e6321abd55 Fixed another reference to the old database structure jesopo 2018-08-08 10:33:00 +0100
  • bb53f6f565 get highlight-spam-protection setting before highlight-spam-threshold jesopo 2018-08-06 14:27:49 +0100
  • 8aa0a59e01 Fix 2 typos from the database restructure jesopo 2018-08-06 14:10:14 +0100
  • ce05b98f61 Moved table-specific logic to their own "table" classes in Database.py jesopo 2018-08-05 22:41:38 +0100
  • 0ab7c11cb8 use TimeRotatingFileHandler in logging.py jesopo 2018-08-05 20:44:35 +0100
  • 400aaf43d0 also empty command stdout when there's no !more jesopo 2018-08-05 20:43:52 +0100
  • b128eb170b Grammar is important jesopo 2018-08-05 20:43:42 +0100
  • 6a7369f7de changed words.py to use new user_channel_settings table jesopo 2018-08-05 17:16:15 +0100
  • 7114bb7155 only get "sed" setting when a message that looks like a sed command comes in jesopo 2018-08-05 15:35:23 +0100
  • c2c60e309a Improve using correct nickname capitalisation in words.py jesopo 2018-08-05 13:14:40 +0100
  • 7698105761 When a user is online, use correct capitalisation in !wordusers jesopo 2018-08-05 13:12:07 +0100
  • 1af821123b only set autojoin when we've joined a channel not in our autojoin list jesopo 2018-08-05 12:57:19 +0100
  • 38a518f1fa Change to.py to use user_channel_settings in to.py and set priority to MEDIUM to avoid !to to one's self sending two messages jesopo 2018-08-05 12:53:02 +0100
  • 28debfa919 Add "user_channel_settings" table in Database.py, for settings per user per channel jesopo 2018-08-05 12:52:29 +0100
  • 6b1641c438 Put milliseconds in logging.py jesopo 2018-08-05 12:13:25 +0100
  • 06289171fa Actually add event hook for CRITICAL jesopo 2018-08-05 11:54:24 +0100
  • 4962b11199 Add CRITICAL log level to logging.py jesopo 2018-08-05 11:52:50 +0100
  • f143169cb5 only try to delete !to messages when there are any jesopo 2018-08-05 11:42:40 +0100
  • 558b368b1a Only get "fallback-encoding" setting when we need it jesopo 2018-08-05 11:42:25 +0100
  • 5e42608ead Improved logging, added TRACE logging in Database.py to see how it performs jesopo 2018-08-05 11:30:43 +0100
  • fbd6975351 Remove debug print, improve wikipedia.py jesopo 2018-08-04 12:48:38 +0100
  • 21c1db2965 nickname_ids was useless jesopo 2018-08-04 12:10:10 +0100
  • 92617895e4 "self.nick" event didn't get updated jesopo 2018-08-03 16:39:53 +0100
  • 65feaef283 Add help for !words jesopo 2018-08-03 16:25:27 +0100
  • 45dca53497 it's "#--ignore" not "#!--ignore" jesopo 2018-08-03 14:29:37 +0100
  • e2e395c352 Revamped words.py to track words per user per server so we're not writing a huge json string to sqlite every time someone says a tracked word jesopo 2018-08-03 13:44:50 +0100
  • ffd41d0771 Added addition "find" methods to Database.py, along with a "get all" for user settings to search without a nickname jesopo 2018-08-03 13:43:45 +0100
  • 7caf45e77e Grammer is important jesopo 2018-08-03 11:40:33 +0100
  • 84ea92fea8 get user permissions every time they try to use a command that requires permissions, instead of caching their permissions when they sign in jesopo 2018-08-02 23:00:42 +0100
  • 1c50a27564 Added missing ")" in print_activity.py jesopo 2018-07-31 08:48:37 +0100
  • b8145dd60d support optional data in upc.py jesopo 2018-07-25 13:43:13 +0100
  • f751d85824 add !gtin to upc.py jesopo 2018-07-25 13:06:31 +0100
  • a7a28adde7 Add upc.py jesopo 2018-07-25 13:05:37 +0100
  • 46e124a5db Included notices in print_activity, don't always print channel name jesopo 2018-07-23 10:20:00 +0100
  • 2ea2dd17da implemented handling notices in IRCLineHandler, including server notices jesopo 2018-07-22 21:46:22 +0100
  • ad68527688 remove debug print in books.py jesopo 2018-07-22 20:55:16 +0100
  • 8cf45c2432 rating, date and authors are optional in google's book apis jesopo 2018-07-22 20:53:44 +0100
  • e73d056b34 include quit reasons in print_activity if present jesopo 2018-07-20 13:12:55 +0100
  • 270bfe58ed Ban formats aren't bools jesopo 2018-07-20 13:12:41 +0100
  • 6213ba5f61 added a way to prevent bitbot accepting invites jesopo 2018-07-19 14:39:29 +0100
  • e99671aced Added a channel setting for banmask, added !unban jesopo 2018-07-19 14:39:10 +0100
  • d0ef4432b3 move sending CAP sasl request to sasl.py jesopo 2018-07-16 21:41:39 +0100
  • f24dc72bcb set default argparse config argument to bot.conf jesopo 2018-07-16 00:45:32 +0100
  • d385d73dab use PRIORITY_URGENT in perform.py jesopo 2018-07-16 00:41:08 +0100
  • e06d5f37f8 switch to using configparser for config files jesopo 2018-07-16 00:36:52 +0100
  • 2012a388da move sasl logic to it's own module jesopo 2018-07-15 23:56:06 +0100
  • 2b30ffc71b fix print_activity still using old EventManager priority location jesopo 2018-07-15 23:55:21 +0100