Commit Graph

3708 Commits

Author SHA1 Message Date
Worros
fbfaf0176c Import: First step to making FTP archive files parse
Change regex to be explicit about the number of '*'s

Pass the ftpArchive flag to HHC init
2010-09-17 10:58:47 +08:00
Eratosthenes
7916f9e3ef Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-16 20:52:57 -04:00
Eratosthenes
2fc2cc9743 Integrate new table handling. 2010-09-16 20:29:58 -04:00
Worros
aae1ad082e OnGame: add dead blind detection 2010-09-15 13:25:44 +08:00
Worros
a7d450d384 Importer: Add command line option for FTP archive format.
To import

./GuiBulkImport -F -c "Full Tilt Poker" -f filename

Completely untested at the moment.
2010-09-15 13:23:32 +08:00
Worros
90e991dec8 Regression: Omaha limit OnGame hh 2010-09-14 18:58:05 +08:00
Worros
95dee0a8d3 Regression: OnGame 7 Card Stud Hi sample hand 2010-09-14 15:21:28 +08:00
Worros
960ce096a5 Regression: 5-Card Draw for OnGame 2010-09-14 15:04:54 +08:00
Worros
ebcd9f0b66 Hand: Remove error message 2010-09-14 14:15:23 +08:00
Worros
1a7b1caf48 Hand: Remove non-standard exception handler
That code should either crash or raise a FpdbParse* exception which will be caught at a higher level
2010-09-14 13:53:47 +08:00
Worros
ea5afdb14c Regression: OnGame dead small blind 2010-09-14 12:52:49 +08:00
Worros
5f8f5ffcda Merge branch 'master' of git://ferki.hopto.org/fpdb 2010-09-13 12:37:20 +08:00
Worros
662455d488 Carbon: Remove comment 2010-09-12 13:01:58 +08:00
Worros
de57731788 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-12 12:27:10 +08:00
Erki Ferenc
5c0bfa3bd0 PartyPoker fixes
- fix the "newly joined unseated active players are taking actions" problem
- fix the "newly joined seated active players with zero initial stacks" problem
2010-09-11 16:46:37 +02:00
Erki Ferenc
b1217b417f Added new regression test file
A newly joined  player has zero stack but having actions
2010-09-11 16:06:46 +02:00
Worros
1dce9d70b9 iPoker: Fix split hands 2010-09-11 17:07:23 +08:00
Worros
8911790408 iPoker: Update from initial Carbon template
determineGameType: partially functional
readHandInfo: partially functional
readPlayerStacks: Done
compilePlayerRegexes: Skipped
markStreets: done for Stud
readAntes: Needs doing
readBlinds: Needs doing
readBringIn: Needs doing
...
readAction: Partially complete
2010-09-11 16:11:16 +08:00
Worros
5a7c628dba OnGame: set maxseats to None, and let guessMaxSeats operate 2010-09-11 14:11:40 +08:00
Worros
55a0908675 Regression: OnGame LHE.hp file 2010-09-11 14:00:52 +08:00
Worros
07dc1fa9ec Regression: Everleaf FLO8 2010-09-11 13:25:03 +08:00
Worros
0729ee2d3f Regression: PLO8 for Everleaf 2010-09-11 13:13:31 +08:00
Worros
9dbe26fce6 OnGame: Fix BB regex 2010-09-11 11:56:00 +08:00
Eratosthenes
d176da93d4 Merge branch 'Xlib'
Conflicts:
	pyfpdb/TableWindow.py
	pyfpdb/Tables_Demo.py
	pyfpdb/WinTables.py
	pyfpdb/XTables.py
