Commit Graph

31 Commits (476c69e419768742f9b073f763ae41f517048b69)

Author SHA1 Message Date
Thibaut Courouble 2a7107f94b Clean up JS error tracking
9 years ago
Thibaut Courouble 0d38b9be88 Fix error in checkForCorruptedDocs
9 years ago
Thibaut Courouble 59918fdee5 Handle empty/corrupted IDB
9 years ago
Thibaut Courouble 800622099f Improve resiliency of IDB database
9 years ago
Thibaut Courouble 1412517869 Better handling of IDB bogus NotFoundError
9 years ago
Thibaut Courouble d88a3b263b Handle bogus IDB ConstraintError
9 years ago
Thibaut Courouble 11936b01ab Attempt to handle bogus IDB NotFoundError
9 years ago
Thibaut Courouble 7467395c33 Log IDB debug info on error
9 years ago
Thibaut Courouble 54a3ca0d8f Handle duplicate store error in onUpgradeNeeded
9 years ago
Thibaut Courouble 7a20f7fd54 Attempt to fix Safari bug
9 years ago
Thibaut Courouble ed0fa5dcc7 Change app.config.version to an integer instead of string
9 years ago
Thibaut Courouble 6ed3994988 Only create stores for enabled docs in IndexedDB
9 years ago
Thibaut 5128513a2f Make IndexeDB version an integer
10 years ago
Thibaut 1252b36a1c Improve offline mode error page
10 years ago
Thibaut a235fe068b Fix exception in DB#onUpgradeNeeded
10 years ago
Thibaut 9dc99bd8ea Detect and recover from IndexedDB QuotaExceededError
10 years ago
Thibaut 58a463d3d7 Improve IndexedDB error handling
10 years ago
Thibaut eecbade78e Wrap app.DB#useIndexedDB in try/catch
10 years ago
Thibaut 0231b84d5e Call preventDefault() on IDB errors so they don't bubble up to window.onerror
10 years ago
Thibaut 9b1d704e7c Fix loading entries with #fragment path from IndexedDB
10 years ago
Thibaut 6e54d92f18 Cache the 'docs' IDB store in memory
10 years ago
Thibaut e86f812aa9 Cache indexedDBVersion
10 years ago
Thibaut eb58c01ee5 Only check for buggy IndexedDB once
10 years ago
Thibaut 04676edd54 Don't keep the IndexedDB database open
10 years ago
Thibaut 0b56ef1c02 Disable offline page when IndexedDB isn't available
10 years ago
Thibaut ba09a14ec0 Add a few missing returns
10 years ago
Thibaut c2879a5e80 Speed up offline page by loading download statuses in a single transaction
10 years ago
Thibaut 4f781d7e82 Fix app.DB#version returning boolean instead version
10 years ago
Thibaut ccf9171ccc Lazy-load IndexedDB
10 years ago
Thibaut 9cc6dc9cf6 Reset IndexedDB when resetting the app
10 years ago
Thibaut 25f844da9b Add ability to cache complete documntations in IndexedDB
10 years ago