728 Commits

Author SHA1 Message Date
Mossroy
3c1f74c0e0
Merge pull request #453 from kiwix/remove-debug-logs-in-SW-mode
Remove all debug logs in ServiceWorker mode
2018-12-11 23:05:22 +01:00
Mossroy
4113648a4c Remove all debug logs in ServiceWorker mode.
And sometimes replace them by comments in the code.
Fixes #436
2018-12-11 22:58:16 +01:00
Jaifroid
5a1ace594d
Support text tracks with URLs relative to the A namespace #446 (#448)
Fixes #446 .
2018-12-11 15:23:18 +00:00
Jaifroid
40c0e89ab4
Make regexpTagsWithZimUrl agnostic with regard to format of tested URL #449 (#450)
Fixes #449 .
2018-12-11 15:19:56 +00:00
Jaifroid
46c686587c
Support media in the ZIM in jQuery mode #172 (#441)
Fixes #172
2018-12-06 09:14:01 +00:00
Mossroy
90cb6f2fc6
Merge pull request #444 from kiwix/new_download_server
Update CI to deal with new download.kiwix.org server
2018-12-02 15:40:45 +01:00
Kelson
af0cfcd70b Update CI to deal with new download.kiwix.org server 2018-12-02 08:42:51 +01:00
Jaifroid
b2b91f47af
Fix incomplete dirEntry search #440 (#443)
Fixes #440 .
2018-11-30 11:19:50 +00:00
Mossroy
b43dbf4e52
Merge pull request #434 from kiwix/enable-javascript-inside-ZIM
Enable javascript injection in ServiceWorker mode
2018-11-14 16:03:21 +01:00
Mossroy
62ccca01c9 Enable javascript injection in ServiceWorker mode.
See #152
2018-11-11 23:03:55 +01:00
Jaifroid
92c74edbe2
Prevent app crash with malformed anchor hrefs #430 (#432)
Fixes #430 .
2018-11-06 09:40:00 +00:00
Mossroy
ed75f71058
Merge pull request #431 from kiwix/API-for-ZIM-metadata
Add API for reading ZIM Metadata.
2018-10-21 13:39:54 +02:00
Mossroy
dcfc5e51fa Add API for reading ZIM Metadata.
Fixes #395
It is especially useful to read the language of the ZIM file
2018-10-21 10:51:42 +02:00
Jaifroid
94fda96280
Support local anchors with a URL #428 (#429)
Fixes #428
2018-10-21 07:36:53 +01:00
Jaifroid
835b086923
Add a modern CSS spinner #425 (#427) 2018-10-16 05:51:23 +01:00
Mossroy
88dd4d6e65 Change version numbers to prepare next version 2.5 2018-09-22 13:50:04 +02:00
Mossroy
666982bad9
Merge pull request #424 from kiwix/fallback-to-jquery-if-SW-fails-to-register
Automatically fallback to jQuery mode if the SW fails to register.
2.4.0
2018-09-22 13:01:26 +02:00
Mossroy
922d19aa01 Automatically fallback to jQuery mode if the SW fails to register.
Fixes #405
2018-09-22 12:57:41 +02:00
Mossroy
971da815b5
Merge pull request #423 from kiwix/fix-jquery-sw-modes-switch
Fix broken ServiceWorker when switching between modes.
2018-09-22 12:57:05 +02:00
Mossroy
9bf2330453 Fix broken ServiceWorker when switching between modes.
This should finally fix #145
2018-09-22 12:53:34 +02:00
Mossroy
4814850db8
Merge pull request #422 from kiwix/update-README-CHANGELOG-and-WS-warnings-for-2.4
Update README, CHANGELOG, and reword warnings on ServiceWorker mode.
2018-09-22 12:51:44 +02:00
Mossroy
4a68ee09cf Rewording suggested by Jaifroid 2018-09-22 12:35:14 +02:00
Mossroy
bed512cadf Minor updates on CHANGELOG and text in configure sections.
As suggested by Jaifroid
2018-09-22 12:13:53 +02:00
Mossroy
c715a1febb Update README, CHANGELOG, and reword warnings on ServiceWorker mode.
Fixes #421
2018-09-22 10:43:44 +02:00
Mossroy
7873b751ee
Merge pull request #418 from kiwix/transfer-data-instead-of-copying-between-serviceworker-and-backend
Transfer the data from ZIM to ServiceWorker instead of copying it.
2018-09-22 09:32:17 +02:00
Mossroy
deea303788 Transfer the data from ZIM to ServiceWorker instead of copying it.
Fixes #416
2018-09-20 09:46:17 +02:00
Mossroy
f835bfded4
Merge pull request #417 from kiwix/display-article-immediately-after-search-in-serviceworker-mode
Display the content immediately after a search in ServiceWorker mode.
2018-09-19 17:03:42 +02:00
Mossroy
91347aab61 Display the content immediately after a search in ServiceWorker mode.
Instead of waiting for the "load" event.
On big articles, it allows some browsers to display the content even
if it is not fully loaded (missing images etc).
It can make a big difference in the user perception of performance.
2018-09-18 16:21:12 +02:00
Jaifroid
02e6d15718
Asm.js compile of xzdec.js with fixed memory (5 x 16MiB) (#410) 2018-09-17 11:37:13 +01:00
Mossroy
d26d187702
Merge pull request #408 from kiwix/add-xzdec-sources
Add xzdec source files, as provided by peter-x
2018-09-14 21:05:52 +02:00
Mossroy
afc573c521 Add xzdec source files, as provided by peter-x 2018-09-12 17:27:29 +02:00
Mossroy
f930652aa7
Merge pull request #406 from kiwix/workaround-serviceworker-state-loss-after-a-while
Workaround serviceworker state loss after a while
2018-09-12 17:19:17 +02:00
Mossroy
387af28bcf Workaround ServiceWorker hanging after a while by keeping it alive periodically.
The MessageChannel is re-created each time.
It prevents the ServiceWorker from being restarted and losing its variables
See #145
2018-09-09 16:46:49 +02:00
Mossroy
ca6d5335ea Add changelog of version 2.3.1 2.3.1 2018-09-08 23:11:52 +02:00
Mossroy
84e7e90f25
Merge pull request #398 from kiwix/No-parallel-decompression
Prevent xzdec_wrapper from decompressing several chunks at a time.
2018-08-09 21:29:01 +02:00
Mossroy
dd4708f722 Prevent xzdec_wrapper from decompressing several chunks at a time.
Fixes #389
2018-08-09 21:24:24 +02:00
Mossroy
6148f6e140
Merge pull request #403 from kiwix/create-nightly-directory-if-missing
Create the nightly remote directory if it does not exist, during CI.
2018-08-04 18:58:49 +02:00
Mossroy
418d3a0ba9 Create the nightly remote directory if it does not exist, during CI.
Fixes #364
2018-08-04 18:54:30 +02:00
Mossroy
d84488105f
Merge pull request #402 from kiwix/add-favicon
Add favicon links in HTML header, to the existing PNG icons.
2018-08-02 09:40:42 +02:00
Mossroy
b775fd7acd Add favicon links in HTML header, to the existing PNG icons.
And remove obsolete favicon.ico (that was still using an evopedia icon).
Fixes #401
2018-07-12 17:04:47 +02:00
Jaifroid
ddaa3586f1
Add more specific mimetype support for images #390 (#391) 2018-06-06 21:12:43 +01:00
Mossroy
a89e462fa9 Change version numbers to start working on 2.4 2018-06-04 22:50:36 +02:00
Mossroy
2dc9dde3e0
Merge pull request #377 from kiwix/changelog-for-v2.3.0
Update Changelog with the content of version 2.3.0
2.3.0
2018-06-04 21:59:41 +02:00
Mossroy
82d81b67d5 Update Changelog with the content of version 2.3.0 2018-06-04 21:54:31 +02:00
Jaifroid
d1d9e49975
Render only when all CSS is fulfilled #381 (#387) 2018-06-01 15:03:08 +01:00
Mossroy
78ee035714
Merge pull request #383 from kiwix/Always-use-iframe-src-in-Service-Worker-mode
In ServiceWorker mode, set the iframe src to display articles.
2018-05-30 21:04:59 +02:00
Mossroy
294facdb55 In ServiceWorker mode, set the iframe src to display articles.
Instead of calling displayArticleInForm like in jQuery mode.
I also removed some tests on jQuery/ServiceWorker modes in displayArticleInForm, as this function is now only used in jQuery mode.
And I renamed it to displayArticleContentInIframe

Fixes #382
2018-05-30 14:58:45 +02:00
Jaifroid
95afdeecb6
Fix 404 errors in http mode #376 (#378) 2018-05-28 13:43:43 +01:00
Mossroy
26112de66c
Merge pull request #380 from kiwix/Avoid-white-page-on-article-load
Avoid white page before displaying article content.
2018-05-27 13:51:25 +02:00
Mossroy
6778fc82c8 Avoid white page before displaying article content.
Fixes #379
2018-05-26 23:10:30 +02:00