Damien Elmes
8a60ee0794
initial changes to models, deck, etc
...
- move most scheduling parameters from deck to models
- remove obsolete fields in deck and models
- decks->deck
- remove deck id reference in models
- move some deckVars into the deck table
- simplify deckstorage
- lock sessionhelper by default
- add models/currentModel as properties instead of ORM mappings
- remove models.tags
- remove remaining support for memory-backed databases
- use a blank string for syncName instead of null
- remove backup code; will handle in gui
- bump version to 100
- update unit tests
2011-04-28 09:23:28 +09:00
Damien Elmes
9421a037f6
remove self explanatory module docstrings; strip trailing whitespace
2011-04-28 09:21:07 +09:00
Damien Elmes
f03000d27b
remove string exceptions for python2.6
2010-06-10 13:24:46 +09:00
Damien Elmes
f69d946f83
more sqlalchemy compat
2010-05-02 16:15:32 +09:00
Damien Elmes
a1d3f13f0a
update for sqlalchemy 0.6
2010-04-21 13:21:16 +09:00
Damien Elmes
d44cbd5518
remove logging hack
2009-11-30 08:11:34 +09:00
Damien Elmes
d02c1fb70a
add nullpool to db, crop newlines in logs
2009-09-21 20:41:58 +09:00
Damien Elmes
0bf59fa00b
make sure to close cursor for first()
2009-03-21 03:50:43 +09:00
Damien Elmes
95b8d655e6
remove shared cache mode, it's not needed
2009-03-18 22:45:43 +09:00
Damien Elmes
e4354181c4
db progress handler, work on tag cache
2009-02-19 16:01:04 +09:00
Damien Elmes
2a0f22348d
ignore sqlalchemy 0.5 deprecation warnings for now
2009-01-21 18:36:58 +09:00
Damien Elmes
93332079b5
add model copy support
2009-01-14 15:28:27 +09:00
Damien Elmes
4b6dcf6f6c
fix db.py for ankiweb
2009-01-08 11:18:38 +09:00
Damien Elmes
7c764763d2
sqlalchemy 0.5 compat
2009-01-07 11:37:01 +09:00
Damien Elmes
8f983d5bcc
always keep as unicode
2008-11-21 23:41:14 +09:00
Damien Elmes
97cf06b333
don't fail on old sqlalchemy
2008-11-15 17:45:57 +09:00
Damien Elmes
a3d968cd55
add primary key constraint support
2008-11-14 22:49:18 +09:00
Damien Elmes
91114a72c5
no tag searching, add index to db.py
2008-11-14 19:48:47 +09:00
Damien Elmes
793b660ec3
dump location of non-unicode string references
2008-11-14 13:50:51 +09:00
Damien Elmes
b2d0e5d3df
wip
2008-11-07 18:44:49 +09:00
Damien Elmes
5da3a0f5d3
initial commit from hg
2008-09-27 23:50:03 +09:00