ositah 25.9.dev1__tar.gz → 25.9.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ositah might be problematic. Click here for more details.
- {ositah-25.9.dev1 → ositah-25.9.dev2}/.gitlab-ci.yml +2 -3
- {ositah-25.9.dev1/ositah.egg-info → ositah-25.9.dev2}/PKG-INFO +1 -1
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/export.py +6 -5
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/projects.py +1 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2/ositah.egg-info}/PKG-INFO +1 -1
- {ositah-25.9.dev1 → ositah-25.9.dev2}/pyproject.toml +1 -1
- {ositah-25.9.dev1 → ositah-25.9.dev2}/.gitignore +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/LICENSE +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/README.md +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/docker/Dockerfile +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/docker/docker-compose.yml +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/docker/pyproject-poetry.toml +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/gunicorn.config/README.md +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/gunicorn.config/gunicorn.ositah +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/gunicorn.config/gunicorn@.service +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/gunicorn.config/ositah.conf.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/noxfile.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/__init__.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/app.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/__init__.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/analysis.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/configuration/__init__.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/configuration/callbacks.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/configuration/main.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/configuration/parameters.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/configuration/tools.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/__init__.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/callbacks.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/main.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/parameters.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/tables.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/apps/validation/tools.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/assets/arrow_down_up.svg +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/assets/ositah.css +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/assets/sort_ascending.svg +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/assets/sort_descending.svg +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/assets/sorttable.js +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/main.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/ositah.example.cfg +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/static/style.css +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/templates/base.html +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/templates/bootstrap_login.html +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/templates/login_form.html +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/__init__.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/agents.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/authentication.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/cache.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/core.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/exceptions.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/hito_db.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/hito_db_model.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/menus.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/period.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/teams.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah/utils/utils.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah.egg-info/SOURCES.txt +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah.egg-info/dependency_links.txt +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah.egg-info/entry_points.txt +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah.egg-info/requires.txt +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/ositah.egg-info/top_level.txt +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/setup.cfg +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/setup.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/README.md +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/accordion.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/authentication.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/checkbox.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/checklist.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/file-selector.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/file-upload.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/long_running_callback.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/pandas_split.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/pandas_split_bug_report.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/pattern-matching-callback.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/progess_bar.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/reset_table_checkboxes.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/sortable_table.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/sqlalchemy_test.py +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/templates/base.html +0 -0
- {ositah-25.9.dev1 → ositah-25.9.dev2}/test-dash/templates/login_form.html +0 -0
|
@@ -9,7 +9,6 @@ build:
|
|
|
9
9
|
- python -m venv .venv
|
|
10
10
|
- . .venv/bin/activate
|
|
11
11
|
- python -m ensurepip
|
|
12
|
-
- pip install nox pyproject
|
|
12
|
+
- pip install nox validate-pyproject consolekit
|
|
13
13
|
- nox -s lint
|
|
14
|
-
- pyproject
|
|
15
|
-
- pyproject-parser reformat
|
|
14
|
+
- validate-pyproject pyproject.toml
|
|
@@ -1096,7 +1096,8 @@ def nsip_export_button(n_clicks, sync_indicator, previous_sync_indicator):
|
|
|
1096
1096
|
(
|
|
1097
1097
|
f"Declaration {http_status} for user {row.email_auth} (NSIP ID:"
|
|
1098
1098
|
f" {row.email_reseda}), {'project' if project_type else 'reference'}"
|
|
1099
|
-
f" ID
|
|
1099
|
+
f" ID={int(activity_id)}, master={row.nsip_master}, name="
|
|
1100
|
+
f"{row.nsip_project} {action} NSIP"
|
|
1100
1101
|
),
|
|
1101
1102
|
flush=True,
|
|
1102
1103
|
)
|
|
@@ -1111,8 +1112,9 @@ def nsip_export_button(n_clicks, sync_indicator, previous_sync_indicator):
|
|
|
1111
1112
|
(
|
|
1112
1113
|
f"ERROR: update of declaration failed for user {row.email_auth}"
|
|
1113
1114
|
f" (NSIP ID: {row.email_reseda}),"
|
|
1114
|
-
f" {'project' if project_type else 'reference'} ID"
|
|
1115
|
-
f"
|
|
1115
|
+
f" {'project' if project_type else 'reference'} ID="
|
|
1116
|
+
f"{int(activity_id)}, master={row.nsip_master}, name="
|
|
1117
|
+
f"{row.nsip_project}{http_error}"
|
|
1116
1118
|
),
|
|
1117
1119
|
flush=True,
|
|
1118
1120
|
)
|
|
@@ -1121,8 +1123,7 @@ def nsip_export_button(n_clicks, sync_indicator, previous_sync_indicator):
|
|
|
1121
1123
|
# message
|
|
1122
1124
|
if failed_exports < EXPORT_MAX_FAILDED_UPDATES:
|
|
1123
1125
|
failed_updates.append(
|
|
1124
|
-
f"{row.email_auth}/{
|
|
1125
|
-
f"/{int(activity_id)}"
|
|
1126
|
+
f"{row.email_auth}:{row.nsip_master}/{row.nsip_project}"
|
|
1126
1127
|
)
|
|
1127
1128
|
elif failed_exports == EXPORT_MAX_FAILDED_UPDATES:
|
|
1128
1129
|
failed_updates.append("...")
|
|
@@ -745,6 +745,7 @@ def get_nsip_declarations(period_date: str, team: str):
|
|
|
745
745
|
declarations["project.id"] = declarations["project.id"].astype(int)
|
|
746
746
|
else:
|
|
747
747
|
declarations["project.id"] = 0
|
|
748
|
+
declarations["project.name"] = np.NaN
|
|
748
749
|
if "reference.id" in declarations.columns:
|
|
749
750
|
declarations.loc[declarations["reference.id"].isna(), "reference.id"] = 0
|
|
750
751
|
declarations["reference.id"] = declarations["reference.id"].astype(int)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|