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

Redaction Summary Page - Response Package & Redline #5092

Merged
merged 31 commits into from
Feb 26, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4f9f290
Merge branch 'main' into dev-marshal-AS-4680-merge
aparna-aot Nov 22, 2023
8e87657
Merge pull request #4767 from bcgov/dev-marshal-AS-4680-merge
aparna-aot Nov 23, 2023
001efd9
Update notification refactoring
Nov 30, 2023
f1bd6a0
statusEnum and migrationscript changes
Nov 24, 2023
4256c27
stateEnum changes to FE and BE
Nov 27, 2023
21ce0b5
mute notifications for mcf #4548
richard-aot Nov 27, 2023
22dbb36
env variable for mute notification
richard-aot Nov 28, 2023
174b352
Update crypto-js and remove jsonwebtoken
milosdes Nov 16, 2023
368808e
Package-lock
milosdes Nov 16, 2023
5b4c845
Fix indent
milosdes Nov 21, 2023
aef2e18
Remove whitespace
milosdes Nov 21, 2023
5cccd94
Remove whitespace
milosdes Nov 21, 2023
f4aec89
allow assignment to processing teams for personal requests before ope…
nkan-aot Nov 17, 2023
b8ec752
bug fix:
richard-aot Nov 29, 2023
0fbb073
add mute to notification manager
richard-aot Nov 29, 2023
7fed7ec
bug fix:
richard-aot Nov 29, 2023
60a5664
fix codesmell
richard-aot Nov 29, 2023
dfc1fec
bug fix
richard-aot Nov 30, 2023
c9e3a6e
bug fix
richard-aot Nov 30, 2023
ec15817
bug fix and code cleanup
richard-aot Nov 30, 2023
3614b19
Refacoring status labels for notifications
Dec 11, 2023
7cc53d8
Merge pull request #4861 from bcgov/dev-shiva-4707-marshal
antsand Dec 11, 2023
ff47792
Revert "Dev shiva 4707 marshal"
divyav-aot Dec 11, 2023
a47862f
Merge pull request #4866 from bcgov/revert-4861-dev-shiva-4707-marshal
divyav-aot Dec 11, 2023
dd666e9
Merge branch 'main' into dev-marshal-DV-merge-main
Jan 19, 2024
e3a2c85
Merge pull request #5016 from bcgov/dev-marshal-DV-merge-main
divyav-aot Jan 19, 2024
760ea24
Migration script for new document templates- redaction summary
aparna-aot Feb 5, 2024
dae073c
Merge pull request #5047 from bcgov/dev-marshal-AS-4975
aparna-aot Feb 9, 2024
921fe10
Merge branch 'main' into dev-marshal-AS-4975
aparna-aot Feb 9, 2024
b5e4674
Merge pull request #5059 from bcgov/dev-marshal-AS-4975
aparna-aot Feb 9, 2024
09f433b
Merge pull request #5091 from bcgov/dev
aparna-aot Feb 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions request-management-api/migrations/versions/932d6dae5570_.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"""empty message

Revision ID: 932d6dae5570
Revises: b4da31675bd0
Create Date: 2024-02-05 14:00:56.263099

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql

# revision identifiers, used by Alembic.
revision = '932d6dae5570'
down_revision = 'b4da31675bd0'
branch_labels = None
depends_on = None


def upgrade():
op.execute('insert into public."DocumentTypes"(document_type_name, description) VALUES (\'redline_redaction_summary\', \'Word template for redline redaction summary pdf\');commit;')
op.execute('insert into public."DocumentTypes"(document_type_name, description) VALUES (\'responsepackage_redaction_summary\', \'Word template for response package redaction summary pdf\');commit;')

op.execute('insert into public."DocumentTemplates"(extension, document_type_id) VALUES (\'docx\', (select document_type_id from public."DocumentTypes" where document_type_name=\'redline_redaction_summary\'));commit;')
op.execute('insert into public."DocumentTemplates"(extension, document_type_id) VALUES (\'docx\', (select document_type_id from public."DocumentTypes" where document_type_name=\'responsepackage_redaction_summary\'));commit;')

def downgrade():
op.execute('delete from public."DocumentTypes" where document_type_name = \'redline_redaction_summary\'')
op.execute('delete from public."DocumentTypes" where document_type_name = \'responsepackage_redaction_summary\'')

op.execute('delete from public."DocumentTemplates" where document_type_id = (select document_type_id from public."DocumentTypes" where document_type_name=\'redline_redaction_summary\')')
op.execute('delete from public."DocumentTemplates" where document_type_id = (select document_type_id from public."DocumentTypes" where document_type_name=\'responsepackage_redaction_summary\')')

Loading