Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2017-09-19T13:31:08+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/109DOI as accession URL2017-09-19T13:31:08+02:00Matija ObrezaDOI as accession URLThis is one of the subtasks for #56. Depends on #106.
For accessions with a DOI registered in Genesys, we will use the following URL template: `https://www.genesys-pgr.org/[DOI]` for example `https://www.genesys-pgr.org/10.18730/A3C9`. ...This is one of the subtasks for #56. Depends on #106.
For accessions with a DOI registered in Genesys, we will use the following URL template: `https://www.genesys-pgr.org/[DOI]` for example `https://www.genesys-pgr.org/10.18730/A3C9`. Every URL to an accession with DOI must use the DOI'zed URL.
DOI format regexp is `10\.[0-9]+/.+`.
# DOI Controller
Add a controller for DOI resolution at `/{doi:10\.[0-9]+/.+}`. The DOI can identify various objects in Genesys. It should check if an
accession with the DOI exists and display accession details if an accession has such DOI.
## Accession Controller
The current controller (for `/acn/id/[0-9]+`) must permanently redirect to the DOI'zed accession URL in Genesys if the accession record has the DOI assigned.
# DOI as URL
When the accession has DOI assigned, all links to accession details must point to the DOI'zed accession URL and not the `/acn/id/*`.
The URL is now *generated* in JSP directly, perhaps we should have a method to create the accession URL?2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/110Crop summary: beans2021-02-15T09:45:54+01:00Nora Castaneda-AlvarezCrop summary: beansPlease use these accessions: https://www.genesys-pgr.org/explore/overview?filter=%7B%22taxonomy.genus%22%3A%5B%22Phaseolus%22%5D%7D for the Beans overview (https://www.genesys-pgr.org/c/beans)
The overview only lists 60.000 accessions, ...Please use these accessions: https://www.genesys-pgr.org/explore/overview?filter=%7B%22taxonomy.genus%22%3A%5B%22Phaseolus%22%5D%7D for the Beans overview (https://www.genesys-pgr.org/c/beans)
The overview only lists 60.000 accessions, whereas the complete list includes 117.000 accessionsMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/113Brocken Sandbox.2017-07-27T00:51:45+02:00Aleksandr KirichenkoBrocken Sandbox.![Selection_094](/uploads/05f9ac7ec59856d3159cb4b074e43232/Selection_094.png)![Selection_094](/uploads/05f9ac7ec59856d3159cb4b074e43232/Selection_094.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/114Asciidoc missing images2017-09-19T13:31:08+02:00Matija ObrezaAsciidoc missing imageshttps://www.genesys-pgr.org/doc/0/basics is missing images (e.g. https://www.genesys-pgr.org/doc/0/images/wiews-archived.png)
These should be copied as part of the build process, but are not included on production/sandbox environment.https://www.genesys-pgr.org/doc/0/basics is missing images (e.g. https://www.genesys-pgr.org/doc/0/images/wiews-archived.png)
These should be copied as part of the build process, but are not included on production/sandbox environment.2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/115"About Genesys" drop-down menu is constantly opens when user navigate to any ...2017-09-19T13:31:08+02:00Aleksandr Kirichenko"About Genesys" drop-down menu is constantly opens when user navigate to any page from this menu.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "About Genesys" drop-down menu;
3. Select any page from the drop-down, "Contact Us" for example;
**It works only when page zoom = 100%!**
**Act.res.:** "About Ge...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "About Genesys" drop-down menu;
3. Select any page from the drop-down, "Contact Us" for example;
**It works only when page zoom = 100%!**
**Act.res.:** "About Genesys" drop-down menu is opened. See attached video[rec_010.avi](/uploads/28e452cadd4b4fca4804e74dd52fdd31/rec_010.avi)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/116When user goes to the next page, the page doesn't scroll up.2017-09-19T13:31:08+02:00Aleksandr KirichenkoWhen user goes to the next page, the page doesn't scroll up.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Scroll to the bottom of the page;
4. Click on the ">" next page button;
**Exp.res.:**Transfer to the next page is performed, the page is in t...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Scroll to the bottom of the page;
4. Click on the ">" next page button;
**Exp.res.:**Transfer to the next page is performed, the page is in the position starting from the top of the table of accessions.
**Act.res.:** Transfer to the next page is performed, page is not scrolled up. See attached video.[rec_011.avi](/uploads/9e6f3ff14c47d224db59474225535108/rec_011.avi)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/117Ability to save list of accessions without List title.2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save list of accessions without List title.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Leave fields "List title", "List d...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Leave fields "List title", "List description" blank;
7. Click "CREATE NEW LIST" button;
**Act.res.:** The list has been saved without List title and description. See attached screen.![SCR_0021](/uploads/4f1cd9c04c43b8029af4a1f2a0b2aeae/SCR_0021.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/118Ability to save a list with an existing title2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save a list with an existing title**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Enter an existing Title list;
7. C...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Enter an existing Title list;
7. Click "CREATE NEW LIST" button;
**Act.res.:** List of accessions has been saved with an existing title.
![SCR_0022](/uploads/5c9ff4a6f876838359becbcfa96e394d/SCR_0022.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/119Ability to save map with an existing title.2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save map with an existing title.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map;
3. Click "Remember Map" button;
4. Enter an existing title;
5. Click Save button;
**Act.res.:** Map has been saved with an existing title. See attached...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map;
3. Click "Remember Map" button;
4. Enter an existing title;
5. Click Save button;
**Act.res.:** Map has been saved with an existing title. See attached screen.![SCR_0023](/uploads/bfac5fd34559f2b4c90392b668a32ff3/SCR_0023.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/120Create summary page for coffee2017-09-26T09:59:02+02:00Nora Castaneda-AlvarezCreate summary page for coffeePlease enable the section https://www.genesys-pgr.org/c/coffeePlease enable the section https://www.genesys-pgr.org/c/coffeeMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/125"Magnifier" button isn't working2017-09-19T13:31:07+02:00Aleksandr Kirichenko"Magnifier" button isn't working**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome".
2. Enter some text in the search field which is located in "SEARCH GENESYS" block.
3. Click on the "Magnifier" button
**Act.res.:** "Magnifier" button isn't working. See at...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome".
2. Enter some text in the search field which is located in "SEARCH GENESYS" block.
3. Click on the "Magnifier" button
**Act.res.:** "Magnifier" button isn't working. See attached screen.![SCR_0027](/uploads/86c1d8fe9250eff0c99368c1f3ca0aba/SCR_0027.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/121Link to crop pages2017-09-19T13:31:07+02:00Nora Castaneda-AlvarezLink to crop pagesThe texts for 29 crops are ready, uploaded to Genesys and Transifex. Here the links:
* https://www.genesys-pgr.org/c/apple
* https://www.genesys-pgr.org/c/banana
* https://www.genesys-pgr.org/c/barley
* https://www.genesys-pgr.org/c/bea...The texts for 29 crops are ready, uploaded to Genesys and Transifex. Here the links:
* https://www.genesys-pgr.org/c/apple
* https://www.genesys-pgr.org/c/banana
* https://www.genesys-pgr.org/c/barley
* https://www.genesys-pgr.org/c/beans
* https://www.genesys-pgr.org/c/breadfruit
* https://www.genesys-pgr.org/c/cassava
* https://www.genesys-pgr.org/c/chickpea
* https://www.genesys-pgr.org/c/coconut
* https://www.genesys-pgr.org/c/cowpea
* https://www.genesys-pgr.org/c/eggplant
* https://www.genesys-pgr.org/c/fababean
* https://www.genesys-pgr.org/c/fingermillet
* https://www.genesys-pgr.org/c/forages
* https://www.genesys-pgr.org/c/grasspea
* https://www.genesys-pgr.org/c/lentil
* https://www.genesys-pgr.org/c/lettuce
* https://www.genesys-pgr.org/c/maize
* https://www.genesys-pgr.org/c/pearlmillet
* https://www.genesys-pgr.org/c/pigeonpea
* https://www.genesys-pgr.org/c/potato
* https://www.genesys-pgr.org/c/rice
* https://www.genesys-pgr.org/c/sorghum
* https://www.genesys-pgr.org/c/sunflower
* https://www.genesys-pgr.org/c/sweetpotato
* https://www.genesys-pgr.org/c/taro
* https://www.genesys-pgr.org/c/tomato
* https://www.genesys-pgr.org/c/wheat
* https://www.genesys-pgr.org/c/yam
Please use the links to crop pages on the homepage instead of jumping directly to the Accession Explorer:
![Screen_Shot_2017-08-01_at_16.30.03](/uploads/f6354056cced7139ea3a3c9ae47b3a6a/Screen_Shot_2017-08-01_at_16.30.03.png):2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/122sandbox down2017-08-31T16:41:36+02:00Aleksandr Kirichenkosandbox down```
HTTP ERROR 503 Problem accessing /. Reason: Service Unavailable" on the sandbox
```
![SCR_0024](/uploads/7cf861358cb9e6981f5d413a0bbbed58/SCR_0024.png)```
HTTP ERROR 503 Problem accessing /. Reason: Service Unavailable" on the sandbox
```
![SCR_0024](/uploads/7cf861358cb9e6981f5d413a0bbbed58/SCR_0024.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/123Fix all crops list page2017-10-04T22:59:02+02:00Nora Castaneda-AlvarezFix all crops list pagePlease suggest an UI for improving this page: https://www.genesys-pgr.org/c/Please suggest an UI for improving this page: https://www.genesys-pgr.org/c/2.2Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/124Question about "Allow others to access the list" functionality.2017-09-19T16:23:22+02:00Aleksandr KirichenkoQuestion about "Allow others to access the list" functionality.@mobreza Could you please provide some description about "Allow others to access the list" functionality. I suppose this functionality connected with "Team" and should be removed as well, am I right?
![SCR_0025](/uploads/1230c803288556b...@mobreza Could you please provide some description about "Allow others to access the list" functionality. I suppose this functionality connected with "Team" and should be removed as well, am I right?
![SCR_0025](/uploads/1230c803288556b28015a7d7549bae6c/SCR_0025.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/126Default cursor isn't changing to cursor pointer in the "HELP" section.2017-09-13T16:08:14+02:00Aleksandr KirichenkoDefault cursor isn't changing to cursor pointer in the "HELP" section.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Hover mouse over the "Visit the tutorials section to learn how to use Genesys." link
**Act.res.:** Default cursor isn't changed to cursor pointer. See attached video.[rec...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Hover mouse over the "Visit the tutorials section to learn how to use Genesys." link
**Act.res.:** Default cursor isn't changed to cursor pointer. See attached video.[rec_012.avi](/uploads/cbb58be7a5c2c447bf63e00b2a5f3e37/rec_012.avi)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/127The whole "HELP" section is clickable.2017-09-19T13:29:46+02:00Aleksandr KirichenkoThe whole "HELP" section is clickable.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click in any place of the "HELP" section;
**Act.res.:**The whole "HELP" section is clickable instead of only "Visit the tutorials section to learn how to use Genesys." li...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click in any place of the "HELP" section;
**Act.res.:**The whole "HELP" section is clickable instead of only "Visit the tutorials section to learn how to use Genesys." link. See attached video.
[rec_013.avi](/uploads/4542b86028fd049b399c2c981d18a9c9/rec_013.avi)
![SCR_0028](/uploads/8be2ce3ae7232b0a82fbe0a8e272c2fa/SCR_0028.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/128Never delete accessions with DOI2017-09-19T13:29:46+02:00Matija ObrezaNever delete accessions with DOIGenesys allows for deleting accession records from the database (there's an API call for that).
The server code should be adjusted so that if the accession has `doi` the system refuses to delete such records by throwing an exception wit...Genesys allows for deleting accession records from the database (there's an API call for that).
The server code should be adjusted so that if the accession has `doi` the system refuses to delete such records by throwing an exception with "Refusing to delete accession that has DOI assigned".2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/129Ability to input unlimited number of characters in the filters fields2017-09-19T13:29:46+02:00Aleksandr KirichenkoAbility to input unlimited number of characters in the filters fields**Steps:**
1. Go to Browse page "https://sandbox.genesys-pgr.org/explore";
2. Input unlimited number of characters in the "Provided crop name" for example
3. Click on the "Apply" button.
Act.res.: Ability to input unlimited number of ...**Steps:**
1. Go to Browse page "https://sandbox.genesys-pgr.org/explore";
2. Input unlimited number of characters in the "Provided crop name" for example
3. Click on the "Apply" button.
Act.res.: Ability to input unlimited number of characters in the filters fields. See attached screen.![SCR_0029](/uploads/f9f01715c9b818ce094227bc2cd119d6/SCR_0029.png)2.1Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/130Ability to apply filters without inputing characters.2017-09-19T13:29:46+02:00Aleksandr KirichenkoAbility to apply filters without inputing characters.**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Put the cursor in the filter field "Provided crop name" for example and press the spacebar;
3. Click on the "Apply" button
Act.res.: See attached screen
![SC...**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Put the cursor in the filter field "Provided crop name" for example and press the spacebar;
3. Click on the "Apply" button
Act.res.: See attached screen
![SCR_0030](/uploads/c15b26ef912689d108a61276b08e5deb/SCR_0030.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/131When page zoom equals 100%, menu items hidden in burger2017-09-19T13:29:46+02:00Aleksandr KirichenkoWhen page zoom equals 100%, menu items hidden in burger**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Make sure that the page zoom is 100%
Act.res.: When page zoom equals 100%, menu items hidden in burger. See attached video.[rec_014.avi](/uploads/8a9c7233f1aecce28d7152db...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Make sure that the page zoom is 100%
Act.res.: When page zoom equals 100%, menu items hidden in burger. See attached video.[rec_014.avi](/uploads/8a9c7233f1aecce28d7152db31a11e8d/rec_014.avi)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/132Review "Done" Tasks2017-09-03T21:47:51+02:00Nina Tkachenkon.tkachenko@aimprosoft.comReview "Done" TasksDear @mobreza
We have quite a lot of tasks with `Done` tag waiting for your review. Please, take a look at them as you have some free time.
https://gitlab.croptrust.org/genesys-pgr/genesys-server/boards
Thanks beforehand!
cc @mborodenkoDear @mobreza
We have quite a lot of tasks with `Done` tag waiting for your review. Please, take a look at them as you have some free time.
https://gitlab.croptrust.org/genesys-pgr/genesys-server/boards
Thanks beforehand!
cc @mborodenkoMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/133Impossibility to change user password 2nd time.2017-09-19T13:29:46+02:00Aleksandr KirichenkoImpossibility to change user password 2nd time.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Perform login with credentials in which you didn't changing password yet;
3. Go to "My Profile page";
4. Click "Edit" button;
5. Change password;
6. Perform logout/login w...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Perform login with credentials in which you didn't changing password yet;
3. Go to "My Profile page";
4. Click "Edit" button;
5. Change password;
6. Perform logout/login with new password;
7. Back to "My Profile page";
8. Click "Edit" button;
9. Change password again.
**Act. res.:** "500 - Internal Server Error" was occured. See attached screen.![SCR_0032](/uploads/586fb46c8d63fb61202c43165bee525d/SCR_0032.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/134Broken images in the "Accession profile: ITC0058".2017-09-15T10:23:04+02:00Aleksandr KirichenkoBroken images in the "Accession profile: ITC0058".**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/acn/id/4010887";
2. Scroll down to "Accession images" section.
**Act.res.:** Images are broken. See attached screen.
![SCR_0034](/uploads/33d6c1bf49ca5438c74efbd43fb5efd6/SCR_0034.png)**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/acn/id/4010887";
2. Scroll down to "Accession images" section.
**Act.res.:** Images are broken. See attached screen.
![SCR_0034](/uploads/33d6c1bf49ca5438c74efbd43fb5efd6/SCR_0034.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/135Restore password for @vpanov2017-08-29T11:35:49+02:00Nina Tkachenkon.tkachenko@aimprosoft.comRestore password for @vpanovHi Alireza,
Could you, please, restore password for one of our users - @vpanov?
Warm regards,
NinaHi Alireza,
Could you, please, restore password for one of our users - @vpanov?
Warm regards,
NinaAlireza MohammadiAlireza Mohammadihttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/136Links are broken2017-09-26T09:47:31+02:00Aleksandr KirichenkoLinks are broken**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/content/about/about"
2. Click on the following links:
-"The System-wide Information Network for Genetic Resources"
-"The Genetic Resources Information Network of the United States Depa...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/content/about/about"
2. Click on the following links:
-"The System-wide Information Network for Genetic Resources"
-"The Genetic Resources Information Network of the United States Department of Agriculture".
See attached screen.
![SCR_0035](/uploads/cafb72ba4a9cfdffa9812e70c96d1943/SCR_0035.png)
**Act.res.:** Links are brokenMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/137Menu doesn't close by clicking on the free space.2017-09-19T13:29:46+02:00Aleksandr KirichenkoMenu doesn't close by clicking on the free space.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/explore" ;
2. Click on the "Change displayed columns" button;
3. Click somewhere on the free space;
Act.Res.: The drop-down menu isn't closed
![SCR_0036](/uploads/946a2cd204d1c4d986b...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/explore" ;
2. Click on the "Change displayed columns" button;
3. Click somewhere on the free space;
Act.Res.: The drop-down menu isn't closed
![SCR_0036](/uploads/946a2cd204d1c4d986bdfec71636b7dd/SCR_0036.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/138"Download MCPD" and "Download PDCI data" options are missing in chrome browser2017-09-01T15:57:20+02:00Aleksandr Kirichenko"Download MCPD" and "Download PDCI data" options are missing in chrome browser**Steps:**
1. Open Chrome browser;
2. Go to "Institutes" Page "https://sandbox.genesys-pgr.org/wiews/active" ;
3. Select any of institute, "AUT005" e.g.
3. Click on the "Download" button;
**Act.Res:** Only ZIP option is present. See att...**Steps:**
1. Open Chrome browser;
2. Go to "Institutes" Page "https://sandbox.genesys-pgr.org/wiews/active" ;
3. Select any of institute, "AUT005" e.g.
3. Click on the "Download" button;
**Act.Res:** Only ZIP option is present. See attached screen.![SCR_0037](/uploads/a80f90872b7fed849a55e96050090f4a/SCR_0037.png)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/139Regression: CSS update2017-09-19T13:29:46+02:00Matija ObrezaRegression: CSS updateThe "Search Genesys" block on https://sandbox.genesys-pgr.org/welcome has incorrect styling after recent changes.
![Screen_Shot_2017-09-03_at_21.36.23](/uploads/cf2b093007c69160599e3bdb0a075153/Screen_Shot_2017-09-03_at_21.36.23.png)The "Search Genesys" block on https://sandbox.genesys-pgr.org/welcome has incorrect styling after recent changes.
![Screen_Shot_2017-09-03_at_21.36.23](/uploads/cf2b093007c69160599e3bdb0a075153/Screen_Shot_2017-09-03_at_21.36.23.png)2.1Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/140Apply button on "Latitude" filter e.g.,isn't disabled2017-09-19T13:29:46+02:00Aleksandr KirichenkoApply button on "Latitude" filter e.g.,isn't disabled**Steps:**
1. Go to browse page: "https://sandbox.genesys-pgr.org/explore?";
2. In the filters list open Latitude e.g.
3. Enter some characters in the filter input field;
4. Delete inputted characters;
**Act.res.:** Apply button isn't d...**Steps:**
1. Go to browse page: "https://sandbox.genesys-pgr.org/explore?";
2. In the filters list open Latitude e.g.
3. Enter some characters in the filter input field;
4. Delete inputted characters;
**Act.res.:** Apply button isn't disabled. See attached video.
[rec_015.avi](/uploads/da634f213e879c82d981ef2110f11a1f/rec_015.avi)![SCR_0039](/uploads/6fefa4f134624dfd59d08ba4bb17fbf6/SCR_0039.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/141My List page is broken when accession is selected2017-09-19T13:29:46+02:00Aleksandr KirichenkoMy List page is broken when accession is selected**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore?";
2. Select at least one accession;
3. Click on the "My list" menu item;
**Act.Res**: "HTTP ERROR 500" is occurred. See attached video.
[rec_016.avi](/uploads/552...**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore?";
2. Select at least one accession;
3. Click on the "My list" menu item;
**Act.Res**: "HTTP ERROR 500" is occurred. See attached video.
[rec_016.avi](/uploads/55208f452e5a70cf911c5d8919eaee5a/rec_016.avi)
![SCR_0040](/uploads/d349bdbb21253e9cd524159662213001/SCR_0040.png)2.1Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/142Сommon database for Saved lists of accessions2017-09-19T13:29:46+02:00Aleksandr KirichenkoСommon database for Saved lists of accessions**Steps:**
Login as user with ADMIN role
1. Go to browse page:"https://sandbox.genesys-pgr.org/explore";
2. Add several accessions to My list;
3. Click on the "My List" menu item;
4. Navigate to the "Accession List" tab;
5. In the "Lis...**Steps:**
Login as user with ADMIN role
1. Go to browse page:"https://sandbox.genesys-pgr.org/explore";
2. Add several accessions to My list;
3. Click on the "My List" menu item;
4. Navigate to the "Accession List" tab;
5. In the "List title" field input title "Example_1" e.g.;
6. Click on the "ADD TO SELECTION LIST" button;
7. Logout;
8. Login as another user With ADMIN role;
9. Go to browse page:"https://sandbox.genesys-pgr.org/explore";
10. Add several accessions to My list;
11. Click on the "My List" menu item;
12. Navigate to the "Accession List" tab;
13. In the "List title" field input the same title "Example_1";
14. Click on the "ADD TO SELECTION LIST" button;
**Act.Res.:** "500 - Internal Server Error" was occurred. See attached screen.
![SCR_0042](/uploads/927ea118b3ca1014c721f6eaa92c2840/SCR_0042.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/143"Saved list of accessions" section is disappeared2017-09-19T13:29:45+02:00Aleksandr Kirichenko"Saved list of accessions" section is disappeared**Steps:**
1. Save several lists of accessions;
2. On the "My List" page "https://sandbox.genesys-pgr.org/sel/" click on the "CLEAR THE LIST" button;
**Act.Res:** Other saved lists isn't appeared in the "Saved list of accessions" sectio...**Steps:**
1. Save several lists of accessions;
2. On the "My List" page "https://sandbox.genesys-pgr.org/sel/" click on the "CLEAR THE LIST" button;
**Act.Res:** Other saved lists isn't appeared in the "Saved list of accessions" section, as well as the entire section as a whole. See attached screen.
![SCR_0043](/uploads/114efccb644bfcf1717ab544b8fdb2dc/SCR_0043.png)
and an example, how it was before![SCR_0044](/uploads/ce294efa8f2cf2d84c7e3a030003233a/SCR_0044.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/144Autocomplete for "Add multiple accessions" fields2017-09-19T13:29:45+02:00Aleksandr KirichenkoAutocomplete for "Add multiple accessions" fields![SCR_0045](/uploads/d490ba749c99ac4b494f9148a8f60ea3/SCR_0045.png)
I think if we make autocomplete for these fields it would be more convenient for user to manage this feature. Once user starts entering characters and then he sees sugge...![SCR_0045](/uploads/d490ba749c99ac4b494f9148a8f60ea3/SCR_0045.png)
I think if we make autocomplete for these fields it would be more convenient for user to manage this feature. Once user starts entering characters and then he sees suggestions with possible variants to input. What do you think about it? @mobreza @ncastaneda @ntkachenko2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/145"Saved list of accessions" dropdown doesn't close2017-09-19T13:29:45+02:00Aleksandr Kirichenko"Saved list of accessions" dropdown doesn't close"Saved list of accessions" drop-down menu doesn't close by clicking on the free space.
**Steps:**
1. Save several lists of accessions (at least one list);
2. Go to "My List" page "https://sandbox.genesys-pgr.org/sel/";
3. Navigate to Ac..."Saved list of accessions" drop-down menu doesn't close by clicking on the free space.
**Steps:**
1. Save several lists of accessions (at least one list);
2. Go to "My List" page "https://sandbox.genesys-pgr.org/sel/";
3. Navigate to Accession List Tab;
4. Click on "Saved lists of accessions" drop-down menu;
5. Click on the free space.
**Act.res.:** "Saved list of accessions" drop-down menu doesn't close by clicking on the free space.![SCR_0046](/uploads/8cbc64b3ef54aa281663df9fd8639fb6/SCR_0046.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/146Buttons have different width2017-10-13T20:36:09+02:00Aleksandr KirichenkoButtons have different width**Steps:**
1. Save at least one list of accessions;
2. Navigate to "Accession List" Tab on the "My List" page;
**Act.Res.:** See attached screen.
![SCR_0047](/uploads/6de840f889a9e928e1c7853b25fe49f3/SCR_0047.png)**Steps:**
1. Save at least one list of accessions;
2. Navigate to "Accession List" Tab on the "My List" page;
**Act.Res.:** See attached screen.
![SCR_0047](/uploads/6de840f889a9e928e1c7853b25fe49f3/SCR_0047.png)2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/147Fulltext search problem2017-09-19T11:20:25+02:00Matija ObrezaFulltext search problemES-based search at https://sandbox.genesys-pgr.org/acn/search2?q=genesys&section=activitypost or https://sandbox.genesys-pgr.org/acn/search2?q=genesys&section=article fails with
```
Sorry, search failed with error Missing toEntity imple...ES-based search at https://sandbox.genesys-pgr.org/acn/search2?q=genesys§ion=activitypost or https://sandbox.genesys-pgr.org/acn/search2?q=genesys§ion=article fails with
```
Sorry, search failed with error Missing toEntity implementation for class=null
```Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/148Uniting Catalog and Genesys-PGR DBs2017-10-26T10:30:05+02:00Nina Tkachenkon.tkachenko@aimprosoft.comUniting Catalog and Genesys-PGR DBsDear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more c...Dear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more connections and dependencies we find.
Having interconnected data in two separate DBs will require us to duplicate code and to spend time supporting changes in both DBs
There’re the latest observations we’ve got after discussing the mockups of “Partners” and “Descriptors” for Catalog.
1) Search functionality should be common for two sites: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86546920
2) We should have connection between Partner and Accession: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544342
3) We should have connection between Partner and Institute: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544634
4) 2 sites should have common administration section: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86543918
5) We should use the same crop list in both sites (which is generated dynamically each time) https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699661/comments/86546654
6) Catalog is supposed to be a subsite of Genesys-PGR, in which case if user is logged in on Genesys-pgr and goes to the Catalog, he will find out that he’s not logged in, though it would seem like he hadn’t gone to a different environment.
Thus, on current level of understanding we think it would be reasonable to merge two DB's together in order to improve the effectiveness and speed of work.Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/149UX/UI for dataset registration using mobile2017-09-19T13:28:36+02:00Nora Castaneda-AlvarezUX/UI for dataset registration using mobile@mobreza do we need mobile wireframes for dataset registration? see example: https://projects.invisionapp.com/d/#/console/11887652/253167518/preview@mobreza do we need mobile wireframes for dataset registration? see example: https://projects.invisionapp.com/d/#/console/11887652/253167518/previewhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/150Loggers admin failure2017-09-19T20:14:09+02:00Matija ObrezaLoggers admin failureTrying to adjust log levels in Admin pages does not work, it appends a `.` to the listed logger name and that fails to set the new log level of the selected logger.Trying to adjust log levels in Admin pages does not work, it appends a `.` to the listed logger name and that fails to set the new log level of the selected logger.2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/151Improve MVC logging2017-09-19T14:31:45+02:00Matija ObrezaImprove MVC loggingLogs are polluted with stack trace for unsupported request method:
```
22:35:39,545 qtp1876631416-646 ERROR o.g.s.s.c.UserControllerAdvice - Request method 'GET' not supported
org.springframework.web.HttpRequestMethodNotSupportedExcepti...Logs are polluted with stack trace for unsupported request method:
```
22:35:39,545 qtp1876631416-646 ERROR o.g.s.s.c.UserControllerAdvice - Request method 'GET' not supported
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:207)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:374)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:314)
...
```
Improve log output by printing the message:
```
Request method {} not supported for URL {}
```2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/152Jumpy dropdown menu2017-09-20T15:43:27+02:00Matija ObrezaJumpy dropdown menuOn https://sandbox.genesys-pgr.org/welcome open the "About Genesys" dropdown menu.
Hover over and out of "Last updates of passport data" and observe the change in dropdown menu width.On https://sandbox.genesys-pgr.org/welcome open the "About Genesys" dropdown menu.
Hover over and out of "Last updates of passport data" and observe the change in dropdown menu width.2.1Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/153donorName size2017-09-19T13:39:36+02:00Matija ObrezadonorName sizeMake sensible update for `donorName`.
```
Data truncation: Data too long for column 'donorName'
```Make sensible update for `donorName`.
```
Data truncation: Data too long for column 'donorName'
```2.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/154Release 2.12017-09-20T21:03:52+02:00Matija ObrezaRelease 2.1Release version **2.1**Release version **2.1**2.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/155Pagination buttons aren't disabled2018-07-23T07:11:25+02:00Aleksandr KirichenkoPagination buttons aren't disabledWhen there is only one page in the results, the pagination buttons are not disabled
**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Add several accessions in My List 3 for example;
3. Click on the "My List"...When there is only one page in the results, the pagination buttons are not disabled
**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Add several accessions in My List 3 for example;
3. Click on the "My List" menu item;
4. Click on the ">" Next page button
Act.res.: ">" Next page button is enabled, and transition to the 2nd page is performed; See attached video
[rec_017.avi](/uploads/c4ff45f05ec2caa8a97484108fc3567a/rec_017.avi)
![SCR_0048](/uploads/70a01f567c8081bb3140632e4aa79ca4/SCR_0048.png)
This also applies to any pagination on the site except search. In the search it is implemented as needed. For example, watch the video: [rec_018.avi](/uploads/785e41edc7d6d6bda744c5a0629250de/rec_018.avi)2.4Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/156FTP password2017-09-22T16:33:46+02:00Matija ObrezaFTP passwordAdd property `ftpPassword` to Genesys user.
In user profile page, for roles **ADMINISTRATOR** and **VETTED_USER** display button "Generate FTP password". Upon clicking the button, a random password is generated, the hash of the password...Add property `ftpPassword` to Genesys user.
In user profile page, for roles **ADMINISTRATOR** and **VETTED_USER** display button "Generate FTP password". Upon clicking the button, a random password is generated, the hash of the password is saved to `ftpPassword` and the plain text password is shown one time to the user:
```
Your FTP credentials are:
Username: user's-email
Password: generated-password
```
The new password must pass current PasswordPolicy.
If user has a non-blank `ftpPassword`, her user profile must display the message:
```
Your FTP credentials are:
Username: user's-email
Password: *
```
(Just display the *)2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/157Sci names in My List2017-09-19T20:14:08+02:00Matija ObrezaSci names in My ListScientific names are not rendered appropriately: See rendering in the Browser (make sure to select Scientific name in the list of displayed columns).Scientific names are not rendered appropriately: See rendering in the Browser (make sure to select Scientific name in the list of displayed columns).2.1Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/158Error /data/view/3892017-09-22T13:29:03+02:00Matija ObrezaError /data/view/389```
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/metadata/view.jsp at line 127
124: <tr class="acn ${status.count % 2 == 0 ? 'even' : 'odd'}">
125: <td class="idx-col"><c:out value="...```
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/metadata/view.jsp at line 127
124: <tr class="acn ${status.count % 2 == 0 ? 'even' : 'odd'}">
125: <td class="idx-col"><c:out value="${status.count + pagedData.size * pagedData.number}" /></td>
126: <td class="sel" x-aid="${accession.id}"></td>
127: <td><local:accession-details-link accession="${accession}" /></td>
128: <%-- <td><a href="<c:url value="/geo/${accession.origin}" />"><c:out value="${accession.countryOfOrigin.getName(pageContext.response.locale)}" /></a></td>
129: --%>
130: <td><span dir="ltr" class="sci-name"><c:out escapeXml="false" value="${accession.taxonomy.taxonNameHtml}" /></span></td>
```Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/159MaxPageLimitException log2017-09-22T11:41:04+02:00Matija ObrezaMaxPageLimitException log`MaxPageLimitException` clutters the log with the entire stack trace:
```
org.genesys2.server.exception.MaxPageLimitException: Genesys does not support requests for data beyond 500th page.
```
For this type of exception, print only the...`MaxPageLimitException` clutters the log with the entire stack trace:
```
org.genesys2.server.exception.MaxPageLimitException: Genesys does not support requests for data beyond 500th page.
```
For this type of exception, print only the message:
```
Genesys does not support requests for data beyond 500th page. Requested page was XXXX.
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/160"Results per page" functionality - incorrect behavior2017-09-22T11:41:04+02:00Aleksandr Kirichenko"Results per page" functionality - incorrect behavior**Steps:**
1. Go to "Browse" page "https://sandbox.genesys-pgr.org/explore";
2. Change "Results per page" value on "10" option e.g.;
3. Change number of displayed columns and click apply button;
Act.res.: "Results per page" value turns...**Steps:**
1. Go to "Browse" page "https://sandbox.genesys-pgr.org/explore";
2. Change "Results per page" value on "10" option e.g.;
3. Change number of displayed columns and click apply button;
Act.res.: "Results per page" value turns to option "50";
See attached video:
![recording_0001](/uploads/db8196303be959f4b11a5bd54c6bbc21/recording_0001.gif)2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/161HTTP error 5002017-09-26T13:07:08+02:00Aleksandr KirichenkoHTTP error 500**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore"
2. In the pagination field enter manually "0" value and click "Enter" key;
**Act.res.:** HTTP ERROR 500 was occurred. See attached videos
![recording_0002](/upl...**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore"
2. In the pagination field enter manually "0" value and click "Enter" key;
**Act.res.:** HTTP ERROR 500 was occurred. See attached videos
![recording_0002](/uploads/ab60c9bcd0bd1809ce438992d3fad245/recording_0002.gif)
![recording_0003](/uploads/0e0e0f08db29ba58ba0c884a1af74cfd/recording_0003.gif)
This applies to any pagination except Search.
# Error handling
Please use the /errors/500.jsp to render these errors.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/162Onboarding / Creating new account2019-11-20T17:25:50+01:00Gregor FrasOnboarding / Creating new account@mobreza
1. Is there really need to be special character(s) in user password? It seems to me that this "rule" is not so common so users can't use their "personal" passwords for Genesys which causes confusion with passwords and problems...@mobreza
1. Is there really need to be special character(s) in user password? It seems to me that this "rule" is not so common so users can't use their "personal" passwords for Genesys which causes confusion with passwords and problems with login.
2. Landing page after user registration is dead-end. We should consider what could be useful links or content on this page. What would we wanted for user to do after registration?
![1](/uploads/d8696a9ea636b31726eed27e445b8db7/1.jpg)
![2](/uploads/d290936f18f1f2cabd84ffc0ef448ad6/2.jpg)2.5Gregor FrasGregor Frashttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/163Error editing repository item properties2017-09-28T15:23:33+02:00Matija ObrezaError editing repository item propertiesUpdating file metadata at https://sandbox.genesys-pgr.org/admin/r/edit?uuid=b9a68477-f212-46c3-9e9f-d7c4a136e280 throws:
```
not-null property references a null or transient value : org.genesys.filerepository.model.RepositoryImage.md5Su...Updating file metadata at https://sandbox.genesys-pgr.org/admin/r/edit?uuid=b9a68477-f212-46c3-9e9f-d7c4a136e280 throws:
```
not-null property references a null or transient value : org.genesys.filerepository.model.RepositoryImage.md5Sum
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/164Respect institute permissions2021-02-15T09:50:43+01:00Matija ObrezaRespect institute permissionsPermissions must be checked for navigation and files management through FTP.
Related to genesys-pgr/file-repository#22Permissions must be checked for navigation and files management through FTP.
Related to genesys-pgr/file-repository#222.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/165Document file management with FTP2021-02-15T09:51:31+01:00Matija ObrezaDocument file management with FTPAdd **asciidoc** on managing files with FTP.Add **asciidoc** on managing files with FTP.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/166File management for institutes2017-10-14T17:49:22+02:00Matija ObrezaFile management for institutesAdd **Manage files** link to institute page, displayed for users with ADMIN permissions on the institute record. For [BEL084](https://sandbox.genesys-pgr.org/wiews/BEL084) the link would be https://sandbox.genesys-pgr.org/wiews/BEL084/fi...Add **Manage files** link to institute page, displayed for users with ADMIN permissions on the institute record. For [BEL084](https://sandbox.genesys-pgr.org/wiews/BEL084) the link would be https://sandbox.genesys-pgr.org/wiews/BEL084/files/
File management UI and most logic can be copied from existing https://sandbox.genesys-pgr.org/admin/r/files/ (accessible to ADMINISTRATORS).
Institute files are stored at repository paths:
- ~~`/accessions/INSTCODE`~~
- `/wiews/INSTCODE`
2.2https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/167Download repository metadata2017-10-24T11:07:02+02:00Matija ObrezaDownload repository metadataAfter #166 is implemented, add function to download metadata for all repository files and its subclasses belonging to an institute.
Export data in CSV format, using `tab` as separator, `"` as quote char and `\` as escape char.
The func...After #166 is implemented, add function to download metadata for all repository files and its subclasses belonging to an institute.
Export data in CSV format, using `tab` as separator, `"` as quote char and `\` as escape char.
The function should be available to users with ADMINISTRATOR permissions on the institute record.2.2https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/168Upload repository metadata for institutes2017-12-23T09:22:08+01:00Matija ObrezaUpload repository metadata for institutesDepends on #167.
Allow ADMINISTRATOR and Institute ADMINISTRATOR to upload a CSV file with updated metadata for institute files.
Sample file as generated by #167 is attached: [ETH013_files_metadata__6_.csv](/uploads/e6a11f96b134c982382...Depends on #167.
Allow ADMINISTRATOR and Institute ADMINISTRATOR to upload a CSV file with updated metadata for institute files.
Sample file as generated by #167 is attached: [ETH013_files_metadata__6_.csv](/uploads/e6a11f96b134c9823826f2fc9eb6b6e6/ETH013_files_metadata__6_.csv)
The users will
1. Upload files to the server
1. Download metadata CSV and make local changes to the file
1. Upload modified CSV file
Genesys will update RepositoryFile metadata based on the `uuid` -- `version` can be ignored for now. Only the following fields will be updated from CSV:
* title
* subject
* description
* creator
* created
* rightsHolder
* accessRights
* license
* bibliographicCitation
2.3https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/169Move institute files to /wiews/INSTCODE2017-09-28T15:23:33+02:00Matija ObrezaMove institute files to /wiews/INSTCODEThe `InstituteFilesServiceImpl` now uses `/accessions/INSTCODE/acn/ACCENUMB` for accession image galleries. This makes it inconvenient to test permissions and support other institute files.
Change the path to `/wiews/INSTCODE/acn/ACCENU...The `InstituteFilesServiceImpl` now uses `/accessions/INSTCODE/acn/ACCENUMB` for accession image galleries. This makes it inconvenient to test permissions and support other institute files.
Change the path to `/wiews/INSTCODE/acn/ACCENUMB`.
At the same time, automatically create image galleries when a file is uploaded to `/wiews/INSTCODE/acn/ACCENUMB`.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/170Article#template2017-10-19T09:32:12+02:00Matija ObrezaArticle#templateTemplates used by Genesys to send emails and display other information are using the `Article` entity. This automatically indexes their contents in Elasticsearch and also displays these templates to end users:
- https://sandbox.genesys-...Templates used by Genesys to send emails and display other information are using the `Article` entity. This automatically indexes their contents in Elasticsearch and also displays these templates to end users:
- https://sandbox.genesys-pgr.org/acn/search2?q=email§ion=article
- https://sandbox.genesys-pgr.org/content/smtp.email-verification
Add new property `boolean template` to `Article` entity.
Change Genesys code to:
- Not include in ES articles with `template == true`
- Only display such articles to users with roles ADMINISTRATOR and CONTENTMANAGER, return 404 otherwise
- Content of template articles is not HTML santitized2.2https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/171Requesting germplasm JSP error2017-09-26T13:02:58+02:00Matija ObrezaRequesting germplasm JSP error1. Add ITC00002 to the list
1. Click "Request for germplasm"
```
javax.el.PropertyNotFoundException: Property 'acceNumb' not found on type org.genesys2.server.model.genesys.Accession
```1. Add ITC00002 to the list
1. Click "Request for germplasm"
```
javax.el.PropertyNotFoundException: Property 'acceNumb' not found on type org.genesys2.server.model.genesys.Accession
```Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/172"In Trust" descriptor2021-02-15T09:51:54+01:00Nora Castaneda-Alvarez"In Trust" descriptorDocument the `InTrust` descriptor, a Genesys extension to MCPD, at https://www.genesys-pgr.org/doc/0/basics#mcpd-genesysDocument the `InTrust` descriptor, a Genesys extension to MCPD, at https://www.genesys-pgr.org/doc/0/basics#mcpd-genesys2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/173Clear DOIs2017-10-06T11:07:03+02:00Matija ObrezaClear DOIsDOIs are in testing phase and data providers may provide test values.
Implement an admin operation to clear all accession DOIs from the database.
- Add the **Clear DOIs** button to `/admin`
- On submit, execute the action that clears t...DOIs are in testing phase and data providers may provide test values.
Implement an admin operation to clear all accession DOIs from the database.
- Add the **Clear DOIs** button to `/admin`
- On submit, execute the action that clears the DOI: `update Accession set doi = null where doi is not null`
No other GUI required.2.2https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/174OAuth Client Credentials Grant2017-10-06T20:21:06+02:00Matija ObrezaOAuth Client Credentials GrantImplement Client Credentials grant in Genesys to allow system-to-system communication. Test that permissions on institutes work.
Document the use of this grant type in the API docs `/docs/0/api`.Implement Client Credentials grant in Genesys to allow system-to-system communication. Test that permissions on institutes work.
Document the use of this grant type in the API docs `/docs/0/api`.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/175Genesys CI2017-10-06T11:51:42+02:00Matija ObrezaGenesys CIGenesys branches should automatically deploy to Docker so that testing can begin without clicking buttons.Genesys branches should automatically deploy to Docker so that testing can begin without clicking buttons.Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/176Note on latest master2017-10-25T11:01:35+02:00Matija ObrezaNote on latest masterI've merged #174 . That has some major changes to Genesys and is deployed to https://sandbox.genesys-pgr.org
1. Create a `src/main/resources/genesys.properties` file with **your own** local configuration, especially the DB connection. ...I've merged #174 . That has some major changes to Genesys and is deployed to https://sandbox.genesys-pgr.org
1. Create a `src/main/resources/genesys.properties` file with **your own** local configuration, especially the DB connection. This file should not ever be committed to the repo.
1. That's it.
@all Say yes! If you have trouble running latest master let me know!
My `genesys.properties` has commented-out sections for testing against the mysql or against HSQL:
```.properties
#db.url=jdbc:mysql://localhost/sandbox?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#db.driverClassName=com.mysql.jdbc.Driver
#db.username=root
#db.password=
db.url=jdbc:hsqldb:mem:genesys;sql.syntax_mys=true
db.driverClassName=org.hsqldb.jdbc.JDBCDriver
db.username=sa
db.password=
db.showSql=false
db.hbm2ddl=true
auto.createContent=true
hibernate.dialect=org.genesys.blocks.util.BetterHSQLDialect
```2.2Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/177Logging fixed2017-10-18T09:56:46+02:00Matija ObrezaLogging fixedUsing string concatenation `"foo=" + bar + " x=" + x"` in logging is horribly bad. The SLF4J avoids that by creating the log message string on demand (if current log level must be logged).
Replace **ALL** loggers with `org.slf4j.Logger`...Using string concatenation `"foo=" + bar + " x=" + x"` in logging is horribly bad. The SLF4J avoids that by creating the log message string on demand (if current log level must be logged).
Replace **ALL** loggers with `org.slf4j.Logger` and make sure they are called `LOG`:
```java
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
...
Logger LOG = LoggerFactory.getLogger(...
```
Replace all string concatenation in calls to `LOG.info`, `LOG.debug`, etc. with message format logging:
```java
LOG.info("Test value=" + value + " other=" + other);
// must be
LOG.info("Test value={} other={}", value, other);
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/178Article slugs without dot2017-10-21T19:37:41+02:00Matija ObrezaArticle slugs without dotArticle slugs cannot contain `.` character because they cannot be submitted to Transifex for translation.
Genesys relies on some default articles from `src/main/resources/default-articles`. These should be renamed to not use the `.`, bu...Article slugs cannot contain `.` character because they cannot be submitted to Transifex for translation.
Genesys relies on some default articles from `src/main/resources/default-articles`. These should be renamed to not use the `.`, but `-` instead, and references in code to such articles must be CONSTANTS in ContentService -- there should be no String `"user.password-reset"` anywhere in the code.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/179Article templates2021-02-15T09:52:04+01:00Matija ObrezaArticle templatesSome existing **global** articles are actually templates in the system.
Allow for editing of `Article#template` flag only for `ContentService#getDefaultLanguage`. If the flag changes, update all articles with the same `slug` to the sta...Some existing **global** articles are actually templates in the system.
Allow for editing of `Article#template` flag only for `ContentService#getDefaultLanguage`. If the flag changes, update all articles with the same `slug` to the state as set for default language.
Indexing and deleting from ES index was taken care of in 50bc2ad69438f27ae876e587eb526005f10f296e.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/180Normalize class names in ..spring.config package2017-10-14T17:49:22+02:00Matija ObrezaNormalize class names in ..spring.config packageRemove `Spring` prefix from class names in `org.genesys2.spring.config` package.Remove `Spring` prefix from class names in `org.genesys2.spring.config` package.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/1814042017-10-14T17:49:23+02:00Matija Obreza404A 404 (like https://sandbox.genesys-pgr.org/asdasdsda) results in a Jetty error message:
```
HTTP ERROR 404
Problem accessing /asdasdsda. Reason:
Not Found
Powered by Jetty:// 9.4.5.v20170502
```
Make it use our pretty HTML error.A 404 (like https://sandbox.genesys-pgr.org/asdasdsda) results in a Jetty error message:
```
HTTP ERROR 404
Problem accessing /asdasdsda. Reason:
Not Found
Powered by Jetty:// 9.4.5.v20170502
```
Make it use our pretty HTML error.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/182Institute files permissions2017-10-20T19:47:22+02:00Matija ObrezaInstitute files permissionsUsers can see the links to manage institute (and accession) files, but opening the link gives `Access denied`.Users can see the links to manage institute (and accession) files, but opening the link gives `Access denied`.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/183User can't generate FTP password2017-10-14T17:49:23+02:00Matija ObrezaUser can't generate FTP passwordUsers with role `VETTED_USER` see button "Generate FTP password". After clicking, the password is not displayed.Users with role `VETTED_USER` see button "Generate FTP password". After clicking, the password is not displayed.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/185KML exhausts memory2017-10-27T15:41:31+02:00Aleksandr KirichenkoKML exhausts memoryThe `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filtere...The `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filteredGeoJson`
1. `mappingService.filteredKml`
Throw exception if filter produces over 200,000 records.
Next, convert the filteredGeoJson to accept the response `OutputStream` and write the KML directly to the response stream, not a `String` buffer.
## Exhausting memory on the server
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map area;
3. Click on the "DOWNLOAD KML" button;
4. On the Download pop-up click "cancel" button;
5. Click on the "DOWNLOAD KML" button again;
The reproducibility of the error is unstable, and it can take several repetitions.
2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/186PDCI calculations2017-10-10T17:44:59+02:00Matija ObrezaPDCI calculationsScore for `ORIGCTY` is assigned without any data provided in the accesion.Score for `ORIGCTY` is assigned without any data provided in the accesion.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/187Configurable default accounts2017-11-02T10:47:10+01:00Matija ObrezaConfigurable default accountsMake configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.Make configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/189"Accession map" on the home page doesn't lead to the map2017-10-23T10:12:20+02:00Aleksandr Kirichenko"Accession map" on the home page doesn't lead to the map"Accession map" on the home page doesn't lead to the map on mobile devices
**Tested on following devices and environments**:
Samsung Galaxy J7 2016 J710F / Android 6
iPhone 6s / iOs 11.0.2
Tablet Nexus 7 / Android 6
Steps:
1. Go to..."Accession map" on the home page doesn't lead to the map on mobile devices
**Tested on following devices and environments**:
Samsung Galaxy J7 2016 J710F / Android 6
iPhone 6s / iOs 11.0.2
Tablet Nexus 7 / Android 6
Steps:
1. Go to: "https://sandbox.genesys-pgr.org";
2. Scroll down to the "accession map" section;
3. Click on the Map image in the "Accession map" section.
![m_ph_01](/uploads/14313f49ef516f271eea9353a5370b91/m_ph_01.png)
**Act.res** "Accession map" on the home page doesn't lead to the mapSvetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/190Сursor has shifted, difficult to catch the Login button2017-10-23T10:12:20+02:00Aleksandr KirichenkoСursor has shifted, difficult to catch the Login button**This bug appears on the iPhone devices and iOs**
See attached video, the cursor behaves incorrectly, Login is very difficult.
![rec_001](/uploads/6d89cde633441d2b18752957855c4352/rec_001.MOV)**This bug appears on the iPhone devices and iOs**
See attached video, the cursor behaves incorrectly, Login is very difficult.
![rec_001](/uploads/6d89cde633441d2b18752957855c4352/rec_001.MOV)2.2Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/191Cancelling "Edit permissions" leads to 404 error2017-10-23T10:12:20+02:00Aleksandr KirichenkoCancelling "Edit permissions" leads to 404 error**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Save at least one list of accessions
3. In the My List page navigate to the "Accession list" tab;
4. Click on the "Saved lists of accessions" drop-down;
5. Select saved list;
6. N...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Save at least one list of accessions
3. In the My List page navigate to the "Accession list" tab;
4. Click on the "Saved lists of accessions" drop-down;
5. Select saved list;
6. Navigate to the "Accession list" tab;
7. Click on the "EDIT PERMISSIONS" button;
8. Click on the "CANCEL" button;
**Act. res.:**Cancelling "Edit permissions" leads to 404 error. See attached video:
![recording_0007](/uploads/506ca1219a0336bb82353df0a6e5885d/recording_0007.gif)2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/192Ability to save empty list of accessions2017-10-27T15:41:31+02:00Aleksandr KirichenkoAbility to save empty list of accessions**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields;
6. Click on the "CREATE NEW LIST" button;
**Act.Res:** "Your list of accessions successful saved." message was displayed and new empty list was created.
See attached video:
![recording_0008](/uploads/aee6f757cf5e96700f412d54d765c0b6/recording_0008.gif)2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/193"results per page" functionality incorrect behaviour2017-10-24T10:18:11+02:00Aleksandr Kirichenko"results per page" functionality incorrect behaviour**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Change results per page on any value;
Act.Res: "Loading data from Genesys..." endless pending. Res...**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Change results per page on any value;
Act.Res: "Loading data from Genesys..." endless pending. Results aren't shown on the page.
See attached video:
![recording_0009](/uploads/93651fb7357817c800b1925fc84ccc55/recording_0009.gif)2.2Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/194Optional INSTCODE in "add many"2017-10-20T19:52:35+02:00Matija ObrezaOptional INSTCODE in "add many"On https://www.genesys-pgr.org/sel/ one can create a list of accessions by ACCENUMB and INSTCODE. At the moment, the INSTCODE is a required field.
Make INSTCODE **optional** and add all accessions from the database that match ACCENUMB ...On https://www.genesys-pgr.org/sel/ one can create a list of accessions by ACCENUMB and INSTCODE. At the moment, the INSTCODE is a required field.
Make INSTCODE **optional** and add all accessions from the database that match ACCENUMB if INSTCODE is not provided.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/195JS errors in Explorer2017-10-23T16:13:21+02:00Matija ObrezaJS errors in Explorer```javascript
VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232 Uncaught TypeError: Cannot read property 'iso3' of null
at renderTableBody (VM103 explore?filter={"lastModifiedDat...```javascript
VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232 Uncaught TypeError: Cannot read property 'iso3' of null
at renderTableBody (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232)
at renderData (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13033)
at Object.success (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13013)
at j (all.min.js:1)
at Object.fireWith [as resolveWith] (all.min.js:1)
at x (all.min.js:3)
at XMLHttpRequest.<anonymous> (all.min.js:3)
```
And
```javascript
all.min.js:44 Uncaught TypeError: Cannot read property 'length' of undefined
at Object.existInJson (all.min.js:44)
at Object.filterAutocomplete (all.min.js:44)
at HTMLInputElement.<anonymous> (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:12512)
at HTMLBodyElement.dispatch (all.min.js:2)
at HTMLBodyElement.r.handle (all.min.js:2)
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/196Report a bug link2017-10-23T10:12:20+02:00Matija ObrezaReport a bug linkChange the link of public issue tracker to https://bitbucket.org/genesys2/issuesChange the link of public issue tracker to https://bitbucket.org/genesys2/issues2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/197Enable audit logging on Accession data2017-10-25T11:00:32+02:00Matija ObrezaEnable audit logging on Accession dataWe currently capture only the date of last change for accession data, but data providers and users would benefit from a full audit log on accession records.
This is achieved by
- Adding `application-blocks` auditing to Genesys to capt...We currently capture only the date of last change for accession data, but data providers and users would benefit from a full audit log on accession records.
This is achieved by
- Adding `application-blocks` auditing to Genesys to capture changes to data
- Displaying audit log where applicable2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/198Record changes to Accession data2017-10-20T20:00:21+02:00Matija ObrezaRecord changes to Accession dataAdd `application-blocks` auditing to Genesys to capture changes to accession data.
Supports #197Add `application-blocks` auditing to Genesys to capture changes to accession data.
Supports #1972.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/199Pagination functionality behaves incorrectly2017-10-24T10:18:01+02:00Aleksandr KirichenkoPagination functionality behaves incorrectly**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. In the pagination field enter "13" for example and click Enter key;
**Act.res**: page 13 isn't sho...**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. In the pagination field enter "13" for example and click Enter key;
**Act.res**: page 13 isn't shown, "Loading data from Genesys..." endless pending.
See attached video:
![recording_00010](/uploads/02bee0fc1867424a1130c45106b84d6d/recording_00010.gif)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/200Sandbox broken. 404 page not found2017-10-25T10:32:28+02:00Aleksandr KirichenkoSandbox broken. 404 page not found**Steps**
1. Go to "https://sandbox.genesys-pgr.org/welcome"
Act.res.: See attached screen
![SCR_0055](/uploads/08b67881bdfcd4166f32bfdd87d43bcf/SCR_0055.png)**Steps**
1. Go to "https://sandbox.genesys-pgr.org/welcome"
Act.res.: See attached screen
![SCR_0055](/uploads/08b67881bdfcd4166f32bfdd87d43bcf/SCR_0055.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/201Deployment to Docker2017-10-25T11:00:32+02:00Matija ObrezaDeployment to DockerWe require deployment to sandbox and production to be based on recent builds, not on a fixed version tags.
After rebooting the Swarm, things went sour as very old versions of Genesys Docker images got instantiated instead of tihe up-to-...We require deployment to sandbox and production to be based on recent builds, not on a fixed version tags.
After rebooting the Swarm, things went sour as very old versions of Genesys Docker images got instantiated instead of tihe up-to-date code as tagged in the repository.
Tag `sandbox` will be applied to builds of **master branch**.
Tag `production` will be applied to builds of **production tag**.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/202Accession last updated2017-10-25T14:22:56+02:00Matija ObrezaAccession last updatedI see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*I see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/203Migrate to npm2017-12-23T09:22:08+01:00Matija ObrezaMigrate to npmWith **Bower** discontinued, migrate Genesys SCSS build over to `npm`.
* https://bower.io/blog/2017/how-to-migrate-away-from-bower/With **Bower** discontinued, migrate Genesys SCSS build over to `npm`.
* https://bower.io/blog/2017/how-to-migrate-away-from-bower/2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/204Improved HTTP cache headers2017-10-25T14:16:43+02:00Matija ObrezaImproved HTTP cache headersStatic resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeout...Static resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeouts when #203 is implemented as that will generate hashed names for CSS and other static resources.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/205CDN with Cloudfront2017-10-25T14:16:43+02:00Matija ObrezaCDN with CloudfrontWe started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code t...We started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code that we use for the tiles in (s1.cdn - s4.cdn.genesys-pgr.org). Some of this code can be reused.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/207Validate API2017-10-30T08:09:27+01:00Matija ObrezaValidate APIWe've changed CORS and all other configuration in order to enable support for CDN with Cloudfront (now enabled on https://sandbox.genesys-pgr.org).
Please test that the Uploader (Anno) still works and you're able to update records on Sa...We've changed CORS and all other configuration in order to enable support for CDN with Cloudfront (now enabled on https://sandbox.genesys-pgr.org).
Please test that the Uploader (Anno) still works and you're able to update records on Sandbox.Aleksandr KirichenkoAleksandr Kirichenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/208Release 2.22017-10-27T15:41:31+02:00Matija ObrezaRelease 2.2Release version 2.2Release version 2.22.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/209Register target in GLIS2017-10-27T15:41:31+02:00Matija ObrezaRegister target in GLISWhen accession record **with DOI** is persisted register Genesys as a target URL for that accession.
genesys-pgr/glis-client#29
The rate limit must be configurable in env vars or properties.
## Existing records
Some method of registe...When accession record **with DOI** is persisted register Genesys as a target URL for that accession.
genesys-pgr/glis-client#29
The rate limit must be configurable in env vars or properties.
## Existing records
Some method of registering Genesys as a target is required for existing DOI'zed accessions. (beanshell?)
2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/210DOI not linked2017-12-23T09:22:08+01:00Matija ObrezaDOI not linkedNavigate to https://goo.gl/TQgP4Z and observe the DOIs in DOI column are links.
Click to page 2, DOIs are plain text.Navigate to https://goo.gl/TQgP4Z and observe the DOIs in DOI column are links.
Click to page 2, DOIs are plain text.2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/211href and src without c:url2017-12-23T09:22:08+01:00Matija Obrezahref and src without c:urlSome (new) JSPs have `href` and `src` attributes for links and images that do not use `<c:url value="..." />`. One example is a line from `jsp/crop/list.jsp`:
```jsp
<img class="img-responsive icon" src="/html/1/images/<c:out value="${e...Some (new) JSPs have `href` and `src` attributes for links and images that do not use `<c:url value="..." />`. One example is a line from `jsp/crop/list.jsp`:
```jsp
<img class="img-responsive icon" src="/html/1/images/<c:out value="${entry.key.shortName}"/>.png" alt="<c:out value="${entry.key.shortName}"/>"/>
```
Please scan the JSPs for all links and image references and ensure they are properly coded:
```jsp
<img class="img-responsive icon" src="<c:url value='/html/1/images/${entry.key.shortName}.png' />" alt="<c:out value="${entry.key.shortName}"/>"/>
```
## Using CDN
Genesys production and sandbox environments now use a Content Delivery Network (CDN).
For static resources (things in `/html/`) please add the `${cdnServers.next}` as shown here:
```jsp
<img src="<c:url value='${cdnServers.next}/html/1/images/${entry.key.shortName}.png' />" />
```2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/212CDN + languages2017-10-31T09:04:18+01:00Matija ObrezaCDN + languageshttps://www.genesys-pgr.org/de/c/apple
```
GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/styles/all.min.css net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ER...https://www.genesys-pgr.org/de/c/apple
```
GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/styles/all.min.css net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ERR_ABORTED
apple:553 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-LOGO_black.svg 404 ()
apple:128 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-ICON.svg 404 ()
apple:128 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/images/GENESYS-LOGO.svg 404 ()
apple:643 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/genesyshighcharts.min.js net::ERR_ABORTED
apple:604 GET https://www.genesys-pgr.org/de//cdn.genesys-pgr.org/html/1/js/all.min.js net::ERR_ABORTED
```2.3Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/213WIEWS link changed2017-10-31T09:04:18+01:00Matija ObrezaWIEWS link changedFAO WIEWS details are now available at
```
http://www.fao.org/wiews/data/organizations/en/?instcode=GBR004
```
we use the old format http://www.fao.org/wiews/instab/en/?instcode=GBR004FAO WIEWS details are now available at
```
http://www.fao.org/wiews/data/organizations/en/?instcode=GBR004
```
we use the old format http://www.fao.org/wiews/instab/en/?instcode=GBR0042.3Matija ObrezaMatija Obreza