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
Michael Ang [Mon, 6 Dec 2010 21:28:58 +0000 (21:28 +0000)]
Remove "Back to" text in title bar since "where we came from" detection not yet implemented.
Michael Ang [Sat, 4 Dec 2010 01:02:07 +0000 (01:02 +0000)]
Serve old version of the BookReader for IE7 on archive.org. Sorry, can't carry you any further!
Michael Ang [Fri, 3 Dec 2010 19:45:49 +0000 (19:45 +0000)]
Make embed frame width/height more easily adjustable
Michael Ang [Fri, 3 Dec 2010 19:41:14 +0000 (19:41 +0000)]
Fix updating of share embed code
Michael Ang [Thu, 2 Dec 2010 19:10:07 +0000 (19:10 +0000)]
Archive logo leads to archive.org
Michael Ang [Thu, 2 Dec 2010 01:22:54 +0000 (01:22 +0000)]
Log client-side JavaScript and server-side PHP errors so we can fix them quickly. Only enabled for books served from archive.org.
Michael Ang [Thu, 2 Dec 2010 00:55:39 +0000 (00:55 +0000)]
New message on OL auth failure, per George.
Michael Ang [Thu, 2 Dec 2010 00:02:19 +0000 (00:02 +0000)]
Use Internet Archive logo for BookReader hosted on archive.org
Michael Ang [Wed, 1 Dec 2010 01:20:53 +0000 (01:20 +0000)]
Add version number to JSIA call
Michael Ang [Wed, 1 Dec 2010 01:20:22 +0000 (01:20 +0000)]
Remove trailing pipe on info modal
Michael Ang [Wed, 1 Dec 2010 01:03:23 +0000 (01:03 +0000)]
Updated OL logo
Michael Ang [Wed, 1 Dec 2010 00:52:21 +0000 (00:52 +0000)]
New gutter image
Michael Ang [Wed, 1 Dec 2010 00:51:49 +0000 (00:51 +0000)]
Reduce jumping/resizing in info modal when cover is loading
Michael Ang [Tue, 30 Nov 2010 23:15:05 +0000 (23:15 +0000)]
Encode # as %23 when passing as get arg.
Michael Ang [Tue, 30 Nov 2010 23:11:24 +0000 (23:11 +0000)]
Pass book params (page, view mode, etc) to OL contact form
Michael Ang [Tue, 30 Nov 2010 23:08:26 +0000 (23:08 +0000)]
Remove "More..." from info modal. Add current window location to OL problem contact form.
Michael Ang [Tue, 30 Nov 2010 22:18:08 +0000 (22:18 +0000)]
Slightly more helpful message displayed when JS is not enabled.
Michael Ang [Tue, 30 Nov 2010 01:04:52 +0000 (01:04 +0000)]
Merge commit 'rajbot/newui' into newui
rajbot [Tue, 30 Nov 2010 01:00:55 +0000 (01:00 +0000)]
update search error for non-indexed books to include archive.org in the path
Michael Ang [Tue, 30 Nov 2010 00:53:00 +0000 (00:53 +0000)]
Merge commit 'rajbot/newui' into newui