31321 Commits

Author SHA1 Message Date
Kovid Goyal
eed56b0ee5 Turn off focus rects globally 2015-11-14 10:30:29 +05:30
Kovid Goyal
2624b41932 Refactor code to get list of sortable fields 2015-11-14 09:22:35 +05:30
Kovid Goyal
e4f2d70a9d ... 2015-11-13 23:36:30 +05:30
Kovid Goyal
21e805c6ca Use an explicit gradient instead of a second color in the theme 2015-11-13 23:29:53 +05:30
Kovid Goyal
3e53d5fc07 Get rid of ImageMagick in a couple of other places as well 2015-11-13 22:06:10 +05:30
Kovid Goyal
4658a45c83 ... 2015-11-13 21:54:44 +05:30
Kovid Goyal
7905e70cdf Refactor scale_img into its own module 2015-11-13 21:51:32 +05:30
Kovid Goyal
30bcd2ab8f ... 2015-11-13 21:23:25 +05:30
Kovid Goyal
056d509aa9 Do not use ImageMagick in the server
ImageMagick appears to use some kind of memory pool, which causes memory
consumption int he server process to skyrocket.
2015-11-13 21:02:01 +05:30
Kovid Goyal
eb81d0d897 ... 2015-11-13 20:12:28 +05:30
Kovid Goyal
17e95c8f33 ... 2015-11-13 17:59:25 +05:30
Kovid Goyal
92e99bcc09 Set rel="next" on the button to show more books 2015-11-13 17:59:19 +05:30
Kovid Goyal
cb22155364 Ensure there are no unpushed changes in the local repo before running upload_to_server 2015-11-13 17:52:59 +05:30
Kovid Goyal
5d84cd7913 Use a spinner when fetching more books 2015-11-13 14:55:28 +05:30
Kovid Goyal
9605e8fa2d Update RapydScript 2015-11-13 14:55:06 +05:30
Kovid Goyal
7f6d2d786d Implement the "Get more books" button
Also refactor ajax.pyj to make error reporting easier
2015-11-13 14:41:41 +05:30
Kovid Goyal
363be7c6f3 Allow a route to specify its OK code 2015-11-13 14:35:36 +05:30
Kovid Goyal
9f624b6d95 ... 2015-11-13 14:03:20 +05:30
Kovid Goyal
fa90586f67 Function to encode JS string as UTF-8 Uint8Arrays 2015-11-13 13:44:09 +05:30
Kovid Goyal
85844fb0b9 Ensure img.onerror is fired only after it is added to its parent 2015-11-13 13:34:31 +05:30
Kovid Goyal
70e57e95ad Use JS bind() instead of RS bind() 2015-11-13 09:54:41 +05:30
Kovid Goyal
b303be4189 version 2.44.0 v2.44.0 2015-11-13 09:10:11 +05:30
Kovid Goyal
94ea457109 Prevent enter key from having any effect in metadata review dialog 2015-11-13 09:07:06 +05:30
Kovid Goyal
5f9e987b27 E-book viewer: When doing a search do not match text in comments and element attributes 2015-11-13 01:01:40 +05:30
Kovid Goyal
eced07af18 Update RapydScript 2015-11-12 22:52:44 +05:30
Kovid Goyal
69dbc5cfb6 ... 2015-11-12 20:55:36 +05:30
Kovid Goyal
692500b852 Allow setting the cover for a book from one of the book's formats by right clicking on the format in the Book details panel. See #1515411 (Extract cover via book details and edit metadata) 2015-11-12 18:11:36 +05:30
Kovid Goyal
438f5a8d88 ... 2015-11-12 18:05:45 +05:30
Kovid Goyal
2fd77b8667 Update RapydScript 2015-11-12 14:56:33 +05:30
Kovid Goyal
608bb13cae Allow drag and drop of all file types onto the book details panel and the format list in the edit metadata dialog. See #1515462 (unnecessary file copy during import) 2015-11-12 14:21:35 +05:30
Kovid Goyal
191381f7da Prevent mem-leak in buttons
Event handler should not have a reference to the DOM node in its context
2015-11-12 11:58:52 +05:30
Kovid Goyal
6f263dd3fc Nicer rendering for books with no cover in the cover grid 2015-11-12 11:58:24 +05:30
Kovid Goyal
ce61de9ae1 ... 2015-11-12 11:31:18 +05:30
Kovid Goyal
5a7dd0d331 ... 2015-11-12 11:23:18 +05:30
Kovid Goyal
592c00d55c Report unhandled exceptions to user 2015-11-12 11:22:29 +05:30
Kovid Goyal
16c216e8ac Updata Gamasutra 2015-11-12 09:08:20 +05:30
Kovid Goyal
e0d31bafa7 MTP driver: Fix for SD card causing errors with some devices on linux and OS X 2015-11-11 13:48:40 +05:30
Kovid Goyal
e88b27c5fc Finish modal dialog implementation 2015-11-11 12:53:23 +05:30
Kovid Goyal
aeffb81692 More work on modals 2015-11-11 10:59:48 +05:30
Kovid Goyal
834b3217f4 Workaround for WebKit bug in layout of transformed images on window resize 2015-11-10 23:24:43 +05:30
Kovid Goyal
d23f731c0c Let the browser handle resizing of the cover grid
Since we are depending on modern browsers in any case, we can use
viewport size based units
2015-11-10 18:11:59 +05:30
Kovid Goyal
29bf9b022d Start work on button to fetch more books 2015-11-10 17:36:14 +05:30
Kovid Goyal
07c9d1bb58 ... 2015-11-10 17:35:18 +05:30
Kovid Goyal
ffe9bf4c1e Separate new ajax endpoints from legacy ajax endpoints 2015-11-10 17:35:01 +05:30
Kovid Goyal
b3fd7e6409 Basic code for modals 2015-11-10 17:33:34 +05:30
Kovid Goyal
0fbea94580 Update RapydScript 2015-11-10 11:35:18 +05:30
Kovid Goyal
0d6178f129 Edit Book: Change the suggested prefix for bulk renaming of files depending on the type of files being renamed. Fixes #1514468 [Bulk renaming of non-Text files in the editor](https://bugs.launchpad.net/calibre/+bug/1514468)
Minor changes to the commit that actually implemented this
functionality:

1) List categories in only one place

2) Allow user to rename across categories -- although I can think
   of no good reason for this, I don't want to place an unnecessary
   restriction on the functionality.
2015-11-10 09:14:50 +05:30
Eli Schwartz
b1b9a0020c Editor: Fix bulk renaming of non-Text files.
Do not allow bulk renaming of different categories of files.
Set the default prefix according to the category of file.
2015-11-10 08:46:18 +05:30
Kovid Goyal
d1a1706dff Edit Book: When insert an image into the current document, add a button to paste the image from the clipboard 2015-11-09 16:41:12 +05:30
Kovid Goyal
a0c0a3ffbb ... 2015-11-09 15:09:13 +05:30