Commit graph

74 commits

Author SHA1 Message Date
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