354 Commits

Author SHA1 Message Date
mossroy
8dd14095e6 Small fixes for random article feature + cosmetic changes
Anyway, the article feature does not work all the time currently.
2014-02-28 17:10:09 +01:00
mossroy
87a85d8e11 Revert commit c592027, to re-enable error messages when data or coordinate files are not found 2014-02-28 16:35:23 +01:00
mossroy
26f0f5fbf8 Fix for the title search algorithm (little regression introduced by the pull request 66)
+ some cosmetic changes
2014-02-28 16:14:26 +01:00
mossroy
84f5ab62a3 Fixes to make it work again on FxOS, and to keep the new structure compatible with unit tests
+ a few cosmetic modifications
2014-02-28 11:44:49 +01:00
Peter
3f7abc7a24 Random articles. 2014-02-14 02:26:56 +01:00
Peter
9430603001 Added title iterator as preparation for infix search. 2014-02-14 02:14:40 +01:00
Peter
c592027d1d Suppress error messages when loading archive. 2014-02-14 00:29:22 +01:00
Peter
7b78018464 Cleaned up visual presentation. 2014-02-14 00:29:22 +01:00
Peter
bad3e760e0 Bugfix for decoding escaped offsets. 2014-02-14 00:29:22 +01:00
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