bookreader.git
13 years agoadd BookReaderGetTTS.php
rajbot [Thu, 30 Sep 2010 05:29:22 +0000 (05:29 +0000)]
add BookReaderGetTTS.php

13 years agoadd progressbar.gif
rajbot [Thu, 30 Sep 2010 05:22:28 +0000 (05:22 +0000)]
add progressbar.gif

13 years agocall ttsStop() if user changes the page
rajbot [Wed, 29 Sep 2010 23:55:26 +0000 (23:55 +0000)]
call ttsStop() if user changes the page

13 years agosanitize inputs
rajbot [Wed, 29 Sep 2010 23:41:16 +0000 (23:41 +0000)]
sanitize inputs

13 years agomove popup style to BookReader.css
rajbot [Wed, 29 Sep 2010 22:41:24 +0000 (22:41 +0000)]
move popup style to BookReader.css

13 years agomore subtle tts popup
rajbot [Wed, 29 Sep 2010 22:40:33 +0000 (22:40 +0000)]
more subtle tts popup

13 years agoget rid of trailing comma in object literal to fix IE7
rajbot [Wed, 29 Sep 2010 21:23:12 +0000 (21:23 +0000)]
get rid of trailing comma in object literal to fix IE7

13 years agoconditionalize TTS debugging on soundManager.debugMode == true
rajbot [Wed, 29 Sep 2010 20:59:27 +0000 (20:59 +0000)]
conditionalize TTS debugging on soundManager.debugMode == true

13 years agoadd safari support for TTS.
rajbot [Wed, 29 Sep 2010 20:44:06 +0000 (20:44 +0000)]
add safari support for TTS.

13 years agoadd ttsScrollToChunk()
rajbot [Wed, 22 Sep 2010 23:30:10 +0000 (23:30 +0000)]
add ttsScrollToChunk()

13 years agoMake sure ttsStart() is only called once
rajbot [Wed, 22 Sep 2010 23:06:44 +0000 (23:06 +0000)]
Make sure ttsStart() is only called once

13 years agowait for soundManger.onready before starting TTS
rajbot [Tue, 21 Sep 2010 22:07:11 +0000 (22:07 +0000)]
wait for soundManger.onready before starting TTS

13 years agoimprove 1UP positioning when reading aloud.
rajbot [Tue, 21 Sep 2010 00:51:26 +0000 (00:51 +0000)]
improve 1UP positioning when reading aloud.

13 years agoadd read_aloud hilighting to 1UP mode
rajbot [Tue, 21 Sep 2010 00:27:43 +0000 (00:27 +0000)]
add read_aloud hilighting to 1UP mode

13 years agoadd ttsStop()
rajbot [Mon, 20 Sep 2010 22:08:27 +0000 (22:08 +0000)]
add ttsStop()

13 years agoupdate the temporary read_aloud.png
rajbot [Mon, 20 Sep 2010 19:54:52 +0000 (19:54 +0000)]
update the temporary read_aloud.png

13 years agoadd mccabe to test users
rajbot [Mon, 20 Sep 2010 18:12:26 +0000 (18:12 +0000)]
add mccabe to test users

13 years agoadd read_aloud.png and soundmanager files
rajbot [Mon, 20 Sep 2010 18:04:26 +0000 (18:04 +0000)]
add read_aloud.png and soundmanager files

13 years agosplit ttsNextChunk() into two phases, pre and post-flip animation.
rajbot [Mon, 20 Sep 2010 18:02:45 +0000 (18:02 +0000)]
split ttsNextChunk() into two phases, pre and post-flip animation.

13 years agodeal with blank pages..
rajbot [Sat, 18 Sep 2010 00:43:48 +0000 (00:43 +0000)]
deal with blank pages..

13 years agoadd TTS poller..
rajbot [Sat, 18 Sep 2010 00:14:22 +0000 (00:14 +0000)]
add TTS poller..

13 years agoflip to next page while reading aloud.
rajbot [Mon, 13 Sep 2010 23:19:22 +0000 (23:19 +0000)]
flip to next page while reading aloud.

13 years agoprefetch next page of text, show loading popup, and chunk name now
rajbot [Fri, 10 Sep 2010 23:40:06 +0000 (23:40 +0000)]
prefetch next page of text, show loading popup, and chunk name now
includes leaf index number.

