345 Commits

Author SHA1 Message Date
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
mossroy
9d27296a3c Remove unnecessary icon 2014-04-15 13:50:55 +02:00
mossroy
cd869db81c Add an index.html at the root of directories, to redirect to www/index.html 2014-04-12 20:29:10 +02:00
mossroy
0ce738f02d Small fixes to comply with Mozilla rules for the Marketplace v1.1.0 2014-04-12 19:28:26 +02:00
mossroy
5ad6fabf51 Change version number to 1.1.0 2014-04-12 15:02:31 +02:00
mossroy
e1d06eddf4 Fix a few glitches in the history.back() behavior. Fixes #88 2014-04-12 14:59:20 +02:00
mossroy
9168da2c37 Enable history.back() on search results (that come from prefix search OR nearby search). Fixes #86 and fixes #82. It also speeds up the time to reduce/enlarge the nearby search zone (by using the previously saved current location, instead of asking for it again) 2014-04-11 18:02:57 +02:00
mossroy
9c602d0ead Cleanup the way we use x/y coordinates : longitude is x and latitude is y. There was a mix of different conventions in the code. Now we only use cartesian coordinate system : x goes right, y goes up. Fixes #84 2014-04-11 13:58:21 +02:00
mossroy
1a9a2aaac8 Merge branch 'master' of https://github.com/mossroy/evopedia-html5 2014-04-11 10:03:37 +02:00
mossroy
e61164fb50 Disable articles nearby feature on archives that have no coordinate files. Fixes #87 2014-04-11 10:02:52 +02:00
mossroy
29d64f59b4 Minor optimization in bearing algorithm 2014-04-11 09:32:06 +02:00
mossroy
7f35248c5b Make a first access to device storage before looking for archives, in order to ask the user for confirmation only once. This avoids a very annoying behavior on first startup of the application. Fixes #85 2014-04-10 22:02:43 +02:00
mossroy
0367e60674 Merge branch 'master' of https://github.com/mossroy/evopedia-html5
Conflicts:
	www/js/app.js
2014-04-10 14:22:37 +02:00
mossroy
8d69bdb692 Fix Line Feed in geometry.js 2014-04-10 14:19:30 +02:00
mossroy
5d354dbd71 Add the cardinal direction to articles (nearby article search). Fixes #83 2014-04-10 14:17:54 +02:00
mossroy
06fee6174a Small fix in distance to articles calculation, to be a bit more accurate 2014-04-08 23:00:46 +02:00
mossroy
8bff5cd843 Remove backward compatibility with FxOS 1.0, to simplify the use of DeviceStorage API. Fixes #79 2014-04-07 13:48:45 +02:00
mossroy
e138844a99 #12 : Store the list of archives in a cookie, to avoid re-scanning the SD-card at every startup 2014-04-04 13:59:23 +02:00
mossroy
39650a33af Fix history.back() on random articles 2014-04-03 14:00:45 +02:00
mossroy
f7b5327096 When geolocation takes some time, inform the user that it he can cancel it. Fixes #80 2014-04-03 13:55:05 +02:00
mossroy
b240932b14 Treat images and archive data files as binary in git 2014-04-03 12:57:35 +02:00
mossroy
f5753977ef Fix the distance to each title. It had to be divided by 60. Fixes #81 2014-04-01 22:59:04 +02:00