sqlcoder
4ffc028bbc
oops, missed out the key change in previous commit
2009-05-07 21:24:06 +01:00
Worros
5139b88538
utf8 fix to db connection
...
Change mysql connection type to use_unicode.
2009-03-28 20:51:54 +09:00
eblade
8e5396295d
some silly cleanup
2009-03-16 20:52:50 -04:00
sqlcoder
e469202b66
Merge branch 'master' of git://git.assembla.com/fpdboz
2008-12-28 09:50:33 +00:00
Worros
2d700820f4
Add Everleaf to DB init process
...
Should these come from config on startup...?
2008-12-19 16:58:24 +09:00
sqlcoder
f9a805f5cd
add do_commit(config) method to fpdb_db.py to make creating
...
a db connection easier. Used this in guiplayerstats.py to
create a separate connection and added commit to stop
locks here blocking hand imports.
2008-12-17 23:03:17 +00:00
sqlcoder
26506b3421
use new routine in fpdb_simple to create indexes
2008-12-14 02:42:07 +00:00
sqlcoder
71a587faca
mods to use insert_id() instead of repeated selects and get postgres working
2008-12-09 00:29:39 +00:00
sqlcoder
4dc15bfd94
pulled and merged from fpdboz
2008-12-07 23:38:33 +00:00
sqlcoder
ec01f7ae40
move code closer to carl's repo
2008-12-07 17:23:38 +00:00
Mika Bostrom
dfb8a06686
Allow to connect to local PostgreSQL via domain socket
2008-12-06 15:07:37 +02:00
Mika Bostrom
7ecfac5437
Retab/whitespace demangle fpdb_db.py
2008-12-06 14:40:04 +02:00
Mika Bostrom
3eb1a1dd0b
Start to clean up psycopg2.connect() and surroundings
2008-12-06 13:41:39 +02:00
Worros
1f7f3f7187
Fix MySQL 'ADD INDEX' syntax, add functions to create_tables
2008-12-03 18:18:20 +09:00
sqlcoder
a824814c0a
sqlcoder initial updates
2008-12-02 00:15:50 +00:00
Worros
2b9eed8958
Change db access function to always get the latest committed transactions.
...
Fixes graph updating, so i made the label a bit prettier, and a bit better behaved.
2008-11-07 18:12:48 +13:00
Ray
174b7ecfa0
permission changes only
...
Please enter the commit message for your changes.
2008-10-28 09:37:11 -04:00
Ray
1e7b584dba
changes to allow dropping of tables on postgres
2008-10-07 19:56:01 -04:00
Worros
6aca36b564
Moved SHOW TABLES query to query dict as list_tables
...
Added failing tests for Postgres until table deletion and table listing is fixed.
2008-10-08 03:12:38 +08:00
Worros
5dd9dbc86f
Fix residual bugs in table droping and creation
...
Add Regression test for recreating_tables in mysql
2008-10-08 02:28:18 +08:00
Worros
dc81ca854a
Indentation fixes
2008-10-08 01:50:43 +08:00
Worros
3d43e8167c
Make drop_tables generic for mysql so we dont end up with a function that has 20 if(dbversion ==) statements within
2008-10-08 01:41:06 +08:00
Worros
3018cc660b
Move create tables code into its own function.
...
Remove Postgres specific code
2008-10-08 01:16:26 +08:00
Carl Gherardi
791ac7418d
Converts fpdb_db to use the query dictionary for table creation
2008-10-07 17:33:37 +08:00
steffen123
2a90030982
p118 - added all in field to HandsActions and parsing to importer. still need to update hudCache generation to use this tho
...
expanded some todo prints and the graph missing lib error to clarify for users
2008-10-06 04:26:59 +01:00
steffen123
c19c933942
p102 - moved initial data INSERTs for mysql to separate method for future unification with pgsql table creation code
2008-09-24 05:22:17 +01:00
steffen123
cd212af029
p82 - made import of SQL interface libraries into try-except loop to facilitate choosing between mysql and pgsql
2008-09-16 22:19:50 +01:00
steffen123
7b13331331
p80 - a great many updates from Ray
2008-09-15 21:31:55 +01:00
steffen123
54ff7b71f1
p76 - specify NOT NULL on almost all table columns to increase DB resilience against importer errors
...
little bugfix to make omaha work again
2008-09-01 17:32:18 +01:00
steffen123
c963599b76
p75 - show database version error in GUI
2008-09-01 16:18:01 +01:00
steffen123
60bdfb64f3
p68 - updated PrintPlayerHudData. this is alpha2
2008-08-23 01:16:35 +01:00
steffen123
de845d4e90
p53 - more progress on tourneys
2008-08-18 06:27:37 +01:00
steffen123
8fb57d3729
p52 - much progress on tourneys and some minor stuff and a change of tables
...
migrated install-in-windows to website
renamed table tourneysgametypes to tourneytypes
2008-08-18 05:58:41 +01:00
steffen123
6a5d1d6332
p50 - added Hands.maxSeats
2008-08-18 02:45:06 +01:00
steffen123
5612ee6637
p48 - removed some redundant bracketed values from tv
...
renamed cache fields and added more to be flexible for stud style games. note that tv is not updated yet
added forums and bugtracker to website sidebar
2008-08-17 13:13:42 +01:00
steffen123
579b44450c
p45 - implemented HandsPlayers.seatNo
2008-08-17 04:44:53 +01:00
steffen123
18ff57027f
p44 - implement hands.tableName/importTime
2008-08-17 03:18:42 +01:00
steffen123
9531c8d85b
p43 - implemented gametypes.base/.hiLo and more updates to table design
2008-08-17 02:46:23 +01:00
steffen123
0f032bcc5e
git41 - added a bunch of new cache fields containing placeholder data. okay totalProfit should actually be filled correctly already :)
2008-08-16 22:03:27 +01:00
steffen123
16be2b39f9
git40 - fixed little bug in table creation and added tourneyGametypeId to the cache to make tourney caching more sensible.
2008-08-16 07:16:50 +01:00
steffen123
701a824ac6
git39 - started to reactivate tourney support - split tourneys table in design and recreate code, but still need to update the code
2008-08-15 04:28:51 +01:00
steffen123
423753de17
git38 - make HudData tables positional (sf request 2052124)
2008-08-15 03:32:27 +01:00
steffen123
732edf9e69
git37 - make table drops depending on previous db version
2008-08-15 02:53:37 +01:00
steffen123
ff2e75cb6b
git36 - implement tv-combinedStealFold and tv-combined2B3B
2008-08-15 02:45:19 +01:00
steffen123
341b24a2e0
git35 - changed table and field names to match my naming convention to stabilise downstream-facing api.
2008-08-15 01:45:40 +01:00
steffen123
e56a65b4c9
git34 - reading CB/2B/3B now. Some doc updates
2008-08-13 08:11:20 +01:00
steffen123
61d0857a4c
git33 - added fields for CB/2B/3B to table design, table creation and tv. importer fills it with placeholder data
...
renamed ebuild from v0.01 alpha to v1.0 alpha as I won't be using normal version numbers before 1.0
2008-08-13 06:50:30 +01:00
steffen123
2a0f73646c
git30 -
2008-08-13 04:13:56 +01:00
steffen123
6d7bdc347c
git28 - added test hands for steal and cb
...
uncommented db version checking - it works
started implementing storing steals
filling steal attempts and attempt chances fields now, but not verified correctness nor am i displaying it
2008-08-13 03:07:44 +01:00
steffen123
09f233d6e4
git26 - add to install the sql commands to create DB etc.
...
fixed little bug in load_profile introduced by recent improvements there
updated regression testing to take into account everything new, made sure it passes all tests
more table design cleaning
various doc updates
added create-release.sh to automate release creation
2008-08-11 17:39:13 +01:00