13 years agorefactor tts and search hilight code
rajbot [Tue, 7 Sep 2010 21:29:20 +0000 (21:29 +0000)]
refactor tts and search hilight code

13 years agoget tts demo working in firefox
rajbot [Fri, 3 Sep 2010 19:02:44 +0000 (19:02 +0000)]
get tts demo working in firefox

13 years agoadd BookReaderGetText.py and BookReaderGetTextWrapper.php
rajbot [Wed, 25 Aug 2010 23:19:19 +0000 (23:19 +0000)]
add BookReaderGetText.py and BookReaderGetTextWrapper.php

13 years agoUpdate test hosts to include raj
Michael Ang [Thu, 12 Aug 2010 23:28:54 +0000 (23:28 +0000)]
Update test hosts to include raj

13 years agoFix race condition in select call. Fix fallback code so it properly determines avail...
Michael Ang [Fri, 6 Aug 2010 22:16:45 +0000 (22:16 +0000)]
Fix race condition in select call.  Fix fallback code so it properly determines available reduction levels from JP2s.

13 years agoimageurls release
Michael Ang [Wed, 4 Aug 2010 18:41:44 +0000 (18:41 +0000)]
imageurls release

13 years agoReturn 404 in case of error, e.g. title page requested but not available.
Michael Ang [Wed, 4 Aug 2010 00:14:28 +0000 (00:14 +0000)]
Return 404 in case of error, e.g. title page requested but not available.

13 years agoUpdate unit tests to autodetect testing host
Michael Ang [Tue, 3 Aug 2010 00:34:23 +0000 (00:34 +0000)]
Update unit tests to autodetect testing host

13 years agoUpdate tests for new behaviour of 'cover' page specifier. Add protected book to...
Michael Ang [Mon, 2 Aug 2010 23:20:56 +0000 (23:20 +0000)]
Update tests for new behaviour of 'cover' page specifier.  Add protected book to tests.

13 years agoTests for permalinks
Michael Ang [Mon, 2 Aug 2010 23:11:22 +0000 (23:11 +0000)]
Tests for permalinks

13 years agoRefactor BookReaderPreview.php for cleaner use of BookReaderImages.
Michael Ang [Mon, 2 Aug 2010 23:03:50 +0000 (23:03 +0000)]
Refactor BookReaderPreview.php for cleaner use of BookReaderImages.

13 years agoChange 'cover' to have the same behaviour of 'preview'. Add 'leaf' as possible page...
Michael Ang [Mon, 2 Aug 2010 21:33:39 +0000 (21:33 +0000)]
Change 'cover' to have the same behaviour of 'preview'.  Add 'leaf' as possible page specifier.

13 years agoMore comments
Michael Ang [Mon, 2 Aug 2010 20:56:59 +0000 (20:56 +0000)]
More comments

13 years agoCleanup
Michael Ang [Sat, 31 Jul 2010 00:22:52 +0000 (00:22 +0000)]
Cleanup

13 years agoBetter logic for deciding what scale to return the image at.
Michael Ang [Wed, 28 Jul 2010 22:53:18 +0000 (22:53 +0000)]
Better logic for deciding what scale to return the image at.

13 years agoDelete temporary tiff file at exit. Fixes https://bugs.edge.launchpad.net/bookreader...
Michael Ang [Wed, 28 Jul 2010 22:30:54 +0000 (22:30 +0000)]
Delete temporary tiff file at exit.  Fixes https://bugs.edge.launchpad.net/bookreader/+bug/611077

13 years agoUse first subPrefix (by asciibetical) in item when no subPrefix specified. e.g....
Michael Ang [Tue, 27 Jul 2010 22:06:49 +0000 (22:06 +0000)]
Use first subPrefix (by asciibetical) in item when no subPrefix specified.  e.g. /download/{itemid}/page/preview_thumb.jpg will use first book in user uploads.

13 years agoSource formatting
Michael Ang [Tue, 27 Jul 2010 22:06:34 +0000 (22:06 +0000)]
Source formatting

13 years agoSupport named sizes in permalink image urls
Michael Ang [Tue, 27 Jul 2010 01:39:01 +0000 (01:39 +0000)]
Support named sizes in permalink image urls

