working/Evergreen.git
5 years agofix user/sandbergja/lp1849212_terms
Jane Sandberg [Sat, 15 Aug 2020 19:37:18 +0000 (12:37 -0700)]
fix

5 years agofix again
Jane Sandberg [Sat, 15 Aug 2020 19:27:02 +0000 (12:27 -0700)]
fix again

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agofix fix
Jane Sandberg [Sat, 15 Aug 2020 19:15:32 +0000 (12:15 -0700)]
fix fix

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agomore fixing
Jane Sandberg [Sat, 15 Aug 2020 18:55:14 +0000 (11:55 -0700)]
more fixing

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agofixing
Jane Sandberg [Sat, 15 Aug 2020 18:42:23 +0000 (11:42 -0700)]
fixing

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoadd course terms to UI
Jane Sandberg [Sat, 15 Aug 2020 18:08:13 +0000 (11:08 -0700)]
add course terms to UI

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agomore IDL work
Jane Sandberg [Sat, 15 Aug 2020 16:45:18 +0000 (09:45 -0700)]
more IDL work

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoIDL and db for course term
Jane Sandberg [Sat, 15 Aug 2020 15:21:46 +0000 (08:21 -0700)]
IDL and db for course term

5 years agoLP1849212: allow call number change when course is at a system or consortium level
Jane Sandberg [Sat, 15 Aug 2020 02:56:11 +0000 (19:56 -0700)]
LP1849212: allow call number change when course is at a system or consortium level

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: linting and other cleanup
Jane Sandberg [Sat, 15 Aug 2020 01:05:13 +0000 (18:05 -0700)]
LP1849212: linting and other cleanup

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: fix incorrect paths in course materials grid columns
Jane Sandberg [Sat, 15 Aug 2020 00:45:34 +0000 (17:45 -0700)]
LP1849212: fix incorrect paths in course materials grid columns

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: display course information in catalog for record-only acmcm entries
Jane Sandberg [Fri, 14 Aug 2020 23:55:02 +0000 (16:55 -0700)]
LP1849212: display course information in catalog for record-only acmcm entries

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: refactor course users
Jane Sandberg [Fri, 14 Aug 2020 20:10:30 +0000 (13:10 -0700)]
LP1849212: refactor course users

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: accessible labels in the course page
Jane Sandberg [Fri, 14 Aug 2020 19:22:03 +0000 (12:22 -0700)]
LP1849212: accessible labels in the course page

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: trim whitespace from barcodes
Jane Sandberg [Thu, 13 Aug 2020 15:36:37 +0000 (08:36 -0700)]
LP1849212: trim whitespace from barcodes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: release notes
Jane Sandberg [Mon, 10 Aug 2020 03:52:10 +0000 (20:52 -0700)]
LP1849212: release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoAdd original item attributes to the course materials list
Jane Sandberg [Mon, 10 Aug 2020 03:15:47 +0000 (20:15 -0700)]
Add original item attributes to the course materials list

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Better order for acmc fm-editor
Jane Sandberg [Mon, 10 Aug 2020 03:03:26 +0000 (20:03 -0700)]
LP1849212: Better order for acmc fm-editor

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Make OPAC header links consistent
Jane Sandberg [Sun, 9 Aug 2020 20:53:40 +0000 (13:53 -0700)]
LP1849212: Make OPAC header links consistent

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Add a course reserves facet
Jane Sandberg [Sun, 2 Aug 2020 18:10:30 +0000 (11:10 -0700)]
LP1849212: Add a course reserves facet

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Use ngbNav instead of deprecated ngbTabset
Jane Sandberg [Fri, 7 Aug 2020 13:44:48 +0000 (06:44 -0700)]
LP1849212: Use ngbNav instead of deprecated ngbTabset

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: IDL fixes
Jane Sandberg [Sun, 2 Aug 2020 15:22:34 +0000 (08:22 -0700)]
LP1849212: IDL fixes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: fixes to course associate fields and grid
Jane Sandberg [Sat, 1 Aug 2020 05:41:21 +0000 (22:41 -0700)]
LP1849212: fixes to course associate fields and grid

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Allow users to detach all types of materials from courses
Jane Sandberg [Fri, 24 Jul 2020 20:16:25 +0000 (13:16 -0700)]
LP1849212: Allow users to detach all types of materials from courses

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Course browse and search can be called without locg param in URL
Jane Sandberg [Fri, 24 Jul 2020 05:02:35 +0000 (22:02 -0700)]
LP1849212: Course browse and search can be called without locg param in URL

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Users can attach brief bib records and e-resources to courses
Jane Sandberg [Wed, 15 Jul 2020 07:45:59 +0000 (00:45 -0700)]
LP1849212: Users can attach brief bib records and e-resources to courses

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: add sample data for course materials module
Jane Sandberg [Mon, 20 Jul 2020 04:23:06 +0000 (21:23 -0700)]
LP1849212: add sample data for course materials module

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: add missing coust to seed values
Jane Sandberg [Thu, 23 Jul 2020 14:16:43 +0000 (07:16 -0700)]
LP1849212: add missing coust to seed values

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agolp1849212 Browse by Instructor YAOUS
Kyle Huckins [Thu, 5 Mar 2020 01:15:20 +0000 (01:15 +0000)]
lp1849212 Browse by Instructor YAOUS

