35248 Commits

Author SHA1 Message Date
Kovid Goyal
7524b79d5a
A spot of refactoring 2017-05-21 13:39:25 +05:30
Kovid Goyal
aa9c42dcaa
Forgot to serialize user_categories and search_categoris when serializing field metdata 2017-05-21 13:39:24 +05:30
Kovid Goyal
43cacd5916
Port calibredb backup_metadata 2017-05-21 13:39:24 +05:30
Kovid Goyal
4080609d8c
Port calibredb check_library 2017-05-21 13:39:24 +05:30
Kovid Goyal
7f4f546ce2
Port calibredb restore_database 2017-05-21 13:39:24 +05:30
Kovid Goyal
23803416ee
Port calibredb set_custom 2017-05-21 13:39:24 +05:30
Kovid Goyal
3c2e6ca9be
... 2017-05-21 13:39:24 +05:30
Kovid Goyal
a541776fb2
... 2017-05-21 13:39:24 +05:30
Kovid Goyal
71d9ac0adc
Change notification for saved searches 2017-05-21 13:39:24 +05:30
Kovid Goyal
7ebd16989d
Port calibredb custom_columns 2017-05-21 13:39:24 +05:30
Kovid Goyal
f0155f4b2a
Port calibredb saved_searches 2017-05-21 13:39:24 +05:30
Kovid Goyal
02aa7f1be0
Remove library.cli completely 2017-05-21 13:39:23 +05:30
Kovid Goyal
008658f399
Remove most references to the old library.cli module
Still have to remove the module and port the test for the check command
2017-05-21 13:39:23 +05:30
Kovid Goyal
433987c7e2
... 2017-05-21 13:39:23 +05:30
Kovid Goyal
746a496c70
... 2017-05-21 13:39:23 +05:30
Kovid Goyal
7f61ff7b9c
catalog cmd needs LegacyDatabase interface 2017-05-21 13:39:23 +05:30
Kovid Goyal
2e4100e8dd
Port calibredb catalog 2017-05-21 13:39:23 +05:30
Kovid Goyal
a376bc6b7d
... 2017-05-21 13:39:23 +05:30
Kovid Goyal
69e8cdd749
Allow creating sub-comman option parsers based on current arguments 2017-05-21 13:39:23 +05:30
Kovid Goyal
4b09406136
Port calibredb export 2017-05-21 13:39:23 +05:30
Kovid Goyal
dc86b78001
... 2017-05-21 13:39:23 +05:30
Kovid Goyal
f9d964f358
A spot of refactoring 2017-05-21 13:39:22 +05:30
Kovid Goyal
bafc949526
Refactor the old save to disk code to use the new db api 2017-05-21 13:39:22 +05:30
Kovid Goyal
ad5ba94f3a
Port calibredb set_metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal
249c71877c
Forgot this file in the previous commit 2017-05-21 13:39:22 +05:30
Kovid Goyal
a8b29afc50
Add test for serialization of field metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal
c5dd2977eb
Use the msgpack ext type for a more compact representation of custom types 2017-05-21 13:39:22 +05:30
Kovid Goyal
fb4ea11ce2
Forgot to include this in the last commit 2017-05-21 13:39:22 +05:30
Kovid Goyal
40bbe91c0c
Serialization of FieldMetadata 2017-05-21 13:39:22 +05:30
Kovid Goyal
37309b8c56
Improvements to FieldMetadata
Make __eq__ work. It is no longer a sub-class of dict, since it is not
really a dictionary (this also allows it to be serialized). Also
add function to convert FieldMetadata to/from a serializable dictionary
2017-05-21 13:39:22 +05:30
Kovid Goyal
a0e0ae456a
Port calibredb show_metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal
24523178f2
Port calibredb remove_format 2017-05-21 13:39:21 +05:30
Kovid Goyal
b33f00f0ff
Use /cdb/cmd instead of /cdb/run 2017-05-21 13:39:21 +05:30
Kovid Goyal
2064a5cd1b
Placeholder implementations for all calibredb cmds 2017-05-21 13:39:21 +05:30
Kovid Goyal
dc35155bc3
add version to all cmd files 2017-05-21 13:39:21 +05:30
Kovid Goyal
da689143c6
Make the serialization code more efficient 2017-05-21 13:39:21 +05:30
Kovid Goyal
686bc23593
... 2017-05-21 13:39:21 +05:30
Kovid Goyal
ea39d22212
... 2017-05-21 13:39:21 +05:30
Kovid Goyal
0710ed215d
Implement versioning for the cdb API 2017-05-21 13:39:21 +05:30
Kovid Goyal
1f1fe6b024
calibredb: Allow specifying global options before the command 2017-05-21 13:39:21 +05:30
Kovid Goyal
6782fde633
Port calibredb add_format 2017-05-21 13:39:21 +05:30
Kovid Goyal
0e757634a0
Port calibredb remove 2017-05-21 13:39:21 +05:30
Kovid Goyal
b2a40192e7
... 2017-05-21 13:39:20 +05:30
Kovid Goyal
baf168e7b7
Allow serializing of sets 2017-05-21 13:39:20 +05:30
Kovid Goyal
ae38edc6ad
Port calibredb add 2017-05-21 13:39:20 +05:30
Kovid Goyal
9d5b32f3dd
... 2017-05-21 13:39:20 +05:30
Kovid Goyal
1116865657
... 2017-05-21 13:39:20 +05:30
Kovid Goyal
f53b7a8782
... 2017-05-21 13:39:20 +05:30
Kovid Goyal
54f320f30d
... 2017-05-21 13:39:20 +05:30
Kovid Goyal
ae0e2cee41
Option to allow un-authenticated local write access 2017-05-21 13:39:20 +05:30