2010-09-10 23:01:21 -04:00
Eratosthenes
7314da8b38 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-10 21:24:01 -04:00
Eratosthenes
6a129695f4 Correct line removed by mistake. 2010-09-10 17:07:59 -04:00
Worros
8daa9cea9c ImapFetcher: Fix previous commit for actual IMAP 2010-09-10 18:09:01 +08:00
Worros
2514b424c8 Imap/PSSummary: Update and refactor
Primarily to make FTP summaries read from file.
2010-09-10 17:18:16 +08:00
Worros
d66ae965a1 FTSummary: First pass at a FTP summary importer
Definetly doesn't match 'Still playing' but seems to get almost everything else right
2010-09-10 17:16:09 +08:00
Worros
58de54560d ImapFetcher: refactor the import part from the IMAP connection 2010-09-10 14:07:09 +08:00
Worros
7f61fba314 PSS: Switch over to regex based parsing 2010-09-10 13:22:52 +08:00
Worros
7c8965486f THP: Allow sites to be manually switched off and on 2010-09-10 12:24:11 +08:00
steffen123
b6e865ff84 Merge branch 'ferki' 2010-09-09 12:56:32 +02:00
steffen123
69872b9638 PS summaries import skipped digits of tourney no 2010-09-09 12:35:05 +02:00
steffen123
c103203880 conflict in pyfpdb/PokerStarsSummary.py 2010-09-09 12:13:38 +02:00
Worros
d0df1b6e44 SQL: Iport tourneyResults query 2010-09-09 18:08:03 +08:00
steffen123
acd512d9c3 make imapfetcher work on imap again 2010-09-09 12:00:28 +02:00
Worros
3158c85d4f PSSummary: make space in Player regex optional again 2010-09-09 17:48:19 +08:00
Erki Ferenc
a927517229 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-09 11:21:28 +02:00
steffen123
c48242c219 Merge branch 'eric' 2010-09-09 10:48:36 +02:00
steffen123
3c60c8d68d Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2010-09-09 10:44:27 +02:00
Worros
f9e4eef2d3 Add copyright notice 2010-09-09 16:37:18 +08:00
Worros
6f0c94a119 Revert "FTP: Fix re_PlayerInfo to find ', is sitting out' for cash games"
This reverts commit bc4a53d754.
2010-09-09 16:36:37 +08:00
steffen123
5cfd693668 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2010-09-09 10:30:12 +02:00
Worros
ef99f7026f Regression: Add new FTP test file 2010-09-09 16:28:18 +08:00
Worros
ccfc55eec3 iPoker: Another minot update to determineGameType 2010-09-09 16:27:31 +08:00
steffen123
f0616a708d l10n: couple of missing gettextifies in imapfetcher 2010-09-09 10:27:21 +02:00
Worros
cb90147303 iPoker: Minor update to determineGameType 2010-09-09 16:26:37 +08:00
Worros
bc4a53d754 FTP: Fix re_PlayerInfo to find ', is sitting out' for cash games
Turns out that a player sitting out at the start of a cash game hand can (in what i hope is a small set of hands) be dealt cards and act in a hand
2010-09-09 15:14:54 +08:00
Worros
e1bb9a602b Stars/Hand: Fix issue produced by last regression test file
7-Stud-USD-0.04-0.08-200907.Missing.Showdown.Card.txt only contains 6 showdown cards.

Put filthy hack in addShownCards to guard against this condition, and add a commented out debug print in the HHC
2010-09-09 13:19:19 +08:00
Worros
34f0c93351 Regression: Add Stars Stud crasher.
This hand contains only 6 of the 7 cards for 'shown' and 'mucked'
2010-09-09 13:14:19 +08:00
Worros
bdb0bda3a0 OnGame: remove non-digits from hand id
Fixing email reported error with MySQL:

fpdb starting ...Traceback (most recent call last):
  File "GuiBulkImport.pyc", line 107, in load_clicked
  File "fpdb_import.pyc", line 251, in runImport
  File "fpdb_import.pyc", line 314, in importFiles
  File "fpdb_import.pyc", line 482, in import_file_dict
  File "Hand.pyc", line 273, in insert
  File "Database.pyc", line 1651, in storeHand
  File "MySQLdb\cursors.pyc", line 174, in execute
  File "MySQLdb\connections.pyc", line 36, in defaulterrorhandler
_mysql_exceptions.OperationalError: (1366, "Incorrect integer value: 'R5-79731715-280' for column 'siteHandNo' at row 1")
2010-09-09 10:31:40 +08:00
Eratosthenes
582377f519 Catch up WinTables.py to recent changes in TableWindow.py. 2010-09-08 20:35:59 -04:00
Worros
3b55bd19db OnGame: Fix date regex
Previously assumed that the day was 2 characters, and failed on:

