-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release: Commcare #559
Merged
Merged
Release: Commcare #559
Conversation
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
* feat: switch to common http for submitXls Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat:switch to common http for all adaptor functions Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:remove superagent and language-http dependencies Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: make callback have default value in prepareNextState Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove superagent tests in commcare Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove all logs of the url in all jobs Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove await with promise chaining Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove async from adaptor function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove authtype key from submitXls function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: switch from html to xml when submitting forms Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: create test job Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove chaining and replace with async in fetchReportData Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove unused imports Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: rewrite client post Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove post Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
* feat:implement standardized auth Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:remove content-type on submitXLMS file Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: refactor request handler function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove eslint comment for reassign arguments Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: Implement changeset Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
- remove form-data library (we don't need it with undici) - don't send a content-type header with formdata (undici will work it out for us)
Commcare: fix xlsx
* feat:implement get request Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: write tests for get handler Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:reduce max redirection number Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: make domain and app name global in tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: add sample case for tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat:add comment for redirects Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: extract meta data into references Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:failing tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: place meta into response Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: add comment for new returned items Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: change documentation for get function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove assertions in tests and refactor prepareNextState Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: add callback to get function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:write tests for a single case Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: test for meta in get function Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: redo single get test and add data.length test Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:implement changesets for common and commcare Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat:add tests for callback Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: add actual data for tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:remove console Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
This comment was marked as resolved.
This comment was marked as resolved.
* fix: change applicationName to domain and add apiKey to config schema Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat:add changeset to commcare Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:update tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:remove redundant comment Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
* feat:implement generic post Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat:add a changeset Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:change post example and format test file Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix:remove callback from post example Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New commcare adaptor:
get
helpercommcare
add function #528