Commit Graph

4397 Commits

Author SHA1 Message Date
steffen123
ac3387c85e Merge branch 'carl' 2010-08-13 00:47:11 +02:00
steffen123
471726d450 make it run with pgsql (gives pretty strange results tho) 2010-08-13 00:34:56 +02:00
steffen123
f77e8ec714 update expected dump for empty db to new db version 2010-08-13 00:26:14 +02:00
sqlcoder
be7705226d improve handling of missing / unavailable db errors 2010-08-12 22:16:27 +01:00
sqlcoder
d6c7ccaeff get tourney stats working for sqlite and pg (pg display still dodgy, think gui is mangling some fields somehow, e.g. sitename) 2010-08-12 22:15:44 +01:00
steffen123
4a3869395c note that positional stats doesnt work on sqlite in menu 2010-08-12 20:30:22 +02:00
steffen123
4bcc622efa The commented out gettext in fpdb.pyw and HHC should work, but doesnt
I tried having those lines in a plain script but same problem - translation file not found
2010-08-12 20:23:36 +02:00
Erki Ferenc
1116b600ff Fix permissions on *.pyw files
Previously the chmod setting *.pyw files executable was after prepgamesdirs, making the files world executable. It has been moved before it to allow prepgamesdirs
to do its job.
2010-08-12 18:50:21 +02:00
Worros
4e9c32ed84 Configuration: Make new gui_cash_stats have sane defaults when missing from config 2010-08-12 22:52:12 +08:00
steffen123
d7f73bf691 Merge branch 'carl'
Conflicts:
	pyfpdb/PokerStarsToFpdb.py we both applied the same fix slightly differently
2010-08-12 16:33:06 +02:00
Worros
ad4fcef2fd DerivedStats: re-fix (break?) sawShowdown again.
Comment from code:

hand.players includes people that are sitting out on some sites for cash games
actionStreets[1] is 'DEAL', 'THIRD', 'PREFLOP', so any player dealt cards
must act on this street if dealt cards. Almost certainly broken for the 'all-in blind' case
and right now i don't care - CG
2010-08-12 21:44:40 +08:00
Erki Ferenc
04a9309f33 Fixed an ebuild bug related to .pyw file permissions
If fpdb is installed using an ebuild for the very first time then fperms mysteriously fails marking the *.pyw files as executables. During a second
install from the ebuild fperms was working which is more mysterious. I have found notices about this behaviour of fperms but couldn't find a proper
solution. However simply replacing fperms with chmod just does the work done.

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-08-12 15:24:19 +02:00
Erki Ferenc
b2f74c62a5 Added live git ebuild
Added an ebuild which installs fpdb from steffen's main tree.

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-08-12 15:24:00 +02:00
steffen123
0c16ac0ac5 merge, minor conflict in PS2Fpdb 2010-08-12 10:46:23 +02:00
steffen123
5d2391c019 fix missing close bracket 2010-08-12 09:42:16 +02:00
Worros
acd80f7666 Fix Stars commit.
Forgot a ')'
2010-08-12 15:35:29 +08:00
Erki Ferenc
31d3c37224 Determine blind amounts from RINGLIMIT and max buyin
The previous method was giving wrong results in some cases (e.g. the preflop forced allin situation from blind positions), so here's an another enhancement. At
PartyPoker there's two types of buyins for a cashgame table: 20BB min and 100BB max. The former has a 40BB max, while the latter has 35BB min too. This patch
makes fpdb to determine if a ring table is a 20BB min or 100BB max table, then calculates the correct big blind amount from that. When big blind is ready then
halves it for the small blind (except when big blind is 0.25$ when small blind is 0.10$).
2010-08-12 14:59:45 +08:00
Worros
5c76ec77d6 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-12 14:40:09 +08:00
Worros
a20bc801e8 Stars: Adjust limit blind lookup
The hash for limit values needed both 20.00 and 20.

