Commit graph

123 commits

Author SHA1 Message Date
wogong c641aeea58 add charset utf-8 in index.php, fix the display problem in Chinese 2013-05-04 10:46:10 +08:00
Sébastien Lucas 0241f6bc54 Handle a little better resource on CDN. 2013-04-26 15:03:08 +02:00
Sébastien Lucas cb0e50d3df remove some xhtml notation to prepare the move to HTML5 2013-04-24 15:43:26 +02:00
Sébastien Lucas 0d43027f75 Remove the image used in the OPDS catalog in the HTML catalog. Reported by Thomas Severinsen. 2013-04-24 15:38:39 +02:00
Sébastien Lucas e6560be28c Localize all alternate text. re #37 2013-04-21 16:22:26 +02:00
Sébastien Lucas 002cd1d6a2 Remove the loading image. Wasn't enabled for a while. 2013-04-21 15:56:22 +02:00
Sébastien Lucas f46b5cfaf6 Reindentation 2013-04-21 15:53:38 +02:00
Sébastien Lucas 059f05fac1 Fix some strings. re #37 2013-04-21 15:47:32 +02:00
Sébastien Lucas 6272cd1b01 Get rid of fancybox completely if not enabled. fixes #50
About.xml is still utf8 but looses it's BOM
2013-04-21 15:00:21 +02:00
Sébastien Lucas 73433a1c20 Some more localization. Again thanks to Tobias for the patch. re #37 2013-04-20 15:57:02 +02:00
Sébastien Lucas 56516960ce Clicking on home with multidatabase allow to stay in current database. re #40 2013-04-17 14:12:10 +02:00
Sébastien Lucas 89c353dd07 Add a config item to use local resources instead of CDN hosted resources. 2013-04-17 13:42:23 +02:00
Sébastien Lucas cd03b49954 Fix book search with multidatabase. re #40 2013-04-08 17:28:45 +02:00
Sébastien Lucas dd1a00f560 Fix link in the book permalink. fixes #54
Thanks to celta ;).
2013-04-02 22:02:08 +02:00
Sébastien Lucas c8025d2702 Fix opds feed url. fix #44 2013-03-08 09:43:37 +01:00
Sébastien Lucas 6a9646bf15 Enhance the search to have a different output depending on the current page. re #34 2013-03-08 09:40:25 +01:00
Sébastien Lucas a4002e28ae Upgrade to Jquery 1.9.1 and Fancybox 2.4.0 2013-03-07 11:09:19 +01:00
Sébastien Lucas 54e7300d75 Merge cadric fork 2013-03-06 08:02:03 +01:00
Sébastien Lucas 0f1e635b27 Use a cookie for the toolbar. re #41 2013-03-03 08:10:30 +01:00
Thomas Severinsen 1086e6a3a5 apply link to entire div for book information 2013-03-02 00:14:46 +01:00
Thomas Severinsen 7ce7b28e7c Updated css .download 2013-03-01 19:21:32 +01:00
Sébastien Lucas 42c3841157 Exit if we're redirecting to feed.php 2013-03-01 17:48:25 +01:00
Sébastien Lucas 6f0bae5ae4 move search & sort. That also fix w3c validation error. re #41 2013-03-01 17:45:55 +01:00
Thomas Severinsen 0599e6af9f Book popup class for index 2013-02-28 21:38:29 +01:00
Thomas Severinsen 5c7daaf21d Font updates 2013-02-28 17:44:05 +01:00
Sébastien Lucas ab84d1e721 Simplify e-Ink detection. 2013-02-28 16:31:59 +01:00
Sébastien Lucas 15e8372f04 Add an automatic redirect if we're coming from an OPDS reader.
For information the user agent of Moon+ Reader is :
Stanza iPhone/Aldiko/Moon+ Reader(Android)

That's really bad !
2013-02-28 16:26:15 +01:00
Thomas Severinsen 6a58a81b21 New theme, updated to HTML5
New style.css to reflect the update to html5
several changes in index.php as the html has been updated.
Had to delete icons support in base.php as they where conflicting with
the new theme.
2013-02-28 15:41:21 +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 0d1506a078 Fix other type of Kobo eReader (Glo, Mini) detection 2013-02-05 20:14:58 +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 140c88a63c Fix an alt string that existed in the lang file.
Add a missing translation (more to do about it).
2013-01-06 09:28:49 +01:00
Sébastien Lucas 6f17a4dc65 Add URL discover for the OPDS feed. 2013-01-06 09:22:47 +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 00d7e1da4a Add a config item to specify a custom icon. Based on a patch by Tyler J. Wagner. 2012-12-22 18:03:52 +01:00
Sébastien Lucas 8906430b13 Add a config item to avoid using Fancyapps.
For now the about box still use Fancyapps.

