Skip to content
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/1.8.1 [main] #1643

Merged
merged 21 commits into from
Nov 6, 2024
Merged

Release/1.8.1 [main] #1643

merged 21 commits into from
Nov 6, 2024

Conversation

mbanting
Copy link
Contributor

Release 1.8.1 to main

Phillipe Bojorquez and others added 19 commits September 13, 2024 11:45
…or target (M2-7853) (#1614)

This PR creates the new endpoint `GET /activities/applet/{applet_id}/target/{subject_id}`, which returns a list of activities and flows that are associated with the specified target subject within the applet. The endpoint is accessible by users with the following applet roles:

- Owner
- Manager
- Coordinator
- Reviewer (who is assigned the target subject)

Each activity/flow in the list will be returned based on one of the following conditions
- The activity/flow is set to auto assign
- The activity/flow is manually assigned to some respondent, with the specified target subject as its target
- Answers have been submitted at some point in the past for the activity/flow with the specified target subject as the target

The return type is `ActivityOrFlowWithAssignmentsPublic`

---------

Co-authored-by: Rodrigo Merlo <[email protected]>
…date

[M2-7838] Add passed tests to the slack output steps
…ondent-entities

feat: Add endpoint to get activities/flows assigned to or submitted for respondent (M2-7854)
* feature(conditionalLogic): Accept new activity items

* wip(conditionalLogic): DateItem support

* wip(conditionalLogic): time and timerange added

* wip(conditionalLogic) Fix validation errors for time an date

* wip(sliderRow): Add slider row validation

* wip(conditionalLogic) Remove type from tume renge

* wip(conditionalLogic): allow all activity items types

* wip(conditionalLogic): Split score and reports and conditionalLogic

* wip(conditionalLogic): Add special public model

* wip(conditionalLogic): Change index type

* wip(conditionalLogic): Change option based items validation

* feature/new_items_types

* chore/fixing code quality

* chore/fixing singleTimePayload, minMaxTimePayload, activity_item_change on code quality and fixing date test on test_custom_validation

* chore/cleaning test_custom_validation comment

* chore/ruff format condition.py and test_custom_validation

---------

Co-authored-by: ivan koryshkin <[email protected]>
Co-authored-by: iwankrshkin <[email protected]>
Co-authored-by: Felipe Imperio <[email protected]>
…7830) (#1623)

This PR updates the applet duplication endpoint to optionally include an optional `include_report_server` property that defaults to false (making it backwards compatible).

The following properties are duplicated:
- `reportServerIp`
- `reportPublicKey`
- `reportIncludeUserId`
- `reportIncludeCaseId`
- `reportEmailBody`
* chore: add language assertion to invitation tests

* fix: tom's fixture function return type

* chore: rename mailing service html template getter

* fix: shell account re-invite unit test

* chore: parameterize invitation unit tests

* chore: fix html email template formatting

* feat: implement fallback to English for localized email templates

* feat: add placeholder templates for greek emails

* fix: lints

* fix: some typing errors in invitation unit tests

* chore: replace placeholder with actual greek translations

* chore: rename parameter names for email template function

* chore: add tests for assignment email language

---------

Co-authored-by: Billie He <[email protected]>
* chore: Update python version to 3.11

* chore: Getting away from passlib and using bcrypt directly

* chore: Moving from python-jose  lib to pyJWT

* fix: Rebase and fix pipfile.lock
)

* Adding DR ECR

* extra output

* fixed region
…#1616)

* Changes Score class allowing two new arguments:  scoring_type and sucale_name and verifies that data is saved into the DataBase, then retriving it when create_report is executed. 
* Fixed issues with SinglePayload class and adjusted tests accordingly.
* update ScoringType definition using new python 11 convention with enum.StrEnum
* Fixed test and types
@mbanting mbanting requested review from ChaconC and rcmerlo October 29, 2024 13:45
@mbanting
Copy link
Contributor Author

7b88356 was required due to previous week's squash merge to prod.

Copy link

github-actions bot commented Oct 29, 2024

➡️ Preview environment failed to be destroyed

Copy link

github-actions bot commented Oct 29, 2024

✅ E2E tests passed!

This PR updates the applet validation logic to allow items of type `NUMBERSELECT` to be included in the report or section printed items.
@mbanting mbanting merged commit a348544 into main Nov 6, 2024
17 of 25 checks passed
@mbanting mbanting changed the title Release/1.8.1 Release/1.8.1 [main] Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants