Commit Graph
100 Commits
Author SHA1 Message Date
Worros 0857739d83 Add Euro Symbol (€) and EUR to regexes 2008-12-31 01:28:28 +09:00
Worros 5d909fb648 Reapply stars regex changed reverted during a merge 2008-12-20 12:20:18 +09:00
Worros 83f50bafd3 Merge branch 'master' of git://git.assembla.com/free_poker_tools into session
Conflicts:

	pyfpdb/Hud.py
2008-12-20 12:19:37 +09:00
Worros 659f0bb508 Grapher: Fix Postgres to work again 2008-12-19 17:27:18 +09:00
Worros db6a8c5b31 Grapher: Make date ranges work - MySQL 2008-12-19 17:21:58 +09:00
Worros 2d700820f4 Add Everleaf to DB init process
Should these come from config on startup...?
2008-12-19 16:58:24 +09:00
Worros 49aa8921e3 Grapher: Update to support mutiple sites and players
Makes sites actually selectable via checkboxes.

Removed the sitename from the graph string for the moment - How that
string is generated needs a major overhaul
2008-12-19 16:52:32 +09:00
Worros dd7ede8903 Adjust regex to read 'and is all-in' 2008-12-17 14:04:29 +09:00
Worros e5e8643557 Minor update to handinfo regex for OnGame 2008-12-17 13:46:16 +09:00
Worros 186ef42663 Upper case Flop Turn and River in board dict 2008-12-16 23:48:49 +09:00
Worros 1a46230176 Add first pass Full Tilt converter 2008-12-16 23:45:58 +09:00
Worros d42739a958 Merge branch 'master' of git://git.assembla.com/mctfpdb 2008-12-16 22:39:51 +09:00
Worros eb6de6c68c Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-12-16 12:45:05 +09:00
Worros 5a7ccad725 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2008-12-16 12:42:35 +09:00
Worros fe59ec8ac2 Merge branch 'master' of git://git.assembla.com/mctfpdb 2008-12-16 12:32:54 +09:00
Worros 828cfc405d Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/fpdb_simple.py
2008-12-16 12:17:50 +09:00
Worros 764ef1b286 Merge branch 'master' of git://git.assembla.com/mctfpdb
Merge execution fixes from Ray with toggle button code from Matt.

Conflicts:

	pyfpdb/GuiAutoImport.py
2008-12-15 17:22:49 +09:00
Worros e8bf2d8a22 Additional Player stats from Eleatic Stranger
Variance and $/hand
2008-12-13 14:03:53 +09:00
Worros ec7c21621d Move hand into its own file and fix 2008-12-12 23:29:45 +09:00
Worros 0e2f6bf4ab Fix default value when run from RegressionTest 2008-12-12 20:25:26 +09:00
Worros 6afe8f0240 Add regression test for clean_title function and revert regex change 2008-12-12 20:12:45 +09:00
Worros ff1a2c42b8 HHC - Make getGameTypeAsString actually do a lookup 2008-12-12 19:51:57 +09:00
Worros 1db21d8d0d Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-12 18:52:52 +09:00
Worros 8262705edb Test patch for xaiviax FullTilt deep problem 2008-12-12 17:40:33 +09:00
Worros 02b2e5044c Remove duplicate function from Tables.py 2008-12-12 17:38:55 +09:00
Worros f4ab01ca23 Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/GuiGraphViewer.py
	pyfpdb/Hud.py
2008-12-12 00:50:51 +09:00
Worros 3a1ddad58f Fix crasher in Grapher if no hands returned.
Should alert user or at least draw something in right pane.
2008-12-11 23:55:03 +09:00
Worros 90803b297f PlayerStat update - Postgres fixes (still failing)
Fixed parameter passing to execute - psycopg2 appears to be a bit fussy
about how parameters are passed.

Main query still doesn't work.

psycopg2.DataError: division by zero - appears to be caused by

,round(100*sum(wonAtSD)/sum(sawShowdown)) AS wmsd

