Commit Graph

85 Commits

Author SHA1 Message Date
Worros
bca9fb15cf Note in code re: os.walk 2009-02-24 22:46:05 +09:00
Worros
3febe073cc Make FullTilt wrk with new importer 2009-02-22 12:42:16 +09:00
Matt Turnbull
483e177346 Explicit matching of player names
About the only place where we are guaranteed to get all the players'
names correctly is in the seating plan in the hand header. We extract
the names and build a regex that matches only the names. We only do this
if the current regex is out of date, to avoid recompiling them too
often.
I also did away with self.rexx because it seemed unnecessary and was
difficult to work with.
2009-02-20 16:29:52 +00:00
Worros
e5ab933659 Fix major bug in fpdb_import
Hat tip to Eric
2009-02-20 16:06:22 +09:00
Worros
98ea23cd49 Couple of additional fixes for import 2009-02-19 22:10:31 +09:00
eblade
d2159b6430 changes to make auto-import recursive, and to get the converter thingee kind of working 2009-02-19 05:38:51 -05:00
Worros
dcee1c6d28 Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/fpdb_import.py
2009-02-11 16:40:33 +09:00
Ray
18140defd8 Update bulk import, optionally drop indexes, improve gui 2009-02-07 10:06:48 -05:00
Worros
6214131713 Small change - note we should error check 2009-02-05 18:50:50 +09:00
Worros
315d010311 Make Everleaf converter actually function.
Makes HandHistoryConverter actually write out a file to
$hhArchiveBase/sitename/

Adds code in importer call the functions in EverleafToFpdb
2009-02-05 18:28:18 +09:00
eblade
e17c2eb64e fpdb_import: cleanup, and fix for FT bug that puts multiple seats on one line of summary 2009-01-28 03:46:43 -05:00
Worros
b2c135ee12 Possible fix for problem Eric is reporting in importer 2009-01-19 11:32:34 +09:00
Worros
ffb037b1fe Added output totals for bulk import 2009-01-17 02:24:00 +09:00
Worros
a3ff477395 Added comment/debug to damaged FTP file
Doesn't fix issue, but documents what the bug is in the FTP software,
and prints the file name and line number that it occurs in so user can
fix.

Ideally the parser itself would be able to deal with this.
2009-01-17 00:24:01 +09:00
eblade
ff3d6c75b8 Merge branch 'master' of git://git.assembla.com/mctfpdb.git 2009-01-07 12:36:09 -05:00
sqlcoder
257dd35c93 let fpdb_db routine work out which bits of config to use for connection 2009-01-03 17:59:48 +00:00
eblade
685abee8b1 re-indent function 2008-12-18 17:39:43 -05:00
eblade
2ccd00d3fd redo changes to checkPositions, and such 2008-12-18 15:42:46 -05:00
sqlcoder
d4e03424bf call routines to drop and recreate some indexes and foreign
keys before and after bulk import
2008-12-14 02:30:19 +00:00
sqlcoder
3148d0398c pulled from fpdboz 2008-12-13 03:35:31 +00:00
Worros
0e2f6bf4ab Fix default value when run from RegressionTest 2008-12-12 20:25:26 +09:00
sqlcoder
b62d1fb2a9 remove connection code from fpdb_import.py and use fpdb_db.py instead 2008-12-10 23:22:47 +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
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
Mika Bostrom
90e348946f First step at fixing the bulk importer with postgres 2008-12-06 21:59:58 +02:00
Mika Bostrom
415eb4a3c6 Retab/whitespace demangly fpdb_import.py 2008-12-06 21:50:40 +02:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
eblade
1de34462e3 remove spurious window realize from popup_window as well
printEmailErrorMessage also writes a traceback to the stderr, so we can more easily figure out -what part- it failed in
parsePositions will ignore a small blind if it appears to be coming from the same place as the big (does this mess with dead blinds? who knows)
2008-11-27 08:35:17 -05: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
Worros
6de1ac1c82 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-10 22:55:24 +10:00
eblade
e713a9c654 fix weird error on windows? possibly just with p4e? trapping if we read 0 lines from history file 2008-11-10 03:46:37 -05:00
eblade
3325538c66 Merge branch 'master' of git://git.assembla.com/fpdb.git
Conflicts:
	docs/default.conf
2008-11-10 03:24:05 -05:00
eblade
f767ec2207 windows git is buggy 2008-11-10 03:22:21 -05:00
Worros
397cb9dd29 Merge branch 'master' of git://git.assembla.com/fpdb 2008-11-10 16:41:47 +10:00
steffen123
49151a92bf p142 - commented tourney summary parsing as it fails on me. this is alpha9 2008-11-10 02:02:12 +00:00
Worros
d4038c3f19 Lots of changes. Fixes the hud for auto-import - at least for me.
Does configer Importer to use the Config class.
2008-11-09 21:57:58 +10:00
Worros
bfa5137889 Merge branch 'master' of git://git.assembla.com/fpdb 2008-11-08 13:04:04 +10:00
Worros
8a2a851abc Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-08 13:03:52 +10:00
steffen123
5a045f944f Merge git://git.assembla.com/free_poker_tools 2008-11-07 19:58:11 +00:00
Ray
98d0305aa8 fixed psycopg2 connection parameters 2008-11-07 11:07:42 -05:00
Worros
1f3a39142a Change import_file_dict to take new args and fix all callers.
Rename the main parser and make room for site converters.
2008-11-07 21:18:12 +13:00
steffen123
c739395189 p140 - added CLI option to fpdb.py to control redirection of stderr 2008-11-07 00:14:25 +00:00
Worros
92381254e8 Change the filelist and dirlist type to be a hash of lists, delete postgres sql schema
dirlist is in the form:
{'Site': [ "/path/to/dir", "filter" ] }

Where filter will be the plugin to convert to stars/fpdb hand history file.

filelist is in the form:
{'file': [ "site", "filter" ] }
2008-11-06 00:36:24 +13:00
Worros
093302e76d Fix(?) problem with HUD only starting after 2 hands have been entered.
Import code will now import_file_dict() on every file it initially finds that was modified in the last minute.

Not perfect, as a lot of hands can take longer than that.
2008-11-05 10:39:27 +13:00
Worros
87c82df4b2 Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/Hud.py
2008-10-29 23:35:47 +09:00
Worros
9bb8e229e4 Fix TODO item - detect if directory passed in is a valid directory 2008-10-18 02:09:34 +08:00
Worros
5a085a6d23 Draft fix to mtime detection for files 2008-10-17 01:36:02 +08:00
Worros
10b0cc7bca Merge branch 'master' of git://git.assembla.com/fpdb 2008-10-16 21:21:55 +08:00
Worros
112f041a98 Start of changes to parse tournament hostory files 2008-10-16 21:21:11 +08:00
steffen123
bc15025be5 p135 - updated tv 2008-10-15 18:20:33 +01:00