- Add YAOUS to allow/disallow browsing by Instructor.
- Minor code cleanup

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql
modified:   Open-ILS/src/templates/opac/course_browse.tt2
modified:   Open-ILS/src/templates/opac/parts/course_search/qtype_selector.tt2

5 years agolp1849212 Course Browse
Kyle Huckins [Tue, 11 Feb 2020 20:08:57 +0000 (20:08 +0000)]
lp1849212 Course Browse

- Add Course Browse UI
- Allow browsing courses by Course Number and Title

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm
new file:   Open-ILS/src/templates/opac/course_browse.tt2
modified:   Open-ILS/src/templates/opac/parts/course_search/qtype_selector.tt2

5 years agoLP1859728: Course edit page fm-editor should have the update mode
Jane Sandberg [Fri, 17 Jan 2020 04:08:48 +0000 (20:08 -0800)]
LP1859728: Course edit page fm-editor should have the update mode

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1859728: Add missing column to course materials user table
Jane Sandberg [Wed, 15 Jan 2020 02:52:44 +0000 (18:52 -0800)]
LP1859728: Add missing column to course materials user table

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1849212: Commas missing from data seed values
Jane Sandberg [Tue, 14 Jan 2020 23:13:39 +0000 (15:13 -0800)]
LP1849212: Commas missing from data seed values

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoOPAC Course Search Page
Kyle Huckins [Mon, 9 Dec 2019 00:01:44 +0000 (00:01 +0000)]
OPAC Course Search Page

- Implement Course Search OPAC page, based on Advanced Catalog
Search
- Edit Searchbar to include entry for Course Search

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm
new file:   Open-ILS/src/templates/opac/course/results.tt2
new file:   Open-ILS/src/templates/opac/course_search.tt2
modified:   Open-ILS/src/templates/opac/css/style.css.tt2
new file:   Open-ILS/src/templates/opac/parts/course_search/global_row.tt2
new file:   Open-ILS/src/templates/opac/parts/course_search/qtype_selector.tt2
modified:   Open-ILS/src/templates/opac/parts/searchbar.tt2

5 years agoOPAC Circ Modifier Adjustments
Kyle Huckins [Thu, 12 Dec 2019 22:49:28 +0000 (22:49 +0000)]
OPAC Circ Modifier Adjustments

- Improve visuals when logged in as administrator.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/opac/parts/record/copy_table.tt2

