Commit Graph

4578 Commits

Author SHA1 Message Date
Steffen Schaumburg
9a7d148cf2 allow . in ongame table names 2011-03-01 22:44:13 +01:00
Eratosthenes
e69e2edc42 Merge branch 'master' of git://git.assembla.com/fpdb 2011-03-01 12:23:44 -05:00
Eratosthenes
20243ac6ed Fix problem with missing tables or unfound tables. 2011-03-01 12:22:48 -05:00
Worros
302af8eae9 Hand.select(): Minor update
- Fix query after schema change.
- Convert code attempting to use row_factory to a slower equivalent
2011-03-01 16:13:58 +08:00
Worros
f85cbef28b Regression: Winamax street0_SqueezeChance fixes 2011-03-01 13:19:05 +08:00
Worros
dbebc5b0b6 Regression: Winamax: Fix data for Sqeeze 2011-02-28 14:21:09 +08:00
Worros
b13b3a7047 Regression: Fix .hands data 2011-02-28 13:37:11 +08:00
Worros
489a8da50a Winamax: Fix reverted(?) timezone update. 2011-02-28 13:36:23 +08:00
Worros
c6926b6619 Regression: Add raiseToStealChance and raiseToStealDone to .hp files 2011-02-28 12:30:25 +08:00
Steffen Schaumburg
9b1d4a36b3 turn PKR off by default as its pretty borked 2011-02-28 03:13:06 +01:00
Worros
3d7f75c933 Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-28 10:00:45 +08:00
Steffen Schaumburg
828dce7ebe fix to make it work without save actions again, by chaz 2011-02-28 02:01:06 +01:00
Scott Wolchok
de640f7b57 Merge remote branch 'steffen/master' 2011-02-27 17:33:25 -05:00
Scott Wolchok
a6024e2859 enable WAL in sqlite 2011-02-27 17:33:05 -05:00
Erki Ferenc
7102c3816e l10n: updated Hungarian translation 2011-02-27 18:24:58 +01:00
Steffen Schaumburg
6cb65d53a5 update version string for post release 2011-02-27 16:25:11 +01:00
Steffen Schaumburg
c98b3b5386 update version for 0.21 2011-02-27 16:18:43 +01:00
atinm
644b2d7849 replaced /usr/bin/python with /usr/bin/env python 2011-02-27 21:17:07 +08:00
Worros
7d05455296 THP: Ignore several errors
tourneyId, tourneyTypeId, tourneysPlayersIds are variable,
2011-02-27 20:52:17 +08:00
Steffen Schaumburg
2c916d58a4 updated l10n files 2011-02-27 05:51:50 +01:00
Scott Wolchok
194a59a603 remove stray debug output 2011-02-26 18:53:50 -05:00
Scott Wolchok
06d228fbec WinamaxToFpdb: store tourney buyins in cents, not dollars.
Abbreviate No Limit Hold'em in table names to NLHE.
2011-02-26 18:49:16 -05:00
Scott Wolchok
635dbc9a11 Merge remote branch 'donoban/master' into donoban-merge 2011-02-26 18:21:25 -05:00
Scott Wolchok
316f209fa0 DerivedStats: SqueezeChance is boolean, not int; fix for pgsql 2011-02-26 18:08:23 -05:00
Steffen Schaumburg
f95fe6d531 Merge branch 'eric' 2011-02-26 22:06:04 +01:00
Eric Blade
af07b88d5a slight tweaks to default 10-man layout on everleaf 2011-02-25 21:20:52 -05:00
Steffen Schaumburg
bbbbf98a40 enable all sites by default 2011-02-26 03:12:45 +01:00
Eric Blade
393b51971a Merge branch 'master' of git://git.assembla.com/fpdb.git 2011-02-25 21:00:39 -05:00
Eric Blade
84dc935f1a Merge branch 'master' of git://git.assembla.com/fpdboz.git 2011-02-25 20:57:11 -05:00
Eric Blade
25734c1514 add error for missing pytz 2011-02-25 20:40:04 -05:00
Steffen Schaumburg
0385a193fb Merge branch 'ferki' 2011-02-26 01:11:43 +01:00
Steffen Schaumburg
99a0e04e3e Merge branch 'master' of git://github.com/swolchok/fpdb into scott
Conflicts:
	pyfpdb/Database.py
	pyfpdb/decimal_wrapper.py
