Commit Graph

3305 Commits

Author SHA1 Message Date
steffen123
872bf2fa28 correct version number 2010-07-29 14:24:23 +02:00
Worros
ac728fffb2 FTP and Timezone fix.
Error reported with the following hand hostory from FTP France:

Full Tilt Poker.fr Game #22632637058: Daily Euro (174599326), Table 3 - 10/20 - No Limit Hold'em - 20:15:39 CET - 2010/07/27

The existing FTP parser crashed on CET times.

1) Fixed parser to accept CET
2) Added timezone offset into HHC

Not happy with TZ1/TZ2 solution.
2010-07-29 19:59:45 +08:00
Ferenc Erki
d241ce9b48 Added new stat: fold to steal
Added new stat: fold to steal

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-07-28 16:17:58 +02:00
steffen123
f74d5b14ca Merge branch 'gimick' 2010-07-28 12:20:04 +02:00
Worros
0cd5b50b2f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-28 11:49:07 +08:00
sqlcoder
9c5581caf0 rename stealattempt fields to raisefirstin and derive accordingly 2010-07-27 22:27:18 +01:00
steffen123
acbe15fadd remove another near-duplicate from TourneyFilters 2010-07-27 19:14:23 +02:00
steffen123
0266a707ac move method from TourneyFilters to Filters 2010-07-27 19:07:14 +02:00
steffen123
3f4c5d45e8 for fear of repeating myself, removed another dupe from TourneyFilters 2010-07-27 18:54:40 +02:00
steffen123
31aa76abc9 and another dupe from TourneyFilters.. 2010-07-27 18:44:06 +02:00
steffen123
fd4e421ca3 remove another dupe from TourneyFilters 2010-07-27 18:41:51 +02:00
steffen123
e006db3a2d move 2 more methods from TourneyFilters to Filters 2010-07-27 18:35:38 +02:00
steffen123
c5ae1e785b remove another method from TF - this was only an almost-dupe 2010-07-27 18:33:01 +02:00
steffen123
9781cd1d87 yet more dupe removal from TourneyFilters 2010-07-27 18:31:35 +02:00
steffen123
90c81cb4ee move method from TF to F 2010-07-27 18:25:27 +02:00
steffen123
9006a7f45b remove another dupe method from TourneyFilters 2010-07-27 18:24:07 +02:00
steffen123
84df9ad567 remove more duplicate methods from TourneyFilters 2010-07-27 18:21:43 +02:00
steffen123
c996a11ed6 move method from TourneyFilters to Filters 2010-07-27 18:17:25 +02:00
steffen123
20ebd040c1 remove some methods in TourneyFilters that are identical in Filters 2010-07-27 18:16:46 +02:00
steffen123
e0b194ddf0 minor cleanup 2010-07-27 17:43:47 +02:00
steffen123
5b432bcd99 GUI: remove obselete and broken table viewer 2010-07-27 15:48:19 +02:00
steffen123
71df9b06dd HUD: make it work again after my previous overzealous removal of HP.TTid 2010-07-23 04:45:57 +02:00
steffen123
1f933563ee EVERLEAF: add comment where to get tourney info 2010-07-23 04:03:35 +02: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
a2243c8542 EVERLEAF: remove comment about converting to ET - we do not want to do that! 2010-07-23 03:55:45 +02:00
steffen123
de8b9e89c5 FTP: fix import 2010-07-23 02:07:49 +02:00
gimick
dfca631280 py2exe script update 2010-07-22 22:21:46 +01:00
steffen123
3759af4902 GUI: update version indicator to include "plus git" again 2010-07-22 22:59:53 +02:00
steffen123
4eefd15175 GUI: update version for snapshot 2010-07-22 21:18:55 +02:00
steffen123
61034680fe GUI: indicate that TPS is only for mysql right now 2010-07-22 21:18:20 +02:00
steffen123
ad28168d02 DB/TOUR: remove HandsPlayers.tourneyTypeId 2010-07-22 21:03:01 +02:00
steffen123
b73ee36602 Merge branch 'sqlcoder' 2010-07-22 20:28:25 +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
Eratosthenes
ba66f85f8a Merge branch 'master' of git://git.assembla.com/fpdboz 2010-07-22 13:26:03 -04:00
Eratosthenes
8de59c0400 Merge branch 'master' of git://git.assembla.com/fpdb 2010-07-22 13:25:45 -04:00
Worros
72f395bab0 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-22 10:49:22 +08:00
Worros
6da2c6de82 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-22 10:48:22 +08:00
Eratosthenes
902a4ad722 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-21 22:45:14 -04:00
steffen123
d169733adf GUI: update version display for -git 2010-07-22 02:23:07 +02:00
steffen123
fe345c7cf3 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	pyfpdb/FulltiltToFpdb.py

