bookreader.git
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

13 years agoAdd random parameter for olAuth to avoid stale cache issues.
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.

13 years agoAdd contributed patch from https://github.com/yankl to set BRcontainer direction...
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

13 years agoMerge branch 'master' into newui
Michael Ang [Wed, 10 Nov 2010 19:54:44 +0000 (19:54 +0000)]
Merge branch 'master' into newui

Conflicts:
BookReaderIA/inc/BookReader.inc

13 years agoImplement getInfoDiv for archive.org/openlibrary.org books
Michael Ang [Wed, 10 Nov 2010 01:01:54 +0000 (01:01 +0000)]
Implement getInfoDiv for archive.org/openlibrary.org books

13 years agoRemove resize at document ready that was causing tiny pages in 2up mode on IE7. ...
Michael Ang [Tue, 9 Nov 2010 01:31:40 +0000 (01:31 +0000)]
Remove resize at document ready that was causing tiny pages in 2up mode on IE7.  Note in BookReader.inc about disabling cache defeat code when debugging on IE.

13 years agoSet display to none for share and info popovers when they are first added
Michael Ang [Tue, 9 Nov 2010 00:43:38 +0000 (00:43 +0000)]
Set display to none for share and info popovers when they are first added

13 years agoAdd support for rtl interfaces
yankl [Fri, 5 Nov 2010 07:03:43 +0000 (00:03 -0700)]
Add support for rtl interfaces

13 years agoInfo and share popups with placeholder text
Michael Ang [Fri, 5 Nov 2010 00:04:01 +0000 (00:04 +0000)]
Info and share popups with placeholder text

13 years agoAllow periods in subPrefix
Michael Ang [Fri, 29 Oct 2010 00:54:46 +0000 (00:54 +0000)]
Allow periods in subPrefix

13 years agoAdd comment in generated BookReader main html showing how to use JSLocate for stable...
Michael Ang [Mon, 25 Oct 2010 19:48:18 +0000 (19:48 +0000)]
Add comment in generated BookReader main html showing how to use JSLocate for stable metadata access instead of referencing datanode directly.

13 years agoMerge branch 'master' into newui
Michael Ang [Mon, 25 Oct 2010 19:30:55 +0000 (19:30 +0000)]
Merge branch 'master' into newui

13 years agoAllow &subPrefix= in JSLocate, to match param name in Images
Michael Ang [Mon, 25 Oct 2010 19:28:42 +0000 (19:28 +0000)]
Allow &subPrefix= in JSLocate, to match param name in Images

13 years agoGet autofit reduce for 2up
Michael Ang [Thu, 21 Oct 2010 10:41:10 +0000 (10:41 +0000)]
Get autofit reduce for 2up

13 years agoChange zoom levels -- can't zoom as far out. Implement drag to pan (hold for short...
Michael Ang [Thu, 21 Oct 2010 10:29:57 +0000 (10:29 +0000)]
Change zoom levels -- can't zoom as far out.  Implement drag to pan (hold for short delay, then drag) for 2up.  Change feel of swipe.

13 years agoRemove not-yet-implemented fit button
Michael Ang [Thu, 21 Oct 2010 09:55:43 +0000 (09:55 +0000)]
Remove not-yet-implemented fit button

13 years agoFix glitchiness clicking through from thumbnail view. Remove thumbnail highlight.
Michael Ang [Thu, 21 Oct 2010 09:50:41 +0000 (09:50 +0000)]
Fix glitchiness clicking through from thumbnail view.  Remove thumbnail highlight.

13 years agoMax out book cover shadow with triggering scroll bars on FF.
Michael Ang [Thu, 21 Oct 2010 09:39:58 +0000 (09:39 +0000)]
Max out book cover shadow with triggering scroll bars on FF.

13 years agoImprove swiping - swallow event when swipe detected so click handler doesn't trigger
Michael Ang [Thu, 21 Oct 2010 09:25:07 +0000 (09:25 +0000)]
Improve swiping - swallow event when swipe detected so click handler doesn't trigger

13 years agoBRcontainer should go all the way to the edge -- with nav hidden use every pixel!
Michael Ang [Thu, 21 Oct 2010 09:02:59 +0000 (09:02 +0000)]
BRcontainer should go all the way to the edge -- with nav hidden use every pixel!

