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
Michael Ang [Tue, 30 Nov 2010 00:52:31 +0000 (00:52 +0000)]
Update title when receving edtion record from OL
rajbot [Tue, 30 Nov 2010 00:47:55 +0000 (00:47 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Tue, 30 Nov 2010 00:46:40 +0000 (00:46 +0000)]
Search error should show link to contact form if book has not been
indexed in the full-text search engine yet.
Michael Ang [Mon, 29 Nov 2010 22:07:47 +0000 (22:07 +0000)]
Updated book title/link when we receive the OL entry for a book
Michael Ang [Wed, 24 Nov 2010 01:02:42 +0000 (01:02 +0000)]
Stop page flip when showing share/info
Michael Ang [Wed, 24 Nov 2010 00:49:49 +0000 (00:49 +0000)]
Merge commit 'rajbot/newui' into newui
rajbot [Wed, 24 Nov 2010 00:46:57 +0000 (00:46 +0000)]
rename BRbookspine -> BRgutter. We no longer show the spine, since we
no longer show the cover extending past the book pages in 2up mode.
The BRbookspine div was repurposed to hold the gutter image, so rename it.
Michael Ang [Wed, 24 Nov 2010 00:18:31 +0000 (00:18 +0000)]
Merge commit 'rajbot/newui' into newui
Michael Ang [Wed, 24 Nov 2010 00:16:53 +0000 (00:16 +0000)]
Defeat browser cache for initial call to OL loan auth
rajbot [Wed, 24 Nov 2010 00:15:15 +0000 (00:15 +0000)]
move book gutter image (#BRbookspine) half-way during flip animation.
Michael Ang [Wed, 24 Nov 2010 00:07:25 +0000 (00:07 +0000)]
Notes
Michael Ang [Wed, 24 Nov 2010 00:04:32 +0000 (00:04 +0000)]
Dead code removal
Michael Ang [Wed, 24 Nov 2010 00:01:42 +0000 (00:01 +0000)]
Set embedded iframe border to 0
rajbot [Tue, 23 Nov 2010 23:50:47 +0000 (23:50 +0000)]
Correctly position #BRbookspine, which is acutually the gutter image.
As we progress through the book, the position of the gutter changes,
along with the size of the left and right leaf edges.
Also, no longer set the page border in prepareFlipLeftToRight().
rajbot [Tue, 23 Nov 2010 23:32:36 +0000 (23:32 +0000)]
Merge branch 'newui' of https://github.com/lancearthur/bookreader into newui
Michael Ang [Fri, 19 Nov 2010 02:56:08 +0000 (02:56 +0000)]
Remove hard-coded size for IA-embedded books since we now autosize
Michael Ang [Fri, 19 Nov 2010 02:49:11 +0000 (02:49 +0000)]
"Expand" button opens book in new window (or tab)
Michael Ang [Fri, 19 Nov 2010 02:26:12 +0000 (02:26 +0000)]
Style embed book title. Open links in new window.
Michael Ang [Fri, 19 Nov 2010 02:18:09 +0000 (02:18 +0000)]
Float embed nav buttons right
Michael Ang [Fri, 19 Nov 2010 01:56:42 +0000 (01:56 +0000)]
New embed UI
Michael Ang [Fri, 19 Nov 2010 01:45:59 +0000 (01:45 +0000)]
Since we can now display the first page of a book in 2up mode, set more books to default in 2up.
Michael Ang [Fri, 19 Nov 2010 01:33:34 +0000 (01:33 +0000)]
Nav handlers should be bound in bindNavigationHandlers
Michael Ang [Fri, 19 Nov 2010 01:31:21 +0000 (01:31 +0000)]
Commment removal
Michael Ang [Fri, 19 Nov 2010 01:07:53 +0000 (01:07 +0000)]
Remove files used during development
Michael Ang [Thu, 18 Nov 2010 00:42:21 +0000 (00:42 +0000)]
Set black status bar for iOS web app. Use cover image as icon.
Michael Ang [Wed, 17 Nov 2010 00:42:30 +0000 (00:42 +0000)]
Merge branch 'newui' of https://github.com/rajbot/bookreader into newui
Michael Ang [Wed, 17 Nov 2010 00:41:23 +0000 (00:41 +0000)]
Update page slider number when clicking on a search result
rajbot [Wed, 17 Nov 2010 00:34:50 +0000 (00:34 +0000)]
don't save search results ajax object in ttsAjax..
Michael Ang [Wed, 17 Nov 2010 00:15:13 +0000 (00:15 +0000)]
Set return tooltip to 'Go to Open Library' if we get an OL record
Michael Ang [Wed, 17 Nov 2010 00:09:16 +0000 (00:09 +0000)]
Set tool/nav bar icon tooltips
Michael Ang [Tue, 16 Nov 2010 23:44:45 +0000 (23:44 +0000)]
Formatting for info modal
Michael Ang [Tue, 16 Nov 2010 23:20:47 +0000 (23:20 +0000)]
Build info div after receiving OL record
Michael Ang [Tue, 16 Nov 2010 02:08:57 +0000 (02:08 +0000)]
Don't disable click to flip in 2up unless we're zoomed in. Fixes https://bugs.launchpad.net/bookreader/+bug/670148
Michael Ang [Tue, 16 Nov 2010 01:05:28 +0000 (01:05 +0000)]
HTML cleanup
Michael Ang [Tue, 16 Nov 2010 01:01:20 +0000 (01:01 +0000)]
Slightly less worse code for overrideable share/info
Michael Ang [Tue, 16 Nov 2010 01:00:30 +0000 (01:00 +0000)]
Fix invalid CSS comment
Michael Ang [Tue, 16 Nov 2010 00:39:18 +0000 (00:39 +0000)]
Stray console.log
Michael Ang [Tue, 16 Nov 2010 00:38:11 +0000 (00:38 +0000)]
Change comment style so it's obvious console.log commented out in grep
Michael Ang [Tue, 16 Nov 2010 00:35:00 +0000 (00:35 +0000)]
Use info from Open Library for info modal
Michael Ang [Mon, 15 Nov 2010 18:32:09 +0000 (18:32 +0000)]
Merge commit 'rajbot/newui' into newui
Michael Ang [Fri, 12 Nov 2010 06:43:28 +0000 (06:43 +0000)]
Stop TTS before popovers
Michael Ang [Fri, 12 Nov 2010 06:36:12 +0000 (06:36 +0000)]
Share and info popovers
rajbot [Fri, 12 Nov 2010 05:28:42 +0000 (05:28 +0000)]
soundManger reference was breaking search on mobile safari
rajbot [Fri, 12 Nov 2010 04:50:58 +0000 (04:50 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui
Michael Ang [Fri, 12 Nov 2010 04:43:10 +0000 (04:43 +0000)]
Put all navigation click handler binding in bindNavigationHandlers. Fixes bug where navigation not bound for borrowed books.
Michael Ang [Fri, 12 Nov 2010 04:22:03 +0000 (04:22 +0000)]
fragmentFromParams doesn't try to specify page/index if none is given. Updated share UI.
rajbot [Thu, 11 Nov 2010 22:46:44 +0000 (22:46 +0000)]
add checkPrivs to work with perms system for in-browser loans
rajbot [Thu, 11 Nov 2010 07:09:09 +0000 (07:09 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui
Michael Ang [Wed, 10 Nov 2010 20:51:58 +0000 (20:51 +0000)]
Merge branch 'newui' of https://github.com/rajbot/bookreader into raj-merge
rajbot [Wed, 10 Nov 2010 20:49:03 +0000 (20:49 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Wed, 10 Nov 2010 20:45:34 +0000 (20:45 +0000)]
Add random parameter for olAuth to avoid stale cache issues.
Show warning if olAuth can't connect to Open Library.
Michael Ang [Wed, 10 Nov 2010 19:59:25 +0000 (19:59 +0000)]
Add contributed patch from https://github.com/yankl to set BRcontainer direction to ltr - allows setting other elements to rtl without disrupting book layout.
Merge commit 'yankl/master' into newui
Conflicts:
BookReader/BookReader.js