13 years agoRemove reduce from image permalinks. Add rotation.
Michael Ang [Tue, 27 Jul 2010 01:22:56 +0000 (01:22 +0000)]
Remove reduce from image permalinks.  Add rotation.

13 years agoPass through values from permalink url to image processor
Michael Ang [Tue, 27 Jul 2010 01:19:13 +0000 (01:19 +0000)]
Pass through values from permalink url to image processor

13 years agoChange to class static variables
Michael Ang [Tue, 27 Jul 2010 01:07:44 +0000 (01:07 +0000)]
Change to class static variables

13 years agoParse scale, size, rotation, etc from permalink image URLs.
Michael Ang [Tue, 27 Jul 2010 00:50:15 +0000 (00:50 +0000)]
Parse scale, size, rotation, etc from permalink image URLs.

13 years agoAdd support for reduce. Update unit tests for subdir books.
Michael Ang [Fri, 23 Jul 2010 22:42:56 +0000 (22:42 +0000)]
Add support for reduce.  Update unit tests for subdir books.

13 years agoImage permalinks, e.g. /download/itemid/page/cover.jpg
Michael Ang [Fri, 23 Jul 2010 22:05:19 +0000 (22:05 +0000)]
Image permalinks, e.g. /download/itemid/page/cover.jpg

13 years agoBetter preview handling. Start of image options parsing. Test harness.
Michael Ang [Fri, 23 Jul 2010 18:34:10 +0000 (18:34 +0000)]
Better preview handling.  Start of image options parsing.  Test harness.

13 years agoAdd unit test for preview image of book in subdir!
Michael Ang [Thu, 22 Jul 2010 22:57:47 +0000 (22:57 +0000)]
Add unit test for preview image of book in subdir!

13 years agoMake book preview image permalinks work for books in item sub-dirs. More consistent...
Michael Ang [Wed, 21 Jul 2010 02:48:51 +0000 (02:48 +0000)]
Make book preview image permalinks work for books in item sub-dirs.  More consistent use of "subPrefix" (replacing "bookId")

13 years agoComments
Michael Ang [Tue, 20 Jul 2010 23:11:24 +0000 (23:11 +0000)]
Comments

13 years agoRemove trailing newline. Bump version number.
Michael Ang [Wed, 2 Jun 2010 17:22:00 +0000 (17:22 +0000)]
Remove trailing newline.  Bump version number.

13 years agoTweaks for IE
Michael Ang [Tue, 1 Jun 2010 23:40:31 +0000 (23:40 +0000)]
Tweaks for IE

13 years agoRemove trailing commas in property definitions since IE7 can't handle it.
Michael Ang [Tue, 1 Jun 2010 23:13:49 +0000 (23:13 +0000)]
Remove trailing commas in property definitions since IE7 can't handle it.

13 years agoRemove trailing newline in PHP include file
Michael Ang [Tue, 1 Jun 2010 17:43:15 +0000 (17:43 +0000)]
Remove trailing newline in PHP include file

13 years agoRelease 26
Michael Ang [Fri, 28 May 2010 18:02:23 +0000 (18:02 +0000)]
Release 26

14 years agoSet background colour of beginning/end facing page to transparent
Michael Ang [Fri, 21 May 2010 00:43:16 +0000 (00:43 +0000)]
Set background colour of beginning/end facing page to transparent

14 years agoMake page background color (visible before image has finished loading) controlled...
Michael Ang [Fri, 21 May 2010 00:04:15 +0000 (00:04 +0000)]
Make page background color (visible before image has finished loading) controlled by BookReader.css

14 years agoAdded jquery ui built with only Core and Effects Core
Michael Ang [Thu, 20 May 2010 23:28:04 +0000 (23:28 +0000)]
Added jquery ui built with only Core and Effects Core

14 years agoHide overflow of toolbar so title does not show when too long to fit.
Michael Ang [Thu, 20 May 2010 22:44:35 +0000 (22:44 +0000)]
Hide overflow of toolbar so title does not show when too long to fit.

14 years agoPreserve left/right position when zoomed in and jumping to index.
Michael Ang [Thu, 20 May 2010 21:42:22 +0000 (21:42 +0000)]
Preserve left/right position when zoomed in and jumping to index.

