Commit Graph
100 Commits
Author SHA1 Message Date
Worros 46dd6524ec Options: Add site_alias function
Function returns the FPDB name for a given site. Should make command line options a bit simpler
2010-12-15 12:44:12 +08:00
Worros 7269926d7b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-14 12:58:29 +08:00
Worros 7165ea8d29 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-14 12:56:29 +08:00
Worros aeaf64e469 Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:
	pyfpdb/TableWindow.py
2010-12-11 09:16:37 +08:00
Worros e113f56ac1 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-11 01:56:53 +08:00
Worros df7bfedd89 Regression: add PLO .hands file
Appears I forgot to add this previously
2010-12-11 01:45:23 +08:00
Worros caa2104fa9 Fix for FTP Razz crasher
When a player is listed as playing the hand and sits out between the listing and ante-up join_holecards returned only 2 cards causing Card.encodeRazzStartHand() to crash.

Make sure that join_holecards must return at least 3 cards for stud, and add an entry for this case in the lookup table
2010-12-11 01:26:56 +08:00
Worros 5a5ab451d1 Regression: Fix datetime format for eval() call 2010-12-11 01:19:49 +08:00
Worros c47fc8b8c0 Regression: FTP Razz crasher
Player6 is listed as playing the hand and sits out between the listing and ante-up

Crashes in encodeRazzStartHand
2010-12-11 01:17:15 +08:00
Worros ee0ed080ed DerivedStats: Remove erroneous comment 2010-12-11 00:34:27 +08:00
Worros 3cd7eb881b FTP: Change date format handling
The new FTP date format contains local and ET time information, in almost the same way as Stars.

Tested against a new file, an old file, a EUR file and the weird date format that existed for about 3 days
2010-12-11 00:01:00 +08:00
Worros d922984b91 THP: Add support for Hands table
Will search for <filename>.hands in the same manner as it does for .hp files
2010-12-10 23:59:27 +08:00
Worros 702bbb4c71 Regression: Change validated date - July is the 7th month, not 6th 2010-12-10 23:57:28 +08:00
Worros e26e219327 Regression: Change validated ET time as date during DLS 2010-12-10 23:56:04 +08:00
Worros 2d5580b7e6 Regression: Change validated CET time, as date is during DLS 2010-12-10 23:53:51 +08:00
Worros f9ee1510b1 Regression: FTP Razz file, with .hp and .hands
We didn't have an FTP Razz file in the Regression test suite.

This is the new date format from FTP, like Stars contains both local and ET time
2010-12-10 22:59:26 +08:00
Worros b966be8ec3 Regression: .hands file for FTP EUR file
By default EUR sites (.fr?) use CET in the HH file
2010-12-10 22:46:49 +08:00
Worros 7dd8b9de16 Rename gameTypeId to gametypeId
Go through and change all references to gameTypeId to gametypeId to make it consistent.

The database field is named with the lowercase version, and MySQL is case sensitive.

This may have been causing minor issues in multiple areas when attempting to join on gametype.
2010-12-10 22:31:12 +08:00
Worros b543d08d80 Regression: .hands file for FTP with with funky date 2010-12-10 22:27:44 +08:00
Worros 02204edc48 Give storeHands the ability to output test data
Will allow for regression testing of hand start time
2010-12-10 21:35:49 +08:00
Worros 8fa38a26cc GuiStove: Temporary commit - add 'changed' hooks
They dont actually do anything yet.
2010-12-10 20:02:24 +08:00
Worros 267bf93fa5 Database: Comment out unused 'printdata'
Writing documentation for THP at the moment, and HandsActions data doesn't curently having any tests.

Comment out to simplify documentation for the moment.
2010-12-10 18:59:52 +08:00
Worros 9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros 3db9cfa6a7 Options: Add -s --sitename option 2010-12-10 18:20:52 +08:00
Worros bc59e12768 Everleaf: Make re_GameInfo error handling consistant with other sites.
When re_GameInfo fails to match now, the first 100 characters of the hand will be printed to the log. Makes it much easier to identify the offending hands.

