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

YDA-5059: add hierarchical keyword selector #380

Open
wants to merge 33 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
11b387c
EPOS keyword selector
rvanelk Jun 28, 2023
d8a0d76
Merge branch 'development' into development-keyword-selector
lwesterhof Nov 3, 2023
bb75fb5
Compile metadata forms.
lwesterhof Nov 3, 2023
1d6a3b2
Add debug statements.
lwesterhof Nov 3, 2023
c6d5beb
Merge branch 'development' into development-keyword-selector
lwesterhof Jan 4, 2024
539340b
Workaround to move keywords into correct JSON structure
lwesterhof Jan 9, 2024
8f7fbfd
Merge branch 'development' into development-keyword-selector
lwesterhof Mar 13, 2024
afb7b5c
Update EPOS-MSL vocabulary location
lwesterhof Mar 13, 2024
a29d71b
Automatically select parent nodes.
lwesterhof Mar 13, 2024
b0ac9ac
Merge branch 'development' into development-keyword-selector
lwesterhof Sep 5, 2024
13af770
wip keyword selector almost working
claravox Nov 19, 2024
fb8ae42
YDA-5059: keyword selector, wip theme
claravox Nov 22, 2024
30d4edc
Merge branch 'development' into development-keyword-selector
claravox Nov 25, 2024
277d2a1
YDA-5059: keyword select dark and light theme
claravox Nov 26, 2024
7ae08c4
custom keywords works
claravox Dec 2, 2024
eea47e2
lint (only)
claravox Dec 2, 2024
06faa33
Fix duplicate key issue
claravox Dec 2, 2024
42f64c6
Lift colorMode up
claravox Dec 3, 2024
dc9ebb8
Lift darkThemeColors up
claravox Dec 3, 2024
1b455c9
Rename keyword selector
claravox Dec 3, 2024
e3ae7ef
Rename even more
claravox Dec 3, 2024
0cf0600
CSP fixed itself
claravox Dec 3, 2024
6c1e0e8
Adjust z-index of treeselect dropdown
claravox Dec 3, 2024
99c8779
Move metadata form common parts together, central build
claravox Dec 9, 2024
ead3087
Update deposit, vault metadata form css
claravox Dec 9, 2024
49f1d5e
Remove research module metadata form webpack
claravox Dec 9, 2024
e5bcb70
reduce metadata-form.js size
claravox Dec 9, 2024
9febaa1
Ignore metadata form linting
claravox Dec 11, 2024
571f9f3
Remove remaining jstree
claravox Dec 11, 2024
809d226
Switch to lowercase subject fields to match datacite json
claravox Dec 16, 2024
e54ac97
Rename Hierarchical to Tree
claravox Dec 16, 2024
3b05aa1
Add comments
claravox Dec 17, 2024
66e6352
Merge branch 'development' into development-keyword-selector
lwesterhof Dec 18, 2024
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
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ coverage.xml
docs/_build/

# Node modules
/research/metadata-form/node_modules/
/vault/metadata-form/node_modules/
/deposit/metadata-form/node_modules/
/metadata_form/src/node_modules/

# Python Virtual Environment
/venv/
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def add_security_headers(response: Response) -> Response:

# Content Security Policy (CSP)
if request.endpoint in unsafe_eval_endpoints:
response.headers['Content-Security-Policy'] = "default-src 'self' data: *.githubusercontent.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: *.openstreetmap.org; frame-ancestors 'self'; form-action 'self'; object-src 'none'" # noqa: E501
response.headers['Content-Security-Policy'] = "default-src 'self' data: *.githubusercontent.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' ; img-src 'self' data: *.openstreetmap.org; frame-ancestors 'self'; form-action 'self'; object-src 'none'" # noqa: E501
elif request.endpoint in form_action_endpoints:
response.headers['Content-Security-Policy'] = "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self'; form-action 'self' https:; object-src 'none'" # noqa: E501
else:
Expand Down
Loading
Loading