conflict had obvious resolution
2010-07-22 01:11:52 +02:00
Eratosthenes
21981a921b Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-21 18:52:43 -04:00
Eratosthenes
64d76855f1 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/py2exe_setup.py
2010-07-21 18:46:34 -04:00
Eratosthenes
4ef31a02e1 Another tiny change to get in sync. 2010-07-21 18:43:45 -04:00
Eratosthenes
0e6aa16e41 catch up a minor changecatch up a minor change.. 2010-07-21 18:40:33 -04:00
Gerko de Roo
50422ee8e3 Patch for the new date display for Full Tilt for tourney(s).
(Havent checked on ring games... Broke on Full Tilt...)
Current the old an the new is supported:
old: bla bla, Table 800 - 15/30 - No Limit Hold'em - 4:44:59 ET - 2010/07/18
new: bla bla, Table 19 - 15/30 - Pot Limit Omaha Hi - 13:43 ET - Wed, July 21, 2010
2010-07-21 23:04:24 +02:00
sqlcoder
61fb3df695 some work on guidatabase and turn it on 2010-07-19 21:36:45 +01:00
sqlcoder
2a0fbcca4c clear auto import player cache when re-creating db 2010-07-18 16:21:27 +01:00
sqlcoder
73b7729530 quit no longer needed now importer cache is being cleared (may need to clear auto import player cache as well?) 2010-07-18 16:17:40 +01:00
steffen123
7c3c0a26f4 Merge branch 'gimick' 2010-07-18 02:06:07 +02:00
steffen123
dfacdbea7a Merge branch 'sqlcoder' 2010-07-18 02:03:40 +02:00
gimick
46e4e92246 reapply 585fd2feb2 - Update graph and session queries to identify ring games
accidentally reverted at 45210f0668, sorry, didn't spot it before push
2010-07-17 18:56:23 +01:00
gimick
9939aa4a0e Log viewer - fixes for column sorting 2010-07-17 18:19:16 +01:00
gimick
45210f0668 Revert "Update graph and session queries to identify ring games"
This reverts commit 585fd2feb2.
2010-07-17 16:52:10 +01:00
steffen123
f0d9ae0cc6 DUMP: add expected file for empty DB 2010-07-17 05:14:05 +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
71108cdc9b TOURNEY: since we can detect added amount, set it to 0 if we dont 2010-07-17 04:37:15 +02:00
steffen123
a463d82f5b IMAP: add two more fields to config 2010-07-17 03:48:21 +02:00
steffen123
337fc353c8 rename RingFilters back to Filters 2010-07-17 03:39:31 +02:00
steffen123
7f2f630186 GUI: add some warnings and further info to HUD configurator 2010-07-17 03:09:55 +02:00
steffen123
59294a7b94 TIMES: record Hands.importTime as UTC instead of localtime 2010-07-17 03:01:09 +02:00
steffen123
794f0a0374 GUI: change hotkey to start/stop autoimport to alt+a 2010-07-17 02:45:52 +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
c23a1388fc GUI: HUD configurator fully working, dont even need to restart fpdb 2010-07-17 00:23:48 +02:00
steffen123
5bf7937f9e CLEANUP: remove trivial commented out method 2010-07-16 21:57:32 +02:00
steffen123
ef91cb5ad1 GUI: HudConfigurator displays all stats now and reads selections 2010-07-16 21:56:44 +02:00
steffen123
66ac9b27d6 comment out some broken code, add TODO for it 2010-07-16 21:33:36 +02:00
steffen123
d95fcfe5d0 GUI: HudConfigurator shows combo boxes for stats 2010-07-16 21:00:29 +02:00
steffen123
f6232004ad PSS: PS summary import now supports non-ascii playernames in sqlite 2010-07-16 20:37:53 +02:00
steffen123
71f8fb5ef1 GUI: have default selections and fix locking in HudConfigurator 2010-07-16 20:32:01 +02:00
steffen123
a1f422cbe4 GUI: second HudConfigurator dia with grid for comboboxes 2010-07-16 20:27:43 +02:00
steffen123
f56a003242 GUI: start of HUD stat configurator: select parameters 2010-07-15 03:32:10 +02:00
steffen123
a8edb976f8 FTP: fix to make it store Hand.startTime as UTC rather than ET 2010-07-15 02:19:58 +02:00
steffen123
d65b6e55c8 TOURNEY: fix recording of Hands.tourneyId, allow it to be NULL 2010-07-15 02:08:59 +02:00
steffen123
18dc3f29ff TOURNEY: fix category recording for PS summary import 2010-07-15 01:58:54 +02:00
steffen123
10a94fa441 IMAP: fix a silly mistake I made earlier 2010-07-15 01:53:46 +02:00
steffen123
3d37006bbc rename ImapSummaries to ImapFetcher to better reflect its scope 2010-07-15 01:53:22 +02:00
steffen123
32ae817a2a remove IMAPEmailFetcher as ImapSummaries has a superset of features 2010-07-15 01:49:04 +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
2734dcb85a GUI: mention mailing lists on start page 2010-07-14 20:58:37 +02:00
steffen123
2bd11661e3 for now revert "comment out close of fpdb after db recreate, I don't see how it helps"
I could reproduce the bug so until its fixed I want to keep the quit-on-recreate
This reverts commit 45fa170758.
2010-07-14 18:54:31 +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
steffen123
35bb8a4490 POLISH: add notice about time to dump DB 2010-07-14 01:48:08 +02:00
steffen123
1329101794 POLISH: add notice about long time to recreate dialogue 2010-07-14 01:46:32 +02:00
sqlcoder
397e87b800 autoimport passes filenames to fpdb_import as unicode, so make bulk import do this as well so that add_import_file() always gets same type 2010-07-13 23:12:50 +01:00
sqlcoder
b07505d367 tidy up closedown 2010-07-13 21:23:32 +01:00
sqlcoder
6661610429 comment out debug msg 2010-07-13 21:22:40 +01:00
sqlcoder
d78d69e9f4 miss out fl/pl/nl checkbox if no relevant hands 2010-07-13 21:19:18 +01:00
sqlcoder
02e1a71592 fix broken graphing 2010-07-13 20:21:34 +01:00
sqlcoder
c36e87a24d big merge from steffen 2010-07-13 20:20:46 +01:00
steffen123
256d027eca PSS: calculates timezone out of start and end time now 2010-07-13 21:17:40 +02:00
steffen123
522a745ead REFACTOR: move timezone changing method to HHC so it can used by other parsers 2010-07-13 20:37:06 +02:00
steffen123
b8968591c5 TPS: display limitType and category 2010-07-13 20:21:05 +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
8db0445d71 IMAP: close server connection when done 2010-07-13 18:04:53 +02:00
steffen123
d4e54e6aae POLISH: it can now quit when it wasn't able to connect to DB 2010-07-13 18:04:26 +02:00
steffen123
1d571cabee windows: by sqlcoder, fixes importing files with greek characters 2010-07-12 18:04:30 +02:00
steffen123
c3077d5d66 Merge carls latest fixes 2010-07-12 16:53:14 +02:00
steffen123
d208d627a4 stop sqlite&postgres from doing except _mysql....
sqlite gives another error on quit unfortunately
2010-07-12 16:48:12 +02:00
steffen123
04ec51d7c1 DB: Fix capitalisation of Gametypes table in SQLite 2010-07-12 11:00:50 +02:00
Worros
585fd2feb2 Update graph and session queries to identify ring games 2010-07-12 18:41:28 +10:00
steffen123
32e1cb7b7f another fix for the introduction of TT.limitType 2010-07-12 10:20:53 +02:00
Worros
627c044b6f Fix grapher so that only cash limits show up 2010-07-12 18:19:01 +10:00
steffen123
8d5e339973 make Filters work inspite of new tt.limitType 2010-07-12 08:17:36 +02:00
steffen123
78d7d1b941 comment out duplicate query 2010-07-12 08:13:09 +02:00
sqlcoder
b52110d45f change tabs to spaces 2010-07-11 19:00:27 +01:00
sqlcoder
45fa170758 comment out close of fpdb after db recreate, I don't see how it helps 2010-07-11 18:53:26 +01:00
sqlcoder
1d263c8139 fix call to db.connected() 2010-07-11 18:36:45 +01:00
sqlcoder
26642557a1 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-07-11 15:20:41 +01:00
steffen123
519c49904a CLEANUP: remove FpdbSQLQueries as its been migrated elsewhere 2010-07-11 14:49:19 +02:00
steffen123
79282270fb DUMP: fix dumpDB Gametypes, add Backings 2010-07-11 14:33:27 +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
d739773908 GUI: display config file location in about dialogue 2010-07-11 07:39:19 +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
17b3b77022 TPS: correct spent display for PSFP games 2010-07-11 06:08:57 +02:00
steffen123
5ae650e8b7 reduce imports in RingFilters 2010-07-11 06:01:44 +02:00
steffen123
be671859e7 create superclasses for Gui*PlayerStats and *Filters 2010-07-11 05:58:00 +02:00
steffen123
e526501384 rename GuiPlayerStats to GuiRingPlayerStats and Filters to RingFilters 2010-07-11 05:49:58 +02:00
steffen123
6038342de7 TPS displays profit/tourney 2010-07-11 05:35:41 +02:00
steffen123
7bf7463705 TPS displays currency and fee now 2010-07-11 05:28:43 +02:00
steffen123
ed096b6872 TPS displays ROI% 2010-07-11 05:22:36 +02:00
steffen123
33760fae9c TPS displays ITM% 2010-07-11 05:11:43 +02:00
steffen123
913fa7d7d8 fix formatting and add tourneycount to TPS 2010-07-11 04:59:31 +02:00
steffen123
9815ac976b display buyin and sitename rather than TT.id 2010-07-11 04:47:15 +02:00
steffen123
7ddb032205 display unknownRank in tourney player stats 2010-07-11 04:37:48 +02:00
steffen123
8232085be9 display 1st/2nd/3rd in tourney player stats 2010-07-11 03:42:48 +02:00
steffen123
8e9d588322 first version of Tourney Player Stats works 2010-07-11 03:13:58 +02:00
steffen123
d3c57ee9fc repair playerstats 2010-07-11 03:13:30 +02:00
steffen123
c58ade20b3 fix PS summary player/winnings/rank recording 2010-07-11 02:27:48 +02:00
steffen123
7925747213 now records winnings for finishers in unfinished tourneys 2010-07-11 02:07:03 +02:00
steffen123
87fbd56091 imports still playing tourney's TP, but not winnings of finishers 2010-07-11 01:55:15 +02:00
steffen123
ae2c32f902 imports still running tournaments, except for TourneysPlayers 2010-07-11 01:39:52 +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
604e242349 handle FPP and added money tourneys, general currency improvements 2010-07-11 00:37:25 +02:00
steffen123
86a1f86b51 tourney query returns key information - now just need to display it 2010-07-10 23:21:36 +02:00
steffen123
043c3b5bca fix import of PS FPP tourneys 2010-07-10 23:08:05 +02:00
steffen123
eb976203c4 intermediate commit for tourney stats 2010-07-10 22:24:32 +02:00
steffen123
4efd9dc2fb fix import of normal tourneys and ring hands 2010-07-10 21:29:07 +02:00
steffen123
b9762b0486 change remainder of fpdb.pyw to indicate source of lock 2010-07-10 21:11:59 +02:00
steffen123
bf96e5103b ignore "Match Round" part of first line of HH 2010-07-10 20:39:43 +02:00
steffen123
e9346f6b82 make it record source of lock holding, print if required
this is mostly intended for devs
2010-07-10 20:10:04 +02:00
steffen123
ca61189706 added TourneyTypeCount to DB Stats window 2010-07-10 19:39:05 +02:00
steffen123
ec0db8b7cc change version indicator to sth more appropriate 2010-07-10 16:40:10 +02:00
steffen123
4c1b0e3f96 add extra enter to start screen 2010-07-10 16:24:32 +02:00
steffen123
97fbc7606c another intermediate commit for tourney stats 2010-07-10 06:23:47 +02:00
steffen123
b1e41a54ec intermediate commit on the way to tourney stats 2010-07-10 05:19:50 +02:00
steffen123
dc67197e23 change starttime to startTime 2010-07-10 02:30:42 +02:00
steffen123
25893c9610 GuiTourneyPlayerStats (mostly copied from GuiPlayerStats) works without data 2010-07-10 02:09:58 +02:00
steffen123
4c00ef19cc implement simple DB stats - Hand and tourney count 2010-07-10 02:07:47 +02:00
steffen123
00e156beba removed some unused stub methods 2010-07-09 22:09:33 +02:00
steffen123
bc85c7fe8d removed unimplemented menu entry abbreviations 2010-07-09 20:47:58 +02:00
steffen123
4d17bd65e1 remove unimplemented menu entry create/del DB user 2010-07-09 20:46:45 +02:00
steffen123
29d1120bf1 removed unimplemented menu entry session replayer 2010-07-09 20:43:01 +02:00
steffen123
ef98564d72 remove unimplemented hand replayer and player details menu entries 2010-07-09 20:32:49 +02:00
steffen123
36b90ba654 remove unimplemented auto rate menu entry 2010-07-09 20:30:57 +02:00
steffen123
a724102dbc remove unimplemented edit profile menu entry 2010-07-09 20:29:44 +02:00
steffen123
d138c3b4e1 create subclasses for guiplayerstats and filters 2010-07-09 04:47:33 +02:00
steffen123
a97342ec2e expand config example with the new email section 2010-07-09 01:20:31 +02:00
steffen123
9cb47b4195 stop it from dying on fpdb summary files (by commenting out the whole section) 2010-07-09 01:10:06 +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
e815cc38db change version to 0.21 2010-07-08 23:43:43 +02:00
steffen123
ce0d3f59f6 correct for timezone in PS summaries, too 2010-07-08 23:31:39 +02:00
steffen123
d90fa27274 fix starttime to startTime in my new method 2010-07-08 22:47:37 +02:00
steffen123
3bff176970 Merge branch 'carl'
Conflicts:
	packaging/debian/changelog
	pyfpdb/PokerStarsToFpdb.py
	pyfpdb/TourneySummary.py
