-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Support center] reopen closed Fogbugz cases (🗃️) #8482
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
Merged
matusdrobuliak66
merged 18 commits into
ITISFoundation:master
from
matusdrobuliak66:reopen-fogbugz-cases
Oct 13, 2025
+522
−147
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ed7d89c
first commit
matusdrobuliak66 4968583
work
matusdrobuliak66 4ab1ac2
work
matusdrobuliak66 2c58f19
retry functionality
matusdrobuliak66 af76e5f
pylint fix
matusdrobuliak66 c45e448
add test
matusdrobuliak66 27b9900
add test
matusdrobuliak66 8f9506f
Merge branch 'master' into reopen-fogbugz-cases
matusdrobuliak66 0521800
add OAS
matusdrobuliak66 71d8a8b
Merge branch 'reopen-fogbugz-cases' of github.com:matusdrobuliak66/os…
matusdrobuliak66 5d21ed6
remove timeout
matusdrobuliak66 5695693
improve comment
matusdrobuliak66 d8804e7
review @pcrespov
matusdrobuliak66 91884da
review @pcrespov
matusdrobuliak66 a762a27
Merge branch 'master' into reopen-fogbugz-cases
matusdrobuliak66 37b1ab2
final things requered by @odeimaiz
matusdrobuliak66 1234975
Merge branch 'master' into reopen-fogbugz-cases
matusdrobuliak66 70d9a03
Merge branch 'master' into reopen-fogbugz-cases
matusdrobuliak66 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
39 changes: 39 additions & 0 deletions
39
...e_postgres_database/migration/versions/a6289977e057_add_last_message_created_at_column.py
This file contains hidden or 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,39 @@ | ||
| """add last_message_created_at column | ||
|
|
||
| Revision ID: a6289977e057 | ||
| Revises: dfdd4f8d4870 | ||
| Create Date: 2025-10-13 08:39:24.912539+00:00 | ||
|
|
||
| """ | ||
|
|
||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "a6289977e057" | ||
| down_revision = "dfdd4f8d4870" | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column( | ||
| "conversations", | ||
| sa.Column( | ||
| "last_message_created_at", | ||
| sa.DateTime(timezone=True), | ||
| server_default=sa.text("now()"), | ||
| nullable=False, | ||
| ), | ||
| ) | ||
| # ### end Alembic commands ### | ||
|
|
||
| # Data migration: populate last_message_created_at with modified column values | ||
| op.execute("UPDATE conversations SET last_message_created_at = modified") | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_column("conversations", "last_message_created_at") | ||
| # ### end Alembic commands ### |
50 changes: 50 additions & 0 deletions
50
...ore_postgres_database/migration/versions/dfdd4f8d4870_add_read_by_user_support_columns.py
This file contains hidden or 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,50 @@ | ||
| """add read by user/support columns | ||
|
|
||
| Revision ID: dfdd4f8d4870 | ||
| Revises: 9dddb16914a4 | ||
| Create Date: 2025-10-10 12:07:12.014847+00:00 | ||
|
|
||
| """ | ||
|
|
||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "dfdd4f8d4870" | ||
| down_revision = "9dddb16914a4" | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column( | ||
| "conversations", sa.Column("fogbugz_case_id", sa.String(), nullable=True) | ||
| ) | ||
| op.add_column( | ||
| "conversations", | ||
| sa.Column( | ||
| "is_read_by_user", | ||
| sa.Boolean(), | ||
| server_default=sa.text("true"), | ||
| nullable=False, | ||
| ), | ||
| ) | ||
| op.add_column( | ||
| "conversations", | ||
| sa.Column( | ||
| "is_read_by_support", | ||
| sa.Boolean(), | ||
| server_default=sa.text("true"), | ||
| nullable=False, | ||
| ), | ||
| ) | ||
| # ### end Alembic commands ### | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_column("conversations", "is_read_by_support") | ||
| op.drop_column("conversations", "is_read_by_user") | ||
| op.drop_column("conversations", "fogbugz_case_id") | ||
| # ### end Alembic commands ### |
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.