Chaz Littlejohn
66e1cc3704
This commit includes a set of updates which:
...
* implement the new SessionsCache table
- The SessionsCache table can be used to track overall or game sepecific sessions
- The totalProfit field is summed by gameTypeId for cash games allowing for multiple currencies
- Tournament profit (cashes - buy-ins) are also recorded in totalProfit and its grouped by tourneyId
* change the sequence and methodology surrounding the import of hands
- fpdb_import.py implements a unique Hand.py method for each table
- Hands SessionCache and HudCache records themselves are 'cached' to allow for 'bulk insert' at EOF
- import is reorganized to allow for efficient locking in multiple connection environments
* changes the name of the index created by addTPlayersIndex (so that it is unique) to accommodate a bug in MySQL 5.5
TODO
* A 'rebuild_sessionsCache' method is still required
* Further commits are expected to fix bugs created during the porting of this code
2011-03-23 19:27:55 +00:00
Worros
eef755ac01
Merge branch 'master' of git://git.assembla.com/fpdb
2011-03-10 18:06:30 +08:00
Worros
07d2d5733c
TourneySummary: SQLite complaining about Decimal format.
...
Variables were already passed in as int - allow them to remain so
2011-03-10 18:03:21 +08:00
Steffen Schaumburg
8a519699b5
update copyright year
2011-03-10 06:16:31 +01:00
Worros
3d7f75c933
Merge branch 'master' of git://git.assembla.com/fpdb
2011-02-28 10:00:45 +08:00
atinm
644b2d7849
replaced /usr/bin/python with /usr/bin/env python
2011-02-27 21:17:07 +08:00
Scott Wolchok
fc46b70c41
Rename decimal.py to decimal_wrapper.py so we don't break when
...
cdecimal is not installed.
2011-02-25 14:18:12 -05:00
Worros
f0c315969f
TourneySummary: Add Winamax id
2011-02-11 17:52:14 +08:00
Worros
9c2c18f5ca
TourneySummary: Add alternate lookup for FTP
2010-11-15 13:40:57 +08:00
Worros
a39b4704e6
TourneySummary: Add ability to create a db object if passed None
2010-11-09 20:08:15 +08:00
Worros
9dea6cc8e3
TourneySummary: Remove unused function
2010-11-09 17:53:10 +08:00
Worros
235a8baa5f
L10n: Remaining files
2010-09-23 14:31:16 +08:00
Worros
7f61fba314
PSS: Switch over to regex based parsing
2010-09-10 13:22:52 +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
04849775d7
TS: add new builtFrom option
2010-09-04 16:32:46 +08:00
steffen123
b6e59b54de
fix that it creates a new TT for each tourney when maxseats is unknown.
2010-08-25 06:37:22 +02:00
steffen123
cff0206e4d
gettext-ify tournesummary and interlocks
2010-08-16 01:58:05 +02:00
steffen123
90ceafda6d
DB: Added TT.added, addedCurrency
2010-07-17 02:19:12 +02:00
steffen123
f6232004ad
PSS: PS summary import now supports non-ascii playernames in sqlite
2010-07-16 20:37:53 +02:00
steffen123
85cc5a5471
TOURNEY: DB.createOrUpdateTourney fills in missing fields now
2010-07-14 22:36:07 +02:00
steffen123
40088d6cf3
rename DB.createOrUpdateTourneyType to createTourneyType since TTs are static
2010-07-14 21:07:19 +02:00
steffen123
8ebea1a5ce
PSS: now records game category and limit type
...
Not for mixed games - again, I need examples
2010-07-13 20:17:15 +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
87fbd56091
imports still playing tourney's TP, but not winnings of finishers
2010-07-11 01:55:15 +02:00
steffen123
310c7a2947
PS Summary now stores rank, winnings, etc. into TourneysPl.
2010-07-09 01:07:22 +02:00
steffen123
5b64ad771a
it now stores entries, prizepool and endTime into TT
2010-07-08 23:47:06 +02:00
steffen123
201b3a5b6c
PS Summary now parses start/endTime. fixes MySQL support
...
also removed some but not all the new prints
2010-07-08 21:41:27 +02:00
steffen123
10cfaf2c75
missed file for last commit
2010-07-08 20:00:43 +02:00
steffen123
0ecd19fbdf
change PSS to give None for *Count
2010-07-07 08:12:10 +02:00
steffen123
ca5ba3ee68
comment on reverted method-deletion
2010-07-07 07:00:57 +02:00
steffen123
c855706640
Revert "removed seemingly misplaced method"
...
This reverts commit 7042f11954
.
2010-07-07 06:59:08 +02:00
steffen123
92a4b105cc
parsing PS summary emails now. just need to write insert/update code now
2010-07-07 06:58:42 +02:00
steffen123
e3ce1b8c2d
remove old empty function
2010-07-07 04:24:46 +02:00
steffen123
7042f11954
removed seemingly misplaced method
2010-07-07 04:11:28 +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