2010-07-08 22:33:09 +02:00
steffen123
f2fcceba17 remove more prints 2010-07-08 21:46:40 +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
7070c1431a put timezone removal into separate method for use by PSS 2010-07-08 21:28:21 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
10cfaf2c75 missed file for last commit 2010-07-08 20:00:43 +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
Worros
e7776de8f1 Fix startTime change in remaining files 2010-07-08 23:30:02 +08:00
Worros
7c8339485d Fix startTime variable change from another patch 2010-07-08 23:14:55 +08:00
Worros
52ae2e6b1f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/DatabaseManager.py
	pyfpdb/TourneySummary.py
	setup.py
2010-07-08 15:48:21 +08:00
Worros
4d4d6f297f Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-08 11:44:10 +08:00
gimick
084c7a5c58 Update help/about set version 0.20 2010-07-07 21:55:01 +01:00
steffen123
aeaac92fb9 commit before changing intendation. 2010-07-07 22:21:46 +02:00
steffen123
1bf3827921 copied bit of error handling from Carl 2010-07-07 08:17:18 +02:00
steffen123
0ecd19fbdf change PSS to give None for *Count 2010-07-07 08:12:10 +02:00
steffen123
160ca30abe much improved PS summary parsing thanks to carls help 2010-07-07 08:05:42 +02:00
steffen123
2046fc1122 the two new files for PS summary mail parsing 2010-07-07 07:06:11 +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
Worros
1d47fbb3c5 Add simple IMAP email fetcher 2010-07-07 10:47:02 +08:00
steffen123
e3ce1b8c2d remove old empty function 2010-07-07 04:24:46 +02:00
steffen123
d27d6a310c removed DatabaseManager.py as it's unused 2010-07-07 04:16:44 +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
steffen123
18faa5288c first steps to get PS tourney results from IMAP 2010-07-07 02:53:27 +02:00
steffen123
04ed65e88c minor DB changes. recording TourneysPlayers now for FTP and PS 2010-07-07 00:52:44 +02:00
steffen123
e4916bc456 replace catchall except with an if 2010-07-06 23:52:59 +02:00
steffen123
e2087d60a1 rename tourney methods in DB 2010-07-06 23:43:49 +02:00
steffen123
f5c1fd4ed7 check for tourney rather than tourNo not to be none 2010-07-06 23:39:25 +02:00
steffen123
e5cba5172d DB version increase for rush field 2010-07-06 18:14:35 +02:00
steffen123
1ab4db685f add rush poker field 2010-07-06 18:07:43 +02:00
steffen123
2717c71b4e fixes FTP tourneys to work as good/bad as PS tourneys 2010-07-06 18:07:26 +02:00
Worros
f44947c8a0 Add a new sample file for parsing website results.
Decided to knock up a quick proof of concept for fetching and parsing tournament results from a website.

