Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: home discussions user filter enhancements #5

Closed
wants to merge 15 commits into from

Conversation

20cents
Copy link

@20cents 20cents commented Oct 9, 2024

Close issue PnX-SI#3194

il a participé à la discussion concernée

TReport.id_synthese.in_(
    select(TReport.id_synthese).where(TReport.id_role == g.current_user.id_role)
),
# S'il poste un message sur une obs, il verra alors tous les messages concernant cette cette obs

il a saisi l'observation qui est commentée ce filtre sera basé sur le champs id_digitizer

TReport.synthese.has(Synthese.id_digitiser == g.current_user.id_role),

il fait partie des observateurs ce filtre sera basé sur le champs cor_observer_synthese

TReport.synthese.has(Synthese.cor_observers.any(User.id_role == g.current_user.id_role))

@20cents 20cents force-pushed the feat/home-discussions-user-filter-enhancements branch 3 times, most recently from 0347a46 to 008aa06 Compare October 10, 2024 12:21
bouttier and others added 13 commits October 28, 2024 17:56
* feat(import): integrate import module (backend and frontend) in GeoNature core
* feat(import): add requirement in occhab import
* feat(import): add inter-field condition between different entities
* feat(import, error) : create an "enum" to list import error
* feat(check) parent and unique column to entity
* feat: import schema
* feat: import to synthese
* feat: import to occhab
* feat(import): remove ng_module from import
* fix(destination): add type occhab to module occhab
* feat(imports): several checks made generic
* feat(imports): add parent/child related checks
* feat(import/occhab): add id_station_source
* feat(imports/occhab): add id_import FK in pr_occhab
* feat(back): list all imports
* feat(import): access to import report from several places
* feat(import): download file and delete import from imports list
* feat(import): add statistics display in import list
* feat(import list, statistic): enable generic tooltip in the import list
* feat(import, mapping): skip content mapping if not necessary
* feat(mapping, import): add field to field condition
* feat(import, plot): add generic plot in backend import
* feat(import, doc): add documentation from gn_module_import
* feat(import): add frontend test
* feat(import, synthese): add the possibility to declare jdd in the import file 
* feat(model, import): Prohibit deletion of import with stations including habitats not originating from the same import.
* feat(import, occhab): add default mapping (SINP + GEONATURE)
* feat (mapping, import) : hide jdd selection form
* feat(import, report): update import report 
* feat(report, synthese): add id_import to synthese
* feat(report) link from import report to occhab, and filter on id_import

---------

Co-authored-by: jacquesfize <[email protected]>
Co-authored-by: Pierre Narcisi <[email protected]>
Co-authored-by: Andria Capai <[email protected]>
Co-authored-by: VincentCauchois <[email protected]>
Co-authored-by: Etienne Delclaux <[email protected]>
Co-authored-by: Élie Bouttier <[email protected]>
Co-authored-by: Julien Corny <[email protected]>
* Doc install - Remove TaxHub

* Doc installation-all - Remove TaxHub

* Doc installation-docker - Remove TaxHub

* Doc installation-standalone - Remove TaxHub

* Doc development - Remove TaxHub

* FAQ - Remove TaxHub

* Doc admin-manual - Remove TaxHub

* Doc https - Remove TaxHub
* Update installation-all.rst : more infos on `mode` variable
---------

Co-authored-by: Camille Monchicourt <[email protected]>
Co-authored-by: Jacques Fize <[email protected]>
* Update installation.rst

---------

Co-authored-by: Jacques Fize <[email protected]>
…-SI#3136)

* Update installation.rst add chmod on $HOME

---------

Co-authored-by: Jacques Fize <[email protected]>
* Update https.rst for openssl

---------

Co-authored-by: Camille Monchicourt <[email protected]>
Co-authored-by: Jacques Fize <[email protected]>
@jacquesfize jacquesfize force-pushed the feat/home-discussions-user-filter-enhancements branch from 7673321 to 6bb1317 Compare October 30, 2024 07:32
@edelclaux edelclaux closed this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants