Skip to content

Commit

Permalink
Merge pull request #805 from medic/testing
Browse files Browse the repository at this point in the history
Release 0.4.3
  • Loading branch information
mandric committed Feb 26, 2015
2 parents da4c001 + 9c7dae5 commit 9437e3e
Show file tree
Hide file tree
Showing 616 changed files with 17,184 additions and 47,974 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ sentinel/settings-test.js
sentinel/Procfile
sentinel_working
npm-debug.log
node_modules
bower_components
static/dist

logs
config.js
91 changes: 91 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details

"maxerr" : 50, // {int} Maximum error before stopping

// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line

// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function

// Environments
"browser" : true, // Web Browser (window, document, etc)
"couch" : false, // CouchDB
"devel" : true, // Development/debugging (alert, confirm, etc)
"dojo" : false, // Dojo Toolkit
"jquery" : true, // jQuery
"mootools" : false, // MooTools
"node" : true, // Node.js
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
"prototypejs" : false, // Prototype and Scriptaculous
"rhino" : false, // Rhino
"worker" : false, // Web Workers
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface

// Custom Globals
"globals" : { // additional predefined global variables
"angular" : true,
"moment" : true,
"_" : true,

// tests_ui globals
"beforeEach": true,
"afterEach" : true,
"it" : true,
"describe" : true,
"inject" : true,
"chai" : true,
"Tour" : true
}
}
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ services:
before_script:
- sleep 3
- curl -X PUT localhost:5984/medic
- bash ./scripts/ci/setup.sh
- npm install kanso -g
- kanso push http://localhost:5984/medic
- npm install grunt-cli -g

script: ./scripts/ci/run_build.sh
script: grunt ci

after_success:
- bash ./scripts/ci/after_success.sh
Expand Down
46 changes: 46 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Medic Mobile Release Notes

## 0.4.3

### Feb 26, 2015

#### Features

- Major UI enhancements #370

- Inbox Style with advanced search bar
- Admin Panels
- Mobile device support

- Configurable date format #577

- Built-in ANC Analytics #586

- Easy user feedback mechanism #19

- Added help and tour

- Refactored build process, added grunt, bower and jshint.

- No forms are included by default. You must upload your forms. As usual
configuration (settings and forms) persists through upgrades.

- Added new translations

- Default auto-replies

- There are now two ways to export stuff: 1) from the reports screen click on
export, or 2) on the Configuration > Export screen. The former is simplified
and has no way of changing facility, form, or file format. The latter is
functionally equivalent to 0.4.2.

#### Upgrade Notes

- CouchDB Lucene >= 1.0.2

- Gardener >= 1.1.0

- New [Nginx configuration](https://github.com/medic/medic-os/blob/3aedf0622eb0669aee2e5bbfba95a42faf05b9da/platform/packages/medic-core/settings/medic-core/nginx/nginx.conf), close or redirect port 5984, proxy all requests through medic-api.


## 0.4.2

### Sep 4, 2014
Expand Down Expand Up @@ -75,6 +118,9 @@
- deprecated `exclude_cols` parameter for export integrations. Migrate
applications to use the `columns` parameter instead.

- No forms are included by default, you must upload your forms. As usual
configuration (settings and forms) persists through upgrades.


## 0.3.11

Expand Down
Loading

0 comments on commit 9437e3e

Please sign in to comment.