765 Commits

Author SHA1 Message Date
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
Mossroy
dbbe7b45f8 Add explicit statement about browser compatibility in README.
Fixes #271
Plus minor rewording in the description
2017-07-15 21:47:30 +02:00
Mossroy
da32c3c768 Merge pull request #281 from kiwix/add-changelog
Add a changelog file in the source code.
2017-07-12 21:07:11 +02:00
Mossroy
cee720705c Add a changelog file in the source code.
Fixes #247
2017-07-12 18:01:50 +02:00
Jaifroid
83617b90cc Correct minor mistake
In commiting the PR I made a silly mistake (missed out "htmlArticle =" when copying a change to the regex). Apologies.
2017-07-10 22:08:05 +01:00
Jaifroid
0ab1bf9f9e Implements #272 (Prevent unnecessary display of 404s) (#273)
Implements #272, elaborating on idea of @sharun-s (hiding of img.src in img.data-src). This also hides the whitespace until the image is displayed.
2017-07-10 19:02:55 +01:00
Jaifroid
1506d2d966 Update bootstrap to 3.3.7 #269 (#279)
Implements kiwix-js #269 (Update bootstrap to 3.3.7).
2017-07-09 22:18:21 +01:00
Mossroy
30772b3f9c Merge pull request #276 from kiwix/firefox-48-for-nightwatch
Use version 47 of Firefox in nightwatch unit and UI tests.
2017-07-05 10:55:14 +02:00
Mossroy
80522867bf Use version 47 of Firefox in nightwatch unit and UI tests.
To workaround some random timeouts in Travis on Firefox>=48
Fixes #251
2017-06-29 21:01:16 +02:00
Jaifroid
213b937d51 Implements #268 Update jQuery to 3.2.1
Implements #268
2017-06-29 08:48:43 +01:00
Jaifroid
f038c4945f Rebrand candidate files (#263)
* Rebrand candidate files

Implements #262

* Reverted some refs to kiwix-html5

* Revert email for FFOS

* Changed HTML5 in email header

* Rebrand candidate files

Implements #262
2017-06-24 13:09:07 +01:00
Mossroy
6f488717c4 Merge pull request #261 from kiwix/fix-setremote-archive-for-Sauce-UI-tests
Minor enhancements on the way to inject the ZIM file for UI tests
2017-06-21 16:21:04 +02:00
Mossroy
172c8a6785 Read the ZIM file from localhost for UI tests
Instead of reading it from github.io
2017-06-21 15:57:43 +02:00
Mossroy
0624b99cb7 Properly use onreadystatechange on XHR for reading ZIM for UI tests. 2017-06-21 15:57:28 +02:00
Mossroy
be383bc1fa Merge pull request #258 from kiwix/more-info-when-ZIM-file-not-found-in-unit-tests
Give more info when a ZIM file is not found in unit tests.
2017-06-21 11:03:22 +02:00