13 years agoMake background ever so slightly brigher. Drop shadow for nav -- Safari only since...
Michael Ang [Thu, 21 Oct 2010 09:01:11 +0000 (09:01 +0000)]
Make background ever so slightly brigher. Drop shadow for nav -- Safari only since on Firefox it triggers scroll bars.

13 years agoAdd noselect class to 1up page images
Michael Ang [Thu, 21 Oct 2010 08:31:46 +0000 (08:31 +0000)]
Add noselect class to 1up page images

13 years agoAdd shadow to 1up. Tweak thumb shadow.
Michael Ang [Thu, 21 Oct 2010 08:27:24 +0000 (08:27 +0000)]
Add shadow to 1up.  Tweak thumb shadow.

13 years agoStronger shadow for 2up
Michael Ang [Thu, 21 Oct 2010 07:57:27 +0000 (07:57 +0000)]
Stronger shadow for 2up

13 years agoSlight shadow for thumbnails
Michael Ang [Thu, 21 Oct 2010 07:53:12 +0000 (07:53 +0000)]
Slight shadow for thumbnails

13 years agoFix typo
Michael Ang [Thu, 21 Oct 2010 07:47:10 +0000 (07:47 +0000)]
Fix typo

13 years agoSet background colour of thumb and 1up images
Michael Ang [Thu, 21 Oct 2010 07:45:29 +0000 (07:45 +0000)]
Set background colour of thumb and 1up images

13 years agoSet background of 2up pages images to Bird
Michael Ang [Thu, 21 Oct 2010 07:32:46 +0000 (07:32 +0000)]
Set background of 2up pages images to Bird

13 years agoFix more merge damage.
Michael Ang [Thu, 21 Oct 2010 01:03:49 +0000 (01:03 +0000)]
Fix more merge damage.

13 years agoTurn off top nav pullout tab.
Michael Ang [Thu, 21 Oct 2010 00:14:45 +0000 (00:14 +0000)]
Turn off top nav pullout tab.

13 years agoFix merge issue. Fix the unfix my fix.
Michael Ang [Thu, 21 Oct 2010 00:08:12 +0000 (00:08 +0000)]
Fix merge issue.  Fix the unfix my fix.

13 years agoMerge branch 'newui' of http://github.com/lancearthur/bookreader into lancemerge
Michael Ang [Wed, 20 Oct 2010 23:57:04 +0000 (23:57 +0000)]
Merge branch 'newui' of github.com/lancearthur/bookreader into lancemerge

13 years agodeal with olauth case when browserlending is not the first collection
rajbot [Wed, 20 Oct 2010 23:06:45 +0000 (23:06 +0000)]
deal with olauth case when browserlending is not the first collection

13 years agoUpdate to add top tab, remove auto-slide
Lance Arthur [Wed, 20 Oct 2010 22:46:37 +0000 (15:46 -0700)]
Update to add top tab, remove auto-slide

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

13 years agostarting autoPlay stops TTS, and starting TTS stops autoPlay
rajbot [Wed, 20 Oct 2010 20:23:08 +0000 (20:23 +0000)]
starting autoPlay stops TTS, and starting TTS stops autoPlay

13 years agounfixing my fix
Lance Arthur [Wed, 20 Oct 2010 20:04:43 +0000 (13:04 -0700)]
unfixing my fix

13 years agoUpdate
Lance Arthur [Wed, 20 Oct 2010 19:56:29 +0000 (12:56 -0700)]
Update

13 years agoFix hover effect on nav markers getting stuck on iPad. Remove trailing , in property...
Michael Ang [Wed, 20 Oct 2010 19:46:27 +0000 (19:46 +0000)]
Fix hover effect on nav markers getting stuck on iPad.  Remove trailing , in property list that is supported everywhere except for IE!

