arvados-workbench2.git
4 years ago15936: Workbench2 should use WebDAVDownload for file listings 15936-use-webdavdownload
Peter Amstutz [Wed, 18 Dec 2019 14:40:03 +0000 (09:40 -0500)]
15936: Workbench2 should use WebDAVDownload for file listings

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMerge branch '15672-filters-translation-fix'
Lucas Di Pentima [Tue, 17 Dec 2019 20:37:44 +0000 (17:37 -0300)]
Merge branch '15672-filters-translation-fix'
Refs #15672

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: More filter usage fixes. 15672-filters-translation-fix
Lucas Di Pentima [Mon, 16 Dec 2019 22:10:10 +0000 (19:10 -0300)]
15672: More filter usage fixes.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on search bar actions.
Lucas Di Pentima [Mon, 16 Dec 2019 22:08:36 +0000 (19:08 -0300)]
15672: Fixes filter usage on search bar actions.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on collections and favorite store middlewares.
Lucas Di Pentima [Mon, 16 Dec 2019 21:42:43 +0000 (18:42 -0300)]
15672: Fixes filter usage on collections and favorite store middlewares.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on group related store code.
Lucas Di Pentima [Mon, 16 Dec 2019 21:38:52 +0000 (18:38 -0300)]
15672: Fixes filter usage on group related store code.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on workflow service.
Lucas Di Pentima [Mon, 16 Dec 2019 21:27:52 +0000 (18:27 -0300)]
15672: Fixes filter usage on workflow service.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on tag service.
Lucas Di Pentima [Mon, 16 Dec 2019 21:24:46 +0000 (18:24 -0300)]
15672: Fixes filter usage on tag service.

Noticed that OrderBuilder does the same kind of translation, but it
isn't trivial to fix as it does type checking on the properties used
to do the ordering.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on project service.
Lucas Di Pentima [Mon, 16 Dec 2019 21:14:11 +0000 (18:14 -0300)]
15672: Fixes filter usage on project service.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter usage on favorite service.
Lucas Di Pentima [Mon, 16 Dec 2019 21:11:26 +0000 (18:11 -0300)]
15672: Fixes filter usage on favorite service.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15672: Fixes filter translations to snake case.
Lucas Di Pentima [Mon, 16 Dec 2019 21:09:39 +0000 (18:09 -0300)]
15672: Fixes filter translations to snake case.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoMerge branch '15256-removing-files-during-upload'
Peter Amstutz [Thu, 12 Dec 2019 16:07:32 +0000 (11:07 -0500)]
Merge branch '15256-removing-files-during-upload'

Made a mistake with previous merge, merged old branch instead of new
one.  Fixed.

refs #15256

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago15256: Fixes error handling when collection creation fails
Eric Biagiotti [Tue, 3 Dec 2019 15:38:32 +0000 (10:38 -0500)]
15256: Fixes error handling when collection creation fails

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15256: Simplifies file upload deleting and removes unused code
Eric Biagiotti [Wed, 27 Nov 2019 21:54:29 +0000 (16:54 -0500)]
15256: Simplifies file upload deleting and removes unused code

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years agoMerge branch '15256-removing-files-during-upload'
Peter Amstutz [Thu, 12 Dec 2019 15:57:44 +0000 (10:57 -0500)]
Merge branch '15256-removing-files-during-upload'

refs #15256

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMerge branch '15921-trailing-slash-fix'
Lucas Di Pentima [Wed, 11 Dec 2019 22:05:02 +0000 (19:05 -0300)]
Merge branch '15921-trailing-slash-fix'
Closes #15921

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15921: Fix collection create from upload dialog 15921-trailing-slash-fix
Peter Amstutz [Wed, 11 Dec 2019 21:55:15 +0000 (16:55 -0500)]
15921: Fix collection create from upload dialog

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago15921: Fixes the link account service call.
Lucas Di Pentima [Wed, 11 Dec 2019 17:11:11 +0000 (14:11 -0300)]
15921: Fixes the link account service call.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15921: Updates tests to not expect trailing slashes on API calls.
Lucas Di Pentima [Tue, 10 Dec 2019 21:44:33 +0000 (18:44 -0300)]
15921: Updates tests to not expect trailing slashes on API calls.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago15921: Avoids adding a trailing slash to every resourceType.
Lucas Di Pentima [Tue, 10 Dec 2019 21:43:48 +0000 (18:43 -0300)]
15921: Avoids adding a trailing slash to every resourceType.

