Chaz Littlejohn
c361992b13
added \u20ac into the sym dict
2011-03-30 03:15:12 +00:00
Chaz Littlejohn
c19549b3da
changed the currency substitutions to byte stream AND unicode -- i.e. u'$|\xe2\x82\xac|\u20ac|'
2011-03-29 20:15:21 +00:00
Chaz Littlejohn
b00c30cbbf
Re-did patch to fix import when no hero is defined
2011-03-29 14:18:00 +00:00
Chaz Littlejohn
dc839c9cae
Merge branch 'sorrow' into chazdazzle
2011-03-29 14:04:59 +00:00
Worros
316e4ff284
Everleaf: Possible fix for older tourney hh's
2011-03-29 18:05:21 +08:00
Worros
f159823f1b
Regression: Add card8-20
2011-03-29 17:35:24 +08:00
Worros
59d22bed5d
Import: Remove unicode translation from addImportFile
...
A filename is an almost arbitrary binary sequence, assuming it can be encoded
in utf-8 caused crashes on certain file names.
2011-03-29 17:20:13 +08:00
Worros
0cef119a3b
Stars: Add unicode marker back to currency substitution
2011-03-29 17:17:29 +08:00
Worros
de9c65e3ea
Database: Fix sessionCache when no hero exists
2011-03-29 17:13:31 +08:00
Worros
684689c9db
Revert "changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem."
...
This reverts commit d0ae2a155d
.
Conflicts:
pyfpdb/FulltiltToFpdb.py
2011-03-29 15:46:15 +08:00
Worros
efa1a9e6cf
SQL: Change column types to 'timestamp' for sessionCache
2011-03-29 15:36:48 +08:00
Worros
ab5e28e73d
Import: Add to_hud back to init list
2011-03-29 15:36:18 +08:00
Worros
7b319d5aa0
Hand.py: Add in test data to prepInsert
2011-03-29 14:58:44 +08:00
Chaz Littlejohn
38fbae957a
charset needs to be set to 'utf8' for the MySQL connection to store unicode strings correctly
2011-03-29 06:10:07 +00:00
Worros
59b65ca146
Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz
...
Conflicts:
pyfpdb/FulltiltToFpdb.py
2011-03-29 13:52:08 +08:00
Chaz Littlejohn
300340218b
specifiying 'utf8' CHARSET in Players.name field not required and will lead to a conflict if mysql database created using a different utf-8 collation
2011-03-28 18:34:05 +00:00
Worros
f8f25fe4ec
PSSummary: Fix for Stars.fr winnings
...
Regex was previously fixed to $
2011-03-28 18:04:51 +08:00
Worros
cf5e3878bd
FTP: Allow '_' in tablename
2011-03-28 17:14:27 +08:00
Worros
bcb23d47e8
Regression: FTP hand with '_' in tablename.
2011-03-28 17:13:00 +08:00
Worros
f9e84a5aa3
Regression: Rename Everleaf tourney test files
...
Tourney id is only in the filename, and that is the only way Everlead can(? currently?) detect if a hh is from a tourney or not
2011-03-27 23:32:35 +08:00
Worros
8e38e4e458
THP: Add Everleaf tourney files
2011-03-27 23:30:38 +08:00
Worros
c1bd2bb5c7
Regression: Everleaf tourney samples
2011-03-27 15:08:57 +08:00
Worros
65ab68a069
Merge branch 'master' of git://git.assembla.com/fpdb
2011-03-25 13:22:19 +08:00
Worros
b6ca0565ce
FTP: Allow # in tablename
2011-03-25 13:14:26 +08:00
Chaz Littlejohn
a87f43f933
Updated the import process for Draw hands so that cards, along with additional draws can now be stored. HandsPlayers now includes 20 card fields to accomodate up to 4 five card hands for each player. The regex for the 'stands pat' action was also improved so that hero cards from those streets could be taken from that line of text
2011-03-24 06:00:10 +00:00
Chaz Littlejohn
5eeafc4503
Added regex & methods for picking up the 'discards' and 'stands pat' actions in FTP draw hands
2011-03-24 04:08:08 +00:00
Chaz Littlejohn
7c31a19077
Modified HHC so gtk & pygtk are imported to execute a callback only if import is run from the gui
2011-03-23 19:34:15 +00:00
Chaz Littlejohn
3e9dacf900
Added a rebuild_sessionscache method for creating the SC table from hands in the database
2011-03-23 19:27:56 +00:00
Chaz Littlejohn
8c4d5d42b4
Added printtest back in and fixed a couple of SessionsCache bugs
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
3ac088b748
Fixed a timezone issue in storeSessionsCache
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
dd6ce46487
Added methods to create utilize a lock table for managing access to the database during a multi-threaded import. Currently, only MySQL is supported
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
3c2fdaf53e
Fixed some data-type bugs in the Import class -- essentialy the same commit as 530a21cb9f65f83f8b09ef08f6415c8bd256fccc in the chaz branch of my repo
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
91d791a3ac
Commented out the truly absurd amount of printing that goes on whenever you load a Config file
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
09f1616e87
fixed a small bug in storeHudCache
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
d0ae2a155d
changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem.
2011-03-23 19:27:55 +00:00
Chaz Littlejohn
66e1cc3704
This commit includes a set of updates which:
...
* implement the new SessionsCache table
- The SessionsCache table can be used to track overall or game sepecific sessions
- The totalProfit field is summed by gameTypeId for cash games allowing for multiple currencies
- Tournament profit (cashes - buy-ins) are also recorded in totalProfit and its grouped by tourneyId
* change the sequence and methodology surrounding the import of hands
- fpdb_import.py implements a unique Hand.py method for each table
- Hands SessionCache and HudCache records themselves are 'cached' to allow for 'bulk insert' at EOF
- import is reorganized to allow for efficient locking in multiple connection environments
* changes the name of the index created by addTPlayersIndex (so that it is unique) to accommodate a bug in MySQL 5.5
TODO
* A 'rebuild_sessionsCache' method is still required
* Further commits are expected to fix bugs created during the porting of this code
2011-03-23 19:27:55 +00:00
gimick
ed5234d24a
GUI: BB graph not working in postgres - add additional group-by column
2011-03-23 09:38:50 +00:00
tribumarchal
c0d8ff4638
update french language
...
Signed-off-by: tribumarchal
2011-03-23 15:02:42 +08:00
Worros
169f4bca32
Regression: Data files for PacificPoker play money hand
2011-03-22 15:35:03 +08:00
Worros
867c547ca0
Revert "Modified hhc & fpdb_import so gtk & pygtk are imported only if import is run from the"
...
This reverts commit 64f46181fa
.
2011-03-22 15:20:50 +08:00
Worros
94dc683281
PacificPoker: Change raise function
...
In the sample hand history
player04 bets [1]
Hero raises [2]
player05 raises [3]
Hero raises 1 to 2
player05 raises 1 to 3
2011-03-22 15:11:08 +08:00
Worros
32bb2c013e
Merge branch 'master' of https://github.com/rwielinga/fpdb
2011-03-22 15:03:41 +08:00
Chaz Littlejohn
ed1259fe30
It's not actually a big deal if there's no bring-in, like if the bring-in completes instead, so changed to debug.
2011-03-22 04:17:46 +00:00
Chaz Littlejohn
41e0042235
Added tracking for FTP 2-7 Single Draw
2011-03-22 04:16:23 +00:00
Chaz Littlejohn
64f46181fa
Modified hhc & fpdb_import so gtk & pygtk are imported only if import is run from the
...
gui
2011-03-22 03:22:38 +00:00
Chaz Littlejohn
5f63bc1cca
Merge branch 'sorrow' into chazdazzle
2011-03-22 02:21:15 +00:00
Robert Wielinga
43c31cd971
Added a testfile that is not put in the DB correctly. The file shows a game where 'Hero' loses 18 (play money) dollars. FPDB determines a loss of 27 dollars. Where does this go wrong? TODO comments have been added to the PacificPokerToFpdb.py.
2011-03-21 20:38:27 +01:00
Worros
9d716bbedb
Regression: gunzip PacificPoker files
2011-03-21 12:25:06 +08:00
Worros
9944d53058
Win2day: Accept accentuated characters in the tables names
...
Patch from Mathieu Pagé <mathieu@mathieupage.com>
2011-03-21 11:17:26 +08:00
Worros
66112a8d6e
Hand.py: Add CAD currency
...
Patch from Mathieu Pagé <mathieu@mathieupage.com>
2011-03-21 11:15:19 +08:00