Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Native File System support to reload zim file #1131

Merged
merged 47 commits into from
Nov 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e126ea2
[ADD] event listener for FS API
Rishabhg71 Oct 10, 2023
cae1b9b
[ADD] cache API forked from `kiwix-js-windows`
Rishabhg71 Oct 10, 2023
050815b
[ADD] Zim File handler saving in indexDB
Rishabhg71 Oct 11, 2023
e396375
[FINALIZE] File system api picker and saving handles in indexDB
Rishabhg71 Oct 12, 2023
decafcd
[ADD] Select for zim files
Rishabhg71 Oct 12, 2023
e9bf591
[ADD] Directory select and load
Rishabhg71 Oct 15, 2023
f05f314
[REFACTOR] messy code cleanup
Rishabhg71 Oct 15, 2023
4791acf
[FIX] selection bug in folder drag
Rishabhg71 Oct 17, 2023
4faf5f0
[ADD] support for webkit
Rishabhg71 Oct 17, 2023
e5ae1ca
[FIX] no files on folder drop webkit
Rishabhg71 Oct 18, 2023
96e7b8a
[FIX] Split zim working for webkit
Rishabhg71 Oct 18, 2023
c8693ee
[ADD] Split zim for FS API
Rishabhg71 Oct 19, 2023
b39180b
[FIX] dropdown UI bug when multiple files are selected
Rishabhg71 Oct 19, 2023
b13861b
[FIX] new files added to serviceworker
Rishabhg71 Oct 19, 2023
0eb2e54
[FIX] zim not loading in tests
Rishabhg71 Oct 19, 2023
05df87f
[REFACTOR] Final touches + jsdoc update
Rishabhg71 Oct 19, 2023
29c207f
[FIX] making codefactor happy
Rishabhg71 Oct 19, 2023
320d1e7
[FIX] Ui changes requested by @jaifroid
Rishabhg71 Oct 19, 2023
4661508
[FIX] Edge File drop not working
Rishabhg71 Oct 20, 2023
16f8cd4
[REFACTOR] semi colon in end of every line
Rishabhg71 Oct 20, 2023
bf57673
[FIX] wrong file count
Rishabhg71 Oct 20, 2023
2458223
[REFACTOR] using already existing select
Rishabhg71 Oct 22, 2023
b01f962
[REFACTOR] saving and getting filenames from localstorage
Rishabhg71 Oct 22, 2023
6778907
[REFACTOR] `fileSystem.js` code moved to `abstractFilesystemAccess.js`
Rishabhg71 Oct 23, 2023
ff3bc2d
[REFACTOR] making codefactor happy
Rishabhg71 Oct 23, 2023
88a5088
[FIX] db name `undefined` changed
Rishabhg71 Oct 23, 2023
b7729b9
[REFACTORS] minor refactors for code review
Rishabhg71 Oct 24, 2023
512a99b
[REFACTOR] API support flag moved inside `params`
Rishabhg71 Oct 26, 2023
8049409
[FIX] firefox os race condition
Rishabhg71 Oct 27, 2023
16ec687
[FIX] FFOS UI and race around
Rishabhg71 Oct 30, 2023
96839f7
[ADD] translations for other languages
Rishabhg71 Oct 31, 2023
6e0cc44
[ADD] missed elements for translations
Rishabhg71 Oct 31, 2023
6c567f0
[REFACTOR] minor fixes and comments
Rishabhg71 Oct 31, 2023
662f162
Merge branch 'main' into fs-support
Rishabhg71 Oct 31, 2023
1c5e419
requested changes by @jaifroid
Rishabhg71 Oct 31, 2023
6ededf1
[REFACTOR] translations updated
Rishabhg71 Oct 31, 2023
600e831
[FIX] edge 18 file picker
Rishabhg71 Oct 31, 2023
c65ab0d
[FIX] translation errors
Rishabhg71 Nov 2, 2023
879db53
[FIX] option not loading on refresh
Rishabhg71 Nov 3, 2023
40b44ce
[FIX] UI placement fix
Rishabhg71 Nov 3, 2023
c74e04d
[ADD] file list save for webkit dir
Rishabhg71 Nov 4, 2023
5f8ce32
[FIX] single file picker for webkit
Rishabhg71 Nov 4, 2023
a55d9d2
[FIX] XSS and mobile phone folder picker disabled
Rishabhg71 Nov 5, 2023
bb1d61b
[FIX] auto load zim on Folder select
Rishabhg71 Nov 5, 2023
9f999b2
Merge branch 'main' into fs-support
Rishabhg71 Nov 5, 2023
b18fe52
Refactor file selection logic for better
Rishabhg71 Nov 7, 2023
b23f46d
[FIX] safari file picker not showing
Rishabhg71 Nov 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into fs-support
Rishabhg71 authored Nov 5, 2023

Verified

This commit was signed with the committer’s verified signature.
ronnnnn Seiya Kokushi
commit 9f999b2329fa881cf11b8a9f4eeecbff7dfe3590
2 changes: 1 addition & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
@@ -158,7 +158,7 @@ function resizeIFrame () {
} else if (!liHomeNav.classList.contains('active')) {
// We are not in Home, so we reset the region height
region.style.height = window.innerHeight + 'px';
if (nestedFrame) nestedFrame.style.height = window.innerHeight - 110 + 'px';
region.style.overflowY = 'auto';
} else {
// Get header height *including* its bottom margin
const headerHeight = parseFloat(headerStyles.height) + parseFloat(headerStyles.marginBottom);
You are viewing a condensed version of this merge commit. You can view the full changes here.