Specifically uses:
- Pythons Beautiful Soup library
- P5s results pages - replace playername with the desired p5s username (eg. taypaur)

Of note; no tournament ids are displayed on any of the sites, so for this to work we may need to add a field like 'p5sid'
2010-07-06 16:13:25 +08:00
Worros
958e67beac Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-06 12:18:16 +08:00
gimick
659f3e8835 walkthrough updated to fix numpy dotblas error : add fdl1.2 licence to walkthroughs 2010-07-05 22:15:45 +01:00
steffen123
d01435d068 store Tourneys and TourneyTypes for PS tourneys. see ML for more details 2010-07-05 11:48:26 +02:00
steffen123
be68f56c1b Revert "copyright correction" - sqlcoder commited with Carl as "owner"
This reverts commit dea3e72343.
2010-07-05 06:18:16 +02:00
Worros
4577cfbfa2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file

Conflicts:

	pyfpdb/Database.py
	pyfpdb/DerivedStats.py
	pyfpdb/SQL.py
	pyfpdb/SummaryEverleaf.py
	pyfpdb/TournamentTracker.py
	pyfpdb/Tourney.py
	run_fpdb.py
2010-07-05 12:17:08 +08:00
steffen123
dea3e72343 copyright correction 2010-07-05 06:14:07 +02:00
steffen123
6b95c46b27 change email address for bug reports from my personal one to mailing list 2010-07-05 11:42:12 +08:00
steffen123
39859970d7 another repair as a result of removing payinAmounts 2010-07-05 01:29:05 +02:00
steffen123
fd7556af89 fix call to tourney.addPlayer after removal of payinAmount 2010-07-04 23:42:57 +02:00
steffen123
ea1e136ae2 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-04 23:20:24 +02:00
steffen123
8c0395ef78 quit fpdb automatically after re-create. ppl tend to ignore msgboxes ;) 2010-07-04 23:19:57 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
gimick
fcde707644 version -pre4; graph export fix; add mysql-python123.exe walkthrough 2010-07-02 23:13:36 +01:00
steffen123
e8864bf241 change email address for bug reports from my personal one to mailing list 2010-07-02 23:48:01 +02:00
steffen123
d291b8621f removed TourneysPlayers.payinAmounts 2010-07-02 22:40:40 +02:00
steffen123
6b417ebdd4 added HandsPlayers.sitout as discussed on ML 2010-07-02 22:17:15 +02:00
steffen123
6e296cf38f Merge branch 'master' of git://git.assembla.com/fpdboz 2010-07-02 19:46:09 +02:00
steffen123
122eedcbb2 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-02 19:45:51 +02:00
steffen123
5e45a086bd DB-version increase for headsup-removal 2010-07-02 19:45:30 +02:00
steffen123
6bc3e741c6 removed TourneyTypes.headsUp 2010-07-02 19:39:02 +02:00
Worros
68e3f5b181 CarbonPokerToFpdb: Fix for Black Chip poker
This site records a timestamp for every action
2010-07-01 21:53:24 +08:00
steve
cd3ed9a937 fix graph export to png. More focus fixes 2010-06-27 23:21:40 +01:00
Gerko de Roo
d90156a02a Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-06-27 20:55:27 +02:00
sqlcoder
e34092b175 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-26 18:08:27 +01:00
gimick
40745ace13 improve walkthrough and include postgresql - tweak script for python 2.6 2010-06-26 13:46:33 +01:00
steffen123
d652eb5d3c repaired sqlite db creation 2010-06-26 12:24:30 +02:00
gimick
222b70fbb4 add mysql to build instructions, py2.6 mods to py2exe, set ver 0.20pre3 2010-06-26 00:48:55 +01:00
gimick
cde793a4a1 fix tray->quit lockup if child windows open 2010-06-25 18:06:51 +01:00
steffen123
eab41b1519 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-25 11:03:46 +02:00
steffen123
0477c73801 changed TourneyTypes as discussed, some currency-related fixes
I haven't expanded all queries etc. to include the new fields
    as that code is not currently used by anything and can be
    expanded as needed
