Commit Graph

427 Commits

Author SHA1 Message Date
Chaz
68b92b5130 Incremented the db version up to 146 and fixed 1 bug 2010-12-01 16:18:30 -05:00
Chaz
e0f76a508c reverted HudCache styleKey to include only YYMMDD - however, it now stores the d000000 date based off the tz & offset 2010-11-30 14:05:28 -05:00
Chaz
c6802484cb Updated init_hud_stat_vars() so that it no longer requires Filters.py for the offset calculations 2010-11-29 15:20:05 -06:00
Chaz
872ea008dd Updated database version to 145 2010-11-25 02:35:50 -06:00
Chaz
8026ba256a It's %H, not %h 2010-11-24 14:41:12 -06:00
Chaz
ee926ac9ca * Modified init_hud_stat_vars() so that it uses the timezone & day_start offset from Filters.py 2010-11-24 14:18:42 -06:00
Chaz
ac4cae5abf * Updated the methods, variables, and SQL in Database.py and SQL.py to add Hours to the HudCache.styleKey field 2010-11-24 14:14:29 -06:00
steffen123
43a5fb0f74 Merge branch 'carl' 2010-10-10 17:48:54 +02:00
steffen123
dfd47cfbfb unify some strings and remove misleading comment 2010-10-09 14:02:39 +02:00
Worros
791ebba895 Database: Remove trainiling whitespace
Non functional patch. Brining the tree closer to Forrests
2010-10-07 11:45:31 +08:00
steffen123
c961b49acb raise DB version for HA changes 2010-10-02 13:55:18 +02:00
Worros
9f64602338 Database, Importer: Convert print to log.info 2010-10-01 10:44:27 +08:00
Chaz
9c225a5b72 * Updated storeHandsPlayers() to insert via executemany() if 'saveActions' is False and via looped execute() to call get_last_insert_id() if 'saveActions' is True 2010-09-28 23:34:20 -04:00
Chaz
a76e34598d * Modified storeHandsPlayers() so it returns a dictionary of handId & playerId to handPlayerIds
* Filled storeHandsActions() with the required information
* Updated Hand.insert so that it calls storeHandsActions() and added the variable dbid_hpid to receive the new dictionary
2010-09-28 17:09:24 -04:00
Chaz
c1b2a0040c * Added HandsActions & Actions indexes & foreign keys to Database.py
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Worros
1ae01f1502 Database: Mark 27 Single draw as a lowball game 2010-09-24 13:47:24 +08:00
Worros
b8e66ee954 Winamax setup 2010-09-23 23:02:00 +08:00
Worros
591543d468 L10n updates: C->F 2010-09-23 00:10:32 +08:00
Worros
2e99fc38bc Update files to prepare iPoker 2010-09-06 11:21:22 +08:00
Worros
26eca40b31 More HandsActions stubbing 2010-09-02 00:19:31 +08:00
Worros
188201025f Database: rename storeHandsPlayers to storeHandsActions
As the stub function was supposed to be called
2010-09-01 20:51:23 +08:00
Worros
7aeb5e4531 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-09-01 11:08:04 +08:00
Worros
9a3d60e0b3 HandsActions: Stub in the remaining calls for HandsActions 2010-09-01 10:47:13 +08:00
sqlcoder
9704cd7fe5 routines to store site list in config 2010-08-31 22:34:48 +01:00
steffen123
b06c7763d8 dumpDB stores ignore for importTime and styleKey as those are runtime-dependant and outside of its scope 2010-08-22 07:54:03 +02:00
steffen123
6ba7f36a0e fix import of tourneys 2010-08-22 07:32:10 +02:00
steffen123
aabc9d2006 actually store TT.maxSeats 2010-08-22 06:46:47 +02:00
steffen123
52d38020d2 fix update hud cache/auto import 2010-08-21 18:30:10 +02:00
steffen123
6474f92dd1 add new tables RawHands/RawTourneys 2010-08-21 04:29:29 +02:00
Worros
924e155b45 Database: Add optional argument for pprinting the player data. 2010-08-19 18:23:26 +08:00
steffen123
4f854c5c35 add comment about non-standard structures for sbet/bbet 2010-08-19 07:34:37 +02:00
steffen123
2a673b8975 assume bb=SB and BB=2*SB and store accordingly 2010-08-19 04:24:38 +02:00
steffen123
69c1c41b36 add these stats to DB/DerivedStats/SQL: street0_4BChance/Done, other3/4BStreet0 2010-08-19 04:09:24 +02:00
steffen123
8aecf117bb add otherRaisedStreet0 and foldToOtherRaisedStreet0 with defualt false 2010-08-19 04:01:44 +02:00
steffen123
d5fb0b3c36 add wonWhenSeenStreet2-4 to DerivedStats' unimplemented section, store 0.0 by default 2010-08-19 03:55:12 +02:00
steffen123
0e8c9af16f remove log entry that's over 90% of my log 2010-08-17 21:49:55 +02:00
steffen123
2115b57142 finish gettextifying database 2010-08-16 02:50:17 +02:00
steffen123
ba3fdd4656 gettextify Database up to line 1500 2010-08-16 02:40:58 +02:00
steffen123
4f3e4ab7d4 gettextify database to line 1000 2010-08-16 02:28:31 +02:00
steffen123
471726d450 make it run with pgsql (gives pretty strange results tho) 2010-08-13 00:34:56 +02:00
sqlcoder
be7705226d improve handling of missing / unavailable db errors 2010-08-12 22:16:27 +01:00
steffen123
d1c1a0a0f4 correct Backings.tourneysPlayerId to tourneysPlayersId like it's used in HP 2010-08-11 04:43:17 +02:00
steffen123
f1ac0b1dfa record HC.TTid on pgsql 2010-08-11 04:39:34 +02:00
steffen123
02b5ea8d37 corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite 2010-08-11 04:25:47 +02:00
steffen123
5cba225fb3 improve naming of replacement clauses 2010-08-11 04:23:16 +02:00
steffen123
174aa4adfb hudcache is regenerated properly on mysql now 2010-08-11 00:10:10 +02:00
steffen123
36b212388d make rebuildHudCache act on cash hands only 2010-08-10 23:31:53 +02:00
steffen123
bb743b4567 add button to display info from TP to tourneyviewer 2010-08-09 23:41:48 +02:00
steffen123
c5bd036b6e add tourney viewer that displays info from TT and T, but not yet TP 2010-08-09 23:22:58 +02:00
steffen123
9f52867bf6 add HP.wentAllInOnStreet field. explanation on wiki. 2010-08-04 23:41:50 +02:00
steffen123
2f9ded5141 fix pgsql index rebuilding 2010-08-04 17:39:45 +02:00
steffen123
102cfa5d88 Merge branch 'eric'
Conflicts:
	pyfpdb/DerivedStats.py - identical change was already pulled
