Gordon Shumway
0614f1b568
make python3 compatible
2018-11-21 03:20:16 -05:00
jnmtx
cbce3403ed
hide your own edits when listing edits ( #325 )
...
* changed "listedits" to list edits only by other users. "listalledits" shows all edits (even your own) -- same as listedits used to do. "listmyedits" lists only your own edits. To test.
* fixed parameters out of order in new listedits, listmyedits commands
2016-11-01 17:20:05 -05:00
Tanner
c1ef27199f
Prepare for 1.3.2 update
2015-04-03 22:25:26 -05:00
Yizhe Shen
73693ecfcd
Removed negative point restriction for givepoints command.
2015-03-10 22:31:02 -04:00
Yizhe Shen
00b1c43842
List commands now return items in ascending order.
...
- Oldest items are now listed first for all list commands
2015-03-10 22:16:43 -04:00
Yizhe Shen
078fdb975a
Fixed mistake in Storage.userLevelExists().
2015-02-24 18:41:53 -05:00
Yizhe Shen
dae6405d14
Added some comments and more code clean up.
2015-02-23 03:30:51 -05:00
Yizhe Shen
417aadb9e0
Minor changes and code clean up.
...
- Added bonus points to the KAOS total awarded message
- Replaced list and dict reassignments with del and clear() where
appropriate in Game class
- Added some comments and adjusted spacing
2015-02-22 21:05:18 -05:00
Yizhe Shen
92aa35f578
More event handling improvements.
...
- Added fourth game state: pre-question
- Added logging (and graceful failure) of any attempts to schedule more
than one concurrent event
2015-02-19 21:03:33 -05:00
Tanner
ecc3f2ae37
Prepare for v1.3.1
2015-02-18 22:09:31 -06:00
Yizhe Shen
9baf7d142f
Added back initialization of bonusPointsText in Game.checkAnswer().
...
- Fixes UnboundLocalError when all KAOS answers are answered by one player
2015-02-18 20:23:47 -05:00
Yizhe Shen
81e1058aaa
Added potential fix for race issues.
...
- Replaced Game.questionOver with Game.state which stores one of three
game states: no-question, in-question, post-question
- Having three states instead of two should alleviate the race conditions
in issues #280 and #321 a little bit (not perfect)
- More code clean up
2015-02-18 08:06:21 -05:00
Yizhe Shen
52fd0ef0e7
Fixed syntax error in TriviaTime.skip().
2015-02-18 05:44:52 -05:00
Yizhe Shen
5a0881cd34
More code clean up.
...
- Removed resetting of Game.question permanently (not needed for
TriviaTime.repeat()
- Cleaned up code for TriviaTime.skip()
- Renamed Game.nextHint() to Game.showHint() and moved queueing of next
hint into Game.loopEvent()
2015-02-18 05:29:13 -05:00
Yizhe Shen
ce2f79b74b
More code clean up.
2015-02-18 02:49:03 -05:00
Yizhe Shen
242a6d3429
Fix for first part of issue #321 .
...
- Ensures that Game.lastWinner will always store the original from of a
user's nick/username
- Fixes the username check in TriviaTime.next() to ignore case
2015-02-17 22:43:37 -05:00
Yizhe Shen
15d787f2dc
Small changes and code cleanup.
...
- Added back reset of Game.question in Game.nextQuestion to ensure repeat
command works properly
2015-02-09 01:01:39 -05:00
Yizhe Shen
8f3e86a076
More code cleanup.
...
- Changed objects named 'OtherHint' to 'ExtraHint'
- Modified code for Game.getHintString()
2015-02-08 22:05:48 -05:00
Yizhe Shen
2da089aaf7
More code cleanup.
2015-02-08 22:04:09 -05:00
Yizhe Shen
286bce1650
More code cleanup.
...
- Added '()' to list of unmaskedChars
- Refactored Game.retrieveQuestion(), Game.nextQuestion(), and
Game.checkAnswer() for improved readability
2015-02-08 22:04:08 -05:00
Yizhe Shen
a354b36291
Fix for enableExtraHints config setting.
2015-02-08 21:52:18 -05:00
Tanner
98fe03adff
Adds option to enable/disable extra hints
2015-02-08 19:51:17 -06:00
Yizhe Shen
66553b242d
Shortened some config name and values. (Issue 318)
...
- Resolves issue of long config values getting broken up
2015-02-07 00:02:46 -05:00
Tanner
5124ba32b6
Removes time from info command
2015-02-06 22:55:00 -06:00
Yizhe Shen
b501fde095
Some more code cleanup.
2015-02-06 22:47:41 -05:00
Yizhe Shen
007de5cf93
Moved subclasses of TriviaTime to standalone classes.
2015-02-06 21:34:09 -05:00
Yizhe Shen
5ebe917689
Added dropLevelTable method in Storage. (Issue #91 )
2015-02-06 20:19:34 -05:00
Tanner
6d7cea743b
Preparations for next version
2015-02-02 21:38:39 -06:00
Yizhe Shen
718a9560a3
Changed time remaining messages to notices.
...
- Improved functionality of TriviaTime.reply() with ability to send
notices
- Affects time remaining messages for extra hint and skip commands
2015-01-31 01:54:36 -05:00
Yizhe Shen
fe100c52eb
Added a timeout list for extra hint command. (Issue #315 )
2015-01-31 01:54:04 -05:00
Tanner
8a90d9c406
Remove old command for remaining KAOS
2015-01-25 20:55:51 -06:00
Yizhe Shen
1297a9def0
Finished SQL statement clean up. (Issue #93 )
...
- Some small tweaks in SQL statement format
- Cleaned up SQL statements in Storage.getUserStat() and
Storage.getUserRank()
2015-01-24 23:00:00 -05:00
Yizhe Shen
823f6f7e14
More SQL clean-up. (Issue #93 )
...
- Cleaned up SQL delete update statements
- Some other small SQL tweaks
- Fixed errors in SQL statements for trivialevel table
2015-01-24 21:38:53 -05:00
Yizhe Shen
c0dd03eb9c
More SQL cleanup. (Issue #93 )
...
- Cleaned up SQL delete statements
2015-01-24 20:46:28 -05:00
Yizhe Shen
4e5d21e7a6
More SQL cleanup. (Issue #93 )
...
- Cleaned up SQL create statements
- Moved Storage.getVersion() to a more logical (alphabetical) location
2015-01-24 20:33:18 -05:00
Yizhe Shen
08c3a09ba2
Fixed typo, cleaned up insert statements. (Issue #93 )
...
- Cleaned up SQL insert statements
2015-01-24 20:12:55 -05:00
Tanner
956a64ed47
More psuedo code for levels (Issue #91 )
2015-01-19 17:20:05 -06:00
Yizhe Shen
05a58810a2
Fixed syntax error.
2015-01-18 01:46:39 -05:00
Yizhe Shen
5d5344b57b
Updates for trivialevel table in DB. (Issue #91 )
...
- Updated table definition for trivialevel
- Added methods for DB interaction with trivialevel table
2015-01-18 01:34:20 -05:00
Tanner
4555224034
Make levels a dict, pseudo code
2015-01-17 23:56:54 -06:00
Tanner
5c73598560
Fixes bolding for kaos
2015-01-17 23:17:15 -06:00
Tanner
290c895379
Added streak length info, bolding
2015-01-17 23:12:02 -06:00
Tanner
405152c4bd
syntax fixes
2015-01-17 22:45:27 -06:00
Tanner
f7ad2b67d1
Bug fix; db for levels; spacing
2015-01-17 22:39:11 -06:00
Tanner
4e5c2f2728
Preparation for levels; spacing
2015-01-17 22:25:19 -06:00
Tanner
81f1aad860
Removes spaces before and after sendMessage()
2015-01-16 23:46:10 -06:00
Tanner
4c92bd143d
Update readme, minor edits to breakstreak
2015-01-16 23:28:57 -06:00
Tanner
c737e50698
streakbreak works now :)
...
#262
2015-01-16 23:21:32 -06:00
Tanner
b4d8b4edf0
Bug fix #1 streakbreak
...
#262
2015-01-16 23:15:37 -06:00
Tanner
8759fb6782
Fixes to streakbreaker
...
Hopefully this works...
2015-01-16 20:36:56 -06:00