Updates API calls adding slashes where really needed.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoMerge branch '15856-illegal-chars-warning'
Lucas Di Pentima [Tue, 3 Dec 2019 18:35:35 +0000 (15:35 -0300)]
Merge branch '15856-illegal-chars-warning'
Closes #15856

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Merge branch 'master' into 15856-illegal-chars-warning 15856-illegal-chars-warning
Lucas Di Pentima [Tue, 3 Dec 2019 18:09:52 +0000 (15:09 -0300)]
15856: Merge branch 'master' into 15856-illegal-chars-warning

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Adds name validation to projects and collection edit/create dialogs.
Lucas Di Pentima [Tue, 3 Dec 2019 15:30:33 +0000 (12:30 -0300)]
15856: Adds name validation to projects and collection edit/create dialogs.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Replaces icon.
Lucas Di Pentima [Mon, 2 Dec 2019 20:56:47 +0000 (17:56 -0300)]
15856: Replaces icon.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Enhances error constant naming.
Lucas Di Pentima [Mon, 2 Dec 2019 20:19:46 +0000 (17:19 -0300)]
15856: Enhances error constant naming.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Renders warning component on project & collection names.
Lucas Di Pentima [Mon, 2 Dec 2019 20:13:00 +0000 (17:13 -0300)]
15856: Renders warning component on project & collection names.

Rendering includes the side panel (project tree) and the data explorer
table.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Fixes error handling on collection updates.
Lucas Di Pentima [Mon, 2 Dec 2019 19:00:44 +0000 (16:00 -0300)]
15856: Fixes error handling on collection updates.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoUpdate 'set-value' package for CVE-2019-10747
Peter Amstutz [Wed, 27 Nov 2019 20:44:12 +0000 (15:44 -0500)]
Update 'set-value' package for CVE-2019-10747

no issue #

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years agoMerge branch '15803-unsetup' refs #15803
Peter Amstutz [Wed, 27 Nov 2019 20:32:39 +0000 (15:32 -0500)]
Merge branch '15803-unsetup' refs #15803

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15803: Fix whitespace
Peter Amstutz [Wed, 27 Nov 2019 20:32:00 +0000 (15:32 -0500)]
15803: Fix whitespace

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15803: INIT->INIT_USER, CONFIG->SET_CONFIG, remove config reducer 15803-unsetup
Peter Amstutz [Wed, 27 Nov 2019 19:37:10 +0000 (14:37 -0500)]
15803: INIT->INIT_USER, CONFIG->SET_CONFIG, remove config reducer

I realized there was mostly do-nothing "config" reducer, whereas most
all the other cluster configuration was stored on the "auth" reducer,
so I moved config over to auth and got rid of the config reducer.

Added some comments to auth-middleware.ts.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

4 years ago15803: Add checks that user uuid (from getUserUuid) is defined
Peter Amstutz [Wed, 27 Nov 2019 14:28:34 +0000 (09:28 -0500)]
15803: Add checks that user uuid (from getUserUuid) is defined

Add @types/sinon to package.json

4 years ago15856: Unifies project tree component code into one subdir.
Lucas Di Pentima [Tue, 26 Nov 2019 21:36:27 +0000 (18:36 -0300)]
15856: Unifies project tree component code into one subdir.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Removes more unused code.
Lucas Di Pentima [Tue, 26 Nov 2019 21:28:35 +0000 (18:28 -0300)]
15856: Removes more unused code.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch 'master' into 15803-unsetup
Peter Amstutz [Tue, 26 Nov 2019 21:18:48 +0000 (16:18 -0500)]
Merge branch 'master' into 15803-unsetup

