Commit Graph

131 Commits

Author SHA1 Message Date
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