Commit Graph

278 Commits

Author SHA1 Message Date
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -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
lastpoet
6e00ba9d78 add date boundaries in filters 2010-10-13 14:08:48 +08:00
steffen123
43a5fb0f74 Merge branch 'carl' 2010-10-10 17:48:54 +02:00
steffen123
dfd47cfbfb unify some strings and remove misleading comment 2010-10-09 14:02:39 +02:00
lastpoet
8b25c67ba9 basic optimisation in stats 2010-10-06 15:57:33 +01:00
danny
126eb0c0bc Added graphing improvements. 2010-10-04 08:54:20 +08:00
Worros
43edb615b0 SQL: Fix MySQL/Postgres Actions and HandsActions 2010-09-30 17:19:35 +08:00
Chaz
1b0db117ce * updated 'createHandsActionsTable' and 'store_hands_actions' in the SQL dictionary 2010-09-28 17:01:31 -04:00
Chaz
c1b2a0040c * Added HandsActions & Actions indexes & foreign keys to Database.py
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Worros
d0df1b6e44 SQL: Iport tourneyResults query 2010-09-09 18:08:03 +08: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
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
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
steffen123
aabc9d2006 actually store TT.maxSeats 2010-08-22 06:46:47 +02:00
steffen123
52d38020d2 fix update hud cache/auto import 2010-08-21 18:30:10 +02:00
steffen123
6474f92dd1 add new tables RawHands/RawTourneys 2010-08-21 04:29:29 +02:00
steffen123
0c93963378 add these to HudCache storing: street0_4BChance/Done, other3/4BStreet0 2010-08-19 06:14:12 +02:00
steffen123
97dcc4561b add (foldTo)otherRaisedStreet0 storing to HudCache 2010-08-19 06:05:59 +02:00
steffen123
13ce5117c8 add wonWhenSeenStreet2-4 storing to HudCache 2010-08-19 05:59:00 +02:00
steffen123
69c1c41b36 add these stats to DB/DerivedStats/SQL: street0_4BChance/Done, other3/4BStreet0 2010-08-19 04:09:24 +02:00
steffen123
8aecf117bb add otherRaisedStreet0 and foldToOtherRaisedStreet0 with defualt false 2010-08-19 04:01:44 +02:00
steffen123
d5fb0b3c36 add wonWhenSeenStreet2-4 to DerivedStats' unimplemented section, store 0.0 by default 2010-08-19 03:55:12 +02: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
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
174aa4adfb hudcache is regenerated properly on mysql now 2010-08-11 00:10:10 +02:00
steffen123
f0ef6e7e8b add stub for query for positional stats on sqlite 2010-08-10 20:45:40 +02: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
bb743b4567 add button to display info from TP to tourneyviewer 2010-08-09 23:41:48 +02:00
steffen123
c5bd036b6e add tourney viewer that displays info from TT and T, but not yet TP 2010-08-09 23:22:58 +02:00
Worros
333c0bb716 Filters: fix SQL query to only return ring game blind levels 2010-08-05 17:18:43 +08:00
Worros
2859948c8a Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-05 12:04:14 +08:00
Worros
c8006dc468 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-05 12:03:54 +08:00
steffen123
9f52867bf6 add HP.wentAllInOnStreet field. explanation on wiki. 2010-08-04 23:41:50 +02:00
sqlcoder
15f99ddfa7 add bbper100 and BBper100 stats for HUD 2010-08-04 22:23:28 +01:00
steffen123
102cfa5d88 Merge branch 'eric'
Conflicts:
	pyfpdb/DerivedStats.py - identical change was already pulled
