-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
129 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Specific tasks needed for COVID19-support | ||
|
||
Ushahidi is open source software created for the benefit of a large global community improving the world for themselves and others, holding governments accountable, and raising their voices to be more powerful together. Today, we are reaching out to technologists everywhere to ask for your help to make Ushahidi Platform better. | ||
|
||
If you have skills that you want to put to work in favor of those who depend on our tools, and some free time \(which we fully acknowledge is a privilege not everyone has\) this is an unprecedented opportunity to do so. | ||
|
||
#### Some specific areas where we need help | ||
|
||
This are in a rough order of priority, they may change at any time. Check in with our team if you have questions. | ||
|
||
* **Write a blog post** about your experience using Ushahidi Platform V3+ and what you learned from it, then share it with us so we can amplify and help others who are setting up their first Ushahidi Platform deployment. | ||
* **Improve our location and map functionality** so that we can [**support polygons as well as points**](https://github.com/ushahidi/platform/issues/1231)**.** You can also work on [**capturing zoom levels and other metadata**](https://github.com/ushahidi/platform/issues/600) for location fields, as described here. Follow up with any questions you may have to collaborate on specs and implementation. | ||
* **Improve the import feature** so that it's faster and easier for new deployers to get started using data they already have. The import feature can be a little unstable at times, and we're looking for help making it better. | ||
* **Get involved in fixing other bugs and improving features:** there are hundreds of bug and feature improvement reports, and while a vast majority of them take a little work and experience to get right, some are actually quite accessible even for beginners. [Follow this link](https://github.com/ushahidi/platform/issues?q=is%3Aopen+is%3Aissue+label%3ABug) if you are looking for an opportunity to squash some bugs for the greater good. Our team will be forever thankful. | ||
* **Implement an USSD integration** that will make it possible to collect data in a more structured fashion than what we currently have in our SMS integration. Tim made amazing progress in his Africa's Talking USSD integration prototype, supported by David Losada, and we would be thankful to anyone who is willing to add support for USSD providers. [https://github.com/ushahidi/platform-api-ussd-service](https://github.com/ushahidi/platform-api-ussd-service) | ||
* You are also welcome to collaborate and extend the work done by Tim and David with Africa's Talking, as it can always be improved. In particular, it needs some work in terms of field validation, a feature they already worked on and that we deem essential for easy collection of data that truly helps populations at risk with limited resources. **** | ||
* **Work on a way to setup the USSD integration that allows people without technology background to do it:** collaborate with the Ushahidi team on designing an easy to use setup tool so that others can use USSD in their deployments. | ||
|
||
|
||
|
||
To get started, begin with setting up the Platform-api and Platform-client. Head over [here](../development-and-code/setup_alternatives/) to see our setup-guides. | ||
|
Binary file added
BIN
+61.2 KB
docs/docs/.gitbook/assets/63230917-e5879a00-c1c8-11e9-8f6e-e62c83dd1d85.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,68 @@ | ||
Feature: Gateway checker | ||
|
||
Scenario: normal API request should still work with enabled GW checker | ||
Given that I have enabled debug mode | ||
And that I want to get all "Configs" | ||
When I request "/config" | ||
Then the response is JSON | ||
And the response has a "count" property | ||
And the type of the "count" property is "numeric" | ||
And the guzzle status code should be 200 | ||
|
||
Scenario Outline: get debug information with enabled GW checker | ||
Given that I have enabled debug mode | ||
And that I want to get all "Configs" | ||
When I request "/<endpoint>?gwcheck=<gwCheckValue>" | ||
Then the response is JSON | ||
And the response does not have a "count" property | ||
And the "api.name" property equals "ushahidi:platform:gwcheck" | ||
And the "api.version" property equals "0.1" | ||
And the "data._GET.gwcheck" property equals "<gwCheckValue>" | ||
And the "data._REQUEST.gwcheck" property equals "<gwCheckValue>" | ||
And the "data._POST" property is empty | ||
And the "data._SERVER.REQUEST_METHOD" property equals "GET" | ||
And the "data._SERVER.QUERY_STRING" property equals "gwcheck=<gwCheckValue>" | ||
And the "data._SERVER.HTTP_ACCEPT" property equals "application/json" | ||
And the "data._SERVER.SCRIPT_NAME" property contains "/index.php" | ||
And the "data._SERVER.REQUEST_URI" property equals "/api/v3/<endpoint>?gwcheck=<gwCheckValue>" | ||
#the following line might fail when running tests on Apache | ||
And the "data._SERVER.PATH_INFO" property equals "/api/v3/<endpoint>" | ||
And the "data._SERVER.HTTP_USER_AGENT" property contains "GuzzleHttp" | ||
And the "data._SERVER.DOCUMENT_ROOT" property contains "/platform" | ||
And the "data._SERVER.SCRIPT_FILENAME" property contains "/platform/httpdocs/index.php" | ||
And the "data._SERVER.HTTP_ACCEPT_CHARSET" property is empty | ||
And the "data._SERVER.HTTP_ACCEPT_ENCODING" property is empty | ||
And the "data._SERVER.HTTP_ACCEPT_LANGUAGE" property is empty | ||
And the "data._SERVER.HTTP_AUTHORIZATION" property is empty | ||
And the "data._SERVER.HTTP_CONNECTION" property is empty | ||
And the "data._SERVER.HTTP_ORIGIN" property is empty | ||
And the "data._SERVER.HTTP_REFERER" property is empty | ||
And the "data._SERVER.ORIG_PATH_INFO" property is empty | ||
And the guzzle status code should be 200 | ||
Examples: | ||
| endpoint | gwCheckValue | | ||
| config | true | | ||
| config | TRUE | | ||
| config | 1 | | ||
| config | anyString | | ||
| config | false | | ||
| does-not-exist | true | | ||
| does-not-exist | TRUE | | ||
| does-not-exist | 1 | | ||
| does-not-exist | anyString | | ||
| does-not-exist | false | | ||
|
||
Scenario Outline: debug information should not be visible with disabled GW checker | ||
Given that I have disabled debug mode | ||
And that I want to get all "Configs" | ||
When I request "/config?gwcheck=<gwCheckValue>" | ||
Then the response is empty | ||
And the guzzle status code should be 204 | ||
And the "X-Ushahidi-Platform-Install-Debug-Mode" header should be "off" | ||
Examples: | ||
| gwCheckValue | | ||
| true | | ||
| TRUE | | ||
| 1 | | ||
| anyString | | ||
| false | |