447 Commits

Author SHA1 Message Date
jason.wall
38efa19a4a FEATURE: Added swipe left/right to open search/menu
* cleaned up bar to maximize space
  * renamed index
2014-12-26 09:41:15 -05:00
jason.wall
799dd61dbb BUGFIX: nulls in search causing errors
* returned [] instead of null fixes issues
 * cleanup
 * added titles to strongs refs are properly saved to state
 * added terms excluded from search index
2014-12-25 20:03:50 -05:00
jason.wall
f9dc9e5819 BUGFIXES: Fixes a variety of the remaining issues
* css formatting issues
 * upgraded to latest jquery
 * removed requirejs because of incompatibility with jquery mobile
 * multiple bug fixes relating to above
 * search now opens automatically when performing a search
2014-12-25 19:18:38 -05:00
jason.wall
61753ba299 BUGFIXES: All operations now work
* fixed display of search results
   * downloaded jquery files so no longer rely on inet connection
   * fixed storage of references for save/load
   * multiple Bookname misspelled as bookname
   * added return false to avoid page reload
2014-12-24 22:56:03 -05:00
9294028f0b Merge with upstream. 2013-11-16 17:37:29 -05:00
walljm
11b8da6bda - stable spot with everything working.
- still needs styling
 - still need to combine search buttons.
 - need to switch jqueryui dialog for mobile popup
2013-11-16 17:33:31 -05:00
95e424f69f Add some data integrity tests.
* Add new test suite test/data-quality-tests.js
* Make ParseBook exported so I can use it to get data for each book
  This is suboptimal since really the data should be in a look up table
  somewhere but I don't want to tackle that in this change.
* Actually load the json data for each book and test that number
  of chapters exists.
2013-11-16 16:18:36 -05:00
9125607faf Split out the unittests into separate files.
We use nodes require so we have to follow nodes module conventions for test
suites.

* As a result we need to inject the requirejs loader as well as the exports
  object.
* Also we need to move the requirejs setup logic into it's own module
  for reuse.
* The test modules add tests to the exports object for our test runner.
2013-11-16 15:26:49 -05:00
walljm
fe221d8273 - initial take on redesign of db ui 2013-11-16 13:41:23 -05:00
1a12a8f31e Setup unit testing infrastructure using npm
* Add package.json to tell npm what dependencies we need.
* Use npm's test package for the assertions
* Add a test/all.js as our test suite entrypoint.
* Port biblerefparsing tests over to the new unit test framework.
2013-11-16 13:27:56 -05:00
c1da5e6324 Merge upstream. And hook tag form up to the tagging api. 2013-04-27 22:14:34 -04:00
6d6c52db3e Fix up the results saving and restore to be more robust.
Always display passages using DisplayPassage so that UI events get
hooked up correctly.
2013-04-27 18:03:40 -04:00
34de294ed1 Merge in upstream changes. 2013-04-27 17:44:52 -04:00
walljm
0ec6118247 - removed min file 2013-04-27 17:30:03 -04:00
walljm
9f1408a2cd - added slide out menu for tag processing and other things in the future. 2013-04-27 17:29:36 -04:00
a8ceb3b194 Add capability guards for the database functionality. 2013-04-27 15:13:20 -04:00
walljm
7345962ee3 Added tag v.1.3.6 for changeset ce16cd955ae5 2013-04-27 15:12:34 -04:00
walljm
6fb1879256 - moved event hookups into functions 2013-04-27 15:11:58 -04:00
65736aa278 Api change for the db code SetDebug -> ToggleDebug. 2013-04-20 14:08:18 -05:00
dcd08a2dd1 Add a Tagging module.
* It uses an indexedb datastore.
* Fix the api of the indexeddb wrapper now that I have some real world usage
  examples.
* Implemented API Calls:
   * UpdateTags
   * GetTags
* Exposed but unimplemented API Calls:
   * GetVersesForTag
   * Sync
