Commit Graph
100 Commits
Author SHA1 Message Date
Worros 5b5216bbe2 Fix test_PokerStars.py 2009-11-26 22:41:42 +08:00
Worros b794d20f6d Make sqlite :memory: work again 2009-11-26 22:02:48 +08:00
Worros 9e7e22ffa1 Start of in tree HH archive 2009-11-26 17:00:22 +08:00
Worros ac96d88a8c Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-26 10:01:53 +08:00
Worros c9901c3106 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-26 10:01:39 +08:00
Worros aee9a7339c [NEWIMPORT] Stop duplicate hands from crashing import 2009-11-25 16:29:30 +08:00
Worros 83f06c35cc [NEWIMPORT] HandsPlayers.CBet stats 2009-11-25 14:59:29 +08:00
Worros 30332d2132 Remove forced assert 2009-11-25 10:27:54 +08:00
Worros 1b2a45b77e Prefs: Fix display when a comment node exists in config 2009-11-25 09:06:01 +08:00
Worros a87a145c28 [NEWIMPORT] HandsPlayers.streetXCalls and streetXBets
Pretty sure the bets stat is wrong
2009-11-25 00:57:14 +08:00
Worros 3bb1656603 [NEWIMPORT] Add HandsPlayers.wonAtSD 2009-11-24 23:23:21 +08:00
Worros 9203e0b0d8 [NEWIMPORT] HandsPlayers.sawShowdown added 2009-11-24 23:14:43 +08:00
Worros dc1b0d2e38 [NEWIMPORT] Calculate wonWhenSeenStreet1
Won is defined as 'collected money from the pot'

Seen street 1 does not require vpip on street 0
2009-11-24 21:58:27 +08:00
Worros e9a858e4cd Make DEBUG = False in DerivedStats 2009-11-24 17:55:00 +08:00
Worros 48c395565e [NEWIMPORT] Add HandsPlayers.totalProfit
Grapher now works after import yay
2009-11-24 17:29:54 +08:00
Worros d65ee55b64 [NEWIMPORT] Calculate rake, make card calculation holdem only
Stud card fetching still terminally broken
2009-11-24 16:44:46 +08:00
Worros d617f1c4e0 [NEWIMPORT] Update Database.storeHandsPlayers 2009-11-24 16:39:59 +08:00
Worros ef9abd2948 Force all output from HHCs to by utf8 2009-11-24 11:21:55 +08:00
Worros 34e7fb0459 [NEWIMPORT] Fix HandsPlayers.cardX init 2009-11-23 00:20:51 +08:00
Worros 943e188a4d [NEWIMPORT] Hole card data for flop games
Take some code from Grindi to calculate playersAtStreetX and streetXRaises
2009-11-23 00:05:23 +08:00
Worros 1650b76ea5 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-22 13:07:49 +08:00
Worros d08e9a1ea3 Add support for UTF-8 HH type.
Able to parse and import an EUR hh file
2009-11-22 12:34:11 +08:00
Worros 14ccde73a2 Fix Playerstats for Pot Limit
Still broken for cap games. Need a more flexible mechanism for this
2009-11-21 11:16:08 +08:00
Worros 8d2b315fc8 Fix PL in Graph viewer
Grapher still doesn't support the cap games, that code could use some cleanout.
2009-11-21 11:11:31 +08:00
Worros 348420f30d Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-11-20 21:28:05 +08:00
Worros 4d4387bd94 Removing second layer of try:
Killing until we figure out what it was supposed to catch
2009-11-20 15:11:58 +08:00
Worros eedffdf472 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-20 09:11:46 +08:00
Worros 5ba4dbb0e7 Clean DerivedStats.py 2009-11-19 17:54:00 +08:00
Worros ea323d0d22 Fix mod() test for sqlite 2009-11-19 17:33:12 +08:00
Worros 33592fbc4e Add math function for sqlite - may still be broken 2009-11-19 17:24:22 +08:00
Worros eadd7c045c Adding broken mod() test 2009-11-19 17:22:53 +08:00
Worros 571cbe07a0 Add test functions for SQLite
Added test for VARIANCE()