14 years agoWhen zoomed in, scroll up/down such that a percentage of the current page is still...
Michael Ang [Thu, 20 May 2010 21:39:29 +0000 (21:39 +0000)]
When zoomed in, scroll up/down such that a percentage of the current page is still visible.  When zoomed out, scroll one page height.

14 years agoGive Android devices the same default ui mode as iPhone/iPod Touch
Michael Ang [Wed, 19 May 2010 23:55:31 +0000 (23:55 +0000)]
Give Android devices the same default ui mode as iPhone/iPod Touch

14 years agoAdd browser detection for iPad and iPhone/iPod
Michael Ang [Wed, 19 May 2010 23:33:58 +0000 (23:33 +0000)]
Add browser detection for iPad and iPhone/iPod

14 years agoRestore showing of "Auto" in 2up for zoom mode. Some fixes when switching between...
Michael Ang [Tue, 18 May 2010 01:02:34 +0000 (01:02 +0000)]
Restore showing of "Auto" in 2up for zoom mode.  Some fixes when switching between modes.

14 years agoUpdate 2up zooming to use new autofit infrastructure
Michael Ang [Tue, 18 May 2010 00:12:43 +0000 (00:12 +0000)]
Update 2up zooming to use new autofit infrastructure

14 years agoAutofit width/height in 1up. WIP.
Michael Ang [Mon, 17 May 2010 23:45:18 +0000 (23:45 +0000)]
Autofit width/height in 1up.  WIP.

14 years agoMake dragscrollable update when there is a new version
Michael Ang [Sat, 15 May 2010 01:15:44 +0000 (01:15 +0000)]
Make dragscrollable update when there is a new version

14 years agoMore CSS cleanup
Michael Ang [Sat, 15 May 2010 01:15:16 +0000 (01:15 +0000)]
More CSS cleanup

14 years agoMove more CSS to .css files
Michael Ang [Sat, 15 May 2010 00:27:31 +0000 (00:27 +0000)]
Move more CSS to .css files

14 years agoAdd rounded border and shadow to book cover on Safari. Bring more static CSS out...
Michael Ang [Sat, 15 May 2010 00:10:50 +0000 (00:10 +0000)]
Add rounded border and shadow to book cover on Safari.  Bring more static CSS out into .css files for easy overriding.

14 years agoEnable running as mobile-web-app. Hides browser navigation bar when bookmarked to...
Michael Ang [Fri, 14 May 2010 23:48:48 +0000 (23:48 +0000)]
Enable running as mobile-web-app.  Hides browser navigation bar when bookmarked to Home Screen and launched.  See https://bugs.edge.launchpad.net/bookreader/+bug/580761

14 years agoMove toolbar to bottom
Michael Ang [Fri, 14 May 2010 23:31:59 +0000 (23:31 +0000)]
Move toolbar to bottom

14 years agoConsolidate CSS
Michael Ang [Fri, 14 May 2010 23:23:08 +0000 (23:23 +0000)]
Consolidate CSS

14 years agoUse modified dragscrollable plugin from http://github.com/raganwald/iGesture. Add...
Michael Ang [Fri, 14 May 2010 23:16:57 +0000 (23:16 +0000)]
Use modified dragscrollable plugin from github.com/raganwald/iGesture.  Add support for pinch to zoom in/out.

14 years agoMove touch specific CSS and images to touch directory
Michael Ang [Thu, 13 May 2010 00:48:36 +0000 (00:48 +0000)]
Move touch specific CSS and images to touch directory

14 years agoNew touch ui mode
Michael Ang [Thu, 13 May 2010 00:45:00 +0000 (00:45 +0000)]
New touch ui mode

14 years agoAdd time to version number when on dev host so browser always reloads the JS/CSS...
Michael Ang [Thu, 6 May 2010 23:05:04 +0000 (23:05 +0000)]
Add time to version number when on dev host so browser always reloads the JS/CSS.  See https://bugs.edge.launchpad.net/bookreader/+bug/553718

14 years agoSet viewport and disable scaling
Michael Ang [Thu, 6 May 2010 22:25:29 +0000 (22:25 +0000)]
Set viewport and disable scaling

14 years agoUpdate to jQuery 1.4.2. Use jQuery UI for easing.
Michael Ang [Wed, 5 May 2010 22:29:22 +0000 (22:29 +0000)]
Update to jQuery 1.4.2.  Use jQuery UI for easing.

