Aritra Bhaduri
0b2211cb6c
Removed usage of jquery while opening and closing bootstrap modals #921 ( #968 )
...
Signed off by @aritroCoder.
2023-03-26 08:26:22 -05:00
Jaifroid
d5a7b4088d
Update documentation of full text search #942 ( #944 )
2022-12-22 15:55:26 +00:00
Jaifroid
366c0c169d
Integrate full-text search results into title search results ( #935 )
2022-12-17 08:02:49 +00:00
Aritra Bhaduri
06e3ec3c0d
Removed most usage of innerHTML #824 ( #902 )
...
Signed off by: Aritra Bhaduri <92646038+CodingwithMe123@users.noreply.github.com>
2022-12-11 12:14:00 +00:00
Jaifroid
dc450d7075
Initialize the libzim worker #929 ( #934 )
2022-11-27 14:52:23 +00:00
Dheeraj Lalwani
23d596b309
Convert further jQuery statements to native JS #920 ( #927 )
...
Signed off by @dheerajdlalwani.
2022-11-27 08:22:32 +00:00
Jaifroid
39051c91e3
Replace jQuery for hide and show statements selected by ID #916 ( #917 )
2022-11-16 15:52:58 +00:00
Mossroy
6bc0b93857
Open external links in new tabs and warn the user
...
Fixes #404
This is a refresh of the work of Jaifroid in branch https://github.com/kiwix/kiwix-js/tree/Check-for-external-links-and-warn
2022-06-02 17:17:46 +02:00
Mossroy
a57d6227d2
Handle Enter key in Bootstrap modal dialogs ( #864 )
...
* Handle Enter key in Bootstrap modal dialogs
Fixes #863
* Switch to native DOM methods, and keyup event
2022-06-01 12:08:34 +02:00
Mossroy
2c2d168030
Upgrade webp-hero library and reuse the canvas ( #838 )
...
* Workaround some antifingerprinting features for webp polyfill
It affects in particular IceCat 60.7
WebpHero has been upgraded, and tries to detect if the workaround is
necessary.
If it is, there is a setting to let the user disable the workaround if
wished.
Fixes #835 and #816 (support of DataURI images when webp is not
supported by the browser)
* Rename feedNodeWithBlob function to feedNodeWithDataURI
* Added canvas elements to stylesheets
Co-authored-by: Jaifroid <egk10@cam.ac.uk>
2022-02-21 21:09:13 +01:00
Manjit Kaur Khaira
26490f4469
Auto Dark mode Theme added ( #793 )
...
* Add auto options to index.html
* update app.js
* update uiUtil.js
* testing
* Update app.js
* fixed bug in app.js
* Update app.js
* removed extra spaces
* removed extra spaces
* Fixes autoTheme eventListener in app.js and removed spaced in index.html
* app.js
* removed extra spaces
* updated app,js and uiUtil.js
* fixed bug when browser doesn't support color-schemes
* added removeChild() instead of remove() and renamed class
* parentElement to parentNode
As the parentElement is new to firefox and IE
* parentElement to parentNode
* fixes options for theme and some for wikimedia theme
* fixes help for the wikimedia theme
* update uiUtil.js
* moved code back to previous place
* displays auto theme description
* added auto description <p>
* removed space added again
* Update uiUtil.js
Defined `oldDescription` earlier before using it
* fixes oldDescription
* Update uiUtil.js
Co-authored-by: Mossroy <mossroy@mossroy.fr>
2022-02-21 12:46:59 +01:00
Gaurav Agarwal
2271ff2ec3
Added bootstrap modal for alert and confirm popups #798 ( #804 )
...
Signed off by @gaurav7019
2022-02-20 11:28:03 +00:00
Jaifroid
ba994b8984
Fix race condition while loading decompressors ( #822 )
...
May fix #820 . Also fixes #812 .
2022-02-06 16:16:54 +00:00
Jaifroid
b143e8372c
Fix incorrect processing of titles with question marks and anchor parameters #806 ( #807 )
2022-01-31 21:16:19 +00:00
Jaifroid
1fa345bf7e
Deal correctly with link element containing a favicon ( #811 )
2022-01-31 09:40:51 +00:00
Jaifroid
06e528a5f3
Provide methods for resetting the app and bypassing appCache #794 ( #797 )
2022-01-16 12:47:51 +00:00
Jaifroid
e42995047c
Enable Service Worker mode in Firefox extension via PWA workaround #764 ( #771 )
2022-01-09 09:19:51 +00:00
Jaifroid
8579bbeb72
Recompile Emscripten binaries, implement WASM with fallback, add API info, add compile scripts ( #740 )
...
Fixes #739 , #652 and #511 . Instructions and helper scripts are included for easy future recompiling of the binaries with docker.
2021-08-22 08:54:47 +01:00
Jaifroid
18c51f1ab9
Preliminary support for ZIM archives with no namespace ( #698 )
...
Partially implements #684 .
2021-02-06 17:00:05 +00:00
Jaifroid
34579987f5
Extract images sequentially in jQuery mode #671 ( #677 )
2020-11-29 07:36:32 +00:00
Jaifroid
74cccba19a
Add WebP Polyfills in jQuery mode #650 ( #670 )
...
Fixes #650 .
2020-11-22 09:50:18 +00:00
Jaifroid
9d908a9a38
Fix missing footer and footer style with light contentTheme #591 ( #592 )
...
Fixes #591 .
2020-02-07 06:45:20 +00:00
Jaifroid
26390e84cb
Implement a theming system (dark theme / night mode) #265 ( #582 )
...
Closes #265 .
2020-02-03 20:39:18 +00:00
Jaifroid
74f7dee7ee
Add transition between different pages (home/config/about)
2020-01-12 07:17:18 +00:00
vasusharma7
0f3194435c
Solved the issue of " Broken display when search results have special characters ( #575 )"
2019-12-07 23:42:58 +05:30
Jaifroid
f7f21a8173
Upgrade Bootstrap to version 4 #526 ( #527 )
...
Closes #526 . Also part of implementing #523 .
2019-08-31 15:13:49 +01:00
Jaifroid
182e47684d
Apply dirEntry.getMimetype throughout code #500 ( #519 )
...
Closes #500 .
2019-06-06 06:08:25 +01:00
Jaifroid
7001d6e955
Remove dependency on base URL #495 ( #496 )
...
Closes #495 .
2019-06-02 21:40:59 +01:00
Jaifroid
8f51aa1ce0
Allow keyboard selection in search list #55 ( #501 )
...
Closes #55 and #503 .
2019-05-26 08:23:56 +01:00
Jaifroid
dd0d55b6fd
Support epub and other downloads from ZIM in jQuery mode #439 ( #462 )
...
Closes #439 .
2019-03-03 11:15:33 +00:00
Jaifroid
e595a49d70
Add active content warning #466 ( #467 )
...
Closes #466 and #468 .
2019-01-14 06:46:39 +00:00
Mossroy
7a95cf12af
Accept links to articles that have an anchor.
...
The anchor has to be removed before passing to the ZIM backend
Fixes #344
2018-03-19 20:31:13 +01:00
Jaifroid
84452384f8
Cache the CSS content in jQuery mode #355 ( #336 )
2018-01-23 21:51:29 +00:00
Mossroy
bf6fd95f22
Replace "Evopedia" strings by "Kiwix" in all file headers.
...
Fixes #165
2017-04-09 10:12:24 +02:00
mossroy
9b909c5a6b
Separate DOM-related utility functions (used only by the UI) from the other ones.
...
Suggested by peter-x in #162
2016-01-16 15:26:23 +01:00