2010-06-25 11:02:01 +02:00
Worros
e0b51bee07 Really add the 0.20/0.40 limit level
Limit occurs in Stars 8 game
2010-06-25 16:58:14 +08:00
Worros
06e5e5ec26 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-25 16:22:38 +08:00
steffen123
eaa184614a Added warning to keep history files to start screen. 2010-06-25 15:24:38 +08:00
steffen123
90ff0559b3 Added warning to keep history files to start screen. 2010-06-25 08:16:56 +02:00
gimick
b4463b2e92 fix new bug - prefs cancel button not working 2010-06-24 23:33:43 +01:00
gimick
0de6d20340 fix focus of warning when editing prefs if any notebook tabs open 2010-06-24 22:47:42 +01:00
gimick
bd440f3008 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-24 21:41:16 +01:00
gimick
5b1bb5f5f9 fix focus issues if task switching to fpdb when popups are open 2010-06-24 21:34:50 +01:00
steffen123
8a2f881b61 split TourneyTypes.rebuyOrAddon to rebuy and addOn 2010-06-22 22:27:10 +02:00
steffen123
e0a42bab8e more modifications for TourneysPlayers changes 2010-06-22 21:45:22 +02:00
steffen123
58da99c86c removed 2 ancient unusued methods and updated TourneysPlayers
tested bulk import for PS and FTP, player stats and positional stats
also fixed a little bug that sqlite created HandsPlayers.actionString
	with type REAL instead of VARCHAR
