Skip to content
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

Feat/individuals #259

Open
wants to merge 55 commits into
base: develop
Choose a base branch
from
Open

Commits on May 21, 2024

  1. feat(db): add migration for individuals

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    f052df0 View commit details
    Browse the repository at this point in the history
  2. refactor(db): move base individuals tables to GN

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    14d29b8 View commit details
    Browse the repository at this point in the history
  3. feat(api): add orm models

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    aa4f048 View commit details
    Browse the repository at this point in the history
  4. feat(api): add definition, linking to orm models

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    93c4936 View commit details
    Browse the repository at this point in the history
  5. feat(api): add more attributes to orm models

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    a81b133 View commit details
    Browse the repository at this point in the history
  6. refactor(api): move everything to GeoNature

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    94be1be View commit details
    Browse the repository at this point in the history
  7. feat(api): specific model dict for individuals

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    eaa2779 View commit details
    Browse the repository at this point in the history
  8. feat(config): add first individual json file

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    6367d8a View commit details
    Browse the repository at this point in the history
  9. feat(api): more config to individuals.json

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7870ffa View commit details
    Browse the repository at this point in the history
  10. refactor: update config following changes in model

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9fd2dd8 View commit details
    Browse the repository at this point in the history
  11. feat(api): add soft delete

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9a8a294 View commit details
    Browse the repository at this point in the history
  12. style: apply black

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    ee8d5df View commit details
    Browse the repository at this point in the history
  13. refactor(api): add marking as a individual child

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    a2145b1 View commit details
    Browse the repository at this point in the history
  14. refactor(config): mv marking props to marking.json

    From individual.json
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    6ee2e0e View commit details
    Browse the repository at this point in the history
  15. feat(api): add nb_sites for individuals

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    8c4b11c View commit details
    Browse the repository at this point in the history
  16. feat(api): add nb_individuals to site

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    cc6cce3 View commit details
    Browse the repository at this point in the history
  17. feat: add individuals to site.json

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    8b67e0f View commit details
    Browse the repository at this point in the history
  18. feat(db): add id_individual col to observations

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    f93d0f9 View commit details
    Browse the repository at this point in the history
  19. feat(api): add id_individual column

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7b42584 View commit details
    Browse the repository at this point in the history
  20. feat(api): add id_individual in observation.json

    Otherwise it goes into data
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    e7c2d8e View commit details
    Browse the repository at this point in the history
  21. feat(api): add individual permissions

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    817249b View commit details
    Browse the repository at this point in the history
  22. docs: add individual docs

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    e2680a9 View commit details
    Browse the repository at this point in the history
  23. docs: fix details and add more

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    01ac8bf View commit details
    Browse the repository at this point in the history
  24. docs: add permissions section

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    35884fa View commit details
    Browse the repository at this point in the history
  25. fix(db): remove permission before removing objects

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    bb944e2 View commit details
    Browse the repository at this point in the history
  26. fix(db): update individuals => cd_nom

    When dropping id_individual column. To keep observations data
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    543bf2f View commit details
    Browse the repository at this point in the history
  27. style(api): applied black

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    948f061 View commit details
    Browse the repository at this point in the history
  28. feat(config): add id_digitiser to marking

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    15fd2f5 View commit details
    Browse the repository at this point in the history
  29. feat(api): add cd_nom parameter for the module

    Add a global variable __MODULE.CD_NOM, stored in the
    t_module_complements table. It enables the user to provide the CD_NOM
    several times in the json config files like __MODULE.ID_LIST_TAXONOMY
    for instance...
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    9009143 View commit details
    Browse the repository at this point in the history
  30. docs: update docs following required id_module

    And new cd_nom setting
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    fd04340 View commit details
    Browse the repository at this point in the history
  31. feat(api): remove relationship

    Since it has been moved to GeoNature
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    e902100 View commit details
    Browse the repository at this point in the history
  32. chore(api): fix sqlalchemy warning

    ViewOnly & scalar_subquery()
    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    e90a8f0 View commit details
    Browse the repository at this point in the history
  33. feat(config): hide cd_nom by default

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    f475a54 View commit details
    Browse the repository at this point in the history
  34. feat(api): really delete object no deactivation

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    27678c7 View commit details
    Browse the repository at this point in the history
  35. style(api): apply black

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    4ad23cc View commit details
    Browse the repository at this point in the history
  36. docs: more doc for individiuals

    Maxime Vergez authored and andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    d16bd25 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    fddadcc View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    53ef966 View commit details
    Browse the repository at this point in the history
  39. fix: cd_nom missing on post observation

    Reviewed-by: andriacap
    andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    45a7ca4 View commit details
    Browse the repository at this point in the history
  40. fix: change revises migration to the good one

    Reviewed-by: andriac
    andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    36ddd1f View commit details
    Browse the repository at this point in the history
  41. fix: replace revises by the good one and rm pass

    Change revises to match with the one used
    Remove useless "pass"
    
    Reviewed-by: andriac
    andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    66ae097 View commit details
    Browse the repository at this point in the history
  42. style(backend): apply backend

    Reviewed-by: andriacap
    andriacap committed May 21, 2024
    Configuration menu
    Copy the full SHA
    536fddb View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. fix: nb_individus and nb_sites for Tindividuals

    problem with query to find number of site and individuals
    
    Reviewed-by: andriacap
    andriacap committed May 22, 2024
    Configuration menu
    Copy the full SHA
    8c5048e View commit details
    Browse the repository at this point in the history
  2. fix: add distinct on nb_individuals for site

    Reviewed-by: andriacap
    andriacap committed May 22, 2024
    Configuration menu
    Copy the full SHA
    5aeffc2 View commit details
    Browse the repository at this point in the history
  3. refactor: add nb_individuals outside models

    Add nb_inidivuals property as before but write notes
    to understand why it was needed ?
    
    It seems to work without .. (tried)
    
    Reviewed-by: andriacap
    andriacap committed May 22, 2024
    Configuration menu
    Copy the full SHA
    b04db06 View commit details
    Browse the repository at this point in the history
  4. style(backend) apply black

    Reviewed-by: andriacap
    andriacap committed May 22, 2024
    Configuration menu
    Copy the full SHA
    dba9cdf View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. fix(back): change order alembic revision

    - need to change alembic in order to be usable
    for update of monitoring and for install monitoring
    from scratch
    
    Reviewed-by: andriacap
    andriacap committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    93220d7 View commit details
    Browse the repository at this point in the history
  2. fix(backend): warning sqlalchemy

    Reviewed-by: andriacap
    andriacap committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    05fb478 View commit details
    Browse the repository at this point in the history
  3. fix(back): manage if no nomenclature value is empty

    Reviewed-by: andriacap
    andriacap committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c69532a View commit details
    Browse the repository at this point in the history
  4. style(back): apply black

    Reviewed-by: andriacap
    andriacap committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8662d99 View commit details
    Browse the repository at this point in the history
  5. Fix/clean transfert permissions ALL TO MONTORING_XXX (PnX-SI#291)

    * Script sql de migration des permissions
    
    * Changelog
    amandine-sahl authored and andriacap committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    5b0de36 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    4091e60 View commit details
    Browse the repository at this point in the history
  2. Revert "fix medias for individuals & marking events + TIndividuals.nb…

    …_sites"
    
    This reverts commit 4091e60.
    andriacap committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a4f061c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbf60c3 View commit details
    Browse the repository at this point in the history
  4. style(backend): apply black

    Reviewed-by: andriacap
    andriacap committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    ed3c3b9 View commit details
    Browse the repository at this point in the history