Commit Graph

430 Commits

Author SHA1 Message Date
Kovid Goyal 17a5977e4f Use the HTML 5 appcache to make the browser e-book viewer fully offline-able 2017-04-06 19:55:51 +05:30
Kovid Goyal 00147c8e6c Port the autoreload script to RapydScript 2017-04-06 18:19:57 +05:30
Kovid Goyal 5db33faeb8 Encode local state using # instead of ? in URLS
Needed for appcache (appcache caches URLs with different ? query
parameters separately).

Also probably semantically more correct, since
the query data represents local state.
2017-04-06 11:47:00 +05:30
Kovid Goyal 84f7464be5 Implement manual position sync 2017-04-04 20:03:40 +05:30
Kovid Goyal 66e4cd3779 Update current_metadata after book is loaded 2017-04-04 09:34:21 +05:30
Kovid Goyal a4d5792e95 Implement automatic syncing to last read position for the most recently read books
Note that position syncing only works with user accounts (anonymous
users do not have syncing)
2017-04-04 09:21:21 +05:30
Kovid Goyal 7e0aecf855 Send last read position to server 2017-03-21 14:07:39 +05:30
Kovid Goyal e79cb5ba79 Reset a couple more globals on flow change 2017-02-23 23:43:57 +05:30
Kovid Goyal 8867ca68fc Port fix for 1667357 to the new viewer code 2017-02-23 23:34:55 +05:30
Kovid Goyal 90d587905d typo 2017-02-23 23:34:32 +05:30
Kovid Goyal 2805e0b84b Reset paged mode globals when loading new flow 2017-02-23 23:26:22 +05:30
Kovid Goyal 658865e5ed Fix next page scrolling for pseudo-full screen layouts 2017-02-23 23:17:53 +05:30
Kovid Goyal 352a6d9238 A randomly generated device id that persists in local storage 2017-02-23 00:40:32 +05:30
Kovid Goyal 37f604c0a1 Only initialize the iframe on demand 2017-02-22 19:53:44 +05:30
Kovid Goyal 7d1773ab73 Don't reset the iframe when loading individual flows
This improves performance and also allows for message passing between
individual flows in the book
2017-02-22 10:05:26 +05:30
Kovid Goyal c23ce30ac4 Finish the local books panel 2017-02-22 08:54:55 +05:30
Kovid Goyal 01f0376ce8 A spot of refactoring to make the cover grid re-useable for the local books view 2017-02-21 20:08:55 +05:30
Kovid Goyal adcf12042a Wire up browse local books button 2017-02-21 17:21:10 +05:30
Kovid Goyal 3bc756bfda Start work on local books view 2017-02-21 14:52:31 +05:30
Kovid Goyal 82fed916d0 ... 2017-02-21 14:52:15 +05:30
Kovid Goyal 3634a76107 Ensure overlay is hidden when opening book 2017-02-18 15:28:06 +05:30
Kovid Goyal 52f04cb714 Use buttons for the library chooser on the home page 2017-02-18 10:24:26 +05:30
Kovid Goyal 6b69cb960e Make continue reading a little prettier 2017-02-17 21:57:41 +05:30
Kovid Goyal e59891a60f Implement Continue reading section on home page 2017-02-17 21:38:16 +05:30
Kovid Goyal 73b4ff84b7 Start work on currently reading section of home page 2017-02-17 19:32:52 +05:30
Kovid Goyal c80ff1d42a Get rid of the last remaining use of book_list.get_boss 2017-02-15 20:31:19 +05:30
Kovid Goyal a5f1427ca3 Refactor get_boss().read_ui to get_read_ui() 2017-02-15 20:22:19 +05:30
Kovid Goyal 65ab46c72c Support direct editing of bookpos in the URL 2017-02-15 20:17:33 +05:30
Kovid Goyal 5b03d668ec Start work on porting book reader 2017-02-15 18:04:01 +05:30
Kovid Goyal d0e94fdb12 Indicate when showing only books from a search result 2017-02-15 17:00:02 +05:30
Kovid Goyal 1e786f7a08 Show current library name in title bar 2017-02-15 16:31:39 +05:30
Kovid Goyal 2d33efb299 Fix adding to search broken accidentally during port 2017-02-15 16:28:24 +05:30
Kovid Goyal ee3f47fdd2 Wire up the search panel 2017-02-15 15:03:22 +05:30
Kovid Goyal 9f83584025 Port the TB preferences panel 2017-02-15 14:04:21 +05:30
Kovid Goyal ca8fed1bd4 Start work on porting the Tag Browser panel 2017-02-15 10:27:33 +05:30
Kovid Goyal 3942b56390 Implement random book 2017-02-15 08:30:46 +05:30
Kovid Goyal f62f27f803 Make the library id explicit when going back 2017-02-15 08:30:46 +05:30
Kovid Goyal d84af98323 Fix close button on bood details not returning to book list after navigating directly to book details 2017-02-15 08:30:46 +05:30
Kovid Goyal 342a63244f ... 2017-02-15 08:30:46 +05:30
Kovid Goyal b294583b1f Wire up the book details panel 2017-02-15 08:30:46 +05:30
Kovid Goyal a4c2f18e23 Start porting of book details panel 2017-02-15 08:30:46 +05:30
Kovid Goyal 9c156f9ba2 Use a LRU cache to avoid extra HTTP requests when destroying/re-building the books list page 2017-02-15 08:30:46 +05:30
Kovid Goyal 4875060c50 Make the top bar API id free 2017-02-15 08:30:46 +05:30
Kovid Goyal ff12d0be17 Fix top bar on sort panel 2017-02-15 08:30:46 +05:30
Kovid Goyal 6e6cadf996 Re-implement sorting of the books list
Now the sort is made part of the URL
2017-02-15 08:30:46 +05:30
Kovid Goyal 13ddba374d Use icon instead of icon_name
More natural
2017-02-15 08:30:46 +05:30
Kovid Goyal f0b605595f Port the item list to use the new architecture 2017-02-15 08:30:46 +05:30
Kovid Goyal 24e03df152 Forgot to port a couple of functions for the top bar 2017-02-15 08:30:46 +05:30
Kovid Goyal af72200eca Remove unused code 2017-02-15 08:30:46 +05:30
Kovid Goyal 145b39859e Use a home icon instead of close for the book list 2017-02-15 08:30:46 +05:30