2011-02-26 01:09:40 +01:00
Scott Wolchok
fc46b70c41 Rename decimal.py to decimal_wrapper.py so we don't break when
cdecimal is not installed.
2011-02-25 14:18:12 -05:00
DoNoBaN
37fcca55b9 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/DerivedStats.py
2011-02-25 18:14:20 +01:00
DoNoBaN
e169f32242 Added raiseToSteal stat 2011-02-25 15:37:11 +01:00
Erki Ferenc
3a860be71f Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-25 15:29:05 +01:00
Steffen Schaumburg
140ad6be5f allow it to start when cdecimal is missing 2011-02-25 14:31:15 +01:00
Steffen Schaumburg
2f067d7945 a missed l10n string 2011-02-25 13:46:00 +01:00
Worros
7be88ef080 Hand: Sanitise number from Stud bring-in 2011-02-25 18:07:14 +08:00
Worros
890ebb4e02 Regression: FTP Razz tourney crasher
The line:

Villain brings in for 9, and is all in

Causes the import to crash.
2011-02-25 18:06:06 +08:00
Worros
3455b4ea69 Database: Make sqlite bool adapter use ints not strings
Scott Wolchok noted that the adapater was using strings, and possibly only working by luck.

Appears to give a 10-15% boost on a 10k hand import
2011-02-25 17:46:10 +08:00
Scott Wolchok
25799d01f2 Don't bother recompiling regexs for every hand when parsing Stars
HHs.
2011-02-25 04:19:00 -05:00
Worros
e41c0bc4e6 Merge branch 'master' of git://github.com/swolchok/fpdb 2011-02-25 16:52:01 +08:00
Scott Wolchok
6e3abbbb0a DerivedStats: build init dict for player stats only once. 2011-02-25 03:41:42 -05:00
Scott Wolchok
f64c28b1b4 small wrapper to use cdecimal library if available. 2011-02-25 03:14:28 -05:00
Worros
f006b7c253 Hand.py: Use sum(x) instead of reduce(operator.add, x, 0)
From: Scott Wolchok <scott@wolchok.org>

