Commit graph

58 commits

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