516 Commits

Author SHA1 Message Date
Mossroy
3fadcae6f2 Merge pull request #212 from kiwix/load-welcome-page
Display the main page of the archive in the Home section.
2.0.0rc1 2.0.0
2017-04-08 16:48:36 +02:00
Mossroy
d60a85a703 Display the main page of the archive in the Home section.
Instead of a blank page. Fixes #126
It does not apply to Evopedia archives
2017-04-08 16:42:06 +02:00
Mossroy
81bf91c8c4 Merge pull request #204 from kiwix/travis-packaging
Scripts to automatically package the extensions for Firefox and Chrome.
2017-04-08 16:15:25 +02:00
Mossroy
05eae79a9a Point the browser extensions directly to www/index.html.
It avoids adding the /index.html in the packages, which simply redirects to /www/index.html
2017-04-08 16:12:31 +02:00
Mossroy
f1fff391e5 Scripts to package the extensions for Firefox and Chrome.
Can be run locally or on Travis
2017-04-08 16:12:31 +02:00
Mossroy
70a08a0f54 Minor changes in About section, and in the error message on geolocation. 2017-04-07 22:03:03 +02:00
Mossroy
da2435831b Merge pull request #210 from kiwix/fix-README-for-browser-extensions
Update README and About section to reflect the new target of this app.
2017-04-07 20:21:04 +02:00
Mossroy
36ca4eebbb Update README and About section to reflect the new target of this app.
The main target is now browser extensions, not Firefox OS
(even if it's still compatible with).
Fixes #208
2017-04-07 17:51:16 +02:00
Mossroy
7a18ce9d6c Merge pull request #206 from kiwix/first-fixes-for-stackexchange
First fixes for stackexchange archive
2017-04-07 09:38:58 +02:00
Mossroy
9ba2cc5bca Remove an old feature of Evopedia causing issues for stackexchange.
Fixes #199
2017-04-06 17:27:51 +02:00
Mossroy
2bf1d1fda2 Fix loading dependencies in jQuery mode when the articles are in subdirectories. 2017-04-06 17:27:51 +02:00
Mossroy
7cb4118ff0 Merge pull request #203 from kiwix/generic-kiwix-travis-credentials
Use the kiwix saucelabs account instead of mine.
Fixes #200
2017-04-05 18:20:01 +02:00
Mossroy
c9baecd8c9 Use the kiwix saucelabs account instead of mine. 2017-04-05 18:16:24 +02:00
Mossroy
9f31580385 Modify search textbox placeholder to be more generic.
"Search" instead of "Search wikipedia".
Fixes #201
2017-04-05 18:07:44 +02:00
Mossroy
2de1354218 Add some more info in the webextension manifest 2017-04-05 17:57:26 +02:00
Mossroy
adcbd35db4 Merge pull request #192 from kiwix/basic_webextension
Basic webextension
2017-04-03 16:16:14 +02:00
Mossroy
d414c84c1d Change creation date in file header 2017-04-03 15:56:45 +02:00
Mossroy
dbb8fac984 Add more icon sizes to match browsers recommendations.
Based on https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/browser_action#Choosing_icon_sizes and stackoverflow.com/questions/20424425/recommended-size-of-icon-for-google-chrome-extension/35731422
2017-04-03 15:49:23 +02:00
Mossroy
2b4e325ab9 Make the extension compatible with Chromium/Chrome 2017-04-03 15:02:15 +02:00
Mossroy
a5df777f2c First attempt to create a WebExtension for Firefox.
See #187
2017-04-03 15:02:15 +02:00
Mossroy
a947c3f45c Merge pull request #191 from kiwix/replace-peter-x-travis-sauce-credentials
Replace peter-x travis sauce credentials
2017-04-03 14:22:44 +02:00
Mossroy
44bb8997ab Attempt to make nightwatch use the sauce credentials parameters 2017-04-03 14:14:34 +02:00
Mossroy
9d61ef47d9 Fix my encrypted sauce key. 2017-04-03 14:06:54 +02:00
Mossroy
f0efdf1f78 Add my encrypted sauce key. 2017-04-03 12:48:43 +02:00
Mossroy
c7438b516a Try to remove the peter-x Travis Sauce credentials.
Because it's probably unsecure to let them in the source code.
And because they probably have been changed, and do not work any more.
2017-04-03 11:49:16 +02:00
Mossroy
db483bf0d1 Merge pull request #190 from kiwix/serviceworker_fetch_eventhandler_on_init
Add the event listeners in the initial eval of the ServiceWorker script.
2017-04-03 11:34:52 +02:00
Mossroy
9b4745acf2 Add the event listeners in the initial eval of the ServiceWorker script.
This is required by a modification of the ServiceWorker spec, that is
being enforced by recent browsers.
Cf https://bugzilla.mozilla.org/show_bug.cgi?id=1181127 for Firefox
Fixes #189
2017-03-05 17:24:40 +01:00
Mossroy
44bcaf0840 Merge pull request #182 from kiwix/issue113
Handle articles spread among several split ZIM files.
Add a unit test to check that it works
2016-10-28 16:02:29 +02:00
mossroy
d8c3817ae0 Restore wikipedia_en_ray_charles_2015-06.zim for travis
This file is needed for Travis CI builds, through nightwatch
2016-10-28 15:52:00 +02:00
Mossroy
85c8f0146a Merge pull request #180 from kiwix/testing
Automated testing using travis, nightwatch and sourcelabs.
2016-10-28 15:03:40 +02:00
Peter
7339187c46 Simple UI test. 2016-10-03 23:52:49 +02:00
Peter
95eb610838 Ability to inject remote archives for testing. 2016-10-03 23:52:17 +02:00
Peter
5a9f9af111 Fix tests. 2016-10-03 16:59:36 +02:00
Peter
1c62fe4578 Add key. 2016-10-03 15:40:25 +02:00
Peter
a6ce668147 Add test for split article. 2016-10-02 18:14:14 +02:00
Peter
dd6b17210d Make zim tests use split archive. 2016-10-02 18:14:14 +02:00
Peter
bd8be4cfb7 Bugfix: return correct array type. 2016-10-02 18:14:14 +02:00
Peter
201b06b10e Remove invalid todo. 2016-10-02 18:14:14 +02:00
Peter
7718566744 Fix size calculation. 2016-06-27 00:49:57 +02:00
Peter
f8f045f4e1 Properly wait on all promises to resolve. 2016-06-27 00:49:57 +02:00
mossroy
431632e168 Minor changes to prepare a release of version 2.0 beta. 2.0-beta 2016-06-26 14:43:59 +02:00
Mossroy
a9ba9cde1c Merge pull request #174 from kiwix/issue113
Basic support of splitted ZIM files
2016-06-26 14:08:30 +02:00
mossroy
7c57934007 Revert the attempt to read a file slice that would be split among several ZIM files, for now.
Because of performance regression.
I created issue #181 to handle this in the future.
+ minor cosmetic fixes in the code.
2016-06-26 14:03:54 +02:00
Peter
4064b18456 Full splitted ZIM file support. 2016-06-26 00:24:51 +02:00
Peter
ce59ad5449 Automated testing using travis, nightwatch and sourcelabs. 2016-06-25 19:13:29 +02:00
mossroy
a4ed6b8f45 Basic support of splitted ZIM files with DeviceStorage API.
Fixes #113, even if there are some TODOs
2016-06-21 21:22:03 +02:00
mossroy
815c9e9f48 Modify the welcome message (when no archive has been found) to talk about Kiwix instead of Evopedia.
Fixes #171
2016-06-19 16:19:00 +02:00
Mossroy
4889456b52 Merge pull request #170 from kiwix/warn-service-worker-mode-unstable
Warn the user that the Service Worker mode is unstable for now
2016-06-15 16:45:06 +02:00
Mossroy
1aa606397f Merge pull request #169 from kiwix/fix-redirection-bugs
Fix in the redirection algorithm, that was leading to the wrong article.
2016-06-15 16:44:50 +02:00
Mossroy
bc263ceebd Merge pull request #168 from kiwix/issue141
The random article feature must not display titles with a namespace!=A
2016-06-15 16:44:29 +02:00