Git Product home page Git Product logo

idb-portal's People

Contributors

danstoner avatar gete76 avatar godfoder avatar kevinlove avatar mlluciano avatar nrejack avatar rjgarand avatar roncanepa avatar valdeza avatar wilsotc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idb-portal's Issues

phrase mismatch when searching by basis-of-record

The portal shows "specimen" as the value for basis-of-record, but if a user wants to search by that field, they need to enter "PreservedSpecimen," which isn't apparent.

@wilsotc please feel free to edit this issue if I've mis-characterized anything.

Update text in portal tutorial page

If this can be updated, then we can close redmine ticket 628
Spelling error "successfully"
Add "and is supported for"

idb-portal/app/views/tutorial.html

[line24]

The iDigBio Portal requires the use of an HTML5 compliant browser with cookies enabled. The Portal has been tested successfully against, and is supported for, the following browsers:
Chrome
Firefox
Safari
Internet Explorer 10,11

[line30]

"API" section of publishers page stats sometimes shows 0

@danstoner discovered that sometimes this page:

https://www.idigbio.org/portal/publishers

shows 0 for the "API" portion of the stats (both summary and by-publisher).

Sometimes, reloading will show an appropriate response. You can see the network request come back with an empty result set when 0s appear.

My hunch is a a timeout/race condition, as the search consistently returns results, but the response times are 400-1200ms.

app/controllers/publishers.js calls "render" on publishers.

which includes a parallel async call like this in the script:

 idbapi.summary('stats/api',{inverted: "true",minDate:"now-1d"},function(resp){

an equivalent curl request is:

curl --location --request POST 'search.idigbio.org/v2/summary/stats/api' \
--header 'Content-Type: text/plain' \
--data-raw '{inverted: "true",minDate:"now-1d"}'

Recordset page in portal needs information on how to edit contact information

Recordset pages in the iDigBio portal contain contact information that is not editable through iDigBio. There are frequent requests to update this information in iDigBio when in fact the information should be edited in the source IPT or other system. See: http://redmine.idigbio.org/issues/3846 for a recent request.

Add a link on the recordset page with information on how to update the contact information. This will vary by recordset so the text needs to include information for various scenarios (IPT, Symbiota, etc.)

Download API doesn't receive email address if no text entered in search boxes

An email address entered by users who are using the portal to download records may not be passed through if the user does not enter text in the search boxes. The outcome is that users are not notified when their downloads are complete and repeatedly submit identical jobs.

Steps to reproduce:

  1. go to http://portal.idigbio.org/portal/search
  2. Click "Must have media" checkbox
  3. Click Download tab
  4. Enter email address in Email box
  5. Click download button
  6. Check Celery Flower task interface. Task will appear but email address does not appear in args box as expected.

I suspect the address is not getting passed to the Download API for some reason.

Downloads interface doesn't report failures; task stays at pending

If the backend download system fails the portal keeps displaying that as Status "pending".

E.g. on a current download, the status url is requesting: https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca yield response:

{
  "complete": false, 
  "core_source": "indexterms", 
  "core_type": "records", 
  "expires": "2017-01-11T12:22:30.268094", 
  "form": "dwca-csv", 
  "mediarecord_fields": null, 
  "mq": null, 
  "record_fields": null, 
  "rq": {
    "scientificname": "alligator mississippiensis"
  }, 
  "status_url": "https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca", 
  "task_status": "FAILURE"
}

but the portal keeps requesting that about every 4s and the status pane in the download tab keeps saying "pending"

Redis server is hard-coded

In idb-portal/config/config.js , the redis server adddresses are hard-coded.

Pull out and parameterize.

Portal search by "date collected" returns odd results depending on input format

If you search via a yyyy-mm-dd format, all is well, but if you put only a 4-digit year into the start+end boxes, you'll get results outside of that range.

Options here would be (in no particular order):

  • insist on a particular format to avoid ambiguity
  • see if we can parse a date out of the input and feed that into the search

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.