Commit graph

129 commits

Author SHA1 Message Date
Sébastien Lucas 9d117220c4 Handle better when server side rendering is enabled. re #82 2013-09-05 08:41:40 +02:00
Sébastien Lucas c96a0bfbcf Add the version in the about box. fix #86 2013-08-27 10:02:56 +02:00
Sébastien Lucas 13b16163d3 Add several ways to handle thumbnails. re #5 2013-08-26 21:15:54 +02:00
Sébastien Lucas 7e5841e265 Prepare for serverside rendering. 2013-08-20 15:50:03 +02:00
Sébastien Lucas 784a39e957 Add again the series Index in the book list. Reported by fatzgenfatz 2013-07-29 14:19:20 +02:00
Sébastien Lucas c84cec9516 Fix language if it is not found in the i18n. Reported by le_ 2013-07-29 10:10:54 +02:00
Sébastien Lucas 3ca1d1d3df Cleanly fix the problems with line feed 2013-07-22 14:29:32 +02:00
Sébastien Lucas f5b9492e06 Remove all new lines after the end of PHP files. Fix a bug causing corrupt images with Wheezy. fix #81 2013-07-20 13:35:51 +02:00
Sébastien Lucas f408a71f80 Properly test if the file requested (cover or book) exists and send a 404 if it doesn't. Should fix #70 2013-07-07 10:15:49 +02:00
Sébastien Lucas e840d4cf70 Change the way images are shown. re #77
Jpeg quality is lowered but resolution is two times higher.
The image is then reduced with CSS.
The default value is changed.
2013-07-04 22:37:27 +02:00
Sébastien Lucas d3ce31c6be Move from Xhtml to Html. re #73 2013-06-25 08:40:08 +02:00
Sébastien Lucas e833172e99 Add emailing. re #53 2013-06-21 21:31:49 +02:00
Sébastien Lucas aa376d63b2 simplify again. re #73 2013-06-17 22:30:09 +02:00
Sébastien Lucas 2029ab7d01 Simplify a little the JSON, a little more to do. re # 73 2013-06-17 22:23:58 +02:00
Sébastien Lucas 23267e37fa Simplify book detail. re #73 2013-06-17 21:41:59 +02:00
Sébastien Lucas 07a891377d Almost finish everything for bookdetail. re #73
Todo : Handle max-size correctly (only if inside a fancybox)
2013-06-15 18:54:07 +02:00
Sébastien Lucas a0cb911ce9 Bookdetail is handled with ajax. Template is not complete though. re #73
Fixes some small bugs with the other template.
2013-06-15 16:09:37 +02:00
Sébastien Lucas a509e3389d The new interface is completely in Ajax. Feel a lot faster. re #73
Uses pushState / popState to keep browser history correct and allow using back in the browser.
2013-06-15 08:03:22 +02:00
Sébastien Lucas faaf4ca43c almost finish CSS change. re #25 2013-05-29 21:30:37 +02:00
Sébastien Lucas c6e75b7258 Add the number of book in each databases (multidatabase). 2013-05-23 18:55:45 +02:00
ipuiu cdc2114bd8 Added localization for languages. 2013-05-21 21:39:25 +03:00
Sébastien Lucas 4bbb2fab8c Prepare a feature to send the book by email (Send to Kindle). re #53 2013-05-15 19:32:18 +02:00
Sébastien Lucas 55d37a5fe2 Move all resources inside a "resources" directory (cleaner).
--HG--
rename : LICENSE_php-epub-meta => resources/php-epub-meta/LICENSE_php-epub-meta
rename : epub.php => resources/php-epub-meta/epub.php
rename : tbszip.php => resources/php-epub-meta/tbszip.php
2013-05-03 13:36:23 +02:00
Sébastien Lucas 33cad7ad98 Fix search when no database is selected. re #40 2013-04-29 16:46:52 +02:00
Sébastien Lucas 560bb69942 Modify some locale handling to better handle plurals. Based on a patch by Tobias. re #37 2013-04-20 15:41:32 +02:00
Sébastien Lucas 383a33b597 Fix book detail with multi database. re #40 2013-04-04 14:27:27 +02:00
Sébastien Lucas f5d86b37e5 Refactor the use of fetch.php to prepare multi database. re #40 2013-04-03 20:59:53 +02:00
Sébastien Lucas d86d544074 Refactor the use of Calibre path to prepare multi database. re #40 2013-04-03 15:00:09 +02:00
Sébastien Lucas 2eecba8f83 To avoid all problems with php-epub-meta working on windows and some
version of Linux. Remove the directory so that include are simple.

