35427 Commits

Author SHA1 Message Date
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
Kovid Goyal
f54f7df5b4
... 2017-05-21 13:39:18 +05:30
Kovid Goyal
c8143fd0d9
hover/active highlight in details list 2017-05-21 13:39:18 +05:30
Kovid Goyal
6d1ff03ace
Broaden search grid 2017-05-21 13:39:18 +05:30
Kovid Goyal
18bbf1dd0b
... 2017-05-21 13:39:18 +05:30
Kovid Goyal
740ab016fc
Also preserve scroll position when using the home button 2017-05-21 13:39:18 +05:30
Kovid Goyal
55414ba6fa
Preserve scroll position in book list 2017-05-21 13:39:18 +05:30
Kovid Goyal
3c109d990e
Go home on error not back 2017-05-21 13:39:18 +05:30
Kovid Goyal
57d2e24961
Line up all text in the details list 2017-05-21 13:39:18 +05:30
Kovid Goyal
3b53bf0ad3
Finish details list 2017-05-21 13:39:18 +05:30