Commit Graph
69 Commits
Author SHA1 Message Date
Worros 2b9eed8958 Change db access function to always get the latest committed transactions.
Fixes graph updating, so i made the label a bit prettier, and a bit better behaved.
2008-11-07 18:12:48 +13:00
Worros b32745c28a Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-07 17:16:21 +13:00
Worros 68344b5ec0 Modified Auto import GUI to allow n-sites based on config file. Added filter option to display. Added option to enable or disable sites in Config 2008-11-06 18:39:49 +13:00
Worros cf714a8ec1 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-06 12:19:00 +13:00
Worros a29372a756 Fix copy-paste error in Stat.py for a_freq_3 function.
Hat tip to sqlcoder on sourceforge.
2008-11-06 12:14:46 +13:00
Worros 8191db6487 Add new parameters to HUD_config.xml.example in prep for HH filter plugins 2008-11-06 06:57:15 +13:00
Worros 54b1d18146 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-11-06 06:49:54 +13: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 79ddee8971 Add converter attribute to support additional sites 2008-11-04 22:40:03 +13:00
Worros 3f6e4fc3bf Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/Hud.py
2008-10-29 23:46:04 +09: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 5809f28daf Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-10-27 20:14:38 +09:00
Worros 56d80d785c HUD chmod 2008-10-27 20:14:08 +09:00
Worros e8d55762b8 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-10-27 00:53:10 +09:00
Worros a1499db849 Fix return type of tables_by_name discovery for posix 2008-10-26 20:13:30 +09:00
Worros f48c33f580 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-10-26 19:10:30 +09:00
Worros 40af286fd6 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-10-26 18:49:03 +09:00
Worros 8908036e66 Updated screenshots page to reference new screenshots 2008-10-26 18:31:55 +09:00
Worros 5abaa2f5b0 Added Screenshots for website.
Screenshot-2-Site-HUD - Shows PS and Full tilt running at same time
Screenshow-Graph-v137 - Shows the Graph viewer functioning
Screenshot-Stacked-Everleaf-137 - Shows fpdb working in stacked mode on everleaf
2008-10-26 18:23:32 +09:00
Worros 389d9361b9 Update Graph Viewer to use config file, fill Entry with player_name field from the config. 2008-10-25 14:57:29 +08:00
Worros c48b2f3057 Remove load_default_profile function.
All references to load default profile were removed when Ray merged the config files.