'Fri Sep 3 05:01:22 GMT+0100 2010'

Doh
2010-09-08 16:05:04 +08:00
Worros
c3b2e56614 OnGame: Debugging Betfair skin date format with user 2010-09-08 16:02:18 +08:00
Worros
74a0c3d7da HHReplayer: Add file for Hud testing
Uses pygame, was playing around with the idea of using this library to create a replayer with sprite animations.
2010-09-08 15:43:20 +08:00
Worros
3759751fe4 HHC: Raise exception when game isn't supported. 2010-09-08 15:11:55 +08:00
Worros
d605f89564 OnGame: Make sure time can't fail and report erro 2010-09-08 01:08:23 +08:00
steffen123
aa22ca8df9 l10n: gettextify graph buttons 2010-09-07 19:03:15 +02:00
Eratosthenes
9772129f30 Rewrite of XTables to use Xlib. Considerable cleanup in TableWindow. 2010-09-07 09:50:29 -04:00
Worros
1acbe15b34 PKR: Make note about actions 2010-09-06 17:50:42 +08:00
Worros
e24e722141 Betfair: Fix some error handling in legacy parser 2010-09-06 17:25:17 +08:00
Worros
c7072bdd84 THP: Add iPoker testing 2010-09-06 17:24:08 +08:00
Worros
fd9c90c908 Test Config: Add iPoker 2010-09-06 17:23:38 +08:00
Worros
9a6de0476e Stars: Make readHandInfo() failure log an error not info 2010-09-06 17:22:36 +08:00
Worros
581b58e0c7 Party: Add exception for when determineGameType fails 2010-09-06 16:44:08 +08:00
Worros
c6d4661740 Regression: iPoker Stud H/L sample hand 2010-09-06 12:10:56 +08:00
Worros
89b20b1dba iPoker: initial commit - same as Carbon poker for the moment 2010-09-06 11:23:07 +08:00
Worros
2e99fc38bc Update files to prepare iPoker 2010-09-06 11:21:22 +08:00
Erki Ferenc
ab20e28dc4 Anonymised players in a sample file 2010-09-06 00:34:02 +02:00
Worros
21043d5445 Regression: PKR updates 2010-09-06 00:39:51 +08:00
Worros
631d2361aa Regression: PKR fix rake 2010-09-05 23:28:29 +08:00
Worros
d59663773b Regression: Correct shown card values in test files 2010-09-05 23:23:41 +08:00
Worros
b3633120ef Regression: Add Stars Badugi file 2010-09-05 22:44:29 +08:00
Worros
673afc0663 Regression: .hp: Fix and verify error - missing seatNo 2010-09-05 22:21:34 +08:00
Worros
23d73c5675 PSSummary.py: Fix winnings for Step tickets 2010-09-05 22:08:27 +08:00
Worros
c169ccedf4 Regression: Party Stud H/L 2010-09-05 21:18:02 +08:00
Worros
c1a512435b Fix Importer call for CLI usage 2010-09-05 18:30:22 +08:00
Worros
50ffeea3ec PSSummary: Add comment for Stars step satellites 2010-09-05 17:08:15 +08:00
Worros
5460a9d8b2 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-09-05 11:56:37 +08:00
gimick
9e3df066f5 import: cli mode, don't display progress bar; tweak progress bar 2010-09-04 23:12:29 +01:00
Worros
025b491c40 OnGame: tart prep for Stud parsing 2010-09-05 01:14:57 +08:00
Worros
edefd3ffb9 ImapFetcher: Give some more meaningful output 2010-09-05 01:14:08 +08:00
Worros
7ac652c12e THP: Fix Importer call 2010-09-05 01:12:31 +08:00
Worros
3bd8f3d352 PSSummary: *mutters abaout \r\n* 2010-09-05 00:55:55 +08:00
Worros
ff8147390a OnGame: Betfair Stud H/L test file 2010-09-04 22:18:23 +08:00
Worros
6ce19d70dc Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-09-04 20:40:00 +08:00
Worros
b982658446 PSSummary: identify step tickets 2010-09-04 20:36:31 +08:00
gimick
e44f48871a Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-04 13:30:37 +01:00
gimick
c4203c87b1 import: fix error in progress bar 2010-09-04 13:08:58 +01:00
Worros
016b0ed48f Tourney Graphing and Summary import update
It now gets through my 200 tourney torture test.
2010-09-04 20:06:24 +08:00
gimick
177b5768ae Merge branch 'master' of git://git.assembla.com/fpdboz 2010-09-04 12:35:48 +01:00
gimick
3fd2b2f838 Import: Show progress bar during bulk import 2010-09-04 12:30:43 +01:00
Worros
e66b98b345 PSSummary: add function parseSummaryFile
This parses the summary file without requiring state.