Make the code slightly more readable
2011-02-25 13:05:39 +08:00
Worros
f6351cef53 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2011-02-25 10:05:23 +08:00
gimick
27e69a1c0c filters: re-instate hide limits button, improve spacing of limits checkboxes 2011-02-24 23:25:35 +00:00
gimick
14053b9942 filters: fix traceback - declare self.num_limit_types when filters class is initialised 2011-02-24 22:24:37 +00:00
gimick
fb9f9df80e filters: clear all individual checkboxes when limits=none selected 2011-02-24 22:10:12 +00:00
gimick
7b9f9fb220 filters: add CAP category, and alter all/none to recognise cap(cn) games 2011-02-24 20:59:44 +00:00
Worros
0f54f3d80c Hand.py: Call Decimal ctor a lot less.
From: Scott Wolchok <scott@wolchok.org>
2011-02-24 22:51:40 +08:00
Worros
cf937285ea Hand.py: Use str.replace instead of re.sub for stripping commas.
From: Scott Wolchok <scott@wolchok.org>
2011-02-24 22:49:50 +08:00
Worros
1e482a8a37 FTP: Specify full filename in log when gametype not matched 2011-02-24 22:48:53 +08:00
Erki Ferenc
1f86ca0d40 l10n: updated Hungarian translation 2011-02-24 12:09:18 +01:00
Worros
ddb45ff8c3 Filters: Fix broken show/hide button for Graphing Options
Patch from scott@wolchok.org
2011-02-24 15:00:03 +08:00
Scott Wolchok
bf417f0569 Filters.py: Fix broken show/hide button for Graphing Options. 2011-02-24 00:27:43 -05:00
Scott Wolchok
cdf158cfae Hand.py: Call Decimal ctor a lot less. 2011-02-23 23:41:14 -05:00
Scott Wolchok
1227c5df74 Hand.py: Use sum(x) instead of reduce(operator.add, x, 0). 2011-02-23 23:31:46 -05:00
Scott Wolchok
00f98f0e12 Hand.py: Use str.replace instead of re.sub for stripping commas. 2011-02-23 23:28:37 -05:00
Worros
c409b717a9 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/XTables.py
2011-02-24 11:44:30 +08:00
Worros
5ce1fbaa5e Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-24 11:42:57 +08:00
Eratosthenes
d30fb9e72c Catch match error on new tables retry or fail gracefully. 2011-02-23 11:59:59 -05:00
Steffen Schaumburg
5b83580168 Merge branch 'gimick' 2011-02-23 17:01:04 +01:00
Steffen Schaumburg
0458bfe30c l10n: update pot/po/mo files 2011-02-23 16:59:14 +01:00
Steffen Schaumburg
63f074f00f Merge branch 'carl' 2011-02-23 16:55:49 +01:00
Steffen Schaumburg
346d0697cb restore french file to normal encoding 2011-02-23 16:51:39 +01:00
Steffen Schaumburg
c3b8e5affb a couple of l10n things 2011-02-23 16:48:05 +01:00
Steffen Schaumburg
104bc26da4 restore hotkeys in graph viewers 2011-02-23 16:47:50 +01:00
Eratosthenes
4744fe3b90 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-23 09:22:35 -05:00
Worros
4b6b9e24de Filters: Init varible in constructor 2011-02-23 20:06:53 +08:00
Worros
cc1c90eade Regression: FTP Badugi sample hand 2011-02-23 19:21:45 +08:00
Worros
5c5520eaaa Regression: FTP 5 Card Draw PL 2011-02-23 19:09:05 +08:00
gimick
7926c88e48 Rushaux: fix tablenames (case sensitive in mySql) 2011-02-23 09:19:09 +00:00
Worros
e9f2f47726 Filters: L10n several strings
Part of patch from tribumarchal <boitemail25@aol.com>
2011-02-23 13:10:16 +08:00
Worros
67a36ead6c Revert "Signed-off-by: tribumarchal <boitemail25@aol.com>"
This reverts commit 91a312d34c.
2011-02-23 13:07:49 +08:00
Worros
39ddbb85c5 Merge branch 'master' of git.assembla.com:fpdboz 2011-02-23 13:05:56 +08:00
Worros
afb80457bb Revert "Signed-off-by: tribumarchal <boitemail25@aol.com>"
This reverts commit 91a312d34c.
2011-02-23 13:04:56 +08:00
Worros
2264e3b525 Regression: Winamax hh.
Hero wins the side pot and loses the main pot.
2011-02-23 12:53:53 +08:00
Worros
757170974e Filters: L10n several strings
Part of patch from tribumarchal <boitemail25@aol.com>
2011-02-23 12:32:30 +08:00
Worros
7d48f0223f Winamax: Adjust readCollectPot
Remove guard for returning money. Unsure if this is correct.

