Commit Graph

1333 Commits

Author SHA1 Message Date
Worros
a9dac26381 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-05-28 22:32:34 +08:00
sqlcoder
060c102843 changes to store date in hudcache.stylekey and display all-time / session / n days stats in hud 2009-05-27 23:34:10 +01:00
sqlcoder
afee4ddb8c minor cosmetic change to autoimport button 2009-05-27 22:25:29 +01:00
sqlcoder
d41a8beacd add self. to variable reference and comment out debug message 2009-05-27 22:21:22 +01:00
Worros
3892b3789d Session breakdown Proof of Concept
Only prints some of the session breakdown to stdout at the moment,
otherwise is a copy of PlayerStats with a bunch of stuff commented out.

Looks like:

DEBUG: len(times) 337
DEBUG: len(diffs) 336
DEBUG: len(index[0]) 2
DEBUG: index [54 88]
DEBUG: index[0][0] 54
Hands in session    0:   54  Start: 22/03/2009 07:04 End: 22/03/2009
07:49 Total: 2669
Hands in session    1:   33  Start: 24/03/2009 17:10 End: 24/03/2009
17:35 Total: 1482

I think the Total number has an index incorrect at the moment.
2009-05-26 16:10:27 +08:00
sqlcoder
013bd0a4e3 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-05-25 22:46:25 +01:00
sqlcoder
90b886e77f another parameter fix to the fpdb.py gui update 2009-05-25 21:30:37 +01:00
Worros
962ce03fea Fix storeHudCache callers 2009-05-25 09:31:36 +08:00
Worros
ab98965b77 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-05-24 19:15:52 +08:00
sqlcoder
e7532ea497 fix typos in control keys in last release 2009-05-23 22:06:41 +01:00
sqlcoder
061ff083a6 get rid of warning message when starting fpdb 2009-05-23 21:42:26 +01:00
sqlcoder
f0b4d82fa5 always release locks when db work finished 2009-05-23 23:33:40 +08:00
sqlcoder
d811c6b656 add rollback to release locks when db reads are finished 2009-05-23 23:31:56 +08:00
sqlcoder
0b29286c9d fix 3bet stat bug in storeHudCache2 2009-05-23 23:26:03 +08:00
sqlcoder
75221f0b6a oops, missed out the key change in previous commit 2009-05-23 23:24:29 +08:00
sqlcoder
06b1ce002f fix sql to work in postgres 2009-05-23 09:47:50 +01:00
Worros
539fdcb070 Merge branch 'master' of git://git.assembla.com/fpdb-sql
Conflicts:

	pyfpdb/Card.py
2009-05-22 09:23:10 +08:00
sqlcoder
203dcb44ae copy storehudcache2 into storehudcache, keeping the extra copy for more changes ... 2009-05-21 23:29:34 +01:00
sqlcoder
ee9d69ae5e more minor cosmetic changes 2009-05-21 23:09:11 +01:00
sqlcoder
a9963a6a47 try to improve look of autoimport tab 2009-05-21 23:00:46 +01:00
sqlcoder
07247de030 changes to allow hud to use stylekey and aggregate stats query 2009-05-21 21:27:44 +01:00
sqlcoder
d986966332 prevent error when trying to close HUD that has already gone 2009-05-21 20:30:18 +01:00
sqlcoder
985d2c28d4 add styleKey to hudcache 2009-05-21 18:43:32 +01:00
sqlcoder
0651e89e2e add try-except blocks and correct spelling 2009-05-21 18:02:42 +01:00
sqlcoder
fcc6cf5d4f updated comment 2009-05-21 18:02:11 +01:00
Ray
f55460341d New table handling stuff and demo.
Not working for windows and not currently used by HUD_main.
2009-05-21 11:13:39 -04:00
Worros
dc8affb8c3 Quick comment add before checking out 0.11 2009-05-21 23:02:50 +08:00
Worros
4819fc28e5 Fix omaha hudCache update 2009-05-21 22:14:49 +08:00
sqlcoder
eda23de609 stop storehudcache from breaking with hudcache changes (storehudcache2 is better) 2009-05-21 12:19:52 +01:00
sqlcoder
828b23510f add rollback to release locks (we should create a set transaction read_only method in fpdb_db) 2009-05-21 11:23:50 +01:00
sqlcoder
399bfd98c6 fix unimportant typo in print 2009-05-21 11:14:47 +01:00
sqlcoder
cf8b6c7e92 several db changes and a fancy playerstats window, now to tidy the code up a bit .... 2009-05-21 04:26:00 +01:00
sqlcoder
93f643a958 fix error when choosing unimplemented menu option 2009-05-20 23:21:50 +01:00
sqlcoder
cee4cade3e Add hotkeys for stats windows and pass main window into guiplayerstats 2009-05-20 09:58:38 +01:00
sqlcoder
b3b99778c9 make player stats use new single detailed query and format the output in python ready for more detailed stats 2009-05-17 22:59:09 +01:00
sqlcoder
e2137a596a screwed up previous release using branches, this should work now (added hc fields as well as hp, made new fields NULLable, use 3b not 3b4b fields), next job calculate some of these fields ... 2009-05-17 17:26:05 +01:00
Worros
a5884ff7ae Fix createHandsActionTable 2009-05-17 12:41:47 +08:00
Worros
2c01a1f911 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-05-17 12:09:55 +08:00
sqlcoder
339f48582c add more stat fields to db 2009-05-17 00:06:53 +01:00
sqlcoder
6495346874 Add new seatsep display flag 2009-05-10 23:11:30 +01:00
sqlcoder
aba5b94847 add new SeatSep display flag for filter, re-order some code with possible aim of using one function instead of 2 similar blocks of code for breakdown and totals 2009-05-10 23:06:35 +01:00
sqlcoder
fe806ccea1 update playerstats for new avgseats column and seats filter (is this window redundant now?) 2009-05-10 22:59:35 +01:00
sqlcoder
3e805f03b1 correct avg seats calculation, select limits in reverse order, i.e. highest first 2009-05-10 22:37:02 +01:00
sqlcoder
a4302b61a9 make gui hide new seats part of filter, refine empty query test 2009-05-10 22:30:26 +01:00
sqlcoder
199a91ea99 add rollback to release locks taken in postgres 2009-05-09 23:18:58 +01:00
Worros
e2d8a58620 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-05-09 10:34:46 +09:30
sqlcoder
b7ee425558 add seats to filters and stats queries 2009-05-08 22:41:09 +01:00
sqlcoder
527232595b change import time calc 2009-05-07 21:24:53 +01:00
sqlcoder
4ffc028bbc oops, missed out the key change in previous commit 2009-05-07 21:24:06 +01:00
sqlcoder
9fe2fc902d make psycopg2 return unicode strings and go back to new recognisePlayerIDs() very similar to @885f0a023 2009-05-07 21:17:14 +01:00