--HG--
rename : php-epub-meta/LICENSE => LICENSE_php-epub-meta
rename : php-epub-meta/epub.php => epub.php
rename : php-epub-meta/tbszip.php => tbszip.php
2013-03-26 21:12:17 +01:00
Sébastien Lucas f9c6e8277b getFilterString should be static. Reported by Goner 2013-03-26 20:58:29 +01:00
Sébastien Lucas 6d94c2d4c1 Fix a warning in case the book has no tag or author 2013-03-26 20:54:05 +01:00
Sébastien Lucas ae37c13711 Should fix loading of tbszip on Linux. Don't know why it works on Windows without it. 2013-03-19 21:44:30 +01:00
Sébastien Lucas 02c25705cf Finish .kepub.epub download. fix #39 2013-02-26 17:33:18 +01:00
Sébastien Lucas 2c26ed47e9 Fix null publishing date ... hopefully ok ! 2013-02-21 21:18:26 +01:00
Sébastien Lucas 62a507de76 Add better detection of HTML content in book summary. 2013-02-21 20:59:19 +01:00
Tyler J. Wagner 46c0de5c66 This adds the function getPubDate() to book.php, which
returns either the publication year, or "", if the value is null or
"Undefined". By "Undefined", I mean the value Calibre sets as pubdate when
you choose "Undefined" in the GUI. which is 1 Jan 0100, or -58979926800.
2013-02-20 21:06:37 +01:00
Sébastien Lucas 977e669805 Hopefully fix all the remaining case where the book summary is full of HTML crap.
Should fix all the OPDS page not working with Mantano and FBReaderJ.
2013-02-19 21:50:38 +01:00
Sébastien Lucas 4bce0d3349 Enable kepub.epub download. re #39 2013-02-05 21:08:28 +01:00
Sébastien Lucas d7f6e616c7 Update cover with metadata update. re #31 2013-01-31 21:26:31 +01:00
Sébastien Lucas d1ce53087f If we update metadata then add the calibre uuid. 2013-01-31 14:44:48 +01:00
Sébastien Lucas 6c5aed67b7 Change the name of the epub downloaded to Author - Title. 2013-01-31 14:30:04 +01:00
Tyler J. Wagner cb1d622220 Fix book default sort. 2013-01-25 20:27:38 +01:00
Sébastien Lucas 11645b2155 Small fixes to facets handling. re #21
* Fix ths duplicate of URL parameter
  * Fix when parameter is empty
2013-01-20 08:30:41 +01:00
Sébastien Lucas f4675dec52 Add Custom columns through config. Only tested in HTML catalog for now
re #32
2013-01-19 07:08:47 +01:00
Sébastien Lucas 5d9c54eee6 Add custom filter of tags in the OPDS feed using facets.
Need more testing but should be ok.

