bookreader.git
13 years agoA little more style
Michael Ang [Wed, 2 Feb 2011 23:19:55 +0000 (23:19 +0000)]
A little more style

13 years agoAfter page flip, clear display:block from element 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.

13 years agoSuggest user refresh the BookReader if we lost the network connection.
Michael Ang [Tue, 1 Feb 2011 01:41:50 +0000 (01:41 +0000)]
Suggest user refresh the BookReader if we lost the network connection.

13 years agoDisable drag/drop of images of protected books on IE
Michael Ang [Tue, 1 Feb 2011 00:53:58 +0000 (00:53 +0000)]
Disable drag/drop of images of protected books on IE

13 years agoSend archive.org backed access token to openlibrary when polling for loan authorization.
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.

13 years agoDisable image right-click for protected books
Michael Ang [Tue, 1 Feb 2011 00:03:23 +0000 (00:03 +0000)]
Disable image right-click for protected books

13 years agoFor protected books, disable printing of pages.
Michael Ang [Mon, 31 Jan 2011 23:22:42 +0000 (23:22 +0000)]
For protected books, disable printing of pages.

13 years agodelete loan cookies when book is returned from within the browser
rajbot [Sat, 29 Jan 2011 00:28:10 +0000 (00:28 +0000)]
delete loan cookies when book is returned from within the browser

13 years agoUse live site, not dev host
Michael Ang [Fri, 28 Jan 2011 23:00:08 +0000 (23:00 +0000)]
Use live site, not dev host

13 years agoFix typo in CSS
Michael Ang [Fri, 28 Jan 2011 22:54:26 +0000 (22:54 +0000)]
Fix typo in CSS

13 years agoFor old loans, the uuid is actually a text string, not a uuid.
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.

13 years agoAdd loan token when polling
Michael Ang [Fri, 28 Jan 2011 02:54:46 +0000 (02:54 +0000)]
Add loan token when polling

13 years agoAllow GET or POST
Michael Ang [Fri, 28 Jan 2011 02:52:38 +0000 (02:52 +0000)]
Allow GET or POST

13 years agosanitize inputs
rajbot [Fri, 28 Jan 2011 01:53:17 +0000 (01:53 +0000)]
sanitize inputs

13 years agoBookReaderAuth.php, which sets loan related cookies from values passed from OL, so...
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

13 years agoSend item access cookie to OL for validation
Michael Ang [Thu, 27 Jan 2011 23:31:56 +0000 (23:31 +0000)]
Send item access cookie to OL for validation

13 years agoUse 10 minute expiry in OLAuth cookies, refresh br-loan cookie if needed.
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.

13 years agoif loanUUID is set, add it to OLAuth authUrl
rajbot [Tue, 25 Jan 2011 01:01:15 +0000 (01:01 +0000)]
if loanUUID is set, add it to OLAuth authUrl

13 years agoShow return button even when title is long. Add link "On openlibrary.org" when the...
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.

13 years agoMore styling for error messages.
Michael Ang [Sat, 15 Jan 2011 00:19:07 +0000 (00:19 +0000)]
More styling for error messages.

13 years agoBetter error handling messages for loan auth.
Michael Ang [Fri, 14 Jan 2011 21:51:43 +0000 (21:51 +0000)]
Better error handling messages for loan auth.

13 years agoAdd "Return this book" under the book's title if it's a borrowed book
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

13 years agoUpdate message if book has not been indexed yet. IA-specific.
Michael Ang [Fri, 7 Jan 2011 19:11:57 +0000 (19:11 +0000)]
Update message if book has not been indexed yet.  IA-specific.

13 years agoMerge branch 'newui' of git@github.com:rajbot/bookreader into newui
rajbot [Fri, 10 Dec 2010 00:17:33 +0000 (00:17 +0000)]
Merge branch 'newui' of git@github.com:rajbot/bookreader into newui

13 years agoupdate standalone demo with newui changes
rajbot [Fri, 10 Dec 2010 00:15:42 +0000 (00:15 +0000)]
update standalone demo with newui changes

