Uploader issueshttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues2019-01-25T14:24:13+01:00https://gitlab.croptrust.org/genesys-pgr/anno/-/issues/23OAuth Client Credentials2019-01-25T14:24:13+01:00Matija ObrezaOAuth Client CredentialsAllow for using Client Credentials authentication in Settings screen to obtain tokens:
- When user clicks authenticate, try current tokens
- If need to obtain new tokens, first try client authentication using provided client id and secr...Allow for using Client Credentials authentication in Settings screen to obtain tokens:
- When user clicks authenticate, try current tokens
- If need to obtain new tokens, first try client authentication using provided client id and secret
- Then try the verifier code authentication (current method)
This will allow for using Anno without redirecting user to the website to confirm access and obtain the verifier code.1.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/22Update default settings2019-01-25T14:24:13+01:00Matija ObrezaUpdate default settingsUpdate setting defaults:
**Production**: Server URL https://api.genesys-pgr.org
**Sandbox**: Server URL https://api.sandbox.genesys-pgr.orgUpdate setting defaults:
**Production**: Server URL https://api.genesys-pgr.org
**Sandbox**: Server URL https://api.sandbox.genesys-pgr.org1.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/17Embed client id2018-07-09T11:02:30+02:00Matija ObrezaEmbed client idThe client ID used by Anno is not secret as it still requires user authentication on the server.
## Settings screen
![image](/uploads/c642353a0070fa61ba58d1e4c6e7cd79/image.png)
## Changes
1. Add a section "Genesys server"
1. The se...The client ID used by Anno is not secret as it still requires user authentication on the server.
## Settings screen
![image](/uploads/c642353a0070fa61ba58d1e4c6e7cd79/image.png)
## Changes
1. Add a section "Genesys server"
1. The section has three radio buttons: "Sandbox", "Production" and "Custom"
When the user selects **sandbox**, the data is pre-filled with Sandbox (https://sandbox.genesys-pgr.org) URLs, and the Client ID: `Ap8Od.ydMSWlJ7qL9sJWtXXMCA@sandbox.genesys-pgr.org` with no key. Selecting **production** uses https://www.genesys-pgr.org and the Client ID: `fTxcm.TrySiiiOLncyeWfmQKyp@www.genesys-pgr.org`. The client secret is blank. The fields in "Genesys API configuration" section are disabled for editing.
Selecting custom just allows the user to edit the settings (current functionality).1.3Alexander PrendetskiyAlexander Prendetskiyhttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/15Client ID label2018-02-23T14:59:16+01:00Matija ObrezaClient ID labelIn the Settings dialog, rename label **Client API key** to read **Client ID/API key**.In the Settings dialog, rename label **Client API key** to read **Client ID/API key**.1.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/14Improved Excel source2018-02-23T14:59:36+01:00Matija ObrezaImproved Excel sourceExcel reader does not handle Excel dates well. Use the `DateUtils.isDate` in POI library (or something like that) and read the `Date` value (`getDateValue()`) of the cell and return the value formatted as **YYYYMMDD**.
This should work ...Excel reader does not handle Excel dates well. Use the `DateUtils.isDate` in POI library (or something like that) and read the `Date` value (`getDateValue()`) of the cell and return the value formatted as **YYYYMMDD**.
This should work for preview and actual sending of data to server.
## Blank cells at start of row
It appears that Excel reader strips out the first cells if they are blank. This should not happen.1.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/13Reset mapping button2018-02-22T15:05:57+01:00Matija ObrezaReset mapping buttonWhen a data sheet is open, a "Reset mapping" button should be enabled in the toolbar (next to the Automap).
When clicked, mappings for selected sheet are completely reset.When a data sheet is open, a "Reset mapping" button should be enabled in the toolbar (next to the Automap).
When clicked, mappings for selected sheet are completely reset.1.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/anno/-/issues/6Editing JDBC connect string2017-09-25T19:06:11+02:00Matija ObrezaEditing JDBC connect stringWhen trying to edit the JDBC connection URL in the "Add database" dialog the cursor keeps jumping to the start of the text field.
![anno-jdbc](/uploads/c03e812c6a7a57375045764b627a0c21/anno-jdbc.png)
This seems to be a problem only whe...When trying to edit the JDBC connection URL in the "Add database" dialog the cursor keeps jumping to the start of the text field.
![anno-jdbc](/uploads/c03e812c6a7a57375045764b627a0c21/anno-jdbc.png)
This seems to be a problem only when the **Driver** is selected.1.1https://gitlab.croptrust.org/genesys-pgr/anno/-/issues/3DOI support2017-09-25T19:05:57+02:00Matija ObrezaDOI supportIssue genesys-pgr/genesys-server#107 adds DOI support to the Genesys API.
Add "DOI" descriptor to the list of available MCPD descriptors in the uploader tool.
![doi-listed](/uploads/b792eb8001ef67135f800ff77267307e/doi-listed.png)
W...Issue genesys-pgr/genesys-server#107 adds DOI support to the Genesys API.
Add "DOI" descriptor to the list of available MCPD descriptors in the uploader tool.
![doi-listed](/uploads/b792eb8001ef67135f800ff77267307e/doi-listed.png)
When mapped on the column the values are added to the JSON as:
```json
{
"doi": "10.2323/AEW#",
"instCode": ...
}
```
The DOI field only allows a single value and during data validation the could should test that if DOI has a value, it matches the regexp pattern `^10\.[0-9]+/.+`.1.1