Commit graph

437 commits

Author SHA1 Message Date
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 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
Sébastien Lucas b9154773cb Étiquette 0.5.0 ajoutée à la révision 07e901e7e353 2013-06-05 20:39:15 +02:00
Sébastien Lucas 129647cf40 For now remove the option for mail to Kindle. re #53
Will reenabled later.
2013-06-04 21:22:45 +02:00
Sébastien Lucas ec97009a6b Prepare release. 2013-06-04 21:17:46 +02:00
Sébastien Lucas 3cdab07670 Update some french strings. re #66 2013-06-04 21:17:00 +02:00
Sébastien Lucas e44d242af3 localize some string. re #25 2013-06-04 21:08:11 +02:00
Sébastien Lucas 28314fe83d refine a little the style detection. re #25 2013-06-04 20:56:37 +02:00
Sébastien Lucas b0a8b6439a Remove again some smiley. fix #71 2013-06-04 15:25:14 +02:00
Sébastien Lucas c74b1b9396 Remove the smiley and some "smart ass" sentences in strings re #71 2013-06-04 15:23:11 +02:00
Sébastien Lucas 86eb135373 Merge pull request #69 from bitjungle/patch-1
Fix the language string
2013-06-03 23:37:20 -07:00
Rune Mathisen 9b835cbaac Removed un-translated strings 2013-06-01 13:18:12 +03:00
Sébastien Lucas faaf4ca43c almost finish CSS change. re #25 2013-05-29 21:30:37 +02:00