13 years agoBookReader 3.0! Flippy -> GnuBook -> BookReader
Michael Ang [Wed, 8 Dec 2010 23:30:55 +0000 (23:30 +0000)]
BookReader 3.0!  Flippy -> GnuBook -> BookReader

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Wed, 8 Dec 2010 23:17:50 +0000 (23:17 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agoDisable info and share buttons on iPad with Safari version <= 531. Works around...
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

13 years agofix mouse handlers on IE8.
rajbot [Wed, 8 Dec 2010 20:53:55 +0000 (20:53 +0000)]
fix mouse handlers on IE8.

13 years agoUpdate supported browser message
Michael Ang [Tue, 7 Dec 2010 00:25:16 +0000 (00:25 +0000)]
Update supported browser message

13 years agoRemove "Back to" text in title bar since "where we came from" detection not yet imple...
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.

13 years agoServe old version of the BookReader for IE7 on archive.org. Sorry, can't carry you...
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!

13 years agoMake embed frame width/height more easily adjustable
Michael Ang [Fri, 3 Dec 2010 19:45:49 +0000 (19:45 +0000)]
Make embed frame width/height more easily adjustable

13 years agoFix updating of share embed code
Michael Ang [Fri, 3 Dec 2010 19:41:14 +0000 (19:41 +0000)]
Fix updating of share embed code

13 years agoArchive logo leads to archive.org
Michael Ang [Thu, 2 Dec 2010 19:10:07 +0000 (19:10 +0000)]
Archive logo leads to archive.org

13 years agoLog client-side JavaScript and server-side PHP errors so we can fix them quickly...
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.

13 years agoNew message on OL auth failure, per George.
Michael Ang [Thu, 2 Dec 2010 00:55:39 +0000 (00:55 +0000)]
New message on OL auth failure, per George.

13 years agoUse Internet Archive logo for BookReader hosted on archive.org
Michael Ang [Thu, 2 Dec 2010 00:02:19 +0000 (00:02 +0000)]
Use Internet Archive logo for BookReader hosted on archive.org

13 years agoAdd version number to JSIA call
Michael Ang [Wed, 1 Dec 2010 01:20:53 +0000 (01:20 +0000)]
Add version number to JSIA call

13 years agoRemove trailing pipe on info modal
Michael Ang [Wed, 1 Dec 2010 01:20:22 +0000 (01:20 +0000)]
Remove trailing pipe on info modal

13 years agoUpdated OL logo
Michael Ang [Wed, 1 Dec 2010 01:03:23 +0000 (01:03 +0000)]
Updated OL logo

13 years agoNew gutter image
Michael Ang [Wed, 1 Dec 2010 00:52:21 +0000 (00:52 +0000)]
New gutter image

13 years agoReduce jumping/resizing in info modal when cover is loading
Michael Ang [Wed, 1 Dec 2010 00:51:49 +0000 (00:51 +0000)]
Reduce jumping/resizing in info modal when cover is loading

13 years agoEncode # as %23 when passing as get arg.
Michael Ang [Tue, 30 Nov 2010 23:15:05 +0000 (23:15 +0000)]
Encode # as %23 when passing as get arg.

13 years agoPass book params (page, view mode, etc) to OL contact form
Michael Ang [Tue, 30 Nov 2010 23:11:24 +0000 (23:11 +0000)]
Pass book params (page, view mode, etc) to OL contact form

13 years agoRemove "More..." from info modal. Add current window location to OL problem contact...
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.

13 years agoSlightly more helpful message displayed when JS is not enabled.
Michael Ang [Tue, 30 Nov 2010 22:18:08 +0000 (22:18 +0000)]
Slightly more helpful message displayed when JS is not enabled.

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Tue, 30 Nov 2010 01:04:52 +0000 (01:04 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agoupdate search error for non-indexed books to include archive.org in the path
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

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Tue, 30 Nov 2010 00:53:00 +0000 (00:53 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agoUpdate title when receving edtion record from OL
Michael Ang [Tue, 30 Nov 2010 00:52:31 +0000 (00:52 +0000)]
Update title when receving edtion record from OL

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Tue, 30 Nov 2010 00:47:55 +0000 (00:47 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agoSearch error should show link to contact form if book has not been
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.

13 years agoUpdated book title/link when we receive the OL entry for a book
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

13 years agoStop page flip when showing share/info
Michael Ang [Wed, 24 Nov 2010 01:02:42 +0000 (01:02 +0000)]
Stop page flip when showing share/info

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Wed, 24 Nov 2010 00:49:49 +0000 (00:49 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agorename BRbookspine -> BRgutter. We no longer show the spine, since we
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.

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Wed, 24 Nov 2010 00:18:31 +0000 (00:18 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agoDefeat browser cache for initial call to OL loan auth
Michael Ang [Wed, 24 Nov 2010 00:16:53 +0000 (00:16 +0000)]
Defeat browser cache for initial call to OL loan auth

13 years agomove book gutter image (#BRbookspine) half-way during flip animation.
rajbot [Wed, 24 Nov 2010 00:15:15 +0000 (00:15 +0000)]
move book gutter image (#BRbookspine) half-way during flip animation.

13 years agoNotes
Michael Ang [Wed, 24 Nov 2010 00:07:25 +0000 (00:07 +0000)]
Notes

13 years agoDead code removal
Michael Ang [Wed, 24 Nov 2010 00:04:32 +0000 (00:04 +0000)]
Dead code removal

13 years agoSet embedded iframe border to 0
Michael Ang [Wed, 24 Nov 2010 00:01:42 +0000 (00:01 +0000)]
Set embedded iframe border to 0

13 years agoCorrectly position #BRbookspine, which is acutually the gutter image.
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().

13 years agoMerge branch 'newui' of https://github.com/lancearthur/bookreader into newui
rajbot [Tue, 23 Nov 2010 23:32:36 +0000 (23:32 +0000)]
Merge branch 'newui' of https://github.com/lancearthur/bookreader into newui

13 years agoRemove hard-coded size for IA-embedded books since we now autosize
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

13 years ago"Expand" button opens book in new window (or tab)
Michael Ang [Fri, 19 Nov 2010 02:49:11 +0000 (02:49 +0000)]
"Expand" button opens book in new window (or tab)

13 years agoStyle embed book title. Open links in new window.
Michael Ang [Fri, 19 Nov 2010 02:26:12 +0000 (02:26 +0000)]
Style embed book title.  Open links in new window.

13 years agoFloat embed nav buttons right
Michael Ang [Fri, 19 Nov 2010 02:18:09 +0000 (02:18 +0000)]
Float embed nav buttons right

13 years agoNew embed UI
Michael Ang [Fri, 19 Nov 2010 01:56:42 +0000 (01:56 +0000)]
New embed UI

13 years agoSince we can now display the first page of a book in 2up mode, set more books to...
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.

13 years agoNav handlers should be bound in bindNavigationHandlers
Michael Ang [Fri, 19 Nov 2010 01:33:34 +0000 (01:33 +0000)]
Nav handlers should be bound in bindNavigationHandlers

13 years agoCommment removal
Michael Ang [Fri, 19 Nov 2010 01:31:21 +0000 (01:31 +0000)]
Commment removal

13 years agoRemove files used during development
Michael Ang [Fri, 19 Nov 2010 01:07:53 +0000 (01:07 +0000)]
Remove files used during development

13 years agoSet black status bar for iOS web app. Use cover image as icon.
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.

13 years agoMerge branch 'newui' of https://github.com/rajbot/bookreader into newui
Michael Ang [Wed, 17 Nov 2010 00:42:30 +0000 (00:42 +0000)]
Merge branch 'newui' of https://github.com/rajbot/bookreader into newui

13 years agoUpdate page slider number when clicking on a search result
Michael Ang [Wed, 17 Nov 2010 00:41:23 +0000 (00:41 +0000)]
Update page slider number when clicking on a search result

13 years agodon't save search results ajax object in ttsAjax..
rajbot [Wed, 17 Nov 2010 00:34:50 +0000 (00:34 +0000)]
don't save search results ajax object in ttsAjax..

13 years agoSet return tooltip to 'Go to Open Library' if we get an OL record
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

13 years agoSet tool/nav bar icon tooltips
Michael Ang [Wed, 17 Nov 2010 00:09:16 +0000 (00:09 +0000)]
Set tool/nav bar icon tooltips

13 years agoFormatting for info modal
Michael Ang [Tue, 16 Nov 2010 23:44:45 +0000 (23:44 +0000)]
Formatting for info modal

13 years agoBuild info div after receiving OL record
Michael Ang [Tue, 16 Nov 2010 23:20:47 +0000 (23:20 +0000)]
Build info div after receiving OL record

13 years agoDon't disable click to flip in 2up unless we're zoomed in. Fixes https://bugs.launch...
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

13 years agoHTML cleanup
Michael Ang [Tue, 16 Nov 2010 01:05:28 +0000 (01:05 +0000)]
HTML cleanup

13 years agoSlightly less worse code for overrideable share/info
Michael Ang [Tue, 16 Nov 2010 01:01:20 +0000 (01:01 +0000)]
Slightly less worse code for overrideable share/info

13 years agoFix invalid CSS comment
Michael Ang [Tue, 16 Nov 2010 01:00:30 +0000 (01:00 +0000)]
Fix invalid CSS comment

13 years agoStray console.log
Michael Ang [Tue, 16 Nov 2010 00:39:18 +0000 (00:39 +0000)]
Stray console.log

13 years agoChange comment style so it's obvious console.log commented out in grep
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

13 years agoUse info from Open Library for info modal
Michael Ang [Tue, 16 Nov 2010 00:35:00 +0000 (00:35 +0000)]
Use info from Open Library for info modal

13 years agoMerge commit 'rajbot/newui' into newui
Michael Ang [Mon, 15 Nov 2010 18:32:09 +0000 (18:32 +0000)]
Merge commit 'rajbot/newui' into newui

13 years agoStop TTS before popovers
Michael Ang [Fri, 12 Nov 2010 06:43:28 +0000 (06:43 +0000)]
Stop TTS before popovers

13 years agoShare and info popovers
Michael Ang [Fri, 12 Nov 2010 06:36:12 +0000 (06:36 +0000)]
Share and info popovers

13 years agosoundManger reference was breaking search on mobile safari
rajbot [Fri, 12 Nov 2010 05:28:42 +0000 (05:28 +0000)]
soundManger reference was breaking search on mobile safari

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Fri, 12 Nov 2010 04:50:58 +0000 (04:50 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agoPut all navigation click handler binding in bindNavigationHandlers. Fixes bug where...
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.

13 years agofragmentFromParams doesn't try to specify page/index if none is given. Updated share UI.
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.

13 years agoadd checkPrivs to work with perms system for in-browser loans
rajbot [Thu, 11 Nov 2010 22:46:44 +0000 (22:46 +0000)]
add checkPrivs to work with perms system for in-browser loans

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Thu, 11 Nov 2010 07:09:09 +0000 (07:09 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agoMerge branch 'newui' of https://github.com/rajbot/bookreader into raj-merge
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

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Wed, 10 Nov 2010 20:49:03 +0000 (20:49 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui