forked from atlas-bi/Hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sftp): added option for sftp connections with key and password a…
…uth combined
- Loading branch information
1 parent
b7dbe51
commit f267813
Showing
309 changed files
with
1,766 additions
and
1,186 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"""empty message | ||
Revision ID: 6b8978d637c5 | ||
Revises: 0fe33867bdbf | ||
Create Date: 2023-08-03 12:53:03.650434 | ||
""" | ||
import sqlalchemy as sa | ||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '6b8978d637c5' | ||
down_revision = '0fe33867bdbf' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('connection_sftp', schema=None) as batch_op: | ||
batch_op.add_column(sa.Column('key_password', sa.Text(), nullable=True)) | ||
|
||
# ### end Alembic commands ### | ||
|
||
# move passwords on connections that have a key into the key_password field and clear the | ||
# password field. | ||
op.execute('update connection_sftp set key_password=password where key is not null') | ||
op.execute('update connection_sftp set password=null where key is not null and key_password=password') | ||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('connection_sftp', schema=None) as batch_op: | ||
batch_op.drop_column('key_password') | ||
|
||
# ### end Alembic commands ### |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,69 @@ | ||
/* inter-cyrillic-ext-100-normal*/ | ||
/* inter-cyrillic-ext-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-cyrillic-ext-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-cyrillic-ext-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-cyrillic-ext-100-normal.woff) format('woff'); | ||
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; | ||
} | ||
/* inter-cyrillic-100-normal*/ | ||
|
||
/* inter-cyrillic-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-cyrillic-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-cyrillic-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-cyrillic-100-normal.woff) format('woff'); | ||
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; | ||
} | ||
/* inter-greek-ext-100-normal*/ | ||
|
||
/* inter-greek-ext-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-greek-ext-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-greek-ext-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-greek-ext-100-normal.woff) format('woff'); | ||
unicode-range: U+1F00-1FFF; | ||
} | ||
/* inter-greek-100-normal*/ | ||
|
||
/* inter-greek-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-greek-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-greek-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-greek-100-normal.woff) format('woff'); | ||
unicode-range: U+0370-03FF; | ||
} | ||
/* inter-vietnamese-100-normal*/ | ||
|
||
/* inter-vietnamese-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-vietnamese-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB; | ||
src: url(/static/fonts/inter/files/inter-vietnamese-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-vietnamese-100-normal.woff) format('woff'); | ||
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; | ||
} | ||
/* inter-latin-ext-100-normal*/ | ||
|
||
/* inter-latin-ext-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-latin-ext-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; | ||
src: url(/static/fonts/inter/files/inter-latin-ext-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-latin-ext-100-normal.woff) format('woff'); | ||
unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; | ||
} | ||
/* inter-latin-100-normal*/ | ||
|
||
/* inter-latin-100-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 100; | ||
src: url('/static/fonts/inter/files/inter-latin-100-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-100-normal.woff') format('woff'); | ||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; | ||
src: url(/static/fonts/inter/files/inter-latin-100-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-latin-100-normal.woff) format('woff'); | ||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; | ||
} |
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,63 +1,69 @@ | ||
/* inter-cyrillic-ext-200-normal*/ | ||
/* inter-cyrillic-ext-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-cyrillic-ext-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-cyrillic-ext-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-cyrillic-ext-200-normal.woff) format('woff'); | ||
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; | ||
} | ||
/* inter-cyrillic-200-normal*/ | ||
|
||
/* inter-cyrillic-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-cyrillic-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-cyrillic-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-cyrillic-200-normal.woff) format('woff'); | ||
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; | ||
} | ||
/* inter-greek-ext-200-normal*/ | ||
|
||
/* inter-greek-ext-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-greek-ext-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-greek-ext-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-greek-ext-200-normal.woff) format('woff'); | ||
unicode-range: U+1F00-1FFF; | ||
} | ||
/* inter-greek-200-normal*/ | ||
|
||
/* inter-greek-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-greek-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
src: url(/static/fonts/inter/files/inter-greek-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-greek-200-normal.woff) format('woff'); | ||
unicode-range: U+0370-03FF; | ||
} | ||
/* inter-vietnamese-200-normal*/ | ||
|
||
/* inter-vietnamese-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-vietnamese-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB; | ||
src: url(/static/fonts/inter/files/inter-vietnamese-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-vietnamese-200-normal.woff) format('woff'); | ||
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; | ||
} | ||
/* inter-latin-ext-200-normal*/ | ||
|
||
/* inter-latin-ext-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-latin-ext-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; | ||
src: url(/static/fonts/inter/files/inter-latin-ext-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-latin-ext-200-normal.woff) format('woff'); | ||
unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; | ||
} | ||
/* inter-latin-200-normal*/ | ||
|
||
/* inter-latin-200-normal */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-display: swap; | ||
font-weight: 200; | ||
src: url('/static/fonts/inter/files/inter-latin-200-normal.woff2') format('woff2'), url('/static/fonts/inter/files/inter-all-200-normal.woff') format('woff'); | ||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; | ||
src: url(/static/fonts/inter/files/inter-latin-200-normal.woff2) format('woff2'), url(/static/fonts/inter/files/inter-latin-200-normal.woff) format('woff'); | ||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; | ||
} |
Oops, something went wrong.