ositah 24.9.dev7__tar.gz → 24.9.dev8__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.

Files changed (79) hide show
  1. {ositah-24.9.dev7/ositah.egg-info → ositah-24.9.dev8}/PKG-INFO +1 -1
  2. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/export.py +16 -3
  3. {ositah-24.9.dev7 → ositah-24.9.dev8/ositah.egg-info}/PKG-INFO +1 -1
  4. {ositah-24.9.dev7 → ositah-24.9.dev8}/pyproject.toml +1 -1
  5. {ositah-24.9.dev7 → ositah-24.9.dev8}/.gitignore +0 -0
  6. {ositah-24.9.dev7 → ositah-24.9.dev8}/.gitlab-ci.yml +0 -0
  7. {ositah-24.9.dev7 → ositah-24.9.dev8}/LICENSE +0 -0
  8. {ositah-24.9.dev7 → ositah-24.9.dev8}/README.md +0 -0
  9. {ositah-24.9.dev7 → ositah-24.9.dev8}/docker/Dockerfile +0 -0
  10. {ositah-24.9.dev7 → ositah-24.9.dev8}/docker/docker-compose.yml +0 -0
  11. {ositah-24.9.dev7 → ositah-24.9.dev8}/docker/pyproject-poetry.toml +0 -0
  12. {ositah-24.9.dev7 → ositah-24.9.dev8}/gunicorn.config/README.md +0 -0
  13. {ositah-24.9.dev7 → ositah-24.9.dev8}/gunicorn.config/gunicorn.ositah +0 -0
  14. {ositah-24.9.dev7 → ositah-24.9.dev8}/gunicorn.config/gunicorn@.service +0 -0
  15. {ositah-24.9.dev7 → ositah-24.9.dev8}/gunicorn.config/ositah.conf.py +0 -0
  16. {ositah-24.9.dev7 → ositah-24.9.dev8}/noxfile.py +0 -0
  17. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/__init__.py +0 -0
  18. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/app.py +0 -0
  19. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/__init__.py +0 -0
  20. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/analysis.py +0 -0
  21. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/configuration/__init__.py +0 -0
  22. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/configuration/callbacks.py +0 -0
  23. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/configuration/main.py +0 -0
  24. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/configuration/parameters.py +0 -0
  25. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/configuration/tools.py +0 -0
  26. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/__init__.py +0 -0
  27. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/callbacks.py +0 -0
  28. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/main.py +0 -0
  29. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/parameters.py +0 -0
  30. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/tables.py +0 -0
  31. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/apps/validation/tools.py +0 -0
  32. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/assets/arrow_down_up.svg +0 -0
  33. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/assets/ositah.css +0 -0
  34. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/assets/sort_ascending.svg +0 -0
  35. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/assets/sort_descending.svg +0 -0
  36. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/assets/sorttable.js +0 -0
  37. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/main.py +0 -0
  38. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/ositah.example.cfg +0 -0
  39. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/static/style.css +0 -0
  40. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/templates/base.html +0 -0
  41. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/templates/bootstrap_login.html +0 -0
  42. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/templates/login_form.html +0 -0
  43. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/__init__.py +0 -0
  44. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/agents.py +0 -0
  45. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/authentication.py +0 -0
  46. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/cache.py +0 -0
  47. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/core.py +0 -0
  48. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/exceptions.py +0 -0
  49. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/hito_db.py +0 -0
  50. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/hito_db_model.py +0 -0
  51. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/menus.py +0 -0
  52. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/period.py +0 -0
  53. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/projects.py +0 -0
  54. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/teams.py +0 -0
  55. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah/utils/utils.py +0 -0
  56. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah.egg-info/SOURCES.txt +0 -0
  57. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah.egg-info/dependency_links.txt +0 -0
  58. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah.egg-info/entry_points.txt +0 -0
  59. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah.egg-info/requires.txt +0 -0
  60. {ositah-24.9.dev7 → ositah-24.9.dev8}/ositah.egg-info/top_level.txt +0 -0
  61. {ositah-24.9.dev7 → ositah-24.9.dev8}/setup.cfg +0 -0
  62. {ositah-24.9.dev7 → ositah-24.9.dev8}/setup.py +0 -0
  63. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/README.md +0 -0
  64. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/accordion.py +0 -0
  65. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/authentication.py +0 -0
  66. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/checkbox.py +0 -0
  67. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/checklist.py +0 -0
  68. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/file-selector.py +0 -0
  69. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/file-upload.py +0 -0
  70. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/long_running_callback.py +0 -0
  71. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/pandas_split.py +0 -0
  72. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/pandas_split_bug_report.py +0 -0
  73. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/pattern-matching-callback.py +0 -0
  74. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/progess_bar.py +0 -0
  75. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/reset_table_checkboxes.py +0 -0
  76. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/sortable_table.py +0 -0
  77. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/sqlalchemy_test.py +0 -0
  78. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/templates/base.html +0 -0
  79. {ositah-24.9.dev7 → ositah-24.9.dev8}/test-dash/templates/login_form.html +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ositah