Reported by mcister and Northguy
2012-12-10 06:06:45 +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 da108b30a9 Upgrade fancybox to last version (2.1.3) 2012-12-03 16:30:35 +01:00
Sébastien Lucas ddb7442c4a Add an about box to the catalog. fix #20 2012-10-20 06:54:13 +02:00
Sébastien Lucas d28552a485 Bind left / right to previous / next page. 2012-10-11 21:43:37 +02:00
Sébastien Lucas 3c4f4851a6 Make HTML paging usable. 2012-10-11 21:14:06 +02:00
Sébastien Lucas e498e6325a Swith to the fancybox packed file (I should have done it a while ago). 2012-09-30 15:42:17 +02:00
Sébastien Lucas a19b59eb1e Update to Fancybox 2.1.0. Changed the way the max-width is handled. Should be better this way. 2012-09-30 15:38:09 +02:00
Sébastien Lucas 14b06905d5 Refactoring 2012-09-21 14:19:11 +02:00
Sébastien Lucas be4bcf3e9f Add basing pagin support in HTML catalog 2012-09-21 13:36:52 +02:00
Sébastien Lucas 654eddebc6 Avoid a warning (but no code using it)
--HG--
extra : rebase_source : e332c0dceb6fad0be7d4c282f0184a1427ae9961
2012-09-19 18:20:01 +02:00
Sébastien Lucas c823715c83 Fix a warning
--HG--
extra : rebase_source : 1a3a44f105d0fd18735cd42aab5f0284ec1937cc
2012-09-19 15:57:40 +02:00
Dan Greve 822177d7a0 Changed jQuery.js to use https instead of http. This is a security risk when using an SSL encrypted session. Chrome considers it as unsafe and shows a shield warning, and https is crossed out 2012-09-19 22:23:19 -04:00
Sébastien Lucas 211f90e2f3 Fix yet another problem with HTML special chars. fix #11 2012-09-03 16:01:46 +02:00
Sébastien Lucas 69f0be3e78 Change index to be Ansi again. Easier for now 2012-09-03 15:57:35 +02:00
Northguy f2b7b7ff9f Added Eink test for Sony PRS-T1 E-reader
Sony PRS-T1 is not recognised as eInk. Added HTTP_USER_AGENT recognition.

   HTTP_USER_AGENT = "Mozilla/5.0 (Linux; U; en-us; EBRD1101; EXT) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
2012-09-02 01:54:22 +03:00
Sébastien Lucas 8f2eaa141d Add a group on the cover fancybox (left and right navigation) 2012-07-21 17:50:27 +02:00
Sébastien Lucas 3ebc6ef5eb Now that tha Kobo can handle properly Fancybox :
* Add a detection for e-Ink browser
 * Remove effect for e-Ink browser (fewer refresh needed)
 * Handle the margin to allow closing of Fancyboxes
2012-07-21 15:23:49 +02:00
Sébastien Lucas 76f2fa7488 Temporary disable "loading" message 2012-07-02 20:52:30 +02:00
Sébastien Lucas 3e393c3d10 Simplify menu 2012-07-01 21:17:19 +02:00
Sébastien Lucas f5b8918ee0 Fix HTML catalog when more than 2 prefered format are available 2012-07-01 14:59:18 +02:00
Sébastien Lucas 2d83cd6e78 Update HTML links to the new methods 2012-06-26 14:45:09 +02:00
Sébastien Lucas 75e4362044 Better handling of missing covers 2012-06-24 08:51:49 +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 cfcafdf7e4 Add sort direction 2012-06-20 22:33:57 +02:00
Sébastien Lucas 1935e05c9c Add new sort option 2012-06-20 22:23:23 +02:00
Sébastien Lucas 3e330a40b5 Add some sorting 2012-06-20 22:01:19 +02:00
Sébastien Lucas 9cfbed82a3 Some icons for the menu 2012-06-18 20:59:45 +02:00
Sébastien Lucas 875a776dc1 Hopefully full handling of & in everything... 2012-06-18 14:12:12 +02:00
Sébastien Lucas f7b72ec441 * Fixed handling of & in title / tags / authors / etc
* Fixed menu
2012-06-17 20:49:26 +02:00
Sébastien Lucas d5690ea68f Better search UI (IMHO) 2012-06-13 21:21:13 +02:00
Sébastien Lucas 8fb42bf534 Search box is now under the title 2012-06-13 17:28:54 +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 d8dad98f01 small css refactoring. Not really happy about it 2012-06-12 22:21:46 +02:00
Sébastien Lucas 530155b73a More localization in HTML 2012-06-11 21:57:39 +02:00
Sébastien Lucas f332f072fb Forgot some rename (thanks to gaspine) 2012-06-08 21:04:23 +02:00
Sébastien Lucas a8f888a13b Ad script / images / css versionning to allow aggressive cache 2012-06-02 09:10:54 +02:00
Sébastien Lucas 6fa0031b9f Add HTML pages. Not finished. see #3 2012-06-02 08:48:07 +02:00