Commit graph

66 commits

Author SHA1 Message Date
Sébastien Lucas a78863e8a0 Avoid caching the result of ajax calls. IE like to cache them a lot. fix #131 2014-01-06 21:39:57 +01:00
Sébastien Lucas 9a15d0e1a4 Integrate a little better the typeahead search in the normal search page. Heavily based on At-Libitum work. re #34 2013-12-22 18:40:03 +01:00
Sébastien Lucas c71f443356 The ignored categories is now in the customize UI page. re #34
It's far from complete but it works. I'll have to check the strings consistancy.
2013-12-17 22:45:51 +01:00
Sébastien Lucas 1a934f9bce Forgot a semicolumn. re #127 2013-12-14 11:43:56 +01:00
Sébastien Lucas a1cb83eea9 Refactor the detection of the case when no database has been selected. re #127 2013-12-14 11:30:42 +01:00
Sébastien Lucas dd191cf97d Correctly filter books with no tags. re #109 2013-12-13 20:53:40 +01:00
Sébastien Lucas 509b58b456 For now hide the jshint warning. re #125 2013-12-12 22:33:43 +01:00
Sébastien Lucas 0130e33c82 Try to fix the problem in tag filtering reported by Tyler. re #125 2013-12-12 21:52:20 +01:00
Sébastien Lucas e9620c977a Fix a javascript error on Webkit browsers. fix #122 2013-12-06 18:39:10 +01:00
Sébastien Lucas 1051af4a61 COPS now also work if Pushstate / ReplaceState is not available (IE9). Thanks to At Libitum. should fix #117 2013-11-25 21:18:38 +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
Sébastien Lucas 6bff2996ae Avoid JSHint error. re #34 2013-10-15 21:58:34 +02:00
Sébastien Lucas a836be6507 Cleanup. re #34 2013-10-15 19:07:46 +02:00
Sébastien Lucas e2838ee3d9 Ad the new autocomplete search. re #34 2013-10-15 19:07:12 +02:00
Sébastien Lucas 4b2785e2b0 Remove unneeded variables. 2013-10-15 17:08:57 +02:00
Sébastien Lucas cf2547b2f8 Add more jshint parameters. re #96 2013-10-15 16:58:25 +02:00
Sébastien Lucas 8e5d716a99 Reorganize functions to avoid undef functions. 2013-10-15 16:56:41 +02:00
Sébastien Lucas 3343a65335 Minor modifications 2013-10-15 16:07:41 +02:00
Sébastien Lucas a8e63d1a8a Prepare to use JSHint. re #96 2013-10-14 10:04:16 +02:00
Sébastien Lucas 0f63050f70 Add a new template for the suggestion item. re #34 2013-10-13 22:20:08 +02:00
Sébastien Lucas e3bf13ab47 Fix some warnings reported by JSHint. 2013-10-02 16:35:20 +02:00
Sébastien Lucas 6c9c51a706 Fix focus when you click on cog. re #90 2013-09-11 10:26:05 +02:00
Sébastien Lucas 30b41a6cf4 Set focus on the search box. fix #90 2013-09-06 20:37:05 +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 9ff4bd2476 Update some of the javascripts methods to use a PHP name to ease server side rendering. 2013-08-22 15:12:04 +02:00
Sébastien Lucas 4aa3529131 Properly close the lightbox when clicking on a link in it.
Fix a bug reported by le_ on MobileRead (http://www.mobileread.com/forums/showpost.php?p=2580757&postcount=525)
2013-07-29 08:23:33 +02:00
Sébastien Lucas d35becb7fe Use localized string. re #53 2013-07-22 21:35:21 +02:00
Sébastien Lucas fc8c510ae4 Add a waiting icon while the mail is sent. re #53 2013-07-22 21:27:32 +02:00
Sébastien Lucas 3de84ecf7e Set debug to false. 2013-07-16 21:57:14 +02:00
Sébastien Lucas fb51523b33 Handle links better. re #73 2013-07-16 21:56:55 +02:00
Sébastien Lucas 5b90f76e2c Fix the customize page 2013-07-11 17:43:18 +02:00
Sébastien Lucas 5b6918488c Add a button to clear all filters. re #46 2013-07-08 18:02:37 +02:00
Sébastien Lucas c56cecb382 Modify the cookies to expires far away. 2013-07-03 23:57:53 +02:00
Sébastien Lucas 35d6a5ab4e Add a global parameter to enable tag filtering with books. re #46
Also fix many problem with util.js
2013-07-03 23:36:38 +02:00
Sébastien Lucas 4cd43297f1 Fix header. 2013-07-02 14:51:43 +02:00
Sébastien Lucas b9047be3ce More JSHint fixes. 2013-07-02 14:37:37 +02:00
Sébastien Lucas 1eb4217c01 Fix some JSHint warnings. 2013-07-02 14:15:10 +02:00
Sébastien Lucas 08445d0479 little cleanup of the filter code. lots more to do. re #46 2013-07-01 22:26:32 +02:00
Sébastien Lucas dc30facf3e ugly way update to filters to update the list of tags when you start filtering. re #46
The tags are also correcly sorted.

TODO : update the click event when adding new li.
2013-07-01 18:14:37 +02:00
Sébastien Lucas 452bde9cb5 Add filter in the HTML catalog. need UI work. re #46 2013-06-28 02:07:32 +02:00
Sébastien Lucas 428550f27c Move customize inside the current template. re #73 2013-06-27 08:27:29 +02:00
Sébastien Lucas 8833ff06ea Forgot one file. re #73 2013-06-25 08:53:38 +02:00
Sébastien Lucas e833172e99 Add emailing. re #53 2013-06-21 21:31:49 +02:00
Sébastien Lucas 30d3730464 Fix version string 2013-06-21 08:31:01 +02:00
Sébastien Lucas b2d670a05d Also use the cache event if not using back with browser. re #73 2013-06-20 21:21:43 +02:00
Sébastien Lucas 44c3a10487 Due to a bug in Firefox which forbid state of size greater that 320k. The cache is not outside. re #73 2013-06-20 21:08:50 +02:00
Sébastien Lucas cdde134a65 Also use global options. re #73 2013-06-20 20:31:57 +02:00
Sébastien Lucas 3144c528e5 Handle better if pushState is available or not. re #73 2013-06-20 14:43:31 +02:00
Sébastien Lucas 1c8ddb44d4 Many things in a single commit. Bad :( !. re #73
* Add partial update. No improvement for now
 * Add some logging to console if DEBUG is enabled.
 * Change the way the sorting box is enabled to help with partial update.
2013-06-20 14:34:10 +02:00