Passes the regression test suite, so committing for user test
2011-02-23 12:30:48 +08:00
Eratosthenes
0a9aed891f Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-22 19:07:20 -05:00
Eratosthenes
540b7369c4 More logging in XTables. 2011-02-22 19:05:48 -05:00
Eratosthenes
626fbf3986 More logging in XTables.py. 2011-02-22 18:58:37 -05:00
Eratosthenes
991cd088fd Add some logging for XTables.py. 2011-02-22 17:24:14 -05:00
Eratosthenes
3cf03719fd Extend timeout for dragging...help with slower PCs. 2011-02-22 17:22:44 -05:00
tribumarchal
91a312d34c Signed-off-by: tribumarchal <boitemail25@aol.com> 2011-02-22 21:41:30 +01:00
Worros
4b658b2e4e Regression: Verify and adjust test data for now stats 2011-02-22 20:39:10 +08:00
Worros
8a528a12ad Regression: Validate and fix .hp data 2011-02-21 17:36:12 +08:00
Worros
4698f9c227 THP: Comment out debug line 2011-02-21 14:08:53 +08:00
Worros
7444ffd20f Regression: Add in sessionId to .hands files 2011-02-21 14:07:29 +08:00
Worros
47c2a1d815 Regression: FTP 5 Card Draw - NL sample hand 2011-02-21 12:23:43 +08:00
Worros
04a49660bf Merge branch 'master' of git://git.assembla.com/donoban-fpdb 2011-02-21 10:36:54 +08:00
Worros
a73b86059d Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-21 10:36:40 +08:00
Erki Ferenc
e1fbf655ff l10n: fixed typo in Hungarian translation 2011-02-20 21:35:37 +01:00
Erki Ferenc
e2b5a4cca6 l10n: updated Hungarian translation 2011-02-20 21:27:35 +01:00
DoNoBaN
8b4714ffcc Spanish translatoin mo file 2011-02-18 16:52:06 +01:00
DoNoBaN
2b716af46c Added Success Steal for detailed stats
Needs add it to gui_cash_stats
2011-02-18 16:17:21 +01:00
DoNoBaN
0e26d4f6ae Added more Spanish translation 2011-02-18 16:16:59 +01:00
DoNoBaN
52a97b9793 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-18 15:14:10 +01:00
Worros
a5bcc977f3 TourneyFilters: Add into ScrollWondow. 2011-02-18 13:23:03 +08:00
DoNoBaN
cfa87c9870 Merge branch 'master' of git://git.assembla.com/fpdboz 2011-02-18 00:45:07 +01:00
DoNoBaN
aea40ab605 Add success steal for detailed stats 2011-02-18 00:42:59 +01:00
Worros
99b9cb1574 Filters: Put into a scroll window 2011-02-17 13:13:40 +08:00
Worros
c6b67dd1c8 Regression: Correct new .hands file 2011-02-17 12:25:35 +08:00
Worros
e4a3de1272 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2011-02-17 11:28:44 +08:00
Worros
0585debcae Merge branch 'master' of git://git.assembla.com/fpdb 2011-02-16 16:38:33 +08:00
Worros
0a1ad69028 Regression: Update FTP 5 card test data after recent fix. 2011-02-16 16:33:11 +08:00
Worros
2b8b6ec626 FTP: Fix markStreets to correctly identify single draw 'DEAL'
This has the knock on effect of fixing pre/post deal stats and almost certainly the same bug that affected the stars parser fixed in e387593967
2011-02-16 16:14:32 +08:00
Worros
754a5dacf8 Regression: FTP 5 card draw sample file 2011-02-16 16:05:40 +08:00
Worros
cb99327fd9 AutoImport: Add hidden button for auto-detection
Discovered that I didn't have an easy way to report that info back to the gtk widget and got bored.

Maybe someone else will take it up.
2011-02-16 15:50:21 +08:00
Steffen Schaumburg
3399bae06d update l10n files, include es_ES into script 2011-02-16 08:44:56 +01:00
Steffen Schaumburg
ea1babdd46 Merge branch 'carl' 2011-02-16 08:40:49 +01:00
Steffen Schaumburg
c005ed2130 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2011-02-16 08:40:32 +01:00
Worros
e387593967 Stars: Fix accounting error in single draw games.
There is no indicator between 'streets' in single draw games on Stars.

Patch adds a new regex for single draw games to detect the draw and divide streets.
2011-02-16 15:10:48 +08:00
Steffen Schaumburg
a3e6019bfc Merge branch 'carl' 2011-02-15 08:35:37 +01:00
Steffen Schaumburg
19bc423da5 Merge branch 'master' of git://git.assembla.com/fpdboz into carl 2011-02-15 08:35:05 +01:00
Steffen Schaumburg
daafca8c2a fix sqlite version display in the about dialogue 2011-02-15 08:34:00 +01:00
Worros
9fe42f66de Ring Stats: Allow CAP (cn) games to be displayed 2011-02-15 15:33:18 +08:00
Worros
9376f3d8b5 Grapher: Allow CAP (cn) games to be graphed. 2011-02-15 15:02:15 +08:00
Steffen Schaumburg
f2f433e423 Merge branch 'carl' 2011-02-14 16:42:55 +01:00
Steffen Schaumburg
671dc1c7ca fix missing line in SQL 2011-02-14 16:42:25 +01:00
Steffen Schaumburg
2048bf394f minor string changes 2011-02-14 16:41:15 +01:00
Steffen Schaumburg
2e27c46b76 minor string changes 2011-02-14 16:12:07 +01:00
Worros
989d06548e Example config: Add 10 seat OnGame layout 2011-02-14 01:26:10 +08:00
Worros
cbfba53617 Regression: Add new stats to .hp files
street0_C4BChance
street0_C4BDone
street0_SqueezeChance
street0_SqueezeDone
success_Steal