5 years agoView Course Information on the Item Record
Kyle Huckins [Thu, 12 Dec 2019 21:57:34 +0000 (21:57 +0000)]
View Course Information on the Item Record

- Users with the MANAGE_RESERVES permission who are opted
into the course module can view a new Course Info tab on
the item record.
- Course Info tab displays a list of all courses(with link
to the Admin Course Page) item is associated with, and a
list of all instructors associated with those courses.
- Improvements to open-ils.circ.course_users.retrieve.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
new file:   Open-ILS/src/templates/staff/cat/item/t_course_pane.tt2
modified:   Open-ILS/src/templates/staff/cat/item/t_view.tt2
modified:   Open-ILS/web/js/ui/default/staff/cat/item/app.js

5 years agoReinstate fm-editor in Course List
Kyle Huckins [Thu, 12 Dec 2019 20:55:38 +0000 (20:55 +0000)]
Reinstate fm-editor in Course List

- Undo removal of fm-editor in Course List

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.html

5 years agoIDL Typo & Label Changes
Kyle Huckins [Wed, 11 Dec 2019 22:22:47 +0000 (22:22 +0000)]
IDL Typo & Label Changes

- Set datatype of is_public on Course User to 'bool' from 'boolean'
- Relabel is_public on Course User to "OPAC Viewable?"

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml

5 years agoAngular Course Page Improvements
Kyle Huckins [Tue, 10 Dec 2019 22:09:49 +0000 (22:09 +0000)]
Angular Course Page Improvements

- Condense Course User functionality into its own component,
usable as a dialog and inline.
- Condense Course Material functionality into its own component,
usable as a dialog and inline.
- Add Return to Course List button
- Move Archive Course button above tabs
- Allow Editing of Course Users and Materials

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html
copied:     Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agoAngular Course Page Associate Users Tab
Kyle Huckins [Tue, 10 Dec 2019 19:03:17 +0000 (19:03 +0000)]
Angular Course Page Associate Users Tab

- Apply Course Users functionality to Angular Course Page
Admin UI.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agoLP1849212 Associtate and Disassociate Course With Instructors
Zavier Banks [Mon, 9 Dec 2019 16:52:39 +0000 (16:52 +0000)]
LP1849212 Associtate and Disassociate Course With Instructors
Creating a component that associates and disassociates instructors with
courses using the course list.

Signed-off-by: Zavier Banks <zbanks@catalyte.io>
5 years agoOPAC course material circulation modifier
Kyle Huckins [Mon, 9 Dec 2019 18:53:03 +0000 (18:53 +0000)]
OPAC course material circulation modifier

- View Circulation Modifier column on Course Materials
while in OPAC record view.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
modified:   Open-ILS/src/templates/opac/parts/record/copy_table.tt2

5 years agoWhitespace Tweaks
Kyle Huckins [Sun, 8 Dec 2019 05:16:32 +0000 (05:16 +0000)]
Whitespace Tweaks

- Remove excess whitespace on OPAC course page.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/opac/parts/course/body.tt2

5 years agoAdmin Course Page Preparation for Course Users
Kyle Huckins [Sun, 8 Dec 2019 05:15:03 +0000 (05:15 +0000)]
Admin Course Page Preparation for Course Users

- Add a new tab for managing Users associated with
the course, in preparation for the User Dialog code.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts

5 years agoAssociate Materials Updates
Kyle Huckins [Sun, 8 Dec 2019 04:37:47 +0000 (04:37 +0000)]
Associate Materials Updates

- Ensure Shelving Location input checkbox
ticks when selecting a value.
- Ensure temporary value inputs are not
cleared when entering a new item.
- Fully select contents of Barcode input
field when selected.
- Clear bBarcode input upon hitting enter.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts

5 years agoCourse Page
Kyle Huckins [Sun, 8 Dec 2019 00:07:26 +0000 (00:07 +0000)]
Course Page

