Commit Graph

3935 Commits

Author SHA1 Message Date
Chaz
0c46965d98 Finished up code for creating and updating SessionsCache. Table includes fields for sessionStart, sessionEnd, ring hands, tournament hands, ring totalProfit, and ring bigBets won during each session. bigBets field is a python float stored as a REAL in the database (I am open to alternative suggestions). Also, storeSessions is currently set to False. 2010-12-04 17:40:48 -05:00
Chaz
c2cda3bf87 Added sessionTimeout Import field to Configuration.py and the Hud_config files. Default set to 30 minutes to start a new session 2010-12-04 17:33:57 -05:00
Chaz
925db93157 * Added 'cacheSessions' flag
* Added a cacheSessions update call to import_file_dict() in fpdb_import.py
* Added updateSessionsCache() method to Hands
* Added storeSessionsCache() to Database --- WORK IN PROGRESS and set to pass
TO DOs
- add sessions queries to SQL
- complete storeSessionsCache() so it works like we've discussed (save for adding sessionId to HP)
- add SessionsCache keys
- add SessionsCache to the default table creation and deletion methods in Database.py
- update storeSessionsCache() and all the relevant db & sql code so it writes a sessionId to HP
2010-12-02 01:58:02 -05:00
Chaz
a7f3b1326f Added some logic so the importer won't try to send hands to HUD when HudCache is generated from the command line 2010-12-02 00:40:31 -05:00
Chaz
cbd6aa242e Added the 'cacheSessions' config option 2010-12-02 00:35:18 -05:00
Chaz
5a2fcea9df turns out the the '+0' is for indexing and has nothing to do with NULLS so I put it back in 2010-12-02 00:27:03 -05:00
Chaz
5fd3dddf2b * update_hudcache wasn't updating existing cashgame records because it was trying to match a NULL tourneyTypeId with a %s None value. Changed the logic of the SQL to handle this situation. It appeared like someone had tried to handle this by adding '+0' to the NULL record but it doesn't work.
* Deleted the attempted '+0' NULL value handling for gametypeId. gametypeId should never be null as an error would have already been thrown before it was inserted
2010-12-01 16:35:38 -05:00
Chaz
68b92b5130 Incremented the db version up to 146 and fixed 1 bug 2010-12-01 16:18:30 -05:00
Chaz
e0f76a508c reverted HudCache styleKey to include only YYMMDD - however, it now stores the d000000 date based off the tz & offset 2010-11-30 14:05:28 -05:00
Chaz
c6802484cb Updated init_hud_stat_vars() so that it no longer requires Filters.py for the offset calculations 2010-11-29 15:20:05 -06:00
Worros
9098c3ba03 Regression: Party PLO tourney 2010-11-26 13:38:39 +08:00
Worros
31da6ff170 Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 12:45:41 +08:00
Worros
122b47e183 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 20:45:35 +08:00
Worros
b017fa298d Carbon: Fix regression test parse 2010-11-25 20:11:19 +08:00
Chaz
21ac5229cb Fixed styleKey char length to 9 2010-11-25 02:36:34 -06:00
Chaz
872ea008dd Updated database version to 145 2010-11-25 02:35:50 -06:00
Worros
61ac6be0fa Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 11:31:15 +08:00
Chaz
9137347acb Just fixed a few bugs 2010-11-24 15:20:48 -06:00
Chaz
9bb58ca779 Adds the worker id command line option 2010-11-24 15:16:09 -06:00
Chaz
ead567c5cc * Added encoding error handling and the ability to identify the worker responsible for splitting a particular file if several were launched via threading 2010-11-24 15:13:26 -06:00
Chaz
92c8e68914 It's actually an OSError, not an IOError 2010-11-24 14:53:53 -06:00
Chaz
43ec9498e8 Just renamed the new regression file 2010-11-24 14:51:13 -06:00
Chaz
b820cd4895 * Old Stars HHs don't display max seats. Added regression-test-file showing this and handling in the Stars HHC 2010-11-24 14:49:39 -06:00
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -06:00
Chaz
ee926ac9ca * Modified init_hud_stat_vars() so that it uses the timezone & day_start offset from Filters.py 2010-11-24 14:18:42 -06:00
Chaz
ac4cae5abf * Updated the methods, variables, and SQL in Database.py and SQL.py to add Hours to the HudCache.styleKey field 2010-11-24 14:14:29 -06:00
Forrest
18df2ef2c6 add a regression test file for winamax tourney 2010-11-24 14:06:43 +08:00
Worros
d3f07aae45 Stove: Mockup interface for a Stovelike EV calculator page 2010-11-24 11:30:13 +08:00
Worros
aa31a4d67b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-23 13:00:58 +08:00
Worros
ea72ce8201 Merge branch 'master' of git://git.assembla.com/fpdb 2010-11-23 13:00:44 +08:00
Worros
ac2937dc78 Session Viewer: Add a warning dialog on loading 2010-11-23 12:59:23 +08:00
Eratosthenes
2f72f5416e Handle tourney table changes and closures. 2010-11-22 16:37:37 -05:00
Worros
ba1b15048b fpdb.pyw: Fix comment 2010-11-22 13:28:25 +08:00
Steffen Schaumburg
da800b7abb restore HUD executable flag 2010-11-22 04:25:31 +01:00
Steffen Schaumburg
a45a7fafe9 Merge branch 'carl' 2010-11-20 09:06:25 +01:00
Steffen Schaumburg
e53e386346 add TODO to gettextify stove 2010-11-20 09:05:52 +01:00
Worros
ca86a2c643 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-19 08:34:39 +08:00
Worros
8368a002ff Regression: TS file for FTP - Hero losing 2010-11-19 08:11:25 +08:00
Eric Blade
742347c5c7 undo my last change as it breaks merge 4.x 2010-11-18 17:54:19 -05:00
Eric Blade
eafbc2b2b8 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-18 17:45:51 -05:00
Eric Blade
990e3d2ed1 remove spurious ( ) from carbon/merge hh detection 2010-11-18 17:44:56 -05:00
Worros
bccadd2a4d Stove.py: Command line pokerstove like application.
Build on top of pypoker-eval, grabbed unchanged from Bostiks other OS project 'pokerstats'

http://bostik.iki.fi/pokerstats/
2010-11-18 13:09:38 +08:00
Eratosthenes
3670050abe Reenable following of dragged client window. 2010-11-17 23:36:59 -05:00
Eric Blade
fa3883e955 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-11-16 20:06:48 -05:00
Eric Blade
db467b5957 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-11-16 20:06:07 -05:00
Eric Blade
75633bb5fb Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-11-16 20:04:45 -05:00
Worros
a33a947dee Absolute: Fix more ',' breakage 2010-11-16 12:59:00 +08:00
Worros
55aa2df1de Stars: Fix AAMS portion of GameInfo regex.
Somewhere along the line I removed the ? making it optional.
2010-11-16 12:50:36 +08:00
Worros
41da3e6f65 Absolute: Deal with ','s in Action, Antes and Collect 2010-11-16 12:07:08 +08:00
Worros
147cc6c950 Absolute: Deal with ','s in blinds 2010-11-16 11:57:09 +08:00