* Add a tooltip that shows the tags for a reference to the reference link.
2013-04-19 20:13:05 -05:00
walljm
0857a03e47 - removed old code 2013-04-19 17:56:08 -04:00
walljm
243f7a489c - cleanup 2013-04-19 17:08:46 -04:00
walljm
eeb6fdd9d0 - fixed window resize issue cause by loading results 2013-04-19 17:07:04 -04:00
walljm
0930633d04 - cleanup 2013-04-19 15:04:04 -04:00
walljm
143ff68be5 - fixed css issues 2013-04-19 15:03:18 -04:00
walljm
84b456bf78 - fixed missing images
- fixed jquery.ui issue in dialog (wrong version of jquery.ui in conjunction with changed version of jquery when we moved to requirejs)
2013-04-19 14:28:25 -04:00
walljm
9b3bb378b6 - added permalinks to reference titles
- minor cleanup of unused vars
2013-04-19 10:47:58 -04:00
walljm
2964af32cf - added loading of ref via querystring
- ran build script to copy changes to android app
2013-04-19 10:35:14 -04:00
walljm
8570ca5b36 - minor formatting issue 2013-04-18 22:06:39 -04:00
fb3a4af964 Actually use the modularized js in the index.html file. 2013-04-18 19:02:50 -05:00
acefd7d3cd Merge with upstream. 2013-04-18 18:55:20 -05:00
walljm
7332d1bdaa - further checks to prevent throwing null when localStorage isn't defined. 2013-04-18 13:28:18 -04:00
walljm
25d11136b9 - minor bug fix 2013-04-18 11:22:33 -04:00
2c805b95f7 Modularize the javascript with requirejs. 2013-04-17 17:56:22 -05:00
e0ba9712d4 A basic IndexedDb wrapper api.
* Init method for Initializing the Database.
* Basic CRUD methods.
* Session and Transaction Methods
   * for doing operations on an open database
   * and/or in a transaction.
2013-04-16 22:46:16 -05:00
walljm
60e315f6b8 - fixed localStorage errors.
- new android build
2013-04-16 17:09:09 -04:00
walljm
be32335b40 - added support for html localStorage for settings (should work on tablet now)
- added support to save strong dialog option, and results.
2013-04-16 16:41:19 -04:00
walljm
185579e1df na 2013-04-16 12:22:36 -04:00
walljm
7ade3b70a5 - uncaught null reference was throwing errors. 2013-04-16 12:19:08 -04:00
walljm
b62a794429 - new build copied to android dir 2013-04-16 10:42:09 -04:00
walljm
1bde5b3f03 - added more tests to cover cases
- fixed bug where single chapters weren't being parsed correctly
2013-04-16 10:36:29 -04:00
walljm
354be7d24a - removed zipped files
- built 1.3.3 android apk
2013-04-15 16:01:52 -04:00
walljm
3e7c571213 - added simple build batch file to copy assets into directory for android build. 2013-04-15 15:34:51 -04:00
walljm
6d74b54db1 - removed console references
- fixed error message handling
 - updated index.html to point to the correct files
2013-04-15 15:10:03 -04:00
walljm
a59e67aba9 skip the .orig files 2013-04-15 14:41:28 -04:00
walljm
0ad2f1bf41 Merge 2013-04-15 14:31:44 -04:00
walljm
daf132d2c6 - fixed bug in bible to json transform was skipping strongs for words nested inside style tags. 2013-04-15 14:29:11 -04:00
89b3a3619b BugFix: End Verse getting corrupted during display in certain cases.
* Give Reference a toString() method.
* Pass a whole reference into DisplayPassage.
* Use the toString() method to display that
  reference in our passage text.
2013-04-14 13:18:58 -05:00
0741b50b4c Cleanup.
* Use the same brace style everywhere.
* Use semicolons everywhere.
* Add myself to the authorship for bible ref parsing.
* Don't use try catch blocks when exceptions are impossible.
* Add some returns for completeness sake when the functions return values
  elsewhere.
2013-04-10 19:39:10 -05:00
walljm
12f9e1194d - minor cleanup of unused vars, formatting 2013-04-09 11:53:04 -04:00