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

US931 data model publication statement #526

Merged
merged 12 commits into from
Sep 26, 2019

Conversation

rerowep
Copy link
Contributor

@rerowep rerowep commented Sep 25, 2019

data model: implement publication statement for ebooks
* Implements the publication statement transformation for ebooks.
* Uniforms the function names to snake_case (PEP8).
* Refactors Marc21 punctation handling.
* Fixes copyright date transformation.

ui: correct document brief views
* Adds publication statement to admin and public brief document view.

ui: adapt editor according to publication statement data model
* Removes publication date field

ES: adapt ES mapping for publication statement
* Adapts the ES mapping for publication statement.

data model: implement publication statement transformation for BNF
* Implements the publication statement transformation for BNF.
* Adds base class for marc dojson transformation.
* Adds colored message functions to `setup` and `bootstrup` scripts

UI:display the publication statement
* Displays the publication statement on detailed view.

template: correct email templates
* Removes item at desk templates for patron and according methods and tests.

data model: implement publication statement transformation
* Implements the publication statement transformation.
* Adds the dojson overdo class with blob.
* Adds functions to manipulate the Marc21 blob.
* Adapts the fixtures.
* Adds parameters to the setup for generating items and holdings data.

data: correct language in big document file
* Corrects notice 704 tag 008 esp->sp.

@rerowep rerowep changed the title Us931 data model publication statement US931 data model publication statement Sep 25, 2019
reropag and others added 8 commits September 25, 2019 11:43
* Implements the publication statement transformation.
* Adds the dojson overdo class with blob.
* Adds functions to manipulate the Marc21 blob.
* Adapts the fixtures.
* Adds parameters to the setup for generating items and holdings data.

Co-Authored-by: Gianni Pante <[email protected]>
Co-Authored-by: Peter Weber <[email protected]>
* Removes item at desk templates for patron and according methods and tests.

Co-Authored-by: Alicia Zangger <[email protected]>
* Displays the publication statement on detailed view.

Co-Authored-by: [Alicia Zangger] <[email protected]>
* Implements the publication statement transformation for BNF.
* Adds base class for marc dojson transformation.
* Adds colored message functions to `setup` and `bootstrup` scripts

Co-Authored-by: Peter Weber <[email protected]>
* Adapts the ES mapping for publication statement.

Co-Authored-by: Peter Weber <[email protected]>
* Removes publication date field

Co-Authored-by: Alicia Zangger <[email protected]>
* Adds publication statement to admin and public brief document view.

Co-Authored-by: Peter Weber <[email protected]>
* Implements the publication statement transformation for ebooks.
* Uniforms the function names to snake_case (PEP8).
* Refactors Marc21 punctation handling.
* Fixes copyright date transformation.

Co-Authored-by: Gianni Pante <[email protected]>
Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep force-pushed the US931-data-model-publication-statement branch from a1747db to 824cb3a Compare September 25, 2019 09:43
* Corrects notice 704 tag 008 esp->sp.

Co-Authored-by: Peter Weber <[email protected]>
Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Problem detected:

  • The import from BNF does not work. Try to import 9782286135041, it is impossible to save the form since the "save" button is not displayed (it seems that a part of the form is hidden).

No other problem found!

* Deletes `Publishers` and `Dates of publication` from documents json form.

Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep force-pushed the US931-data-model-publication-statement branch from ad24b30 to 7fd4618 Compare September 25, 2019 21:15
@rerowep rerowep requested a review from iGormilhit September 26, 2019 08:10
@NicolasLabat
Copy link
Contributor

NicolasLabat commented Sep 26, 2019

In the detailed view the heading for the publication statement is "bf:Publication:" --> to correct without "bf:". Is the heading "Publication" correct ?

Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that's not always concerning this very PR…

@NicolasLabat
Copy link
Contributor

Same for "bf:Manufacture"

@pronguen
Copy link
Contributor

pronguen commented Sep 26, 2019

In the detailed view the heading for the publication statement is "bf:Publication:" --> to correct without "bf:". Is the heading "Publication" correct ?

@NicolasLabat Is addressed by the translations

@NicolasLabat
Copy link
Contributor

In case of a 264 like $a : $b ; $a : $b the ; is replaced by : but has be to kept.
Ex :
264 _1 $a [Lieu de publication non identifié] : $b SZ ; $a [Paris] : $b Arte France [prod.], $c [2001]
is now displayed :
[Lieu de publication non identifié] : SZ : [Paris] : Arte France [prod.], [2001]
Must be :
[Lieu de publication non identifié] : SZ ; [Paris] : Arte France [prod.], [2001]

Copy link
Contributor

@NicolasLabat NicolasLabat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments in the PR

@rerowep rerowep force-pushed the US931-data-model-publication-statement branch 2 times, most recently from fddec9a to cfca620 Compare September 26, 2019 12:28
* Corrects discriptions in document json schema
* Implements translations from transifex
* Fixs punctuation between blocks (;) and places (:)

Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep force-pushed the US931-data-model-publication-statement branch from cfca620 to d7a0128 Compare September 26, 2019 13:33
Copy link
Contributor

@NicolasLabat NicolasLabat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct or should endDate be "1970" ?

"provisionActivity": [
{
"date": "1955-1970",
"endDate": "1969",
"startDate": "1955",

@NicolasLabat NicolasLabat self-requested a review September 26, 2019 14:13
@rerowep rerowep merged commit 62c8ee5 into dev Sep 26, 2019
@rerowep rerowep deleted the US931-data-model-publication-statement branch October 1, 2019 06:27
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