14 years agoRelease 25
Michael Ang [Mon, 3 May 2010 23:16:18 +0000 (23:16 +0000)]
Release 25

14 years agoCheck privs when searching. See https://bugs.edge.launchpad.net/bookreader/+bug...
Michael Ang [Mon, 3 May 2010 23:06:54 +0000 (23:06 +0000)]
Check privs when searching.  See https://bugs.edge.launchpad.net/bookreader/+bug/573223

14 years agoPass data from meta.xml through to BookReaderMeta clients. Use cover image for previ...
Michael Ang [Mon, 3 May 2010 23:00:38 +0000 (23:00 +0000)]
Pass data from meta.xml through to BookReaderMeta clients.  Use cover image for preview if book published >= 1950.  See https://bugs.edge.launchpad.net/bookreader/+bug/574761

14 years agoAdd support for {thumb,small,medium,large} image sizes
Michael Ang [Fri, 30 Apr 2010 23:48:34 +0000 (23:48 +0000)]
Add support for {thumb,small,medium,large} image sizes

14 years agoRelease 24
Michael Ang [Thu, 29 Apr 2010 21:38:00 +0000 (21:38 +0000)]
Release 24

14 years agoUpdate unit tests
Michael Ang [Thu, 29 Apr 2010 21:36:46 +0000 (21:36 +0000)]
Update unit tests

14 years agoAdd privs check to metadata generator. Update unit tests.
Michael Ang [Thu, 29 Apr 2010 21:32:48 +0000 (21:32 +0000)]
Add privs check to metadata generator.  Update unit tests.

14 years agoImprove tests
Michael Ang [Wed, 28 Apr 2010 23:17:14 +0000 (23:17 +0000)]
Improve tests

14 years agoUpdate preview image generation. Update unit tests.
Michael Ang [Wed, 28 Apr 2010 22:16:06 +0000 (22:16 +0000)]
Update preview image generation.  Update unit tests.

14 years agoRefactor BookReaderImages and BookReaderMeta. New BookReaderPreview to provide acces...
Michael Ang [Wed, 28 Apr 2010 00:35:33 +0000 (00:35 +0000)]
Refactor BookReaderImages and BookReaderMeta.  New BookReaderPreview to provide access to preview images.

14 years agoBetter handling of bookId in metadata generation. Add getURL for handling /download...
Michael Ang [Tue, 27 Apr 2010 21:59:10 +0000 (21:59 +0000)]
Better handling of bookId in metadata generation.  Add getURL for handling /download/ in BookReader.inc

14 years agoCleanup file modes. Comments.
Michael Ang [Tue, 27 Apr 2010 19:24:31 +0000 (19:24 +0000)]
Cleanup file modes.  Comments.

14 years agoFirst pass at BookReaderPreview.php -- provides access to preview images
Michael Ang [Tue, 27 Apr 2010 19:23:38 +0000 (19:23 +0000)]
First pass at BookReaderPreview.php -- provides access to preview images

14 years agoRefactor BookReaderImages into class (.inc.php) and web request (.php) files. Add...
Michael Ang [Tue, 27 Apr 2010 18:54:50 +0000 (18:54 +0000)]
Refactor BookReaderImages into class (.inc.php) and web request (.php) files.  Add recommended filename header.

14 years agoRefactor metadata processing into class
Michael Ang [Tue, 27 Apr 2010 18:32:28 +0000 (18:32 +0000)]
Refactor metadata processing into class

14 years agoRefactor BookReaderImages into class. Thank goodness for unit tests!
Michael Ang [Tue, 27 Apr 2010 00:59:10 +0000 (00:59 +0000)]
Refactor BookReaderImages into class.  Thank goodness for unit tests!

14 years agoMild refactoring
Michael Ang [Mon, 26 Apr 2010 22:51:50 +0000 (22:51 +0000)]
Mild refactoring

14 years agoReorder code -- all functions at end
Michael Ang [Mon, 26 Apr 2010 21:22:00 +0000 (21:22 +0000)]
Reorder code -- all functions at end

14 years agoFix bugs with title page and page heights
Michael Ang [Sat, 24 Apr 2010 00:50:08 +0000 (00:50 +0000)]
Fix bugs with title page and page heights