-
Notifications
You must be signed in to change notification settings - Fork 537
feat: Sync applied controls to their reference control #2897
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Generated by Django 5.2.7 on 2025-11-18 15:18 | ||
|
|
||
| import django.db.models.deletion | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('core', '0114_asset_dora_criticality_assessment_and_more'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name='appliedcontrol', | ||
| name='is_synced_from_reference_control', | ||
| field=models.BooleanField(default=True, verbose_name='Is synced from reference control'), | ||
| ), | ||
| migrations.AlterField( | ||
| model_name='appliedcontrol', | ||
| name='reference_control', | ||
| field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='applied_controls', to='core.referencecontrol', verbose_name='Reference Control'), | ||
| ), | ||
| ] | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -209,7 +209,7 @@ | |||||
| "strengthOfKnowledge": "Strength of knowledge", | ||||||
| "dueDate": "Due date", | ||||||
| "startDate": "Start date", | ||||||
| "endDate": "End date", | ||||||
| "endDate": "End Date", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep sentence case for labels to match “Start date”. - "endDate": "End Date",
+ "endDate": "End date",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| "attachment": "Attachment", | ||||||
| "observation": "Observation", | ||||||
| "observationHelpText": "Additional notes and comments in markdown format", | ||||||
|
|
@@ -930,7 +930,6 @@ | |||||
| "timeline": "Timeline", | ||||||
| "timelineEntries": "Timeline", | ||||||
| "graph": "Graph", | ||||||
| "startDate": "Start date", | ||||||
| "startDateHelpText": "Start date (useful for timeline)", | ||||||
| "backupLoadingError": "An error occurred while loading the backup.", | ||||||
| "backupVersionError": "Can't load the backup, the version of the backup is invalid", | ||||||
|
|
@@ -1695,7 +1694,6 @@ | |||||
| "month": "Month", | ||||||
| "months": "Months", | ||||||
| "year": "Year", | ||||||
| "endDate": "End Date", | ||||||
| "pending": "Pending", | ||||||
| "completed": "Completed", | ||||||
| "cancelled": "Cancelled", | ||||||
|
|
@@ -2670,5 +2668,7 @@ | |||||
| "doraAlternativeProviders": "Alternative Providers", | ||||||
| "doraAttributes": "DORA Attributes", | ||||||
| "doraAssessment": "DORA Assessment", | ||||||
| "moreOnTerminologiesHelpText": "Hint: more options can be defined through terminologies" | ||||||
| "moreOnTerminologiesHelpText": "Hint: more options can be defined through terminologies", | ||||||
| "syncWithReferenceControl": "Sync with reference controls", | ||||||
| "syncWithReferenceControlHelpText": "Updates fields on reference control update." | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -948,5 +948,7 @@ | |||||||||||||
| "samlAuthnRequestSignedHelpText": "जब सक्षम किया जाता है, तो SAML प्रमाणीकरण अनुरोध नीचे दिए गए निजी कुंजी के साथ हस्ताक्षरित किया जाता है। संबंधित सार्वजनिक सर्टिफिकेट को पहचान प्रदाता को भेजा जाता है ताकि यह हस्ताक्षर की पुष्टि कर सके।", | ||||||||||||||
| "downloadCertificate": "सर्टिफिकेट डाउनलोड करें", | ||||||||||||||
| "viewMore": "और देखें", | ||||||||||||||
| "viewLess": "कम देखें" | ||||||||||||||
| "viewLess": "कम देखें", | ||||||||||||||
| "syncWithReferenceControl": "संदर्भ नियंत्रणों के साथ सिंक करें", | ||||||||||||||
| "syncWithReferenceControlHelpText": "संदर्भ नियंत्रण अपडेट होने पर फ़ील्ड अपडेट करता है।" | ||||||||||||||
| } | ||||||||||||||
|
Comment on lines
+952
to
954
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pluralization nit: use “फ़ील्ड्स” for “fields”. - "syncWithReferenceControlHelpText": "संदर्भ नियंत्रण अपडेट होने पर फ़ील्ड अपडेट करता है।"
+ "syncWithReferenceControlHelpText": "संदर्भ नियंत्रण अपडेट होने पर फ़ील्ड्स अपडेट करता है।"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -979,5 +979,7 @@ | |||||||||||||
| "samlAuthnRequestSignedHelpText": "Ha engedélyezve van, a SAML hitelesítési kérelem aláírva lesz az alábbi privát kulccsal. A megfelelő nyilvános tanúsítvány elküldve lesz az Azonosítószolgáltatónak, hogy ellenőrizhesse az aláírást.", | ||||||||||||||
| "downloadCertificate": "Tanúsítvány letöltése", | ||||||||||||||
| "viewMore": "Több megjelenítése", | ||||||||||||||
| "viewLess": "Kevesebb megjelenítése" | ||||||||||||||
| "viewLess": "Kevesebb megjelenítése", | ||||||||||||||
| "syncWithReferenceControl": "Szinkronizálás a referenciaellenőrzésekkel", | ||||||||||||||
| "syncWithReferenceControlHelpText": "Frissíti a mezőket a referenciaellenőrzés frissítésekor." | ||||||||||||||
|
Comment on lines
+982
to
+984
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Terminology consistency: use “kontroll” (not “ellenőrzés”) Elsewhere in this file you use “Referencia kontrollok”. Align these new strings to the same term. - "syncWithReferenceControl": "Szinkronizálás a referenciaellenőrzésekkel",
- "syncWithReferenceControlHelpText": "Frissíti a mezőket a referenciaellenőrzés frissítésekor."
+ "syncWithReferenceControl": "Szinkronizálás a referencia kontrollokkal",
+ "syncWithReferenceControlHelpText": "Frissíti a mezőket a referencia kontroll frissítésekor."📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
| } | ||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.