Commit Graph

4785 Commits

Author SHA1 Message Date
Steffen Schaumburg
f8fae139be Regression Files: PS Play SnG incl summary 2011-04-05 04:12:07 +02:00
Steffen Schaumburg
828000bdd9 missed mo file 2011-04-05 03:07:39 +02:00
Steffen Schaumburg
78cbce344c updated l10n files, more german translation 2011-04-05 03:06:17 +02:00
Steffen Schaumburg
0f8f2099cc reduce translation word count about another 50 2011-04-05 03:03:39 +02:00
Steffen Schaumburg
84961625e4 reduce translatable words by about 40 2011-04-05 02:08:28 +02:00
Steffen Schaumburg
359ba7926a update l10n files 2011-04-05 01:17:08 +02:00
Steffen Schaumburg
37a5dc6ac5 Merge branch 'gimick' 2011-04-05 01:14:51 +02:00
Steffen Schaumburg
459d146043 Merge branch 'carl'
Conflicts:
	pyfpdb/locale/fr/LC_MESSAGES/fpdb.mo
2011-04-05 01:14:30 +02:00
Steffen Schaumburg
79a4f01122 add another check to localise, final version of announcement 2011-04-05 00:26:04 +02:00
Steffen Schaumburg
dc2635eac5 add italian (thanks seppone1991!) and update all l10n files 2011-04-04 23:47:05 +02:00
Chaz Littlejohn
5f9d402701 Added new showdownStrings dictionary in the Hand module as well as the appropriate regex in re_ShownCards for capturing the text discrption of showdown hands. FTP and Stars only for now. Once evaluating hand strings is added to Stove, this will be used as a back up for games Poker-eval does not fully support such as Razz and Badugi 2011-04-04 19:57:54 +00:00
gimick
d349d41e29 rushaux: fix boolean SELECT - should now work for all db's 2011-04-04 10:54:54 +01:00
Chaz Littlejohn
c518c482ac Fixed several errors in the new storeHudCache which were preventing the data from being imported in full 2011-04-04 06:32:57 +00:00
Chaz Littlejohn
d98a28ea0a Added support for board cards in FTP run it twice (RIT) hands. Hands continues to store the standard board for the hand, while run it twice board cards dealt after the all in are stored in the new Boards table. Designed to allow for more than 2 boards if a hand history allows it. Can be enabled for other sites by adding regex to detect multiple FLOP|TURN|RIVER deals in hhc.markStreets, and by updating hhc.readCommunityCards to save RIT streets and set hand.runItTimes with the number of deals. The Hands table now includes a 'runIt' BOOL indicating if a hands was run multiple times and board inserts are done in the storeHand method. 2011-04-04 04:50:01 +00:00
Chaz Littlejohn
f55cd5569d Added methods for storing the filename and import statistics in a new 'Files' table which links with the Hands table via Hands.fileId. Extended support for storing mixed game information for Full Tilt Poker coming from the filename, and updated mixed game dictionaries for PokerStars. Added a field in GameTypes to track this mixed game variable entitled 'mix' which takes on the string value of 'none' if not a mix game hand. 2011-04-02 23:56:52 +00:00
Worros
eec01083b1 FTP: Add high limit lookup
Clear the blind string of ,s and add 1k/2k and 1.5k/3k.
2011-04-02 23:22:56 +08:00
Worros
b20dde4f29 Import: reenable the test data for gametypes 2011-04-02 22:48:38 +08:00
Worros
c34467b987 Regression: FTP 1500/3000 Triple Draw sample hand.
Not UTF16 - from an archive file.

