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

Cosign improvements - part 3 #4887

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

sergei-maertens
Copy link
Member

Closes #4320

Changes

Updated the default cosign request email template, which we cannot do via a data migration without possibly destroying custom templates.

Checklist

Check off the items that are completed or not relevant.

  • Impact on features

    • Checked copying a form
    • Checked import/export of a form
    • Config checks in the configuration overview admin page
    • Problem detection in the admin email digest is handled
  • Release management

    • I have labelled the PR as "needs-backport" accordingly
  • I have updated the translations assets (you do NOT need to provide translations)

    • Ran ./bin/makemessages_js.sh
    • Ran ./bin/compilemessages_js.sh
  • Commit hygiene

    • Commit messages refer to the relevant Github issue
    • Commit messages explain the "why" of change, not the how

@sergei-maertens sergei-maertens marked this pull request as draft December 5, 2024 15:06
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.60%. Comparing base (26615d1) to head (6b7e21a).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4887   +/-   ##
=======================================
  Coverage   96.60%   96.60%           
=======================================
  Files         752      752           
  Lines       25809    25812    +3     
  Branches     3411     3412    +1     
=======================================
+ Hits        24932    24935    +3     
  Misses        613      613           
  Partials      264      264           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* Added better structure to the email
* Used simpler language for accessibility

Existing instances unfortunately do not automatically get this
improvement, they will have to edit their configuration.
…or not

This is necessary to display the right text on the cosign confirmation
page, as a form may have email confirmations disabled.
The PDF was including the cosign data/component for version 1 of cosign,
which is not compatible at all with v2 (see #4308), causing crashes.

Generally this doesn't matter since the PDF is generated right after
submission is received and before its cosigned, and we don't usually
need to re-generate it except during development.
@sergei-maertens sergei-maertens force-pushed the feature/4320-cosign-improvements-3 branch from 2ac376b to 6b7e21a Compare December 6, 2024 07:32
@sergei-maertens sergei-maertens merged commit 2084974 into master Dec 6, 2024
34 checks passed
@sergei-maertens sergei-maertens deleted the feature/4320-cosign-improvements-3 branch December 6, 2024 13:00
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.

Various co-sign improvements
2 participants