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

fix: remove display field filter on children #316

Open
wants to merge 210 commits into
base: dev-suivi-eolien
Choose a base branch
from

Commits on Dec 8, 2023

  1. Merged feat/package-module-alembic

    commit 70b0139
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:22:56 2022 +0100
    
        style: apply black
    
    commit 2badedf
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:11:41 2022 +0100
    
        chore(db): removed unused import
    
    commit 57d9b52
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 14:47:48 2022 +0100
    
        feat(db): improved & finished downgrade func
    
    commit 211780f
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 09:32:12 2022 +0100
    
        feat(db): wip: add upgrade and began downgrade
    
        Downgrade migration need a little bit more work due to the use of
        sql alchemy and not plain text sql
    
    commit 0b5a3b8
    Author: Maxime Vergez <[email protected]>
    Date:   Mon Dec 5 11:40:32 2022 +0100
    
        feat: packaged module
    Maxime Vergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    12e3531 View commit details
    Browse the repository at this point in the history
  2. Merged feat/bib-categorie-site

    Squashed commit of the following:
    
    commit 2bdc22a
    Author: Maxime Vergez <[email protected]>
    Date:   Fri Dec 9 14:59:31 2022 +0100
    
        chore: changed json_schema into config
    
    commit 4279389
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 18:37:41 2022 +0100
    
        feat(db): add foreign key from site to cat
    
        From t_base_sites to bib_categorie_site
    
    commit 5cb5dfa
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 16:47:27 2022 +0100
    
        feat(api): add admin interface
    
    commit 559a0ec
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 16:46:27 2022 +0100
    
        feat(db): add bib_categorie_site table
    
        Add migration and model
    Maxime Vergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    790997f View commit details
    Browse the repository at this point in the history
  3. feat: [6.2] Page d'accueil module monitoring layout et config title e…

    …t description PnX-SI#2 (PnX-SI#15)
    
    * feat: [6.2] Page d'accueil modul monitoring layout et config title et description PnX-SI#2
    
    * chore(config): applied black & removed imports
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c71a897 View commit details
    Browse the repository at this point in the history
  4. Feat/monitoring sites (PnX-SI#16)

    * feat(api): wip began add site routes + tests
    
    With site categories
    Also add tests
    
    * feat(api): add more routes
    
    * test(api): add tests and fixtures
    
    * style(api): applied black
    
    * feat(db): add migration to remove id_module
    
    Column in t_sites_groups
    
    * refactor(api): move utils for routes from sites
    
    * feat(api): wip: add sites groups route
    
    * test(api): wip: begin adding fixture site_groups
    
    * fix: remove id_module in all models
    
    * chore: rename route for better consistency
    
    * tests: moved site_groups in tests and add tests
    
    * chore(api): applied black
    
    * refactor(api): add filter params function
    
    And refact routes to use it
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    23ad834 View commit details
    Browse the repository at this point in the history
  5. Feat/site type categories and module categorie (PnX-SI#18)

    * feat(api): add association table with alembic
    
    Add model in backend and alembic migration
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * test: WIP add test to see new relationship
    
    Adding test to see if categories are showing up when we call module
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#3
    
    * feat: add type site - categorie relation
    
    WIP - add selectfield to get type site in admin module
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * feat(api): Flask admin and routes categories
    
    Clean code for change label list and form selectfield for
    the BibCategorieView in Flask Admin
    
    Add utils routes to get all subtable relationship in order to
    get back the label type site
    
    Review-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * refactor: remove paginate_nested
    
    For depth in as_dict()
    
    * test: fix tests due to as_dict depth
    
    * style: applied black and isort
    
    * chore: remove unused import
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    048d10d View commit details
    Browse the repository at this point in the history
  6. Feat/edit categories module (PnX-SI#19)

    * tests: make tests and fixtures work for modules
    
    By changing the way a monitoring module is created in the fixture
    Add two tests to check the relationship
    
    * feat(api): add categories in edit module
    
    * style: applied black
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d905b2a View commit details
    Browse the repository at this point in the history
  7. test: refactor fixtures to load them automatically (PnX-SI#20)

    Need to set the current working directory of pytest the directory
    where the gn_monitoring_module repo is (so with the frontend etc.)
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6844f56 View commit details
    Browse the repository at this point in the history
  8. test: move test_route in parent dir (PnX-SI#17)

    clean: Merge la PR move test_route 
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9104f85 View commit details
    Browse the repository at this point in the history
  9. Feat/create marshmallow schemas and remove id_module (PnX-SI#21)

    * feat(api): remove id_module from sites_complements
    
    Co-authored-by: andriacap <[email protected]>
    
    * feat(api): create schema for sites_groups
    
    * test: add sites_group to site fixture
    
    * test: wip add test for sites_groups schemas
    
    * chore(api): remove depth parameter from paginate
    
    * test: updated to work with sites_group schema
    
    * feat: categorie site with marshmallow
    
    Test and marshmallow create/refactor to
    adapt for bibcategorie site paginate
    
    WIP : Adapt load_only site_type in test to "assert"
    same object when initiate BibCategorieSite
    
    [Refs ticket]: PnX-SI#3
    
    * feat(api): route /sites/categories/id with schema
    
    Changing the route to return a dump Marshmallow schema
    BibCategorieSitesSchema
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * test(api): routes get categoires label
    
    Change the "as_dict" by schema.dump in order
    to use the Marshmallow schema created
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * feat(api): Sites: cols to geoserializable + schema
    
    * style(api): applied black
    
    * test(api): add test for Site Schema
    
    * style(api): applied black to test_site
    
    * refactor(api): instantiate schema once
    
    Instead of for each all() iteration
    
    * chore(api): remove useless comments
    
    * chore(api): remove useless comments and imports
    
    Co-authored-by: andriacap <[email protected]>
    Co-authored-by: Andria Capai <[email protected]>
    3 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    0ee1cee View commit details
    Browse the repository at this point in the history
  10. refactor(api): remove id_type in admin (PnX-SI#22)

    To replace it with a bib nomenclature type: TYPE_SITE
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6706af0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e4f0069 View commit details
    Browse the repository at this point in the history
  12. Fix/paginate utils (PnX-SI#24)

    * fix(api): add int conversion for limit/offset
    
    * test(api): add test for get_limit_offset
    
    * fix(api): max_per_page => per_page & test
    
    * test(api): update test with changes on schema
    
    Since marshmallow schemas, the json returned by pagination has
    changed for items and not sites
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b6c5101 View commit details
    Browse the repository at this point in the history
  13. Feat/improve filter (PnX-SI#25)

    * feat(api): add Query Class to sites, grps & cats
    
    * feat(api): add sort and fix _get_model
    
    Via _get_entity
    
    * test(api): test sort query
    
    * feat(api): add api sort/sort_dir params
    
    To be able to sort through REST Api
    
    * fix(api): check if integer to avoid using ilike
    
    In filter_by_params
    
    * test(api): add test to check filter integer
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    1999255 View commit details
    Browse the repository at this point in the history
  14. fix(config): changed categories into items (PnX-SI#29)

    * Merged feat/package-module-alembic
    
    commit 70b0139
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:22:56 2022 +0100
    
        style: apply black
    
    commit 2badedf
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:11:41 2022 +0100
    
        chore(db): removed unused import
    
    commit 57d9b52
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 14:47:48 2022 +0100
    
        feat(db): improved & finished downgrade func
    
    commit 211780f
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 09:32:12 2022 +0100
    
        feat(db): wip: add upgrade and began downgrade
    
        Downgrade migration need a little bit more work due to the use of
        sql alchemy and not plain text sql
    
    commit 0b5a3b8
    Author: Maxime Vergez <[email protected]>
    Date:   Mon Dec 5 11:40:32 2022 +0100
    
        feat: packaged module
    
    * Feat/edit categories module (PnX-SI#19)
    
    * tests: make tests and fixtures work for modules
    
    By changing the way a monitoring module is created in the fixture
    Add two tests to check the relationship
    
    * feat(api): add categories in edit module
    
    * style: applied black
    
    * fix(config): changed categories into items
    
    Following the change with marshmallow schemas
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8fc9e21 View commit details
    Browse the repository at this point in the history
  15. Fix/db migrations (PnX-SI#31)

    * feat(db): upgrade down_revision following rebase
    
    Since rebase with develop: changed the down_revision number
    
    * fix(db): fix bind params enabling downgrade
    
    Beforehand the downgrade was not possible...
    
    * refactor(db): removed cor_site_type_category
    
    * refactor(db): changed category into type in cor
    
    * refactor(db): create cor_type_site
    
    * fix(db): renamed column
    
    * refactor(api): update models to fit migrations
    
    * fix(db):change bib_categorie_site to bib_type_site
    
    Adding :
    cor_site_module
    cor_site_type
    revision alembic to create function and trigger in order to add
    bib_type_site but only with nomenclature 'TYPE_SITE'
    upgrade and downgrade works
    
    [Refs ticket]: PnX-SI#3
    Reviewed-by: andriac
    
    * fix(api): updated models from migrations
    
    * fix(api): wip: fix admin following migrations
    
    * fix(api): update routes and tests
    
    To match migration changes
    
    * feat: flask admin bib_type_site
    
    Change bib_categories to bib_type_site into flask admin
    Adding filtering in list label_fr of type_site to secure the unique
    constraint
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * fix(api): updated schema to match models
    
    * fix(api): module edition
    
    * style(api): uniformize type_site
    
    * style(api): change relationship name for type_site
    
    * feat(api): validator admin
    
    * fix(api): make unique BibTypeSite in admin
    
    * test(api): fix test when existing nomenclatures
    
    In database
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e70bc4c View commit details
    Browse the repository at this point in the history
  16. perf(api): improved loading of modules (PnX-SI#30)

    * Merged feat/package-module-alembic
    
    commit 70b0139
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:22:56 2022 +0100
    
        style: apply black
    
    commit 2badedf
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 15:11:41 2022 +0100
    
        chore(db): removed unused import
    
    commit 57d9b52
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 14:47:48 2022 +0100
    
        feat(db): improved & finished downgrade func
    
    commit 211780f
    Author: Maxime Vergez <[email protected]>
    Date:   Tue Dec 6 09:32:12 2022 +0100
    
        feat(db): wip: add upgrade and began downgrade
    
        Downgrade migration need a little bit more work due to the use of
        sql alchemy and not plain text sql
    
    commit 0b5a3b8
    Author: Maxime Vergez <[email protected]>
    Date:   Mon Dec 5 11:40:32 2022 +0100
    
        feat: packaged module
    
    * perf(api): improved loading of modules
    
    When there are loads of datasets, the relationship takes a lot of
    time to load, and is useless for the route that uses it.
    
    * fix: due to wrong rebase
    
    Fix: newline on data_utils.py
    Fix: relationships are not joined anymore since there is no need of
    them
    Chore: update comment
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    46d44dc View commit details
    Browse the repository at this point in the history
  17. Fix/pagination (PnX-SI#28)

    * fix(api): page - 1 that returned the wrong page
    
    * test(api): add test for paginate
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6951fb5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a551b81 View commit details
    Browse the repository at this point in the history
  19. Fix/db migrations checkconstrainton bib_type_site.id_nomenclature (Pn…

    …X-SI#34)
    
    * fix(db): change trigger to constraint (migrations)
    
    Delete the trigger and create check constraint on id_nomenclature column
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#3
    
    * fix(db) : apply black on migration file
    
    Apply black
    [Refs_ticket]: PnX-SI#3
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9689c16 View commit details
    Browse the repository at this point in the history
  20. fix(api): invert filter condition with Unicode (PnX-SI#35)

    So that it will fallback to == most of the time and ilike when
    just Unicode
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    93064bc View commit details
    Browse the repository at this point in the history
  21. fix(db): add NOT VALID in constraint for bib_type_site (PnX-SI#36)

    Cannot use alembic to do this because need sqlalchemy >= 1.4.32
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    91c643f View commit details
    Browse the repository at this point in the history
  22. Fix/review checkpoint1 (PnX-SI#37)

    * refactor(api): change offset to page
    
    * refactor(api): rename id_nomenclature
    
    * fix(admin): add compare field to Unique
    
    Since now, BibTypeSite and TNomenclature do not share the same
    column anymore (id_nomenclature_type_site vs id_nomenclature)
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    2daf64d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    667b4d2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9b353fa View commit details
    Browse the repository at this point in the history
  25. Black

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    641f340 View commit details
    Browse the repository at this point in the history
  26. Fix/db migrations (PnX-SI#31)

    * feat(db): upgrade down_revision following rebase
    
    Since rebase with develop: changed the down_revision number
    
    * fix(db): fix bind params enabling downgrade
    
    Beforehand the downgrade was not possible...
    
    * refactor(db): removed cor_site_type_category
    
    * refactor(db): changed category into type in cor
    
    * refactor(db): create cor_type_site
    
    * fix(db): renamed column
    
    * refactor(api): update models to fit migrations
    
    * fix(db):change bib_categorie_site to bib_type_site
    
    Adding :
    cor_site_module
    cor_site_type
    revision alembic to create function and trigger in order to add
    bib_type_site but only with nomenclature 'TYPE_SITE'
    upgrade and downgrade works
    
    [Refs ticket]: PnX-SI#3
    Reviewed-by: andriac
    
    * fix(api): updated models from migrations
    
    * fix(api): wip: fix admin following migrations
    
    * fix(api): update routes and tests
    
    To match migration changes
    
    * feat: flask admin bib_type_site
    
    Change bib_categories to bib_type_site into flask admin
    Adding filtering in list label_fr of type_site to secure the unique
    constraint
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * fix(api): updated schema to match models
    
    * fix(api): module edition
    
    * style(api): uniformize type_site
    
    * style(api): change relationship name for type_site
    
    * feat(api): validator admin
    
    * fix(api): make unique BibTypeSite in admin
    
    * test(api): fix test when existing nomenclatures
    
    In database
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a22dc92 View commit details
    Browse the repository at this point in the history
  27. Feat/get all sites (PnX-SI#26)

    * test(api): test all_geometries route
    
    * feat(api): geojson instead of geobuf for sites
    
    * feat(api): add all_sites_group_geometry route
    
    To return the geometries of all sites groups
    
    * test(api): refactor fixture
    
    To add a new one: site_group_with_sites since not all sites_groups
    have sites
    
    * test(api): test get_sites_groups route
    
    * feat(api): add possibility to filter
    
    On id_base_site, base_site_name and id_sites_group
    
    * test(api): add fixture to get group without site
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    79c4df2 View commit details
    Browse the repository at this point in the history
  28. Feat/crud/gp sites components (PnX-SI#38)

    * feat(front): wip sites_groups component and svc
    
    * WIP feat(front): DataTable sites_groups
    
    - Table with specific data value (OK)
    - Table with sort column (OK)
    - Datatable , select row event and change
    color (wip).
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat(front): Datatable format and selected row
    
    - Get and display data from group_site database (OK)
    - Selecting row and get id of row table (OK)
    
    Improve :
    - improve assign colname table outside the component (maybe into the
      class folder ?)
    
    Todo/next:
    - Filtering table
    - Add action column to table
    - refactor code by creating component for the ngx-datable in order to
      reuse component for other data
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat(front): Filtering table (OK)
    
    Function filtering is working on each column
    Button filtering hide/display filter inputs (OK)
    
    TODO:
    - check for "help" icon and description for each column if description
      present
    - Check if multiple rows and pages if it's working
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat(front): wip server pagination & filtering
    
    * feat(front): add sorting capability and fixes
    
    Fix: keep filters (sort and filters) on when changing pages
    Feat: remove useless id column
    Feat: add sorting
    
    * fix(db): change trigger to constraint (migrations)
    
    Delete the trigger and create check constraint on id_nomenclature column
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#3
    
    * refactor: Custom type Geojson and group properties
    
    Create custom type geojson and build properties into marshmallow schema
    according to this type of Geojson
    
    [Refs ticket]: PnX-SI#3
    
    * refactor: site component with site-service
    
    add function to site.services.ts
    
    [Refs ticket]: PnX-SI#4
    
    * refactor: create datatable component and service
    
    Separate of concern for all about table (service and component)
    and all about sites (service and component)
    
    reviewed_by: andriacap
    [Refs ticket]: PnX-SI#3
    
    * fix: change offset to page
    
    change offset name to page
    for paginated
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * merge: merge interface and type
    
    merge site_group.service.ts
    delete site.service.ts
    add interfaces
    re arrange code from branch front-site-interface
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: details properties sites groups
    
    Create properties components to display properties of sites_groups
    Adding route with id according to the site group selected
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: display groups sites's child
    
    Display group site child into table and uder properties
    Use routing and id params to display property of groups site
    
    Create service site
    Add logic to check routing and child route to display reactive component
    properties and table
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * refactor(front): rename interfaces, remove classes
    
    Better types
    
    * feat(front): get all geometries
    
    For sites and sites_groups
    
    * feat(front): WIP: geojson service to create layers
    
    And features groups since geojson component accumulated layers
    without cleaning them...
    
    * feat(front): implemented select capability
    
    Need to refact a lot!
    
    * feat(api): add route to get one site_group by id
    
    * fix(front): too much /
    
    * feat(front): add get sites_group from id
    
    * fix(front): add possibility to provide Geometry
    
    To setMapData
    
    * refactor(front): sites and sites_groups component
    
    To extend a base component to gather the same methods at one place
    To use route children and router-outlet properly
    To add some rxjs operators
    To move some common interfaces/functions
    
    * fix(front): fix filters by adding baseFilters
    
    * feat: edit sitegroups
    
    Create edit-service
    Create observable to update object to edit according to form component
    Adapt function service of monitoring object to sites and sitesgroups
    
    WIP:
    - adapt remaining function of monitoring object inside
    form-component-g
    - create an object which inherit of patch/post/delete method with
    - think about object with ObjectType of sites_group , sites, observation
      ? , visit ?
    - reload properties or update data of properties table after update data
    
    Reviewed-by:andriacap
    [Refs_ticket]: PnX-SI#4
    
    * feat: edit sitegroups
    
    Improving route 'patch'
    Adding reload properties when sitegroups is updated
    Refactoring EditService for more readability
    
    Reviewed-by: andriacap
    [Ref_ticket]: PnX-SI#4
    
    * feat: improve edit
    
    Add method to define objectType according to service used (site or
    gpsite)
    
    Rewied-by: andriacap
    [Refs_ticket]: PnX-SI#4
    
    * feat: improve rendering front "edit" and "add"
    
    Adding global object service to set object type and
    variable "add" or "edit" button
    
    Reviewed-by: andriacap
    
    [Refs_ticket]: PnX-SI#4
    
    * feat: improving patch method object
    
    Adding service to share request patch,get in order to to re-use the
    service in form component according to the type pass inside the
    formcomponent
    Adding decorator errorhandler for blueprint routes
    
    Reviewed-by:andriacap
    [Refs_ticket]: PnX-SI#4
    
    * feat: create site group method with form
    
    Route create with form component
    Using location pacakage to choose between edit form or init sitegroup
    (see to improve that)
    
    Rewiewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: delete site_group component
    
    Add route back
    Add site_group from front form component
    
    Reviewed-by:andriac
    [Refs_ticket]: PnX-SI#4
    
    * chore(api): removed unused code
    
    * style(config): apply formatter
    
    * chore(front): removed unused code & console.log
    
    * feat(front): removed display map button
    
    As it was ugly
    
    * refactor(front): remove Object for keys
    
    As there is an Angular pipe to get keys and values
    Also removed console.log
    Removed unused code
    
    * style(front): reformat routes
    
    * refactor(front): add create component
    
    To isolate functionnalities
    
    * chore(front): remove unused services
    
    * chore(front): removed usused code
    
    * chore(api): remove string package
    
    And fix if that cannot be reached
    
    * chore(api): removed unused comment
    
    * chore(front): removed console.log and comments
    
    * chore(api): removed unused code and log
    
    ---------
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    858d908 View commit details
    Browse the repository at this point in the history
  29. fix: remove no existing function and component visit (PnX-SI#39)

    Hotfix because no compilable  with no existing component
    and no existing function
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ae6400d View commit details
    Browse the repository at this point in the history
  30. Feat/dynamic form/site (PnX-SI#42)

    * refactor: object.service with observable obj
    
    Change the objectType string to objectType obj
    in order to subscribe to multilple properties link to this object
    
    Reviewed-by: andriacap
    [Refs_ticket]: PnX-SI#40
    
    * feat: adapt service to get config json
    
    Get fieldsName and fieldsLabel for display properties
    (properties component)
    
    Add logic to setItem in LocalStorage to keepLast Value of observable on reload page
    
    TODO:
    - [ ]  see if Localstorage is really necessary with the configService used inside api-geom.service )
    - [ ] adapt monitoring-form-g.component with the new service
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: column datatable from config json
    
    Add logic into sitegroups service in order to use config json to diplay
    column datatable (called "display_list")
    
    Review-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat: adjust backend to load config json
    
    Adjust backend code to use existing code in order to load config from
    file json and by starting with "sites_group"
    
    Fix Media load and upload for site_group
    
    TODO:
    - [ ] check if config should be find from file or backend
    - [ ] Optimize logic backend (use generic model with class method ?)
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: add button multiselect with filter on backend
    
    filter with params backend (new route -> see if it's possible to change
    that)
    
    Add button multiselect above form type site
    
    TODO:
    - improve Input / condition of use case of btn multiselect
    
    Reviewed-by: andriac
    
    * feat: btn multiselect option
    
    -Add @input fn , placeholder, title, paramsToFilt
    -Remove empty option
    -prevent adding from keyboard input or not including in list
    -Store config json into object
    
    Reviewed-by: @AndriaC
    [Refs-ticket]: PnX-SI#4
    
    * refactor: change form-service and object-service
    
    refactor form-service
    add observable into object-service (WIP: futur use for refresh page ?)
    
    Rieviewed-by: andriac
    
    [Refs_ticket]: PnX-SI#40
    
    * refactor: test refresh page and comportment obs
    
    refresh page seems to works with localstorage of different obj in
    object_service
    
    Reviewed-by: andriac
    
    * feat: dynamic form
    
    - Add:
    - pass config json to form.component-g.ts
    - add config json to this.obj and refresh form into form.component-g.ts
    - add css for form component to deal when long form selected
    
    -fix :
    - refresh page form component (this._configService.init is necessary
      ...)
    - comportment different between add or edit into form component and
      form service
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#4
    
    * feat: dynamic form - Correction PR
    
    Remove unused console.log
    Rxjs : use concatMap to avoid subscribe inside subscribe
    Apply: prettier and sort prettier for import ts file
    
    Reviewed-by: @AndriaC
    [Refs_PR]: PnX-SI#42
    
    * feat: dynamic create site
    
    - Add change current-object when click "Add <object>" from datatable
      component
    - api-geom.service: change the way to init the api-geom
    - WIP:  two subscribes in one .. (the subscription is call only once ..)
    - WIP : get config json from backend
    
    Reviewed-by: andriac
    
    * feat: add relationship id into sendData form site
    
    Add type_site and id_site_group to the form site
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 et PnX-SI#6
    
    * feat(back): add custom config when post site
    
    Change backend files in order to choose specific config when site is
    created.
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: problem of type object when loading form
    
    Add endPoint and objectType to the observable using by the formservice
    in order to use _apiGeomService with good context (endPoint)
    
    [Refs_ticket]: PnX-SI#5 et PnX-SI#6
    
    * fix: todo comments about refactoring code
    
    Add todo comment in order to don't forget what
    is to improve inside the code
    
    * chore(front): add comment and remove console.log
    
    * chore(api): put back old formatting
    
    * chore(api): remove useless comment
    
    * refactor(api): move and rename create_update fct
    
    * fix: put back inventor/digitiser & fix typo
    
    * chore: remove useless files
    
    Since columns are now loaded from json, they are not needed
    anymore in separate typescript files
    
    * chore: remove definition from sites_group.json
    
    * fix: column problem on sites
    
    * chore: remove useless comment
    
    * refactor(front): remove comment and use rxjs
    
    * chore(front): remove useless file
    
    Since class BtnMultiSelectChipClass is not used anymore
    
    * chore(front): remove useless comments/imports
    
    * style(front): applied prettier
    
    * chore(front): remove useless code
    
    * refactor(front): regroup types into an interface
    
    * style(front): applied prettier
    
    * refactor(front): inherit config-json from config
    
    ---------
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9f9524d View commit details
    Browse the repository at this point in the history
  31. Feat/prepare edit site component & some visits (PnX-SI#43)

    * refactor: object.service with observable obj
    
    Change the objectType string to objectType obj
    in order to subscribe to multilple properties link to this object
    
    Reviewed-by: andriacap
    [Refs_ticket]: PnX-SI#40
    
    * feat: adapt service to get config json
    
    Get fieldsName and fieldsLabel for display properties
    (properties component)
    
    Add logic to setItem in LocalStorage to keepLast Value of observable on reload page
    
    TODO:
    - [ ]  see if Localstorage is really necessary with the configService used inside api-geom.service )
    - [ ] adapt monitoring-form-g.component with the new service
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: column datatable from config json
    
    Add logic into sitegroups service in order to use config json to diplay
    column datatable (called "display_list")
    
    Review-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat: adjust backend to load config json
    
    Adjust backend code to use existing code in order to load config from
    file json and by starting with "sites_group"
    
    Fix Media load and upload for site_group
    
    TODO:
    - [ ] check if config should be find from file or backend
    - [ ] Optimize logic backend (use generic model with class method ?)
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: add button multiselect with filter on backend
    
    filter with params backend (new route -> see if it's possible to change
    that)
    
    Add button multiselect above form type site
    
    TODO:
    - improve Input / condition of use case of btn multiselect
    
    Reviewed-by: andriac
    
    * feat: btn multiselect option
    
    -Add @input fn , placeholder, title, paramsToFilt
    -Remove empty option
    -prevent adding from keyboard input or not including in list
    -Store config json into object
    
    Reviewed-by: @AndriaC
    [Refs-ticket]: PnX-SI#4
    
    * refactor: change form-service and object-service
    
    refactor form-service
    add observable into object-service (WIP: futur use for refresh page ?)
    
    Rieviewed-by: andriac
    
    [Refs_ticket]: PnX-SI#40
    
    * refactor: test refresh page and comportment obs
    
    refresh page seems to works with localstorage of different obj in
    object_service
    
    Reviewed-by: andriac
    
    * feat: dynamic form
    
    - Add:
    - pass config json to form.component-g.ts
    - add config json to this.obj and refresh form into form.component-g.ts
    - add css for form component to deal when long form selected
    
    -fix :
    - refresh page form component (this._configService.init is necessary
      ...)
    - comportment different between add or edit into form component and
      form service
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#4
    
    * feat: dynamic form - Correction PR
    
    Remove unused console.log
    Rxjs : use concatMap to avoid subscribe inside subscribe
    Apply: prettier and sort prettier for import ts file
    
    Reviewed-by: @AndriaC
    [Refs_PR]: PnX-SI#42
    
    * feat: dynamic create site
    
    - Add change current-object when click "Add <object>" from datatable
      component
    - api-geom.service: change the way to init the api-geom
    - WIP:  two subscribes in one .. (the subscription is call only once ..)
    - WIP : get config json from backend
    
    Reviewed-by: andriac
    
    * feat: add relationship id into sendData form site
    
    Add type_site and id_site_group to the form site
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 et PnX-SI#6
    
    * feat(back): add custom config when post site
    
    Change backend files in order to choose specific config when site is
    created.
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: problem of type object when loading form
    
    Add endPoint and objectType to the observable using by the formservice
    in order to use _apiGeomService with good context (endPoint)
    
    [Refs_ticket]: PnX-SI#5 et PnX-SI#6
    
    * fix: tooltip and label inside datatable-component
    
    Add a childLabel inside interface objObs.ts
    in order to use this tooltip inside datatable-component
    
    * feat: get back work visitcomponent
    
    get back work from feat/visit to use visitcomponent
    but adapted to current branch
    
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: forgot 3 modifications needed from feat/site
    
    Add conftest visit
    Add test_get_visits
    Add get_site_by_id
    
    * fix: passing data between components and property
    
    - Action button "consult..." is working for group_site and site
    - Action with button "cancel" , "come back history routing" send to the
      right component
    - Label and tooltip are according to the parent and child object loaded
      in the corresponding component
    
    - Action "Add site" directly from datatable-g.component (WIP: need to
      remove send to sites_group/:id/create
    
    [Refs_ticket]: PnX-SI#40 , PnX-SI#4 , PnX-SI#5 and PnX-SI#6
    
    * fix: error of url relative when using form
    
    Fix problem of id_module has ["id_module"] in
    create_or_update_object_api function
    Fix path "sites/:id" to "site/:id"
    Add urlRelative when editing component
    
    * fix: problem route navigation
    
    Remove unused "urlRelative" create in last commit
    Fix the action "add children" in datatable to redirect to the good
    component
    Change the way to redirect when cancel and delete on form component
    based on last url
    
    [Refs_ticket]: PnX-SI#40
    
    * refactor: object.service with observable obj
    
    Change the objectType string to objectType obj
    in order to subscribe to multilple properties link to this object
    
    Reviewed-by: andriacap
    [Refs_ticket]: PnX-SI#40
    
    * feat: adapt service to get config json
    
    Get fieldsName and fieldsLabel for display properties
    (properties component)
    
    Add logic to setItem in LocalStorage to keepLast Value of observable on reload page
    
    TODO:
    - [ ]  see if Localstorage is really necessary with the configService used inside api-geom.service )
    - [ ] adapt monitoring-form-g.component with the new service
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: column datatable from config json
    
    Add logic into sitegroups service in order to use config json to diplay
    column datatable (called "display_list")
    
    Review-by: andriac
    [Refs ticket]: PnX-SI#4
    
    * feat: adjust backend to load config json
    
    Adjust backend code to use existing code in order to load config from
    file json and by starting with "sites_group"
    
    Fix Media load and upload for site_group
    
    TODO:
    - [ ] check if config should be find from file or backend
    - [ ] Optimize logic backend (use generic model with class method ?)
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * feat: add button multiselect with filter on backend
    
    filter with params backend (new route -> see if it's possible to change
    that)
    
    Add button multiselect above form type site
    
    TODO:
    - improve Input / condition of use case of btn multiselect
    
    Reviewed-by: andriac
    
    * feat: btn multiselect option
    
    -Add @input fn , placeholder, title, paramsToFilt
    -Remove empty option
    -prevent adding from keyboard input or not including in list
    -Store config json into object
    
    Reviewed-by: @AndriaC
    [Refs-ticket]: PnX-SI#4
    
    * refactor: change form-service and object-service
    
    refactor form-service
    add observable into object-service (WIP: futur use for refresh page ?)
    
    Rieviewed-by: andriac
    
    [Refs_ticket]: PnX-SI#40
    
    * refactor: test refresh page and comportment obs
    
    refresh page seems to works with localstorage of different obj in
    object_service
    
    Reviewed-by: andriac
    
    * feat: dynamic form
    
    - Add:
    - pass config json to form.component-g.ts
    - add config json to this.obj and refresh form into form.component-g.ts
    - add css for form component to deal when long form selected
    
    -fix :
    - refresh page form component (this._configService.init is necessary
      ...)
    - comportment different between add or edit into form component and
      form service
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#4
    
    * feat: dynamic form - Correction PR
    
    Remove unused console.log
    Rxjs : use concatMap to avoid subscribe inside subscribe
    Apply: prettier and sort prettier for import ts file
    
    Reviewed-by: @AndriaC
    [Refs_PR]: PnX-SI#42
    
    * feat: dynamic create site
    
    - Add change current-object when click "Add <object>" from datatable
      component
    - api-geom.service: change the way to init the api-geom
    - WIP:  two subscribes in one .. (the subscription is call only once ..)
    - WIP : get config json from backend
    
    Reviewed-by: andriac
    
    * feat: add relationship id into sendData form site
    
    Add type_site and id_site_group to the form site
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 et PnX-SI#6
    
    * feat(back): add custom config when post site
    
    Change backend files in order to choose specific config when site is
    created.
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: tooltip and label inside datatable-component
    
    Add a childLabel inside interface objObs.ts
    in order to use this tooltip inside datatable-component
    
    * feat: get back work visitcomponent
    
    get back work from feat/visit to use visitcomponent
    but adapted to current branch
    
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: forgot 3 modifications needed from feat/site
    
    Add conftest visit
    Add test_get_visits
    Add get_site_by_id
    
    * fix: passing data between components and property
    
    - Action button "consult..." is working for group_site and site
    - Action with button "cancel" , "come back history routing" send to the
      right component
    - Label and tooltip are according to the parent and child object loaded
      in the corresponding component
    
    - Action "Add site" directly from datatable-g.component (WIP: need to
      remove send to sites_group/:id/create
    
    [Refs_ticket]: PnX-SI#40 , PnX-SI#4 , PnX-SI#5 and PnX-SI#6
    
    * fix: error of url relative when using form
    
    Fix problem of id_module has ["id_module"] in
    create_or_update_object_api function
    Fix path "sites/:id" to "site/:id"
    Add urlRelative when editing component
    
    * fix: fix things broken by rebase
    
    * chore: remove useless file
    
    * chore(front): remove file/comment/console.log
    
    ---------
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    34648dd View commit details
    Browse the repository at this point in the history
  32. Refactor to prepare for visits (PnX-SI#44)

    * Fix/db migrations (PnX-SI#31)
    
    * feat(db): upgrade down_revision following rebase
    
    Since rebase with develop: changed the down_revision number
    
    * fix(db): fix bind params enabling downgrade
    
    Beforehand the downgrade was not possible...
    
    * refactor(db): removed cor_site_type_category
    
    * refactor(db): changed category into type in cor
    
    * refactor(db): create cor_type_site
    
    * fix(db): renamed column
    
    * refactor(api): update models to fit migrations
    
    * fix(db):change bib_categorie_site to bib_type_site
    
    Adding :
    cor_site_module
    cor_site_type
    revision alembic to create function and trigger in order to add
    bib_type_site but only with nomenclature 'TYPE_SITE'
    upgrade and downgrade works
    
    [Refs ticket]: PnX-SI#3
    Reviewed-by: andriac
    
    * fix(api): updated models from migrations
    
    * fix(api): wip: fix admin following migrations
    
    * fix(api): update routes and tests
    
    To match migration changes
    
    * feat: flask admin bib_type_site
    
    Change bib_categories to bib_type_site into flask admin
    Adding filtering in list label_fr of type_site to secure the unique
    constraint
    
    Reviewed-by: andriac
    [Refs ticket]: PnX-SI#3
    
    * fix(api): updated schema to match models
    
    * fix(api): module edition
    
    * style(api): uniformize type_site
    
    * style(api): change relationship name for type_site
    
    * feat(api): validator admin
    
    * fix(api): make unique BibTypeSite in admin
    
    * test(api): fix test when existing nomenclatures
    
    In database
    
    Co-authored-by: Andria Capai <[email protected]>
    
    * refactor: object.service with observable obj
    
    Change the objectType string to objectType obj
    in order to subscribe to multilple properties link to this object
    
    Reviewed-by: andriacap
    [Refs_ticket]: PnX-SI#40
    
    * feat: adapt service to get config json
    
    Get fieldsName and fieldsLabel for display properties
    (properties component)
    
    Add logic to setItem in LocalStorage to keepLast Value of observable on reload page
    
    TODO:
    - [ ]  see if Localstorage is really necessary with the configService used inside api-geom.service )
    - [ ] adapt monitoring-form-g.component with the new service
    
    Reviewed-by: andriacap
    [Refs ticket]: PnX-SI#4
    
    * refactor(front): svc: better use of types
    
    * feat(front): add Visits component and service
    
    * feat(back): add get site by id route & test
    
    * feat(api): add visits routes and schema
    
    * fix(api): join modules to have the modulecode
    
    For the frontend to be able to redirect to the correct route
    
    * feat(api): add sites/id/module route
    
    To retrieve all the modules compatibles with this site
    This lead to add a relationship. Set to noload so that it is not
    loaded by other not "raiseloaded" queries
    
    * test(api): add test to test the /sites/id/module
    
    Route.
    Also changed some fixture to be able to write these tests
    
    * fix(front): remove double def of IGeomService
    
    * refactor(front): remove Resp interface
    
    Since it is not usefull anymore
    
    * fix(api): exclude sites relationship
    
    * fix(config): change KeyValue
    
    Since id changed
    
    * feat(front): make datatable accepts other add btn
    
    To be able to customize the "add object" button
    
    * feat(front): add btn select protocole for visit
    
    Add new component: select-btn
    Add call to route to get modules from a base site id
    Call the new component in the visit component
    Add interfaces
    Add type in config service
    
    * feat(front): parameter for label and placeholder
    
    For the btn component.
    Style menu and form-field to make them larger
    
    * refactor(front): api service with generic types
    
    * fix(front): div removed following rebase
    
    * refactor(front): add service as input for formComp
    
    So that formComp is more type generic
    
    * fix(config): remove "s" from sites_group
    
    * refactor(front): put initConfig in ApiService
    
    * fix(front): remove "s" from visit
    
    * fix(front): put back condition on css class
    
    To make ng-content conditionnal
    
    * fix: following rebase
    
    Fix imports, double declarations...
    
    * fix(api): redirect to url
    
    * refactor(front): rename select-btn to option-list
    
    * fix: remove contrib
    
    ---------
    
    Co-authored-by: Andria Capai <[email protected]>
    2 people authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b4d7c46 View commit details
    Browse the repository at this point in the history
  33. feat(front): add seeObjLabel (PnX-SI#45)

    Displayed in datatable as a link to the obj
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    252fee8 View commit details
    Browse the repository at this point in the history
  34. Feat/get sites sites group models (PnX-SI#46)

    * fix(api): remove monitoring_g_definitions
    
    Since it prevents the module to load...
    
    * feat(api): add join relationships
    
    For sites and sites_groups
    
    * fix(config): put back id_sites_group
    
    * refactor(api): move function to prevent circular
    
    Imports!
    
    * fix(api): load sites groups from module_id
    
    * chore: remove useless code
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e6883f2 View commit details
    Browse the repository at this point in the history
  35. test: routes for type site and post site (PnX-SI#57)

    * test: routes for type site and post site
    
    Reviewed-by: andriac
    
    * test: apply black and change query string
    
    - Keep site beauce it's specific one cannot re use existing
    - Fix mnemonique "None" with existing label_default
    
    Reviewed-by:andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fe87d88 View commit details
    Browse the repository at this point in the history
  36. style(front): no data support & line return (PnX-SI#58)

    When no data is available: show a message
    When the displayed option is too long: line break
    mvergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    0811256 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    900939b View commit details
    Browse the repository at this point in the history
  38. feat: delete site (PnX-SI#62)

    * feat: delete site
    
    Add code from backend to delete site (frontend is already implemented)
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * test: add test for delete item site
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    43c6d49 View commit details
    Browse the repository at this point in the history
  39. Feat/edit site (PnX-SI#56)

    * feat: edit site (init value btn-select)
    
    - Change button select to accept incoming intial values
    - Change visit component to add btn-select and form-g inside html
    
    - WIP: update form component when initial values is up to date
    
    Reviewed-by: andriac
    [Refs_ticket] :  PnX-SI#5 , PnX-SI#6
    
    * feat: get information when edit site
    
    - Get all fields from specific site.json into editform
    - Fix problem redirection if edit object site
    
    - WIP : check how to update specific fields from object
    - WIP : check how to manage listOption types site when reload or when
      come back into component after first init
    
    Reviewed-by: andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * fix: forgot add apiService property binding
    
    Reviewed-by:andriac
    
    * feat: update site with good properties
    
    Change types_site object to array of ids
    Remove extra key "dataComplement" to assign config
    
    Reviewed-by:andriac
    [Refs_ticket]: PnX-SI#5 , PnX-SI#6
    
    * feat: prevent form appear if no type-site
    
    - Hide form if btn-list type-site not selected
    - Add custom error message mat-error if not selected (directive + custom
      message)
    
    WIP: error message is showing up only if not selected after touched .
    Maybe need to use asyncValidator ?
    
    Reviewed-by: andriac
    [Refs_tickets]: PnX-SI#5 , PnX-SI#6 , PnX-SI#54
    
    * feat: change order to emit event bEdit
    
    - Change order between change formService.changeData and bEditChange
    - Preprocess for types_site seems to be useless (see todo)
    
    Reviewed-by: andriac
    [Refs_ticket]: : PnX-SI#5 , PnX-SI#6 , PnX-SI#54
    
    * feat: solve request changes
    
    - Apply prettier
    - Change object key [''] by type properties
    - Remove unused preprocess_data lines
    
    [Refs_ticket] : closes PnX-SI#54
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    cf3163b View commit details
    Browse the repository at this point in the history
  40. style: formatter json in flask admin (PnX-SI#63)

    - Create jsonformatter inside utils.py
    - Add formatter to column "config"
    
    Reviewed-by: andriac
    [Refs_ticket] : PnX-SI#59
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    2030a69 View commit details
    Browse the repository at this point in the history
  41. feat(front): try to make breadcrumb work

    In the site entry part
    Maxime Vergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fcd7a4d View commit details
    Browse the repository at this point in the history
  42. feat(front): make breadcrumn logic inside component

    - Get all information from loading component to build breadcrumb
      information
    - Fix call twice siteService (delete the one with snake_case)
    - Use logic from observable and snapshot url to satisfy all case to
      access to route (by component, directly by url etc)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ece0f81 View commit details
    Browse the repository at this point in the history
  43. feat(wip): merge chainInput and display-data-info

    Need dev to the two other branches
    Try to add logic into map-list-component
    
    Check if it is the best way to manage map
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c7e0b0f View commit details
    Browse the repository at this point in the history
  44. feat: remove unused function

    Subscription to initConfig useless
    
    Reviewed-by: andricap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a746f12 View commit details
    Browse the repository at this point in the history
  45. fix: put outside updateBreadCrumb in sitegp comp

    Merge work from branch breadcrumb branhc and resolve problem with other
    feature like problem initialization of sites groups (resolver)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    f273f1a View commit details
    Browse the repository at this point in the history
  46. feat: remove onInit to mapListComponent

    Back component as it was
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6a95734 View commit details
    Browse the repository at this point in the history
  47. feat(wip): manage geometry type into form

    Put back alert to create geometry if geometry_type precise in
    config (json)
    
    Reviewed-by: andricap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    997dd6f View commit details
    Browse the repository at this point in the history
  48. feat(wip) change way to manage map obj component

    Create into formService an observable and subscribe into
    mapListComponent to load and connect the form with geometry info
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9795855 View commit details
    Browse the repository at this point in the history
  49. fix: rename obj Form and fix pb load confi obj

    - Change the name of form Object for homogeneity
    - Fix problem to load config of siteService in sitesComponents
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8a835b1 View commit details
    Browse the repository at this point in the history
  50. fix: remove unused edit site component

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b2a228e View commit details
    Browse the repository at this point in the history
  51. fix: loading config object site

    Alternative to the "resolver"  in order to load config and necessary items to
    display site properties and data table
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a1d8938 View commit details
    Browse the repository at this point in the history
  52. fix: existing little problem

    - description when delete object
    - change selectedObject on component site
    - remove duplicate "bEdit"
    - add "ngIf=!bEdit" on site component (to prevent display datatable on
      edition)
    - fix upper case letter in variable
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c368998 View commit details
    Browse the repository at this point in the history
  53. fix: problem to load specific site

    - change the way to load config on visit-component (=site/:id)
    - fix problem on mergeMap that doesn't complete (wrong observable
      called)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    0efb622 View commit details
    Browse the repository at this point in the history
  54. feat(wip) : manage map

    - keep trying to send geometry to "objForm" object (FormGroup)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8889b1e View commit details
    Browse the repository at this point in the history
  55. fix: error on form with obj properties/config

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    677f8fd View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    ce8f97c View commit details
    Browse the repository at this point in the history
  57. fix: problem when delete site child

    Fix request DELETE in backend for site and change the way to
    get_sites_group_by_id by using the custom query get_or_404
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ba0db5c View commit details
    Browse the repository at this point in the history
  58. fix: problem adding site child by data-table comp

    When trying to add siteGroup's site child data no pass between the form
    component and the component of sites-groups .
    Creation of resolver to load information of siteGroup selected in order
    to updateBreadCrumb but also to specify the siteGroup Parent.
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ec6704b View commit details
    Browse the repository at this point in the history
  59. fix: problem redirection on delete site action

    Create new method in form component to redirect to the good url
    according the fact we delete site.
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9f6d35a View commit details
    Browse the repository at this point in the history
  60. fix: untracked gitlab-ci.yml

    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    96b53b8 View commit details
    Browse the repository at this point in the history
  61. fix: load specific properties obj

    Specific properties were not loaded , add check specific schema to load
    if specific properties exist
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b9d4bf0 View commit details
    Browse the repository at this point in the history
  62. feat: page not found specific to monitoring

    Add page not found in order to manage into monitoring module
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c1b25d7 View commit details
    Browse the repository at this point in the history
  63. feat: not found working for request status 404

    Reviewed-by:andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    0ce8e5a View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    540de8a View commit details
    Browse the repository at this point in the history
  65. feat: display types_site label in table and prop

    Display types_site label into data-table component and
    properties-component
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    01a9b39 View commit details
    Browse the repository at this point in the history
  66. feat(api): return label of nomenclature type site

    Maxime Vergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    bda1913 View commit details
    Browse the repository at this point in the history
  67. style(config): types site attribut label

    Maxime Vergez authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    134ea0e View commit details
    Browse the repository at this point in the history
  68. feat(wip): display specific properties

    - change setControl to setValue
    - add html inside site.json (local)
    - (wip) addSpecific config to second tab for properties component
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    1665c0f View commit details
    Browse the repository at this point in the history
  69. feat: ignore html field when submit form

    - destructuration object to ignore html to submit form
    - ignore html field to specific config in order to match with submit
      form
    
    Reviewed-by: andricap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    41c463f View commit details
    Browse the repository at this point in the history
  70. feat(wip): display specific properties

    Display only field not "undefined" to get properties component readable
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    1843baf View commit details
    Browse the repository at this point in the history
  71. feat: display specific properties

    Display all value from specific config even if it's null
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6a477d6 View commit details
    Browse the repository at this point in the history
  72. fix: remove call api for types_site

    Useless call api in visit-component (already get by another request)
    Remove '/' from start of request to avoid double '//'
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ea69661 View commit details
    Browse the repository at this point in the history
  73. feat(back): json formatter on edit column

    Add class JSON to format json in edit column
    
    [Refs_ticket]: Closes PnX-SI#75
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    cba7e8e View commit details
    Browse the repository at this point in the history
  74. feat(back): edition site work for module enter

    Change the "types_site" properties by id_nomenclature (before label_fr)
    just before post/patch data in "preprocess_data"
    
    WIP: see if it's possible to add different "types_site" ?
    Currently the way is to change type_site only when you enter by site
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    54bddfd View commit details
    Browse the repository at this point in the history
  75. refact: remove useless call service in btn-select

    the service to add Extra formController to formGroup was call too many
    time for nothing.
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    93aa748 View commit details
    Browse the repository at this point in the history
  76. fix: error on tab spec properties

    When "selectedObj.data" is empty we do not display tab and table (adding
    this part of code to remove the error)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6788bf8 View commit details
    Browse the repository at this point in the history
  77. feat(front): architecture form with dynamic field

    Change the way to place the component "btn-select" into the
    form-component-g.
    Also add another dynamic form generator in order to update separetely
    all specific fields and static fields
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a33e4de View commit details
    Browse the repository at this point in the history
  78. feat: update form from btn-select

    Change the way to update the form , only dynamic fields are updated
    ExhaustMap is used in order to wait complete config subscribe then
    launch other subscribe
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    066a60f View commit details
    Browse the repository at this point in the history
  79. feat: create form according to btn-select comp

    Change the way to update form with btn-select component when we want to
    create a site
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    1566d00 View commit details
    Browse the repository at this point in the history
  80. fix: remove unused property binding FormGroup

    The new way to build form doesn't need anymor propertybinding FormGroup
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    96cda80 View commit details
    Browse the repository at this point in the history
  81. feat: redirection on delete prevent to reload obj

    Before even the delete action reload the entire object whereas now we
    just want to redirect to parent page in case of deleted object.
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c88f5a3 View commit details
    Browse the repository at this point in the history
  82. feat: using service to update and create dyn form

    Use observable and service in order to update and create specific fiedls
    (dynamic Form)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    cd05f69 View commit details
    Browse the repository at this point in the history
  83. feat(front): displaying dynamic and static form

    Separate static field and dynamic fieds (specific to type site)
    in order to manage easily fields and controls.
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b92d683 View commit details
    Browse the repository at this point in the history
  84. fix: check obj initialized for FormGroup

    Add more check before initialize form component
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    91a9f6c View commit details
    Browse the repository at this point in the history
  85. fix: error on build

    Fix errors about html, library , and argument in service cause of : new
    angular version and rebased branch
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d9b26a8 View commit details
    Browse the repository at this point in the history
  86. fix: change down revision and error id_nomenclatur

    Because of rebase needed to change down revision of
    "declare_available_permission"
    
    Fix problem id_nomenclature to id_nomenclature_type_site
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b88bd49 View commit details
    Browse the repository at this point in the history
  87. fix: icon edition geometry problem

    Change html ObjForm in monitoring-map-list.ts component
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a997390 View commit details
    Browse the repository at this point in the history
  88. test: move conftest.py to root project

    Need to move this file because crashing the pytest collect
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    5e73efd View commit details
    Browse the repository at this point in the history
  89. fix: error constructor failed for this service

    Missing argument in constructor
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    43b5e92 View commit details
    Browse the repository at this point in the history
  90. feat(db): alembic revision (ATTENTION)

    Add CRUVED into monitoring admin module
    TODO: to see when we will talk about permission
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    77d5cbf View commit details
    Browse the repository at this point in the history
  91. fix: error default argument in route

    Before using GN 2.13.0b , it worked , now I need to remove default
    argument in blueprint route : site_groups/config and site/config
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9986498 View commit details
    Browse the repository at this point in the history
  92. fix(front): angular-material matchiplist

    **Themes**: angular-material
    
    Adapt btn-select component in order to make it again working .
    MatChipList and MatChip  change to MatChipGrid and MatChipRow
    
    Reviewed-by: andricap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ad271f3 View commit details
    Browse the repository at this point in the history
  93. fix: material angulr tab (group site and site)

    Refactoring du code pour pouvoir :
    - Afficher les groupes de site ET les sites
    - Adapter les tabs au style de la librairie Material-Angular
    
    Modifications des composants impactés : resolver , data-table(service et
    composant) , geom(interface), objObs(interface), breadcrumb (statique
    pour le moment)
    
    WIP/TODO:
    - Re adapter les composants visit et site pour qu'ils soient compatibles
      avcec la nouvelle structure de data-table-g
    - Composant "properties" à changer pour avoir le style "mterial-angular"
    
    FIX:
    - Pouvoir voir un site directement depuis la visualistion du premier
      tableau de sites (PB à résoudre avant : voir comment faire pour
    voir un site orphelin = sans groupe de site --> nouvelle route à créer )
    - Voir les objets : rowStatus et objectStatus du composant data-table
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fbdf8b5 View commit details
    Browse the repository at this point in the history
  94. fix: angular material adapt for properties comp

    Changement des "tabs" et du bouton "Editer pour les adapter à la
    librairie angular-material utilisé dans GN
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    08bd997 View commit details
    Browse the repository at this point in the history
  95. fix: problem action button to add obj

    Après avoir adapté le style angular material et la possiblité d'avoir
    l'entrée par soit Site ou Groupe de site , l'ajout de l'objet du Tab
    Actif a été impacté .
    Pb résolu pour les groupes de site mais l'ajout d'un site depuis la page
    "acceuil" des liste de site pose un problème de fond (à voir/ discuter)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fa5a045 View commit details
    Browse the repository at this point in the history
  96. fix: adapt visit, site component to datatable

    Changement des composants "monitoring-sites" et "monitoring-visits"
    pour les adapter à la nouvelle manière de gérer les données dans le
    composant "data-table" (dû au changements avec material-angular et
    la double entrée site/groupe de site)
    
    Correction de quelques bugs (exemple si un site n'a aucune visite, ça
    renvoyait une erreur)
    
    On ignore le "html" dans l'affichage des propriétés spécifiques
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    de93337 View commit details
    Browse the repository at this point in the history
  97. fix: correction display btn to add protocol

    Correction au niveau de l'insertion du composant "bouton" pour l'ajout
    de visite qui nécessite la demande d'un protocole:
    - Adaptation à material-angular
    - Changement pour l'affichage conditionnel de ce bouton
    
    Correction de l'UX (style des mat-chip-row , pour la sélection des types
    de sites)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6f672f3 View commit details
    Browse the repository at this point in the history
  98. fix: error when loading page with specific field

    Ajout d'un check de condition pour executer l'initilisation des
    propriétés spécifiques (type de site) liées aux sites
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    77b7f44 View commit details
    Browse the repository at this point in the history
  99. fix: error localstorage cyclic object

    L'utilisation du localstorage pour le moment n'est pas utilisable
    (probleme d'objet cyclique JSON.stringify)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ca30247 View commit details
    Browse the repository at this point in the history
  100. Feat/show map according to tab (PnX-SI#79)

    * feat: conditional display site or sitegroup
    
    Ajout d'un Event Binding pour pouvoir charger les bonnes géométries en
    fonction du "tab" actif
    Soit pour afficher toutes les géométries de groupes de site , ou
    afficher toutes les géomtries de site
    
    Reviewed-by: andriacap
    
    * fix: error sho details site from map
    
    Changement de la variable baseUrl pour obtenir la bonne route pour
    visualiser le site sélectionné sur la carte
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    46cce0f View commit details
    Browse the repository at this point in the history
  101. lint(back): apply black

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c624bb7 View commit details
    Browse the repository at this point in the history
  102. lint(front): apply prettier

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    95c938f View commit details
    Browse the repository at this point in the history
  103. feat: prevent user to delete site and gp site (PnX-SI#81)

    Prevent user to delete site and gp site when enter through protocol
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a480b2e View commit details
    Browse the repository at this point in the history
  104. Feat/enter tab site features (PnX-SI#80)

    * feat: enter through site site_gp
    
    -  Ajout des routes si on entre par site (tab)
    -  Adaptation du breadcrumb si on entre par tab : site
    -  Ajout de champ de formulaire 'id_site_group' pour pouvoir associer un
       site à un groupe de site
    - Correction des redirections des boutons associé au tab "site" (edition
      , ajout)
    
    Reviewed-by: andriacap
    
    * feat: types site (entrance by protocol)
    
    - Création de site à patir de l'entrée par protocole avec champ
      dynamique
    - Création de route pour avoir uniquement les types de site associé au
      protocole sélectionné
    
    - TODO : A l'édition d'un site (entrée par protocole) pouvoir charger
      les champs spécifiques lié à ce site
    
    Reviewed-by: andriacap
    
    * feat(WIP): edit site (entrance protocol)
    
    Reviewed-by: andriacap
    
    * fix: route according to tab selected
    
    Quand on entre par site , la route lié aux sites ou groupes de site sur
    la map ne s'actualisait pas .
    
    Reviewed-by: andriacap
    
    * fix: multiple reload observable subscription
    
    Ajout d'un "subject" pour "unsubscribe" les observables du formulaire
    (entrée par site)
    
    Reviewed-by: andriacap
    
    * feat: edit with pre load properties and dyn form
    
    Ajout de dev pour finaliser la possibilité de charger les data
    complement liés aux types de site (et donc à des fichiers de configs
    présent sur la table bib_types_site )
    
    Reviewed-by: andriacap
    
    * fix: filter on colum "Type(s) de site"
    
    Reviewed-by: andriacap
    
    * style: apply black
    
    Reviewed-by: andriacap
    
    * fix: error on empty tab groupe site
    
    Problème lorsqu'un des deux tabs était vide , alors le composant tableau
    ne se mettait pas à jour par rapport au tab sélectionné .
    
    Reviewed-by: andriacap
    
    * fix: link to edit and create object from table
    
    Reviewed-by: andriacap
    
    * feat: prevent delete sitegp and site from protocol
    
    On empeche la suppression de site de groupe et de site via l'entrée par
    protocole
    
    Reviewed-by: andriacap
    
    * fix: do not load typessite by siteid if edit
    
    Modification de la condition du chargement des types de site en fonction
    de l'édition ou la création de site dans le composant form
    
    Reviewed-by: andriacap
    
    * fix: allow add site group if exist in config
    
    Laisser la possibilité d'ajouter des groupes de site si dans l'arbre de
    config du module (site_group est configuré)
    
    Reviewed-by: andriacap
    
    * feat: add visit from table
    
    Possibilité d'ajouter une visite depuis le composant data-table-g
    Passage d'évenement du composant option-btn-list aux composant
    'grand-parent'
    Affichage conditionnel au click du bouton "+' dans le composant
    data-table
    
    Reviewed-by: andriacap
    
    * feat(front): add variable RouteBase to object
    
    Entrée par site:
    Ajout d'une variable 'RouteBse' pour que ce soit plus verbeux pour la
    redirection des routes en fonction du nombre de tab sur la page
    (Résoud la problématique d'une stratégie de non "reloading" au
    changement de route pour ne pas avoir à tout recharger lorsqu'on change
    de tabs sites_group/site )
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    404c4d9 View commit details
    Browse the repository at this point in the history
  105. feat: edit and create geom

    - Suppression des layers dans les ngOndestroy des composants
    - json.loads des geometry pour avoir l'objet geometry prêt pour les map et
    les parentFormControl du composant map
    - Ajout d'une layer de site pour le composant "visit" (layer du site
      parent aux visites)
    - Chane strategie d'écoute du formService FormMap
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    27f8984 View commit details
    Browse the repository at this point in the history
  106. fix: error displaying types site

    Error when editing the second time a site (fields types site were not
    displayed)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    dd55e46 View commit details
    Browse the repository at this point in the history
  107. style : improve ux/ui for form component

    Amélioration et uniformisation de l'ux entre les composant formulaires
    (entrée par site et par protocoles)
    
    Ajout d'une alerte en cas de suppression d'un type de site sur les
    champs saisies
    
    Ajout des titres à chaque page pour l'édition , la création ou le détail
    d'un site / groupe de site
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    71ce37e View commit details
    Browse the repository at this point in the history
  108. feat: observers displaying and editing form

    Observers is now editable in form with the component pnx-observers
    
    Observers is displayed as "nom_complet" in components "properties" and
    "data-table"
    
    Review-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    f5bda27 View commit details
    Browse the repository at this point in the history
  109. Feat/edit delete through table (PnX-SI#86)

    * feat(wip): edit obj from data-table
    
    Allo edition directly from data-table component
    (entrance by site)
    
    Delete from data table (wip)
    
    Reviewed-by: andriacap
    
    * feat(wip): delete site groups from table
    
    Use eventemitter and subscription (see if it could be better)
    
    Reviewed-by: andriacap
    
    * feat: delete object from table comp
    
    - Delete site groupe and site from table (reload route params in order
      to reload resolver)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e440a97 View commit details
    Browse the repository at this point in the history
  110. Feat/filter columns relationship (PnX-SI#87)

    * feat(wip) : filter on relationship
    
    Filter and sort on "observers" by "nom_complet" --> OK
    Filter on "last_visit" --> WIP
    
    Reviewed-by: andriacap
    
    * feat: sort and filter on id_inventor and date
    
    Filter on data table component (enter through site) need to manage
    relationship column.
    
    Change DateTime to Char and filter on "nom_complet" for observers
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    25c29c2 View commit details
    Browse the repository at this point in the history
  111. style: apply black and prettier

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    40050f3 View commit details
    Browse the repository at this point in the history
  112. feat: use code list observers for observers site (PnX-SI#88)

    Using config gn_config and add CODE_OBSERVERS_LIST to monitoring config
    to get list of observers (enter through site)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    29aad50 View commit details
    Browse the repository at this point in the history
  113. style(front): apply prettier

    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e6fe43b View commit details
    Browse the repository at this point in the history
  114. Feat/conditional edit and delete entrance protocol (PnX-SI#89)

    * feat: conditional delete site
    
    - Delete icon is not showing if visit > 0
    
    Reviewed-by: andriacap
    
    * feat: edit table object (from protocol)
    
    Edit icon in data-table component.
    Allow user to directly edit from a datatable component
    
    Reviewed-by: andriacap
    
    * feat: delete visit from protocol and site
    
    Change relationship for module on t_visit_complements model (fix error dependency rules blank)
    Change visit-component in order to allow delete when enter through site
    Add hide-spinner class to improve UX for delete modal (enter through
    site)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6a05131 View commit details
    Browse the repository at this point in the history
  115. fix: specific form and properties types site (PnX-SI#90)

    IMPORTANT : need dev from GeoNature (see demo test VM)
    
    Fix problem loading specific config (types site) entrance through
    protocol
    
    Fix problem loading specific fields in creation form site
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    43e4599 View commit details
    Browse the repository at this point in the history
  116. feat: add variable config in json (PnX-SI#91)

    Rendre la possibilité d'extraire les variables de configs depuis le
    front et de les remplacer par les valeurs de la config.
    
    FIX: bug de redirection à la création d'un site à partir de l'onglet
    "sites"
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e3aaf25 View commit details
    Browse the repository at this point in the history
  117. feat: optional observers_txt field (PnX-SI#92)

    Add multiselect to false for field observers in site.json (only one
    id_inventor in DB)
    
    Add conditional `required` and `hidden` to `observers` field for
    `visit.json`
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ae4b3b4 View commit details
    Browse the repository at this point in the history
  118. Feat/observers txt last (PnX-SI#93)

    * feat: add observers_txt to visit.json
    
    Add field observers_txt to visit in order to allow config in submodule
    
    Reviewed-by: andriacap
    
    * style : lint json
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ade6c45 View commit details
    Browse the repository at this point in the history
  119. Feat/permission (PnX-SI#94)

    * feat: permission guard and on route back
    
    - Creation d'un Guard pour empêcher l'accès aux routes
    -Création d'un service Permission pour permettre d'obtenir les
    permissions liés aux objets (GNM_SITES etc) du module Monitorings et
    ainsi "bloquer" l'action sur les composants
    - Ajout des "check_cruved_scope" coté backend pour empêcher l'éxécution
      d'action CRUD directement depuis les routes API
    
    WIP: continuer à implémenter coté frontend l'affichage conditionnel en
    fonction des permissions de l'utilisateurs (affichage ou non des tabs
    sites, groupes de site, grisage et désactivation des icones liées aux
    actions CRUD, désactivation conditionnelle des boutons liés aux actions
    CRUD
    
    Reviewed-by: andriacap
    
    * feat: add ux (permission) icon and button
    
    - UX permission to not display sites or sites_groups if not allowed
    - UX permission to disable button/icon and add tooltip to warn the user
      that he doesn't get rights to do the action
    
    WIP: add UX to button delete in Form component
    
    Reviewed-by: andriacap
    
    * feat: add scope_filter to monitorings obj permiss
    
    Set true in revision alembic to allow admin to choose 'mon organisme' ,
    'mes données'
    
    Reviewed-by: andriacap
    
    * feat: add variable config in json
    
    Rendre la possibilité d'extraire les variables de configs depuis le
    front et de les remplacer par les valeurs de la config.
    
    FIX: bug de redirection à la création d'un site à partir de l'onglet
    "sites"
    
    Reviewed-by: andriacap
    
    * feat: permission with paginate
    
    Create paginate_scope in order to send object with permission for each
    object
    
    Create function model and function query to filter on object and check
    scope (based on TDataset model)
    
    Integration of permission in data-table
    
    Reviewed-by: andriacap
    
    * feat: add filter readable query to geom site
    
    Add filter_by_readable for site geom
    
    Reviewed-by: andriacap
    
    * feat(back): add object_code to BibTypeSites
    
    Specify object_code to BibTypeSite in order to make work permission on
    this object
    
    Reviewed-by: andriacap
    
    * feat(back): permission on different object
    
    Add permission for:
    
    - GET sites_group geom
    - GET sites_group
    - GET submodules list when we want to create visit through site entrance
    
    Create PermissonModel to use function created in GN Core
    
    Create function with parameter list object, module_code(opt), object_code
    (opt) in order to return CRUVED for each object of list object (need to
    test to see if works with any object : Modules --> ok, sites,
    sites_group, visits,observations to check
    
    Reviewed-by: andriacap
    
    * feat: change the way to get cruved_object
    
    fix problem from frontend to GET cruved_object with object of boolean
    (no more object of integer)
    
    Reviewed-by: andriacap
    
    * feat: add permission logic (entrance site)
    
    WIP : try to make working VisitQuery readable for organism
    
    Reviewed-by: andriacap
    
    * feat: query visit filtering scope
    
    Fix problem function filter_by_scope by using Models
    
    Reviewed-by: andriacap
    
    * style(backend): apply black
    
    Reviewed-by: andriacap
    
    * feat(back): add observation query and fix
    
    Fix: has/any on filter_by_scope function
    
    Add: observation query and id_digitiser to model
    
    Reviewed-by: andriacap
    
    * feat(back): R,U,D for specific object scope
    
    Prevent user to R,U,D for specific object according to his scope
    
    Reviewed-by: andriacap
    
    * fix: error on route
    
    default id not needed
    
    Reviewed-by: andriacap
    
    * feat: permission entrance through protocol
    
    Front
    - Remove unused 'userCruved' (front)
    - Set permission for object and child with 'cruved' object get from
      backend (disable btn and icon everywhere cruved is checked)
    
    Back:
    - add boolean cruved object for each objectType inside serializer
    - add ObservtionQuery to model TMOnitoringOBservation and hybrid_property and has_instance_permission method
    - FIX:
       * name "visite" to "visit"
       * change get_id by get_id_name for GenericModel
       * problem inside get_object_with_permission_boolean
    
    WIP:
    - Entrance protocol :
      * filter_by_readable "GET" on list object
      * Prevent access to edit page
    - Entrance site:
      * UX according to permission on button "Supprimer" into Form Component
    
    Reviewed-by: andriacap
    
    * feat: filter on only readable object
    
    Entrance through protocol : filter_by_scope (Readable object)
    
    Reviewed-by: andriacap
    
    * feat: prevent user to edit object if not allowed
    
    Add boolean canUpdate in form component in case object is readable but
    not editable and user change param edit=true in ulr directly
    
    Reviewed-by: andriacap
    
    * fix: add module_code in get_readable_list_object
    
    Reviewed-by: andriacap
    
    * feat: add check permission to route (entrance site)
    
    BACK:
    - Add to all route  decorator permission and check
      has_intance_permission (entrance site)
    - Add 'cruved' to all object return for get_by_id (site and sites_group)
    FIX (BACK):
    - error when no child (check len childs_model)
    - method get_object_with_permission_boolean condition for module need to
      change the call method
    
    FRONT:
    - change canUpdate, canDelete for form and property component in order
      to check if specific object has permission
    FIX:
    - initForm need to wait for 'config' loaded for this.obj
    - same thing for form.service
    
    Reviewed-by: andriacap
    
    * feat: add guard for other frontend route
    
    Add guard for specific route
    Check canRead with canCreate
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a317710 View commit details
    Browse the repository at this point in the history
  120. fix: redirection , permission form, reloading (PnX-SI#95)

    - Fix reloading component on delete from databa-table
    - Fix set cruved condition (not module_code 'generic')
    - Add condition read object above create for canActivate Guard
    - Remove some TODO notes
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    c59620a View commit details
    Browse the repository at this point in the history
  121. Feat/change model migration (PnX-SI#96)

    * feat: change db structure
    
    Add id_digitiser for t_sites_groups
    
    Drop constraint NOT NULL on t_observations.cd_nom (check if keep or not)
    
    Reviewed-by: andriacap
    
    * feat(back): add revision to add observer_txt
    
    Add observers_txt in database via alembic revision.
    
    Use alembic function to aler column
    
    Reviewed-by: andriacap
    
    * feat: add id_digitiser to t_observations
    
    Create alembic revision and add on model
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    faa4306 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    56237a4 View commit details
    Browse the repository at this point in the history
  123. fix: redirection and permission grp_site

    Precise object_code for paginate_scope with grp_site
    Change route redirection when create object
    Delete get item with marshmallow in delete request
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b4d3f74 View commit details
    Browse the repository at this point in the history
  124. fix: paginate not found

    Need to rename key object send by setPage and onSortEvent
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b7bb24d View commit details
    Browse the repository at this point in the history
  125. style: apply lint front and back

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    7603471 View commit details
    Browse the repository at this point in the history
  126. fix: change id on delete route

    Problem with id_g --> change to specific id for site and site_group
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    dc28566 View commit details
    Browse the repository at this point in the history
  127. hotfix: problem refreshing page with guard

    Remove guard and canActivate on route (entrance through site)
    
    In addtition of problem of refreshing route with canActivate parmas
    render blank page , this guard is not necessary because of other warning
    and security on all action (CRUD)
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    5876433 View commit details
    Browse the repository at this point in the history
  128. Configuration menu
    Copy the full SHA
    df2a4a6 View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    0de5633 View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    3d508d0 View commit details
    Browse the repository at this point in the history
  131. Erreur rebase

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6591a24 View commit details
    Browse the repository at this point in the history
  132. Répercussion renomage de GNM en MONITORINGS et suppression de

    MonitoringPermissions_dict
    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9042504 View commit details
    Browse the repository at this point in the history
  133. db: remove migration alembic

    Move migration alembic for "add_observers_txt_column_t_base_vist"
    to GeoNature
    
    See PR: PnX-SI/GeoNature#2692
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d09c392 View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    a498296 View commit details
    Browse the repository at this point in the history
  135. ux/ui: change layout home page monitoring

    Remove two column (description/modules)
    Align element from home page
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    1fb9723 View commit details
    Browse the repository at this point in the history
  136. fix: size of div container Acces site

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9dc1ae8 View commit details
    Browse the repository at this point in the history
  137. Correction tests

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    ad918c3 View commit details
    Browse the repository at this point in the history
  138. Black

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8882c0a View commit details
    Browse the repository at this point in the history
  139. Configuration menu
    Copy the full SHA
    a3b2f05 View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    02a2cb1 View commit details
    Browse the repository at this point in the history
  141. refact: load all types site from btn-select comp

    Basé sur les retours de Camille, Amandine et MNHN
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e0a0b80 View commit details
    Browse the repository at this point in the history
  142. style: apply lint frontend

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9956e14 View commit details
    Browse the repository at this point in the history
  143. fix: specific field kept in form

    Reset specific field when quit form component (entrance through site)
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    0d46a50 View commit details
    Browse the repository at this point in the history
  144. hotfix: problem create visit

    Load permission on 'ALL' for modules error . Change to precise object
    visit permission
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d78560a View commit details
    Browse the repository at this point in the history
  145. style: centered protocol home page

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    feaf7b3 View commit details
    Browse the repository at this point in the history
  146. wip: manage geometry site group

    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    3b72945 View commit details
    Browse the repository at this point in the history
  147. fix:multiple layer and geom site group

    Manage geometry site group (load, reload, on cancel, manage layer etc) (entrance through site)
    
    Reviewed-by: andriac
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e073bdc View commit details
    Browse the repository at this point in the history
  148. feat: geom site group (edit and create)

    Allow user to create and edit geometry for site group
    
    Case :
    - site group with child --> if no geom created, geometry is
      calculated
      --> if geom created you can edit this geom
    - site group without child --> geom can be null (otherwise it's possible
      to create geom)
    
    - Remove console.log
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8954250 View commit details
    Browse the repository at this point in the history
  149. ux: add message to inform about geom site group

    Add message about geometry site group to infomr user that the current
    geometry is calculated based on site group's child
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    d625afe View commit details
    Browse the repository at this point in the history
  150. lint: backend

    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    09462bf View commit details
    Browse the repository at this point in the history
  151. fix: problem to read data same organism

    Error on check id_organism compare to organism actor
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    59ddd43 View commit details
    Browse the repository at this point in the history
  152. docs: add documentation for new features (wip)

    Creation d'un nouveau fichier pour expliquer l'entrée par groupe de
    site et site
    Modification de la présentation du module monitoring
    Modification du paragraphe de Permissions
    Ajout d'images descriptives
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    dafb8aa View commit details
    Browse the repository at this point in the history
  153. docs: add description type site form

    Add part to explain link between type site field in edit and creation site form
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    58a6052 View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    8e47aa7 View commit details
    Browse the repository at this point in the history
  155. Configuration menu
    Copy the full SHA
    3b5cb20 View commit details
    Browse the repository at this point in the history
  156. feat: manage geom through protocol

    - Fix bug changeActiveTab
    - Add displaying conditional site group geometry through protocol
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    03eb4e5 View commit details
    Browse the repository at this point in the history
  157. fix: create site group without geom

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    7a7a2a7 View commit details
    Browse the repository at this point in the history
  158. hotfix: remove import AppConfig

    Error when using docker build
    
    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    30db12a View commit details
    Browse the repository at this point in the history
  159. docs: add observers_txt in "sous_module"

    Reviewed-by: andriacap
    andriacap authored and amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    29a19f7 View commit details
    Browse the repository at this point in the history
  160. Resolve conflicts

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fc7956c View commit details
    Browse the repository at this point in the history
  161. Configuration menu
    Copy the full SHA
    1f4d039 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    f38082c View commit details
    Browse the repository at this point in the history
  163. Configuration menu
    Copy the full SHA
    6959fd9 View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    78d6d98 View commit details
    Browse the repository at this point in the history
  165. Configuration menu
    Copy the full SHA
    64d7e15 View commit details
    Browse the repository at this point in the history
  166. Configuration menu
    Copy the full SHA
    e9b70d8 View commit details
    Browse the repository at this point in the history
  167. Configuration menu
    Copy the full SHA
    2d0e36b View commit details
    Browse the repository at this point in the history
  168. Configuration menu
    Copy the full SHA
    8487571 View commit details
    Browse the repository at this point in the history
  169. Configuration menu
    Copy the full SHA
    5064649 View commit details
    Browse the repository at this point in the history
  170. Configuration menu
    Copy the full SHA
    2943fee View commit details
    Browse the repository at this point in the history
  171. Remove laizy joined

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    f750aeb View commit details
    Browse the repository at this point in the history
  172. Correction yml

    amandine-sahl committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    800ce6c View commit details
    Browse the repository at this point in the history
  173. Configuration menu
    Copy the full SHA
    4b2c4d5 View commit details
    Browse the repository at this point in the history
  174. Add asset type de site (PnX-SI#282)

    * Add asset type de site
    amandine-sahl authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    616a5a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Lint prettier (PnX-SI#281)

    * Lint prettier 3.1.0
    amandine-sahl authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c27c601 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    c1965b4 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    8650b1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67a179e View commit details
    Browse the repository at this point in the history
  3. Bump GeoNature

    amandine-sahl committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    788036a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    569359e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f49fa67 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bd65fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2eed161 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cad4a5b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8b6dc3c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8626cb6 View commit details
    Browse the repository at this point in the history
  11. bump GeoNature/develop

    jacquesfize authored and amandine-sahl committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    008d297 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e9a7d54 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5db5a0c View commit details
    Browse the repository at this point in the history
  14. Merge pull request PnX-SI#283 from PnX-SI/feat/sqlalchemy2

    Passage à sqlalchemy 1.4 et ajout de tests
    amandine-sahl authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    f600cd9 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Fix/migrations (PnX-SI#285)

    * Move create cor_type_site bib_type_site cor_module_type to geonature
    
    * Remove id_nomenclature_type_site and migrate model to GeoNature
    
    * Move t_observations to GeoNature
    
    * Rename cor_type_site to cor_site_type
    
    * Bump GeoNature
    amandine-sahl authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    af94d17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2ea908 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    33fcb71 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    651339e View commit details
    Browse the repository at this point in the history
  2. Merge pull request PnX-SI#289 from CREA-Mont-Blanc/feat/add-unit-tests

    fix:  unify organism_actors behavior across models
    amandine-sahl authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    e8ae2e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. fix: clean python files imports + BLACK 24 (PnX-SI#290)

    * fix: remove relative imports and unused libs
    
    * fix: remove unused modules
    
    * Add import fixture monitoring_users
    
    * Reorder imports
    
    * Black
    
    ---------
    
    Co-authored-by: Mathieu ROUDAUT <[email protected]>
    Co-authored-by: amandine-sahl <[email protected]>
    3 people authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    ccd3cc8 View commit details
    Browse the repository at this point in the history
  2. fix: use table models migrated in geonature core BibTypesSites (PnX-S…

    …I#292)
    
    * fix: use table models migrated in geonature core
    
    * fix: imports in tests files
    
    * Import TNomenclature from pypnnomenclature
    
    ---------
    
    Co-authored-by: Mathieu ROUDAUT <[email protected]>
    Co-authored-by: amandine-sahl <[email protected]>
    3 people authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    184199c View commit details
    Browse the repository at this point in the history
  3. Fix/clean transfert permissions ALL TO MONTORING_XXX (PnX-SI#291)

    * Script sql de migration des permissions
    
    * Changelog
    amandine-sahl authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    545883b View commit details
    Browse the repository at this point in the history
  4. Fix : sqlalchemy query

    amandine-sahl committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    4df62eb View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Fix/detail site url - cf PnX-SI#298 (PnX-SI#299)

    * Correction url lien vers détail site 
    
    * Harmonisation popup carto
    amandine-sahl authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    7f71419 View commit details
    Browse the repository at this point in the history
  2. Fix/synchro on synthese (PnX-SI#288)

    * remove silented errors when insert in synthese 
    
    * add migration for trigger delete in synthese
    ---------
    
    Co-authored-by: amandine-sahl <[email protected]>
    TheoLechemia and amandine-sahl authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    efb10e1 View commit details
    Browse the repository at this point in the history
  3. Feat/multiple geom type (PnX-SI#296)

    * allow multiple geom type
    
    * Sites avec plusieurs type de géométrie par défaut
    
    ---------
    
    Co-authored-by: amandine-sahl <[email protected]>
    TheoLechemia and amandine-sahl authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    38d018f View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    7ef4793 View commit details
    Browse the repository at this point in the history
  2. Fix : migration modification for permissions (PnX-SI#305)

    * Fix : migration modification for permissions
    amandine-sahl authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    707d5b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f1a28a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8ee7ce View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. feat: add unit tests for generic monitoring routes and utils (PnX-SI#295

    )
    
    * feat: add test for config route
    
    * feat: add data_utils tests
    
    * fix: response code for data utils route
    
    * fix: rename test to match source file
    
    * fix: remove useless file
    
    * fix: remove legacy code
    
    * feat: add tests for utils and error
    mathieu-roudaut-crea authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    86e53de View commit details
    Browse the repository at this point in the history
  2. Harmonisation des processus d'exécution de sql (PnX-SI#308)

    * Harmonisation des processus d'exécution de sql
    
    * Add test forbidden sql instructions
    amandine-sahl authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    9b5dc1f View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. fix: filter ,sort and page on datatable (PnX-SI#310)

    * fix: filter ,sort and page on datatable
    
    Missing changes to check according to event on table(sort, filter, page)
    Refact code for ngOnChanges
    
    Reviewed-by: andriac
    
    * style(front): apply prettier
    
    Reviewed-by: andriacap
    andriacap authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8677eb0 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    f0be7a2 View commit details
    Browse the repository at this point in the history