Commit Graph

71 Commits

Author SHA1 Message Date
Chris Moore
f312fea8cc If you only have games of a single limit type (fixed, pot, or no limit), but of more than one blind size, then you won't see the 'NL', 'PL', 'FL' checkboxes in the Limits: section of the filters. When you check the 'All' checkbox, the individual size checkboxes won't be checked, because the code relies on the 'NL', 'PL', 'FL' checkboxes being there to do it. This fixes the problem.
To reproduce: have only 2 hands in the database, both no limit, one 2nl and one 5nl.  Click 'None' then 'All'.  The 2nl and 5nl checkboxes will turn off when you click 'None' but not turn back on when you click 'All'.
2011-02-07 11:27:00 +08:00
Worros
31843deafe Revert "calendar displays current entry value"
This reverts commit f78044e4c1.

Conflicts:

	pyfpdb/Filters.py
2010-11-10 16:36:58 +08:00
Worros
a4facf0c2a Filters: Fix date defaults when no hands inserted 2010-11-10 12:46:48 +08:00
lastpoet
6e00ba9d78 add date boundaries in filters 2010-10-13 14:08:48 +08:00
lastpoet
f78044e4c1 calendar displays current entry value
calendar inits from db if empty
2010-10-13 14:07:16 +08:00
Worros
a125e77135 Grapher/Filters: Fix graph labels and whitespace
Remove some trailing whitespace from Antistffs patch.

Change format of Graph labels from:

Blah: $0.00 or Blah 0.00BB to
Blah($|BB): 0.00
2010-10-04 11:56:52 +08:00
danny
126eb0c0bc Added graphing improvements. 2010-10-04 08:54:20 +08:00
Worros
591543d468 L10n updates: C->F 2010-09-23 00:10:32 +08:00
steffen123
3990b40e3d Some string changes, mostly consistency to make translation easier 2010-08-29 20:35:16 +02:00
steffen123
2a69e927d2 add more missing imports and one _() 2010-08-16 01:41:25 +02:00
steffen123
b360628583 gettextify filters 2010-08-15 05:36:32 +02:00
steffen123
acbe15fadd remove another near-duplicate from TourneyFilters 2010-07-27 19:14:23 +02:00
steffen123
0266a707ac move method from TourneyFilters to Filters 2010-07-27 19:07:14 +02:00
steffen123
3f4c5d45e8 for fear of repeating myself, removed another dupe from TourneyFilters 2010-07-27 18:54:40 +02:00
steffen123
31aa76abc9 and another dupe from TourneyFilters.. 2010-07-27 18:44:06 +02:00
steffen123
fd4e421ca3 remove another dupe from TourneyFilters 2010-07-27 18:41:51 +02:00
steffen123
e006db3a2d move 2 more methods from TourneyFilters to Filters 2010-07-27 18:35:38 +02:00
steffen123
c5ae1e785b remove another method from TF - this was only an almost-dupe 2010-07-27 18:33:01 +02:00
steffen123
90c81cb4ee move method from TF to F 2010-07-27 18:25:27 +02:00
steffen123
9006a7f45b remove another dupe method from TourneyFilters 2010-07-27 18:24:07 +02:00
steffen123
c996a11ed6 move method from TourneyFilters to Filters 2010-07-27 18:17:25 +02:00
steffen123
337fc353c8 rename RingFilters back to Filters 2010-07-17 03:39:31 +02: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
97fbc7606c another intermediate commit for tourney stats 2010-07-10 06:23:47 +02:00
steffen123
b1e41a54ec intermediate commit on the way to tourney stats 2010-07-10 05:19:50 +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
sqlcoder
30d5cf56ca Merge branch 'master' of git://git.assembla.com/fpdboz 2010-06-05 16:54:18 +01:00
sqlcoder
397ae8bbcd show site name in error message if match failed 2010-06-05 16:53:48 +01:00
Gerko de Roo
3716f11f06 1970-01-01 in mktime generates overflow... 2010-06-04 05:55:46 +08:00
sqlcoder
e87e6294c8 return time in filter dates, adjusted using day_start from general config, update playerstats to use this 2010-03-21 11:40:32 +00:00
sqlcoder
a4a4eaa87b add general section to configuration. currently includes default bulk import path and start of day offset 2010-03-15 21:48:25 +00:00
sqlcoder
074a4e751e make sure filter releases any db locks it has 2010-02-17 19:25:04 +00:00
sqlcoder
96d0e0f181 fix key error and add filter to logging.conf 2010-02-01 22:56:40 +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
sqlcoder
264b75b5b0 fix some sqlite and unicode issues (thanks to Gerko) 2010-01-31 23:46:51 +00:00
sqlcoder
52a176fd0a tidy up filter, add ability to refresh (eg after importing more gametypes) 2010-01-29 09:12:08 +00:00
sqlcoder
e82d276cf9 pull and merge from carl (nothing changed) 2010-01-27 08:56:51 +00:00
Gerko de Roo
6c5c479ee8 Autocomplete Hero names only lists the valid names for that pokersite
SiteID list needed to be filled before the Hero field was filled.
2010-01-27 13:04:21 +08:00
sqlcoder
11bc48e126 merge fpdb_db.py into Database.py 2010-01-26 23:54:04 +00:00
Gerko de Roo
b888f82a53 All game selection boxes default enabled 2010-01-23 23:05:40 +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
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
Worros
1d53196568 Fix loal variable scope bug
Never have been quite sure of local variable scope using python indentation, this didn't appear to affect anyone until a poster on 2+2
2009-12-16 20:04:10 +08:00
Mika Bostrom
df6d9a0a56 Fix missing checks before .set_active()
Some validity tests were still missing. Also, typofix:
self.cbFl -> self.cbFL
2009-11-26 23:07:58 +02:00
Mika Bostrom
48930e1679 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-24 19:42:39 +02:00
Eric Blade
3e7a0ef53c remove all occurences of assigning sys.argv 2009-11-22 16:40:56 -05:00