Deletes function and all references to it.
2008-10-25 14:45:39 +08:00
Worros 81a6d5f972 Revert label from Ray - Alpha6+ back to Alpha8+ 2008-10-25 14:24:10 +08:00
Worros 0c8acc5ad4 Fix typo so Full Tilt default HH_path is read 2008-10-25 14:05:01 +08:00
Worros 1c5024d35c Fix typo for mac
HT - Eric Blade (blade.eric at gmail.com)
2008-10-24 21:49:20 +08:00
Worros 4b7cc50cc3 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-22 22:54:54 +08:00
Worros 9a685b63c5 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-22 22:18:48 +08:00
Worros 53e7ed44b1 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-22 19:10:37 +08:00
Worros d2c3c93a99 Fix permissions for php 2008-10-20 18:22:06 +08:00
Worros 941631c1e5 Fix table detection for Full Tilt so it detects 6 max tables (others aren't verified) 2008-10-18 14:16:24 +08:00
Worros 9bb8e229e4 Fix TODO item - detect if directory passed in is a valid directory 2008-10-18 02:09:34 +08:00
Worros 87af99847b Merge branch 'master' into two-sites 2008-10-18 00:47:31 +08:00
Worros eb67d071a5 Changed TextBuffer widget over to Entry as it looks nicer, and we dont need multiline text. 2008-10-18 00:35:59 +08:00
Worros d338a7c2f5 First draft of multi-site AutoImport.
GUI looks ugly, but appears to be working

Changed TextView widget to Entry because it look neater on my system
2008-10-18 00:28:33 +08:00
Worros 7fd517d76e Replace multiline TBuffer with an Entry widget and rename 2008-10-17 20:31:36 +08:00
Worros ee2017bb05 Fix comment - no mtime set at that point 2008-10-17 20:23:28 +08:00
Worros eeef0a079b Fix from Ray - fix typo in producer function 2008-10-17 10:59:56 +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
Worros 725f0589f8 Fix importing single files again - missing arguement 2008-10-15 00:15:01 +08:00
Worros c7ba32c755 Fix graph message to include site and player name 2008-10-14 22:35:05 +08:00
Worros 3e9ef61fc8 Fix bug: incorrect use of set function to remove duplicates
Now detects new tables without issues
2008-10-13 23:34:18 +08:00
Worros 9a60cf84c8 Real fix this time, modify GuiAutoImport to actually tell importer to monitor the directory 2008-10-13 02:06:28 +08:00
Worros 8ca5a5c965 Should fix detection of new hh files. 2008-10-13 01:26:04 +08:00
Worros c2c37dc5ee Fix mtime time detection 2008-10-12 18:21:42 +08:00
Worros 6c4e2f3eb9 Changes import_file_dict interface to Importer internal.
Users of Importer should now addImportFile and addImportDirectory, set paramaters, then run either runImport - all files or runUpdated - modified files.

Comments out postgres regression test until fixed

Adds initial code for importing regression test files.
2008-10-12 15:49:09 +08:00
Worros 638a6d6dab Move more "options" from calling class into settings has of fpdb_import and fix all callers 2008-10-12 02:14:06 +08:00
Worros 1e8333ec5d Move minPrint variable from callling class to setting in Importer class 2008-10-12 01:42:08 +08:00
Worros ae9b70ea5d Change variable name to indicate what it actually is. 2008-10-12 01:19:57 +08:00
Worros 27ca82ca48 Change api so object and settings are passed in at creation time. 2008-10-12 01:12:30 +08:00
Worros ac551f6535 Merge branch 'master' of git://git.assembla.com/fpdb 2008-10-11 13:36:25 +08:00
Worros cd78d375fe Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-11 03:15:56 +08:00
Worros 60b97582e5 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-11 01:46:34 +08:00
Worros 8b22981ac6 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-10-10 19:37:37 +08:00
Worros 54f0eee984 Syntax - Fix last commit 2008-10-10 02:53:57 +08:00
Worros 0743114c75 Factor out multiple instances of "email steffen" error message into a function 2008-10-10 02:36:12 +08:00
Worros 5e1362abf9 Read file in one hit then close. Make lines of for a class member
Add timing code
2008-10-10 02:18:54 +08:00
Worros ed7122ca31 Move callHud to class attribute and remove from function parameters
Fix all callers
2008-10-10 01:21:01 +08:00
Worros 037178ead3 Shift db connection code to its own function
Add class vars for db and cursor
2008-10-10 00:13:56 +08:00
Worros 5389244f71 Merge git://git.assembla.com/fpdb 2008-10-09 21:13:53 +08:00
Worros 14ab9f6814 Kill command line interface to fpdb_import until restructured 2008-10-09 01:48:16 +08:00
Worros 98b556f42c Turn fpdb_import functions into class Importer
Fix all callers of fpdb_import
2008-10-09 01:36:08 +08:00
Worros 79651706f6 Make GuiGraphViewer use the query file.
Make minor adjustment to Graph
2008-10-08 19:53:25 +08:00
Worros 6aca36b564 Moved SHOW TABLES query to query dict as list_tables
Added failing tests for Postgres until table deletion and table listing is fixed.
2008-10-08 03:12:38 +08:00
Worros 5dd9dbc86f Fix residual bugs in table droping and creation
Add Regression test for recreating_tables in mysql
2008-10-08 02:28:18 +08:00
Worros dc81ca854a Indentation fixes 2008-10-08 01:50:43 +08:00
Worros 3d43e8167c Make drop_tables generic for mysql so we dont end up with a function that has 20 if(dbversion ==) statements within 2008-10-08 01:41:06 +08:00
Worros 3018cc660b Move create tables code into its own function.
Remove Postgres specific code
2008-10-08 01:16:26 +08:00