-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1053 from ushahidi/release/comrades-and-fixes
Bring master up to date with COMRADES changes and some fixes
- Loading branch information
Showing
42 changed files
with
1,156 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = [ | ||
'$resource', | ||
'$rootScope', | ||
'Util', | ||
function ( | ||
$resource, | ||
$rootScope, | ||
Util | ||
) { | ||
|
||
var ApiKeyEndpoint = $resource(Util.apiUrl('/apikeys/:id'), { | ||
id: '@id' | ||
}, { | ||
query: { | ||
method: 'GET', | ||
isArray: true, | ||
transformResponse: function (data /*, header*/) { | ||
return Util.transformResponse(data).results; | ||
} | ||
}, | ||
get: { | ||
method: 'GET' | ||
}, | ||
update: { | ||
method: 'PUT' | ||
} | ||
}); | ||
|
||
return ApiKeyEndpoint; | ||
|
||
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<category-selector | ||
enable-parents="false" | ||
selected="selected" | ||
form="form" | ||
available="available" | ||
></category-selector> | ||
<add-category | ||
form-id="formId" | ||
attribute="attribute" | ||
post-value="postValue" | ||
available="available" | ||
></add-category> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = PostCategoryEditorDirective; | ||
|
||
PostCategoryEditorDirective.$inject = []; | ||
|
||
function PostCategoryEditorDirective() { | ||
return { | ||
restrict: 'E', | ||
scope: { | ||
formId: '=', | ||
attribute: '=', | ||
postValue: '=', | ||
available: '=', | ||
selected: '=', | ||
form: '=' | ||
}, | ||
controller: PostCategoryEditorController, | ||
template: require('./post-category-editor.html') | ||
}; | ||
} | ||
PostCategoryEditorController.$inject = ['$rootScope','$scope', 'TagEndpoint', 'FormAttributeEndpoint', 'Notify', '_']; | ||
|
||
function PostCategoryEditorController($rootScope, $scope, TagEndpoint, FormAttributeEndpoint, Notify, _) { | ||
} |
Oops, something went wrong.