re #21
2013-01-11 15:16:15 +01:00
Sébastien Lucas 393f38a281 Fix some plural strings and a missing title. Reported by David Ciscar Presas. 2013-01-05 14:33:12 +01:00
Sébastien Lucas 0ba361e434 Add a permalink to book (the little linkish thingy)
fix the image zoom in the book detail
Add book title to the book detail
clean the code a little (more to do)
2013-01-03 21:40:43 +01:00
Sébastien Lucas 60df6f1c18 Allow metadata updating for epub. Disabled by default for now.
fix #18
2013-01-02 21:50:44 +01:00
Sébastien Lucas ceaae73e19 Double check if the cover is really there.
I had some problems with path having case difference on Linux.
2012-12-23 13:56:01 +01:00
Sébastien Lucas 38b61c89da Better handling of content type for book. Reported by Morg. 2012-12-23 13:42:53 +01:00
Sébastien Lucas d9280025e7 Code simplification. 2012-12-04 15:36:10 +01:00
Sébastien Lucas edb11854af Add ratings everywhere 2012-12-04 13:13:58 +01:00
Sébastien Lucas 8838f15034 Add ratings only in recent addition for now. 2012-12-04 10:58:39 +01:00
Sébastien Lucas eb637ff5f1 Add language in the book detail. 2012-12-03 16:05:13 +01:00
Sébastien Lucas e1972e64bd Yet another URL protection. should fix #16 2012-09-30 14:50:44 +02:00
Sébastien Lucas da7bb34a2c Removed unused variables 2012-09-29 17:58:12 +02:00
Sébastien Lucas 82d535d02c Continue the refactoring 2012-09-20 21:15:03 +02:00
Sébastien Lucas 5ddfef59ad Simplify query handling (refactoring)
--HG--
extra : rebase_source : 73fdae35a6a635d34f2a5a6016f5832705381681
2012-09-19 18:19:41 +02:00
Sébastien Lucas 4c9e8c67d0 First attempt to add paging in the OPDS side.
Need more polishing before being used everywhere.

--HG--
extra : rebase_source : 0fb3a4b12cf83d4b450a1fca81f82addd8d58c14
2012-09-18 15:39:22 +02:00
Sébastien Lucas 4e87bf7804 Fix the bad regex 2012-07-21 14:31:35 +02:00
Sébastien Lucas 2d430bd011 Fix hr (in addition to br) in comment 2012-07-17 10:02:36 +02:00
Sébastien Lucas 2d83cd6e78 Update HTML links to the new methods 2012-06-26 14:45:09 +02:00
Sébastien Lucas 4473037ae8 Move link handling in a seperate class 2012-06-26 14:27:06 +02:00
Sébastien Lucas 06ce256e55 Change the way format are handled in HTML catalog.
More work remaining to make it clean
2012-06-24 08:16:47 +02:00
Sébastien Lucas 9a8e9bacae Better handling of book format inside Calibre.
Not tested enough
2012-06-23 22:11:13 +02:00
Sébastien Lucas b2f34f428f fix HTML catalog (oops) 2012-06-23 21:38:43 +02:00
Sébastien Lucas 3c7d0f7308 Use only the table "data" to detect books (no filesystem use) 2012-06-23 21:36:55 +02:00
Sébastien Lucas 06430d7563 Some refactoring
Better handling of cover
2012-06-23 21:14:54 +02:00
Sébastien Lucas 689c8cd610 Change id for book to use uuid (avoid name clash with Stanza)
Thanks to ilovejedd for reporting it :
http://www.mobileread.com/forums/showpost.php?p=2119639&postcount=46
2012-06-20 17:51:53 +02:00
Sébastien Lucas 269e33447c Yet another & usage fix 2012-06-18 17:02:05 +02:00
Sébastien Lucas 8cec112721 * Minor header change
* Fixed the comment for HTML catalog
2012-06-12 22:52:39 +02:00
Sébastien Lucas fccbbd8334 Add tags in book detail 2012-06-11 21:30:25 +02:00
Sébastien Lucas e9a01c57ce Should be safer #2 2012-05-30 15:04:23 +02:00
Sébastien Lucas cd6bf1c1cf Changed the way the comment is handled :
* If the comment is HTML just replace <br> -> </br />
  * Else adapt the comment to html

Should fix #2
2012-05-30 14:41:06 +02:00
Sébastien Lucas e30513b0b3 Add localization support (borrowed from Calibre2OPDS) 2012-05-29 20:10:41 +02:00
Sébastien Lucas ec2bf99b90 Add v0.0.4 2012-05-28 07:07:49 +02:00
Sébastien Lucas 2308af6033 Add v0.0.3 2012-05-28 07:06:12 +02:00
Sébastien Lucas b25ed5c052 Add v0.0.2 2012-05-28 07:05:05 +02:00
Sébastien Lucas e47631b1d8 Add v0.0.1 2012-05-28 07:01:33 +02:00