3
- Version: 24.9.dev7
3
+ Version: 24.9.dev8
4
4
  Summary: Outils de Suivi d'Activités basé sur Hito
5
5
  Author-email: Michel Jouvin <michel.jouvin@ijclab.in2p3.fr>
6
6
  License: BSD 3-Clause License
@@ -164,8 +164,10 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
164
164
  )
165
165
  agent_list = get_agents(period_date, team)
166
166
  if team is None or team == TEAM_LIST_ALL_AGENTS:
167
- # If no team is selected, merge left to include declarations from agents who are no
168
- # longer active in Hito (e.g. agents who left the lab during the declaration period)
167
+ # If no team is selected, merge left to include declarations from agents whose
168
+ # email_auth don't match between Hito and NSIP. It is typically the case for agents
169
+ # who are no longer active in NSIP (e.g. agents who left the lab during the
170
+ # declaration period).
169
171
  merge_how = "left"
170
172
  else:
171
173
  merge_how = "inner"
@@ -210,7 +212,8 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
210
212
  # For OSITAH entries not found in NSIP, it may be that the agent left the lab during
211
213
  # the declaration period: in this case there is an entry in NSIP where the RESEDA email
212
214
  # has been replaced by a UUID allowing to update NSIP data. Check if such an entry
213
- # exists in NSIP with a matching fullname and use it if it exists
215
+ # exists in NSIP with a matching fullname and use it if it exists. It also happens if the
216
+ # agent email_auth changed during the period.
214
217
  # To make matching easier, index is temporarily set to fullname instead of an integer.
215
218
  nsip_missing_agent_names = declaration_list.loc[
216
219
  declaration_list["_merge"] == "left_only", columns["fullname"]
@@ -472,6 +475,16 @@ def nsip_export_table(team, team_selection_date, period_date: str, declarations_
472
475
  )
473
476
  ),
474
477
  ]
478
+ if team and team != TEAM_LIST_ALL_AGENTS:
479
+ page_title.append(
480
+ html.Div(
481
+ (
482
+ "Certains agents peuvent apparaitre non synchronisés s'ils ont quitté"
483
+ f" le laboratoire: utiliser '{TEAM_LIST_ALL_AGENTS}' pour vérifier"
484
+ ),
485
+ style={"fontStyle": "italic", "fontWeight": "bold"},
486
+ )
487
+ )
475
488
 
476
489
  if declarations_set == NSIP_DECLARATIONS_SELECT_ALL:
477
490
  selected_declarations = declaration_list
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ositah
3
- Version: 24.9.dev7
3
+ Version: 24.9.dev8
4
4
  Summary: Outils de Suivi d'Activités basé sur Hito
5
5
  Author-email: Michel Jouvin <michel.jouvin@ijclab.in2p3.fr>
6
6
  License: BSD 3-Clause License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ositah"
7
- version = "24.9.dev7"
7
+ version = "24.9.dev8"
8
8
  description = "Outils de Suivi d'Activités basé sur Hito"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
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