Commit Graph

223 Commits

Author SHA1 Message Date
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
steffen123
1ab4db685f add rush poker field 2010-07-06 18:07:43 +02:00
steffen123
d01435d068 store Tourneys and TourneyTypes for PS tourneys. see ML for more details 2010-07-05 11:48:26 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
steffen123
d291b8621f removed TourneysPlayers.payinAmounts 2010-07-02 22:40:40 +02:00
steffen123
6b417ebdd4 added HandsPlayers.sitout as discussed on ML 2010-07-02 22:17:15 +02:00
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