- Perl Module and Course Page displaying name and course
number of course, as well as names/roles of publicly viewable
members, course details, and a table of all materials associated
with the course.
- URL listed as eg/opac/course/[COURSE_ID]

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
new file:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Course.pm
new file:   Open-ILS/src/templates/opac/course.tt2
modified:   Open-ILS/src/templates/opac/css/style.css.tt2
new file:   Open-ILS/src/templates/opac/parts/course/body.tt2

5 years agoIDL Tweaks for Course Users
Kyle Huckins [Sun, 8 Dec 2019 00:03:33 +0000 (00:03 +0000)]
IDL Tweaks for Course Users

- Fixed typo for User Role field, now matcheing DB column, usr_role
- Added boolean "is_public" to differentiate between a role that
should be viewable by anyone on the OPAC.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml

5 years agoOPAC Search Result Course Information
Kyle Huckins [Sat, 7 Dec 2019 07:39:24 +0000 (07:39 +0000)]
OPAC Search Result Course Information

- Provide Associated Course names and numbers on
OPAC Catalog search results.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
modified:   Open-ILS/src/templates/opac/parts/result/table.tt2

5 years agoCourse Materials Record Column
Kyle Huckins [Sat, 7 Dec 2019 07:37:23 +0000 (07:37 +0000)]
Course Materials Record Column

- Add a record column to course_module_course_materials
to improve efficiency of API and service methods.
- Add previous circ_modifier adjustments to upgrade script

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoOPAC Catalog Result Course Column
Kyle Huckins [Fri, 6 Dec 2019 23:12:25 +0000 (23:12 +0000)]
OPAC Catalog Result Course Column

- Implement Course column to view Course Numbers of classes associated
with individual copies.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
modified:   Open-ILS/src/templates/opac/parts/record/copy_table.tt2

5 years agoCourse Page Tab Bugfix
Kyle Huckins [Fri, 6 Dec 2019 19:18:19 +0000 (19:18 +0000)]
Course Page Tab Bugfix

- Remove unnecessary artifact from course page html

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html

5 years agoCourse Material Course-Item Constraint
Kyle Huckins [Fri, 6 Dec 2019 09:09:16 +0000 (09:09 +0000)]
Course Material Course-Item Constraint

- Prevent users from associating duplicate items to a
course.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoAngular Catalog Course Links Course Page Integration
Kyle Huckins [Fri, 6 Dec 2019 08:30:04 +0000 (08:30 +0000)]
Angular Catalog Course Links Course Page Integration

- Change links in Angular Catalog to navigate the user to the
Admin Course Page.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
modified:   Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
modified:   Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html

5 years agoCourse Page Improvements
Kyle Huckins [Fri, 6 Dec 2019 07:52:31 +0000 (07:52 +0000)]
Course Page Improvements

- Improve UX of Course Page
- Properly disable inputs and buttons when course
is already archived.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts

5 years agoStaff Banner Additions
Kyle Huckins [Fri, 6 Dec 2019 07:51:16 +0000 (07:51 +0000)]
Staff Banner Additions

- Add bannerStyle and bannerIcon parameters to
eg-staff-banner to improve eg-staff-banner
accessability

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts

5 years agoCourse Admin Page
Kyle Huckins [Fri, 6 Dec 2019 07:17:53 +0000 (07:17 +0000)]
Course Admin Page

- Double-clicking on a course in the Course Reserves List will
up a dedicated admin page for an individual course, featuring
tabs for Editing and managing Course Materials.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts
new file:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html
new file:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-reserves.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/routing.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agolp1849212 Associate Item from Service
Kyle Huckins [Thu, 5 Dec 2019 17:37:46 +0000 (17:37 +0000)]
lp1849212 Associate Item from Service

- Move bulk of Associate Item funcitonality into Course Service

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agolp1849212 Display Associated Courses on Search Results
Kyle Huckins [Thu, 5 Dec 2019 19:17:27 +0000 (19:17 +0000)]
lp1849212 Display Associated Courses on Search Results