Added test for floor()
2009-11-19 15:28:48 +08:00
Worros 29d135da1b Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-11-18 13:52:41 +08:00
Worros 36fe5d2617 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-11-18 00:14:21 +08:00
Worros 5b02153b43 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-11-16 15:34:23 +08:00
Worros c9b9c848be Add aggregate function VARIANCE() for sqlite 2009-11-16 15:19:24 +08:00
Worros 15ea852d76 Extend the tablename field in sql to 22 characters 2009-11-07 10:17:28 +08:00
Worros 5c7cce090e [NEWIMPORT] Added street0VPI to HandsPlayers
Also fixed last patch for streetXSeen
2009-11-06 19:30:50 +08:00
Worros 006d7164ea [NEWIMPORT] Insert streetXSeen col into HandsPlayers 2009-11-06 19:13:52 +08:00
Worros 5aef7b6054 [NEWIMPORT] Insert winnings column into HandsPlayers 2009-11-06 18:39:59 +08:00
Worros bea6bf2d6b Merge branch 'master' of git://git.assembla.com/fpdb-mme
Conflicts:
	pyfpdb/Configuration.py
2009-11-05 12:22:05 +08:00
Worros 5d6138e2a8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-11-05 12:16:32 +08:00
Worros cc89433ba8 Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:
	pyfpdb/Configuration.py
2009-11-04 14:44:25 +08:00
Worros f276ad4dfa Merge branch 'master' of git://git.assembla.com/fpdb-mme
Conflicts:
	pyfpdb/Configuration.py
2009-11-03 17:25:54 +08: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
Worros d5604e0e73 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-10-31 08:57:04 +08:00
Worros ae7e721ede Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-31 08:56:36 +08:00
Worros ce0e2c139b Revert "Print out actual exception when import fails"
This reverts commit 626ff49eb4.

Turns out this commit is python 2.6 syntax
2009-10-31 08:55:54 +08:00
Worros c56f9c28fd Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-30 14:37:05 +08:00
Worros 3f09bf3d65 Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-30 14:36:42 +08:00
Worros 636727ebb6 Start of Partouche support, shift NEWIMPORT functions 2009-10-30 14:35:45 +08:00
Worros a872769b2b Fix cli to Everleaf 2009-10-29 16:37:33 +08:00
Worros 626ff49eb4 Print out actual exception when import fails 2009-10-29 13:17:17 +08:00
Worros d80360b3bb Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-10-29 12:28:48 +08:00
Worros 159c39245f Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-28 10:14:19 +08:00
Worros 57f05ba2fb Merge branch 'master' of git://git.assembla.com/fpdb-mme 2009-10-28 00:21:13 +08:00
Worros bef37abbf5 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-10-28 00:20:55 +08:00
Worros 6cb16df055 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-10-28 00:20:44 +08:00
Worros 69ece6eeba Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-28 00:20:26 +08:00
Worros 2be3ab8897 Add Stars icon to folder 2009-10-27 13:18:51 +08:00
Worros ef39f5858e Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-27 11:40:18 +08:00
Worros 9144c7ae68 Revert "Merge branch 'master' of git://git.assembla.com/fpdb-mme"
This reverts commit 1f07fa9a14.
2009-10-27 11:28:27 +08:00
Worros 6b7b46754c Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-26 23:00:08 +08:00
Worros 9360bd6894 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-26 17:27:29 +08:00
Worros 115c44e7b1 Move session stats query into SQL.py 2009-10-26 16:39:37 +08:00
Worros e0c193b77d Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-10-26 14:41:11 +08:00
Worros 1f07fa9a14 Merge branch 'master' of git://git.assembla.com/fpdb-mme
Conflicts:
	docs/tabledesign.html
	pyfpdb/CarbonToFpdb.py
	pyfpdb/Configuration.py
	pyfpdb/Database.py
	pyfpdb/EverleafToFpdb.py
	pyfpdb/FpdbSQLQueries.py
	pyfpdb/GuiAutoImport.py
	pyfpdb/GuiBulkImport.py
	pyfpdb/GuiGraphViewer.py
	pyfpdb/GuiPlayerStats.py
	pyfpdb/GuiTableViewer.py
	pyfpdb/HUD_config.xml.example
	pyfpdb/HUD_main.py
	pyfpdb/HandHistoryConverter.py
	pyfpdb/Hud.py
	pyfpdb/Mucked.py
	pyfpdb/SQL.py
	pyfpdb/Stats.py
	pyfpdb/Tables.py
	pyfpdb/fpdb.py
	pyfpdb/fpdb_db.py
	pyfpdb/fpdb_import.py
	pyfpdb/fpdb_parse_logic.py
	pyfpdb/fpdb_simple.py
	pyfpdb/upd_indexes.sql
