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
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
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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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>
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>
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
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
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
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
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
Galen Charlton [Sat, 5 Sep 2020 00:35:51 +0000 (20:35 -0400)]
LP#
1848524: add release notes
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Sat, 5 Sep 2020 00:29:10 +0000 (20:29 -0400)]
LP#
1848524: update references to docs-antora
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 22:08:55 +0000 (18:08 -0400)]
LP#
1848524: tweak the Antora site.yml
- point to docs/
- default to the current checkout when building docs
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 22:07:21 +0000 (18:07 -0400)]
LP#
1848524: tweaks to generate_docs.pl
- make executable
- adjust so that it doesn't need root privileges
to install in the system Node module directory
- let Gulp be installed in the temporary scratch
directory
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 21:23:21 +0000 (17:23 -0400)]
LP#
1848524: update the README symlink
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 21:22:17 +0000 (17:22 -0400)]
LP#
1848524: ... and swap in the Antora docs
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 21:20:32 +0000 (17:20 -0400)]
LP#
1848524: remove old docs...
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 21:17:39 +0000 (17:17 -0400)]
LP#
1848524: synchronize installation instructions document
This will avoid regressions on the following documentation bugs:
LP#
1849208
LP#
1845693
LP#
1849506
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 4 Sep 2020 20:46:59 +0000 (16:46 -0400)]
LP#
1848524: move a couple top-level docs to TechRef so they don't get lost
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 4 Jun 2020 22:10:30 +0000 (17:10 -0500)]
LP#
1848524: Docs: fixed antora docs for heading syntax
Found some leftover files missing their heading upgrades.
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Sat, 23 May 2020 16:30:02 +0000 (11:30 -0500)]
LP#
1848524: Docs: Corrected page headings
Included script that helped find them
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Tue, 12 May 2020 22:32:35 +0000 (17:32 -0500)]
LP#
1848524: Add doc site generator generate_docs.pl
Also update the README to document the new steps to create the Antora
site.
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Tue, 12 May 2020 22:22:09 +0000 (17:22 -0500)]
LP#
1848524: Docs: lunr - delete header-content.hbs
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Tue, 12 May 2020 21:50:08 +0000 (16:50 -0500)]
LP#
1848524: Docs: refreshed antora lunr search component from upstream
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Tue, 12 May 2020 20:10:08 +0000 (15:10 -0500)]
LP#
1848524: Upgraded headers in admin module
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 19 Mar 2020 20:40:29 +0000 (15:40 -0500)]
LP#
1848524: Fixed a word wrap issue with many of our nav.adocs
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 19 Mar 2020 16:56:52 +0000 (11:56 -0500)]
LP#
1848524: Corrected a couple of things in cataloging
Moved the physical character wizard into MARC_Editor and updated nav
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Tue, 25 Feb 2020 15:45:20 +0000 (10:45 -0500)]
LP#
1848524: Docs: Attempt an Acq topic manual
This is a first draft at structuring a topic manual in Antora (mostly
reusing files from the main "docs" component).
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Wed, 12 Feb 2020 14:31:36 +0000 (09:31 -0500)]
LP#
1848524: fix various sections
For Serials:
- Add chapter labels to nav file items
- (Not needed for this section.) Combine adoc files so that each
"chapter" from the old docs structure has a single file linked from
the nav
- Upgrade all heading levels in each adoc file so that the top-most
heading is a "Level 1" heading (example: "= Chapter Name =")
- Add ":toc:" below top heading of each file
For Circulation:
- Add chapter labels to nav file items
- To match existing docs "chapter" level headings, combine adoc files as
needed so that each "chapter" from the old docs structure has a single
file linked from the nav
- Added advanced_holds.adoc to the end of basic_holds.adoc
- Upgrade all heading levels in each adoc file so that the top-most
heading is a "Level 1" heading (example: "= Chapter Name =")
- Add ":toc:" below top heading of each file
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 6 Feb 2020 20:03:57 +0000 (14:03 -0600)]
LP#
1848524: Docs: Fix sections for Antora: "reports"
* Added :toc: for each page
* Upgraded all headings in each page
* Updated nav to display the English name for each page
* fixed Intro page
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Fri, 10 Jan 2020 13:47:25 +0000 (08:47 -0500)]
LP#
1848524: Docs: section fixes
For "System Configuration and Customization":
- Add chapter labels to nav file items
- To match existing docs "chapter" level headings, combine adoc files as
needed so that each "chapter" from the old docs structure has a single
file linked from the nav
- Upgrade all heading levels in each adoc file so that the top-most
heading is a "Level 1" heading (example: "= Chapter Name =")
- Add ":toc:" below top heading of each file
For 'Using the Public Access Catalog'":
- Add chapter labels to nav file items
- To match existing docs "chapter" level headings, combine adoc files as
needed so that each "chapter" from the old docs structure has a single
file linked from the nav
- In this case, the only change was in advanced_features.adoc,
where two sections had the top heading level (seems like a mistake).
I bumped the second one down ("Binary MARC21 Feeds") so it is a
subsection of the file. Ironically, since this commit also bumps
up all headings by one level, it means that heading is the only one
not changed in this commit.
- Upgrade all heading levels in each adoc file so that the top-most
heading is a "Level 1" heading (example: "= Chapter Name =")
- Add ":toc:" below top heading of each file
For "Developer Resources" and "Getting Data from Evergreen":
- Add chapter labels to nav file items
- To match existing docs "chapter" level headings, combine adoc files as
needed so that each "chapter" from the old docs structure has a single
file linked from the nav
- Upgrade all heading levels in each adoc file so that the top-most
heading is a "Level 1" heading (example: "= Chapter Name =")
- Add ":toc:" below top heading of each file
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 9 Jan 2020 20:00:19 +0000 (15:00 -0500)]
LP#
1848524: Docs: Fix incorrect module path in API nav
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 9 Jan 2020 19:51:09 +0000 (14:51 -0500)]
LP#
1848524: Docs: Move misplaced adoc file
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Fri, 3 Jan 2020 16:10:17 +0000 (11:10 -0500)]
LP#
1848524: Docs: Cataloging section improvements
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Fri, 3 Jan 2020 20:38:15 +0000 (14:38 -0600)]
LP#
1848524: various fixes
* Update acquisitions nav
Level 2 became level 1 and Table of contents added. Two files were merged
onto the "parent" as per the live docs layout. So it makes more sense when
viewed via Antora
* Fix double level 0 headings end_matter.adoc
* Add MOBIUS's name and DIG individuals to the _attributes.adoc
* Changed the home page to be the introduction page
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Jane Sandberg [Tue, 31 Dec 2019 15:50:09 +0000 (07:50 -0800)]
LP#
1848524: Docs: Adding recent docs changes to the antora version
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 20:08:23 +0000 (15:08 -0500)]
LP#
1848524: various fixes
* Fix syntax broken by "heading conversion" script
* Improve antora navs, add missing attrib files
- Remove numbering from install docs headers
- Link top-level nav items to each section's intro file
- Add a few missing _attributes.adoc files in pages/ subdirs
* Start converting internal links to antora format
Links to sections in the same file only need the section ID like this:
xref:#section_id
But links to sections in another file need the Antora page_id also:
xref:MODULE:PAGE.adoc#section_id
* Convert existing anchors to Antora syntax
* Convert more links to Antora syntax
Antora requires that links to sections in a different file use the xref
syntax, not the double-angle-bracket shortcut syntax. As best as I can
tell, this commit changes all the links that go to other files (not the
file that the link is in).
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Fri, 6 Dec 2019 15:24:24 +0000 (09:24 -0600)]
LP#
1848524: Removed the Antora UI bits in favor of the dedicated repo
Also edited the README to reflect the new build procedure.
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 19:41:24 +0000 (14:41 -0500)]
LP#
1848524: Docs: Add missing file from TechRef directory
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 19:16:48 +0000 (14:16 -0500)]
LP#
1848524: Docs: Adjust headings where we used to use leveloffset
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 18:54:44 +0000 (13:54 -0500)]
LP#
1848524: Docs: Add intro material to ROOT nav file
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 16:06:27 +0000 (11:06 -0500)]
LP#
1848524: Docs: Add Index file and appendix attribs file
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 16:06:27 +0000 (11:06 -0500)]
LP#
1848524: Docs: Draft of all nav files
Some files still contain 'leveloffset' commands which need to be
removed, and those previously offset files should probably have their
headings adjusted accordingly.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 14:23:06 +0000 (09:23 -0500)]
LP#
1848524: Docs: Add draft nav for "Software Installation" section
Note: I don't think "leveloffset" is allowed like this here. We could
pass it to "include" as an attribute, but I'd rather us standardize our
headings in our files.
Also adjust heading levels to avoid using leveloffset
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 13:48:48 +0000 (08:48 -0500)]
LP#
1848524: AsciiDoc HEADING CONVERSION
This commit changes all headings from two-line style to prefix/suffix
style. (For now, we're only doing this in the docs using Antora.) Example:
Heading 1
=========
becomes
= Heading 1 =
This conversion makes it much easier to adjust the heading levels of
several files which were previously included using the 'leveloffset'
command.
NOTE: Only the prefix is required, but we felt the suffix improves
readability of the source.
Below is the python script I used to do the conversion. It is slightly
modified from a script used by ___ here:
https://github.com/JanusGraph/janusgraph/pull/115/commits/
dc67ce73c08e79fa65b30bc8280861056070c573
Here's my source:
import re
import sys
def main(argv):
#http://asciidoctor.org/docs/asciidoc-recommended-practices/#section-titles
patterns = [
(re.compile('^=+$'), '='),
(re.compile('^-+$'), '=='),
(re.compile('^~+$'), '==='),
(re.compile('^\^+$'), '===='),
(re.compile('^\++$'), '====='),
]
with open(argv[1], 'r') as input_file:
prev_line = None
curr_line = None
for line in input_file.readlines():
prev_line = curr_line
curr_line = line
if prev_line is None:
continue
for pattern, heading in patterns:
if pattern.match(curr_line) and len(prev_line) == len(curr_line):
# remove newline so we can append suffix to heading
prev_line = prev_line.rstrip()
sys.stdout.write('%s %s %s\n' % (heading, prev_line, heading))
prev_line = None
curr_line = None
break
if prev_line is not None:
sys.stdout.write(prev_line)
# end for
if curr_line is not None:
sys.stdout.write(curr_line)
# end with
if __name__ == '__main__':
main(sys.argv)
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 5 Dec 2019 14:06:46 +0000 (09:06 -0500)]
LP#
1848524: Docs: Remove Unicode Byte-Order Mark (BOM)
A few asciidoc files start with the BOM, which occasionally causes us
trouble. For example, it interfered with our python script converting
headings from two-line style to prefix/suffix style.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Tue, 3 Dec 2019 21:13:28 +0000 (16:13 -0500)]
LP#
1848524: Remove "Admonitions" section and images, not used by AsciiDoctor/Antora
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 24 Oct 2019 13:48:53 +0000 (09:48 -0400)]
LP#
1848524: Docs: Convert normal includes to Antora "partials"
Antora treats all includes as either "partials" or "examples". This case
seems like "partials", since "examples" seems to be meant for code
snippets.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Thu, 24 Oct 2019 13:45:37 +0000 (09:45 -0400)]
LP#
1848524: Docs: Treat code include as an Antora "example"
This seems like a case that matches Antora's idea of an "example",
rather than a "partial".
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 24 Oct 2019 14:48:59 +0000 (09:48 -0500)]
LP#
1848524: various tweaks
* Renamed the supplimental_ui folder for ease of understanding
* UI Tweaks
* Fixed README.adoc for working repo
* add Next/Previous links at the bottom of the pages
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Thu, 24 Oct 2019 06:02:43 +0000 (01:02 -0500)]
LP#
1848524: start an "Evergreen Theme" for the Antora docs
Changed several values for css theming. Still need to figure out how to
padd the nav bar off of the right so the dropdown isn't cut off.
Also added links to stuff in the nav. Making it more useful.
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Wed, 23 Oct 2019 19:29:10 +0000 (14:29 -0500)]
LP#
1848524: add lunr search functionality to the docs build
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
blake [Mon, 21 Oct 2019 15:23:20 +0000 (10:23 -0500)]
LP#
1848524: start adding Antora support to the docs
This introduces the antora directory structure stub. Started a new folder
docs-antora. The sub folder "ui" contains a dump of the Antora-provided default
UI from https://gitlab.com/antora/antora-ui-default.git
This commit also starts updating the document navigation.
This commit includes contributions by Remington Steed.
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Remington Steed [Tue, 22 Oct 2019 21:20:39 +0000 (17:20 -0400)]
LP#
1848524: Docs: Delete unused assets
This commit attempts to delete all images from the media/ directory that
aren't used within an AsciiDoc file (via "image:" or "image::"). This
commit also doesn't touch images that are known to be used in the HTML
template (such as the Evergreen logo, PDF/ePUB icons, NOTE icons, and
callout number icons).
This list of images was generated via multiple bash commands, grepping
and diffing. It would be great for us to have a standard command for
finding these periodically.
This commit also removes all AsciiDoc files that we don't currently include
in another AsciiDoc file (via "include::"), because that means they
never appear in the generated docs (HTML, PDF, or ePUB). Some files have
been left untouched, such as everything in the TechRef/ directory. It
also further removes any images referenced by these files.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Tiffany Little [Fri, 1 Mar 2019 19:00:59 +0000 (14:00 -0500)]
LP#
1418694 Change wording for saving to selection list
Changes label in line item table Actions menu for 'Save to Selection List' to 'Move to Selection List' to better reflect action taken.
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Jason Boyer [Thu, 3 Sep 2020 22:33:40 +0000 (18:33 -0400)]
LP#
1841974: Stamp Upgrade Scripts
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Mike Rylander [Mon, 2 Mar 2020 20:49:05 +0000 (15:49 -0500)]
LP#
1841974: Allow adjusted proximity for age-protect
When testing prospective transit distance for age-protected items at
hold placement time we currently use the direct, baseline proximity
between the item circ (or owning) lib and the pickup lib. With this
commit, setting a new YAOUS will allow the circ library of the item to
specify that a potentially-adjusted, calculated proximity should be used
instead.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Diane Disbro <ddisbro@scenicregional.org>
Signed-off-by: Nelson Appell <nappell@washmo.gov>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Dan Briem [Sat, 30 May 2020 23:27:39 +0000 (19:27 -0400)]
LP#
1880028 Backdate Checkins Until Logout Option
- Adds a checkbox option to store the backdate as a
session item and only loads the backdate on the checkin
screen (backdate ignored on the hold capture screen)
- Adjusts existing $watch to enable/disable the checkbox
and store/remove session backdate when appropriate
- Adjusts is_backdate() to not consider null or undefined
dates as backdates so the visible alert is accurate
- Adjusts "today" comparison to use a time of 00:00:00 so
that when the Clear button is used and clears the time
the Today button won't cause a backdate just because it's
an earlier time on the same date
Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: rfrasur <rfrasur@library.in.gov>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Bill Erickson [Thu, 3 Sep 2020 16:00:27 +0000 (12:00 -0400)]
LP1850547 Stamping DB upgrade: Ang Acq Search
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Thu, 3 Sep 2020 13:56:09 +0000 (09:56 -0400)]
LP#
1850547: (follow-up) add a bit of spacing between two buttons
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Wed, 2 Sep 2020 15:34:05 +0000 (11:34 -0400)]
LP#
1850547: (follow-up) fix 'New Selection List' button
Now that it's a toolbar button rather than a grid action,
the check to see if the button should be active needed to be
adjusted.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Fri, 31 Jul 2020 16:10:39 +0000 (12:10 -0400)]
LP#
1850547: release notes for Angular Acquisitions Search
The general test plan for the feature includes:
- verifying that results are retrieved as expected
- verifying that default searches can be saved and cleared
and are used to populate the form.
- verifying that the run immediately checkbox works as expected
- verifying that grid result sorting and filtering works
as expected
- verifying that links to POs, providers, catalog records,
etc. find their correct targets
Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Tue, 22 Oct 2019 19:29:40 +0000 (15:29 -0400)]
LP#
1850547: Angular Acquistions Search
This patch adds the Angular application for acquisitions search
and links the Angular and AngularJS navbars to it.
Includes contributions by Mike Rylander and Jason Etheridge.
I would like to also specifically acknowledge feedback from
Bill Erickson and Mike Risher on this patch series.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Mike Rylander [Thu, 31 Oct 2019 19:23:22 +0000 (15:23 -0400)]
LP#
1850547: Angular Acq Search: Perl API changes
This patch makes a variety of changes to methods used by
acquisitions search and retrieval. The overall intention of this
patch is to not change functionality used by the old Dojo
search interface but to add support for new functionality for
the Angular search form.
Specific changes include:
open-ils.acq.*.unified_search
-----------------------------
* Add __age (interval), __starts, __ends, __gt, and __lt operators.
Update __between to support __castdate modifier, for a more natural
comparison of dates entered by humans to timestamps stored in the
database.
* fix sorting by line item attributes
* add support for __gte, __gt, __lte, and __lt for acqlia searches
* add permissions checks for retrieving POs and invoices via
unified_search
* improvements to server-side sorting of search results
- create joins for aou, acqim, and acqipm as needed
- look up identity column for a class rather than assuming
that it's always 'id'
* allow searching on an explicit null value
This adjusts the special logic introduced in LP#
1031535 so
that explicitly searching with a field set to not null (e.g.,
when using the Angular grid 'exists' filter) will work.
* add __isnotnull as an acq search field modifier
* allow __fuzzy to override au_by_id in unified search
* Sort by remote selector column when sort-on-link is requested and
selector exists
* Add additional fleshing for purchase order, selection lists,
and invoice searches.
* Add au_by_id option
This specifies performing queries on au-linked fields by
ID rather than adding joins to query the fields by user
barcode or username, etc.
* Implement "contains" operator for searches on provider
fields.
This is similar to how user searches are handled.
Other methods
-------------
* teach open-ils.acq.lineitem.retrieve more fleshing
In particular, teach it how to flesh the LI provider, Vandelay queue,
creator, editor, selector, and claim policy so that Angular LI search
can display them without having to make additional server requests.
* clarify open-ils.acq.picklist.clone
Method is now clear that _nothing_ of the acq.picklist row
itself gets copied over.
This patch contains work by Mike Rylander, Galen Charlton, and Jason
Etheridge.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Tue, 11 Feb 2020 19:18:49 +0000 (14:18 -0500)]
LP#
1850547: add views for PO and LI state labels
This patch adds two new views, acq.po_state_label and
acq.li_state_label, to map from the state codes to human-friendly
labels in a way that allows the labels to be retrieved and
translated.
This patch also changes the fieldmapper label of the PO
and LI state column from "State" to "Status".
This patch includes contributions by Mike Rylander.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Wed, 5 Feb 2020 00:52:25 +0000 (19:52 -0500)]
LP#
1862022: add more permissions to stock Acquisitions and Acq Admin profiles
This patch makes the stock Acquisitions and Acquisitions Administrator
profiles better able to use the acquisitions modules out of the box.
The permissions added are:
Acquisitions Administrator Profile
-----------------------------------------
VIEW_FUND
VIEW_FUNDING_SOURCE
VIEW_FUND_ALLOCATION
VIEW_PICKLIST
VIEW_PROVIDER
VIEW_PURCHASE_ORDER
VIEW_INVOICE
CREATE_PICKLIST
ACQ_ADD_LINEITEM_IDENTIFIER
ACQ_SET_LINEITEM_IDENTIFIER
MANAGE_FUND
CREATE_INVOICE
CREATE_PURCHASE_ORDER
IMPORT_ACQ_LINEITEM_BIB_RECORD
IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD
MANAGE_CLAIM
MANAGE_PROVIDER
MANAGE_FUNDING_SOURCE
RECEIVE_PURCHASE_ORDER
ADMIN_ACQ_LINEITEM_ALERT_TEXT
UPDATE_FUNDING_SOURCE
UPDATE_PROVIDER
VIEW_IMPORT_MATCH_SET
VIEW_MERGE_PROFILE
IMPORT_MARC
Acquisitions Profile
-----------------------------------------
ACQ_ADD_LINEITEM_IDENTIFIER
ACQ_SET_LINEITEM_IDENTIFIER
ADMIN_ACQ_FUND
ADMIN_FUND
ACQ_INVOICE-REOPEN
ADMIN_ACQ_DISTRIB_FORMULA
ADMIN_INVOICE
IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD
VIEW_IMPORT_MATCH_SET
VIEW_MERGE_PROFILE
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Mon, 20 Jan 2020 22:42:14 +0000 (17:42 -0500)]
LP#
1850547: Seed data for Angular acquisitions search
* grid persistance WS settings
* retrieve-results-immediately sticky checkbox settings
* default saved searches settings
Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Wed, 8 Jul 2020 20:25:47 +0000 (16:25 -0400)]
LP#
1850547: eg-date-select: let blur trigger emitting changes
(Otherwise, you have to select the calendar button or hit
return inisde the input)
Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Mon, 2 Mar 2020 17:30:47 +0000 (12:30 -0500)]
LP#
1850547: eg-org-select: allow applyOrg[Id] to clear the org unit
Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>