4 years ago15856: Merge branch 'master' into 15856-illegal-chars-warning
Lucas Di Pentima [Tue, 26 Nov 2019 21:01:45 +0000 (18:01 -0300)]
15856: Merge branch 'master' into 15856-illegal-chars-warning

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Removes unused component.
Lucas Di Pentima [Tue, 26 Nov 2019 20:44:24 +0000 (17:44 -0300)]
15856: Removes unused component.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Adds a conditional warning icon on the breadcrumbs and collection panel.
Lucas Di Pentima [Tue, 26 Nov 2019 20:30:46 +0000 (17:30 -0300)]
15856: Adds a conditional warning icon on the breadcrumbs and collection panel.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15856: Adds new component to show a conditional warning icon.
Lucas Di Pentima [Tue, 26 Nov 2019 20:28:56 +0000 (17:28 -0300)]
15856: Adds new component to show a conditional warning icon.

This component takes a list of regular expressions, if any of them matches
the passed text, the icon is displayed with a custom tooltip message.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years agoMerge branch '15840-project-page-hang'
Eric Biagiotti [Tue, 26 Nov 2019 19:35:24 +0000 (14:35 -0500)]
Merge branch '15840-project-page-hang'

4 years ago15840: Adds comment to refactored tree construction
Eric Biagiotti [Tue, 26 Nov 2019 18:49:04 +0000 (13:49 -0500)]
15840: Adds comment to refactored tree construction

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15840: Removes trailing slash from directory propfinds
Eric Biagiotti [Tue, 26 Nov 2019 18:29:55 +0000 (13:29 -0500)]
15840: Removes trailing slash from directory propfinds

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years agoMerge branch '15069-tag-searching-by-ids'
Lucas Di Pentima [Wed, 20 Nov 2019 21:37:09 +0000 (18:37 -0300)]
Merge branch '15069-tag-searching-by-ids'
Closes #15069

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Renames parameter for code readability. 15069-tag-searching-by-ids
Lucas Di Pentima [Wed, 20 Nov 2019 21:34:18 +0000 (18:34 -0300)]
15069: Renames parameter for code readability.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Fix typechecking for skipValidation parameter of SearchBarValueField
Peter Amstutz [Wed, 20 Nov 2019 21:19:12 +0000 (16:19 -0500)]
15069: Fix typechecking for skipValidation parameter of SearchBarValueField

4 years ago15840: Fixes merge
Eric Biagiotti [Tue, 19 Nov 2019 21:31:16 +0000 (16:31 -0500)]
15840: Fixes merge

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15840: Project panel uses collection attributes for file count and size
Eric Biagiotti [Thu, 24 Oct 2019 17:46:06 +0000 (13:46 -0400)]
15840: Project panel uses collection attributes for file count and size

- Previously, the project panel loaded the entire collection file tree to sum file count and  total size. Now it uses the file_count and file_size_total collection attributes.
- Also updated the collection service to not do any tree manipulation when using propfind for files.

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

4 years ago15069: Removes an unused import to make the linter happy.
Lucas Di Pentima [Tue, 19 Nov 2019 17:09:55 +0000 (14:09 -0300)]
15069: Removes an unused import to make the linter happy.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Fixes bug on advanced search UI disallowing duplicate tags.
Lucas Di Pentima [Tue, 19 Nov 2019 17:04:59 +0000 (14:04 -0300)]
15069: Fixes bug on advanced search UI disallowing duplicate tags.

When the user added properties with the same key as a search criteria, the
UI used to list them all, because the form saves them as a FieldArray and
they were being pushed to the array when clicking on the Add button.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Fixes typos on actions, interfaces and constants names.
Lucas Di Pentima [Tue, 19 Nov 2019 14:47:01 +0000 (11:47 -0300)]
15069: Fixes typos on actions, interfaces and constants names.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Renders property's key/value labels correctly when adding them on search
Lucas Di Pentima [Mon, 18 Nov 2019 18:28:15 +0000 (15:28 -0300)]
15069: Renders property's key/value labels correctly when adding them on search

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Renders property chips correctly from the search query string.
Lucas Di Pentima [Mon, 18 Nov 2019 17:36:22 +0000 (14:36 -0300)]
15069: Renders property chips correctly from the search query string.

