345 Commits

Author SHA1 Message Date
Peter
4374dd3799 Updated mediawiki style file. 2014-02-12 01:16:26 +01:00
Peter
8000158a28 Bugfix: Some browsers cannot transfer array buffers to the worker. 2014-02-12 00:59:53 +01:00
Peter
753ec33928 Activate Cordova storage.
Searching for archives and titles already works, but decompressing an article
does not yet work.
2014-02-11 23:46:47 +01:00
Peter
a4ea0c8048 Storage abstraction. 2014-02-11 23:46:47 +01:00
Peter
44e4903598 Basic setup for cordova build (changed directory structure). 2014-02-11 23:46:47 +01:00
mossroy
7eac99d1af Ignore private settings of Netbeans in git 2014-01-03 11:39:58 +01:00
mossroy
83b7dcee48 Add Evopedia Bitcoin address for donations 2014-01-03 11:36:40 +01:00
mossroy
3913f65d78 Add config files for NetBeans 2013-12-31 17:16:27 +01:00
mossroy
de39bd4d74 Fix a bug in looking if an archive supports normalized titles or not
Fixes #64 (impossible to search for articles with chinese letters)
2013-12-31 12:36:03 +01:00
mossroy
917ed1e443 Normalize prefix and titles only if the current archive supports that feature.
Fixes #64 (impossible to search for articles with chinese letters)
2013-12-30 22:06:43 +01:00
mossroy
fa580e671f Add some testing fields, so that the latitude/longitude can be typed instead of found by geolocation 2013-11-26 18:13:02 +01:00
mossroy
ccf3f80117 Fix for the case where no title is found in the target rectangle 2013-11-26 12:43:18 +01:00
mossroy
92f71aee6a Slightly optimize the way results are displayed
Temporary workaround for duplicated titles nearby
Merge the 2 "articles nearby" functions in app.js
2013-11-25 23:24:23 +01:00
mossroy
0b460d55d4 First steps to geolocate the device and implement "articles nearby" feature in the user interface 2013-11-25 18:04:29 +01:00
mossroy
4b59066afe Make "articles nearby" algorithm return a list of Title instances, instead of a list of title positions 2013-11-25 16:47:55 +01:00
mossroy
a6eea6c9f9 Upgrade requirejs to 2.1.9 instead of 2.1.8 2013-11-25 14:06:09 +01:00
mossroy
7283f88535 Slightly shorten the title of the application, so that it fits inside a small device screen, even when followed by a -SNAPSHOT version 2013-11-24 16:58:34 +01:00
mossroy
57cf1e5c18 Renaming and comments to reflect the fact that the functions currently return a list of title positions (not a list of title instances) 2013-11-24 14:22:43 +01:00
mossroy
5c84a8fd79 Add a mention about the origin of geometry.js in the About section 2013-11-24 13:32:23 +01:00
mossroy
cab27028ec Add some comments in the "articles nearby" algorithm 2013-11-24 11:19:55 +01:00
mossroy
d195cc9413 Fix the unit test of articles nearby (wrong target zone) : the algorithm seems ok, at least on this example 2013-11-23 23:07:48 +01:00
mossroy
946a7f2d91 Some more work on articles nearby and geometry + a few refactoring in util.js 2013-11-23 22:10:35 +01:00
mossroy
b49d853940 Upgrade QUnit to 1.12.0 to solve issue of a unit test launched twice 2013-11-23 21:59:11 +01:00
mossroy
822534c151 Some more work in progress on the "Articles nearby" feature 2013-11-22 17:57:57 +01:00
mossroy
20f213abd5 Some more work on the "Articles nearby feature", including adding a few functions in geometry.js (with corresponding unit tests) 2013-11-22 16:37:16 +01:00
mossroy
46257816cf Remove the code that warns the user if he has a Peak device (because of small font in FxOS 1.0.1. See #8).
Now that FxOS 1.1 has been deployed, it is not necessary any more
2013-11-22 16:26:22 +01:00
mossroy
0c42371bd9 Fix to make Evopedia work again without DeviceStorage (on desktop for example), with manual selection of archive files 2013-11-22 10:30:52 +01:00
mossroy
a50b7f56d2 Change version number to reflect the work in progress for v1.1 2013-11-04 13:14:50 +01:00
mossroy
dd464e7b55 Fix for passing the localArchive instance between the different callback functions : I have to pass it as a parameter 2013-11-04 13:09:58 +01:00
mossroy
9f3405e818 First line of codes for articles nearby feature. It's just a skeleton and does not work yet : the corresponding unit test is failing for now 2013-10-29 13:46:55 +01:00
mossroy
99044f3a85 Add a normalized() function to a rectangle like in http://harmattan-dev.nokia.com/docs/library/html/qt4/qrectf.html#normalized.
This function returns a normalized rectangle; i.e., a rectangle that has a non-negative width and height.
2013-10-21 13:57:09 +02:00
mossroy
21f6efa897 Add geometry.js library, to handle rectangles and points 2013-10-21 13:25:43 +02:00
mossroy
ce7ffa3c9e Change version number to 1.0.2 v1.0.2 2013-10-06 20:37:22 +02:00
mossroy
a98090ffa9 if getDeviceStorages() is available (FxOS >=1.1), browse all the device storages for archives, instead of the default one (given by getDeviceStorage())
Fixes #62
2013-10-06 18:11:16 +02:00
mossroy
1dbfdaf5e1 Merge branch 'master' of ssh://github.com/mossroy/evopedia-html5 2013-10-01 22:27:41 +02:00
mossroy
421658d6fa Minor fixes in HTML pages : alternate text for images etc 2013-10-01 22:26:11 +02:00
mossroy
f1de573b52 Update README to give the location of source code 2013-09-28 09:40:18 +02:00
mossroy
4da9eabf34 Update README.md 2013-09-20 13:50:05 +02:00
mossroy
d13fb3ae8e Typo in README 2013-09-12 21:54:44 +02:00
mossroy
2e9d70343f Add info about unit tests in README 2013-09-12 21:51:59 +02:00
mossroy
ebb44ae8f2 Add the Mozilla Marketplace URL in the README 2013-09-08 13:52:33 +02:00
mossroy
27a32a453a Fix the lifetime of the cookie used to warn the users of Peak devices
Fixes #61
2013-08-25 10:06:08 +02:00
mossroy
bf501d721a Change version number to 1.1.0-SNAPSHOT, to prepare future evolutions
Minor changes in the About section and README
2013-08-23 21:49:54 +02:00
mossroy
42b106cf26 Fix the icons for the package to be accepted on the Marketplace v1.0.0 2013-08-23 20:44:21 +02:00
mossroy
e7e3db7c57 Collapse the menu when the user types something in the search field, so that he can see the results below 2013-08-23 17:08:57 +02:00
mossroy
e58d6e8545 Re-organize the About section
Add privacy policy, step-by-step usage, ways to contribute, credits, links for other platforms etc.
Fixes #54
Fixes #52
Also add the version number at the top
2013-08-23 16:58:42 +02:00
mossroy
dbfee80d06 Cosmetic improvements in error messages 2013-08-23 14:42:11 +02:00
mossroy
3544b46042 Add target=_blank to all the hyperlinks in the About section, so that they are displayed in the Firefox OS browser instead of inside the application 2013-08-23 13:52:31 +02:00
mossroy
181fcbbdef Display a warning message if the device is probably a Peak (based on the screen resolution), so that the user knows that the text is very small in Firefox OS 1.0.1. This should be fixed in Firefox OS 1.1
This improves a bit #8
2013-08-23 13:35:15 +02:00
mossroy
da5d4d1ea0 Small fix to hide the "reading article" message (with the spinner) when searching for titles, in the case it would still be there because of an error when reading the previous article 2013-08-23 12:35:38 +02:00