steffen123
6bc3e741c6
removed TourneyTypes.headsUp
2010-07-02 19:39:02 +02:00
steffen123
0477c73801
changed TourneyTypes as discussed, some currency-related fixes
...
I haven't expanded all queries etc. to include the new fields
as that code is not currently used by anything and can be
expanded as needed
2010-06-25 11:02:01 +02:00
steffen123
8a2f881b61
split TourneyTypes.rebuyOrAddon to rebuy and addOn
2010-06-22 22:27:10 +02:00
steffen123
58da99c86c
removed 2 ancient unusued methods and updated TourneysPlayers
...
tested bulk import for PS and FTP, player stats and positional stats
also fixed a little bug that sqlite created HandsPlayers.actionString
with type REAL instead of VARCHAR
2010-06-22 21:05:33 +02:00
steffen123
e6fd3afbba
renamed totalRebuys/AddOns to totalRebuyCount/AddOnCount
2010-06-21 16:45:15 +02:00
steffen123
cfcec2182e
removed fields from Tourneys
...
buyinChips, rebuyChips, addonChips, rebuyAmount, addonAmount and koBounty
2010-06-21 15:48:22 +02:00
steffen123
d207261c82
Merge branch 'master' of git://git.assembla.com/fpdboz
...
removed pyfpdb/fpdb.py
2010-06-21 14:02:08 +02:00
steffen123
de2d810ac5
moved currency field from Sites to Gametypes&TourneyTypes, addded Sites.code
2010-06-20 17:34:58 +02:00
Gerko de Roo
f94fa0c685
Added aggression information in guiplayerstats
2010-06-20 10:02:01 +02:00
Gerko de Roo
d706dea126
Merge branch 'master' of git://git.assembla.com/fpdboz.git
2010-06-20 09:25:06 +02:00
Worros
00dd86ee19
Fix sessionStats query to exclude tourney hands.
2010-06-17 12:57:31 +08:00
Gerko de Roo
1c238e4119
Code change must be reviewed!
...
The Handplayers and Hands both have a street(x)Raises index added to the
query result. I'm not sure this solution works.
2010-06-16 17:17:08 +02:00
Gerko de Roo
d9f6967c1c
Street(x)Bet and street(x)Call and Street(x)Raises
...
Now updates in hud chache also
2010-06-16 17:17:03 +02:00
Gerko de Roo
db6f7989a9
Street(x)Bet street(x)Calls were stored in (db.)handplayers.
...
They were not yet available in (db.)hudchache.
Using the Bets and Call, together with stree(x)Agression the
aggression frequency and aggression factor can be calculated.
2010-06-16 17:16:58 +02:00
sqlcoder
1aafe79b4a
fix name of list indexes query
2010-06-06 13:21:21 +01:00
Worros
12ad272f91
SQL.py - Add functions for listing indexes.
...
Not used anywhere - may be a good reference at some point
2010-06-04 15:26:50 +08:00
sqlcoder
e87e6294c8
return time in filter dates, adjusted using day_start from general config, update playerstats to use this
2010-03-21 11:40:32 +00:00
sqlcoder
c2d05cdfbb
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-03-15 21:51:50 +00:00
sqlcoder
2e83e91ba5
add having clause to sqlite version of guistats query
2010-03-08 22:31:07 +00:00
Worros
14d2861cdd
Re-enable 'variance' for sqlite.
2010-03-05 11:55:00 +08:00
Worros
9505cdc497
Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
2010-02-27 15:45:56 +08:00
sqlcoder
70bb9d687d
add commented out 'explain query plan' to go with previous commit
2010-02-25 20:57:28 +00:00
Gerko de Roo
9dac1f1b84
When all players are selected in player stats
...
The site filter settings were bypassed.
This fix only selects all players from selected sites
2010-02-23 18:55:09 +01:00
sqlcoder
a06aac6da8
correct case in SQL
2010-02-01 08:22:14 +00:00
sqlcoder
9f3c5924b0
oops! missed out SQL.py from last release
2010-02-01 07:59:09 +00:00
sqlcoder
264b75b5b0
fix some sqlite and unicode issues (thanks to Gerko)
2010-01-31 23:46:51 +00:00
sqlcoder
11bc48e126
merge fpdb_db.py into Database.py
2010-01-26 23:54:04 +00:00
sqlcoder
47baee65f9
add tourneyid to hands table (REQUIRES REIMPORT) and fix sqlite db access
2010-01-26 22:46:48 +00:00
Gerko de Roo
d3f17f3fb7
game selector for graphs added.
...
exception caught for games selector for player stats
2010-01-23 14:34:34 +08:00
unknown
ea423f6b2c
added a game selector to the player stats.
2010-01-21 14:14:24 +08:00
Worros
a0475aa4db
[NEWIMPORT] Add function to update hudcache for Hand
2009-12-23 23:14:34 +08:00
Worros
975eb360ef
[NEWIMPORT] Add stubbed variable to insert
2009-12-18 10:27:43 +08:00
Worros
1f70a9ad8a
[NEWIMPORT] Fix thinko on insertPlayer
...
Was returning the player name instead of id in the case where the player exists in the database, but wasn't cached already
Removing some merge gunge too
2009-12-17 01:55:48 +08:00
Worros
56c5521e6a
[NEWIMPORT] Move HandsPlayers insert statement into SQL.py
2009-12-14 18:01:24 +08:00
sqlcoder
85242f13cb
fix bug with hud stats, must use ORDER BY in the selects
2009-12-05 21:59:42 +00:00
Mika Bostrom
a0a6207810
Fix profit graph query
...
At least postgresql requires to have grouping by hp.sawShowdown as well
2009-12-02 12:29:48 +02:00
Worros
395f19b5fb
Add showdown/non-showdown winnings to Grapher
2009-12-02 14:02:06 +08:00
sqlcoder
00c85aa62d
add rebuild indexes option to Database menu (can we put tooltips over these menu options?)
2009-11-29 23:02:45 +00:00
sqlcoder
65fe163379
add ability to display hud stats by number of seats at table (All / Custom / Exact)
2009-11-26 21:28:05 +00:00
sqlcoder
6eba4a5544
fix a merge problem and replace to_char() for sqlite, player stats now working in sqlite :-)
2009-11-19 22:19:41 +00:00
Eratosthenes
1b980e7cad
Fix merge gone wrong.
2009-11-09 19:31:32 -05:00
Eratosthenes
efb0768b97
Merge branch 'master' of git://git.assembla.com/fpdboz
...
Conflicts:
pyfpdb/SQL.py
2009-11-08 22:50:47 -05:00
Worros
15ea852d76
Extend the tablename field in sql to 22 characters
2009-11-07 10:17:28 +08:00
Eratosthenes
99e4211e5d
Integrate new table handling code.
2009-11-06 17:34:42 -05:00
fpdb-mme
6d54da1c49
Merge branch 'master' of git://git.assembla.com/fpdboz
...
Conflicts:
pyfpdb/Configuration.py
pyfpdb/SQL.py
note:hopefully got the merge right
2009-11-04 18:34:28 +01:00
fpdb-mme
9063d9749c
removed all occurences of db_type/db-type
2009-11-03 19:18:51 +01:00
Worros
28ca49d592
Fix GuiSessionStats.py for sqlite
...
Fix based on solution from Eleatic Stranger on 2+2
2009-11-02 17:23:50 +08:00
Worros
f4aa5f1fe1
First fix for sqlite in PlayerStats
...
Fix courtesy of Eleatic Stranger on 2+2 - Page still does not work, need to find an sqlite equivalent to to_char() and variance()
2009-11-02 13:38:36 +08:00
Mika Bostrom
bb6b2ab9a2
Fix session timestamp range
...
PostgreSQL does automatic argument conversion/formatting when dealing
with timestamps. This simplification allows the session stats to be
generated with PostgreSQL as db backend.
2009-10-26 12:55:23 +02:00
Worros
115c44e7b1
Move session stats query into SQL.py
2009-10-26 16:39:37 +08:00