forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[#Fixes 12862] Allow to add metadata when uploading a resource #902
Open
ridoo
wants to merge
21
commits into
master
Choose a base branch
from
feature/12862_allow-to-add-metadata-when-uploading-a-resource
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[#Fixes 12862] Allow to add metadata when uploading a resource #902
ridoo
wants to merge
21
commits into
master
from
feature/12862_allow-to-add-metadata-when-uploading-a-resource
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [django](https://github.com/django/django) from 4.2.9 to 4.2.16. - [Commits](django/django@4.2.9...4.2.16) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…k for d… (GeoNode#12733) * [Fixes GeoNode#12732] Asset file migration for documents does not work for document * [Fixes GeoNode#12732] Asset file migration for documents does not work for document
even for a single file, the destination must be a list not a string
…be on tileset level (GeoNode#12764) * [Fixes GeoNode#12763] 3D tiles geometricError mandatory field should be on tileset level * [Fixes GeoNode#12763] 3D tiles geometricError mandatory field should be on tileset level * [Fixes GeoNode#12763] 3D tiles geometricError mandatory field should be on tileset level
* Initial commit for the metadata architecture refactoring * improving the code * update the first handler * rename the file of the main schema * fixing manage.py * For testing a specific folder for json schemas examples was created * formatting the json schema files * update the json schema examples * adding the metadata/schema endpoint under api/v2 * rename the action of getting schema * adding the metadata/instance/{pk} endpoint * adding handlers registry * update metadata manager * update the metadata/{pk} to metadata/instance/{pk} * update the /metadata/schema endpoint * Handlers refactoring, i18n * Add TKeywords subschema * Metadata TKeywords: fix max card * TKeywords: Fix schema * Tkeywords: void get_jsonschema_instance * TKeywords: Fix autocomplete; localization * Thesaurus schema: Improve localization * TKeywords: Improve autocomplete * adding PUT functionality to the endpoint metadata/instance/{pk} * rename the view of metadata/instance/{pk} endpoint * TKeywords: Improve autocomplete * TKeywords: move tkeywords just under category field * Many improvements and addings to the base handler * Some more improvements and addings to the base handler * Return proper json schema instance * Return proper json schema instance * adding a handler for the regions field: RegionsHandler * Add DOI handler * Improvements and fixes * fixing Region autocomplete * Add DOI handler * Simplify tkeywords schema * adding serialize method to other FKs of the BaseHandler * Extending PUT and removing serialization * Fix PUT/PATCH * Fixes: now patch returns without major errors * Storing FKs to the resource model * small improvements to store FK values * TKeywords get and patch working. Added i18n to instance request * Cleanup: black and flake * Added contacts schema. Moved tkeywords autocomplete. * Load+store contacts * Added linked resources handler * Regions autocomplete * Regions load/store * Extending the Regions autocomplete results * format fixing * update the MetadataRegionsAutocomplete class * Metadata: review label i18n * Metadata: hkeywords handler - WIP * Minor improvement * Metadata: hkeywords handler * Metadata: group handler * Metadata: set owner fields as required * Metadata: doi: implement update_resource * Many improvements and fixes Sparse fields, model + handler Fix id type Handling required fields Add load_serialization_context Add null type to most optional fields Caching schema Simplified handler registration * Cleanup * Add error handling, Improve sparse field loading * Initial INSPIRE app * May improvements: sparse fields, i18n,... - Handling complex values in sparse fields - Added i18n via thesaurus - Improved subschema handling - Renamed base schema json file * tests for views * adding more tests for views * Tkeywords: hide property if no thesaurus configured * Create test errors recursively * Recurse localization in complex sparse fields * Metadata: fix contact roles * Metadata: improve handling of None values in sparse fields * Metadata: add authorization to metadata access * Metadata: fix required rolenames * Metadata: improve type handling in sparse fields * adding tests for views and manager * Metadata: improve handling of None values in sparse fields * Metadata: tentative handling of categories via autocomplete * Metadata: tentative handling of categories via autocomplete * adding base handlers tests * Metadata: tentative handling of categories via autocomplete * Metadata: handling licenses via autocomplete * Black/flake * Fix i18n caching * adding more tests for the BaseHandler * Fix flake * Black/flake * Metadata: fix group handling * Metadata: fix FK handling * adding tests for region and linkedrsources handers * fixing tests * black reformating * adding tests and reformatting * removing unused modules * removing Permissions module * adding tests for Group and Hkeyword handlers * add a flake issue * fixing views tsts * adding tests for Contact and Thesaurus handlers and autocomplete views * formatting issues * adding tests for autocomplete views and Thesaurus handler * adding tests for sparse handler * fixing format issues * Fix load_thesaurus * Remove stale sample schemas * Metadata: reload schema when labels on DB change * Fix linked resources API * Added __init__ to tests dir * Fix UserHasPerms in views * Remove geonode.inspire app * Some improvements after review * Delete unneeded migration * Some improvements after review * Metadata: show contact cardinalities only in debug mode * Fix save: make proper signals work --------- Co-authored-by: gpetrak <[email protected]>
* [Fixes GeoNode#12789] Improve 3dtiles filename handling * [Fixes GeoNode#12789] Improve 3dtiles filename handling
add cmotadev to .clabot
* adding timeseries API * fixing a bug * black re-formatting * Fix serializer for DatasetTimeSerie * make some small improvements * black reformatting * improving the code * formatting the code * adding get_choices under the __init__ function of the serializer * adding a support_time property * update layers/views with the support_time property * rename the property support_time to supports_time * adding a get_choices property to the Dataset model and extending the supports_time property * adding tests for the get_time_info function and for the supports_time property * fixing a bug * update the tests for the get_time_info * removing non-used module --------- Co-authored-by: Mattia <[email protected]>
…tcha on Login Form (GeoNode#12825) (GeoNode#12831) * Add custom login view/template to support recaptcha on Login Form
* build(deps): bump django from 4.2.16 to 4.2.18 Bumps [django](https://github.com/django/django) from 4.2.16 to 4.2.18. - [Commits](django/django@4.2.16...4.2.18) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix setup.cfg --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mattia <[email protected]>
…var (GeoNode#12849) * disable gravatar provider * fix hardcoded avatar urls in permspec tests * fix hardcoded avatar urls in permspec tests (2)
…GeoNode#12856) * [Fixes GeoNode#12854] Fix migrations for create handlerinfo via asset
cfcd549
to
b28b8cb
Compare
b28b8cb
to
d1957c9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for contrib modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.