- Display associated courses on Search Results UI

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
modified:   Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.ts

5 years agolp1849212 Angular Catalog Show Link to Course
Kyle Huckins [Mon, 25 Nov 2019 22:06:04 +0000 (22:06 +0000)]
lp1849212 Angular Catalog Show Link to Course

- Add a column retrieving the names of courses linked to materials
when opted into the Course Reserves functionality.
- Expand the bib record summary when opted in to display all courses
associated with an item.

 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-reserves.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
modified:   Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/common.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.html
modified:   Open-ILS/src/eg2/src/app/staff/share/bib-summary/bib-summary.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agolp1849212 - Move Course Service to staff/share directory
Kyle Huckins [Mon, 25 Nov 2019 20:46:53 +0000 (20:46 +0000)]
lp1849212 - Move Course Service to staff/share directory

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-reserves.module.ts
renamed:    Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course.service.ts -> Open-ILS/src/eg2/src/app/staff/share/course.service.ts

5 years agolp1849212 Move Course Reserves to Local Admin
Kyle Huckins [Mon, 25 Nov 2019 18:46:59 +0000 (18:46 +0000)]
lp1849212 Move Course Reserves to Local Admin

- Move the Course Reserves admin UI to Local Admin
instead of Server Admin

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/admin-local-splash.component.html
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.html -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.html -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.html
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-list.component.ts
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-reserves.module.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-reserves.module.ts
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course.service.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course.service.ts
renamed:    Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/routing.module.ts -> Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/routing.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/admin-server-splash.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts

5 years agoFix installation issue with circ mod foreign key
Jane Sandberg [Thu, 5 Dec 2019 20:51:34 +0000 (12:51 -0800)]
Fix installation issue with circ mod foreign key

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoArchive Courses
Kyle Huckins [Wed, 20 Nov 2019 22:30:06 +0000 (22:30 +0000)]
Archive Courses

- Implement functionality to archive a course via the
admin course reserves list UI.
- Disassociate all items from a course and reinstate
their original fields if temporary fields were applied,
upon course archival.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.ts
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoDisassociate when Deleting a Course.
Kyle Huckins [Wed, 20 Nov 2019 21:41:59 +0000 (21:41 +0000)]
Disassociate when Deleting a Course.

- Move disassociation code into Course Service.
- Automatically disassociate items and return them
to their original state when deleting a course.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-reserves.module.ts
new file:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course.service.ts
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql

5 years agoTemporary Fields upon Association/Disassociation
Kyle Huckins [Tue, 19 Nov 2019 21:18:44 +0000 (21:18 +0000)]
Temporary Fields upon Association/Disassociation

- Optionally apply temporary Call Number, Circ Modifier, Item
Status, and Shelving Location when associating an item with a
course.
- Reapply original values of the above-mentioned fields when
disassociating an item from a course.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-reserves.module.ts
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoView Course Materials Dialog
Kyle Huckins [Wed, 13 Nov 2019 18:23:08 +0000 (18:23 +0000)]
View Course Materials Dialog

- Implement dialog to view course materials associated with
a particular course in the course list admin UI.
- Implement actions to associate and disassociate materials with
a specific course.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
new file:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.html
new file:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-associate-material.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.ts
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-reserves.module.ts

5 years agoTidying Up Grid
Kyle Huckins [Thu, 7 Nov 2019 18:38:04 +0000 (18:38 +0000)]
Tidying Up Grid

- Remove RowFlair and ClassCallback from Course Reserves
Grid.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.html
modified:   Open-ILS/src/eg2/src/app/staff/admin/server/course-reserves/course-list.component.ts

5 years agolp1849212 IDL Typo
Kyle Huckins [Mon, 4 Nov 2019 18:05:08 +0000 (18:05 +0000)]
lp1849212 IDL Typo