Stuck there.
2008-12-11 23:42:33 +09:00
Worros 7fcd2d9c93 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-12-11 19:08:24 +09:00
Worros 438b6238e8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-12-11 19:08:12 +09:00
Worros 9ca0574d78 Really basic check that username exists 2008-12-10 21:21:43 +09:00
Worros dc33003ce4 Merge branch 'master' of git://git.assembla.com/fpdb 2008-12-10 20:14:44 +09:00
Worros 8258c19c8f Merge branch 'master' of git://git.assembla.com/fpdb-sql 2008-12-10 19:39:37 +09:00
Worros 5a568527b8 Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-10 19:39:27 +09:00
Worros 390519c549 Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-10 09:50:42 +09:00
Worros f607b3ff63 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2008-12-09 23:50:35 +09:00
Worros 7b05adea80 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-12-09 23:49:25 +09:00
Worros 49f1f6bda0 Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-09 23:48:28 +09:00
Worros a73a9d446c Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-12-08 09:43:42 +09:00
Worros ba944c2d7c Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/fpdb_simple.py
2008-12-07 18:07:00 +09:00
Worros edd3d3ec07 White space churn to RegressionTester 2008-12-07 17:35:37 +09:00
Worros 977e954574 Fixups to GuiPlayerStats
Now sets up and obeys the radio buttons more correctly.

Also reads the names from the text box, and replaces <player_test> in
the sql query.
2008-12-07 17:06:01 +09:00
Worros 425997d66a Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2008-12-07 14:17:05 +09:00
Worros b1a9109190 Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-07 14:04:00 +09:00
Worros 998ab6eac3 Add start of graph export functionality
No function yet - just adds callback
2008-12-06 20:51:36 +09:00
Worros 88075bc4f2 Colorise the stats rows, add refresh button
Refresh button destroys table at the moment.
2008-12-06 20:50:06 +09:00
Worros 1576387d61 Add GuiPlayerStats to menu 2008-12-06 19:09:18 +09:00
Worros 803491e6fd Add new GUI insterface for players stats
First pass at displaying player stats. Only works if your player id is
3, and you play nl
2008-12-06 19:08:07 +09:00
Worros d17e353509 Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-05 22:50:22 +09:00
Worros 51ce6fc191 Index mods '+0' from sqlcoder on mailing list
Have been tested and provide a significant improvement on import.

"""
Along with new indexes, I think some of the sql in fpdb_simple can be
altered to make it use existing indexes more effectively. Generally
these mods affect statements where the db has a choice of 2 indexes to
use and I think it is choosing badly, e.g. it is using tourneyTypeId
which could match the whole table when it could use the new
siteTourneyNo index which will return very few rows.

To stop the db from using an index I'm just adding zero to the field, so
something like
   playerId = %s
changes to
   playerId+0 = %s
We humans can tell this is no real change at all, but the db sees this
as a change from <field> = <value> to <expression> = <value>, and it can
only use the index if the <field> the index is on is being tested.
(Nowadays you can index expressions in some databases but we'll ignore
that!)
"""
2008-12-05 17:18:13 +09:00
Worros afea3315fc Merge branch 'exp' of git://git.assembla.com/mctfpdb 2008-12-04 18:47:42 +09:00
Worros 42381eaabc Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/fpdb_simple.py
2008-12-04 18:46:55 +09:00
Worros fefbcfca65 Whitespace churn on Graph viewer 2008-12-04 16:15:38 +09:00
Worros a1ed9603f3 Revert debug changes made while working with Eric 2008-12-04 15:52:24 +09:00
Worros 1f7f3f7187 Fix MySQL 'ADD INDEX' syntax, add functions to create_tables 2008-12-03 18:18:20 +09:00
Worros 165ca5bf19 Oops - fix last commit 2008-12-03 17:41:20 +09:00
Worros f25e524c06 Add sqlcoders indexes to query file 2008-12-03 17:37:31 +09:00
Worros bac92f7b6e playerStats query from sqlcoder - massive whitepsace churn - Apologies 2008-12-03 17:00:11 +09:00
Worros e7650427b0 Initial placement of playerStatsByPosition
Doesn't do much thats useful yet - hard coded to nl and playerid=3
2008-12-03 16:36:49 +09:00
Worros 8820a691e8 Update bulk import codepath to output total import time. 2008-12-01 20:07:38 +09:00
Worros 762ae46afb Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/GuiGraphViewer.py
2008-11-27 22:50:58 +09:00
Worros fed3374901 Start output of action lines for Super class 2008-11-27 21:29:19 +09:00
Worros b495387d94 Move Everleaf updates - action now parsed 2008-11-27 20:54:42 +09:00
Worros 7cc8ce7757 Clean up profit graph function 2008-11-27 10:29:41 +09:00
Worros 6c4c450f07 Fix for postgres graph query - Remove column names to fix syntax error 2008-11-27 10:28:19 +09:00
Worros bffbc18ff4 : 2008-11-18 14:27:30 +09:00
Worros 55332d4983 More Everleaf updates, may have a functional regex for action in NLHE 2008-11-16 13:44:16 +09:00
Worros 7aa0cff8d8 Make ftp kinda work 2008-11-16 13:43:24 +09:00
Worros dfbcf8efc7 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-16 11:49:37 +09:00
Worros 0059d20f8e Add callback for test entry so player name is changable. Still buggy but partially functional 2008-11-14 22:41:37 +10:00
Worros ba52cb93d1 Actually implement sqlcoders query as intended.
Query running in about 30% of the time.
2008-11-14 19:27:37 +10:00
Worros e4021b0525 Fix comment re: stars time format 2008-11-14 15:02:38 +10:00
Worros 115c5d920d Text was annoying me. Turned into multiline string. 2008-11-14 14:58:35 +10:00
Worros 86ba757080 Major update to the layout of GuiGraphViewer.
Changes the structure to a left a left options pane and a right graph pane.

