Michael Ang [Tue, 3 Aug 2010 00:34:23 +0000 (00:34 +0000)]
Update unit tests to autodetect testing host
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.
Michael Ang [Mon, 2 Aug 2010 23:11:22 +0000 (23:11 +0000)]
Tests for permalinks
Michael Ang [Mon, 2 Aug 2010 23:03:50 +0000 (23:03 +0000)]
Refactor BookReaderPreview.php for cleaner use of BookReaderImages.
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.
Michael Ang [Mon, 2 Aug 2010 20:56:59 +0000 (20:56 +0000)]
More comments
Michael Ang [Sat, 31 Jul 2010 00:22:52 +0000 (00:22 +0000)]
Cleanup
Michael Ang [Wed, 28 Jul 2010 22:53:18 +0000 (22:53 +0000)]
Better logic for deciding what scale to return the image at.
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
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.
Michael Ang [Tue, 27 Jul 2010 22:06:34 +0000 (22:06 +0000)]
Source formatting
Michael Ang [Tue, 27 Jul 2010 01:39:01 +0000 (01:39 +0000)]
Support named sizes in permalink image urls
Michael Ang [Tue, 27 Jul 2010 01:22:56 +0000 (01:22 +0000)]
Remove reduce from image permalinks. Add rotation.
Michael Ang [Tue, 27 Jul 2010 01:19:13 +0000 (01:19 +0000)]
Pass through values from permalink url to image processor
Michael Ang [Tue, 27 Jul 2010 01:07:44 +0000 (01:07 +0000)]
Change to class static variables
Michael Ang [Tue, 27 Jul 2010 00:50:15 +0000 (00:50 +0000)]
Parse scale, size, rotation, etc from permalink image URLs.
Michael Ang [Fri, 23 Jul 2010 22:42:56 +0000 (22:42 +0000)]
Add support for reduce. Update unit tests for subdir books.
Michael Ang [Fri, 23 Jul 2010 22:05:19 +0000 (22:05 +0000)]
Image permalinks, e.g. /download/itemid/page/cover.jpg
Michael Ang [Fri, 23 Jul 2010 18:34:10 +0000 (18:34 +0000)]
Better preview handling. Start of image options parsing. Test harness.
Michael Ang [Thu, 22 Jul 2010 22:57:47 +0000 (22:57 +0000)]
Add unit test for preview image of book in subdir!
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")
Michael Ang [Tue, 20 Jul 2010 23:11:24 +0000 (23:11 +0000)]
Comments
Michael Ang [Wed, 2 Jun 2010 17:22:00 +0000 (17:22 +0000)]
Remove trailing newline. Bump version number.
Michael Ang [Tue, 1 Jun 2010 23:40:31 +0000 (23:40 +0000)]
Tweaks for IE
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.
Michael Ang [Tue, 1 Jun 2010 17:43:15 +0000 (17:43 +0000)]
Remove trailing newline in PHP include file
Michael Ang [Fri, 28 May 2010 18:02:23 +0000 (18:02 +0000)]
Release 26
Michael Ang [Fri, 21 May 2010 00:43:16 +0000 (00:43 +0000)]
Set background colour of beginning/end facing page to transparent
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
Michael Ang [Thu, 20 May 2010 23:28:04 +0000 (23:28 +0000)]
Added jquery ui built with only Core and Effects Core
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.
Michael Ang [Thu, 20 May 2010 21:42:22 +0000 (21:42 +0000)]
Preserve left/right position when zoomed in and jumping to index.
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.
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
Michael Ang [Wed, 19 May 2010 23:33:58 +0000 (23:33 +0000)]
Add browser detection for iPad and iPhone/iPod
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.
Michael Ang [Tue, 18 May 2010 00:12:43 +0000 (00:12 +0000)]
Update 2up zooming to use new autofit infrastructure
Michael Ang [Mon, 17 May 2010 23:45:18 +0000 (23:45 +0000)]
Autofit width/height in 1up. WIP.
Michael Ang [Sat, 15 May 2010 01:15:44 +0000 (01:15 +0000)]
Make dragscrollable update when there is a new version
Michael Ang [Sat, 15 May 2010 01:15:16 +0000 (01:15 +0000)]
More CSS cleanup
Michael Ang [Sat, 15 May 2010 00:27:31 +0000 (00:27 +0000)]
Move more CSS to .css files
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.
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
Michael Ang [Fri, 14 May 2010 23:31:59 +0000 (23:31 +0000)]
Move toolbar to bottom
Michael Ang [Fri, 14 May 2010 23:23:08 +0000 (23:23 +0000)]
Consolidate CSS
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.
Michael Ang [Thu, 13 May 2010 00:48:36 +0000 (00:48 +0000)]
Move touch specific CSS and images to touch directory
Michael Ang [Thu, 13 May 2010 00:45:00 +0000 (00:45 +0000)]
New touch ui mode
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
Michael Ang [Thu, 6 May 2010 22:25:29 +0000 (22:25 +0000)]
Set viewport and disable scaling
Michael Ang [Wed, 5 May 2010 22:29:22 +0000 (22:29 +0000)]
Update to jQuery 1.4.2. Use jQuery UI for easing.
Michael Ang [Mon, 3 May 2010 23:16:18 +0000 (23:16 +0000)]
Release 25
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
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
Michael Ang [Fri, 30 Apr 2010 23:48:34 +0000 (23:48 +0000)]
Add support for {thumb,small,medium,large} image sizes
Michael Ang [Thu, 29 Apr 2010 21:38:00 +0000 (21:38 +0000)]
Release 24
Michael Ang [Thu, 29 Apr 2010 21:36:46 +0000 (21:36 +0000)]
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.
Michael Ang [Wed, 28 Apr 2010 23:17:14 +0000 (23:17 +0000)]
Improve tests
Michael Ang [Wed, 28 Apr 2010 22:16:06 +0000 (22:16 +0000)]
Update preview image generation. Update unit tests.
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.
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
Michael Ang [Tue, 27 Apr 2010 19:24:31 +0000 (19:24 +0000)]
Cleanup file modes. Comments.
Michael Ang [Tue, 27 Apr 2010 19:23:38 +0000 (19:23 +0000)]
First pass at BookReaderPreview.php -- provides access to preview images
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.
Michael Ang [Tue, 27 Apr 2010 18:32:28 +0000 (18:32 +0000)]
Refactor metadata processing into class
Michael Ang [Tue, 27 Apr 2010 00:59:10 +0000 (00:59 +0000)]
Refactor BookReaderImages into class. Thank goodness for unit tests!
Michael Ang [Mon, 26 Apr 2010 22:51:50 +0000 (22:51 +0000)]
Mild refactoring
Michael Ang [Mon, 26 Apr 2010 21:22:00 +0000 (21:22 +0000)]
Reorder code -- all functions at end
Michael Ang [Sat, 24 Apr 2010 00:50:08 +0000 (00:50 +0000)]
Fix bugs with title page and page heights
Michael Ang [Sat, 24 Apr 2010 00:49:31 +0000 (00:49 +0000)]
Check if file is readable and if not return 403
Michael Ang [Fri, 23 Apr 2010 00:26:58 +0000 (00:26 +0000)]
Add coverIndices and coverImages arrays to JSON output.
Michael Ang [Fri, 23 Apr 2010 00:06:10 +0000 (00:06 +0000)]
Include URL to title image in JSON
Michael Ang [Wed, 21 Apr 2010 23:46:30 +0000 (23:46 +0000)]
Expose book metadata as JSON(p). WIP.
Michael Ang [Thu, 15 Apr 2010 23:14:09 +0000 (23:14 +0000)]
Bump version number to Release 23
Michael Ang [Thu, 15 Apr 2010 22:59:07 +0000 (22:59 +0000)]
Add personal test host.
Michael Ang [Mon, 12 Apr 2010 23:41:28 +0000 (23:41 +0000)]
Ignore output of chatty commands
Michael Ang [Mon, 12 Apr 2010 23:18:13 +0000 (23:18 +0000)]
Update qunit URLs.
Michael Ang [Mon, 12 Apr 2010 22:38:18 +0000 (22:38 +0000)]
Add seekIndex to drawLeafsThumbnail to allow drawing directly at the page index (without animated scrolling). Seek to current index when preparing the thumbnail view. Fixes weird resizing and mode switch animation glitches. See https://bugs.edge.launchpad.net/bookreader/+bug/561886
Michael Ang [Fri, 9 Apr 2010 23:37:35 +0000 (23:37 +0000)]
Suppress spurious stderr output from pnmscale
Michael Ang [Fri, 9 Apr 2010 23:28:42 +0000 (23:28 +0000)]
Hide thumbnail mode icon when in embed UI. See https://bugs.edge.launchpad.net/bookreader/+bug/559688
Michael Ang [Fri, 9 Apr 2010 02:15:59 +0000 (02:15 +0000)]
Preserve place in book when resizing in thumbnail mode. See https://bugs.edge.launchpad.net/bookreader/+bug/552972
Michael Ang [Fri, 9 Apr 2010 01:55:14 +0000 (01:55 +0000)]
When scrolling in thumbnail mode, update the "current" page to make sure it is one that's visible. See https://bugs.edge.launchpad.net/bookreader/+bug/556895
Michael Ang [Fri, 9 Apr 2010 00:04:04 +0000 (00:04 +0000)]
Improve use of jQuery.inArray. It actually returns the position of the item in the array, or -1 or undefined.
Michael Ang [Thu, 8 Apr 2010 19:31:10 +0000 (19:31 +0000)]
Documentation
Michael Ang [Thu, 8 Apr 2010 19:04:40 +0000 (19:04 +0000)]
Call switchMode from thumbnail image links. Documentation.
Michael Ang [Mon, 5 Apr 2010 23:52:26 +0000 (23:52 +0000)]
Include BookReader.js after the necessary jQuery easing library. See https://bugs.edge.launchpad.net/bookreader/+bug/556109. Add documentation about our custom metadata/page access script.
Michael Ang [Sat, 3 Apr 2010 00:06:13 +0000 (00:06 +0000)]
Fix truncated comment.
Michael Ang [Sat, 3 Apr 2010 00:01:33 +0000 (00:01 +0000)]
Only queue load of thumbMaxLoading thumbnails at a time. Improves latency when
scrolling in thumbnail mode or changing modes. Add CSS classes so thumbnail
page images don't need border set explicitly in the code.
Michael Ang [Thu, 1 Apr 2010 02:30:46 +0000 (02:30 +0000)]
Document leafNumToIndex. See https://bugs.edge.launchpad.net/bookreader/+bug/552991
Michael Ang [Fri, 26 Mar 2010 22:43:13 +0000 (22:43 +0000)]
Create page view div before requesting its width. See https://bugs.edge.launchpad.net/bookreader/+bug/549170 https://bugs.edge.launchpad.net/bookreader/+bug/549176
Michael Ang [Wed, 24 Mar 2010 18:20:32 +0000 (18:20 +0000)]
Allow drag select for now since disabling it breaks keyboard nav in FF 3.6. See https://bugs.edge.launchpad.net/bookreader/+bug/544666
Michael Ang [Mon, 22 Mar 2010 23:16:50 +0000 (23:16 +0000)]
Fix broken scrollbar on FF 3.6. Refactor select disable code. See https://bugs.edge.launchpad.net/bookreader/+bug/536974
Michael Ang [Mon, 22 Mar 2010 22:47:21 +0000 (22:47 +0000)]
Default thumbnail width to fit 6 columns. Zoom in/out changes number of columns displayed.
Michael Ang [Thu, 18 Mar 2010 23:51:54 +0000 (23:51 +0000)]
Bind mouse handler of #BRpageview as intended instead of #BRcontainer. Fixes scrollbar stoppage on FF3.6. See https://bugs.edge.launchpad.net/bookreader/+bug/536974
Michael Ang [Thu, 18 Mar 2010 23:10:15 +0000 (23:10 +0000)]
Make up/down buttons smoothly scroll one vertical view in 1up and thumbnail modes.
Michael Ang [Thu, 18 Mar 2010 22:14:15 +0000 (22:14 +0000)]
Make scaling calculation a little cleaner
Michael Ang [Thu, 18 Mar 2010 22:07:02 +0000 (22:07 +0000)]
Merge branch 'master' into jp2levels
Michael Ang [Wed, 17 Mar 2010 21:46:27 +0000 (21:46 +0000)]
Bump version number for release 22
Michael Ang [Wed, 17 Mar 2010 01:00:04 +0000 (01:00 +0000)]
Refactor search tests and add test for NASA document.