Hope to merge parseSummary and parseSummaryFile at some point soon
2010-09-04 18:10:25 +08:00
Worros
1dda0848d3 ImapFetcher: Make it run from command line with -i 2010-09-04 16:33:16 +08:00
Worros
04849775d7 TS: add new builtFrom option 2010-09-04 16:32:46 +08:00
Worros
10a48240db PSSummary: Add new parseSummary method 2010-09-04 16:31:39 +08:00
Worros
20bb51145b Options: add generic usage option 2010-09-04 16:30:43 +08:00
Eric Blade
b77500cc12 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-09-04 03:17:39 -04:00
Worros
cf2629b290 New: Tournament Results Viewer
Decided to see how hard it would be to get the tournament results using the existing schema.

Turns out the cash graph query is pretty similar and not much thought was required.

Created a new tab based on the existing cash game viewer for profit.

This is probably the idea page for multiple axis to be added.
- Distributions for position
- distributions by buy-in level
- ROI per buy-in level

Lots of stuff like that.
2010-09-04 14:16:46 +08:00
Worros
b7c94781ef THP: Give 'Errors by stat' output 2010-09-04 13:11:35 +08:00
Worros
c0eb686971 StarsSummary: Fix gettextify problem 2010-09-04 13:08:36 +08:00
Worros
7731e830f7 PKR: Fix re_CollectPot 2010-09-03 19:27:17 +08:00
Worros
f1adfde26c Regression: .hp file for button steal
thebear brings in, arjun attempt to steal from the button position and fails.

Went through and modified/verified:
- raiseFirstIn for all players
- raisedFirstIn for arjun
- foldSbToStealChance for thebear
- foldedSbToSteal for thebear
2010-09-03 18:31:50 +08:00
Worros
f1616957d3 Regression: 5 hands for various Stud steal situations 2010-09-03 18:19:37 +08:00
Worros
aa0e24fb9f THP: Add PKR to test 2010-09-03 18:01:16 +08:00
Worros
cd23d1dcbe HUD_config.test: Add PKR converter 2010-09-03 16:57:41 +08:00
Worros
2f5c4df1c5 PKR: Fix reading of player stacks 2010-09-03 16:40:40 +08:00
Worros
7038af303c HUD_Config.example: Add PKR 2010-09-03 16:32:30 +08:00
Worros
6585c5eb7b Regression: PKR .hp file 2010-09-03 16:31:47 +08:00
Worros
25c1e1c0e2 Regression: PKR NLHE 2010-09-03 15:43:48 +08:00
Worros
c5412caa14 THP + test config: Add suppor for Carbon
Make THP script more robust when testing stats
2010-09-03 14:31:52 +08:00
Worros
08c8315cd0 Regression: Carbon NLHE hand 2010-09-03 14:24:59 +08:00
Worros
d22dbb1238 Carbon: Make carbon crash less. 2010-09-03 14:05:50 +08:00
Worros
ad714519a9 THP: Add everleaf to list, fix totalerrors 2010-09-03 13:56:57 +08:00
Worros
dca0c0ffda Regression: Actually remove file mv in previous commit 2010-09-03 13:07:54 +08:00
Worros
f1ffb4c6eb Regression: Everleaf NLHE - 3 way all in preflop 2010-09-03 13:06:04 +08:00
Worros
1290ea3a67 Regression: Add OnGame Limit Holdem File 2010-09-03 12:25:35 +08:00
Worros
1a4c618df3 Regression: Move OnGame HH file 2010-09-03 12:22:39 +08:00
Worros
1622d9e56c THP: Add Absolute to testing list 2010-09-03 12:05:22 +08:00
Worros
d5f230e4e8 Absolute: a couple of cleanups and some prep work for AP
I've changed re_GameInfo to be a verbose regex, so I may have broken working hand histories.