13 years agoupdate
Lance Arthur [Wed, 20 Oct 2010 19:43:43 +0000 (12:43 -0700)]
update

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Wed, 20 Oct 2010 19:43:27 +0000 (12:43 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoupdate
Lance Arthur [Wed, 20 Oct 2010 19:43:16 +0000 (12:43 -0700)]
update

13 years agofor full-text search, use the page number in the par object, not the
rajbot [Wed, 20 Oct 2010 05:28:05 +0000 (05:28 +0000)]
for full-text search, use the page number in the par object, not the
box object, since it is sometimes missing.

13 years agomove fulltext search api to production url
rajbot [Wed, 20 Oct 2010 05:06:15 +0000 (05:06 +0000)]
move fulltext search api to production url

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

13 years agofix search on mobile safari
rajbot [Wed, 20 Oct 2010 03:14:27 +0000 (03:14 +0000)]
fix search on mobile safari

13 years agoUpdate OL loan authorization to point to production service!
Michael Ang [Wed, 20 Oct 2010 02:27:40 +0000 (02:27 +0000)]
Update OL loan authorization to point to production service!

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Tue, 19 Oct 2010 23:36:41 +0000 (16:36 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Tue, 19 Oct 2010 23:32:22 +0000 (16:32 -0700)]
Merge commit 'openlibrary/newui' into newui

Conflicts:
BookReader/BookReader.css

13 years agoIncrease minimum search box width. Enable auto-play mode. Change read-aloud icon...
Michael Ang [Tue, 19 Oct 2010 23:11:54 +0000 (23:11 +0000)]
Increase minimum search box width.  Enable auto-play mode.  Change read-aloud icon hint.

13 years agoDon't hide mode buttons
Michael Ang [Tue, 19 Oct 2010 22:19:27 +0000 (22:19 +0000)]
Don't hide mode buttons

13 years agoSlight changes
Lance Arthur [Tue, 19 Oct 2010 22:13:37 +0000 (15:13 -0700)]
Slight changes

13 years agoMerge branch 'newui' of http://github.com/rajbot/bookreader into swipe
Michael Ang [Tue, 19 Oct 2010 20:47:19 +0000 (20:47 +0000)]
Merge branch 'newui' of github.com/rajbot/bookreader into swipe

13 years agocall ttsStop in zoom_in or zoom_out click handlers
rajbot [Tue, 19 Oct 2010 20:45:40 +0000 (20:45 +0000)]
call ttsStop in zoom_in or zoom_out click handlers

13 years agoMerge branch 'newui' of http://github.com/rajbot/bookreader into swipe
Michael Ang [Tue, 19 Oct 2010 20:40:35 +0000 (20:40 +0000)]
Merge branch 'newui' of github.com/rajbot/bookreader into swipe

13 years agocall ttsStop() when jumpToPageIndex or left/right click handlers are called.
rajbot [Tue, 19 Oct 2010 20:38:18 +0000 (20:38 +0000)]
call ttsStop() when jumpToPageIndex or left/right click handlers are called.

13 years agoDon't disable mouseup event for simulated right-click touches on iOS
Michael Ang [Tue, 19 Oct 2010 15:42:38 +0000 (15:42 +0000)]
Don't disable mouseup event for simulated right-click touches on iOS

13 years agoshow error when no search results are returned.
rajbot [Tue, 19 Oct 2010 15:34:34 +0000 (15:34 +0000)]
show error when no search results are returned.

13 years agoCleanup!
Michael Ang [Tue, 19 Oct 2010 15:33:11 +0000 (15:33 +0000)]
Cleanup!

13 years agoNew class BRnoselect to disable e.g. page image drag
Michael Ang [Tue, 19 Oct 2010 15:27:17 +0000 (15:27 +0000)]
New class BRnoselect to disable e.g. page image drag

13 years agoRemove dragscrollable from 2up view. Swipe is working for 2up. Disable page image...
Michael Ang [Tue, 19 Oct 2010 15:19:20 +0000 (15:19 +0000)]
Remove dragscrollable from 2up view.  Swipe is working for 2up.  Disable page image drag in 2up.  Fix right-click!

13 years agoPut cap on swipe length
Michael Ang [Tue, 19 Oct 2010 14:34:03 +0000 (14:34 +0000)]
Put cap on swipe length

13 years agoFirst pass at swipe
Michael Ang [Tue, 19 Oct 2010 14:29:53 +0000 (14:29 +0000)]
First pass at swipe

13 years agoupdate progress bar
rajbot [Tue, 19 Oct 2010 05:46:42 +0000 (05:46 +0000)]
update progress bar

13 years agoThe css for .BookReaderSearchHilite had been removed...
rajbot [Tue, 19 Oct 2010 04:23:37 +0000 (04:23 +0000)]
The css for .BookReaderSearchHilite had been removed...

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into sigh_someone_broke...
rajbot [Tue, 19 Oct 2010 04:17:18 +0000 (04:17 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into sigh_someone_broke_search