We assume that property key/value strings from the search query are the
concrete values from the API server, so we treat them as vocabulary IDs.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Simplifies conditional logic.
Lucas Di Pentima [Mon, 18 Nov 2019 15:21:02 +0000 (12:21 -0300)]
15069: Simplifies conditional logic.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Use properties' key/value ids on search when possible.
Lucas Di Pentima [Mon, 18 Nov 2019 12:58:18 +0000 (09:58 -0300)]
15069: Use properties' key/value ids on search when possible.

Also, properly reset key/value fields on the advanced search UI every time
a new property is added to the search expression.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

4 years ago15069: Adds optional validation disabling to property fields components.
Lucas Di Pentima [Mon, 18 Nov 2019 12:46:01 +0000 (09:46 -0300)]
15069: Adds optional validation disabling to property fields components.

Also, use these components with validation disabled on the advanced search UI.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: Ensure mocks get cleaned up after test
Peter Amstutz [Fri, 15 Nov 2019 21:24:43 +0000 (16:24 -0500)]
15803: Ensure mocks get cleaned up after test

5 years ago15803: Update test
Peter Amstutz [Fri, 15 Nov 2019 20:39:14 +0000 (15:39 -0500)]
15803: Update test

Uses axios mocking and typescript module mocking.

5 years agoMerge branch '15067-tag-editing-by-ids'
Lucas Di Pentima [Fri, 15 Nov 2019 17:12:58 +0000 (14:12 -0300)]
Merge branch '15067-tag-editing-by-ids'
Refs #15067

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: Updating tests WIP
Peter Amstutz [Thu, 14 Nov 2019 22:47:15 +0000 (17:47 -0500)]
15803: Updating tests WIP

5 years ago15803: Display loading screen during "get user info" and "self activate"
Peter Amstutz [Thu, 14 Nov 2019 21:53:45 +0000 (16:53 -0500)]
15803: Display loading screen during "get user info" and "self activate"

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15803: use getUserUuid instead of getting from local store
Peter Amstutz [Thu, 14 Nov 2019 18:32:50 +0000 (13:32 -0500)]
15803: use getUserUuid instead of getting from local store

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15067: Adds tests for vocabulary functions. 15067-tag-editing-by-ids
Lucas Di Pentima [Thu, 14 Nov 2019 18:45:14 +0000 (15:45 -0300)]
15067: Adds tests for vocabulary functions.

Fixed a couple of bugs in the process.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: Move LOGOUT side effects to middleware
Peter Amstutz [Thu, 14 Nov 2019 15:07:21 +0000 (10:07 -0500)]
15803: Move LOGOUT side effects to middleware

5 years ago15067: Generalizes handleSelect & handleBlur on property form fields.
Lucas Di Pentima [Thu, 14 Nov 2019 14:28:16 +0000 (11:28 -0300)]
15067: Generalizes handleSelect & handleBlur on property form fields.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Creates PropertyChipComponent to be used where tags need listing.
Lucas Di Pentima [Thu, 14 Nov 2019 13:06:55 +0000 (10:06 -0300)]
15067: Creates PropertyChipComponent to be used where tags need listing.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: Add missing auth middleware file
Peter Amstutz [Wed, 13 Nov 2019 22:46:58 +0000 (17:46 -0500)]
15803: Add missing auth middleware file

Stop modifying global service object in link accounts.

5 years ago15067: Shows tags labels on project details. Adds copy-on-click feature.
Lucas Di Pentima [Wed, 13 Nov 2019 22:03:37 +0000 (19:03 -0300)]
15067: Shows tags labels on project details. Adds copy-on-click feature.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Creates project tags by id when possible.
Lucas Di Pentima [Wed, 13 Nov 2019 22:02:59 +0000 (19:02 -0300)]
15067: Creates project tags by id when possible.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Generalizes Key/Value fields to be reused on different forms.
Lucas Di Pentima [Wed, 13 Nov 2019 22:01:53 +0000 (19:01 -0300)]
15067: Generalizes Key/Value fields to be reused on different forms.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: Refactor internal user and API token management
Peter Amstutz [Wed, 13 Nov 2019 21:40:26 +0000 (16:40 -0500)]
15803: Refactor internal user and API token management

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15067: Removes unnecesssary hidden Field components.
Lucas Di Pentima [Wed, 13 Nov 2019 20:31:31 +0000 (17:31 -0300)]
15067: Removes unnecesssary hidden Field components.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Clicking on a property chip copies its visual representation.
Lucas Di Pentima [Wed, 13 Nov 2019 20:20:57 +0000 (17:20 -0300)]
15067: Clicking on a property chip copies its visual representation.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Renders properties' key/values by their labels when possible.
Lucas Di Pentima [Tue, 12 Nov 2019 14:54:04 +0000 (11:54 -0300)]
15067: Renders properties' key/values by their labels when possible.

