Dobrica Pavlinusic [Sun, 24 Jun 2012 15:30:40 +0000 (17:30 +0200)]
remove common prefix before page sorting
Dobrica Pavlinusic [Sun, 24 Jun 2012 14:58:24 +0000 (16:58 +0200)]
use gm convert instead of perl binding for 30% performance improvement
Dobrica Pavlinusic [Sun, 24 Jun 2012 14:32:01 +0000 (16:32 +0200)]
support multi-page pdf scans with images inside
Dobrica Pavlinusic [Sun, 24 Jun 2012 11:26:57 +0000 (13:26 +0200)]
remove double parent directory
Dobrica Pavlinusic [Sun, 24 Jun 2012 11:26:07 +0000 (13:26 +0200)]
use .. for link to return to parent directory
Dobrica Pavlinusic [Sun, 24 Jun 2012 10:16:09 +0000 (12:16 +0200)]
added etag
Dobrica Pavlinusic [Sat, 23 Jun 2012 23:19:21 +0000 (01:19 +0200)]
added share
Dobrica Pavlinusic [Sat, 23 Jun 2012 23:19:12 +0000 (01:19 +0200)]
book url and Read button
Dobrica Pavlinusic [Sat, 23 Jun 2012 23:18:45 +0000 (01:18 +0200)]
show git scans
Dobrica Pavlinusic [Sat, 23 Jun 2012 22:56:29 +0000 (00:56 +0200)]
tweaks for missing pages
Dobrica Pavlinusic [Sat, 23 Jun 2012 22:47:44 +0000 (00:47 +0200)]
added BookReader html and javascript
Dobrica Pavlinusic [Sat, 23 Jun 2012 21:07:17 +0000 (23:07 +0200)]
rename variables dir -> path
Dobrica Pavlinusic [Sat, 23 Jun 2012 21:06:27 +0000 (23:06 +0200)]
resize images using Graphics::Magick
Dobrica Pavlinusic [Sat, 23 Jun 2012 18:36:45 +0000 (20:36 +0200)]
simple Plack::App::Bookreader based on Directory
Dobrica Pavlinusic [Sat, 23 Jun 2012 14:09:08 +0000 (16:09 +0200)]
simple plack server to show BookReaderDemo
Michael Ang [Tue, 10 Jan 2012 00:48:00 +0000 (00:48 +0000)]
Add ppi (pixels per inch) to BookReader metadata API
Michael Ang [Mon, 5 Dec 2011 20:01:30 +0000 (20:01 +0000)]
"preview" uses marked cover for books >= 1923. "cover0" returns first marked cover or 404
Michael Ang [Mon, 7 Nov 2011 21:53:46 +0000 (21:53 +0000)]
Closes #14, closes #15. Fix recovery path used when jp2 is requested at less than the mininum reduction level.
Michael Ang [Wed, 26 Oct 2011 19:15:32 +0000 (19:15 +0000)]
IA-specific: Patch from Tracey for new way to get item metadata
Michael Ang [Wed, 26 Oct 2011 18:44:13 +0000 (18:44 +0000)]
Tmp file cleanup code
Michael Ang [Wed, 19 Oct 2011 23:18:14 +0000 (23:18 +0000)]
IA-specific. Make sure temporary files are unlinked on exit, e.g. if client drops connection.
Michael Ang [Thu, 13 Oct 2011 23:27:59 +0000 (23:27 +0000)]
Write to fast tmp file instead of overly clever "stream if successful" code path
Michael Ang [Wed, 12 Oct 2011 19:13:51 +0000 (19:13 +0000)]
Suppress warnings from 'convert'. Was confusing streaming output (deadlock since we assume output on stderr means there will be no output on stdout).
Michael Ang [Fri, 16 Sep 2011 00:53:52 +0000 (00:53 +0000)]
Add files related to Internet Archive's implementation of fulltext search
Michael Ang [Wed, 7 Sep 2011 23:06:06 +0000 (23:06 +0000)]
Bump version number
Michael Ang [Tue, 6 Sep 2011 23:48:38 +0000 (23:48 +0000)]
Instead of defaulting Android devices to embedded UI (phone was assumed) give them default full UI. See https://bugs.launchpad.net/bookreader/+bug/782301
Michael Ang [Tue, 6 Sep 2011 23:44:51 +0000 (23:44 +0000)]
Fix tyPo
Michael Ang [Thu, 1 Sep 2011 00:02:37 +0000 (00:02 +0000)]
Remove CVS revision number (since we're using git as authoritative). Fixes https://bugs.launchpad.net/bookreader/+bug/513465
Michael Ang [Wed, 31 Aug 2011 22:12:48 +0000 (22:12 +0000)]
Navigation slider now shows e.g. 1/32 instead of 0/32. Fixes https://bugs.launchpad.net/bookreader/+bug/831515
Michael Ang [Wed, 31 Aug 2011 22:03:33 +0000 (22:03 +0000)]
Merge commit '
614f54b' into cleanup
Michael Ang [Wed, 31 Aug 2011 21:52:48 +0000 (21:52 +0000)]
Change dragscrollable.js to add option to scroll window rather than the element. Used to work around browser weirdness on FF with html5 doctype.
Michael Ang [Wed, 31 Aug 2011 21:51:25 +0000 (21:51 +0000)]
Treat jpx files as jp2.
shenzhuxi [Wed, 17 Aug 2011 10:43:28 +0000 (18:43 +0800)]
fix bugs
https://bugs.launchpad.net/bookreader/+bug/768698
https://bugs.launchpad.net/bookreader/+bug/743655
Michael Ang [Fri, 1 Jul 2011 17:33:01 +0000 (17:33 +0000)]
Don't set ol-host cookie if value not passed in
Michael Ang [Fri, 1 Jul 2011 17:17:05 +0000 (17:17 +0000)]
Bump version number
Michael Ang [Wed, 29 Jun 2011 22:20:09 +0000 (22:20 +0000)]
Proxy pass through
rajbot [Wed, 22 Jun 2011 22:52:48 +0000 (22:52 +0000)]
bump version number
rajbot [Wed, 22 Jun 2011 22:50:06 +0000 (22:50 +0000)]
workaround buggy soundManger2 callbacks on FF5 and IE9
Michael Ang [Fri, 27 May 2011 20:52:10 +0000 (20:52 +0000)]
Fix for images being returned overly large
Michael Ang [Fri, 27 May 2011 20:34:43 +0000 (20:34 +0000)]
Bump version number
Michael Ang [Thu, 26 May 2011 00:06:55 +0000 (00:06 +0000)]
Update tests
Michael Ang [Thu, 26 May 2011 00:01:53 +0000 (00:01 +0000)]
Support decimal percentage values for width/height in all cases. If the scale has an exact match for pow2 reduce, use that pow2 reduce (instead of the next larger one)
Michael Ang [Wed, 25 May 2011 23:36:31 +0000 (23:36 +0000)]
Unit tests for proportional "within width/height" scaling
Michael Ang [Wed, 25 May 2011 23:20:23 +0000 (23:20 +0000)]
If both width and height are specified (but no x or y) then we take the full image and scale it proportionally within the requested width/height box
Michael Ang [Wed, 25 May 2011 01:30:38 +0000 (01:30 +0000)]
Merge branch 'leaf_url' into image_region
Michael Ang [Wed, 25 May 2011 01:29:59 +0000 (01:29 +0000)]
More tests
Michael Ang [Wed, 25 May 2011 00:26:09 +0000 (00:26 +0000)]
Another image test
Michael Ang [Mon, 23 May 2011 23:18:06 +0000 (23:18 +0000)]
Add rotation support for non-jp2 images
Michael Ang [Mon, 23 May 2011 17:14:14 +0000 (17:14 +0000)]
Update unit tests
Michael Ang [Fri, 20 May 2011 22:57:41 +0000 (22:57 +0000)]
Unit test for getting page region. Fix bug in br.getPageRegionURI
Michael Ang [Thu, 19 May 2011 21:35:05 +0000 (21:35 +0000)]
New function getRegionURI to retrieve partial page images
Michael Ang [Wed, 18 May 2011 01:41:11 +0000 (01:41 +0000)]
Handling of non-jp2 image formats using ImageMagick's convert
Michael Ang [Thu, 12 May 2011 23:16:55 +0000 (23:16 +0000)]
Can now access by leaf number in URL, e.g. archive.org/stream/itemid#page/leaf5. See https://bugs.launchpad.net/bookreader/+bug/781945
Michael Ang [Thu, 12 May 2011 23:14:50 +0000 (23:14 +0000)]
Progress on image region support
Michael Ang [Thu, 5 May 2011 00:09:39 +0000 (00:09 +0000)]
Function to get region params as float
Michael Ang [Mon, 2 May 2011 23:35:18 +0000 (23:35 +0000)]
Calculate region in source image
Michael Ang [Thu, 21 Apr 2011 18:04:31 +0000 (18:04 +0000)]
Patch from Tracey
r33689 | tracey | 2011-03-01 03:56:53 +0000 (Tue, 01 Mar 2011) | 1 line
split() is going away in lucid+
Michael Ang [Thu, 21 Apr 2011 17:49:20 +0000 (17:49 +0000)]
Bump version number
Michael Ang [Mon, 18 Apr 2011 21:38:45 +0000 (21:38 +0000)]
Read default values out of bookreader-defaults in meta.xml
rajbot [Tue, 8 Mar 2011 00:16:44 +0000 (00:16 +0000)]
Bump version number to 3.0.4
Michael Ang [Tue, 1 Mar 2011 01:27:08 +0000 (01:27 +0000)]
Fix dev typo
Michael Ang [Tue, 1 Mar 2011 01:23:23 +0000 (01:23 +0000)]
Fix incorrect display of thumbnails. Patch contributed by Edu Hackenitz (thanks!)
rajbot [Tue, 15 Feb 2011 21:34:22 +0000 (21:34 +0000)]
Bump version number to 3.0.3
rajbot [Tue, 15 Feb 2011 21:23:08 +0000 (21:23 +0000)]
Merge branch 'master' of git@github.com:openlibrary/bookreader into browserlending
rajbot [Tue, 8 Feb 2011 23:50:40 +0000 (23:50 +0000)]
use brConfig isAdmin flag to trigger QA mode.
rajbot [Tue, 8 Feb 2011 22:49:33 +0000 (22:49 +0000)]
Merge branch 'browserlending' of git@github.com:openlibrary/bookreader into browserlending
rajbot [Tue, 8 Feb 2011 22:49:06 +0000 (22:49 +0000)]
allow admins to QA in-browser loans
Michael Ang [Mon, 7 Feb 2011 22:55:12 +0000 (22:55 +0000)]
Bump version number
Michael Ang [Mon, 7 Feb 2011 22:46:40 +0000 (22:46 +0000)]
Remove use of global br object in Open Library record callbacks. Fix issue on IE8 with bad 'this'.
Michael Ang [Fri, 4 Feb 2011 20:04:52 +0000 (20:04 +0000)]
Use empty string instead of null to unset display: block that is added to image elements as part of animation. null was causing IE8 to barf.
Michael Ang [Wed, 2 Feb 2011 23:19:55 +0000 (23:19 +0000)]
A little more style
rajbot [Tue, 1 Feb 2011 22:15:38 +0000 (22:15 +0000)]
After page flip, clear display:block from element style.
This is automatically added by jquery, but interferes with our print css
for in-browser loans.
Michael Ang [Tue, 1 Feb 2011 01:41:50 +0000 (01:41 +0000)]
Suggest user refresh the BookReader if we lost the network connection.
Michael Ang [Tue, 1 Feb 2011 00:53:58 +0000 (00:53 +0000)]
Disable drag/drop of images of protected books on IE
Michael Ang [Tue, 1 Feb 2011 00:53:19 +0000 (00:53 +0000)]
Send archive.org backed access token to openlibrary when polling for loan authorization.
Michael Ang [Tue, 1 Feb 2011 00:03:23 +0000 (00:03 +0000)]
Disable image right-click for protected books
Michael Ang [Mon, 31 Jan 2011 23:22:42 +0000 (23:22 +0000)]
For protected books, disable printing of pages.
rajbot [Sat, 29 Jan 2011 00:28:10 +0000 (00:28 +0000)]
delete loan cookies when book is returned from within the browser
Michael Ang [Fri, 28 Jan 2011 23:00:08 +0000 (23:00 +0000)]
Use live site, not dev host
Michael Ang [Fri, 28 Jan 2011 22:54:26 +0000 (22:54 +0000)]
Fix typo in CSS
rajbot [Fri, 28 Jan 2011 21:26:35 +0000 (21:26 +0000)]
For old loans, the uuid is actually a text string, not a uuid.
Michael Ang [Fri, 28 Jan 2011 02:54:46 +0000 (02:54 +0000)]
Add loan token when polling
Michael Ang [Fri, 28 Jan 2011 02:52:38 +0000 (02:52 +0000)]
Allow GET or POST
rajbot [Fri, 28 Jan 2011 01:53:17 +0000 (01:53 +0000)]
sanitize inputs
Michael Ang [Thu, 27 Jan 2011 23:33:15 +0000 (23:33 +0000)]
BookReaderAuth.php, which sets loan related cookies from values passed from OL, so that they can be passed back to OL/ia_auth for loan validation
Michael Ang [Thu, 27 Jan 2011 23:31:56 +0000 (23:31 +0000)]
Send item access cookie to OL for validation
rajbot [Wed, 26 Jan 2011 23:40:06 +0000 (23:40 +0000)]
Use 10 minute expiry in OLAuth cookies, refresh br-loan cookie if needed.
rajbot [Tue, 25 Jan 2011 01:01:15 +0000 (01:01 +0000)]
if loanUUID is set, add it to OLAuth authUrl
Michael Ang [Sat, 15 Jan 2011 00:42:39 +0000 (00:42 +0000)]
Show return button even when title is long. Add link "On openlibrary.org" when the book has an OL record.
Michael Ang [Sat, 15 Jan 2011 00:19:07 +0000 (00:19 +0000)]
More styling for error messages.
Michael Ang [Fri, 14 Jan 2011 21:51:43 +0000 (21:51 +0000)]
Better error handling messages for loan auth.
Michael Ang [Fri, 14 Jan 2011 00:49:25 +0000 (00:49 +0000)]
Add "Return this book" under the book's title if it's a borrowed book
Michael Ang [Fri, 7 Jan 2011 19:11:57 +0000 (19:11 +0000)]
Update message if book has not been indexed yet. IA-specific.
rajbot [Fri, 10 Dec 2010 00:17:33 +0000 (00:17 +0000)]
Merge branch 'newui' of git@github.com:rajbot/bookreader into newui
rajbot [Fri, 10 Dec 2010 00:15:42 +0000 (00:15 +0000)]
update standalone demo with newui changes
Michael Ang [Wed, 8 Dec 2010 23:30:55 +0000 (23:30 +0000)]
BookReader 3.0! Flippy -> GnuBook -> BookReader
Michael Ang [Wed, 8 Dec 2010 23:17:50 +0000 (23:17 +0000)]
Merge commit 'rajbot/newui' into newui
Michael Ang [Wed, 8 Dec 2010 23:16:52 +0000 (23:16 +0000)]
Disable info and share buttons on iPad with Safari version <= 531. Works around bug with colorbox locking up that browser. See https://bugs.launchpad.net/bookreader/+bug/686220
rajbot [Wed, 8 Dec 2010 20:53:55 +0000 (20:53 +0000)]
fix mouse handlers on IE8.
Michael Ang [Tue, 7 Dec 2010 00:25:16 +0000 (00:25 +0000)]
Update supported browser message