Commit Graph

199 Commits

Author SHA1 Message Date
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
c6b6f8a788 many not really separable changes for IMAP import and associated cleaning
- deactivated use of TourneySummary (short: TS) from HHC and subclasses
- menu entry for IMAP import
- converted ImapSummaries (short: IS) to use the config file
- IS now optionally supports non-SSL and can run on folders other than INBOX
- removed gametypes and getGameTypeAsString from TS method as identical one is in Hand
- some other stuff
2010-07-08 19:46:25 +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
bf5f24fb6b add xshift/yshift config to move menu window on hud 2010-06-11 21:03:53 +01:00
sqlcoder
fbefe1e611 try to wrap long lines in config file, attributes are still sorted into alpha order :-( 2010-06-09 22:46:17 +01:00
sqlcoder
757c241241 move HH_bulk_path from general section to hhBulkPath in import section 2010-03-21 12:19:55 +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
Eratosthenes
5c0e4cb0c2 Use correct dirs for database and log. 2010-02-25 20:28:41 -05:00
Eratosthenes
b15a51d42e Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-25 10:16:22 -05:00
Eratosthenes
38535b4ece Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-22 11:46:56 -05:00
sqlcoder
09801cd00e first go at db maintenance window, turned off for now 2010-02-20 18:59:49 +00:00
Eratosthenes
21396e101e Create saveStarsHH option in import. 2010-02-20 11:55:52 -05:00
sqlcoder
ebf2205859 display popup if error parsing config file 2010-02-20 10:27:58 +00:00
sqlcoder
906c9e0bc9 tighten up logging in hud 2010-02-12 08:18:42 +00:00
sqlcoder
a93562c229 make fpdb and hud write separate log files, refine py2exe some more 2010-02-10 23:33:50 +00:00
Eratosthenes
e0dd7f5ae1 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-09 18:52:18 -05:00
Eratosthenes
965adc7b27 Add EXEC_PATH to constants. 2010-02-09 18:51:37 -05:00
sqlcoder
6df8bddc62 undo stupid param name change (need to change all the calls as well if doing it) 2010-02-08 23:38:18 +00:00
sqlcoder
7294d2e5c0 make sure log dir is created, refine py2exe operation 2010-02-08 22:43:15 +00:00
sqlcoder
86330e536a tidy up logging so that log isn't created in /fpdb/log/ unless it is being used 2010-02-01 21:03:51 +00:00
sqlcoder
6f0ea2580b display dialog when .example config has been copied, this could work 'out-of-the-box' if the user already has gtk?? 2010-01-31 12:24:32 +00:00
sqlcoder
5e9486aa3d config changes for logging: logs rotate and go to APPDATA, hud_config now goes in /fpdb/ if they must use it but logging.conf stays in /pyfpdb/. TODO: Some logging still into /fpdb/log/ 2010-01-31 11:25:24 +00:00
sqlcoder
e0c5f52d0f uncommented sqlite unicode fix (fix only tested on Windows XP, cp1252) 2010-01-30 11:11:21 +00:00
sqlcoder
9932025271 move sqlite charset fix to Configuration.py from Database.py, make separate not_needed variables in Charset.py in case we want to update them separately 2010-01-30 11:05:34 +00:00
Eric Blade
e29491c25c use getpreferredencoding() instead of getdefaultlocale() to get LOCALE_ENCODING, default to cp1252 if it comes back with US-ASCII (Mac) 2010-01-28 20:29:43 -05:00
Eric Blade
725fb04bb8 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git
Conflicts:
	pyfpdb/Configuration.py
	pyfpdb/Database.py
2010-01-28 16:28:23 -05:00
sqlcoder
1df418c8e4 create fpdb dir if required, improve sqlite performance :-) 2010-01-27 23:48:39 +00:00
Eratosthenes
1ec6a36ece Merge branch 'master' of git://git.assembla.com/fpdb-sql
Conflicts:
	pyfpdb/Configuration.py
	pyfpdb/Database.py
2010-01-26 20:13:21 -05:00
sqlcoder
de2b807c9b refine hud_config handling some more (copies .exmaple to proper dir) 2010-01-26 21:54:58 +00:00
sqlcoder
5c88c6b0ad put database directory next to HUD_config.xml file 2010-01-26 21:02:37 +00:00
Worros
29e705f337 Remove NEWIMPORT variable.
No going back now :)
2010-01-23 13:37:41 +08:00
Eratosthenes
358de81f3b Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Configuration.py
	pyfpdb/Database.py
2010-01-22 20:55:13 -05:00
Eratosthenes
3f9fce0775 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/PartyPokerToFpdb.py
2010-01-15 11:58:27 -05:00
Gerko de Roo
eb226c0026 Added color highlight for stats window.
high and low threshold and color can be set in the xml file
2009-12-28 10:17:01 +08:00
Gerko de Roo
2cd57e826d Added color highlight for stats window.
high and low threshold and color can be set in the xml file
2009-12-28 10:16:48 +08:00
Worros
262eb5200d Add LOCALE static to Configuration 2009-12-22 13:49:22 +08:00
Carl Gherardi
cf6e818ae5 [NEWIMPORT] Enable NEWIMPORT by defaul 2009-12-14 16:45:08 +08:00
Eratosthenes
9ced37a859 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Configuration.py
2009-11-30 10:30:11 -05:00
Worros
f30b3a6117 Oops - actually add NEWIMPORT const to Configuration 2009-11-30 14:41:07 +08:00
Eratosthenes
76680e8511 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Configuration.py
	pyfpdb/HUD_main.py
2009-11-29 19:56:32 -05:00
sqlcoder
8221e86757 turn off hud seats restriction as default 2009-11-29 18:14:04 +00:00
sqlcoder
cce1545024 add gui stuff to test, stop crash if xml.dom.ext not present 2009-11-28 21:11:52 +00:00
sqlcoder
65fe163379 add ability to display hud stats by number of seats at table (All / Custom / Exact) 2009-11-26 21:28:05 +00:00
sqlcoder
339a0133a9 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-11-24 19:51:21 +00:00
sqlcoder
c856824145 fix bug in save() and simplify it. Add get_doc() method 2009-11-24 19:46:57 +00:00
Eratosthenes
c1f599d555 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Configuration.py
	pyfpdb/HUD_main.py
2009-11-23 19:41:47 -05:00
Eratosthenes
2da6e44a75 Changes for improved logging. 2009-11-23 19:29:56 -05:00
Eric Blade
3e7a0ef53c remove all occurences of assigning sys.argv 2009-11-22 16:40:56 -05:00
Eric Blade
64d9a3582b No longer mess with sys.argv (messing with system variables is a bad thing, right), use argv to determine pathname of executeable as sys.path[0] is just the first component of the path. also all database errors except MySQL reporting "Access Denied" should now crash FPDB, so someone can fill those into Exceptions, and into the fpdb_db and the fpdb files.
Process: get crash info, add exception info to Exceptions.py, catch generic database exception in fpdb_db.py (around the connect line), throw correct Fpdb exception, then catch it in fpdb.py and do the appropriate thing on the GUI end.
2009-11-22 00:00:23 -05:00
sqlcoder
04c09af7b2 tidy up aggregation code, NOTE: renamed some aggregation config to try and make meaning clearer, updated aggregation description in .example 2009-11-17 21:47:43 +00:00