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

syncying recent changes from dataquest #1129

Merged
merged 42 commits into from
Nov 6, 2024
Merged

syncying recent changes from dataquest #1129

merged 42 commits into from
Nov 6, 2024

Conversation

kosarko
Copy link
Member

@kosarko kosarko commented Nov 6, 2024

No description provided.

milanmajchrak and others added 30 commits June 21, 2024 14:55
…use of rebase (#681)

* There is not loading of the `datacite.xml` in the dspace.cfg

* The dc.title metadata field is not retrieved in the `api/core/metadatafields` response, because the size of the response is only `100` - I changed it to 1000 and it works.

* Updated IT - with too many responses some assert is not working.
* User community or collection handle `com_/col_` instead of v5 prefix `hdl_` because it cannot match handle of the community which should not be exposed.

* Throw error when the dso object is not Community or Collection in the ColComFilter.java.
* separate emails and send

* formatting

* multiple admins

* remove redundant and reformat

* fixes from PR

* comment on old property

* separated function

* separate function to add arguments to admin email

* clarification of using 'anonymous user' twice
…etRestControllerIT (#700)

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* Added a new tag into submission-forms.xml called `default-value`. This default value is assigned into Item during sending a sectionData to the FE.

* Cherry picked fixed randomly failing IT: ManageGroupsFeatureIT, LinksetRestControllerIT (#701)

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* Added a new Step for the Note with czech translation

* Updated script for copying config to not copy solr cores
The `{params[5]}` in the message body was not interpolated due to missing `$`
* Added a new Step for the Note with czech translation

* Updated script for copying config to not copy solr cores

* Defined new special fields and moved `note` into this step.

* Added czech translation for the new submission inputs.

* Cherry picked fixed randomly failing IT: ManageGroupsFeatureIT, LinksetRestControllerIT (#702)

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* work in progress

* only use first available value from demo uri

* reorder funding to be correct

* WIP

* remove forgotten script

* restore old version

* restore old version for real

* restore old version for real fr

* restore old version for real fr2

* comment of changed order

* add issues and todo comments

* use old and correct version

* comment change

* sacrifice to the checkstyle god

* reformat TODOs
…roperty is corretly loaded. (#716)

* The handle configuration from the `lr.pid.community.configurations` property is corretly loaded.

* The new version of the Item does not have a version subprefix e.g., `2-<NEW_ID>`

* Fixed a problem with integration tests - the pid configuration wasn't initialized after setting the property.

* Fixed failing tests

* Prettyfied the code
* updated comments

* added new databased entity preview content

* not works: map fileinfo to preview content

* get data from database if it exists

* create preview content from file info

* Failing tests - temp commit

* changed name varchar length

* added _ to sql script names
* send email when SEND_TOKEN is required to EXTRA_EMAIL address

* removed unwanted line
* copy functionality from UFAL repo

* cleanup

* comment from upstream

* checkstyle
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* Do not commit a session during processing the previews. Catch the error when the ZIP is broken because it wont render files in the UI.

* Fixed checkstyle issues
* Use $JAVA_OPTS_HANDLE to define handle server memory.

* Do not add another slash in the handle URL (#737)

* The scheduled tasks are available in the `/scheduledtasks` endpoint. (#741)

* TUL/ The context user is set to current subscriber (#747)

* The context user is set to current subscriber

* Updated comment

* Fixed checktyle issue

* Cherry picked fix about integration tests (#751)

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* sort file_downloads.log by date

* removed log which could generate noise
* Removed duplicities of the bitstreams in the cmdi.

* Fixed checkstyle violation

* used lindat code instead of vanilla.
milanmajchrak and others added 12 commits September 20, 2024 08:19
* Ensure the content preview doesn't overload maximum length of the column in the database. And encode the input stream into UTF-8.

* Do not store HTML content in the database because it could be longer than the limit of the database column.
* Encoded the UTF-8 characters from the redirect URL to UTF

* Moved ClarinUtils into Utils class

* Added a new `dq` package into ComponentScan

* Moved dq.Utils into DSpace utils.Utils because the components with the same name causes conflicts.

* Removed *.dq component scan from the App
#769)

[Port dspace-7_x] Make statistics autocommit much more frequently

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
* Load netid from more than one header. authentication-shibboleth.netid-header could be list, not only single value

* Shibboleth login - sort the emails passed in the shibboleth email header and get the first one.

* The user is redirected to the login page when it is trying to update eperson email which is already assigned to another eperson.

* Sorting emails is moved into specific method and ShibbolethLoginFilter is updated following the ShibAuthentication changes

* Fixed failing tests

* The ClarinShibbolethLoginFilter and ClarinShibAuthentication has duplicate code, I put it into static method.
* type bind is correctly rendered in the FE, but BE is still not working

* Synchronized the `submission-forms_cs.xml`

* Added doc into `submission-forms` about enhanced type-bind `field`

* Updated `local.cfg` for tests - added type-bind property

* Updated docs for the customized type-bind configuration property.

* Updated MetadataValidation following the type-bind customization.

* Added isAllowed function for multiple type-bind definitions

* Added some docs for the new method

* The values of the input wasn't loaded.

* Allowed fields could be empty when they should have values.

* Used isEmpty function and created constant for the `=>`.
* create preview content for tar files

* Added right logs

* devided extractFile funs into several separated smaller funs

* added comment and removed empty line

* added empty lines and removed unwanted comments

* removed empty line

* used consts

* try incorrect identification level

* log errors and removed unneeded consts

---------

Co-authored-by: milanmajchrak <milan.majchrak@dataquest.sk>
* Initial commit

* Ignore the test class from where the tests has started failing.

* Ignored half of tests in the ClarinShibbolethLoginFilterIT file

* Ignored all tests

* unignore some tests

* 3 tests ignored 3 allowed

* Maybe the problematic test is hidden between 3 unignored tests

* two candidates

* The last candidate

* Ignore just wrong test and all test should pass

* Clean up object created in the test.

* Removed unused import.

* Check the user which is going to be deleted is not null.
* decoded rawvalues and response json modification

* used static extractMetadata funct in HandlePlugin

* return dict:

* removed property for test from local
@kosarko kosarko merged commit 6ebacb7 into clarin-v7 Nov 6, 2024
10 checks passed
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.

5 participants