Commit graph

2086 commits

Author SHA1 Message Date
Damien Elmes
ce0df2652f add utils for adding/removing tags 2011-04-28 09:24:03 +09:00
Damien Elmes
f7c11f5771 fix accidental inverted colours 2011-04-28 09:24:03 +09:00
Damien Elmes
aac840f375 remove redundant cardHasTag() 2011-04-28 09:24:03 +09:00
Damien Elmes
173379f451 minor utils tweaks 2011-04-28 09:24:03 +09:00
Damien Elmes
84d59e4b01 don't truncate sort field anymore, since we display it in the gui 2011-04-28 09:24:03 +09:00
Damien Elmes
e8d6714130 make sure the failed card count reflects the cutoff 2011-04-28 09:24:03 +09:00
Damien Elmes
8b747c3aac allow the user to choose if case should be folded 2011-04-28 09:24:03 +09:00
Damien Elmes
bee14e1a0b make fieldNames() available for gui code too 2011-04-28 09:24:03 +09:00
Damien Elmes
d51cd5a433 find & replace 2011-04-28 09:24:03 +09:00
Damien Elmes
98a63285e1 port changeModel() 2011-04-28 09:24:02 +09:00
Damien Elmes
1baa7bb5b6 reload field map on fact load(); order by ordinal not id 2011-04-28 09:24:02 +09:00
Damien Elmes
5619959b5a when reloading card, make sure cache is discarded 2011-04-28 09:24:02 +09:00
Damien Elmes
572fe6041a convert some list comps to generators 2011-04-28 09:24:02 +09:00
Damien Elmes
d7b86da811 canonify tags after bulk update 2011-04-28 09:24:02 +09:00
Damien Elmes
93d80678f9 _fields -> fields 2011-04-28 09:24:02 +09:00
Damien Elmes
89673f0c0a if no tags were provided, just return 2011-04-28 09:24:02 +09:00
Damien Elmes
d611299715 make sure add/delTags() is limited to provided ids 2011-04-28 09:24:02 +09:00
Damien Elmes
96d3a25c9a add hook into upgrade 2011-04-28 09:24:02 +09:00
Damien Elmes
e344e1a6a8 default to a useful model id on upgrade 2011-04-28 09:24:02 +09:00
Damien Elmes
6be313bcd3 updateCardGids() 2011-04-28 09:24:02 +09:00
Damien Elmes
8c1c729544 fix card state negation 2011-04-28 09:24:02 +09:00
Damien Elmes
437b4780c0 add missing cardIvl sort 2011-04-28 09:24:02 +09:00
Damien Elmes
13a484ea36 allow user to abort schema mod 2011-04-28 09:24:02 +09:00
Damien Elmes
e339df5ef8 ensure first field can be sorted, flush config out, and ensure schema mod 2011-04-28 09:24:02 +09:00
Damien Elmes
1b3548f164 fix sorting by ease 2011-04-28 09:24:02 +09:00
Damien Elmes
2a225b1fae use the sort property set in the deck 2011-04-28 09:24:02 +09:00
Damien Elmes
d089deae5a add the ability to reverse sort order 2011-04-28 09:24:02 +09:00
Damien Elmes
6617214708 add recent list; fix groups 2011-04-28 09:24:02 +09:00
Damien Elmes
7ffff24790 fix case where multiple models have the same template 2011-04-28 09:24:02 +09:00
Damien Elmes
d6116a5377 model and group searching 2011-04-28 09:24:02 +09:00
Damien Elmes
aacb57c196 add a countless group tree too 2011-04-28 09:24:02 +09:00
Damien Elmes
9ebbdc2be1 sort by card ordinal after fact sort 2011-04-28 09:24:02 +09:00
Damien Elmes
efe6177c7a refactor ordering 2011-04-28 09:24:02 +09:00
Damien Elmes
291bd399b7 field searching
dropped support for field:foo, as you can type 'foo:' instead to accomplish
the same thing
2011-04-28 09:24:01 +09:00
Damien Elmes
57938927e7 users can pass a number for template ordinal; makes show:one obsolete 2011-04-28 09:24:01 +09:00
Damien Elmes
94d4e319ae fids and template searches 2011-04-28 09:24:01 +09:00
Damien Elmes
a13c18cf4b start refactoring find code 2011-04-28 09:24:01 +09:00
Damien Elmes
2343222245 remove rest of q/a searching 2011-04-28 09:24:01 +09:00
Damien Elmes
69a9d665e3 question/answer searching is obsolete 2011-04-28 09:24:01 +09:00
Damien Elmes
4ffd239ea8 remove obsolete striphtmlalt 2011-04-28 09:24:01 +09:00
Damien Elmes
2dfdfad6f2 update license link 2011-04-28 09:24:01 +09:00
Damien Elmes
8fcc6b3085 gpl3->agpl 2011-04-28 09:24:01 +09:00
Damien Elmes
c5e7756304 ensure model/template gid exists; mark schema modified when group deleted 2011-04-28 09:24:01 +09:00
Damien Elmes
86a7106eab when deleting a group, update cards and facts too 2011-04-28 09:24:01 +09:00
Damien Elmes
673913a2a8 fix group tree when no cards use a group 2011-04-28 09:24:01 +09:00
Damien Elmes
95b3f60353 strip sox munging 2011-04-28 09:24:01 +09:00
Damien Elmes
82d006d145 strip noise profile code 2011-04-28 09:24:01 +09:00
Damien Elmes
c682080890 make it easier to get media dir; remove tidyHTML() 2011-04-28 09:24:01 +09:00
Damien Elmes
6ed48171fc add a default group to model, add groupName() 2011-04-28 09:24:01 +09:00
Damien Elmes
f256d18971 return fields in sorted order 2011-04-28 09:24:01 +09:00