-
Notifications
You must be signed in to change notification settings - Fork 1.9k
doc sync celery refactor #3084
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
Merged
doc sync celery refactor #3084
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
dd82e37
doc_sync is refactored
hagen-danswer cab3ab4
maybe this works
hagen-danswer cfc6582
tested to work!
hagen-danswer 979b68d
mypy fixes
hagen-danswer 4f47bd5
enabled integration tests
hagen-danswer dcf4d7c
fixed the test
hagen-danswer f2cc0a0
Merge branch 'main' into refactor-perm-sync
hagen-danswer c439ed7
added external group sync
hagen-danswer da4b106
testing should work now
hagen-danswer e74fef0
mypy
hagen-danswer 65a64d2
confluence doc id fix
hagen-danswer ce8dee4
got group sync working
hagen-danswer 4a671bf
addressed feedback
hagen-danswer 168879e
renamed some vars and fixed mypy
hagen-danswer c63d8e7
conf fix?
hagen-danswer 5d0b796
added wiki handling to confluence connector
hagen-danswer 9405b5c
test fixes
hagen-danswer bd83ecc
revert google drive connector
hagen-danswer d814801
fixed groups
hagen-danswer 8ca3b01
hotfix
hagen-danswer 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
30 changes: 30 additions & 0 deletions
30
backend/alembic/versions/2daa494a0851_add_group_sync_time.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,30 @@ | ||
"""add-group-sync-time | ||
Revision ID: 2daa494a0851 | ||
Revises: c0fd6e4da83a | ||
Create Date: 2024-11-11 10:57:22.991157 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "2daa494a0851" | ||
down_revision = "c0fd6e4da83a" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.add_column( | ||
"connector_credential_pair", | ||
sa.Column( | ||
"last_time_external_group_sync", | ||
sa.DateTime(timezone=True), | ||
nullable=True, | ||
), | ||
) | ||
|
||
|
||
def downgrade() -> None: | ||
op.drop_column("connector_credential_pair", "last_time_external_group_sync") |
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
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
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.