Fixed for all values up to 1000
2010-08-12 12:23:22 +08:00
steffen123
b5e481412e fix session stats in pgsql 2010-08-11 06:11:11 +02:00
steffen123
f0b5b4063b fix session viewer in mysql 2010-08-11 05:53:02 +02:00
steffen123
19bcc60c6a missed a spot 2010-08-11 04:50:01 +02:00
steffen123
d1c1a0a0f4 correct Backings.tourneysPlayerId to tourneysPlayersId like it's used in HP 2010-08-11 04:43:17 +02:00
steffen123
f1ac0b1dfa record HC.TTid on pgsql 2010-08-11 04:39:34 +02:00
steffen123
02b5ea8d37 corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite 2010-08-11 04:25:47 +02:00
steffen123
5cba225fb3 improve naming of replacement clauses 2010-08-11 04:23:16 +02:00
steffen123
b385f9f0da this caused it to create a new TourneyType for each Tourney
Revert "remove some default values - if we don't know, don't just assume no/normal"

This reverts commit 7f8243f19d.
2010-08-11 03:10:08 +02:00
steffen123
174aa4adfb hudcache is regenerated properly on mysql now 2010-08-11 00:10:10 +02:00
steffen123
36b212388d make rebuildHudCache act on cash hands only 2010-08-10 23:31:53 +02:00
steffen123
87d4549b67 renamed PP files to match existing scheme 2010-08-10 23:16:30 +02:00
steffen123
d7a7cca2ab Revert "GRAPH: Put legend in "best" position, not fixed in top left."
previous consensus that I wasn't aware was to have the old setting, since "best" is
only better in some cases so I'm reverting this
This reverts commit 2d8f9dcc78.
2010-08-10 20:50:19 +02:00
steffen123
f0ef6e7e8b add stub for query for positional stats on sqlite 2010-08-10 20:45:40 +02:00
steffen123
ced47999bb GuiImap: don't show email password 2010-08-10 06:14:15 +02:00
steffen123
9dff572385 GuiImap: more error handling 2010-08-10 05:19:54 +02:00
steffen123
4da521eadc GuiImap: pass on auth failed error to GUI 2010-08-10 05:10:39 +02:00
steffen123
d94254c9cd GuiImap: turn non-editable fields into labels 2010-08-10 04:50:27 +02:00
steffen123
59f8bb1a70 GuiImapFetcher can save config 2010-08-10 04:44:35 +02:00
steffen123
97f1f8b836 display existing configs in IMAP tab 2010-08-10 03:50:26 +02:00
steffen123
6e654e5075 allow multiple email configs, start of nicer GUI for it 2010-08-10 03:28:57 +02:00
Erki Ferenc
c7e86513c7 Added validation to blind detection
Included checks for any ring game hands if there's a blind could be
found and if either SB or BB detection fails then determineGameType will
return None. It's needed for handling some invalid ring hands (e.g.
table closed messages at the end of a HH file).

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-08-10 02:05:14 +02:00
gimick
a6d7f27f5b FullTilt fixup currency typo 2010-08-10 00:32:53 +01:00
gimick
792e66c2b5 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-10 00:31:14 +01:00
steffen123
c5acd04bb6 This makes HUD Cache work again but without tourneytypeid - one of these lines breaks it 2010-08-10 01:27:25 +02:00
steffen123
4fbb26b4fa remove some 100% duplicates 2010-08-10 01:00:35 +02:00
steffen123
08451c77d5 handle player not found 2010-08-10 00:49:14 +02:00
steffen123
10fac81ef9 handle tourney not found 2010-08-10 00:46:55 +02:00
steffen123
391c42cdff add error handling for invalid entry into tourneNo field 2010-08-10 00:35:02 +02:00
steffen123
3467f757d3 refactor a bit in GuiTourneyViewer to reduce code duplication 2010-08-10 00:25:43 +02:00
steffen123
8a6fe1588c PP histories by email. note how it skips the lines about hero raising 2010-08-10 00:05:13 +02:00
steffen123
f72b45e8f0 PP corner case history from ferki 2010-08-10 00:03:24 +02:00