Error now also throws an FpdbParseError for the importing process to catch
2010-12-10 17:53:59 +08:00
Worros 7721468c92 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-10 02:33:14 +08:00
Worros cfab629779 Regression: New Stars LHE file
Adds a file with a hand where the big blind is also the button
2010-12-06 14:16:59 +08:00
Worros 9235d12d59 Stars: Fix issue where player collected pot
As both big blind and the button - something i wasn't sure was possible
2010-12-06 13:45:58 +08:00
Worros 51011380ba Stove: Start gettextification 2010-12-06 12:51:53 +08:00
Worros 96b55a5bff Stars: Fix regression.
New test file regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt crashed Stars.

Put guard to make sure MAX has a value
2010-12-06 12:48:25 +08:00
Worros 352c40baab Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt
2010-12-06 11:51:16 +08:00
Worros 5fb23b3938 Move getSqlPlayerIDs next to the other version of the function 2010-12-06 11:49:28 +08:00
Worros 704bf06e19 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-06 11:45:26 +08:00
Worros bc5cf4c92a Remove tracked .gitignore fix HUD_main permissions 2010-12-06 11:43:09 +08:00
Worros b465a592de Move regression test file from old folder 2010-12-06 11:41:59 +08:00
Worros f8dbe0cf06 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-06 11:35:41 +08:00
Worros 1e449a2ceb Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-05 18:10:46 +08:00
Worros f6b97ab532 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-05 02:53:16 +08:00
Worros c61598b7aa fpdb: Add menu calls for Replayer 2010-12-04 19:10:47 +08:00
Worros 96bf985697 GuiReplayer: Added by lastpoet <maxime@grandchamp.net>
1st Draft to get it in for comments
2010-12-04 18:27:03 +08:00
Worros e032b32ea7 Regression: Repair (?) Party hh that seemed to be missing 2 lines 2010-12-04 03:47:23 +08:00
Worros a4e708507f Stars: More useful exception message of currency match fails 2010-12-04 03:43:06 +08:00
Worros 8d8f604d12 Party: Make Party Stud H/L partially recognised 2010-12-03 18:13:07 +08:00
Worros 89990628af Regression: Add NLHE Party.fr hand sample 2010-12-03 15:38:41 +08:00
Worros 1e749d3cf3 Tourney Player Viewer fix for Bugid 0000050
SQL case statements only divided by 100 if the currency was USD.

This is a temporary fix - what we probably want is WHEN tt.currency != PLAY or FPP
2010-12-03 12:34:58 +08:00
Worros 9b629a467a Stove: Rename range to h_range
range is a resvered word in Python.
2010-12-03 11:46:15 +08:00
Worros b83242622a Stove: Fix card expansion, move a function or two 2010-12-03 11:14:51 +08:00
Worros 634d102325 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-03 00:25:44 +08:00
Worros a79dbd8f1b Party: First pass at Party.fr support
The USD regression test files show no change in parse problems - 3 files still fail
2010-12-02 17:40:24 +08:00
Worros d48cf03aab Party: Remove reencoding to latin-1
This crashes the UTF files from Party.fr - removing
2010-12-02 13:23:10 +08:00
Worros 956182079f Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-02 11:35:47 +08:00
Worros d2355c3ae8 FTPSummary: Add alternate Omaha label
Patch originally posted by patrask on IRC