- Change instances of non-cat-course_materials to non_cat_course_materials

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml

5 years agoLP#1849212 Create, Edit and Delete Functionality
Zavier Banks [Thu, 24 Oct 2019 22:08:24 +0000 (22:08 +0000)]
LP#1849212 Create, Edit and Delete Functionality
Added the create, edit, and delete functionality.

Signed-off-by: Zavier Banks <zbanks@catalyte.io>
5 years agoLP#1849212 Course List Ui
Zavier Banks [Thu, 24 Oct 2019 18:26:40 +0000 (18:26 +0000)]
LP#1849212 Course List Ui
Added a grid component that displays the available data, specified
by the class, while also modifying the routing, so the admin splash
page links to the created component.

Signed-off-by: Zavier Banks <zbanks@catalyte.io>
5 years agoCourse Modules - Opt-in YAOUS
Kyle Huckins [Mon, 21 Oct 2019 20:32:39 +0000 (20:32 +0000)]
Course Modules - Opt-in YAOUS

- YAOUS introduced to allow opting into the Course Materials
module functionality.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/sql/Pg/950.data.seed-values.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoCourse Modules - Course Materials Asset
Kyle Huckins [Mon, 21 Oct 2019 19:55:38 +0000 (19:55 +0000)]
Course Modules - Course Materials Asset

- Create IDL Class & Table for Course Materials
- Create IDL Class & Table for Non-Cataloged Course Materials

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoCourse Materials Module - Course Members
Kyle Huckins [Fri, 18 Oct 2019 21:43:31 +0000 (21:43 +0000)]
Course Materials Module - Course Members

- Add IDL Class and asset table to map actor.usr and
asset.course_module_course, along with an optional
string value for the user's role in the course. If
desired, this can later be fleshed out into a separate
course role table.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoCourse Materials Module - Course IDL object & table
Kyle Huckins [Fri, 18 Oct 2019 20:22:02 +0000 (20:22 +0000)]
Course Materials Module - Course IDL object & table

- Create IDL Object for Courses.
- Create table within asset schema for Courses, containing an id,
a name, a course number, a section number, and an owning library.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/sql/Pg/040.schema.asset.sql
renamed:    Open-ILS/src/sql/Pg/upgrade/XXXX.data.manage-reserves-permission.sql -> Open-ILS/src/sql/Pg/upgrade/XXXX.schema.course-materials-module.sql

5 years agoCourse Reserves Permission
Kyle Huckins [Fri, 18 Oct 2019 18:05:57 +0000 (18:05 +0000)]
Course Reserves Permission

- Create MANAGE_RESERVES permission.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/sql/Pg/950.data.seed-values.sql
new file:   Open-ILS/src/sql/Pg/upgrade/XXXX.data.manage-reserves-permission.sql

5 years agoLP1811466 Add fields to holdings editor column pickers
Michele Morgan [Tue, 27 Aug 2019 12:55:06 +0000 (08:55 -0400)]
LP1811466 Add fields to holdings editor column pickers

Adds item fields creator, editor and last edit date to the working and
completed grids in the holdings editor.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP#1839369: (follow-up) tweak button and styles
Galen Charlton [Mon, 3 Aug 2020 21:14:12 +0000 (17:14 -0400)]
LP#1839369: (follow-up) tweak button and styles

- Change the button text from "Search" to "Search Catalog"
- adjust the styling on the AngularJS side to cuddle the
  button with the search input
- standardize the placeholder text as "Search for..."

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP#1839369 Accessibility for Search Box
Terran McCanna [Tue, 22 Oct 2019 20:16:35 +0000 (16:16 -0400)]
LP#1839369 Accessibility for Search Box

