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

Notify users on new submissions for shared forms #1496

Merged
merged 2 commits into from Oct 6, 2023

Conversation

susnux
Copy link
Collaborator

@susnux susnux commented Feb 11, 2023

Allows users to receive notifications for new submissions of shared forms, meaning forms of which the user has results permissions.
Currently only the owner is notified but not other users.

Use cases: Not only you but the whole team should be informed of new submissions.

I have added a new notification setting / type for this, so users can disable e.g. mail notifications for shared forms but still get them for their own forms.

@susnux susnux added enhancement New feature or request php PHP related ticket 3. to review Waiting for reviews feature: 📊 responses & statistics labels Feb 11, 2023
@codecov
Copy link

codecov bot commented Feb 11, 2023

Codecov Report

Merging #1496 (2afddc0) into main (3554e47) will increase coverage by 0.44%.
The diff coverage is 95.12%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1496      +/-   ##
============================================
+ Coverage     42.12%   42.57%   +0.44%     
- Complexity      570      581      +11     
============================================
  Files            55       56       +1     
  Lines          2381     2403      +22     
============================================
+ Hits           1003     1023      +20     
- Misses         1378     1380       +2     

@susnux susnux added this to the 3.3 milestone Mar 7, 2023
lib/Service/FormsService.php Show resolved Hide resolved
lib/Activity/ActivityManager.php Show resolved Hide resolved
tests/Unit/Activity/ActivityManagerTest.php Outdated Show resolved Hide resolved
@Chartman123 Chartman123 modified the milestones: 3.3, 3.4 May 22, 2023
@susnux susnux force-pushed the feat/notify-shared-forms branch 2 times, most recently from 8224976 to 6185383 Compare September 20, 2023 14:29
@susnux susnux force-pushed the feat/notify-shared-forms branch 2 times, most recently from 12ceaa2 to ed05842 Compare September 29, 2023 13:56
Copy link
Collaborator

@Chartman123 Chartman123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :) Just fix the failing workflows and then we can get this merged.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
@susnux susnux force-pushed the feat/notify-shared-forms branch 2 times, most recently from 4dc29e4 to def3432 Compare October 6, 2023 16:32
Also move activity creation from controller into service.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
@Chartman123 Chartman123 merged commit 1204497 into main Oct 6, 2023
22 checks passed
@Chartman123 Chartman123 deleted the feat/notify-shared-forms branch October 6, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: 📊 responses & statistics php PHP related ticket
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants