Commit Graph

4160 Commits

Author SHA1 Message Date
steffen123
aa2c8d3151 change default for saveActions to True as i consider the performance hit acceptable 2010-10-02 14:22:28 +02:00
steffen123
111a99f06b add french .mo file 2010-10-02 13:56:09 +02:00
steffen123
c961b49acb raise DB version for HA changes 2010-10-02 13:55:18 +02:00
steffen123
c818ee1479 update l10n files 2010-10-02 13:55:08 +02:00
steffen123
4bd5f3c23e Merge branch 'carl' 2010-10-02 13:40:13 +02:00
steffen123
9208f8ec28 activate french translation, update all l10n files 2010-10-02 13:33:25 +02:00
steffen123
1b272af2f7 add french translation from frederic prost 2010-10-02 13:13:20 +02:00
Worros
f4baaa42a7 HHC: Modify allHandsAsList() to remove trailing entry
Some HH formats leave dangling text after the split
ie. </game> (split) </session>EOL

Remove this dangler if less than 50 characters and warn in the log
2010-10-01 11:31:52 +08:00
Worros
56b268920d Betfair: Fix parse error from THP 2010-10-01 10:51:38 +08:00
Worros
9f64602338 Database, Importer: Convert print to log.info 2010-10-01 10:44:27 +08:00
Worros
1e0a1a6ad8 OnGame: Initial Draw support
No longer crashes on a Five Card draw hand
2010-09-30 18:01:47 +08:00
Worros
bbbf1ec4e6 OnGame: Initial stud support.
Added anough that it recognises the header and splits the streets correctly.
2010-09-30 17:53:52 +08:00
Worros
43edb615b0 SQL: Fix MySQL/Postgres Actions and HandsActions 2010-09-30 17:19:35 +08:00
Worros
30e7c53f5c Winamax siteId change 2010-09-30 00:40:02 +08:00
Worros
9d712ba812 DerivedStats: Fix position calculation for holdem.
THP: Noted 65 additional issues with the position stat

Really need to merge the position calculation
2010-09-29 15:55:25 +08:00
Worros
dbbccc4ac6 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-09-29 13:02:30 +08:00
Chaz
9c225a5b72 * Updated storeHandsPlayers() to insert via executemany() if 'saveActions' is False and via looped execute() to call get_last_insert_id() if 'saveActions' is True 2010-09-28 23:34:20 -04:00
Worros
a964b17de6 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-09-29 10:11:16 +08:00
Chaz
76b2dec2b6 * updated _addRaise() so that it does in fact accept the action variable 2010-09-28 17:33:15 -04:00
Chaz
ae6a035834 * fixed a small issue in assembleHandsActions() 2010-09-28 17:23:44 -04:00
Chaz
0e9fb62b0d * added a call to the import_parameter 'saveActions' in Hand.py, saving it's value in the variable Hand.saveActions
* added logic to Hand.import() so that it only calls db.storeHandsActions if saveActions is true
* added logic to DetailedStats.getstats() so that it only calls assembleHandsActions() if saveActions is true
2010-09-28 17:17:15 -04:00
Chaz
030a15f041 * Filled assembleHandsActions() 2010-09-28 17:11:09 -04:00
Chaz
a76e34598d * Modified storeHandsPlayers() so it returns a dictionary of handId & playerId to handPlayerIds
* Filled storeHandsActions() with the required information
* Updated Hand.insert so that it calls storeHandsActions() and added the variable dbid_hpid to receive the new dictionary
2010-09-28 17:09:24 -04:00
Chaz
1b0db117ce * updated 'createHandsActionsTable' and 'store_hands_actions' in the SQL dictionary 2010-09-28 17:01:31 -04:00
Chaz
c1b2a0040c * Added HandsActions & Actions indexes & foreign keys to Database.py
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Chaz
94d4bf6ed5 * added ACTION dictionary for looking up actionId
* edited addAnte(), addBlind(), addCall(), addBet(), addBlind() (Draw), addDiscard() (Draw), 
addComplete() (Stud), and addBringIn() (Stud) to standardize element order and datatype
*  added a field to  _addRaise() which allows  addComplete() (Stud) to pass the 'compleates' action type
2010-09-28 16:50:33 -04:00
Worros
b14344aea6 Merge branch 'master' of git://ferki.hopto.org/fpdb 2010-09-28 22:47:34 +08:00
Worros
4f3f7570ab Party: Couple of mods to start support for Stud H/L 2010-09-28 22:47:04 +08:00
Erki Ferenc
bb0bb3c2dd l10n: fixed a typo 2010-09-28 15:56:02 +02:00
Erki Ferenc
d2f5633384 PartyPoker: improved handling of players with zero or unknown stacks 2010-09-28 15:46:51 +02:00
Worros
9e13930742 Hand: Whitespace changes from Forrest 2010-09-28 12:04:40 +08:00
Worros
f62201c8e9 HUD_main: L10n update 2010-09-28 11:59:10 +08:00
Worros
d299a19abc Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/Hud.py
2010-09-28 11:43:42 +08:00
Worros
2d90fbf3b6 Winamax: L10n change 2010-09-28 11:41:27 +08:00
Worros
42067c0873 TableWindow: Remove whitespace breakage 2010-09-28 11:41:03 +08:00
steffen123
2ecee26d99 Merge branch 'eric'
trivial conflict
2010-09-27 22:14:37 +02:00
Eric Blade
c325daf7f6 check_table_no deals with "None" passed to it 2010-09-27 07:34:25 -04:00
Eric Blade
df1cd4a15d fix syntactical issue in get_table_no 2010-09-27 07:29:34 -04:00
Eric Blade
ca967992b5 fix a comment 2010-09-27 07:11:16 -04:00
Eric Blade
b0056be03c further fixes to get stdout working in windows again 2010-09-27 07:10:13 -04:00
Eric Blade
baf47d476e fix for call to check_table_no now needing an argument 2010-09-27 05:56:52 -04:00
Eric Blade
bfec231b5d slight formatting changes to agree with PEP8 moar closely 2010-09-27 05:08:34 -04:00
Eric Blade
4b3fe3dfa2 fix conflicts between ray's new window move code and my old window move code
Ray: when you finish implementing yours, please adapt and/or disable Hud::update_table_position
2010-09-27 04:04:56 -04:00
steffen123
a29de2b533 Merge branch 'eric'
trivial conflict
2010-09-27 09:23:53 +02:00
steffen123
3509beb828 some missing _() 2010-09-27 09:22:07 +02:00
Eric Blade
a98e71ad24 semi-fix stdout for hud_main in windows when running from source 2010-09-27 03:14:10 -04:00
Gerko de Roo
ad2983a968 Detection system for table change during tourney's
The routine stores the actual seat.
When being reseated during tourney's the seat change is detected.
The HUD window adjust is recalculated.
2010-09-26 17:31:05 +02:00
Gerko de Roo
bf98fae363 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-09-26 17:27:42 +02:00
Gerko de Roo
b9c63bd718 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-09-26 17:19:17 +02:00
Gerko de Roo
ec8f8aff76 Merge 2010-09-26 17:19:05 +02:00