180 Commits

Author SHA1 Message Date
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
mossroy
ebf70bd05c Add license information in the About section : GPL v3
+ header on each source file
+ license information for each library or ressource used
+ credits
Fixes #45
2013-08-22 20:17:28 +02:00
mossroy
d168c8e4b6 Small updates to manifest.webapp, to follow best practices 2013-08-22 19:29:16 +02:00
mossroy
9984909428 Hide the "reading article" div when clicking on any menu, as this text might stay visible if there is an error when reading the article 2013-08-22 18:20:57 +02:00
mossroy
0f87f821f9 Cosmetic fixes on error messages 2013-08-22 18:08:50 +02:00
mossroy
ba469811be Remove minified versions of bootstrap files.
As this application is distributed as a packaged application, all the files will be zipped before transferring over the network. So the difference in size should not be significant.
When unzipped on the device, it makes a difference but I think it's not worth it for the moment.
It's still possible to switch to minified versions in the future, with a more intelligent packaging process
2013-08-22 17:33:30 +02:00
mossroy
f2f9664e4b Upgrade to Bootstrap 3.0.0 final 2013-08-22 17:27:31 +02:00
mossroy
39b5533959 Slightly improve error handling.
Fixes #57
+ small fix for blockstart value of redirected titles
2013-08-22 17:10:55 +02:00
mossroy
8f0744140d Small update to manifest.webapp 2013-08-17 17:34:40 +02:00
mossroy
7aa55341d7 Small update to manifest.webapp
Add a script to package the application for the Marketplace
2013-08-17 17:33:22 +02:00
mossroy
3367336d22 Improve the look of the title list, and replace all _ by spaces in the title names (as suggested by peter-x)
The titles are now more easily clickable
Fixes #46
2013-08-17 14:28:22 +02:00
mossroy
8ff38e9a54 Upgrade Bootstrap 3 to RC2
It fixes a display issue in the input type=file
Fixes #53
Also improves the size of the dropdown list of archives (when DeviceStorage is available)
2013-08-17 13:59:11 +02:00
Mossroy
f10698219d Small fixes on handling the archives of DeviceStorage :
- hide the keyboard before displaying a warning on 'small' archive
- Keep the trailing slash in archive directories
- If the last selected archive does not exist any more in Device Storage, do not attempt to set it in the drop down list
- Putting the archive files at the root of the sdcard seems to cause issues (high CPU usage on the Simulator) : if it is the case, give a warning to the user and do not use this archive
2013-08-06 16:17:36 +02:00
Mossroy
56c2b7ae9f Add a welcome message when no archive is found, and more info for the first-time user in the About section.
In the home page, add a welcome text to invite the user to start typing in the search field.
Fixes #35
2013-08-06 12:45:47 +02:00
Mossroy
3e1b734d1e Slighlty improve the user feedback when the SD-card can not be browsed, or when no archive has been set 2013-08-06 11:43:58 +02:00
Mossroy
7335e8b98c Keep the last selected archive in a cookie, when DeviceStorage is enabled
Fixes #50
2013-08-06 11:21:44 +02:00