mossroy
4609d16f5d
Initial support for reading articles from the backend through the ServiceWorker
...
Redirects are not supported for now, and dependencies are not properly handled either
2015-07-11 21:17:36 +02:00
mossroy
abfa242c8d
First working bi-directional communication between the service worker and app.js
...
It's still with dummy contents, and in "quick and dirty" mode
2015-07-11 13:38:03 +02:00
mossroy
a6232986db
Work-in-progress to test communication between the ServiceWorker and the backend through a MessageChannel
...
It does not work at all for now
2015-06-28 17:38:43 +02:00
mossroy
6a4702fb51
First attempt to send a message to the ServiceWorker
...
+ minor log changes
2015-06-21 15:15:13 +02:00
mossroy
3f203cbb9e
Merge branch 'master' into serviceworker_in_frame, to switch to Ray Charle ZIM file for unit tests
2015-06-20 16:15:15 +02:00
mossroy
5bbae17ffd
Merge branch 'master' into article_in_iframe, to switch to Ray Charles ZIM file
2015-06-20 16:14:01 +02:00
mossroy
1f699cb7c3
Minor improvement of the ServiceWorker status in configuration section
2015-06-20 16:11:44 +02:00
mossroy
db8a3ecb85
Display the status of ServiceWorker in the configuration section, and disable it for Evopedia archives, for now
2015-06-20 16:08:46 +02:00
mossroy
cfdb3225a9
Switch to the Ray Charles ZIM file for unit tests
...
It's the one used by Kiwix team
2015-06-10 10:37:20 +02:00
mossroy
1a9dd1732b
Merge branch 'article_in_iframe' into serviceworker_in_frame, to handle redirects properly
2015-06-10 10:18:21 +02:00
mossroy
b816313311
Merge branch 'master' into article_in_iframe, to handle redirects properly
2015-06-10 10:16:24 +02:00
mossroy
1ba3efd039
Fix handling of redirects
2015-06-10 10:09:15 +02:00
Mossroy
fa6a4c8e01
Merge pull request #118 from evopedia/zim_redirects
...
Handle redirects in ZIM archives.
2015-06-10 10:06:11 +02:00
Peter
9e442763f9
Handle redirects.
2015-06-07 21:05:45 +02:00
mossroy
5143e776da
Some more prototype testing on ServiceWorkers, that makes sure we manage to inject binary data in the article (an image, here)
2015-06-07 17:12:51 +02:00
mossroy
9080c51ad0
Use requirejs to access javascript libraries inside the service worker
2015-06-07 14:56:34 +02:00
mossroy
2d2c8c3278
First attempt to use a service worker
2015-06-06 17:54:26 +02:00
mossroy
a46395a9ad
Temporarily inject a sample CSS (that simply adds a grey background) when using a ZIM archive
2015-05-09 23:01:54 +02:00
mossroy
cd03870f00
Fix detection if mediawiki CSS should be applied or not
2015-05-09 22:17:04 +02:00
mossroy
bd3befad13
Display the article content in an iframe instead of a div.
...
It allows to apply the mediawiki CSS only if using an Evopedia archive, not for ZIM.
And, for ZIM archives, it should allow in the future to apply a CSS/JS contained in the ZIM archive itself
2015-05-09 22:08:39 +02:00
mossroy
b28afd374f
First simple unit test on a ZIM archive
2015-05-07 23:07:47 +02:00
mossroy
e2fc103ec2
Fix CRLF git behavior on binary files
2015-05-03 09:44:48 +02:00
mossroy
3c0d7e6331
Add test ZIM file
2015-05-03 09:36:46 +02:00
mossroy
9893ed9e1a
Missing upgraded files for bootstrap
2015-05-02 18:50:30 +02:00
mossroy
c960e7ae36
Preliminary work on #108 : implementing unit tests on the ZIM backend.
...
The test does not pass for the moment
2015-04-26 16:35:02 +02:00
mossroy
ac4054f5ae
Allow selection of a ZIM file from a file select, when DeviceStorage is not available
2015-04-26 14:24:36 +02:00
mossroy
ecaa7da0f9
Minor upgrades to the latest versions of Bootstrap and QUnit libraries
2015-04-26 13:46:25 +02:00
mossroy
3f00ea581d
Merge branch 'zim_backend'
2015-04-26 11:29:14 +02:00
mossroy
e0411408d9
Revert to jQuery API for archive scanning (it was not working properly with Q)
...
+ change version number
+ minor cleanup
2015-04-26 11:28:50 +02:00
Mossroy
191f138fe5
Merge pull request #102 from evopedia/integrate_zim_reader
...
ZIM backend initial implementation by peter-x
2015-04-26 11:26:45 +02:00
Peter
9359290f50
Basic support for zim files.
2015-04-21 00:00:37 +02:00
Peter
003569001a
Abstracted access to archive backend.
2015-04-20 23:48:28 +02:00
mossroy
deba204d0e
Update version number to 1.1.4
v1.1.4
2015-01-29 21:12:46 +01:00
mossroy
e58dce7005
Fix a bug with wiktionary archives, that prevents links between articles to work properly
...
Fixes #101
That came from the fact that there was some javascript code inside the html articles.
When populating the div with this html content with jQuery, it tries to run this javascript with an eval() call.
But eval() calls are forbidden in packaged applications
2015-01-29 21:12:06 +01:00
mossroy
1440233909
Update version number to 1.1.3
v1.1.3
2015-01-29 15:31:11 +01:00
mossroy
ffeed1bd4e
Fix for Android
...
Fixes #100
2015-01-29 15:30:52 +01:00
mossroy
f9a7a31a6c
Minor bugfix : do not try to use an archive with an empty directory
...
Reason : at least on Android, the list of archives can in some circumstances be populated with a single empty item
v1.1.2
2015-01-28 13:46:55 +01:00
mossroy
67c3b29591
Change version number to 1.1.2
2015-01-28 12:00:10 +01:00
mossroy
8cfeaa70b0
Upgrade jQuery and Bootstrap libraries
2015-01-28 11:58:38 +01:00
mossroy
1af9224133
Issue #99 : display some explanations about a bug on Firefox Android
...
It prevents archives to be found on external SD card : the user has to put the archive in the internal storage (if there is enough space). See https://bugzilla.mozilla.org/show_bug.cgi?id=1117136
2015-01-28 11:51:20 +01:00
mossroy
dc5f16e09d
Update README and about section, to explain the status of Android compatibility
...
Also mention everywhere that the wikipedia archive can also be put in the internal storage of the device (not only in an external SD card)
2015-01-02 18:48:34 +01:00
mossroy
86c8eb2a4c
Change contact email address : mossroy@mossroy.fr instead of mossroy@free.fr
2014-09-25 21:41:28 +02:00
mossroy
6df44f2508
Remove Zepto : I prefer to keep jQuery for now
2014-08-11 20:37:23 +02:00
mossroy
cbc6a50969
Change version number to 1.1.1, to prepare the release
v1.1.1
2014-08-11 20:12:25 +02:00
mossroy
16378e020d
Change version number to 1.1.1-SNAPSHOT
2014-07-23 18:06:17 +02:00
mossroy
0e28bac39a
Enable javascript strict mode in all js files
...
Fixes #91
2014-07-23 18:01:18 +02:00
mossroy
f60b099f90
Use dependency-style requireJs for unit tests, too
2014-07-23 17:49:53 +02:00
mossroy
fbc8b75fdc
Use dependency-style requireJs for unit tests, too
2014-07-23 17:49:25 +02:00
mossroy
2bea2ca188
Escape ' character in HTML attribute titleid of every title listed
...
Fixes #93 (articles with this character in their name could not de displayed)
2014-07-23 17:40:40 +02:00
mossroy
ea4d62c7de
Use dependency-style requireJs (manually merged from peter-x commit : 24c02dc791
)
...
This fixes #92 (application not working on Flatfish)
2014-07-23 17:10:51 +02:00