Skip to content

feat: adding new activity configuration #4794

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

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

samuelsonbrito
Copy link
Contributor

@samuelsonbrito samuelsonbrito commented Apr 8, 2025

Activity Settings Page:

image

Related Issue

Issue Number: #2618

Pull Request Type

  • Feature

Pull request checklist

@samuelsonbrito samuelsonbrito added the feature-request New feature request label Apr 8, 2025
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Apr 8, 2025
@samuelsonbrito samuelsonbrito requested a review from Any97Cris April 8, 2025 00:05
@samuelsonbrito samuelsonbrito force-pushed the feat/notify-on-document-signed branch from 581f582 to 562a62d Compare April 8, 2025 00:08
@samuelsonbrito samuelsonbrito self-assigned this Apr 8, 2025
@samuelsonbrito samuelsonbrito marked this pull request as draft April 8, 2025 00:12
@github-project-automation github-project-automation bot moved this from 0. Needs triage to 1. to do in Roadmap Apr 8, 2025
@samuelsonbrito samuelsonbrito changed the title feat: Adding new activity configuration feat: adding new activity configuration May 6, 2025
@samuelsonbrito samuelsonbrito requested a review from vitormattos May 6, 2025 21:14
@samuelsonbrito
Copy link
Contributor Author

I'm making progress toward completing the activity trigger. I’ve added a direct trigger with mocked data just to verify that the trigger works correctly. Now, I’ll remove the mocked data and replace it with real data using the signature object.

@samuelsonbrito
Copy link
Contributor Author

Trigger activity:

image

@samuelsonbrito samuelsonbrito force-pushed the feat/notify-on-document-signed branch 3 times, most recently from 98849c1 to 064a068 Compare May 10, 2025 06:11
@samuelsonbrito
Copy link
Contributor Author

Trigger notification:

image

@samuelsonbrito
Copy link
Contributor Author

Send an email:

image

image

Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
@samuelsonbrito samuelsonbrito force-pushed the feat/notify-on-document-signed branch from ca7347e to dc72ad4 Compare May 15, 2025 15:06
samuelsonbrito and others added 8 commits May 15, 2025 12:49
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
The right way to match if have any occurrency of a jq sentence that
return true, is using the function any. The previous sentence was
matching all items and was returning many boolean values as output of jq
command. The any function return only the first true value.

Signed-off-by: Vitor Mattos <vitor@php.rio>
The most generic type that this class implement is Event and the before
type is most specific. Here we need a most generic type.

Signed-off-by: Vitor Mattos <vitor@php.rio>
This will make more easy to add new activities.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos self-requested a review May 16, 2025 16:26
@vitormattos vitormattos marked this pull request as ready for review May 16, 2025 16:26
The action trigged by notify_unsigned_user now is the same as
activity, notify_email_libresign_file_to_sign.

Signed-off-by: Vitor Mattos <vitor@php.rio>
This scenario only validate the signature with password

Signed-off-by: Vitor Mattos <vitor@php.rio>
This scenario don't validate email routines

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
If admin disable this setting, the user can enable and to don't have a
wrong result at this scenario, is necessary to toggle the user settings
to be compliance with scenario purpose.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request
Projects
Status: 1. to do
Development

Successfully merging this pull request may close these issues.

2 participants