579 Commits

Author SHA1 Message Date
Mossroy
6778fc82c8 Avoid white page before displaying article content.
Fixes #379
2018-05-26 23:10:30 +02:00
Jaifroid
68688c8392
Read CSS as utf8 strings instead of binary (#371) 2018-05-23 14:46:48 +01:00
Jaifroid
68d1a4482a
Fix dead objects and history bugs #369 #368
Also reverts to innerHTML method of injecting the iframe due to incompatibilities of document.write() with Service Worker mode in some browsers. Fixes #361 , #366 , possibly #365.
2018-05-21 08:18:39 +01:00
Jaifroid
bc9eb69fca Ignore 2018-05-09 10:25:47 +01:00
Mossroy
25d7d26bdf
Merge pull request #360 from kiwix/remove-jwt-addon-in-travis
Remove the jwt addon from travis configuration.
2018-04-29 21:38:40 +02:00
Mossroy
d77f64b679 Remove the jwt addon from travis configuration.
Fixes #351
2018-04-29 21:27:12 +02:00
Mossroy
80671947f3
Merge pull request #358 from kiwix/Open-all-headers
Open headers and blocks if they are closed. Fixes #355
2018-04-29 21:19:35 +02:00
Jaifroid
107250eaaa Open headers and blocks if they are closed.
Because they can not be opened with javascript for now.
Fixes #355
2018-04-29 21:13:29 +02:00
Jaifroid
ca740126e7 Use articleContent.write to inject HTML into iframe and eliminate dummyArticle #354 2018-04-16 22:46:05 +01:00
Jaifroid
6bf87b26d3
Make jQuery routines into functions and eliminate unhandled exception #348 2018-03-20 12:26:28 +00:00
Mossroy
b1118a9747
Merge pull request #346 from kiwix/accept-links-with-anchors
Accept links to articles that have an anchor.
2018-03-19 20:58:38 +01: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
Mossroy
98d93caf75
Merge pull request #345 from kiwix/http-redirects-on-ZIM-redirects-in-sw-mode
Send an HTTP Redirect in SW mode when there is a ZIM redirect.
2018-03-12 21:27:33 +01:00
Mossroy
1228842a91 Send an HTTP Redirect in SW mode when there is a ZIM redirect.
It is necessary to let the browser know in which directory it is.
Else the relativeslinks can be broken if the original URL is in a
different directory than the final URL.

Fixes #312
2018-03-12 20:34:35 +01:00
Jaifroid
0faae342ee
Void the iframe in readArticle function #341 (#342) 2018-03-12 18:45:20 +00:00
Jaifroid
84452384f8
Cache the CSS content in jQuery mode #355 (#336) 2018-01-23 21:51:29 +00:00
Mossroy
9f60c6bfcd
Merge pull request #334 from kiwix/update-version-numbers-to-start-v2.3
Change version numbers to start working on version 2.3
2018-01-07 13:34:25 +01:00
Mossroy
b9954b2ba8 Change version numbers to start working on version 2.3 2018-01-07 13:02:58 +01:00
Mossroy
d5f4609811
Merge pull request #333 from kiwix/prepare-v2.2.0-release
Fix package creation for a tag, and release date in changelog.
2.2.0
2018-01-07 11:57:11 +01:00
Mossroy
5119a8f093 Fix package creation for a tag, and release date in changelog.
To prepare the v2.2.0 release
2018-01-07 11:46:53 +01:00
Mossroy
f962cd4f3a
Merge pull request #331 from kiwix/minor-fixes-in-about-section
Fix the jQuery version and the visibility of last lines in About section
2018-01-05 14:21:37 +01:00
Mossroy
5d14ff42fa Fix the jQuery version and the visibility of last lines in About section 2018-01-05 13:49:00 +01:00
Mossroy
53a111a000
Merge pull request #330 from kiwix/fix-some-images-in-serviceworker-mode
Fix a regression on some images in ServiceWorker mode.
2018-01-05 13:43:38 +01:00
Mossroy
0e80e6f353 Fix a regression on some images in ServiceWorker mode.
Fixes #329
It was affecting all <img> tags of the first displayed article, only
in ServiceWorker mode.
2018-01-05 12:40:00 +01:00
Mossroy
2a4de89693
Merge pull request #327 from kiwix/update-changelog-for-v2.2
Update README, About section and CHANGELOG.
2018-01-05 11:43:17 +01:00
Mossroy
206a8798be Update README, About section and CHANGELOG.
And some rewording.
In order to prepare a v2.2 release.
2018-01-05 11:38:28 +01:00
Mossroy
3f97a116bc
Merge pull request #326 from kiwix/Rename-readableTitle
Rename readableTitle
2017-12-31 15:43:08 +01:00
Jaifroid
cb5cb6be2f Rename readableTitle
Addresses #325
2017-12-29 16:18:14 +00:00
Mossroy
fe37ac4123
Merge pull request #322 from kiwix/several-browsers-for-UI-tests
Use several browsers for automated unit and UI tests
2017-12-25 21:50:38 +01:00
Mossroy
8e767a76af Run automated unit and UI tests on several browsers.
Latest versions of Firefox, Chrome and Edge
Plus some older browsers : Firefox 45, Chrome 58 and IE11.
For IE11, I had to disable unit tests (not supported).
I also added a fix in UI tests that make them more stable,
and added some file headers.
2017-12-25 21:33:42 +01:00
Mossroy
3c034f983a Fix anchor links, that were broken because of the base tag. (#319)
Regression introduced by #310
It was also the occasion to refactor a bit this part of the code,
and to remove some obsolete code (related to the Evopedia file format)
Fixes #318
Also fixes #313 (handle links with other protocols like geo: tel: etc.)
2017-12-23 20:35:52 +00:00
Jaifroid
7681f61b30
Fixes toolbar alignment #311 (#321) 2017-12-21 22:28:29 +00:00
Mossroy
b5fbee3637
Merge pull request #315 from kiwix/fix_version_string_for_mozilla_extension_signing
Fix the version string for nightly builds of Firefox extensions.
2017-12-18 21:29:30 +01:00
Mossroy
7f92b73eeb Fix the version string for nightly builds of Firefox extensions.
So that they can be signed again by Mozilla. Fixes #314
2017-12-18 21:26:07 +01:00
Mossroy
1bc747cd10
Merge pull request #310 from kiwix/Support-subdirectories-in-articles
Support subdirectories in articles
2017-12-17 13:28:24 +01:00
Mossroy
4a933eb554 Handle subdirectories in article namespace.
Works in jQuery mode, not yet in ServiceWorker mode.
Fixes #205
It involved to avoid making the (wrong) assumption that
there all articles are directly under the A namespace.
We use the "base" tag to specify the current path.
It allowed to remove some unclean code in zimArchive.js

Also changed the signature of the callback of readArticle,
so that to have the whole dirEntry if necessary in the future.
2017-12-17 13:21:25 +01:00
Jaifroid
3d424b58a5
Use Bootstrap panels to organize Configuration page (#303)
Code mainly contributed by Jaifroid.
Fixes #302.
2017-12-17 09:16:41 +00:00
Jaifroid
4ddc9fb266 Use Bootstrap panels to organize Configuration page
See #302 . Apart from panels, I have standardized on the use of Bootstrap grid layout (responsive divs with flexbox) on the page. But the way this works will only become clear if we introduce more options / panels and a non-expert settings section.
2017-12-17 08:21:52 +00:00
Mossroy
0b6d9b42ac Merge pull request #305 from kiwix/translate-some-french-comments-second-attempt
Translate in English some comments that were in French.
2017-09-29 13:28:46 +02:00
Mossroy
11606448e7 Translate in English some comments that were in French. 2017-09-21 14:37:38 +02:00
Mossroy
6b3076a701 Merge pull request #298 from kiwix/make-nightwatch-use-split-test-zim-file
Make Nightwatch use the split ZIM files of Ray Charles archive.
2017-08-08 20:43:00 +02:00
Mossroy
29b69eb0e0 Make Nightwatch use the split ZIM files of Ray Charles archive.
Instead of the standalone ZIM file.
Fixes #185
2017-08-08 20:28:58 +02:00
Jaifroid
8f0658eac4 Handle uncaught exception and display welcome text if ZIMfile does not have main page 2017-08-08 19:24:03 +01:00
Mossroy
14f4991470 Merge pull request #296 from kiwix/fix-woff-removed-from-ubuntu-touch-package
Fix double-quotes handling to actually remove *.woff* from click package
2017-08-06 23:21:46 +02:00
Mossroy
c79e826401 Fix double-quotes handling to actually remove *.woff* from click package
Else the package is rejected by click-review
2017-08-06 23:16:29 +02:00
Mossroy
216d50a261 Merge pull request #295 from kiwix/add-ubuntu-touch-click-packaging
Add ubuntu touch click packaging
2017-08-03 22:17:53 +02:00
Mossroy
9194bce049 Put paths into double-quotes to avoid issues with spaces in folders.
Especially when you do a rm -rf...
2017-08-03 22:06:31 +02:00
Mossroy
166cf43d42 Add script and files to package app for Ubuntu Touch (.click file)
See #285
2017-08-03 22:06:31 +02:00
Jaifroid
90b4199dd1 Update requireJS to 2.3.3 (#283)
Tested and working on Firefox, Edge, Internet Explorer and Edge Mobile.
2017-07-15 23:27:14 +01:00
Mossroy
9731ecb643 Merge pull request #282 from kiwix/explicit-statement-on-platform-compatibility
Add explicit statement about browser compatibility in README.
2017-07-15 21:55:46 +02:00