2010-06-22 21:05:33 +02:00
gimick
6324ad0c93 Set version to 0.20-pre1 - to indicate snapshot for the initial python26 .exe build 2010-06-22 12:03:00 +08:00
gimick
304ea7419d fpdb.exe + python 2.6 crash at runtime, needs gio 2010-06-22 12:00:41 +08:00
steffen123
64597cf0a5 fix silly mistake i made when changing start screen text 2010-06-22 12:00:37 +08:00
steffen123
085a269fbe changed start page text 2010-06-22 11:15:22 +08:00
steffen123
7bda305143 removed outdated documentation and moved license files 2010-06-22 11:14:29 +08:00
steffen123
1ed18ec265 minor spelling correction 2010-06-22 11:12:06 +08:00
gimick
14146f58d7 Set version to 0.20-pre1 - to indicate snapshot for the initial python26 .exe build 2010-06-22 00:46:09 +01:00
gimick
180f93ba4d fpdb.exe + python 2.6 crash at runtime, needs gio 2010-06-22 00:17:38 +01:00
steffen123
e46b0b7a0f renamed tourneyplayers to tourneysplayers in a few places 2010-06-21 17:12:20 +02:00
steffen123
e6fd3afbba renamed totalRebuys/AddOns to totalRebuyCount/AddOnCount 2010-06-21 16:45:15 +02:00
steffen123
d83c68d578 fix silly mistake i made when changing start screen text 2010-06-21 15:54:32 +02:00
steffen123
cfcec2182e removed fields from Tourneys
buyinChips, rebuyChips, addonChips, rebuyAmount, addonAmount and koBounty
2010-06-21 15:48:22 +02:00
steffen123
e244a5d502 minor spelling correction 2010-06-21 15:41:45 +02:00
steffen123
d207261c82 Merge branch 'master' of git://git.assembla.com/fpdboz
removed pyfpdb/fpdb.py
2010-06-21 14:02:08 +02:00
steffen123
9f9fdb7abf removed outdated documentation and moved license files 2010-06-21 13:13:19 +02:00
steffen123
ad95038edb changed start page text 2010-06-21 13:00:09 +02:00
Worros
5720012b3b Actually remove fpdb.py 2010-06-21 18:44:38 +08:00
Worros
77211cd4be Revert change to HUD_main window 2010-06-21 18:44:04 +08:00
Worros
cf4e80cfa3 Add new test file, delete fpdb.py 2010-06-21 18:42:15 +08:00
Worros
d6f2cd4e83 Add utf8 encoding line to fpdb.pyw 2010-06-21 18:41:31 +08:00
Worros
cf2b913592 make CLI parameters to run_fpdb.py and fpdb.py work again
Conflicts:

	pyfpdb/fpdb.py
	run_fpdb.py