Also, the "copy to clipboard" feature remain copying the key/value ids.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years agoMerge branch 'master' into 15067-tag-editing-by-ids
Lucas Di Pentima [Tue, 12 Nov 2019 12:44:03 +0000 (09:44 -0300)]
Merge branch 'master' into 15067-tag-editing-by-ids

5 years ago15067: Tag key/value suggestions show all available labels.
Lucas Di Pentima [Tue, 12 Nov 2019 12:31:59 +0000 (09:31 -0300)]
15067: Tag key/value suggestions show all available labels.

Also:
* Moved all vocabulary related functions on the model file.
* Return an alphabetic ordered list of suggestions.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: When adding/updating a property, use IDs when available.
Lucas Di Pentima [Mon, 11 Nov 2019 19:12:27 +0000 (16:12 -0300)]
15067: When adding/updating a property, use IDs when available.

The tag editor will populate the IDs when the tags belong to a predefined
vocabulary.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Supports key/value IDs matching when manually typing.
Lucas Di Pentima [Mon, 11 Nov 2019 18:17:51 +0000 (15:17 -0300)]
15067: Supports key/value IDs matching when manually typing.

If the user keeps typing instead of selecting what's being suggested, try to
get the corresponding ID when leaving the input field.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Retrieve property values by its key id.
Lucas Di Pentima [Mon, 11 Nov 2019 15:09:16 +0000 (12:09 -0300)]
15067: Retrieve property values by its key id.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Assign key/value ids to hidden field so they're available on submit.
Lucas Di Pentima [Mon, 11 Nov 2019 13:23:17 +0000 (10:23 -0300)]
15067: Assign key/value ids to hidden field so they're available on submit.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15803: If user is inactive, attempt to self-activate.
Peter Amstutz [Thu, 7 Nov 2019 16:33:33 +0000 (11:33 -0500)]
15803: If user is inactive, attempt to self-activate.

This mimics the behavior of workbench 1, however we don't support
displaying / signing user agreements.

5 years ago15803: toggleIsActive will use unsetup to deactivate user
Peter Amstutz [Wed, 6 Nov 2019 22:43:46 +0000 (17:43 -0500)]
15803: toggleIsActive will use unsetup to deactivate user

Also re-enables generic error reporting for API errors.

5 years agoMerge branch '15736-site-mgr' refs #15736
Peter Amstutz [Tue, 5 Nov 2019 21:21:37 +0000 (16:21 -0500)]
Merge branch '15736-site-mgr' refs #15736

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15736: Make sure to save sessions from state not local 15736-site-mgr
Peter Amstutz [Tue, 5 Nov 2019 21:12:09 +0000 (16:12 -0500)]
15736: Make sure to save sessions from state not local

5 years ago15736: When validating sessions, save the config
Peter Amstutz [Tue, 5 Nov 2019 19:11:00 +0000 (14:11 -0500)]
15736: When validating sessions, save the config

All clusters in 'sessions' (whether part of the federation or not)
where we are able to successfully fetch either the new exported public
config or the old discovery document will get added to
auth.remoteHostsConfig.  This means links to other clusters
works consistently (sort of, users may still need to log in.)

Also, it now updates the title bar with the cluster id.

5 years ago15736: Don't redundantly load local config
Peter Amstutz [Tue, 5 Nov 2019 15:23:15 +0000 (10:23 -0500)]
15736: Don't redundantly load local config

Somehow missed this in the last commit

5 years ago15736: Don't allow user to delete local/federation sessions
Peter Amstutz [Tue, 5 Nov 2019 15:11:48 +0000 (10:11 -0500)]
15736: Don't allow user to delete local/federation sessions