All were set to false
2011-02-14 00:23:08 +08:00
Worros
582d202e33 AddStat script - Change commented out variable 2011-02-14 00:22:30 +08:00
Worros
eb1b758eb2 Script: Script to add a new stat to the regression test suite 2011-02-14 00:13:30 +08:00
Worros
3d168cee6e Merge branch 'master' of git://git.assembla.com/donoban-fpdb 2011-02-13 23:47:15 +08:00
Worros
960ce1f11b THP: Add ability to test a single file
Add -f <filename> options

./TestHandsPlayers.py -s Stars -f <filename>

Will run only the tests for that file.

Also added the tour directory for Absolute
2011-02-13 23:43:15 +08:00
Worros
e66456d7b1 OnGame: BWin speed table
TestHandsPlayers

Total Errors: 34

---------------------
Errors by stat:
---------------------
(  1) : street0_3BChance
(  1) : street1CBChance
(  1) : street1CBDone
(  2) : street0_FoldTo4BChance
(  2) : totalProfit
(  3) : rake
(  5) : street0_FoldTo3BChance
(  8) : Parse
( 11) : street0_4BChance
2011-02-13 22:30:53 +08:00
Worros
2da7dc8495 OnGame: Modify re_HandInfo to parse SPEED tables 2011-02-13 22:04:09 +08:00
Worros
e570e34f28 Options - add a -D option for directory 2011-02-13 21:59:36 +08:00
DoNoBaN
d6a034b183 DerivedStats.py with cold4bet, squeeze and success steal 2011-02-12 21:20:53 +01:00
DoNoBaN
0a1389244d Added cold 4bet, squeeze and success steal
4bet and foldto3/4bet enabled for Detailed Stats

Removed street0 other raises (they was unused)
2011-02-12 14:11:41 +01:00
DoNoBaN
6370fca9ec Added 4bet and fold to 3/4bet at detailed cash stats pages 2011-02-11 16:37:28 +01:00
DoNoBaN
0a21e472ba Revert "Revert "Turn on HUD dragging and autoclosing.""
This reverts commit 7c45c0b8d2.
2011-02-11 14:59:42 +01:00
Worros
36f5c59226 Script: Fetch Winamax results
This script will fetch all of the known Winamax tourney ids from the database,
then fetch the results from the Winamax website and write them to ~/.fpdb/Results/Winamax

Initial version is smart enough not to fetch results that have already been downloaded.

In combination with the recent WinamaxSummary.py Winamax users should now be able to import and
graph tournament results
2011-02-11 18:13:43 +08:00
Worros
af1cdfbae7 Test config mod 2011-02-11 17:53:42 +08:00
Worros
059ca2307f Database: def getSiteTourneyNos(self, site) 2011-02-11 17:53:18 +08:00
Worros
f0c315969f TourneySummary: Add Winamax id 2011-02-11 17:52:14 +08:00
Worros
2a586cf460 SQL: Add function to fetch tourney ids 2011-02-11 17:51:18 +08:00
Worros
4a7a24eb68 WinamaxSummary: Add initial parser for Winamax Summary files 2011-02-11 17:50:45 +08:00
Worros
7c4337bd96 Config: Add ResultsDirectory to <import> 2011-02-11 17:50:07 +08:00
DoNoBaN
7c45c0b8d2 Revert "Turn on HUD dragging and autoclosing."
This reverts commit 8c247e11f6.
2011-02-11 07:45:44 +01:00
Worros
7b43aef4f7 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-11 14:32:05 +08:00
DoNoBaN
b34c893e8f Merge branch 'master' of git://git.assembla.com/free_poker_tools 2011-02-11 07:31:50 +01:00
Worros
224e8207fc SitenameSummary: Template file for summary importing 2011-02-11 12:47:43 +08:00
Worros
4605b371f1 Winamax: Fix tournament buyin and rake info 2011-02-11 00:02:45 +08:00
Worros
ee5d2feba2 Party: Fix tournament buyin parsing 2011-02-10 18:45:12 +08:00