Commit graph

730 commits

Author SHA1 Message Date
Thibaut
8ec7c85dd4 Fix race condition on offline page 2015-01-13 20:38:00 -05:00
Thibaut
f0c1ec73b7 Tweak README 2015-01-13 20:29:19 -05:00
Thibaut
e21ac0589c Wrap app.isMobile in try/catch 2015-01-13 20:28:02 -05:00
Thibaut
d570f7866b Decrease nav links padding on small screens 2015-01-11 22:43:39 -05:00
Thibaut
3dd07d2664 Tweak offline page Q&A 2015-01-11 22:43:39 -05:00
Thibaut
16486ff467 Force page reload when loading offline page in single doc mode 2015-01-11 18:44:00 -05:00
Thibaut
6a82830ab4 Add setting for updating offline docs automatically 2015-01-11 18:33:01 -05:00
Thibaut
ebd00f5a72 Check for offline doc updates automatically 2015-01-11 17:52:50 -05:00
Thibaut
71f3387eeb Add link to offline page 2015-01-11 17:25:12 -05:00
Thibaut
95f81055ad Add links to install/update/uninstall all docs 2015-01-10 18:47:40 -05:00
Thibaut
aee7ab1fa7 Update gem dependencies 2015-01-10 17:46:11 -05:00
Thibaut
ebb39e95e8 Remove temporary news notif 2015-01-10 17:43:23 -05:00
Thibaut
b898ac18c8 Refactor settings 2015-01-10 17:41:19 -05:00
Thibaut
5c1a9ed640 Update copyright year 2015-01-05 21:21:29 -05:00
Thibaut
0231b84d5e Call preventDefault() on IDB errors so they don't bubble up to window.onerror 2015-01-05 21:20:11 -05:00
Thibaut
9b1d704e7c Fix loading entries with #fragment path from IndexedDB 2015-01-04 17:19:38 -05:00
Thibaut
2eede98a14 Update gem dependencies 2015-01-04 16:26:58 -05:00
Thibaut
be7d43ef89 Simplify offline links data attributes 2015-01-04 12:14:10 -05:00
Thibaut
e9fc1d3c68 Download/Delete -> Install/Uninstall 2015-01-04 12:10:54 -05:00
Thibaut
6e54d92f18 Cache the 'docs' IDB store in memory 2015-01-04 12:02:42 -05:00
Thibaut
d5e694553a Tweak offline page error message 2015-01-04 11:40:55 -05:00
Thibaut
e86f812aa9 Cache indexedDBVersion 2015-01-04 10:43:05 -05:00
Thibaut
f211124d14 Fully implement offline docs table 2015-01-03 18:56:37 -05:00
Thibaut
eb58c01ee5 Only check for buggy IndexedDB once 2015-01-03 18:22:12 -05:00
Thibaut
04676edd54 Don't keep the IndexedDB database open
Because it makes attempts to open the database in other tabs hang until that tab is close / the database is closed.
2015-01-03 18:17:21 -05:00
Thibaut
ada9949ac6 Fix race-conditions when rendering asynchronous pages 2015-01-03 17:33:27 -05:00
Thibaut
85b6d84bc3 Add thor tasks for running individual test suites 2015-01-03 10:42:01 -05:00
Thibaut
e9d9bcd196 Add test suite for back-end app 2015-01-03 10:38:22 -05:00
Thibaut
04bf8f35eb Keep query string when redirecting 2015-01-03 09:24:07 -05:00
Thibaut
9ec670c7d8 Fix and simplify doc route 2015-01-03 09:15:46 -05:00
Thibaut
d0deb1b7d0 Fix atom feed route 2015-01-03 08:39:25 -05:00
Thibaut
b38d94890d Add offline Q&A 2015-01-02 17:56:50 -05:00
Thibaut
eccdb82a78 Fix typo 2015-01-02 15:52:57 -05:00
Thibaut
a59ef1cdb6 Add db_size attribute in doc manifest 2015-01-02 15:29:13 -05:00
Thibaut
456c4cb811 Add Store#size 2015-01-02 15:22:14 -05:00
Thibaut
da3ca7d8c7 Undownload docs when they are disabled 2015-01-02 15:11:33 -05:00
Thibaut
0b56ef1c02 Disable offline page when IndexedDB isn't available 2015-01-01 17:22:35 -05:00
Thibaut
ba09a14ec0 Add a few missing returns 2015-01-01 16:49:53 -05:00
Thibaut
afbe4c3846 Remove unused property 2015-01-01 15:58:54 -05:00
Thibaut
c2879a5e80 Speed up offline page by loading download statuses in a single transaction 2015-01-01 15:58:16 -05:00
Thibaut
4f781d7e82 Fix app.DB#version returning boolean instead version 2015-01-01 15:39:17 -05:00
Thibaut
ccf9171ccc Lazy-load IndexedDB 2015-01-01 15:11:03 -05:00
Thibaut
9b1402cb71 Tweak debug js 2015-01-01 15:01:03 -05:00
Thibaut
9cc6dc9cf6 Reset IndexedDB when resetting the app 2014-12-31 16:05:03 -05:00
Thibaut
25f844da9b Add ability to cache complete documntations in IndexedDB 2014-12-31 16:04:33 -05:00
Thibaut
bc5488faa2 Make docs mtime the greatest of the index and db files' mtime 2014-12-31 14:12:39 -05:00
Thibaut
ca7ff6086e Exclude docs without a db file from the manifest 2014-12-31 14:11:30 -05:00
Thibaut
ca61a2b746 Add Doc#db_path 2014-12-31 14:00:20 -05:00
Thibaut
5c46eabc67 Output a JSON file containing all the pages' content 2014-12-31 13:54:29 -05:00
Thibaut
e9125c6ec2 Refactor Doc.store_pages 2014-12-31 12:44:33 -05:00