Also fix config loading bug where the local config was being
overwritten by remote cluster config loading which didn't fill in most
of the fields, now fills in all the fields for remote clusters (but
also doesn't reload local cluster config redundantly).

5 years ago15067: Changes use of tag/value ids for labels on tag selection.
Lucas Di Pentima [Tue, 5 Nov 2019 14:07:59 +0000 (11:07 -0300)]
15067: Changes use of tag/value ids for labels on tag selection.

TODO: The Add button should create the tag using the IDs from the vocabulary.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15736: Add delete button to site manager
Peter Amstutz [Mon, 4 Nov 2019 21:34:39 +0000 (16:34 -0500)]
15736: Add delete button to site manager

* Add delete button to remove sessions from site manager
* Adjust error handling flow in validateSession to ensure that
  failures still are marked as finished validating
* Fix tests

5 years ago15736: Improve error handling for multisite search
Peter Amstutz [Mon, 4 Nov 2019 18:17:44 +0000 (13:17 -0500)]
15736: Improve error handling for multisite search

* A failed search of one cluster does not prevent seeing results from
  other clusters
* Session validation are reported to the user

5 years ago15067: Makes key/value matching case insensitive.
Lucas Di Pentima [Mon, 4 Nov 2019 16:37:20 +0000 (13:37 -0300)]
15067: Makes key/value matching case insensitive.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Updates properties form to handle vocabulary's new format (WIP)
Lucas Di Pentima [Mon, 4 Nov 2019 16:28:10 +0000 (13:28 -0300)]
15067: Updates properties form to handle vocabulary's new format (WIP)

Suggestions are being rendered correctly, but input widgets show the item's
keys. Need to disconnect id vs label handling on the UI.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15736: Fallback behavior to log in to remote clusters
Peter Amstutz [Fri, 1 Nov 2019 20:38:33 +0000 (16:38 -0400)]
15736: Fallback behavior to log in to remote clusters

Try federated login first, if that doesn't work, send user to login.

5 years ago15736: "add-session" route, support tokens received from other clusters
Peter Amstutz [Thu, 31 Oct 2019 18:38:46 +0000 (14:38 -0400)]
15736: "add-session" route, support tokens received from other clusters

Refactor sessions to be able to handle searching remote clusters that
the user logs in to, instead of using federated token.

TODO: direct user to log in and return back when adding with "New cluster".

5 years ago15736: Add uuid column to site manager page
Peter Amstutz [Wed, 30 Oct 2019 20:30:54 +0000 (16:30 -0400)]
15736: Add uuid column to site manager page

5 years agoMerge branch '15766-copy-property-text' refs #15766
Peter Amstutz [Thu, 31 Oct 2019 19:03:45 +0000 (15:03 -0400)]
Merge branch '15766-copy-property-text' refs #15766

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years agoMerge branch '15728-property-filter' refs #15728
Peter Amstutz [Thu, 31 Oct 2019 19:03:22 +0000 (15:03 -0400)]
Merge branch '15728-property-filter' refs #15728

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15067: Updates the vocabulary model to match the new format.
Lucas Di Pentima [Thu, 31 Oct 2019 14:19:56 +0000 (11:19 -0300)]
15067: Updates the vocabulary model to match the new format.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15067: Uses new vocabulary example. Temporarily forces to load it for testing.
Lucas Di Pentima [Thu, 31 Oct 2019 14:12:32 +0000 (11:12 -0300)]
15067: Uses new vocabulary example. Temporarily forces to load it for testing.

The design of this new format was produced at:

https://dev.arvados.org/issues/15071

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago15766: Clicking on a property chip copies its text to clipboard 15766-copy-property-text
Peter Amstutz [Tue, 29 Oct 2019 21:33:58 +0000 (17:33 -0400)]
15766: Clicking on a property chip copies its text to clipboard

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

5 years ago15728: Use case-insensitive regexp for autocomplete 15728-property-filter
Peter Amstutz [Tue, 29 Oct 2019 21:05:07 +0000 (17:05 -0400)]
15728: Use case-insensitive regexp for autocomplete