Commit graph

448 commits

Author SHA1 Message Date
Sébastien Lucas bcef6c5b9d Fix the search size to avoid losing the sort order. re #73 2013-06-25 17:44:14 +02:00
Sébastien Lucas 0d50ccc6e5 Upgrade jquery to 1.10.1 2013-06-25 17:43:44 +02:00
Sébastien Lucas 2e1c13e3bc Update README 2013-06-25 11:54:06 +02:00
Sébastien Lucas eac4944429 Merge again 2013-06-25 11:35:30 +02:00
Sébastien Lucas 8314ae1623 Update version 2013-06-25 11:16:07 +02:00
Sébastien Lucas 8833ff06ea Forgot one file. re #73 2013-06-25 08:53:38 +02:00
Sébastien Lucas e547899584 Migrate from Fancybox to Magnific Popup. re #73
--HG--
rename : about.xml => about.html
2013-06-25 08:53:04 +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 6b8846e02b Fix search. re #73 2013-06-21 08:38:02 +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 d1fca67e5b Modify htaccess to enable expires by type. re #73 2013-06-20 20:38:29 +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
Sébastien Lucas 51c9c416d4 Add a function to test if a variable is undefined. 2013-06-20 11:11:01 +02:00
Sébastien Lucas d4af721516 Send some config item to the client. re #73 2013-06-19 21:37:47 +02:00
Sébastien Lucas 7ec2090558 Fix error in series link. Reported by Jill Messer. fix #74 2013-06-19 11:21:49 +02:00
Sébastien Lucas 4410a5cc82 Handle search with Ajax. re #73 2013-06-18 22:24:35 +02:00
Sébastien Lucas ad286e491e Fix series sorting. re #73 2013-06-18 20:44:00 +02:00
Sébastien Lucas 065a7dac8e Move jquery-cookie to resources. re #73
--HG--
rename : js/jquery.cookies.js => resources/jquery-cookie/jquery.cookies.js
2013-06-18 12:33:33 +02:00
Sébastien Lucas 0381b56272 Upgrade jquery cookie. re #73 2013-06-18 12:31:02 +02:00
Sébastien Lucas d656f4692c Move jquery to resources. re #73
--HG--
rename : js/jquery-1.9.1.min.js => resources/jQuery/jquery-1.9.1.min.js
2013-06-18 12:26:08 +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 8de878fa94 Save new things in constants. re #73 2013-06-17 21:21:52 +02:00
Sébastien Lucas 074a2b8a0f See last commit. re #73 2013-06-16 22:44:49 +02:00
Sébastien Lucas 7640ae31f7 Everything is in the template. re #73 2013-06-16 22:14:21 +02:00
Sébastien Lucas 10ed3f7944 Almost everything is in javascript now ... index.php could be an HTML page. re #73 2013-06-16 22:01:13 +02:00
Sébastien Lucas fccb7a9820 little optimization : i18n is only transfered one time. re #73 2013-06-16 15:21:21 +02:00
Sébastien Lucas b49432e3e1 Save current JSON data instead of generated HTML. Reenabled tool click. re #73 2013-06-16 15:08:47 +02:00
Sébastien Lucas 6ee817710e Readd the sort menu. re #73 2013-06-16 14:48:57 +02:00
Sébastien Lucas 77b155ac20 Cosmetics 2013-06-16 14:47:11 +02:00
Sébastien Lucas bf54e6a7b9 Template are now cleanly split. Properly handle synchronization with jquery. re #73
--HG--
rename : templates/default/frontpage.html => templates/default/header.html
rename : templates/default/frontpage.html => templates/default/main.html
2013-06-16 08:46:41 +02:00
Sébastien Lucas 5e1cae2fd8 Ugly way of handling book detail without fancybox. re #73 2013-06-16 08:05:07 +02:00
Sébastien Lucas c8595a567b Factorize a little all fancybox stuff. re #73 2013-06-16 07:50:14 +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 b7ab8bd9d9 Move most of JSON code to getJSON. re #73 2013-06-15 08:43:38 +02:00
Sébastien Lucas e9065b9c29 Little code refactoring and handle the case of going back to the first page visited. re #73 2013-06-15 08:36:45 +02:00
Sébastien Lucas c96d629ad0 Move most of javascript in util.js. Enabled paging with arrow keys. Refactor a little. re #73 2013-06-15 08:27:33 +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 c7c6524cce Add a template almost similar to the current UI. re #73
TODO :
 * Sort box is not here anymore
 * Has to be tested with and without Fancybox
 * Paging with left and right arrow is not working anymore
 * Probably many other things
2013-06-15 07:51:01 +02:00
Sébastien Lucas 489eb781bc Add doT.js templating engine. re #73 2013-06-15 07:46:34 +02:00
Sébastien Lucas 33383dce48 Remove debug code. re #72 2013-06-11 22:00:05 +02:00
Sébastien Lucas c5d3356f74 If it's a Kobo browser then use radio button instead of combobox. fix #72 2013-06-11 21:58:21 +02:00
Sébastien Lucas ba0268fdcd Restore the new config item for mail. re #53 2013-06-06 09:07:52 +02:00