2009-10-26 14:40:11 +08:00
Worros 71eb683a3d Make cash cols sortable.
After sqlcoders effort this appears to work
2009-10-26 12:16:20 +08:00
Worros 0b049a128b Make green in PlayerStats darker 2009-10-25 20:51:46 +08:00
Worros 73e8544117 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-25 20:49:39 +08:00
Worros 914f930c5b GuiSessionViewer update.
Getting closer - added player and date tests. Not convinced the data coming back is koshur though - got a $3600 day in the middle of my data
2009-10-23 15:01:02 +08:00
Worros a2309f704c More GuiSessionViewer updates
Getting closer to a decent layout
2009-10-23 13:50:06 +08:00
Worros 397f654789 GuiSession viewer update.
Still broken, got the math right in preparation for candlestick graph
2009-10-22 14:09:36 +08:00
Worros 58707d2022 Update GuiSessionViewer.
Still horribly broken, but on its way
2009-10-21 17:22:47 +08:00
Worros 4f754fa881 Add some prep work for sorting the stats page 2009-10-20 12:06:29 +08:00
Worros b39f766941 Color cash columns in red and green 2009-10-19 19:39:46 +08:00
Worros cfc854ab50 Fix some bugs in BetfairToFpdb.
As reported by tchaz on 2+2:

http://forumserver.twoplustwo.com/showpost.php?p=13870274&postcount=1960

Using the only sample file I have for Betfair, it appears there is still and accounting error
2009-10-18 07:56:34 +08:00
Worros 639036871b HUD_config.xml.example update
Added Betfair to default config - copied Party.

Also went through and cleaned up whitespace in that file at the same time - tabs to spaces, cleaned trailing spaces.
2009-10-18 07:54:41 +08:00
Worros ceaa78bdc8 Add usage message to GuiBulkImport cli
I keep forgetting the format for Full Tilt cli import
2009-10-15 15:23:47 +08:00
Worros c3bc165a90 Add comment to DerivedStats 2009-10-15 15:13:09 +08:00
Worros 7a9237b707 GuiBulkImport - make cli version print out import stats 2009-10-15 15:12:08 +08:00
Worros 2e2531c0e4 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-10-15 14:55:21 +08:00
Worros 2d9b92af90 Make GuiBulkImport allow multi-file select 2009-10-15 11:57:42 +08:00
Worros 16d1f43c7e [NEWIMPORT] HandsPlayers.streetXAggr insert. 2009-10-14 23:55:51 +08:00
Worros 7b2c1fa243 [NEWIMPORT] Minor update, use DerivedStats.getStats() 2009-10-14 20:28:07 +08:00
Worros 2350474d38 [NEWIMPORT] Start of HandsPlayers insert 2009-10-14 20:20:17 +08:00
Worros f0f2bcda14 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-14 12:06:01 +08:00
Worros 1fc015b09f [NEWIMPORT] Move db insert into SQL.py (store_hand) 2009-10-14 12:05:17 +08:00
Worros 843bd754f6 [NEWIMPORT] Prep insert functions
Cleaned up storeHandsPlayers and added storeHudCacheNew

Haven't decided on the data structures to be passed in as yet so the functions only insert the bare minimum and have a list of commented out variables
2009-10-13 17:42:02 +08:00
Worros 4d04a4b1db [NEWIMPORT] Take a copy of generateHudCache for DerivedStats
Commented out, should give a good basis for generating the stats from Hand class
2009-10-13 17:30:49 +08:00
Worros f4887235a0 [NEWIMPORT] Fix Hand import so it runs
Also comment out some debug
2009-10-13 15:58:05 +08:00
Worros 00a8593631 Fix table re-create bug in fillDefaultData 2009-10-13 14:12:25 +08:00
Worros 1d0177f6d4 [NEWIMPORT] Finish up Hand import
Decided to leave streetXRaisesN alone for the moment
2009-10-13 14:04:19 +08:00
Worros e7a7229dc0 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-13 13:22:08 +08:00
Worros 035b71b018 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-10-12 10:20:22 +08:00
Worros 6d0ec5d831 [NEWIMPORT] Add playersAtStreetX to insert 2009-10-08 18:13:13 +08:00
Worros cf6c3c8ad0 [NEWIMPOR] Fix playersVpi from last patch
Oops - forgot to add the argument
2009-10-08 18:07:54 +08:00
Worros 31f48c4932 [NEWIMPORT] Calculate playersAtStreetX
Untested code.

Still missing playersAtShowdown, haven't looked to see if hand.actionStreets contains showdown.
2009-10-08 18:01:49 +08:00
Worros 024618235f Clean up variables in DerivedStats
Doesn't look like they are going to be used like that
2009-10-07 14:15:12 +08:00