2010-08-02 14:30:29 +02:00
steffen123
1b4b335b29 Merge branch 'carl' 2010-08-02 14:00:26 +02:00
steffen123
9ad275e11c recognise and store knockout and bounty 2010-08-02 13:53:50 +02:00
Eric Blade
8daee8da9b Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-01 02:42:48 -04:00
steffen123
b4ff46ec4f fix typo in pgsql raiseFirstInChance 2010-07-31 22:31:55 +02:00
steffen123
c136f7a2dc fix pgsql table creation 2010-07-31 22:27:24 +02:00
unknown
4fa5ce2411 sql.py change for storing currency 2010-07-29 17:27:36 -04:00
sqlcoder
9c5581caf0 rename stealattempt fields to raisefirstin and derive accordingly 2010-07-27 22:27:18 +01:00
steffen123
e0b194ddf0 minor cleanup 2010-07-27 17:43:47 +02:00
steffen123
7f25cf6da8 DB: allow NULL for TT.currency/buyin/fee for when this info is not available 2010-07-23 04:00:25 +02:00
steffen123
ad28168d02 DB/TOUR: remove HandsPlayers.tourneyTypeId 2010-07-22 21:03:01 +02:00
steffen123
7063bc8905 TOURNEY: stop it from creating new TT for each tourney 2010-07-22 20:23:27 +02:00
steffen123
a6c43cdca7 TOUR: a trivial fix, a trivial change, and a few debug prints 2010-07-22 19:26:11 +02:00
steffen123
656986826f TOURNEY: record added/addedCurrency 2010-07-17 02:35:02 +02:00
steffen123
90ceafda6d DB: Added TT.added, addedCurrency 2010-07-17 02:19:12 +02:00
steffen123
d65b6e55c8 TOURNEY: fix recording of Hands.tourneyId, allow it to be NULL 2010-07-15 02:08:59 +02:00
steffen123
9e004e8962 DB: remove default row for TT, allow HP.ttId to be NULL and remove default 2010-07-15 01:18:36 +02:00
steffen123
ebf16c6aa9 TOURNEY: store HandsPlayers.tourneysPlayersId 2010-07-15 00:27:57 +02:00
steffen123
6a8f3ff68b TOURNEY: createOrUpdateTourneysPlayers now updates fields as needed 2010-07-14 23:05:37 +02:00
steffen123
ced3e8ac72 TOURNEY: rename a query 2010-07-14 22:44:10 +02:00
steffen123
85cc5a5471 TOURNEY: DB.createOrUpdateTourney fills in missing fields now 2010-07-14 22:36:07 +02:00
steffen123
79043988c2 Merge branch 'sqlcoder' 2010-07-14 18:52:33 +02:00
steffen123
5cd78b608b DB: add TourneyTypes.rebuyFee and addOnFee 2010-07-14 01:49:55 +02:00
sqlcoder
02e1a71592 fix broken graphing 2010-07-13 20:21:34 +01:00
steffen123
b8968591c5 TPS: display limitType and category 2010-07-13 20:21:05 +02:00
steffen123
c3077d5d66 Merge carls latest fixes 2010-07-12 16:53:14 +02:00
steffen123
04ec51d7c1 DB: Fix capitalisation of Gametypes table in SQLite 2010-07-12 11:00:50 +02:00
Worros
585fd2feb2 Update graph and session queries to identify ring games 2010-07-12 18:41:28 +10:00
steffen123
32e1cb7b7f another fix for the introduction of TT.limitType 2010-07-12 10:20:53 +02:00
Worros
627c044b6f Fix grapher so that only cash limits show up 2010-07-12 18:19:01 +10:00
steffen123
8d5e339973 make Filters work inspite of new tt.limitType 2010-07-12 08:17:36 +02:00
steffen123
78d7d1b941 comment out duplicate query 2010-07-12 08:13:09 +02:00
steffen123
79282270fb DUMP: fix dumpDB Gametypes, add Backings 2010-07-11 14:33:27 +02:00
steffen123
d53b3e1b4a DB: add backings table, fix a couple of log entries 2010-07-11 12:47:28 +02:00
steffen123
9283d7b579 some fixes for handStart rename, fixes for TT.category/limitType,
dumpDatabase method and menu entry
2010-07-11 09:47:05 +02:00
steffen123
5fee5136a9 DB: renamed Hands.handStart to Hands.startTime for consistency 2010-07-11 08:05:54 +02:00
steffen123
822c592db8 DB: add category and limitType to TourneyTypes 2010-07-11 06:42:37 +02:00
steffen123
cfb0a3f3d5 remove default value and allow null for Hands.rush 2010-07-11 06:37:25 +02:00
steffen123
17b3b77022 TPS: correct spent display for PSFP games 2010-07-11 06:08:57 +02:00
steffen123
e526501384 rename GuiPlayerStats to GuiRingPlayerStats and Filters to RingFilters 2010-07-11 05:49:58 +02:00
steffen123
6038342de7 TPS displays profit/tourney 2010-07-11 05:35:41 +02:00
steffen123
7bf7463705 TPS displays currency and fee now 2010-07-11 05:28:43 +02:00
steffen123
ed096b6872 TPS displays ROI% 2010-07-11 05:22:36 +02:00
steffen123
33760fae9c TPS displays ITM% 2010-07-11 05:11:43 +02:00
steffen123
913fa7d7d8 fix formatting and add tourneycount to TPS 2010-07-11 04:59:31 +02:00
steffen123
9815ac976b display buyin and sitename rather than TT.id 2010-07-11 04:47:15 +02:00
steffen123
7ddb032205 display unknownRank in tourney player stats 2010-07-11 04:37:48 +02:00
steffen123
8232085be9 display 1st/2nd/3rd in tourney player stats 2010-07-11 03:42:48 +02:00
steffen123
86a1f86b51 tourney query returns key information - now just need to display it 2010-07-10 23:21:36 +02:00
steffen123
eb976203c4 intermediate commit for tourney stats 2010-07-10 22:24:32 +02:00
steffen123
ca61189706 added TourneyTypeCount to DB Stats window 2010-07-10 19:39:05 +02:00
steffen123
b1e41a54ec intermediate commit on the way to tourney stats 2010-07-10 05:19:50 +02:00
steffen123
4c00ef19cc implement simple DB stats - Hand and tourney count 2010-07-10 02:07:47 +02:00
steffen123
310c7a2947 PS Summary now stores rank, winnings, etc. into TourneysPl. 2010-07-09 01:07:22 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
c6b6f8a788 many not really separable changes for IMAP import and associated cleaning
- deactivated use of TourneySummary (short: TS) from HHC and subclasses
- menu entry for IMAP import
- converted ImapSummaries (short: IS) to use the config file
- IS now optionally supports non-SSL and can run on folders other than INBOX
- removed gametypes and getGameTypeAsString from TS method as identical one is in Hand
- some other stuff
2010-07-08 19:46:25 +02:00
steffen123
eb3233ac98 more tourney work
- moved HH-based tourney handling completely into Hand
- renamed Tourney.py to TourneySummaries
- changed many DB fields to allow NULL and removed defaults
2010-07-07 04:01:40 +02:00
steffen123
04ed65e88c minor DB changes. recording TourneysPlayers now for FTP and PS 2010-07-07 00:52:44 +02:00