GG-CE 2022.3 update
I’m happy to announce the availability of the 2022.3
release of GGCE!
Please check the complete list of changes at:
- Announcement #142 (closed)
- Web https://gitlab.croptrust.org/grin-global/grin-global-ui/-/releases/v2022.3
- API https://gitlab.croptrust.org/grin-global/grin-global-server/-/releases/v2022.3
2022.3
allows users to request a password reset (when server is configured with SMTP) and introduces new constraints on text values to be stored in the database (see Validation below). It adds support for generating PDF documents for order requests and for one single accession profile. The tools available for managing Code Values are further improved in this release with a UI to review the usage of a code value across the database. Some bugs are also squashed in this release; thanks to @achan for reporting the issues!
New features:
- Redesigned label printing
- Generating PDFs from order requests and one accession profile
- Added reset password functionality
-
@SimpleString
validation
Improvements and bug fixes:
- Added removing crop species endpoint
- Added Security Action for Crop
-
TaxonomyGenus
: LoadTaxonomyFamily
(as requested by our friends in Palmira) - Application startup fixes
- Pageable default page size
- Fixed #141 (moved) (@achan), #140 (moved) (@achan)
- UI for
CodeValue
usage statistics - UI for removing crop-species associations
- Updated form for managing OAuth client settings for hCaptcha
- Fixed an issue with uploading multiple files to the file repository
- Automatically capture keyboard focus when a dialog opens
- Include display of
TaxonomyFamiliy
in Genera, Species and Accession tables - GGCE logo and branding
Database changes:
- Added Easy-SMTA PID to
Cooperator
@SimpleString
validation
This update prevents users from entering text that is expected to be "clean". A clean text string does not contain consecutive whitespaces, does not have spaces at the start or end of text, and also does not contain CR (carriage-return) or LF (line-feed) characters:
- Text must be trimmed: no whitespace before or at the end of the string
- No double-whitespace allowed: text
GRU 123
with two space characters is considered invalid - No line-break characters allowed: text must not include carriage return (
\r
) or line feed (\n
) characters
This is applied to select fields in Accession
, Inventory
and Cooperator
. See 78842eef for details.
What does this mean for me: The server will reject all texts that are considered invalid according to this this scheme. Users of GGCE UI will be prompted that their input is invalid.
Default page size for API endpoints
427cbca4 introduces API-wide limits on the maximum records that can be requested in one API call.
The maximum number of records returned in a single API call is limited by MAX_PAGE_SIZE = 200
and the default number of records the server will return if the client does not specify the page size is set to DEFAULT_PAGE_SIZE = 50
.
What does this mean for me: Not much, really. GGCE UI already loads records on demand and respects defaults provided by the GGCE server. Your custom code must support pagination and must not rely on loading large pages of data in a single API call.
Printing labels
Before 2022.3
printing labels was possible with only one ZPL template. This release includes a new user interface for printing labels and adds support for specifying:
- The number of copies to print
- If the copies should be collated or not
- Selecting the type of label to print from a list of templates (if defined)
What does this mean for me: Mutiple label templates can be defined for any object (e.g. Inventory
) by using the Sort order in Application Settings.
Generating PDF for orders
Distribution of material requires creation of different documents that need to be signed, enclosed, submitted to relevant authorities, or archived. 2022.3
allows users to generate different types of PDF documents based on order request data (e.g. a Packing list, SMTA or another MTA).
What does this mean for me: You can register multiple different Jasper Report templates and users will be able to select the one they require.
If you have a template to share, please get in touch!
We'll share PDF templates with you as soon as they become available!
Forgot your password?
Users are able to request for a password reset from the GGCE login page. This is applicable only for local user accounts and is not enabled for users that use LDAP, SAML or social network logins.
Note: GGCE Server must be configured with SMTP support. When it is not configured, the function to reset one's password from the UI is not visible.