Commit Graph

63 Commits

Author SHA1 Message Date
Worros
4f98b29b26 Merge branch 'master' of git://git.assembla.com/fpt_fpdb
Conflicts:
	pyfpdb/Database.py
2009-09-04 12:45:49 +08:00
PassThePeas
b85f8ec155 Some fixes in FTP summary parsing and preparations for summary import in DB. No behaviour change expected
modified:   FulltiltToFpdb.py
	* Tourney Summary File parsing : add support for Madness tourneys
	* HH file parsing : enhance Tourney topline parsing to retrieve some info (HU, Rebuy, KO, Turbo, ...) and store it into Hand object
	modified:   Hand.py
	* Some attributes added to store tourney specific info
	modified:   SQL.py
	* Add a new request (getTourneyTypeIdByTourneyNo) to help finding a tourney already in db (preparation for Tourney Summary import)
	modified:   Tourney.py
	* Attribute tourneyComment added
	modified:   fpdb_parse_logic.py
	* Change parameters in call of fpdb_simple.recogniseTourneyTypeId
	modified:   fpdb_simple.py
	* recogniseTourneyTypeId : signature changed to allow for the search of a tourney id already in db prior to searching for tourneyTypeId
2009-08-26 01:13:34 +02:00
Matt Turnbull
222d713169 too much changes to go into master 2009-08-12 01:46:39 +01:00
Worros
4ef4d22c94 Add back in sqlcoders changes for sqlite - fix Grapher 2009-08-08 13:56:53 +08:00
eblade
4445881bfe somehow a call to get_cursor() got turned into just a db pass .. and removed the debug code in recogniseplayerids 2009-08-07 17:18:51 -04:00
sqlcoder
6de41be9c9 mainly sqlite fixes, also removed not null on many hudcache columns 2009-08-06 20:31:46 +01:00
sqlcoder
36f09ebc82 merge from ray @f5ba0b5b7... 2009-07-31 21:58:39 +01:00
sqlcoder
b503626c2b add db writer threading 2009-07-31 21:24:21 +01:00
Ray
29366d3bb6 Ugly fix to prevent importing from failing due to undef positions array. 2009-07-30 23:42:57 -04:00
sqlcoder
9c62ecb80e debug move to Database.py and move last part of mainparser into Database.py 2009-07-29 06:17:51 +01:00
sqlcoder
298de5dc15 move most stuff from fpdb_db.py to Database.py and simplify db connections in fpdb_import 2009-07-28 23:58:10 +01:00
sqlcoder
f45038673c more moves into Database.py, better exception handling, store hudcache stats for holdem tourneys (some maybe no use? it's a start anyway - need to add NL/FL switch on Filter) 2009-07-26 01:42:09 +01:00
sqlcoder
a2db28ebf2 create Database instance in import to pass into parser - will eventually replace fpdb_db 2009-06-25 23:14:32 +01:00
Worros
f1921bebde Move functions from fpdb_save_to_db into Database.py
Doesn't actually do much cleanup.

Intend on moving all db functions into Database.py and fpdb_db.py and
providing and API, the functionality of fpdb_simple et all to shift into
the HHC
2009-06-20 04:15:52 +08:00
sqlcoder
dcaf6fed27 apologies - looks like I missed this out of my last release :-( 2009-06-17 21:43:30 +01:00
Worros
0b3b7f66d6 Merge branch 'master' into siteneutral
Conflicts:

	pyfpdb/fpdb_import.py
	pyfpdb/fpdb_parse_logic.py
	pyfpdb/fpdb_simple.py
2009-03-28 00:54:13 +09:00
eblade
3c14055244 more very minor cleanup 2009-03-26 19:17:00 -04:00
Worros
497354d4f4 Make BulkImport work only with HHCs
Added new section to config for converters for ease of creating the gui.

Removed the section in the site line for filter and supported games
2009-03-24 22:58:45 +09:00
Worros
495c39ef69 Merge branch 'master' into siteneutral
Conflicts:

	pyfpdb/fpdb_import.py
	pyfpdb/fpdb_save_to_db.py
2009-03-22 01:41:50 +09:00
Worros
1e788621a5 Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/FulltiltToFpdb.py
2009-03-22 01:35:03 +09:00
eblade
f870d4c283 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2009-03-21 12:06:00 -04:00
Matt Turnbull
239330ae7b filterCrap after checking if hand is in db
refactor GuiBulkImport : add main() so that it can be called from
interactive shell (for profiling purposes).
2009-03-21 15:34:23 +00:00
Worros
ae4704b8dc First working(?) version of siteneutral import 2009-03-21 21:23:51 +09:00
Worros
444e780f29 Merge branch 'master' into siteneutral
Conflicts:

	pyfpdb/fpdb_import.py
	pyfpdb/fpdb_parse_logic.py
	pyfpdb/fpdb_simple.py
2009-03-20 00:27:08 +09:00
eblade
375e0ed7c9 fpdb_parse_logic: fix possible breakage i might've made to tournament parse
fpdb_simple: more usage of 'any' operator where appropriate
2009-03-19 03:30:44 -04:00
eblade
c6179a1b85 fix typo 2009-03-18 22:05:01 -04:00
eblade
a424a9c77d fpdb_parse_logic: cleanup 2009-03-18 17:07:32 -04:00
Ray
6d292c50d9 Use saveActions and fastStoreHudCache in fpdb_import, etc. 2009-03-15 17:40:01 -04:00
Worros
264b188633 [KILLFTP 5/x] Remove references to the named site "PokerStars" or
"Full Tilt Poker"
2009-03-10 23:03:02 +09:00
Worros
58445c0a1b [KILLFTP 2/x] More ftp specific code removal 2009-03-10 22:03:18 +09:00
Ray
baa8d145ae Delay getting game type to support mixed games. 2009-03-05 20:10:56 -05:00
eblade
0fd6c4a9b2 fpdb_parse_logic: use 'in' instead of 'find' 2009-01-08 10:40:18 -05:00
sqlcoder
167c0de3b5 include antes in hudcache totalProfit figure 2008-12-13 02:02:07 +00:00
sqlcoder
71a587faca mods to use insert_id() instead of repeated selects and get postgres working 2008-12-09 00:29:39 +00:00
sqlcoder
30e61901d6 use spaces not tabs and get first part of insert_id() code working again 2008-12-08 01:38:06 +00:00
sqlcoder
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
sqlcoder
160db08689 calc totalprofit for hud 2008-12-03 23:14:03 +00:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
eblade
274cecdc58 stat windows no longer call realize() as that is done automatically by gtk when needed
importer dumps bad hands to hand-errors.txt after printing the normal email message
parse_logic should ignore lines where small blind is found to be "$0", however, it's still causing errors
2008-11-27 05:12:07 -05:00
steffen123
96664d009c p130 - stud/razz tourneys run again, but completely unverified (like holdem/omaha tourneys
changed fpdb_import slightly to not die if a file had 0 stored hands
2008-10-09 07:17:18 +01:00
steffen123
5dfa5061cf p128 - corrected 2 bugs in PrintHand.py. finished stud blackbox testdata. 2008-10-09 05:30:09 +01:00
steffen123
bc76d4baf0 p127 - fixed stud importer bugs missing hole cards and added one blackbox hand verification for studhilo. 2008-10-09 05:04:31 +01:00
steffen123
f1c94dac3e p119 - fixed bug that sawFlop/Turn/River/CBChance/etc gets miscalculated if someone is allin using the new all-in parsing
moved most of known bugs to wiki roadmap (not actually online yet since sf seems to malfunctioning..)
2008-10-06 05:19:55 +01:00
steffen123
2a90030982 p118 - added all in field to HandsActions and parsing to importer. still need to update hudCache generation to use this tho
expanded some todo prints and the graph missing lib error to clarify for users
2008-10-06 04:26:59 +01:00
steffen123
1cd9eb898f p115 - fixed bugs in tourney handling of playername with $ in it in these methods: parseActionAmount, parseAnteLines 2008-10-05 05:04:42 +01:00
steffen123
005627b9d7 p103 - reading small blinds now rather than assuming them 2008-09-24 05:47:17 +01:00
steffen123
8c6cecb8f7 p90 - release script renames HUD_config.xml.example so user doesnt have to
fixed a couple of stupid errors where i used the wrong siteID somehow
graph now lets you pick beteen PS and FTP
2008-09-21 23:38:22 +01:00
steffen123
672d2d70af p86 - ftp: read maxSeats rather than making an assumption. included new ebuild this time but obviously untried (can only try it after making the file release..). removed old ebuilds. 2008-09-18 01:23:38 +01:00
steffen123
2c251d94f2 p78 - implemented stud HudCache generation and storing 2008-09-02 01:00:43 +01:00
steffen123
817c227dcb p74 - mostly recovered razz/stud support
removed obselete gentoo install instructions, added ubuntu instructions
2008-09-01 05:41:58 +01:00