deichman merge requestshttp://gitlab.deichman.no/digibib/deichman/-/merge_requests2022-02-02T08:03:16Zhttp://gitlab.deichman.no/digibib/deichman/-/merge_requests/511DEICH-6148 upgrade Next from v10 to v122022-02-02T08:03:16ZTorsteinDEICH-6148 upgrade Next from v10 to v12Major update. See individual commits for details. Some commits have a description of changes.
Closes DEICH-6148Major update. See individual commits for details. Some commits have a description of changes.
Closes DEICH-6148http://gitlab.deichman.no/digibib/deichman/-/merge_requests/510Resolve DEICH-6140 "Prepare next js upgrade"2022-01-28T15:16:38ZTorsteinResolve DEICH-6140 "Prepare next js upgrade"Various steps to prepare for Next.js upgrade. See individual commits for details.Various steps to prepare for Next.js upgrade. See individual commits for details.http://gitlab.deichman.no/digibib/deichman/-/merge_requests/509Revert "Revert "DEICH-4498 tweak follow-up steps for new users on receipt page""2022-03-28T13:02:33ZBenjaminRevert "Revert "DEICH-4498 tweak follow-up steps for new users on receipt page""DEICH-4498 add missing import
DEICH-4498 tweak follow-up steps for new users on receipt page
Closes DEICH-4498DEICH-4498 add missing import
DEICH-4498 tweak follow-up steps for new users on receipt page
Closes DEICH-4498http://gitlab.deichman.no/digibib/deichman/-/merge_requests/508DEICH-6142 record branch and time of when an item is bound to reserve2022-02-17T06:11:56ZPetter Goksøyr ÅsenDEICH-6142 record branch and time of when an item is bound to reserveThe reserves table needs 2 additional columns:
```
ALTER TABLE reserves ADD COLUMN `bound_at` datetime;
ALTER TABLE reserves ADD COLUMN `bound_branch` VARCHAR(10);
```
Closes DEICH-6142The reserves table needs 2 additional columns:
```
ALTER TABLE reserves ADD COLUMN `bound_at` datetime;
ALTER TABLE reserves ADD COLUMN `bound_branch` VARCHAR(10);
```
Closes DEICH-6142http://gitlab.deichman.no/digibib/deichman/-/merge_requests/507DEICH-6089 nl sync: fix various discrepancies in sync call and error handling...2022-01-19T13:06:51ZBenjaminDEICH-6089 nl sync: fix various discrepancies in sync call and error handling in jobCloses DEICH-6089Closes DEICH-6089http://gitlab.deichman.no/digibib/deichman/-/merge_requests/506DEICH-6127: only show co class (blue) if same branch2022-01-19T13:07:17ZBenjaminDEICH-6127: only show co class (blue) if same branchCloses DEICH-6127Closes DEICH-6127http://gitlab.deichman.no/digibib/deichman/-/merge_requests/505DEICH-0000 - Moved to global styles2022-01-13T09:34:03ZTorsteinDEICH-0000 - Moved to global styles(På vegne av Tom Adam)
Jeg (Torstein) og Tom har forsøkt å finne en migreringsvei til Next v12.
Et av hindrene er at @zeit/next-css ikke fungerer. Det er en komponent som får det *unike* CSS-oppsettet til dagens Deichman.no å fungere.
V...(På vegne av Tom Adam)
Jeg (Torstein) og Tom har forsøkt å finne en migreringsvei til Next v12.
Et av hindrene er at @zeit/next-css ikke fungerer. Det er en komponent som får det *unike* CSS-oppsettet til dagens Deichman.no å fungere.
Vi utforsket CSS modules, men måtte konkludere at det ble for stor endring. Det er noen konseptuelle forskjeller som tvinger oss til å enten gjøre hacks eller skrive om flere komponenter. En av tingene som ikke er enkelt å få til er *cascading*-delen av CSS. Vi kan gå i detalj på dette senere.
Løsningen her er et kompromiss. global-styles.css er inkludert i _app.js. I dokumentasjonen til Next påpekes det at CSS som er importert i den filen vil være global, og vil bli "kompilert" uten scoping. Det er det vi vil ettersom at vi baserer oss på deichman-ui.
Ulempen med denne løsningen er at vi må huske å legge til og fjerne ting fra global-styles.css når vi legger til eller fjerner moduler.
Fordelen er at denne løsningen fungerer smertefritt i Next v12 ettersom at den kan bruke de innebygde mekanismene.http://gitlab.deichman.no/digibib/deichman/-/merge_requests/504DEICH-6131 koha locations : many updates to location mapping2022-01-12T12:15:33ZBenjaminDEICH-6131 koha locations : many updates to location mappingCloses DEICH-6131Closes DEICH-6131http://gitlab.deichman.no/digibib/deichman/-/merge_requests/503DEICH-6135 enable custom block sections on all types of services2022-01-13T08:33:42ZPetter Goksøyr ÅsenDEICH-6135 enable custom block sections on all types of servicesCloses DEICH-6135Closes DEICH-6135http://gitlab.deichman.no/digibib/deichman/-/merge_requests/502Resolve DEICH-6130: remove use of calendar closing times in purresaker2022-01-13T08:45:07ZBenjaminResolve DEICH-6130: remove use of calendar closing times in purresakerCloses DEICH-6130
DEICH-6130 : remove use of Deichman::Calendar in overdue_messages and update_patron_fines jobs
DEICH-6130 : we no longer calculate branch holidays due to meraapentCloses DEICH-6130
DEICH-6130 : remove use of Deichman::Calendar in overdue_messages and update_patron_fines jobs
DEICH-6130 : we no longer calculate branch holidays due to meraapenthttp://gitlab.deichman.no/digibib/deichman/-/merge_requests/501DEICH-6129 - Fixed layout issues for InspirationGrid and InspirationCard2022-01-04T09:19:03ZTom AdamDEICH-6129 - Fixed layout issues for InspirationGrid and InspirationCardEliminated a hack that caused layout issues in the components (grid rows overlaying each other).
Added flex layout to inspiration-card__body to make the components lay out nicer.
Closes DEICH-6129Eliminated a hack that caused layout issues in the components (grid rows overlaying each other).
Added flex layout to inspiration-card__body to make the components lay out nicer.
Closes DEICH-6129Tom AdamTom Adamhttp://gitlab.deichman.no/digibib/deichman/-/merge_requests/500DEICH-6128 deichman.no: fix switch case for too soon to renew2022-01-03T13:42:38ZBenjaminDEICH-6128 deichman.no: fix switch case for too soon to renewCloses DEICH-6128Closes DEICH-6128http://gitlab.deichman.no/digibib/deichman/-/merge_requests/499DEICH-4498 tweak follow-up steps for new users on receipt page2022-01-19T13:08:42ZPetter Goksøyr ÅsenDEICH-4498 tweak follow-up steps for new users on receipt pageUsers imported from NL only need to set branch in Koha, as
cardnumber an PIN-code are imported from NL.
Closes DEICH-4498Users imported from NL only need to set branch in Koha, as
cardnumber an PIN-code are imported from NL.
Closes DEICH-4498http://gitlab.deichman.no/digibib/deichman/-/merge_requests/498DEICH-6069 keep ill request when cancelling hold from biblio holds table2022-01-03T14:05:41ZPetter Goksøyr ÅsenDEICH-6069 keep ill request when cancelling hold from biblio holds tableCloses DEICH-6096Closes DEICH-6096http://gitlab.deichman.no/digibib/deichman/-/merge_requests/497DEICH-5841 sort serial publications and display number in series2022-01-03T14:18:24ZPetter Goksøyr ÅsenDEICH-5841 sort serial publications and display number in seriesFollowing the pattern of workseries, we fetch all publications
at once, and sort them according to the same criteria as workseries
items.
Closes DEICH-5841Following the pattern of workseries, we fetch all publications
at once, and sort them according to the same criteria as workseries
items.
Closes DEICH-5841http://gitlab.deichman.no/digibib/deichman/-/merge_requests/496DEICH-6101-test-coverage-increase2021-12-22T11:05:31ZTom AdamDEICH-6101-test-coverage-increaseThe main goal was to increase test coverage of MARC21/NORMARC parsing and conversion code. Also smaller fixes and quite a bit of code reformatting was introduced.
**DEICH-6107 renamed+changed return type of controlFieldEntries and renam...The main goal was to increase test coverage of MARC21/NORMARC parsing and conversion code. Also smaller fixes and quite a bit of code reformatting was introduced.
**DEICH-6107 renamed+changed return type of controlFieldEntries and renamed dataFieldEntries**
No point in returning Set<Entry> of a map.
DEICH-6107 Refactored type of dataField in Marcrecord.
Also some smaller code improvements/formatting.
DEICH-6101: A few tests. Formatting code.
**DEICH-6107 Added tests for NORMARC/MARC21 XML parsing**
Some additional code cleanup.
**DEICH-6107 TestData encode error fix, simplified text XML reading**
**DEICH-0000 Added .editorconfig**
**DEICH-6101: More tests of common and NORMARC mappings.**
**DEICH-6107 TestData+XML update**
**DEICH-6107 JUnit upgrade**
**DEICH-6101: More tests for NORMARC and common MARC mappings.**
**DEICH-6101: Some initial tests for MARC21, NORMARC and common mappings.**
**DEICH-6107 Reverted MarcField - DataField follows MARC naming.**
**DEICH-6107 Added pure String XML representations of bibbi and alma marc 21**
Also removed null return in readFile - wrapped IOException in RuntimeException - no recovery possible if test XML not present.
**DEICH-6107 OkHttp - changed from RC to stable**
**DEICH-6107 Fetched bibbi and alma Marc21 data**
**DEICH-6107 Removed throws never thrown.**
**DEICH-6107 Renamed field from list to marcRecords**
**DEICH-6107 Renamed DatField to MarcField**
**DEICH-6107 Renamed MarcRecord**
Some code naming style improvements/sonar lint issue.
Using marcRecord as param/var name instead of record, since record is a restricted identifier.Magnus WestergaardMagnus Westergaardhttp://gitlab.deichman.no/digibib/deichman/-/merge_requests/495DEICH-6112: Added support for YAML based index config. Migrated autocomplete...2021-12-20T13:37:56ZMagnus WestergaardDEICH-6112: Added support for YAML based index config. Migrated autocomplete...DEICH-6112: Added support for YAML based index config. Migrated autocomplete config to YAML, and added a few comments. Minor code cleanup.
Closes DEICH-6112DEICH-6112: Added support for YAML based index config. Migrated autocomplete config to YAML, and added a few comments. Minor code cleanup.
Closes DEICH-6112http://gitlab.deichman.no/digibib/deichman/-/merge_requests/494DEICH-5973 improve reporting2021-12-17T18:24:08ZTorsteinDEICH-5973 improve reporting* show recently updated events
* also allow filtering them out
* many small tunings
Closes DEICH-5973* show recently updated events
* also allow filtering them out
* many small tunings
Closes DEICH-5973http://gitlab.deichman.no/digibib/deichman/-/merge_requests/493DEICH-6111 remove possibility to edit borrower dateenrolled field2022-01-03T14:07:04ZPetter Goksøyr ÅsenDEICH-6111 remove possibility to edit borrower dateenrolled fieldCloses DEICH-6111Closes DEICH-6111http://gitlab.deichman.no/digibib/deichman/-/merge_requests/492DEICH-6048 add Koha Logistics Report2022-01-04T11:05:24ZPetter Goksøyr ÅsenDEICH-6048 add Koha Logistics ReportThe report is organized like existing DataQualityReport, and
can be triggered from outside (cronicle) and ship report
by email
Closes DEICH-6048The report is organized like existing DataQualityReport, and
can be triggered from outside (cronicle) and ship report
by email
Closes DEICH-6048