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

Feature/source datamodel #500

Open
wants to merge 100 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
553dc10
Simple date parsing utility
JeltevanBoheemen Jul 29, 2021
daeccae
Django app and graph for source ontology
JeltevanBoheemen Jul 29, 2021
d60c11a
Make soure ontology available in frontend
JeltevanBoheemen Sep 8, 2021
b4ebab2
Merge branch 'develop' into feature/source-datamodel
JeltevanBoheemen Sep 8, 2021
a1ce077
Use Select2 for source types
JeltevanBoheemen Sep 9, 2021
88717db
use subviews for rendering source type picker
JeltevanBoheemen Sep 9, 2021
fa162a6
Complete form
JeltevanBoheemen Sep 21, 2021
bdfafb5
Update soure summary and list
JeltevanBoheemen Sep 21, 2021
60dbf71
Source ontology migration
JeltevanBoheemen Sep 21, 2021
fdf1e19
Add missing sourceTypes
JeltevanBoheemen Sep 22, 2021
1578382
bits and bobs for migration
JeltevanBoheemen Sep 26, 2021
c274d88
type-aware help text in process of outfactoring
BeritJanssen Oct 19, 2021
1220d82
setting help text works, still need to factor out field
BeritJanssen Oct 20, 2021
7d4bc03
date field for type-aware help added
BeritJanssen Oct 25, 2021
9b37cbb
storing public boolean to Elasticsearch, fixing sort condition on sou…
BeritJanssen Oct 25, 2021
77247e5
adding source_ontology endpoint
BeritJanssen Nov 10, 2021
c9b286e
SourceMetadataView as subview of SourceMetadataPanel and UploadView
BeritJanssen Nov 29, 2021
17ef4f3
merge develop
BeritJanssen Dec 6, 2021
3ee7166
updates to ensure rendering of readonly mode in date fields
BeritJanssen Dec 13, 2021
bf4bf84
updating source in backend: work in progress
BeritJanssen Dec 15, 2021
705d188
remove duplicate code, outfactoring of help text complete
BeritJanssen Dec 15, 2021
e0d9f98
attempts to save changes, fixes to rendering the source date and id
BeritJanssen Dec 20, 2021
5e693a0
switch betweeen edit / view mode works
BeritJanssen Jan 10, 2022
33d317b
editing data works
BeritJanssen Jan 24, 2022
b33c81d
switching between edit and view mode works
BeritJanssen Jan 27, 2022
c0f3f7d
fix merge conflicts with source-datamodel branch
BeritJanssen Jan 27, 2022
d74d448
fix source view test
BeritJanssen Jan 31, 2022
2727004
correct mock-sources
BeritJanssen Jan 31, 2022
dcb80f7
RegExp with global option
BeritJanssen Jan 31, 2022
126e371
revert change to rdf.views.get_resource_uri
BeritJanssen Feb 3, 2022
953872a
formatting changes to sources.views
BeritJanssen Feb 3, 2022
da67146
Update backend/sources/views.py
BeritJanssen Feb 3, 2022
4265e5a
resolved merge conflict
BeritJanssen Feb 3, 2022
e8c417b
Revert "RegExp with global option"
BeritJanssen Feb 3, 2022
97d62de
using node.has instead of node.get
BeritJanssen Feb 7, 2022
f20b6f9
typeAwareHelp initialized with model
BeritJanssen Feb 7, 2022
5e69261
cherry-pick cleaned up item editor
BeritJanssen Dec 15, 2021
642cfd7
removing spurious code
BeritJanssen Feb 7, 2022
0177c45
Merge branch 'feature/edit-source-metadata' of https://github.com/UUD…
BeritJanssen Feb 7, 2022
5a321f5
remove unused functions from type-aware-help-view
BeritJanssen Feb 10, 2022
fa435e7
remove safeguard of model type in source-metadata-panel
BeritJanssen Feb 10, 2022
019eb68
change conditions for rendering in source-metadata-panel.checkOwnership
BeritJanssen Feb 10, 2022
64471c2
Update frontend/src/source-metadata/date-field-view.ts
BeritJanssen Feb 10, 2022
8712ea9
use isEmpty in source-metatdata-panel.onSaveClicked
BeritJanssen Feb 10, 2022
e6ba407
submit event instead of .click save event
BeritJanssen Feb 10, 2022
0c76e0a
await sync event in source-metadta-view.getOntology
BeritJanssen Feb 10, 2022
cc1aa57
update explanation of public field in source-metadata-template
BeritJanssen Feb 10, 2022
7220263
change sourceTypeSelect in source-metadata-template to class instead …
BeritJanssen Feb 10, 2022
645b6b0
update documentation and naming in source/views.py
BeritJanssen Feb 10, 2022
731c44f
Add {{#i18n}} tags to the source-related templates (#451 #37)
jgonggrijp Mar 15, 2022
d7d0d31
Add i18next.t calls to the source-related views (#451 #37)
jgonggrijp Mar 16, 2022
193f053
Make i18n changes consistent with 4a109685, 6cf200a4, a6a9e837 (#451)
jgonggrijp May 2, 2022
2616246
Merge branch 'develop' into experimental-merge-source-datamodel
JeltevanBoheemen Jul 28, 2022
09d03f1
Resolve typescript conflicts after datamodel merge
JeltevanBoheemen Jul 28, 2022
18e9b3b
Merge branch 'feature/edit-source-metadata' into experimental-merge-s…
JeltevanBoheemen Jul 28, 2022
eb64e80
Ensure source ontology graph is loaded properly
JeltevanBoheemen Jul 28, 2022
b681094
Add missing import in source ontology migration (#444 #37)
jgonggrijp Jul 5, 2022
ffc3c1b
Wrap UNKNOWN as an URIRef (#444 #37 #517)
jgonggrijp Aug 4, 2022
6d9353f
Turn on_present back to on_add (#444 #37 #517)
jgonggrijp Aug 4, 2022
95c1bff
tests for RDF migrations
JeltevanBoheemen Aug 24, 2022
ae5f1f5
Remove superfluous <div> wrapper from SourceMetadataView (#37 #517)
jgonggrijp Aug 18, 2022
d58b1d8
Add sourceOntoloyPrefix to nsMap in frontend (#444)
jgonggrijp Sep 1, 2022
4670594
Replace vocab:Source by sourceOnto:Source in frontend query templates
jgonggrijp Sep 1, 2022
609b2eb
Add new source ontology terms to frontend/src/common-rdf/ns (#444, #37)
jgonggrijp Sep 7, 2022
9af04e1
Use new source ontology terms everywhere in backend and frontend
jgonggrijp Sep 7, 2022
bb8a79c
Change sourceOnto:fullText range to xsd:anyURI (#37 #517)
jgonggrijp Sep 7, 2022
c3aa67f
Merge branch 'develop' into feature/edit-source-metadata
jgonggrijp Mar 21, 2023
7716df2
Set dateUploaded before rendering source metadata panel (#37 #517)
jgonggrijp Mar 22, 2023
9a6bfee
Reintroduce source type in source metadata view, reformat (#37 #517)
jgonggrijp Mar 22, 2023
2e58467
Format dates in source metadata editing panel (#37 #517)
jgonggrijp Mar 22, 2023
082fe87
Default unused translation string to empty string (#37 #451)
jgonggrijp Apr 13, 2023
13b819c
Fix improper const/let in front:source-metadata/-view:renderValues
jgonggrijp Apr 13, 2023
98ec54d
Remove superfluous padding from source editing form (#37 #517 #175)
jgonggrijp Apr 13, 2023
bde1610
Put editor and publisher fields on separate rows (#37 #517)
jgonggrijp Apr 13, 2023
9c8809b
Use static inputs in readonly source metadata view (#37 #517)
jgonggrijp Apr 14, 2023
64d0ee9
Hide help text in static source metadata form (#37 #517)
jgonggrijp Apr 14, 2023
50e5057
Fix notorious capitalization error in source upload form
jgonggrijp Apr 14, 2023
2600570
Regenerate the translation files (#37 #517 #451)
jgonggrijp Apr 14, 2023
43df2a9
Remove superfluous div wrapper from source meta date view (#37 #517)
jgonggrijp Apr 14, 2023
d30f5cb
Use table layout for static source metadata form (#37 #517)
jgonggrijp Apr 14, 2023
98d1531
Source metadata access toggle label belongs outside of div.control
jgonggrijp May 4, 2023
6a7aaab
Make publicity radio buttons disabled when applicable (#37 #517)
jgonggrijp May 4, 2023
ec37b6f
Remove the is-static class again when editing (#37 #517)
jgonggrijp May 4, 2023
7e05ad1
souceTypeSelect is a class, not an ID (#37 #517)
jgonggrijp May 15, 2023
69f8629
Give static source metadata some breathing room (#37 #517)
jgonggrijp May 15, 2023
3551a10
Normalize readonly property on source meta form (#37 #517)
jgonggrijp May 15, 2023
aab84ec
Restore file change handler in frontend SourceUploadForm (#37 #517)
jgonggrijp May 16, 2023
e6e845f
Align backend assumptions with frontend reality of field names
jgonggrijp May 17, 2023
70b14c4
Include the rdf:type when saving a source (#37 #517)
jgonggrijp May 17, 2023
413d2c0
Add native conversion for xsd:date to frontend (#37 #517)
jgonggrijp May 17, 2023
c19282e
Render timeless dates correctly in source metadata form (#37 #517)
jgonggrijp May 17, 2023
fae948f
Render all pre-existing values correctly in source meta form (#37 #517)
jgonggrijp May 17, 2023
4323485
Submit is an event name, not a class name (#37 #517)
jgonggrijp May 18, 2023
3189b30
No submit event without a <form> (#37 #517)
jgonggrijp May 18, 2023
5203c2e
updateModel should be called on *every* change event, not just for th…
jgonggrijp May 18, 2023
1ad3bba
Skip existing value check in SourceMetadata#updateModel (#37 #517)
jgonggrijp May 18, 2023
71e276d
Read values from radio buttons using :checked (#37 #517)
jgonggrijp May 18, 2023
2689792
Don't use pip-sync for backend requirements
JeltevanBoheemen Aug 9, 2023
5e203c4
Remove pinned jsonld dependency
JeltevanBoheemen Aug 9, 2023
f10dea7
downgrade canvas to 2.6.1
JeltevanBoheemen Aug 9, 2023
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
Django app and graph for source ontology
  • Loading branch information
JeltevanBoheemen committed Jul 29, 2021
commit daeccae296be67ce457c432f61d937897bf7dec8
1 change: 1 addition & 0 deletions backend/readit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
'staff',
'ontology',
'nlp_ontology',
'source_ontology',
'items',
'sources',
'register',
Expand Down
2 changes: 2 additions & 0 deletions backend/readit/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from staff import STAFF_ROUTE
from ontology import ONTOLOGY_ROUTE
from nlp_ontology import NLP_ONTOLOGY_ROUTE
from source_ontology import SOURCE_ONTOLOGY_ROUTE
from sources import SOURCES_ROUTE
from items import ITEMS_ROUTE
from sparql import SPARQL_ROUTE
Expand All @@ -47,6 +48,7 @@
path(STAFF_ROUTE, include('staff.urls')),
path(ONTOLOGY_ROUTE, include('ontology.urls')),
path(NLP_ONTOLOGY_ROUTE, include('nlp_ontology.urls')),
path(SOURCE_ONTOLOGY_ROUTE, include('source_ontology.urls')),
path(SOURCES_ROUTE, include('sources.urls')),
path(ITEMS_ROUTE, include('items.urls')),
path(SPARQL_ROUTE, include('sparql.urls')),
Expand Down
Loading