35436 Commits

Author SHA1 Message Date
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
Kovid Goyal
52261d69d4
Ensure args are properly msgpack encoded for cdb requests 2017-05-21 13:39:20 +05:30
Kovid Goyal
1e4dae7e16
Implement serialization of Metadata instances 2017-05-21 13:39:20 +05:30
Kovid Goyal
530cb0d00a
Framework for cdb change notifications 2017-05-21 13:39:19 +05:30
Kovid Goyal
4df54f92f9
... 2017-05-21 13:39:19 +05:30
Kovid Goyal
f73a5f0d5a
Refactor adding API to accept add_duplicates and use new_api 2017-05-21 13:39:19 +05:30
Kovid Goyal
3a764a429d
Dont notify GUI when connecting to remote 2017-05-21 13:39:19 +05:30
Kovid Goyal
97e544dd0a
Use native path as example 2017-05-21 13:39:19 +05:30
Kovid Goyal
7fda148e31
Add a build test for msgpack 2017-05-21 13:39:19 +05:30
Kovid Goyal
d2a5aab26d
Wire up remote access for calibredb 2017-05-21 13:39:19 +05:30
Kovid Goyal
8c591dfc68
Get rid of robust_parser as we now depend on mechanize 0.3 2017-05-21 13:39:19 +05:30
Kovid Goyal
6421e06045
Remove unused code 2017-05-21 13:39:19 +05:30
Kovid Goyal
0d9478674d
Start work on refactoring calibredb to make it work with remote libraries 2017-05-21 13:39:19 +05:30