This adds an accessible label to the Search box on the splash
page of the staff client as well as to the Angular version of
the splash page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP#1864371: bump up ng-bootstrap to 7.0.0
Galen Charlton [Wed, 5 Aug 2020 18:29:39 +0000 (14:29 -0400)]
LP#1864371: bump up ng-bootstrap to 7.0.0

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1864371: (follow-up) fix lint
Galen Charlton [Wed, 5 Aug 2020 17:49:31 +0000 (13:49 -0400)]
LP#1864371: (follow-up) fix lint

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1864371 Angular 10 deps
Bill Erickson [Fri, 26 Jun 2020 18:33:29 +0000 (14:33 -0400)]
LP1864371 Angular 10 deps

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Angular 10 deps
Bill Erickson [Fri, 26 Jun 2020 18:31:13 +0000 (14:31 -0400)]
LP1864371 Angular 10 deps

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Remove extra match set data source
Bill Erickson [Fri, 26 Jun 2020 18:52:09 +0000 (14:52 -0400)]
LP1864371 Remove extra match set data source

Remove an erroneous [dataSource]="queueSource" attribute from the
Vandelay Match Set grid, which was causing the grid to think it had no
data source.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Migrate deprecated loadChildren invocations
Bill Erickson [Fri, 26 Jun 2020 18:24:00 +0000 (14:24 -0400)]
LP1864371 Migrate deprecated loadChildren invocations

https://angular.io/guide/deprecations#loadchildren-string-syntax

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 ngbTabset to ngbNav for marc editor
Bill Erickson [Fri, 26 Jun 2020 17:57:50 +0000 (13:57 -0400)]
LP1864371 ngbTabset to ngbNav for marc editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Angular 9 bits an pieces
Bill Erickson [Fri, 26 Jun 2020 16:49:31 +0000 (12:49 -0400)]
LP1864371 Angular 9 bits an pieces

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Angular packages updated for 9.1.0
Bill Erickson [Fri, 26 Jun 2020 15:24:04 +0000 (11:24 -0400)]
LP1864371 Angular packages updated for 9.1.0

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Makefile.install install Angular 9.1.0
Bill Erickson [Fri, 26 Jun 2020 15:23:45 +0000 (11:23 -0400)]
LP1864371 Makefile.install install Angular 9.1.0

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1864371 Temp delete package-lock.json
Bill Erickson [Fri, 26 Jun 2020 15:16:43 +0000 (11:16 -0400)]
LP1864371 Temp delete package-lock.json

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1774892 release notes
Jason Etheridge [Mon, 3 Aug 2020 12:37:18 +0000 (08:37 -0400)]
LP1774892 release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1774892 stripe elements
Jason Etheridge [Fri, 10 Jul 2020 16:15:22 +0000 (12:15 -0400)]
LP1774892 stripe elements

This fixes some minor errors with the generic payment form.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1774892 stripe elements
Jason Etheridge [Fri, 10 Jul 2020 16:08:30 +0000 (12:08 -0400)]
LP1774892 stripe elements

This commit breaks some code out into separate files for easier understanding.

The Stripe form was then tweaked and repositioned to work with specific selected
transactions, invoke the last chance screen, and show the refund policy.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1774892 stripe elements
Jason Etheridge [Fri, 12 Jun 2020 13:57:03 +0000 (09:57 -0400)]
LP1774892 stripe elements

This commmit changes the OPAC to use https://js.stripe.com/v3/ instead of
https://js.stripe.com/v2/ for processing payments through Stripe.

Additionally, it disables the "internal" credit card form in the staff client
when Stripe is the payment processor (or if the processor is not set at all),
as that does not currently work.

It also does not replace Business::Stripe's use of the "Charges API" with the
newer "Payment Intents" API on the backend, but credit card details are still
not sent to the Evergreen server.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1867834 Staffcat clear basket on logout
Bill Erickson [Wed, 18 Mar 2020 16:41:38 +0000 (12:41 -0400)]
LP1867834 Staffcat clear basket on logout

