Commit Graph

184 Commits

Author SHA1 Message Date
rootcoma 0697e3c2af Converting to unicode for scrambling 2013-11-18 14:00:26 -08:00
rootcoma 65f415d980 pass sizeOfUnmasked to getMaskedVowels, lowercase before looking for vowels 2013-11-18 12:02:03 -08:00
rootcoma 4297e0c99f changing ircutils.toLower to str.lower on user answer, to match lowercasing done to answers 2013-11-18 11:48:10 -08:00
rootcoma e45f4d1d91 order of opperations on lowercasing after normalizing 2013-11-18 11:39:20 -08:00
rootcoma 0b30d2559e Unicoding hints 2013-11-18 11:26:13 -08:00
rootcoma c5dbf28ed6 Removing zero-width space hackery 2013-11-17 19:43:59 -08:00
rootcoma ec97151b5b minor change 2013-11-17 19:14:34 -08:00
rootcoma 85d712d2d8 Zero width spaceage 2013-11-17 19:11:22 -08:00
rootcoma 5c650dbd1b Adding spacing for .me "You should identify" message 2013-11-17 16:06:22 -08:00
rootcoma 4d9489bb96 Some formatting, string concat. 2013-11-17 15:59:22 -08:00
rootcoma 31fc6d72c0 Config groups, minor formatting 2013-11-16 23:31:22 -08:00
tannn e80f5ca880 Merge pull request #130 from rootcoma/fix_info
.info only shows active users from channel its called in
2013-11-16 17:54:14 -08:00
tannn 899db2a47a Merge pull request #131 from rootcoma/fix_transferpoints
Fixing .transferpoints, was broken after adding username_canonical
2013-11-16 17:53:37 -08:00
tannn 600506feda Merge pull request #132 from rootcoma/answer_spaces
Allow multiple spaces, and leading/trailing spaces in answers
2013-11-16 17:52:28 -08:00
rootcoma 8c61f7ca26 Break up questions into multiple <400 char messages 2013-11-16 10:26:13 -08:00
rootcoma 03a563adfb Allow multiple spaces, and leading/trailing spaces in answers 2013-11-16 10:06:17 -08:00
rootcoma 838eb08f54 Fixing .transferpoints, was broken after adding username_canonical 2013-11-16 09:54:31 -08:00
rootcoma 662920a9f4 .info only shows active users from channel its called in 2013-11-16 09:37:24 -08:00
rootcoma 3ac7fd5cd7 Fixing stopping from outside of channel 2013-11-15 22:14:03 -08:00
Tanner 403c97ed21 Update to reflect config.py changes
Minor changes: reword ping, remove some unnecessary spaces, etc.
2013-11-15 17:04:40 -06:00
Tanner 687a5e435b Fix #94
Changed accepttempquestion to acceptnew
Changed removetempquestion to delnew
Change showtempquestion to shownew
2013-11-15 16:39:44 -06:00
rootcoma 8cf25a0cc9 Adding extending paramter to .week,.day,.year,.month 2013-11-14 22:08:41 -08:00
rootcoma 98e90622f0 Fixing stats ordering 2013-11-14 20:14:07 -08:00
rootcoma b59098baa3 testing branches 2013-11-14 19:53:39 -08:00
tannn 0f1ba16c5c Fixing error
Commented out lines 73, removed tabs and changed & to and
2013-11-14 20:22:41 -06:00
tannn 7fd81e36e1 Merge pull request #105 from rootcoma/fix_stats_groupby
Fixing group by on .week and .year
2013-11-14 18:12:55 -08:00
rootcoma 25eb4ed2dd Fixing group by on .week and .year
When a user changes the case of their username it should group properly now when using .week and .year
2013-11-14 17:32:22 -08:00
Th0masR0ss 58b7ac04a0 Work more on the self-updating-database feature 2013-11-13 19:37:40 -05:00
Th0masR0ss 1b43f40dba Work more on the self-updating-database feature 2013-11-13 19:31:48 -05:00
Th0masR0ss dd2fb11d22 Fix indentation error with a return instead of commenting it out. 2013-11-13 18:27:59 -05:00
rootcoma b136272a15 Subtracting more points on questions answered quickly 2013-11-13 08:49:51 -08:00
rootcoma 592acf13ee Adding reported, questions added / accepted stats 2013-11-12 20:37:47 -08:00
Tanner 243475f446 Fix indentation error 2013-11-12 20:20:33 -06:00
Th0masR0ss fcf2fc8582 Sneakily add myself to contributors list, start to add updating databases, and fix everything I messed up on. 2013-11-12 20:38:49 -05:00
Th0masR0ss 2365c3019f Merge branch 'master' of https://github.com/tannn/TriviaTime
Conflicts:
	plugin.py
