-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/maintenance/remove_need_for_djan…
…gomessagesadapter' into test
- Loading branch information
Showing
18 changed files
with
165 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
from .activity_feed import ActivityAdapter | ||
from .base import AdapterBase | ||
from .django_messages import DjangoMessagesAdapter | ||
from .emails import EmailAdapter | ||
from .slack import SlackAdapter | ||
|
||
__all__ = [ | ||
"AdapterBase", | ||
"ActivityAdapter", | ||
"DjangoMessagesAdapter", | ||
"EmailAdapter", | ||
"SlackAdapter", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
hypha/apply/activity/migrations/0086_remove_django_messages_adapter.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Generated by Django 4.2.18 on 2025-01-20 14:59 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("activity", "0085_rename_paf"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="event", | ||
name="type", | ||
field=models.CharField( | ||
choices=[ | ||
("UPDATE_LEAD", "updated lead"), | ||
("BATCH_UPDATE_LEAD", "batch updated lead"), | ||
("EDIT_SUBMISSION", "edited submission"), | ||
("APPLICANT_EDIT", "edited applicant"), | ||
("NEW_SUBMISSION", "submitted new submission"), | ||
("DRAFT_SUBMISSION", "submitted new draft submission"), | ||
("SCREENING", "screened"), | ||
("TRANSITION", "transitioned"), | ||
("BATCH_TRANSITION", "batch transitioned"), | ||
("DETERMINATION_OUTCOME", "sent determination outcome"), | ||
("BATCH_DETERMINATION_OUTCOME", "sent batch determination outcome"), | ||
("INVITED_TO_PROPOSAL", "invited to proposal"), | ||
("REVIEWERS_UPDATED", "updated reviewers"), | ||
("BATCH_REVIEWERS_UPDATED", "batch updated reviewers"), | ||
("PARTNERS_UPDATED", "updated partners"), | ||
("PARTNERS_UPDATED_PARTNER", "partners updated partner"), | ||
("READY_FOR_REVIEW", "marked ready for review"), | ||
("BATCH_READY_FOR_REVIEW", "marked batch ready for review"), | ||
("NEW_REVIEW", "added new review"), | ||
("COMMENT", "added comment"), | ||
("PROPOSAL_SUBMITTED", "submitted proposal"), | ||
("OPENED_SEALED", "opened sealed submission"), | ||
("REVIEW_OPINION", "reviewed opinion"), | ||
("DELETE_SUBMISSION", "deleted submission"), | ||
("DELETE_REVIEW", "deleted review"), | ||
("DELETE_REVIEW_OPINION", "deleted review opinion"), | ||
("CREATED_PROJECT", "created project"), | ||
("UPDATE_PROJECT_LEAD", "updated project lead"), | ||
("UPDATE_PROJECT_TITLE", "updated project title"), | ||
("EDIT_REVIEW", "edited review"), | ||
("SEND_FOR_APPROVAL", "sent for approval"), | ||
("APPROVE_PROJECT", "approved project"), | ||
("ASSIGN_PAF_APPROVER", "assign project form approver"), | ||
("APPROVE_PAF", "approved project form"), | ||
("PROJECT_TRANSITION", "transitioned project"), | ||
("REQUEST_PROJECT_CHANGE", "requested project change"), | ||
("SUBMIT_CONTRACT_DOCUMENTS", "submitted contract documents"), | ||
("UPLOAD_DOCUMENT", "uploaded document to project"), | ||
("UPLOAD_CONTRACT", "uploaded contract to project"), | ||
("APPROVE_CONTRACT", "approved contract"), | ||
("CREATE_INVOICE", "created invoice for project"), | ||
("UPDATE_INVOICE_STATUS", "updated invoice status"), | ||
("APPROVE_INVOICE", "approve invoice"), | ||
("DELETE_INVOICE", "deleted invoice"), | ||
("SENT_TO_COMPLIANCE", "sent project to compliance"), | ||
("UPDATE_INVOICE", "updated invoice"), | ||
("SUBMIT_REPORT", "submitted report"), | ||
("SKIPPED_REPORT", "skipped report"), | ||
("REPORT_FREQUENCY_CHANGED", "changed report frequency"), | ||
("DISABLED_REPORTING", "disabled reporting"), | ||
("REPORT_NOTIFY", "notified report"), | ||
("REVIEW_REMINDER", "reminder to review"), | ||
("BATCH_DELETE_SUBMISSION", "batch deleted submissions"), | ||
("BATCH_ARCHIVE_SUBMISSION", "batch archive submissions"), | ||
("BATCH_INVOICE_STATUS_UPDATE", "batch update invoice status"), | ||
("STAFF_ACCOUNT_CREATED", "created new account"), | ||
("STAFF_ACCOUNT_EDITED", "edited account"), | ||
("ARCHIVE_SUBMISSION", "archived submission"), | ||
("UNARCHIVE_SUBMISSION", "unarchived submission"), | ||
("REMOVE_TASK", "remove task"), | ||
], | ||
max_length=50, | ||
verbose_name="verb", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.