Commit Graph

2997 Commits

Author SHA1 Message Date
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