Hero wins hand
2011-04-02 22:27:13 +08:00
Worros
65e5ad45ac Stars: Add mixed holdem tourney support 2011-04-02 15:02:18 +08:00
Worros
7a9033e826 Regression: Stars mixed holdem tourney hands 2011-04-02 14:58:45 +08:00
Worros
a6bf237c9a Win2day: Allow CAD espacejeux.com hand to parse 2011-04-02 14:15:42 +08:00
Worros
07bce33894 Regression: Win2day espacejeux.com NLHE 2011-04-02 14:14:05 +08:00
Worros
086e2f9814 Card: Remove unused function 2011-04-02 12:27:29 +08:00
Worros
753596f217 fpdb_import: Only pipe to hud if callHud variable set 2011-04-01 13:35:13 +08:00
Worros
0c03547bf6 THP: Remove 'id' 2011-04-01 12:49:04 +08:00
Worros
dd95b8d3bb Regression: Fix card data for FTP draw .hp file 2011-04-01 12:26:38 +08:00
Worros
d8baef3072 Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-04-01 10:09:13 +08:00
Chaz Littlejohn
148777bebd Changed the order of how draw cards are stored in HP so cards dealt to hero on Draws 1-3 (the open field of the holecards dictionary are placed after the cards held from previous streets (the closed field of the holecards dictionary) 2011-04-01 02:08:20 +00:00
Worros
6fc599005d Regression: New OnGame tourney files 2011-03-31 18:11:50 +08:00
Worros
98902a3633 Regression: FTP Badugi hand data update 2011-03-31 18:05:04 +08:00
Worros
c1ada8436f OnGame: Refine tourney portion of re_HandInfo 2011-03-31 17:49:18 +08:00
Worros
6602dabc46 OnGame: Initial tourney import 2011-03-31 17:45:20 +08:00
Worros
d282dead8a Regression: Fix card data for FTP draw .hp file 2011-03-30 18:05:04 +08:00
Worros
fe1f8a5829 Regression: Fix card data for FTP draw .hp file 2011-03-30 14:44:29 +08:00
Worros
38f63ffcec Regression: Fix card data for newly parsed draw hands 2011-03-30 13:42:59 +08:00
Worros
3e6c5b6f31 THP: Minor updates 2011-03-30 13:29:39 +08:00
Worros
9b59d8fb9c Regression: Fix data for newly parsed draw hands 2011-03-30 13:28:57 +08:00
Worros
9a87d7d88a Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-03-30 11:50:33 +08:00
Chaz Littlejohn
6954ab1b62 changed the key in the hands stats dict from 'gameTypeId' back to 'gametypeId' 2011-03-30 03:49:13 +00:00
Worros
bac1d29166 Regression: Add gameSessionId to .hands files 2011-03-30 11:49:02 +08:00
Worros
468b98fb7a THP: Ignore gameSessionId 2011-03-30 11:46:49 +08:00
Chaz Littlejohn
faaca41b5a Merge branch 'sorrow' into chazdazzle 2011-03-30 03:25:58 +00:00
Chaz Littlejohn
fc2b79a5e8 tourneysPlayersIds is later updated by db.createOrUpdateTourneysPlayers and turned into a dict rather than a list so it makes sense to initialise as such 2011-03-30 03:18:36 +00:00
Chaz Littlejohn
c361992b13 added \u20ac into the sym dict 2011-03-30 03:15:12 +00:00
Worros
9eb0138f3d THP: Make less noisy 2011-03-30 11:13:03 +08:00
Worros
1e3bbd6047 Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-03-30 11:12:22 +08: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
69905a051b Everleaf: Clean out some crufty comments 2011-03-29 18:07:39 +08: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
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
gimick
68fe4ee9a2 Merge branch 'master' of git://git.assembla.com/fpdb 2011-03-20 18:05:15 +00:00
gimick
7951f6ded2 menu: remove debug message 2011-03-20 18:03:29 +00:00
gimick
b0ea975b25 HUD: make update_hudcache data INT not BOOL (#93) & rushaux BOOL fix 2011-03-20 17:57:07 +00:00
Steffen Schaumburg
d6b3197fb6 linux (and probably mac): fix copying of example config in case of missing config file 2011-03-19 22:10:45 +01:00
Steffen Schaumburg
43b071515d remove hharchivebase from code and test config 2011-03-19 20:15:53 +01:00
Steffen Schaumburg
22fdf6944b remove obselete setting hhArchiveBase from example config 2011-03-19 19:41:56 +01:00
Steffen Schaumburg
708f44c2fa fix brackets on a string 2011-03-19 02:19:05 +01:00
Steffen Schaumburg
b1387be3ce some string unifications 2011-03-19 02:13:26 +01:00
Steffen Schaumburg
5483e01693 Merge branch 'master' of git://github.com/rwielinga/fpdb into wielinga 2011-03-19 01:59:06 +01:00
Steffen Schaumburg
309c3a408a overdue version string increment 2011-03-18 00:12:20 +01:00
Steffen Schaumburg
b75dc46979 display warning and dont load HUD if running without admin under vista/7 2011-03-18 00:11:47 +01:00
Steffen Schaumburg
96bf04ad5f make fpdb.pyw executable 2011-03-17 21:00:00 +01:00
Steffen Schaumburg
20bd9b4ae3 Revert "trivial string fix"
This reverts commit 92095b1fc0.
2011-03-17 20:59:17 +01:00
Steffen Schaumburg
af1c1d1c1f Merge branch 'carl' 2011-03-17 15:15:45 +01:00
Worros
08ee109ec3 Stars: Allow ' in tablename
Table 'Isildur's NLHE 50 IV' 2-max Seat #2 is the button
2011-03-17 14:29:00 +08:00
Steffen Schaumburg
60d17b0231 Merge branch 'eric' 2011-03-16 12:26:24 +01:00
Steffen Schaumburg
92095b1fc0 trivial string fix 2011-03-16 12:26:21 +01:00
Steffen Schaumburg
bc7a5c55ff Merge branch 'carl'
Conflicts:
	pyfpdb/WinamaxToFpdb.py (just a comment and an output string
2011-03-16 09:37:44 +01:00
Steffen Schaumburg
b000278000 Merge branch 'gimick'
Conflicts:
	packaging/windows/py2exe_setup.py
2011-03-15 21:52:16 +01:00
Steffen Schaumburg
d7fdac6366 Merge branch 'ferki' 2011-03-15 21:19:26 +01:00
Steffen Schaumburg
5262746996 attempted fix for OSX startup problem 2011-03-15 21:18:42 +01:00
Worros
15bdbfbdf7 Absolute: Allow date variation to parse 2011-03-15 14:44:41 +08:00
Worros
affc697b32 Regression: Absolute HH from email.
Not this file was been modified from the original email format to:
- Remove the ####+ line
- Rename the file into the manner expected.
2011-03-15 14:42:43 +08:00
tribumarchal
180c4be9f6 new and old cards
Signed-off-by: tribumarchal
2011-03-14 16:31:08 +08:00
tribumarchal
2ddc08263a translation ascii utf8
Signed-off-by: tribumarchal
2011-03-14 16:30:41 +08:00
Worros
f1ec659015 WinamaxSummary: Allow satellites to parse 2011-03-14 16:05:59 +08:00
Worros
7e5573f1f5 Winamax: Minor fix to Pierres patch. 2011-03-14 14:12:32 +08:00
tribumarchal
c66ec208c2 fix error only french winnamax poker
Signed-off-by: tribumarchal
2011-03-14 14:11:27 +08:00
tribumarchal
920aac6f73 fix minor bug display GuiRingPlayerStats.py
Signed-off-by: tribumarchal
2011-03-14 14:06:42 +08:00
Erki Ferenc
d2be4b2fb4 l10n: updated and revised Hungarian translation 2011-03-13 17:43:49 +01:00
Steffen Schaumburg
8a9a227735 fix some misplaced newlines in the translations, add checking program to localise script, update mo files 2011-03-12 22:03:06 +01:00
Steffen Schaumburg
d49d2e2220 few more string unifications (I know its too late, but I wanted them in so translators running non-source can try their translations better), update l10n files 2011-03-12 21:47:14 +01:00
Robert Wielinga
de5a406f68 Merge branch 'master' of git://git.assembla.com/fpdb 2011-03-12 17:40:16 +01:00
Robert Wielinga
407c93349c Added required files for PacificPoker HHC 2011-03-12 13:59:22 +01:00
Robert Wielinga
f61fcc4b4a Added the PacifikPoker (888Poker) HandHistoryConverter 2011-03-12 13:28:55 +01:00
Steffen Schaumburg
2baac68ac7 generate hungarian mo file 2011-03-11 07:15:17 +01:00
Steffen Schaumburg
24f7d5514f Merge branch 'ferki'
Conflicts:
	pyfpdb/locale/fpdb-hu_HU.po
2011-03-11 07:12:58 +01:00
Steffen Schaumburg
1fac2ffe13 more string unification, update l10n files 2011-03-11 07:08:50 +01:00
Worros
d7697f4328 TourneySummary: SQLite complaining about Decimal format.
Variables were already passed in as int - allow them to remain so
2011-03-11 06:40:27 +01:00
Worros
72f6a1ce6a Database: Reformat a some tournament results update code
Reformat to make life easier when debugging
2011-03-11 06:40:10 +01:00
Worros
56db34ae05 Party: Fix Party freeroll tourney parsing 2011-03-11 06:39:56 +01:00
Worros
292cea1fb9 Regression: Party freeroll tourney, sample 2011-03-11 06:39:42 +01:00
Erki Ferenc
78c19a7e88 l10n: updated Hungarian translation 2011-03-11 01:36:41 +01:00
Worros
eef755ac01 Merge branch 'master' of git://git.assembla.com/fpdb 2011-03-10 18:06:30 +08:00
Worros
0955656585 TSI: Add Winamax lines 2011-03-10 18:05:36 +08:00
Worros
07d2d5733c TourneySummary: SQLite complaining about Decimal format.
Variables were already passed in as int - allow them to remain so
2011-03-10 18:03:21 +08:00
Worros
e0124d2d11 Database: Reformat a some tournament results update code
Reformat to make life easier when debugging
2011-03-10 18:01:25 +08:00
Eric Blade
0bc0d97bbf Merge branch 'master' of git://git.assembla.com/fpdb.git
Conflicts:
	pyfpdb/WinTables.py
	pyfpdb/fpdb.pyw
2011-03-10 02:45:27 -05:00
Steffen Schaumburg
d0f6f53ae1 update pot/po/mo files 2011-03-10 06:17:56 +01:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
Steffen Schaumburg
07d9df0b31 another bit of string churn - the number of strings/words to translate is going down due to this though :) 2011-03-10 05:45:07 +01:00
Steffen Schaumburg
ad04ad37c2 update pot/po/mo files 2011-03-10 05:14:51 +01:00
Steffen Schaumburg
792b110ee1 more string unification 2011-03-10 05:14:16 +01:00
Steffen Schaumburg
23818e0c6b more string unification 2011-03-10 04:36:20 +01:00
Steffen Schaumburg
27f4503365 remove return that cant be reached 2011-03-10 04:29:38 +01:00