2010-06-21 14:49:56 +08:00
Worros
79a6aa8f48 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo 2010-06-21 14:45:03 +08:00
steffen123
35e7db570c moved test_Python* to root folder so they don't collide with py.test and because it fits better there anyways 2010-06-21 13:43:43 +08:00
steffen123
3d8a38e59a renamed test scripts to make their purpose clearer 2010-06-21 13:43:24 +08:00
steffen123
6f8fe4a68c expanded explanation of vpip 2010-06-21 13:42:53 +08:00
Worros
6902bf8150 FTP Stud steal examples.
Stud steal examples provided by Cardvark on 2+2
2010-06-21 13:12:52 +08:00
steffen123
51a51dc892 readd warning dialogue to restart after recreate
after loosing it in merge
2010-06-21 12:44:29 +08:00
Worros
d647a3a5ec Adjust author names on request 2010-06-21 12:44:13 +08:00
sqlcoder
6a999f4232 change shortcut key for import button so that it still works when button label is 'I M P O R T I N G' 2010-06-20 17:47:23 +01:00
steffen123
8e65370027 make CLI parameters to run_fpdb.py and fpdb.py work again 2010-06-20 18:09:17 +02:00
steffen123
5f240aabb7 readd warning dialogue to restart after recreate
after loosing it in merge
2010-06-20 18:07:44 +02:00
steffen123
de2d810ac5 moved currency field from Sites to Gametypes&TourneyTypes, addded Sites.code 2010-06-20 17:34:58 +02:00
steffen123
4d42953135 make rename and executes work in linux 2010-06-20 13:52:44 +02:00
steffen123
9543413b43 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/fpdb.py
2010-06-20 13:32:39 +02:00
Gerko de Roo
f94fa0c685 Added aggression information in guiplayerstats 2010-06-20 10:02:01 +02:00
Gerko de Roo
d706dea126 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-06-20 09:25:06 +02:00
Worros
057a864794 Stars: Add 0.20/0.40 limit 2010-06-19 08:42:49 +08:00
Worros
0ee7724d00 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-18 18:58:16 +08:00
gimick
6189a67b1e stop HUD_main window being closed. Temp fix to prevent lockup in .exe builds 2010-06-17 23:35:38 +01:00
Worros
00dd86ee19 Fix sessionStats query to exclude tourney hands. 2010-06-17 12:57:31 +08:00
Gerko de Roo
16dc98b1b7 Aggression freq, aggression factor and Overall CBET added
in default pop-up overlay
2010-06-16 17:21:49 +02:00
Gerko de Roo
1279c8d67e When div by 0, still display usefull info 2010-06-16 17:17:14 +02:00
Gerko de Roo
1c238e4119 Code change must be reviewed!
The Handplayers and Hands both have a street(x)Raises index added to the
query result. I'm not sure this solution works.
2010-06-16 17:17:08 +02:00
Gerko de Roo
d9f6967c1c Street(x)Bet and street(x)Call and Street(x)Raises
Now updates in hud chache also
2010-06-16 17:17:03 +02:00
Gerko de Roo
db6f7989a9 Street(x)Bet street(x)Calls were stored in (db.)handplayers.
They were not yet available in (db.)hudchache.
Using the Bets and Call, together with stree(x)Agression the
aggression frequency and aggression factor can be calculated.
2010-06-16 17:16:58 +02:00
Gerko de Roo
4d4dafee8f Added aggression factor, aggression freq and Overall Cont. bet.
At the moment the agrression based equations are not correct yet due to
missing stat info...
Missing stat code is mentioned in comment.
using saw_x as an indication....
2010-06-16 17:16:53 +02:00
Gerko de Roo
b855b53918 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-06-16 17:15:10 +02:00
Gerko de Roo
5fd4c2c443 import regression files 2010-06-16 17:13:05 +02:00
Worros
61e3f79a7f Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-15 11:07:24 +08:00
sqlcoder
d6f3bed1d4 fix comment error in example hud config and call sys.exit() if the error is still there instead of exit() 2010-06-14 22:52:23 +01:00
steffen123
7896ae7380 expanded explanation of vpip 2010-06-13 07:40:59 +02:00
Worros
498eb486b5 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-13 13:33:02 +08:00
sqlcoder
9b59957a9b comment out new .close() calls to fix autoimport button 2010-06-12 11:15:55 +01:00
sqlcoder
92aab5e80b fix new call to get_site_parameters() 2010-06-12 11:15:02 +01:00
sqlcoder
7205ac78d3 change legend position in graph, 'best' seems to use top right for me sometimes when upper left seems the obvious place to put it 2010-06-11 21:09:04 +01:00
sqlcoder
bf5f24fb6b add xshift/yshift config to move menu window on hud 2010-06-11 21:03:53 +01:00
sqlcoder
fbefe1e611 try to wrap long lines in config file, attributes are still sorted into alpha order :-( 2010-06-09 22:46:17 +01:00
sqlcoder
5803933ba0 update py2exe instructions 2010-06-09 20:58:05 +01:00
Worros
5660d6cb5e Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-08 13:30:30 +08:00
Worros
5f1308688b Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-08 13:17:20 +08:00
Worros
523a70ebd8 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-06-08 11:47:14 +08:00
steffen123
aed767ef4b add warning dialogue to restart after recreate as i encountered bugs under some circumstances if I didn't but it
doesn't seem worth investigating
2010-06-08 04:33:27 +02:00
steffen123
816be22833 moved test_Python* to root folder so they don't collide with py.test and because it fits better there anyways 2010-06-08 04:30:10 +02:00
steffen123
5aadfde2df renamed test scripts to make their purpose clearer 2010-06-08 02:52:41 +02:00
gimick
a926f7b19f Histories updated with random hand numbers, to avoid duplicates. PLO example added with sidepots 2010-06-08 01:40:09 +01:00
sqlcoder
d26b0f3a9f another python -> pythonw change 2010-06-07 21:59:01 +01:00
sqlcoder
fb811ca388 minor heading change in Preferences dialog 2010-06-07 21:58:04 +01:00
sqlcoder
8e0fb78570 further refinements to .py -> .pyw and python -> pythonw change 2010-06-07 19:29:59 +01:00
steffen123
d84ff44875 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-07 03:31:00 +02:00
steffen123
e72b7364b8 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/DerivedStats.py
2010-06-07 03:08:07 +02:00
steffen123
e349dad1b2 Revert "dirty but working patch to make it load utf8 files (specifically, FTP)"
This reverts commit 12e89306b5.
2010-06-07 03:03:52 +02:00
gimick
1f9b7788ad add 8 example Stars hand histories to pyfpdb/regression-test-files 2010-06-07 00:44:08 +01:00
gimick
38ad49bf38 Write Anonymise output to .anon file, rather than the terminal 2010-06-06 21:06:04 +01:00
sqlcoder
1c897e54d5 rename HUD_main from .py to .pyw as well 2010-06-06 21:03:03 +01:00
sqlcoder
1aafe79b4a fix name of list indexes query 2010-06-06 13:21:21 +01:00
sqlcoder
b7a7af37d5 minor whitespace change 2010-06-06 13:20:39 +01:00
sqlcoder
da203fbe6c debug and refine fpdb.pyw changes for .exe version 2010-06-06 10:57:51 +01:00
sqlcoder
544a682891 rename fpdb.py to fpdb.pyw makes it run smoother from .exe (no dos window) 2010-06-06 09:01:26 +01:00
sqlcoder
30d5cf56ca Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-05 16:54:18 +01:00
sqlcoder
397ae8bbcd show site name in error message if match failed 2010-06-05 16:53:48 +01:00
Worros
3d7668bde5 Add required import 2010-06-05 18:00:41 +08:00
Worros
18a3af2e88 Fix HHC init and python 2.5 incompatibility 2010-06-05 17:58:00 +08:00
Mika Bostrom
d56d3009b6 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-05 10:13:04 +03:00
Worros
3b823574ab Bump version to 0.20 2010-06-05 00:44:40 +08:00
Worros
0c3cdb12f8 General cleanup - Exception messages and improved logging.
Stars HHC, HHC itself and Hand.

Should not get the first 100 characters of an failing hand in the log, which contains the handid for later reference.

Played around with the number of characters a while ago - 100 chars is about the sweet spot.
2010-06-04 15:59:47 +08:00
Worros
12ad272f91 SQL.py - Add functions for listing indexes.
Not used anywhere - may be a good reference at some point
2010-06-04 15:26:50 +08:00
Worros
212438a0c6 Database.py - Additional logging and comments 2010-06-04 15:25:56 +08:00
Worros
6b00311756 Make sqlite index deletion and creation work.
Also updated the coding style and logging in that area.
2010-06-04 14:37:46 +08:00
Mika Bostrom
18036fb2cc Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-04 06:43:58 +03:00
Gerko de Roo
3716f11f06 1970-01-01 in mktime generates overflow... 2010-06-04 05:55:46 +08:00
Gerko de Roo
1edf860760 Add support for post of dead small blind (PartyPoker) 2010-06-04 05:46:19 +08:00
Gerko de Roo
e41c63f6ee When small blind raises here the addRaiseBy was generating money.
One player on small blind with total $2.25, commited $2.27 to the pot.
2010-06-04 05:46:06 +08:00
Gerko de Roo
bdbcf19b06 Player stat fix for PartyPoker
When placing a uncalled bet (like all-in) the uncalled part is put in a sitepot
Therefore the player exist 2* in collected.
The uncalled part of the bet was subtracted twice for collected and collectees.
2010-06-04 05:45:55 +08:00
Worros
def398e0c2 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-04 05:42:28 +08:00
Worros
e17058953c Add preliminary functions and variables for hex encoding patch
Kangaderoo has a patch which potentially fixes storage and display issues for users who do not have their database text storage as utf8.

Functions and variables added to Charset to disect the patch
2010-06-04 05:36:59 +08:00
Worros
23ae26259b Steffen reported a FTP file in UTF-8 format.
Added it as the 3rd codec tested
2010-06-04 04:17:30 +08:00
Gerko de Roo
27e5bf8698 Moved Codec conversion to Charset
The TIP is using a codec conversion that doesn't handle error exeptions.
This could lock up the HUD....
2010-06-04 03:58:49 +08:00
Gerko de Roo
5a13e96b3b Auto close HUD support for closing tourney windows added.
Not neat but functional.
2010-06-04 03:48:43 +08:00
steffen123
f6fbf08250 moved fold stats so that the file no longer indicates that they're not done 2010-06-04 03:35:40 +08:00