http://hh.kallocain.se/FullTiltPokerSummary.py.patch
2010-12-02 11:27:06 +08:00
Worros 6f983c596a Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-01 13:50:03 +08:00
Worros 1cdb48cb59 pypokertest.py: Add test.py from pokersource distribution
test.py isn't published on Ubuntu, add it to our project for now.
2010-12-01 13:02:17 +08:00
Worros 07fc254cdb Stove: Remove unnecessary returns 2010-11-30 15:36:35 +08:00
Worros 775b19e7d5 Stove: shift content of parse_args into Stove object
Quick test - still functions correctly on the command line
2010-11-30 15:33:13 +08:00
Worros e1b1d06ec7 Stove: Rename Holder to Stove
Remove some debug code, and structure cli interface in the same way as other fpdb modules
2010-11-30 15:16:01 +08:00
Worros 404cccb1d9 GuiStove: Add Stud and Draw tabs 2010-11-30 15:13:08 +08:00
Worros 5232cf4866 Carbon: Fix regression test parse 2010-11-29 21:34:47 +01:00
Worros cbdfaf62a7 Session Viewer: Add a warning dialog on loading 2010-11-29 21:34:21 +01:00
Worros 927d27ecce Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 17:30:38 -05: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
Worros 61ac6be0fa Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-11-25 11:31:15 +08:00
Worros 134d26855f Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-24 11:54:48 +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
Worros ba1b15048b fpdb.pyw: Fix comment 2010-11-22 13:28:25 +08: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
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
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
Worros d69c9dc33f TSI: Add FTP support 2010-11-15 14:24:31 +08:00
Worros 9c2c18f5ca TourneySummary: Add alternate lookup for FTP 2010-11-15 13:40:57 +08:00
Worros bc55042ed4 Configs: Add FTP summary parsing defaults 2010-11-15 13:40:10 +08:00
Worros f7f8122af8 GTI: Add utf16 file handling 2010-11-15 13:39:36 +08:00
Worros a4885243de Stars: Fix re_GameInfo to parse AAMS section of .it hands
Only have the one example from a Tournament hand:

PokerStars Game #52486342403: Tournament #324732603, €0.82+€0.18 EUR Hold'em No Limit - Level I (10/20) [AAMS ID: L284A006CB1E33ZO] - 2010/11/10 20:59:53 CET [2010/11/10 14:59:53 ET]

Hopefully the same for cash games
2010-11-13 12:04:13 +08:00
Worros d895ab0d21 Regression: PartyPoker NLHE cash hand and .hp 2010-11-12 11:12:18 +08:00
Worros 2fa08aa263 Regression: NLHE Sample file for Win2day 2010-11-12 10:41:54 +08:00
Worros 61d5ffec4b Regression: Remove UB file with modified filename.
File was already copied over to the original UB format
2010-11-11 18:31:24 +08:00
Worros ee65248ff1 THP: Add Win2day support 2010-11-11 18:31:10 +08:00
Worros adf380f22b Regression: Win2day .hp file + rename 2010-11-11 18:25:54 +08:00
Worros 323b0856b6 PSS: Fix Stars summary import to deal with slightly modified format
Stars now includes the currency (ie. USD) on two lines
2010-11-11 18:25:06 +08:00
Worros 8faeb49de2 Regression: Win2day PLO Sample 2010-11-11 18:22:14 +08:00
Worros 1f3855c717 Regression: Stars local summary file format for tourneys 2010-11-11 17:58:18 +08:00
Worros 1b375af181 TSI: Add a couple of lines of text to mark output more clearly 2010-11-11 15:09:09 +08:00
Worros 17bd4f3954 GTI: Cleanup
Remove a series of debug messages

Add some code to remove heading or trailing characters after the split
2010-11-11 14:59:18 +08:00
Worros e8155123b2 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 14:02:01 +08:00
Worros 8c3e3b5795 New test script: TestSummaryImport
Almost a direct copy of THP to assist in regression testing summary import formats
2010-11-11 13:59:26 +08:00
Worros c922f9cd2f Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-11-11 00:29:07 +08:00
Worros e218e0c5c9 Absolute: Fix another tourney file name variant 2010-11-11 00:28:29 +08:00
Worros 7e1fa36b3a GTI: Add command line interface for Tourney Sumary import 2010-11-10 19:23:03 +08:00
Worros 31843deafe Revert "calendar displays current entry value"
This reverts commit f78044e4c1.

Conflicts:

	pyfpdb/Filters.py
2010-11-10 16:36:58 +08:00