-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: dev-suivi-eolien
Are you sure you want to change the base?
fix: remove display field filter on children #316
Commits on Dec 8, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 12e3531 - Browse repository at this point
Copy the full SHA 12e3531View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 790997f - Browse repository at this point
Copy the full SHA 790997fView commit details -
feat: [6.2] Page d'accueil module monitoring layout et config title e…
Configuration menu - View commit details
-
Copy full SHA for c71a897 - Browse repository at this point
Copy the full SHA c71a897View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 23ad834 - Browse repository at this point
Copy the full SHA 23ad834View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 048d10d - Browse repository at this point
Copy the full SHA 048d10dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d905b2a - Browse repository at this point
Copy the full SHA d905b2aView commit details -
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.)
Configuration menu - View commit details
-
Copy full SHA for 6844f56 - Browse repository at this point
Copy the full SHA 6844f56View commit details -
test: move test_route in parent dir (PnX-SI#17)
clean: Merge la PR move test_route Co-authored-by: Andria Capai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9104f85 - Browse repository at this point
Copy the full SHA 9104f85View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 0ee1cee - Browse repository at this point
Copy the full SHA 0ee1ceeView commit details -
refactor(api): remove id_type in admin (PnX-SI#22)
To replace it with a bib nomenclature type: TYPE_SITE
Configuration menu - View commit details
-
Copy full SHA for 6706af0 - Browse repository at this point
Copy the full SHA 6706af0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f0069 - Browse repository at this point
Copy the full SHA e4f0069View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b6c5101 - Browse repository at this point
Copy the full SHA b6c5101View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1999255 - Browse repository at this point
Copy the full SHA 1999255View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8fc9e21 - Browse repository at this point
Copy the full SHA 8fc9e21View commit details -
* 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]>
Configuration menu - View commit details
-
Copy full SHA for e70bc4c - Browse repository at this point
Copy the full SHA e70bc4cView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 46d44dc - Browse repository at this point
Copy the full SHA 46d44dcView commit details -
* fix(api): page - 1 that returned the wrong page * test(api): add test for paginate
Configuration menu - View commit details
-
Copy full SHA for 6951fb5 - Browse repository at this point
Copy the full SHA 6951fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a551b81 - Browse repository at this point
Copy the full SHA a551b81View commit details -
Fix/db migrations checkconstrainton bib_type_site.id_nomenclature (Pn…
Configuration menu - View commit details
-
Copy full SHA for 9689c16 - Browse repository at this point
Copy the full SHA 9689c16View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 93064bc - Browse repository at this point
Copy the full SHA 93064bcView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 91c643f - Browse repository at this point
Copy the full SHA 91c643fView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 2daf64d - Browse repository at this point
Copy the full SHA 2daf64dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 667b4d2 - Browse repository at this point
Copy the full SHA 667b4d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b353fa - Browse repository at this point
Copy the full SHA 9b353faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 641f340 - Browse repository at this point
Copy the full SHA 641f340View commit details -
* 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]>
Configuration menu - View commit details
-
Copy full SHA for a22dc92 - Browse repository at this point
Copy the full SHA a22dc92View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 79c4df2 - Browse repository at this point
Copy the full SHA 79c4df2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 858d908 - Browse repository at this point
Copy the full SHA 858d908View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ae6400d - Browse repository at this point
Copy the full SHA ae6400dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9f9524d - Browse repository at this point
Copy the full SHA 9f9524dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 34648dd - Browse repository at this point
Copy the full SHA 34648ddView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b4d7c46 - Browse repository at this point
Copy the full SHA b4d7c46View commit details -
feat(front): add seeObjLabel (PnX-SI#45)
Displayed in datatable as a link to the obj
Configuration menu - View commit details
-
Copy full SHA for 252fee8 - Browse repository at this point
Copy the full SHA 252fee8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e6883f2 - Browse repository at this point
Copy the full SHA e6883f2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for fe87d88 - Browse repository at this point
Copy the full SHA fe87d88View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 0811256 - Browse repository at this point
Copy the full SHA 0811256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 900939b - Browse repository at this point
Copy the full SHA 900939bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c6d49 - Browse repository at this point
Copy the full SHA 43c6d49View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for cf3163b - Browse repository at this point
Copy the full SHA cf3163bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 2030a69 - Browse repository at this point
Copy the full SHA 2030a69View commit details -
feat(front): try to make breadcrumb work
In the site entry part
Configuration menu - View commit details
-
Copy full SHA for fcd7a4d - Browse repository at this point
Copy the full SHA fcd7a4dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ece0f81 - Browse repository at this point
Copy the full SHA ece0f81View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c7e0b0f - Browse repository at this point
Copy the full SHA c7e0b0fView commit details -
Subscription to initConfig useless Reviewed-by: andricap
Configuration menu - View commit details
-
Copy full SHA for a746f12 - Browse repository at this point
Copy the full SHA a746f12View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f273f1a - Browse repository at this point
Copy the full SHA f273f1aView commit details -
feat: remove onInit to mapListComponent
Back component as it was Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 6a95734 - Browse repository at this point
Copy the full SHA 6a95734View commit details -
feat(wip): manage geometry type into form
Put back alert to create geometry if geometry_type precise in config (json) Reviewed-by: andricap
Configuration menu - View commit details
-
Copy full SHA for 997dd6f - Browse repository at this point
Copy the full SHA 997dd6fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9795855 - Browse repository at this point
Copy the full SHA 9795855View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8a835b1 - Browse repository at this point
Copy the full SHA 8a835b1View commit details -
fix: remove unused edit site component
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for b2a228e - Browse repository at this point
Copy the full SHA b2a228eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a1d8938 - Browse repository at this point
Copy the full SHA a1d8938View commit details -
- 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
Configuration menu - View commit details
-
Copy full SHA for c368998 - Browse repository at this point
Copy the full SHA c368998View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 0efb622 - Browse repository at this point
Copy the full SHA 0efb622View commit details -
- keep trying to send geometry to "objForm" object (FormGroup) Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 8889b1e - Browse repository at this point
Copy the full SHA 8889b1eView commit details -
fix: error on form with obj properties/config
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 677f8fd - Browse repository at this point
Copy the full SHA 677f8fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8f97c - Browse repository at this point
Copy the full SHA ce8f97cView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ba0db5c - Browse repository at this point
Copy the full SHA ba0db5cView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ec6704b - Browse repository at this point
Copy the full SHA ec6704bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9f6d35a - Browse repository at this point
Copy the full SHA 9f6d35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b53b8 - Browse repository at this point
Copy the full SHA 96b53b8View commit details -
fix: load specific properties obj
Specific properties were not loaded , add check specific schema to load if specific properties exist Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for b9d4bf0 - Browse repository at this point
Copy the full SHA b9d4bf0View commit details -
feat: page not found specific to monitoring
Add page not found in order to manage into monitoring module Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for c1b25d7 - Browse repository at this point
Copy the full SHA c1b25d7View commit details -
feat: not found working for request status 404
Reviewed-by:andriac
Configuration menu - View commit details
-
Copy full SHA for 0ce8e5a - Browse repository at this point
Copy the full SHA 0ce8e5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 540de8a - Browse repository at this point
Copy the full SHA 540de8aView commit details -
feat: display types_site label in table and prop
Display types_site label into data-table component and properties-component Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for 01a9b39 - Browse repository at this point
Copy the full SHA 01a9b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for bda1913 - Browse repository at this point
Copy the full SHA bda1913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 134ea0e - Browse repository at this point
Copy the full SHA 134ea0eView commit details -
feat(wip): display specific properties
- change setControl to setValue - add html inside site.json (local) - (wip) addSpecific config to second tab for properties component
Configuration menu - View commit details
-
Copy full SHA for 1665c0f - Browse repository at this point
Copy the full SHA 1665c0fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 41c463f - Browse repository at this point
Copy the full SHA 41c463fView commit details -
feat(wip): display specific properties
Display only field not "undefined" to get properties component readable
Configuration menu - View commit details
-
Copy full SHA for 1843baf - Browse repository at this point
Copy the full SHA 1843bafView commit details -
feat: display specific properties
Display all value from specific config even if it's null Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 6a477d6 - Browse repository at this point
Copy the full SHA 6a477d6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ea69661 - Browse repository at this point
Copy the full SHA ea69661View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cba7e8e - Browse repository at this point
Copy the full SHA cba7e8eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 54bddfd - Browse repository at this point
Copy the full SHA 54bddfdView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 93aa748 - Browse repository at this point
Copy the full SHA 93aa748View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6788bf8 - Browse repository at this point
Copy the full SHA 6788bf8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a33e4de - Browse repository at this point
Copy the full SHA a33e4deView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 066a60f - Browse repository at this point
Copy the full SHA 066a60fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1566d00 - Browse repository at this point
Copy the full SHA 1566d00View commit details -
fix: remove unused property binding FormGroup
The new way to build form doesn't need anymor propertybinding FormGroup Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 96cda80 - Browse repository at this point
Copy the full SHA 96cda80View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c88f5a3 - Browse repository at this point
Copy the full SHA c88f5a3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cd05f69 - Browse repository at this point
Copy the full SHA cd05f69View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b92d683 - Browse repository at this point
Copy the full SHA b92d683View commit details -
fix: check obj initialized for FormGroup
Add more check before initialize form component Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 91a9f6c - Browse repository at this point
Copy the full SHA 91a9f6cView commit details -
Fix errors about html, library , and argument in service cause of : new angular version and rebased branch Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for d9b26a8 - Browse repository at this point
Copy the full SHA d9b26a8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b88bd49 - Browse repository at this point
Copy the full SHA b88bd49View commit details -
fix: icon edition geometry problem
Change html ObjForm in monitoring-map-list.ts component Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for a997390 - Browse repository at this point
Copy the full SHA a997390View commit details -
test: move conftest.py to root project
Need to move this file because crashing the pytest collect
Configuration menu - View commit details
-
Copy full SHA for 5e73efd - Browse repository at this point
Copy the full SHA 5e73efdView commit details -
fix: error constructor failed for this service
Missing argument in constructor Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 43b5e92 - Browse repository at this point
Copy the full SHA 43b5e92View commit details -
feat(db): alembic revision (ATTENTION)
Add CRUVED into monitoring admin module TODO: to see when we will talk about permission Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 77d5cbf - Browse repository at this point
Copy the full SHA 77d5cbfView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9986498 - Browse repository at this point
Copy the full SHA 9986498View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ad271f3 - Browse repository at this point
Copy the full SHA ad271f3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for fbdf8b5 - Browse repository at this point
Copy the full SHA fbdf8b5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 08bd997 - Browse repository at this point
Copy the full SHA 08bd997View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for fa5a045 - Browse repository at this point
Copy the full SHA fa5a045View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for de93337 - Browse repository at this point
Copy the full SHA de93337View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6f672f3 - Browse repository at this point
Copy the full SHA 6f672f3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 77b7f44 - Browse repository at this point
Copy the full SHA 77b7f44View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ca30247 - Browse repository at this point
Copy the full SHA ca30247View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 46cce0f - Browse repository at this point
Copy the full SHA 46cce0fView commit details -
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for c624bb7 - Browse repository at this point
Copy the full SHA c624bb7View commit details -
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 95c938f - Browse repository at this point
Copy the full SHA 95c938fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a480b2e - Browse repository at this point
Copy the full SHA a480b2eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 404c4d9 - Browse repository at this point
Copy the full SHA 404c4d9View commit details -
- 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
Configuration menu - View commit details
-
Copy full SHA for 27f8984 - Browse repository at this point
Copy the full SHA 27f8984View commit details -
fix: error displaying types site
Error when editing the second time a site (fields types site were not displayed) Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for dd55e46 - Browse repository at this point
Copy the full SHA dd55e46View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 71ce37e - Browse repository at this point
Copy the full SHA 71ce37eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f5bda27 - Browse repository at this point
Copy the full SHA f5bda27View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e440a97 - Browse repository at this point
Copy the full SHA e440a97View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 25c29c2 - Browse repository at this point
Copy the full SHA 25c29c2View commit details -
style: apply black and prettier
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 40050f3 - Browse repository at this point
Copy the full SHA 40050f3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 29aad50 - Browse repository at this point
Copy the full SHA 29aad50View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6fe43b - Browse repository at this point
Copy the full SHA e6fe43bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6a05131 - Browse repository at this point
Copy the full SHA 6a05131View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 43e4599 - Browse repository at this point
Copy the full SHA 43e4599View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e3aaf25 - Browse repository at this point
Copy the full SHA e3aaf25View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ae4b3b4 - Browse repository at this point
Copy the full SHA ae4b3b4View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ade6c45 - Browse repository at this point
Copy the full SHA ade6c45View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for a317710 - Browse repository at this point
Copy the full SHA a317710View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c59620a - Browse repository at this point
Copy the full SHA c59620aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for faa4306 - Browse repository at this point
Copy the full SHA faa4306View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56237a4 - Browse repository at this point
Copy the full SHA 56237a4View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b4d3f74 - Browse repository at this point
Copy the full SHA b4d3f74View commit details -
Need to rename key object send by setPage and onSortEvent Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for b7bb24d - Browse repository at this point
Copy the full SHA b7bb24dView commit details -
style: apply lint front and back
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 7603471 - Browse repository at this point
Copy the full SHA 7603471View commit details -
fix: change id on delete route
Problem with id_g --> change to specific id for site and site_group Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for dc28566 - Browse repository at this point
Copy the full SHA dc28566View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5876433 - Browse repository at this point
Copy the full SHA 5876433View commit details -
Configuration menu - View commit details
-
Copy full SHA for df2a4a6 - Browse repository at this point
Copy the full SHA df2a4a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de5633 - Browse repository at this point
Copy the full SHA 0de5633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d508d0 - Browse repository at this point
Copy the full SHA 3d508d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6591a24 - Browse repository at this point
Copy the full SHA 6591a24View commit details -
Répercussion renomage de GNM en MONITORINGS et suppression de
MonitoringPermissions_dict
Configuration menu - View commit details
-
Copy full SHA for 9042504 - Browse repository at this point
Copy the full SHA 9042504View commit details -
Move migration alembic for "add_observers_txt_column_t_base_vist" to GeoNature See PR: PnX-SI/GeoNature#2692 Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for d09c392 - Browse repository at this point
Copy the full SHA d09c392View commit details -
Configuration menu - View commit details
-
Copy full SHA for a498296 - Browse repository at this point
Copy the full SHA a498296View commit details -
ux/ui: change layout home page monitoring
Remove two column (description/modules) Align element from home page Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for 1fb9723 - Browse repository at this point
Copy the full SHA 1fb9723View commit details -
fix: size of div container Acces site
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 9dc1ae8 - Browse repository at this point
Copy the full SHA 9dc1ae8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad918c3 - Browse repository at this point
Copy the full SHA ad918c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8882c0a - Browse repository at this point
Copy the full SHA 8882c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b2f05 - Browse repository at this point
Copy the full SHA a3b2f05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02a2cb1 - Browse repository at this point
Copy the full SHA 02a2cb1View commit details -
refact: load all types site from btn-select comp
Basé sur les retours de Camille, Amandine et MNHN Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for e0a0b80 - Browse repository at this point
Copy the full SHA e0a0b80View commit details -
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 9956e14 - Browse repository at this point
Copy the full SHA 9956e14View commit details -
fix: specific field kept in form
Reset specific field when quit form component (entrance through site) Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for 0d46a50 - Browse repository at this point
Copy the full SHA 0d46a50View commit details -
Load permission on 'ALL' for modules error . Change to precise object visit permission Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for d78560a - Browse repository at this point
Copy the full SHA d78560aView commit details -
style: centered protocol home page
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for feaf7b3 - Browse repository at this point
Copy the full SHA feaf7b3View commit details -
wip: manage geometry site group
Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for 3b72945 - Browse repository at this point
Copy the full SHA 3b72945View commit details -
fix:multiple layer and geom site group
Manage geometry site group (load, reload, on cancel, manage layer etc) (entrance through site) Reviewed-by: andriac
Configuration menu - View commit details
-
Copy full SHA for e073bdc - Browse repository at this point
Copy the full SHA e073bdcView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8954250 - Browse repository at this point
Copy the full SHA 8954250View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d625afe - Browse repository at this point
Copy the full SHA d625afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09462bf - Browse repository at this point
Copy the full SHA 09462bfView commit details -
fix: problem to read data same organism
Error on check id_organism compare to organism actor Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 59ddd43 - Browse repository at this point
Copy the full SHA 59ddd43View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for dafb8aa - Browse repository at this point
Copy the full SHA dafb8aaView commit details -
docs: add description type site form
Add part to explain link between type site field in edit and creation site form Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 58a6052 - Browse repository at this point
Copy the full SHA 58a6052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e47aa7 - Browse repository at this point
Copy the full SHA 8e47aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b5cb20 - Browse repository at this point
Copy the full SHA 3b5cb20View commit details -
feat: manage geom through protocol
- Fix bug changeActiveTab - Add displaying conditional site group geometry through protocol Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 03eb4e5 - Browse repository at this point
Copy the full SHA 03eb4e5View commit details -
fix: create site group without geom
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 7a7a2a7 - Browse repository at this point
Copy the full SHA 7a7a2a7View commit details -
hotfix: remove import AppConfig
Error when using docker build Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 30db12a - Browse repository at this point
Copy the full SHA 30db12aView commit details -
docs: add observers_txt in "sous_module"
Reviewed-by: andriacap
Configuration menu - View commit details
-
Copy full SHA for 29a19f7 - Browse repository at this point
Copy the full SHA 29a19f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc7956c - Browse repository at this point
Copy the full SHA fc7956cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4d039 - Browse repository at this point
Copy the full SHA 1f4d039View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38082c - Browse repository at this point
Copy the full SHA f38082cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6959fd9 - Browse repository at this point
Copy the full SHA 6959fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d6d98 - Browse repository at this point
Copy the full SHA 78d6d98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64d7e15 - Browse repository at this point
Copy the full SHA 64d7e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b70d8 - Browse repository at this point
Copy the full SHA e9b70d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d0e36b - Browse repository at this point
Copy the full SHA 2d0e36bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8487571 - Browse repository at this point
Copy the full SHA 8487571View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5064649 - Browse repository at this point
Copy the full SHA 5064649View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2943fee - Browse repository at this point
Copy the full SHA 2943feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f750aeb - Browse repository at this point
Copy the full SHA f750aebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 800ce6c - Browse repository at this point
Copy the full SHA 800ce6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2c4d5 - Browse repository at this point
Copy the full SHA 4b2c4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 616a5a6 - Browse repository at this point
Copy the full SHA 616a5a6View commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c27c601 - Browse repository at this point
Copy the full SHA c27c601View commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1965b4 - Browse repository at this point
Copy the full SHA c1965b4View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8650b1d - Browse repository at this point
Copy the full SHA 8650b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67a179e - Browse repository at this point
Copy the full SHA 67a179eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 788036a - Browse repository at this point
Copy the full SHA 788036aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 569359e - Browse repository at this point
Copy the full SHA 569359eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f49fa67 - Browse repository at this point
Copy the full SHA f49fa67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bd65fe - Browse repository at this point
Copy the full SHA 5bd65feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eed161 - Browse repository at this point
Copy the full SHA 2eed161View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad4a5b - Browse repository at this point
Copy the full SHA cad4a5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b6dc3c - Browse repository at this point
Copy the full SHA 8b6dc3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8626cb6 - Browse repository at this point
Copy the full SHA 8626cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 008d297 - Browse repository at this point
Copy the full SHA 008d297View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9a7d54 - Browse repository at this point
Copy the full SHA e9a7d54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db5a0c - Browse repository at this point
Copy the full SHA 5db5a0cView commit details -
Merge pull request PnX-SI#283 from PnX-SI/feat/sqlalchemy2
Passage à sqlalchemy 1.4 et ajout de tests
Configuration menu - View commit details
-
Copy full SHA for f600cd9 - Browse repository at this point
Copy the full SHA f600cd9View commit details
Commits on Jan 19, 2024
-
* 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
Configuration menu - View commit details
-
Copy full SHA for af94d17 - Browse repository at this point
Copy the full SHA af94d17View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ea908 - Browse repository at this point
Copy the full SHA c2ea908View commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 33fcb71 - Browse repository at this point
Copy the full SHA 33fcb71View commit details
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 651339e - Browse repository at this point
Copy the full SHA 651339eView commit details -
Merge pull request PnX-SI#289 from CREA-Mont-Blanc/feat/add-unit-tests
fix: unify organism_actors behavior across models
Configuration menu - View commit details
-
Copy full SHA for e8ae2e3 - Browse repository at this point
Copy the full SHA e8ae2e3View commit details
Commits on Jan 26, 2024
-
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]>
Configuration menu - View commit details
-
Copy full SHA for ccd3cc8 - Browse repository at this point
Copy the full SHA ccd3cc8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 184199c - Browse repository at this point
Copy the full SHA 184199cView commit details -
Fix/clean transfert permissions ALL TO MONTORING_XXX (PnX-SI#291)
* Script sql de migration des permissions * Changelog
Configuration menu - View commit details
-
Copy full SHA for 545883b - Browse repository at this point
Copy the full SHA 545883bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4df62eb - Browse repository at this point
Copy the full SHA 4df62ebView commit details
Commits on Jan 30, 2024
-
Fix/detail site url - cf PnX-SI#298 (PnX-SI#299)
* Correction url lien vers détail site * Harmonisation popup carto
Configuration menu - View commit details
-
Copy full SHA for 7f71419 - Browse repository at this point
Copy the full SHA 7f71419View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for efb10e1 - Browse repository at this point
Copy the full SHA efb10e1View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 38d018f - Browse repository at this point
Copy the full SHA 38d018fView commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ef4793 - Browse repository at this point
Copy the full SHA 7ef4793View commit details -
Fix : migration modification for permissions (PnX-SI#305)
* Fix : migration modification for permissions
Configuration menu - View commit details
-
Copy full SHA for 707d5b2 - Browse repository at this point
Copy the full SHA 707d5b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1a28a - Browse repository at this point
Copy the full SHA 8f1a28aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8ee7ce - Browse repository at this point
Copy the full SHA f8ee7ceView commit details
Commits on Feb 2, 2024
-
feat: add unit tests for generic monitoring routes and utils (PnX-SI#295
Configuration menu - View commit details
-
Copy full SHA for 86e53de - Browse repository at this point
Copy the full SHA 86e53deView commit details -
Harmonisation des processus d'exécution de sql (PnX-SI#308)
* Harmonisation des processus d'exécution de sql * Add test forbidden sql instructions
Configuration menu - View commit details
-
Copy full SHA for 9b5dc1f - Browse repository at this point
Copy the full SHA 9b5dc1fView commit details
Commits on Feb 15, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 8677eb0 - Browse repository at this point
Copy the full SHA 8677eb0View commit details
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0be7a2 - Browse repository at this point
Copy the full SHA f0be7a2View commit details