Commit Graph

90 Commits

Author SHA1 Message Date
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
atinm
644b2d7849 replaced /usr/bin/python with /usr/bin/env python 2011-02-27 21:17:07 +08:00
steffen123
be671859e7 create superclasses for Gui*PlayerStats and *Filters 2010-07-11 05:58:00 +02:00
steffen123
e526501384 rename GuiPlayerStats to GuiRingPlayerStats and Filters to RingFilters 2010-07-11 05:49:58 +02:00
steffen123
8e9d588322 first version of Tourney Player Stats works 2010-07-11 03:13:58 +02:00
steffen123
b1e41a54ec intermediate commit on the way to tourney stats 2010-07-10 05:19:50 +02:00
steffen123
dc67197e23 change starttime to startTime 2010-07-10 02:30:42 +02:00
steffen123
25893c9610 GuiTourneyPlayerStats (mostly copied from GuiPlayerStats) works without data 2010-07-10 02:09:58 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
Gerko de Roo
f94fa0c685 Added aggression information in guiplayerstats 2010-06-20 10:02:01 +02:00
sqlcoder
a478331988 change button name to differentiate from filter refresh 2010-03-20 18:20:40 +00:00
sqlcoder
395f80eac6 fix sqlite position stats again 2010-03-20 18:12:23 +00:00
sqlcoder
c2d05cdfbb Merge branch 'master' of git://git.assembla.com/fpdboz 2010-03-15 21:51:50 +00:00
sqlcoder
6117eb64c8 remember separator position when refresh is clicked 2010-03-08 22:47:44 +00:00
sqlcoder
04acf25416 don't display headings for bottom table when it can't be calculated 2010-03-08 22:32:09 +00:00
Worros
0e707c19f8 PlayerStats: Fix sorting in # Hands col
Patch from Almer Visser.

Using %d causes Gtk to order as a string rather than a number.

Convert to %1.0f and issue disappears.
2010-03-04 17:50:51 +08:00
sqlcoder
6ac76d2d9b remove earlier bracket change that screwed stats up - it seemed necessary then but I can't figure out why now 2010-02-24 21:25:19 +00:00
Gerko de Roo
9dac1f1b84 When all players are selected in player stats
The site filter settings were bypassed.

This fix only selects all players from selected sites
2010-02-23 18:55:09 +01:00
sqlcoder
55b6e1ee92 change button text 2010-02-17 21:18:38 +00:00
sqlcoder
797f04aaab fix problem with position stats in sqlite 2010-02-16 23:13:12 +00:00
sqlcoder
e4c6419074 try to improve tourney handling in filter (now displays buyin, but this is not yet used by playerstats when fetching stats 2010-02-01 00:17:55 +00:00
Worros
17bc9af88e Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	run_fpdb.py
2010-01-29 13:01:38 +08:00
sqlcoder
e82d276cf9 pull and merge from carl (nothing changed) 2010-01-27 08:56:51 +00:00
Worros
fb7aae9186 clean-up code to get playerId in gui-stats and gui-graphs
Conflicts:

	pyfpdb/GuiGraphViewer.py
2010-01-27 13:04:13 +08:00
sqlcoder
11bc48e126 merge fpdb_db.py into Database.py 2010-01-26 23:54:04 +00:00
Gerko de Roo
f5c910bff0 clean-up code to get playerId in gui-stats and gui-graphs 2010-01-26 23:36:38 +01:00
Gerko de Roo
b248270135 Sorting routine caused errors when sorted on gametype,
since it used the starthand sort routine
2010-01-26 23:34:08 +01:00
Mika Bostrom
cc3811b8aa Add missing import
GuiPlayerStats.py didn't import the new Charset module but tried to use
the functions.
2010-01-24 13:24:26 +01:00
Mika Bostrom
3a03bc51a2 Some character set improvements
The strings (names) as stored in database should always be UTF-8;
whatever the display locale is, we then need to convert from the storage
encoding to session encoding. When making database queries with players
names in them, the names must be reconverted to UTF-8.
2010-01-23 16:34:24 +01:00
Gerko de Roo
6fa3d693d9 game selector for graphs added.
exception caught for games selector for player stats
2010-01-23 09:46:01 +01:00
Gerko de Roo
d3f17f3fb7 game selector for graphs added.
exception caught for games selector for player stats
2010-01-23 14:34:34 +08:00
Mika Bostrom
9aa52ce6a8 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Card.py

Resolve by removing stray empty lines
2010-01-22 09:24:19 +02:00
Mika Bostrom
29d5204bee Add missing import
GuiPlayerStats.py didn't import the new Charset module but tried to use
the functions.
2010-01-21 21:52:22 +02:00
Mika Bostrom
a841603460 Some character set improvements
The strings (names) as stored in database should always be UTF-8;
whatever the display locale is, we then need to convert from the storage
encoding to session encoding. When making database queries with players
names in them, the names must be reconverted to UTF-8.
2010-01-21 21:24:55 +02:00
unknown
ea423f6b2c added a game selector to the player stats. 2010-01-21 14:14:24 +08:00
sqlcoder
41877097c9 fix twostartcards to handle 22 and unknowns properly 2010-01-21 13:49:45 +08:00
sqlcoder
6594431277 fix twostartcards to handle 22 and unknowns properly 2010-01-12 22:10:59 +00:00
Worros
14ccde73a2 Fix Playerstats for Pot Limit
Still broken for cap games. Need a more flexible mechanism for this
2009-11-21 11:16:08 +08:00
sqlcoder
6eba4a5544 fix a merge problem and replace to_char() for sqlite, player stats now working in sqlite :-) 2009-11-19 22:19:41 +00:00
sqlcoder
6b280d7db9 stop warning message from set_cell_data_func 2009-10-26 21:38:04 +00:00
sqlcoder
da64e336d7 allow sorts on both grids 2009-10-26 21:12:57 +00:00
sqlcoder
a87bcbb43a allow sort on all cols, tidy up some more details 2009-10-26 08:38:45 +00:00
Worros
71eb683a3d Make cash cols sortable.
After sqlcoders effort this appears to work
2009-10-26 12:16:20 +08:00
sqlcoder
69b3c5a339 improve sorting but still not quite working right 2009-10-26 00:33:33 +00:00
Worros
0b049a128b Make green in PlayerStats darker 2009-10-25 20:51:46 +08:00
Worros
4f754fa881 Add some prep work for sorting the stats page 2009-10-20 12:06:29 +08:00
Worros
b39f766941 Color cash columns in red and green 2009-10-19 19:39:46 +08:00
sqlcoder
2c7a853b3f keep heading on screen when scrolling stats windows 2009-10-19 00:36:08 +01:00
sqlcoder
35cc1b1314 fix mysql code for new stats options 2009-10-19 00:15:11 +01:00