Starting to create the options dynamically, and use callbacks sanely.
2008-11-14 14:54:34 +10:00
Worros 34e374a55e Patch from sqlcoder to make the query for the profit graph smarter/faster 2008-11-14 08:15:28 +10:00
Worros c2475db712 Bugfix - fixes new stars format import, also fixes bug in bulk import (that i introduced a few commits ago) 2008-11-12 22:40:29 +10:00
Worros 6e182831ac Everleaf update - Holecards read 2008-11-12 14:12:18 +10:00
Worros 21df5900e9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-12 08:58:36 +10:00
Worros 6d2b91c172 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-11 22:23:47 +10:00
Worros 2bdc7f5057 Everleaf converter update - blinds posting 2008-11-11 18:54:24 +10:00
Worros 4bbd18d935 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-11 16:24:07 +10:00
Worros 45b2b4b212 Fix sb/bb - no need to convert 2008-11-11 08:22:33 +10:00
Worros d112c39c1c More Everleaf updates - parse player stacks and seats 2008-11-11 00:19:45 +10:00
Worros da83795e5a Fix 'duh' error and grab button position 2008-11-10 23:29:49 +10:00
Worros 816a9e3b58 More Everleaf converter updates, now parsing some hand info 2008-11-10 23:02:56 +10:00
Worros 6de1ac1c82 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-10 22:55:24 +10:00
Worros 397cb9dd29 Merge branch 'master' of git://git.assembla.com/fpdb 2008-11-10 16:41:47 +10:00
Worros 0bbf801d89 Bit more Everleaf 2008-11-10 16:41:04 +10:00
Worros 7053b7f748 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-10 14:11:57 +10: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 d0218363c6 Fix GuiAutoImport startup after I deleted the default setting in a previous patch.
Setting now comes from config
2008-11-09 20:57:42 +10:00
Worros c53d78491a Minor update to Carbon poker - read gametype + sb/bb 2008-11-09 16:27:27 +10:00
Worros 43f8620dea Remove FpdbRegex until functional 2008-11-09 15:33:42 +10:00
Worros 669382aa01 Remove errors import 2008-11-09 15:30:57 +10:00
Worros d6706a5bdf First pass at turning file from pokerstats into class 2008-11-09 14:00:39 +10:00
Worros 7bc686c859 Add Regex file pokerstars_cash.py from pokerstats package (http://bostik.iki.fi/pokerstats/)
Intend to turn into a class plugins can subclass and override the various regexes
2008-11-09 13:29:58 +10:00
Worros f3224f87cc Add sanity check function, creates ~/.fpdb/HandHistories/<sitename> if it doens't exist.
Fixes hhbase and hhdir interpretation.
2008-11-09 12:58:46 +10:00
Worros 328bba2d23 Updates
- change HH object init call.
- override carbon readFile function and hack so minidom can read it
2008-11-09 10:46:14 +10:00
Worros 7df572895b Work on plugin initialisation, add Carbon poker plugin 2008-11-09 09:49:05 +10:00
Worros 4f64464df3 Fix accessor method to import params in Coonfig. Make cli print using accessor 2008-11-08 23:45:14 +10:00