-
Notifications
You must be signed in to change notification settings - Fork 5
Placeholder PR from Valley Health #438
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
Draft
christopherpickering
wants to merge
44
commits into
atlas-bi:main
Choose a base branch
from
ValleyMedicalCenter:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
edbbe09
Valley updates (#1)
paysni bc1a8d1
Merge branch 'atlas-bi:main' into main
paysni 4c27124
Infor connection add (#2)
paysni 9a4cefc
Infor connection add (#3)
paysni 6e01283
Merge remote-tracking branch 'Atlas-source/main'
paysni 62d7af1
fix differences between this and main
paysni 650ecff
More changes to match source
paysni 02f5ffd
smtp fixes
paysni d0ba434
added Path. Didn't work without it.
paysni 98eac66
typo in app.get
paysni e8621cb
Update Pyodbc and rollup versions
paysni 22b28f8
Remove auto checkbox to take ownership (#5)
paysni 8a2da15
Scheduler updates (#6)
paysni b0672cf
General Fixes (#7)
paysni 973010d
Multiple Bug fixes and code cleanup (#8)
paysni 4fc9198
Tasks sequence update (#9)
paysni 9edae10
Add Office365 to the package_map for imports (#10)
paysni 30945f7
Job hanging fix (#11)
paysni e0d7750
Cron schedule fix (#12)
marnye 4004dc9
Update packages and fix DST interval (#13)
paysni dff6430
Merge branch 'atlas-bi:main' into main
paysni d07292b
Quote char fix (#14)
paysni c60916a
Updated the reference from i.fas to span.fas to match the prior PR.
marnye 160f3cf
Merge pull request #15 from ValleyMedicalCenter/HiddenTaskParameter
marnye f2f594e
Give option to not back up files (#16)
paysni 001f38a
Update destination details to not show information if file type is No…
paysni dffb17d
Smb conversions (#18)
paysni 2986f13
Smb Connection Fixes (#19)
paysni 2671a5c
Smb updates bug fixes 2 (#20)
paysni 56830e2
Add Subfolders optional for SMB (#21)
paysni 89a05b7
fix(em_smb.py): fix potential issue if connection path is None (#22)
paysni 9662efc
Formatting fix (#23)
paysni ac67835
Initial Commit
echeshier 7d4a7a4
Updating the encoding to UTF-8 not sure how it was UTF-16
echeshier 1db2ad8
Adding save button to the top thingy
echeshier cbc5a3a
cleaning up buttons
echeshier 0d7697d
Trying to center it better still
echeshier cd69650
buttons again
echeshier cd94c5e
best practices
echeshier 2771e50
formatting
echeshier 8e5c271
adding back the sensitive value to task.js
echeshier ff01877
trying another fix
echeshier 497f3be
reverting back to an older version with just the sticky header update…
echeshier 21f90d3
Merge pull request #24 from ValleyMedicalCenter/feature/task-edit-sav…
echeshier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,6 @@ branch = True | |
| [report] | ||
| omit = | ||
| */confi_text.py | ||
| */smb_fix.py | ||
| */flask_simpleldap.py | ||
| */seed.py | ||
| */tests/* | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 2.12.3 | ||
| 3.5.3 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |
| """All prod configuration set here. For dev there are overrides below.""" | ||
|
|
||
| # pylint: disable=too-few-public-methods | ||
| # ruff: noqa: RUF012 | ||
|
|
||
| ALLOWED_HOSTS = ["*", "localhost"] | ||
|
|
||
|
|
@@ -244,7 +245,7 @@ | |
| """ | ||
|
|
||
| DEVOPS_URL = "https://dev.azure.com/orgname/" | ||
| DEVOPS_TOKEN = r"token" | ||
| DEVOPS_TOKEN = r"token" # noqa: S105 | ||
|
|
||
| """ | ||
| Default SQL Connection Settings | ||
|
|
@@ -260,7 +261,6 @@ | |
|
|
||
| SMB_USERNAME = "username" | ||
| SMB_PASSWORD = "password" # noqa: S105 | ||
| SMB_SERVER_IP = "10.0.0.0" | ||
| SMB_SERVER_NAME = "servername" | ||
| SMB_DEFAULT_SHARE = "BackupShare" | ||
|
|
||
|
|
@@ -324,6 +324,8 @@ | |
|
|
||
|
|
||
| class DemoConfig(Config): | ||
| """Configuration for a demo.""" | ||
|
|
||
| DEBUG = False | ||
| DEMO = True | ||
| AUTH_METHOD = "DEV" | ||
|
|
@@ -348,8 +350,8 @@ | |
| # pylint: disable=too-few-public-methods | ||
| SQLALCHEMY_DATABASE_URI = os.environ.get( | ||
| "DATABASE_URL", | ||
| "postgresql+psycopg2://postgres@localhost/atlas_hub_scrap_test" | ||
| "postgresql+psycopg2://postgres@localhost/atlas_hub_scrap_test", | ||
|
||
| # "sqlite:///../test.sqlite", | ||
| ).replace("postgres://", "postgresql://") | ||
|
|
||
| SQLALCHEMY_ENGINE_OPTIONS: dict = {} | ||
|
|
@@ -371,9 +373,9 @@ | |
|
|
||
| # docker run -p 22:22 -d emberstack/sftp --name sftp | ||
| SFTP_SERVER_USER = "demo" | ||
| SFTP_SERVER_PASS = "demo" | ||
| SFTP_SERVER_PASS = "demo" # noqa: S105 | ||
|
|
||
| # docker run -d --name ftpd_server -p 21:21 onekilo79/ftpd_test | ||
| # docker run -d --name ftpd_server -p 21:21 -p 30000-30009:30000-30009 -e FTP_USER_NAME=demo -e FTP_USER_PASS=demo -e FTP_USER_HOME=/home/demo -e "PUBLICHOST=localhost" -e "ADDED_FLAGS=-d -d" stilliard/pure-ftpd | ||
| FTP_SERVER_USER = "demo" | ||
| FTP_SERVER_PASS = "demo" | ||
| FTP_SERVER_PASS = "demo" # noqa: S105 | ||
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 @@ | ||
| import globals from "globals"; | ||
| import path from "node:path"; | ||
| import { fileURLToPath } from "node:url"; | ||
| import js from "@eslint/js"; | ||
| import { FlatCompat } from "@eslint/eslintrc"; | ||
|
|
||
| const __filename = fileURLToPath(import.meta.url); | ||
| const __dirname = path.dirname(__filename); | ||
| const compat = new FlatCompat({ | ||
| baseDirectory: __dirname, | ||
| recommendedConfig: js.configs.recommended, | ||
| allConfig: js.configs.all | ||
| }); | ||
|
|
||
| export default [{ | ||
| ignores: [ | ||
| "web/static/**/*.min.*", | ||
| "node_modules/*", | ||
| "**/.mypy_cache", | ||
| "**/.pytest_cache", | ||
| "**/.tox", | ||
| "web/static/lib/*", | ||
| "web/static/fonts/*", | ||
| "web/static/css/*", | ||
| ], | ||
| }, ...compat.extends("eslint:recommended"), { | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.browser, | ||
| CodeMirror: "readonly", | ||
| flatpickr: "readonly", | ||
| }, | ||
|
|
||
| ecmaVersion: 12, | ||
| sourceType: "script", | ||
| }, | ||
|
|
||
| rules: {}, | ||
| }]; |
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 |
|---|---|---|
| @@ -1,56 +1,100 @@ | ||
| import gulp from 'gulp'; | ||
| import pkg from 'gulp'; | ||
| const { src, dest, task, parallel,series } = pkg; | ||
| import autoprefexer from 'gulp-autoprefixer'; | ||
| import * as dartSass from 'sass'; | ||
| import gulpSass from 'gulp-sass'; | ||
| const sass = gulpSass(dartSass); | ||
|
|
||
| import postcss from 'gulp-postcss'; | ||
| import replace from 'gulp-replace'; | ||
| import fontawesomeSubset from 'fontawesome-subset'; | ||
| import {fontawesomeSubset} from 'fontawesome-subset'; | ||
| import {deleteSync} from 'del'; | ||
| import purgecss from 'gulp-purgecss'; | ||
| import cssnano from 'gulp-cssnano'; | ||
| import cssnano from 'cssnano'; | ||
|
|
||
| gulp.task('font:inter', function() { | ||
| return gulp.src('node_modules/@fontsource/inter/**/*').pipe(replace(/\.\/files\//g, '/static/fonts/inter/files/')).pipe(gulp.dest('web/static/fonts/inter')) | ||
| task('font:inter', function() { | ||
| return src('node_modules/@fontsource-variable/inter/**/*', { removeBOM: false }) | ||
| .pipe(replace(/\.\/files\//g, '/static/fonts/inter/files/')) | ||
| .pipe(dest('web/static/fonts/inter')) | ||
| }); | ||
|
|
||
| gulp.task('font:rasa', function() { | ||
| return gulp.src('node_modules/@fontsource/rasa/**/*').pipe(replace(/\.\/files\//g, '/static/fonts/rasa/files/')).pipe(gulp.dest('web/static/fonts/rasa')) | ||
| task('font:rasa', function() { | ||
| return src('node_modules/@fontsource-variable/rasa/**/*', { removeBOM: false }) | ||
| .pipe(replace(/\.\/files\//g, '/static/fonts/rasa/files/')) | ||
| .pipe(dest('web/static/fonts/rasa')) | ||
| }); | ||
|
|
||
|
|
||
| gulp.task('fontawesome', function(done) { | ||
| task('fontawesome', function(done) { | ||
| deleteSync('web/static/fonts/fontawesome/webfonts', {force:true}); | ||
| fontawesomeSubset.fontawesomeSubset({ | ||
| fontawesomeSubset({ | ||
| regular:['circle-play', 'circle-question'], | ||
| solid: ['triangle-exclamation', 'angle-down', 'circle-pause', 'right-to-bracket', 'users','eye', 'eye-slash', 'arrow-up-right-from-square', 'calendar', 'circle-stop','circle-question', 'circle-notch','circle-xmark', 'circle-check', 'angle-right', 'file-arrow-down', 'circle-info', 'magnifying-glass', 'pen-to-square', 'trash', 'delete-left', 'sort', 'terminal', 'list', 'ban', 'toggle-on', 'toggle-off', 'plus', 'rotate', 'download', 'copy', 'check'] | ||
| solid: ['triangle-exclamation' | ||
| , 'angle-down' | ||
| , 'circle-pause' | ||
| , 'right-to-bracket' | ||
| , 'users' | ||
| , 'eye' | ||
| , 'eye-slash' | ||
| , 'arrow-up-right-from-square' | ||
| , 'calendar' | ||
| , 'circle-stop' | ||
| , 'circle-question' | ||
| , 'circle-notch' | ||
| , 'circle-xmark' | ||
| , 'circle-check' | ||
| , 'angle-right' | ||
| , 'file-arrow-down' | ||
| , 'circle-info' | ||
| , 'magnifying-glass' | ||
| , 'pen-to-square' | ||
| , 'trash' | ||
| , 'delete-left' | ||
| , 'sort' | ||
| , 'terminal' | ||
| , 'list' | ||
| , 'ban' | ||
| , 'toggle-on' | ||
| , 'toggle-off' | ||
| , 'plus' | ||
| , 'rotate' | ||
| , 'download' | ||
| , 'copy' | ||
| , 'check'] | ||
| }, 'web/static/fonts/fontawesome/webfonts') | ||
|
|
||
| done(); | ||
| }); | ||
|
|
||
| gulp.task('sass', function() { | ||
| return gulp.src("web/static/assets/**/*.scss") | ||
| task('sass', function() { | ||
| const plugins = [ | ||
| cssnano({ | ||
| preset: ['default', { discardComments: false }], | ||
| }), | ||
| ]; | ||
| return src("web/static/assets/**/*.scss") | ||
| .pipe(sass().on('error', sass.logError)) | ||
| .pipe(postcss(plugins)) | ||
| .pipe( | ||
| purgecss({ | ||
| content: ['web/static/lib/**/*.js', 'web/static/js/**/*.js', 'web/templates/**/*.html.j2', 'runner/templates/**/*.html.j2', 'scheduler/templates/**/*.html.j2'], | ||
| safelist: ['has-text-success', 'mr-3', 'has-text-warning'], | ||
| whitelist: ['has-text-success', 'mr-3', 'has-text-warning'] | ||
| content: ['web/static/lib/**/*.js' | ||
| , 'web/static/js/**/*.js' | ||
| , 'web/templates/**/*.html.j2' | ||
| , 'runner/templates/**/*.html.j2' | ||
| , 'scheduler/templates/**/*.html.j2' | ||
| , 'web/web/*.py'], | ||
| safelist: [], | ||
| whitelist: [] | ||
| }) | ||
| ) | ||
| .pipe(autoprefexer({ | ||
| overrideBrowserslist: ['last 2 versions'] | ||
| })) | ||
| .pipe(cssnano()) | ||
| .pipe(gulp.dest('web/static/css/')) | ||
| .pipe(autoprefexer()) | ||
| .pipe(dest('web/static/css/')) | ||
| }); | ||
|
|
||
| gulp.task('build', gulp.parallel('font:inter','font:rasa', gulp.series('fontawesome','sass'))); | ||
| task('build', parallel('font:inter','font:rasa', series('fontawesome','sass'))); | ||
|
|
||
| gulp.task('watch', gulp.series('build', function (cb) { | ||
| gulp.watch('web/static/assets/**/*.scss', gulp.series('sass')); | ||
| gulp.watch('web/fonts/fontawesome/**/*.scss', gulp.series('fontawesome','sass')); | ||
| gulp.watch('web/**/*.html*', gulp.series('fontawesome', 'sass')); | ||
| task('watch', series('build', function (cb) { | ||
| watch('web/static/assets/**/*.scss', series('sass')); | ||
| watch('web/fonts/fontawesome/**/*.scss', series('fontawesome','sass')); | ||
| watch('web/**/*.html*', series('fontawesome', 'sass')); | ||
| cb(); | ||
| })); |
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.
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.