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

release(2.15.1) : minor fixes #3293

Merged
merged 25 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b8c8dde
correct typo
jacquesfize Dec 16, 2024
8aa6ff6
feat(mapping,import): enable save of public mapping when user got U>3…
jacquesfize Dec 17, 2024
9bacad9
feat(import, fieldmapping): now owner of public mapping can edit
jacquesfize Dec 17, 2024
07f4677
feat(install): add new grid layer to database population script
jacquesfize Dec 17, 2024
1abef70
fix(import,upload): fix autofill of the dataset form with query params
jacquesfize Dec 17, 2024
ccde99a
feat(import, mapping) : update public mapping : (owner + u>0) ou (u>3)
jacquesfize Dec 17, 2024
d808557
fix backend test
jacquesfize Dec 17, 2024
58a129a
fix(admin) import mapping
Pierre-Narcisi Dec 18, 2024
36e93ba
fix(import, mapping) fix checkbox and import step
Pierre-Narcisi Jan 6, 2025
e9bcc2a
fix(doc): fix some rendering issues in the documentation
jacquesfize Jan 7, 2025
2c3ff70
feat(doc): add copy button on code block + minor changes on the doc
jacquesfize Jan 7, 2025
c0d3438
Delete docs/import-level-2.rst
camillemonchicourt Jan 7, 2025
d338f53
change theme to furo
jacquesfize Jan 7, 2025
925ed86
feat(doc): limit depth of right section
jacquesfize Jan 7, 2025
c0900d1
Delete docs/import-level-1.rst
camillemonchicourt Jan 7, 2025
f90a323
Doc admin - Move manual import into https://github.com/PnX-SI/Ressour…
camillemonchicourt Jan 7, 2025
51dbf2a
Complement CHANGELOG 2.15.1
camillemonchicourt Jan 8, 2025
4f0444c
feat(gitignore): add geonature.local.env in the gitignore
jacquesfize Jan 8, 2025
03ad862
fix(pdf_ca): make modifs for acquisition framework pdf export
Pierre-Narcisi Nov 8, 2024
b6cc7ca
fix(pdf_ca): fix typo error in af pdf export
VincentCauchois Nov 28, 2024
339d66d
Feat(CA, pdf) add occhabs by datasets
Pierre-Narcisi Jan 7, 2025
a4e89ea
feat(tests) add test
Pierre-Narcisi Jan 8, 2025
3736823
feat(ca) add dataset detail to acquisiton framework
Pierre-Narcisi Jan 8, 2025
f289896
update version and requirements
Pierre-Narcisi Jan 8, 2025
d48e13c
fix(test): fix frontend test on field mapping with the modification o…
jacquesfize Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delete docs/import-level-2.rst
camillemonchicourt authored Jan 7, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c0d3438b06ee072e8ebfbcc986336ceec18acc27
379 changes: 0 additions & 379 deletions docs/import-level-2.rst

This file was deleted.


Unchanged files with check annotations Beta

def FieldMappingValuesValidator(form, field):
destination = db.session.execute(

Check warning on line 50 in backend/geonature/core/imports/admin.py

Codecov / codecov/patch

backend/geonature/core/imports/admin.py#L50

Added line #L50 was not covered by tests
db.select(Destination).where(Destination.id_destination == form.destination.raw_data[0])
).scalar_one_or_none()
try:
FieldMapping.validate_values(field.data, destination)

Check warning on line 54 in backend/geonature/core/imports/admin.py

Codecov / codecov/patch

backend/geonature/core/imports/admin.py#L54

Added line #L54 was not covered by tests
except ValueError as e:
raise StopValidation(*e.args)
def ContentMappingValuesValidator(form, field):
destination = db.session.execute(

Check warning on line 60 in backend/geonature/core/imports/admin.py

Codecov / codecov/patch

backend/geonature/core/imports/admin.py#L60

Added line #L60 was not covered by tests
db.select(Destination).where(Destination.id_destination == form.destination.raw_data[0])
).scalar_one_or_none()
try:
ContentMapping.validate_values(field.data, destination)

Check warning on line 64 in backend/geonature/core/imports/admin.py

Codecov / codecov/patch

backend/geonature/core/imports/admin.py#L64

Added line #L64 was not covered by tests
except ValueError as e:
raise StopValidation(*e.args)
return max_scope > 0
def __repr__(self):
return self.label

Check warning on line 223 in backend/geonature/core/imports/models.py

Codecov / codecov/patch

backend/geonature/core/imports/models.py#L223

Added line #L223 was not covered by tests
@serializable