2010-08-02 14:30:29 +02:00
steffen123
1b4b335b29 Merge branch 'carl' 2010-08-02 14:00:26 +02:00
steffen123
9ad275e11c recognise and store knockout and bounty 2010-08-02 13:53:50 +02:00
Eric Blade
8daee8da9b Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-01 02:42:48 -04:00
steffen123
ed239668c0 fix pgsql index and foreign key drops 2010-07-31 23:55:05 +02:00
unknown
a11f4f61cd store game currency 2010-07-29 17:27:07 -04:00
steffen123
216c9f2714 increase DB version for sqlcoder's recent DB change 2010-07-29 17:31:40 +02:00
sqlcoder
9c5581caf0 rename stealattempt fields to raisefirstin and derive accordingly 2010-07-27 22:27:18 +01:00
steffen123
7f25cf6da8 DB: allow NULL for TT.currency/buyin/fee for when this info is not available 2010-07-23 04:00:25 +02:00
steffen123
ad28168d02 DB/TOUR: remove HandsPlayers.tourneyTypeId 2010-07-22 21:03:01 +02:00
steffen123
7063bc8905 TOURNEY: stop it from creating new TT for each tourney 2010-07-22 20:23:27 +02:00
steffen123
a6c43cdca7 TOUR: a trivial fix, a trivial change, and a few debug prints 2010-07-22 19:26:11 +02:00
steffen123
dfacdbea7a Merge branch 'sqlcoder' 2010-07-18 02:03:40 +02:00
steffen123
7f2364cf1d DUMP: change format slightly 2010-07-17 05:13:38 +02:00
steffen123
139dfbafb5 CLEANUP: move dump db file saving stuff into fpdb.pyw 2010-07-17 05:11:09 +02:00
steffen123
59294a7b94 TIMES: record Hands.importTime as UTC instead of localtime 2010-07-17 03:01:09 +02:00
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
f6232004ad PSS: PS summary import now supports non-ascii playernames in sqlite 2010-07-16 20:37:53 +02:00
steffen123
d65b6e55c8 TOURNEY: fix recording of Hands.tourneyId, allow it to be NULL 2010-07-15 02:08:59 +02:00
steffen123
10a94fa441 IMAP: fix a silly mistake I made earlier 2010-07-15 01:53:46 +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
sqlcoder
3657327566 clear player cache when recreating database 2010-07-14 21:07:20 +01:00
steffen123
40088d6cf3 rename DB.createOrUpdateTourneyType to createTourneyType since TTs are static 2010-07-14 21:07:19 +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
b07505d367 tidy up closedown 2010-07-13 21:23:32 +01:00
steffen123
04ec51d7c1 DB: Fix capitalisation of Gametypes table in SQLite 2010-07-12 11:00:50 +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
8e9d588322 first version of Tourney Player Stats works 2010-07-11 03:13:58 +02:00
steffen123
87fbd56091 imports still playing tourney's TP, but not winnings of finishers 2010-07-11 01:55:15 +02:00
steffen123
6a3587e92e failed attempt at making SQLite accept non-ASCII player names for this 2010-07-11 00:37: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
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
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