2013-11-12 20:34:17 -05:00
Th0masR0ss 8c8d604d6e Sneakily add myself to contributors list, start to add updating databases 2013-11-12 20:22:32 -05:00
tannn b2bf268912 Merge pull request #84 from rootcoma/other_hint
Making other hint like bogus
2013-11-12 14:04:06 -08:00
tannn eb7a65b2c0 Merge pull request #83 from rootcoma/track_longest_streak
Added columns to track longest streak
2013-11-12 14:03:44 -08:00
tannn 7e9e44e14a Merge pull request #82 from rootcoma/add_github_link
Addding version number and github link to .info
2013-11-12 14:02:59 -08:00
rootcoma 2f731594cc Making other hint like bogus 2013-11-12 11:02:40 -08:00
rootcoma 817ac83321 Minor fixes on canonicalization, removing print debug 2013-11-12 08:33:30 -08:00
rootcoma 812e3079d5 Added columns to track longest streak 2013-11-12 08:29:54 -08:00
rootcoma 81d4341a3a Addding version number and github link to .info 2013-11-12 08:15:20 -08:00
James Forcier 7e4b76db8e fix #80 2013-11-12 09:33:38 -05:00
tannn 9e2c490adf Merge pull request #75 from rootcoma/edit_command
Editing without a '*' just edits the question
2013-11-11 18:50:31 -08:00
tannn c84c84f011 Merge pull request #74 from rootcoma/report_from_msg
Adding channel argument to report for reporting from /msg
2013-11-11 18:50:22 -08:00
tannn 971c2c40f2 Merge pull request #73 from rootcoma/hints_vowel_fix
Fixed show whole word on hint in vowel mode
2013-11-11 18:49:56 -08:00
tannn da3ae6af5c Merge pull request #72 from rootcoma/moving_messages
Moving messages from config.py to inline inside of plugin.py
2013-11-11 18:49:31 -08:00
rootcoma 9386ed1421 Editing without a '*' just edits the question 2013-11-11 17:15:43 -08:00
rootcoma 0681071b14 Adding channel argument to report for reporting from /msg 2013-11-11 17:04:53 -08:00
rootcoma ec1e570993 Fixed show whole word on hint in vowel mode 2013-11-11 16:58:50 -08:00
rootcoma 6e185d1e82 Putting messages inline 2013-11-11 16:43:40 -08:00
rootcoma 83e698a9a3 Points depend on how many times question answered/missed 2013-11-11 15:01:20 -08:00
rootcoma 413cbd054d Reverting changes accidently made
Going to create pull request instead
2013-11-11 14:58:03 -08:00
rootcoma 3d073f2f21 Points depend on how many times question answered/missed
points += missed * 5 + answered * -5
2013-11-11 14:52:48 -08:00
rootcoma b47a2bce34 enhancing .me and recap 2013-11-10 14:13:27 -08:00
rootcoma b7fe6d2311 All accents are removed, never displayed 2013-11-09 10:46:15 -08:00
rootcoma 0da9669ff5 Adding folding of accent chars 2013-11-09 10:37:02 -08:00
rootcoma b2ccdedb1e Minor changes to masking 2013-11-09 10:05:48 -08:00
rootcoma 17b2a85bef Added 3rd hint is vowels option 2013-11-09 08:28:01 -08:00
rootcoma 728da655d6 changing showstats to stats, enhancing some docstrings 2013-11-08 18:21:58 -08:00
rootcoma 8b639cf98a removing 'repeat' without command prefix 2013-11-08 17:39:30 -08:00
Tanner 2d881e4c42 Added repeat docstring 2013-11-08 19:12:59 -06:00
Tanner 31e6ebeff8 Remove repeat from config; remove color 2013-11-08 19:09:27 -06:00
Tanner 2c23a5b2b3 Bug fix
Fix bug #59
2013-11-08 17:21:23 -06:00
rootcoma 1d36bc899f fixing ping 2013-11-08 14:02:40 -08:00
rootcoma cc5f713e9b fixing ping logic 2013-11-08 13:30:21 -08:00
rootcoma c1a1a4c939 Fixed reporting current round without regex 2013-11-08 10:40:33 -08:00
rootcoma e3c06b7a81 Points are separated by channel, cept on website (that is all channels combined) 2013-11-08 10:29:59 -08:00
rootcoma 3a426c21c7 Adding repeat command, making TriviaTime.games use lowercase channel name for list 2013-11-08 09:42:37 -08:00
rootcoma e4625aa983 Commenting out drop tables 2013-11-08 09:13:46 -08:00
rootcoma bf62a1938e Removed compulory lowercase of username and channel. Added colums to store lowercase instead, for comparisons 2013-11-08 09:10:50 -08:00
rootcoma 728875ff7f Adding indexes, slightly changing random question selecting queries 2013-11-08 07:30:31 -08:00
rootcoma ed8d997253 Rename .latency to .ping #50 2013-11-07 20:15:10 -08:00
rootcoma f17f22ab31 Fixing hints disapearing issue#40 2013-11-07 20:05:39 -08:00
Tanner fa85c41f33 Remove all color, fix bugs, add bold 2013-11-07 19:09:34 -06:00
Tanner d101e6fdb7 Fix bugs, remove all color 2013-11-07 18:57:10 -06:00
Tanner 41e4046214 Fix bug 2013-11-07 18:44:34 -06:00
Tanner dc901c7c83 Fix bug: lastWinner 2013-11-07 18:40:43 -06:00
Tanner d53b9b2e2c Add docstring 2013-11-07 18:31:27 -06:00
Tanner 585c4a7b20 Remove some colors; add bold
Increase skip timeout
2013-11-07 18:00:31 -06:00
tannn 8c73e5d33c Merge pull request #37 from rootcoma/master
str.lower to ircutils.lower
2013-11-07 15:46:52 -08:00
Tanner 1b7caf5585 Remove some colors; add bold 2013-11-07 17:45:38 -06:00
rootcoma 52236f5981 str.lower to ircutils.lower 2013-11-07 15:39:41 -08:00
rootcoma 85d6479016 fixing permissions on showtempquestion from human to triviamod+ 2013-11-07 10:30:51 -08:00
rootcoma 2191b39af1 Changed adding questions, humans have access to .addquestion, added .(accept/remove/show)tempquestion (triviamod+) and added new questions to report.php 2013-11-07 10:26:44 -08:00
rootcoma 5b54de5042 Adding repeat, cleaning/alphabetizing code 2013-11-07 09:33:32 -08:00
rootcoma b56ccdc1fa Adding capabilites check to admin/mod commands, Fixing .stop, Formating 2013-11-07 06:48:00 -08:00
rootcoma a74a137725 cleaning up code 2013-11-07 04:58:21 -08:00
rootcoma 6b93cc0ba8 Adding .transferpoints 2013-11-07 04:47:59 -08:00
rootcoma 0e97593f3b Adding active this week to .info 2013-11-06 22:48:30 -08:00
rootcoma d304d203cf Adding change to small hint fix 2013-11-06 20:55:55 -08:00
rootcoma 9cfe2f5927 small bugfix for hints, spaces shouldnt count as characters 2013-11-06 20:48:35 -08:00
rootcoma 31e3ad9a2e removing hard coded username from latency adding checks for notices 2013-11-06 20:28:00 -08:00
rootcoma 6af63c42c7 adding fixed latency command 2013-11-06 20:18:48 -08:00
rootcoma 85b2df3277 removing bad latency command 2013-11-06 19:27:34 -08:00
rootcoma af6d3057f8 adding .latency (ping) 2013-11-06 19:22:24 -08:00
rootcoma c037b7601a further tweaks to other hint 2013-11-06 15:33:09 -08:00
rootcoma 36ad7a4d3d changing how much other hint is showed 2013-11-06 15:28:21 -08:00
rootcoma 79a09e8f42 Updating show other hint to match bogus trivia, only one other hint per hint 2013-11-06 15:15:52 -08:00