Commit graph

94 commits

Author SHA1 Message Date
Sébastien Lucas 56647a44eb Change the link name for ebook download to be the book format (instead of download). Proposed by At Libitum. fix #119 2013-11-30 15:36:49 +01:00
Sébastien Lucas 26f5b36563 Don't work on php 5.3. 2013-11-22 15:42:50 +01:00
Sébastien Lucas 76d739b1f6 Fix some warnings. 2013-11-22 15:33:22 +01:00
Sébastien Lucas 185c59ce15 Fix some warnings and errors caused by the previous commit. re #34 2013-11-22 15:22:03 +01:00
Sébastien Lucas 58c48a71a8 Handle better search of multiple databases at once. Optimize a little typeahead search. re #34 2013-11-22 14:41:56 +01:00
At-Libitum 8db9489e07 Added support for optional flat-list display of "All Books"
Files modified:

config_default.php

base.php

changed class PageAllBooks to test for configuration option "cops_titles_split_first_letter".
Used getCurrentOption to prepare for making Split Letter options configurable in web GUI

book.php

added SQL_BOOKS_ALL query to have a flat-list datasource not grouped by first letter.
added const SQL_BOOKS_ALL to class Book
added public static function "getBooks", called from Base::PageAllBooks to retrieve the flat-list
2013-11-08 17:53:11 +01:00
Sébastien Lucas fa5ec6cb58 Fix the ids in OPDS feed to produce a valid feed. fix #104 2013-10-25 07:59:27 +02:00
Sébastien Lucas 1e51f11c6d Send the header only once .... not proud about it. re #34 2013-10-13 22:00:35 +02:00
Sébastien Lucas 3e98615ea9 Cleanly handle suggestion title. re #34 2013-10-06 18:58:16 +02:00
Sébastien Lucas 877940a651 Clean the new search. re #34 2013-09-28 21:00:25 +02:00
Sébastien Lucas b39cbeebc8 Prepare new search. re #34 2013-09-28 20:58:50 +02:00
Sébastien Lucas 3943205b58 Change the search to look into tags and series (in addition to book title and author).
re #34, #47, #78
2013-09-27 17:13:31 +02:00
Sébastien Lucas 18decb3cc1 Localize a missing string (cog alternate text). re #37 2013-09-17 16:30:19 +02:00
Sébastien Lucas bf0bb3170d Handle when $config['cops_recentbooks_limit'] is <= 0. fix #94 2013-09-13 09:54:19 +02:00
Sébastien Lucas 5a87d62ee8 Fix JS problem on IE < 9.0. fix #89 2013-09-06 09:18:41 +02:00
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