No test files at the moment so it is hard to tell.
2010-09-03 11:49:41 +08:00
Worros
3f0cdfbaa5 Regression: Add Absolute Stud Hi/Lo hand 2010-09-03 02:29:34 +08:00
Worros
cc3197b5d1 Grapher: commit patch to allow showdown lines to be removed
But only in source for the moment.

Need to add a Filter for the different graph types
2010-09-02 15:24:30 +08:00
Worros
742dec8b15 THP: Re-enable Party cash parsing 2010-09-02 14:04:34 +08:00
Worros
304c9e71a2 Hand: Wrap Pot.end() section in exception handler
If Hand.end() fails in that section, then something is seriously wrong with either action parsing or stack parsing.

Throw a parse error in the hopes we can continue on.
2010-09-02 14:02:19 +08:00
Worros
376894bba3 THP: Add remaining directories for test coverage 2010-09-02 13:52:54 +08:00
Worros
bd6e227662 Test Config: Add OnGame to parser list 2010-09-02 13:52:18 +08:00
Worros
72e3867383 THP: Report parse errors properly 2010-09-02 13:42:40 +08:00
Eric Blade
9ed44c0c54 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-09-02 01:33:39 -04:00
Worros
64cbfb4e4b Regression: New test file 2010-09-02 09:12:12 +08:00
Worros
befcbba8f2 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-09-02 09:07:26 +08:00
sqlcoder
e02f2e61ef make sure new variables are set 2010-09-01 21:20:22 +01:00
sqlcoder
57aefb06e8 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-01 21:08:52 +01:00
sqlcoder
25cbc0da30 add logging 2010-09-01 21:08:13 +01:00
Worros
d4400b9f48 Stars: add part support for NL Single Draw 2010-09-02 00:40:36 +08:00
Worros
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
Worros
b8a8a7217c Regression: OnGame hand history 2010-09-01 23:43:23 +08:00
Worros
dd469e9ca3 Regression: Stars: NL Single Draw 2010-09-01 21:58:58 +08:00
Worros
188201025f Database: rename storeHandsPlayers to storeHandsActions
As the stub function was supposed to be called
2010-09-01 20:51:23 +08:00
Worros
3f2edd2c6d Regression: FTP PLO additional hand with showdown cards for multiple players 2010-09-01 14:05:59 +08:00
Worros
f993fb05b2 Regression: Add FTP PLO cash game HH 2010-09-01 13:53:48 +08:00
Worros
a2e25457c9 Merge branch 'master' of git://git.assembla.com/fpdb 2010-09-01 11:08:17 +08:00
Worros
7aeb5e4531 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-09-01 11:08:04 +08:00
Worros
9a3d60e0b3 HandsActions: Stub in the remaining calls for HandsActions 2010-09-01 10:47:13 +08:00
Worros
a03e836044 DerivedStats: Stub in HandsActions calculation 2010-09-01 10:38:54 +08:00
sqlcoder
06b34e8648 clarify difference between site and filter to allow 2 sites from same network, prompt to add site to db if missing 2010-08-31 22:44:41 +01:00
sqlcoder
9704cd7fe5 routines to store site list in config 2010-08-31 22:34:48 +01:00
Eric Blade
2ab01fa9d9 some code and comment cleanups and clarifications, mo betta fasta. 2010-08-31 04:56:28 -04:00
Eric Blade
80b98da6fc Merge branch 'master' of git://repo.or.cz/fpbd-bostik.git 2010-08-31 04:42:32 -04:00
Mika Bostrom
1a515534b4 Try to fix profit/100 2010-08-31 11:40:21 +03:00