Tell the browser/local store service to treat the staff catalog basket
cache key as a "login item", meaning it should be cleared upon logout.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1889251: make call number affix sort keys read-only
Galen Charlton [Tue, 28 Jul 2020 15:09:45 +0000 (11:09 -0400)]
LP#1889251: make call number affix sort keys read-only

This patch makes the call number prefix and suffix label sort
key fields read-only on their respective Server Administration
pages, as any values that a user would try to set for them
would get overwritten by a database trigger.

To test
-------
[1] Apply the patch.
[2] Go to Server Administration -> Call Number Prefixes (or Suffixes)
    and attempt create and edit new affixes.
[3] Verify that the label sort key is a read-only display field on the
    edit modal.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
5 years agoLP#1674364 - Use database bib id for cover art lookup
Josh Stompro [Mon, 4 Mar 2019 17:16:56 +0000 (11:16 -0600)]
LP#1674364 - Use database bib id for cover art lookup

Export the 901c as the URN:BIBID identifier to allow the
ATOM2XHTML.xsl to construct a cover art img link using it.

Testing Notes:

I used a bookbag to test this out.
1. Create a public bookbag of items and grab the bookbag id.
2. View the source of these links on your system to see the current output.
 /opac/extras/feed/bookbag/atom/<bookbagid>
 /opac/extras/feed/bookbag/html-full/<bookbagid>
   Make note that the jacket img link uses the ISBN to lookup cover art.

Make changes.
1. Restart supercat to re-load xsl transfor files.
  osrf_control -l --service open-ils.supercat --restart
2. View the source and output of these links on your system to see the changes.
 /opac/extras/feed/bookbag/atom/<bookbagid>
 /opac/extras/feed/bookbag/html-full/<bookbagid>
   The cover art images should show up now in the html-full, and the
   URN:BIBID: identifier should be populated in the atom file.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1731370: (follow-up) fix a typo that was causing console noise
Galen Charlton [Mon, 3 Aug 2020 21:38:48 +0000 (17:38 -0400)]
LP#1731370: (follow-up) fix a typo that was causing console noise

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1761142: (follow-up) tweak field-change style
Galen Charlton [Mon, 3 Aug 2020 21:31:32 +0000 (17:31 -0400)]
LP#1761142: (follow-up) tweak field-change style

[1] Ensure that the border is displayed.
[2] Change the border color to one that has more contrast
    as compared to the bg-success background color.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1761142 Volume Copy Editor Changed Fields Hard to Discern
a. bellenir [Thu, 28 Mar 2019 16:26:37 +0000 (12:26 -0400)]
LP1761142 Volume Copy Editor Changed Fields Hard to Discern

Add a changed_fields object to the scope and update it as copies are
changed. The function field_changed(field) determines if any of the
selected copies have altered the given field.  finally, a CSS class,
field-changed, is applied to add a green border to fields whose values
have been modified.

Signed-off-by: a. bellenir <abelleni@grpl.org>
Signed-off-by: Ruth Frasur <rfrasur@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1783793 - Suspend holds when activation date set in web client angularjs
Josh Stompro [Tue, 28 Jan 2020 16:04:02 +0000 (10:04 -0600)]
LP#1783793 - Suspend holds when activation date set in web client angularjs

1. Modify Dates popup changed to not allow picking dates in the past for hold
  activation date both in the date picker, and if typed in manually.  If a
  date in the past is typed in, it is changed to today's date and an alert
  message is displayed.  The date picker just won't allow past days to be
  selected.  The alert message remains until a date in the future is selected.

2. Suspend holds when the activation date is set and saved.

3. Adds a note about the fact that the hold will be suspended when the hold
  activation date is selected for editing.  This makes the behavior clear so
  staff don't have to figure it out by trial and error.

4. Updates several sr-only (Screen Reader Only) labels in the holds date popup
  template that were set to the wrong values.  The file was copied from the hold
  notification popup and the screen reader descriptions were left unchanged from
  those values.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>