arvados-workbench2.git
3 years ago17436: Removed only from cypress test suite 17436-Favorites-in-workflow-picker-dialog-is-different-to-favorites
Daniel Kutyła [Tue, 13 Apr 2021 20:51:55 +0000 (22:51 +0200)]
17436: Removed only from cypress test suite

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17436: Fixed directory chooser added test to coverage this exception
Daniel Kutyła [Tue, 13 Apr 2021 20:26:58 +0000 (22:26 +0200)]
17436: Fixed directory chooser added test to coverage this exception

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years agoMerge branch '17427-start-workflow-in-code' refs #17427
Peter Amstutz [Mon, 12 Apr 2021 19:02:18 +0000 (15:02 -0400)]
Merge branch '17427-start-workflow-in-code' refs #17427

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

3 years ago17427: Add some notes on developing using Docker 17427-start-workflow-in-code
Peter Amstutz [Mon, 12 Apr 2021 18:05:02 +0000 (14:05 -0400)]
17427: Add some notes on developing using Docker

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

3 years ago17427: Fix test
Peter Amstutz [Mon, 12 Apr 2021 16:10:18 +0000 (12:10 -0400)]
17427: Fix test

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

3 years ago17427: Add unit test for openRunProcess()
Peter Amstutz [Fri, 9 Apr 2021 21:22:51 +0000 (17:22 -0400)]
17427: Add unit test for openRunProcess()

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

3 years ago17427: Add some optional parameters to openRunProcess()
Peter Amstutz [Tue, 6 Apr 2021 22:27:56 +0000 (18:27 -0400)]
17427: Add some optional parameters to openRunProcess()

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

3 years agoMerge branch '17426-plug-ins' refs #17426
Peter Amstutz [Mon, 5 Apr 2021 14:32:46 +0000 (10:32 -0400)]
Merge branch '17426-plug-ins' refs #17426

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

3 years ago17426: Add "enableWhenPristine" option for dialog boxes.
Peter Amstutz [Mon, 5 Apr 2021 14:31:50 +0000 (10:31 -0400)]
17426: Add "enableWhenPristine" option for dialog boxes.

Update README.

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

3 years agoMerge branch '17337-files-not-visible-in-arvados'
Daniel Kutyła [Thu, 1 Apr 2021 20:49:33 +0000 (22:49 +0200)]
Merge branch '17337-files-not-visible-in-arvados'
closes #17337

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Code cleanup 17337-files-not-visible-in-arvados
Daniel Kutyła [Thu, 1 Apr 2021 20:24:32 +0000 (22:24 +0200)]
17337: Code cleanup

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Code cleanup
Daniel Kutyła [Thu, 1 Apr 2021 19:29:16 +0000 (21:29 +0200)]
17337: Code cleanup

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Added unit tests and directory names with non trivial names
Daniel Kutyła [Wed, 31 Mar 2021 18:51:59 +0000 (20:51 +0200)]
17337: Added unit tests and directory names with non trivial names

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years agoFix cypress side panel test now that filter group validation is
Ward Vandewege [Wed, 31 Mar 2021 14:24:16 +0000 (10:24 -0400)]
Fix cypress side panel test now that filter group validation is
stricter.

refs #17119

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years agoIn the project/filter group details panel, change the 'Project UUID'
Ward Vandewege [Wed, 31 Mar 2021 13:47:53 +0000 (09:47 -0400)]
In the project/filter group details panel, change the 'Project UUID'
label to just say 'UUID', so that it doesn't cause confusion when
viewing a filter group.

refs #17119

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17426: Comment out the example plugins again 17426-plug-ins
Peter Amstutz [Tue, 30 Mar 2021 21:26:46 +0000 (17:26 -0400)]
17426: Comment out the example plugins again

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

3 years agoMerge branch '17119-support-filter-groups'
Ward Vandewege [Tue, 30 Mar 2021 21:17:54 +0000 (17:17 -0400)]
Merge branch '17119-support-filter-groups'

refs #17119

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17426: Add dialog box with form to example plugin.
Peter Amstutz [Mon, 29 Mar 2021 20:42:08 +0000 (16:42 -0400)]
17426: Add dialog box with form to example plugin.

Add comments explaining the example plugin

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

3 years ago17337: Improves unit test readability & expandability.
Lucas Di Pentima [Fri, 26 Mar 2021 19:02:29 +0000 (16:02 -0300)]
17337: Improves unit test readability & expandability.

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

3 years ago17337: Fixed failing unit test
Daniel Kutyła [Fri, 26 Mar 2021 14:16:28 +0000 (15:16 +0100)]
17337: Fixed failing unit test

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Added more tests to cover edge cases
Daniel Kutyła [Fri, 26 Mar 2021 12:54:21 +0000 (13:54 +0100)]
17337: Added more tests to cover edge cases

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Adds more file renaming test cases.
Lucas Di Pentima [Thu, 25 Mar 2021 13:58:50 +0000 (10:58 -0300)]
17337: Adds more file renaming test cases.

It seems that the UI is decoding literal decodeable strings like:

%22    -> "
%C3%BC -> ü

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

3 years ago17337: Removed 'only' test restriction
Daniel Kutyła [Thu, 25 Mar 2021 08:15:24 +0000 (09:15 +0100)]
17337: Removed 'only' test restriction

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Added another edge case handling
Daniel Kutyła [Wed, 24 Mar 2021 21:50:56 +0000 (22:50 +0100)]
17337: Added another edge case handling

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Adds a new file name case: names with '%2F' don't get listed.
Lucas Di Pentima [Wed, 24 Mar 2021 15:00:58 +0000 (12:00 -0300)]
17337: Adds a new file name case: names with '%2F' don't get listed.

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

3 years ago17337: Added % sign handling in collection files
Daniel Kutyła [Tue, 23 Mar 2021 22:12:23 +0000 (23:12 +0100)]
17337: Added % sign handling in collection files

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17119: rename a field in the context menu actions unit test, for 17119-support-filter-groups
Ward Vandewege [Tue, 23 Mar 2021 19:11:22 +0000 (15:11 -0400)]
17119: rename a field in the context menu actions unit test, for
       clarity.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: further changes after review feedback.
Ward Vandewege [Tue, 23 Mar 2021 16:40:56 +0000 (12:40 -0400)]
17119: further changes after review feedback.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17337: Removes only() call, adds failing file rename case.
Lucas Di Pentima [Tue, 23 Mar 2021 13:40:18 +0000 (10:40 -0300)]
17337: Removes only() call, adds failing file rename case.

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

3 years ago17426: Comment out plugins
Peter Amstutz [Mon, 22 Mar 2021 20:57:23 +0000 (16:57 -0400)]
17426: Comment out plugins

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

3 years ago17426: Can add plugin middlewares and context menus
Peter Amstutz [Thu, 11 Mar 2021 21:03:23 +0000 (16:03 -0500)]
17426: Can add plugin middlewares and context menus

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

3 years ago17426: Pass through menu styling. Make example a card.
Peter Amstutz [Sat, 27 Feb 2021 22:40:37 +0000 (17:40 -0500)]
17426: Pass through menu styling.  Make example a card.

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

3 years ago17426: Fix stuck on loading screen.
Peter Amstutz [Sat, 27 Feb 2021 22:20:26 +0000 (17:20 -0500)]
17426: Fix stuck on loading screen.

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

3 years ago17426: Add plugin ability to modify +New and account menu
Peter Amstutz [Sat, 27 Feb 2021 22:05:15 +0000 (17:05 -0500)]
17426: Add plugin ability to modify +New and account menu

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

3 years ago17426: Add plugin ability to override app bar.
Peter Amstutz [Sat, 27 Feb 2021 04:43:35 +0000 (23:43 -0500)]
17426: Add plugin ability to override app bar.

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

3 years ago17426: Plugins can replace some of main UI
Peter Amstutz [Fri, 26 Feb 2021 22:29:55 +0000 (17:29 -0500)]
17426: Plugins can replace some of main UI

Add example and utility plugins.

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

3 years ago17426: WIP adding hooks to add or replace major UI elements
Peter Amstutz [Thu, 25 Feb 2021 23:04:27 +0000 (18:04 -0500)]
17426: WIP adding hooks to add or replace major UI elements

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

3 years ago17337: Added custom encode functions with tests
Daniel Kutyła [Mon, 22 Mar 2021 19:44:34 +0000 (20:44 +0100)]
17337: Added custom encode functions with tests

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17119: implement review feedback.
Ward Vandewege [Sun, 21 Mar 2021 02:03:14 +0000 (22:03 -0400)]
17119: implement review feedback.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: fix integration tests.
Ward Vandewege [Fri, 19 Mar 2021 14:19:22 +0000 (10:19 -0400)]
17119: fix integration tests.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: add more unit tests.
Ward Vandewege [Fri, 19 Mar 2021 13:30:55 +0000 (09:30 -0400)]
17119: add more unit tests.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: fix unit tests (process resources do not have a writable_by field
Ward Vandewege [Thu, 18 Mar 2021 21:38:55 +0000 (17:38 -0400)]
17119: fix unit tests (process resources do not have a writable_by field
       so isEditable is always false), and fix a bug where the type of
the last project visited would affect editable state of objects at other
routes (e.g. "Shared with me").

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: Fixes unit tests improving store mocking and error reporting.
Lucas Di Pentima [Wed, 17 Mar 2021 21:41:35 +0000 (18:41 -0300)]
17119: Fixes unit tests improving store mocking and error reporting.

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

3 years ago17119: Merge branch 'master' into 17119-support-filter-groups
Ward Vandewege [Wed, 17 Mar 2021 20:56:03 +0000 (16:56 -0400)]
17119: Merge branch 'master' into 17119-support-filter-groups

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years agoMerge branch '16848-unit-tests-fixes'
Lucas Di Pentima [Wed, 17 Mar 2021 20:54:05 +0000 (17:54 -0300)]
Merge branch '16848-unit-tests-fixes'
Refs #16848

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

3 years ago16848: Removed commented out code. 16848-unit-tests-fixes
Lucas Di Pentima [Wed, 17 Mar 2021 20:50:02 +0000 (17:50 -0300)]
16848: Removed commented out code.

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

3 years ago16848: Fixes unit tests.
Lucas Di Pentima [Wed, 17 Mar 2021 20:24:29 +0000 (17:24 -0300)]
16848: Fixes unit tests.

DetailsAttribute component needed a mocked store to be able to be tested
inside TokenDialog. Extracted the layout related code to a simpler component
so that can be used directly and tested is easier.
Also, fixed a couple of assertions on the token dialog tests.

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

3 years ago17119: Merge branch 'master' into 17119-support-filter-groups
Ward Vandewege [Fri, 12 Mar 2021 22:49:39 +0000 (17:49 -0500)]
17119: Merge branch 'master' into 17119-support-filter-groups

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years agoMerge branch '17119-make-arvados-path-configurable-in-tests'
Ward Vandewege [Fri, 12 Mar 2021 22:45:55 +0000 (17:45 -0500)]
Merge branch '17119-make-arvados-path-configurable-in-tests'

refs #17119

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: Merge branch 'master' into 17119-make-arvados-path-configurable-in-tests 17119-make-arvados-path-configurable-in-tests
Ward Vandewege [Fri, 12 Mar 2021 22:45:18 +0000 (17:45 -0500)]
17119: Merge branch 'master' into 17119-make-arvados-path-configurable-in-tests

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: add a filter group test.
Ward Vandewege [Fri, 12 Mar 2021 22:44:17 +0000 (17:44 -0500)]
17119: add a filter group test.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: update the Makefile and tools/run-integration-tests.sh to make
Ward Vandewege [Fri, 12 Mar 2021 15:01:04 +0000 (10:01 -0500)]
17119: update the Makefile and tools/run-integration-tests.sh to make
       the arvados source path configurable.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: list the group class on the project details screen.
Ward Vandewege [Thu, 11 Mar 2021 21:46:13 +0000 (16:46 -0500)]
17119: list the group class on the project details screen.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: The "+ New" button should be disabled when viewing a filter
Ward Vandewege [Thu, 11 Mar 2021 17:45:10 +0000 (12:45 -0500)]
17119: The "+ New" button should be disabled when viewing a filter
       group.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: the "Move to" dialog should not show filter groups as a potential
Ward Vandewege [Thu, 11 Mar 2021 17:37:39 +0000 (12:37 -0500)]
17119: the "Move to" dialog should not show filter groups as a potential
       destination.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years ago17119: add basic filter group support.
Ward Vandewege [Thu, 11 Mar 2021 21:28:48 +0000 (16:28 -0500)]
17119: add basic filter group support.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

3 years agoMerge branch '16848-token-handling-improvements'
Lucas Di Pentima [Thu, 11 Mar 2021 17:54:37 +0000 (14:54 -0300)]
Merge branch '16848-token-handling-improvements'
Closes #16848

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

3 years ago16848: Changes layout for token & api host display. Reduces code block font. 16848-token-handling-improvements
Lucas Di Pentima [Thu, 11 Mar 2021 17:40:54 +0000 (14:40 -0300)]
16848: Changes layout for token & api host display. Reduces code block font.

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

3 years ago16848: Adds unit test.
Lucas Di Pentima [Wed, 10 Mar 2021 22:24:02 +0000 (19:24 -0300)]
16848: Adds unit test.

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

3 years ago16848: Moves the "get new token" button up.
Lucas Di Pentima [Tue, 9 Mar 2021 17:58:38 +0000 (14:58 -0300)]
16848: Moves the "get new token" button up.

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

3 years agoMerge branch '17436-Favorites-in-workflow-picker-dialog-is-different-to-favorite...
Daniel Kutyła [Tue, 9 Mar 2021 16:54:35 +0000 (17:54 +0100)]
Merge branch '17436-Favorites-in-workflow-picker-dialog-is-different-to-favorite-list'
closes #17436

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Updates unit test.
Lucas Di Pentima [Tue, 9 Mar 2021 16:31:25 +0000 (13:31 -0300)]
16848: Updates unit test.

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

3 years ago16848: Updates 'get api token' dialog.
Lucas Di Pentima [Tue, 9 Mar 2021 16:00:30 +0000 (13:00 -0300)]
16848: Updates 'get api token' dialog.

Adds individual copyable api host & token information in additional to the
currently present shell code block.

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

3 years ago17436: Created generic code for project creation in cypress 17436-Favorites-in-workflow-picker-dialog-is-different-to-favorite-list
Daniel Kutyła [Mon, 8 Mar 2021 22:38:08 +0000 (23:38 +0100)]
17436: Created generic code for project creation in cypress

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Resets extra cached token from the store when not valid anymore.
Lucas Di Pentima [Mon, 8 Mar 2021 17:04:45 +0000 (14:04 -0300)]
16848: Resets extra cached token from the store when not valid anymore.

This is to make the "Get API token" dialog default to the wb2's session token.

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

3 years ago16848: Checks cached token validity before using it.
Lucas Di Pentima [Mon, 8 Mar 2021 15:22:06 +0000 (12:22 -0300)]
16848: Checks cached token validity before using it.

The cached token could be invalid or have its expiration date changed from an
API call outside Workbench2.

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

3 years ago17436: Code cleanup
Daniel Kutyła [Mon, 8 Mar 2021 07:30:14 +0000 (08:30 +0100)]
17436: Code cleanup

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Adds a legend for non-expiring tokens on the get token dialog.
Lucas Di Pentima [Fri, 5 Mar 2021 15:32:27 +0000 (12:32 -0300)]
16848: Adds a legend for non-expiring tokens on the get token dialog.

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

3 years agoMerge branch '17414-Collection-file-listing-shows-only-half-of-the-last-entry'
Daniel Kutyła [Thu, 4 Mar 2021 18:30:48 +0000 (19:30 +0100)]
Merge branch '17414-Collection-file-listing-shows-only-half-of-the-last-entry'
closes #17414

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17436: fixed workflow cration favorites list
Daniel Kutyła [Wed, 3 Mar 2021 21:45:47 +0000 (22:45 +0100)]
17436: fixed workflow cration favorites list

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Adds valid file names test cases.
Lucas Di Pentima [Wed, 3 Mar 2021 21:22:07 +0000 (18:22 -0300)]
17337: Adds valid file names test cases.

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

3 years ago17414: Added padding to the last element 17414-Collection-file-listing-shows-only-half-of-the-last-entry
Daniel Kutyła [Tue, 2 Mar 2021 10:54:48 +0000 (11:54 +0100)]
17414: Added padding to the last element

 Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Removed test restriction
Daniel Kutyła [Thu, 25 Feb 2021 20:53:17 +0000 (21:53 +0100)]
17337: Removed test restriction

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Added more tests, fixed whitespace issue
Daniel Kutyła [Thu, 25 Feb 2021 20:34:41 +0000 (21:34 +0100)]
17337: Added more tests, fixed whitespace issue

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17337: Fixed encode uri
Daniel Kutyła [Tue, 23 Feb 2021 21:35:31 +0000 (22:35 +0100)]
17337: Fixed encode uri

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Adds unit tests.
Lucas Di Pentima [Tue, 23 Feb 2021 20:52:58 +0000 (17:52 -0300)]
16848: Adds unit tests.

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

3 years ago16848: Adds expiration date to the "Get API Token" dialog.
Lucas Di Pentima [Tue, 23 Feb 2021 19:30:26 +0000 (16:30 -0300)]
16848: Adds expiration date to the "Get API Token" dialog.

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

3 years ago16848: Only request an extra token when needed.
Lucas Di Pentima [Tue, 23 Feb 2021 16:10:47 +0000 (13:10 -0300)]
16848: Only request an extra token when needed.

Instead of preemptively asking for the extra token at session init, ask for
one every time it's needed, avoiding creating unused tokens.

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

3 years agoMerge branch 'master' into 16848-token-handling-improvements
Lucas Di Pentima [Mon, 22 Feb 2021 21:04:57 +0000 (18:04 -0300)]
Merge branch 'master' into 16848-token-handling-improvements

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

3 years agoMerge branch '17319-service-layer-uuid-validation'
Lucas Di Pentima [Mon, 22 Feb 2021 20:34:06 +0000 (17:34 -0300)]
Merge branch '17319-service-layer-uuid-validation'
Closes #17319

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

3 years ago17319: Don't use a real axios instance if not needed. 17319-service-layer-uuid-validation
Lucas Di Pentima [Mon, 22 Feb 2021 20:24:28 +0000 (17:24 -0300)]
17319: Don't use a real axios instance if not needed.

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

3 years ago17319: Unit test code cleanup.
Lucas Di Pentima [Mon, 22 Feb 2021 20:17:42 +0000 (17:17 -0300)]
17319: Unit test code cleanup.

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

3 years ago17319: Moved mocks' initializations into beforeEach().
Lucas Di Pentima [Mon, 22 Feb 2021 19:59:40 +0000 (16:59 -0300)]
17319: Moved mocks' initializations into beforeEach().

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

3 years ago17319: Throws exceptions when attempting to use "" as uuid on service calls.
Lucas Di Pentima [Fri, 19 Feb 2021 20:28:20 +0000 (17:28 -0300)]
17319: Throws exceptions when attempting to use "" as uuid on service calls.

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

3 years ago17319: Adds tests exposing the bug.
Lucas Di Pentima [Fri, 19 Feb 2021 20:27:37 +0000 (17:27 -0300)]
17319: Adds tests exposing the bug.

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

3 years agoMerge branch '17306-Favorites-in-copy-dialog-is-different-to-favorite-list'
Daniel Kutyła [Thu, 18 Feb 2021 21:12:08 +0000 (22:12 +0100)]
Merge branch '17306-Favorites-in-copy-dialog-is-different-to-favorite-list'
closes #17306

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17306: Fixed tests for collections 17306-Favorites-in-copy-dialog-is-different-to-favorite-list
Daniel Kutyła [Thu, 18 Feb 2021 19:34:25 +0000 (20:34 +0100)]
17306: Fixed tests for collections

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Fixes unit test.
Lucas Di Pentima [Wed, 17 Feb 2021 23:31:07 +0000 (20:31 -0300)]
16848: Fixes unit test.

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

3 years ago17306: Fixed copying of a collection elements
Daniel Kutyła [Wed, 17 Feb 2021 21:45:42 +0000 (22:45 +0100)]
17306: Fixed copying of a collection elements

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago17306: Code cleanup
Daniel Kutyła [Wed, 17 Feb 2021 21:13:46 +0000 (22:13 +0100)]
17306: Code cleanup

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>01~

3 years ago17306: Fixed typos
Daniel Kutyła [Wed, 17 Feb 2021 21:01:41 +0000 (22:01 +0100)]
17306: Fixed typos

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>01~

3 years ago16848: Always use wb2 token when LoginCluster is set and isn't the home cluster
Lucas Di Pentima [Wed, 17 Feb 2021 20:53:05 +0000 (17:53 -0300)]
16848: Always use wb2 token when LoginCluster is set and isn't the home cluster

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

3 years ago17306: Failing test fix
Daniel Kutyła [Wed, 17 Feb 2021 20:48:43 +0000 (21:48 +0100)]
17306: Failing test fix

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Avoids showing API errors when the extra token creation fails.
Lucas Di Pentima [Wed, 17 Feb 2021 18:48:32 +0000 (15:48 -0300)]
16848: Avoids showing API errors when the extra token creation fails.

If the cluster's config API.TokenLifetime isn't zero, creating new tokens
isn't allowed. From wb2's side, there's no way to know in advance if this
will be allowed so this commit avoids showing the error on app's bootup
and shows a warning message on the UI when the user tries to do it manually.

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

3 years ago16848: Makes 'Open as S3 bucket' dialog use the extra api token if available.
Lucas Di Pentima [Tue, 16 Feb 2021 23:11:07 +0000 (20:11 -0300)]
16848: Makes 'Open as S3 bucket' dialog use the extra api token if available.

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

3 years ago16848: Adds an extra token to be displayed on the 'get token' dialog.
Lucas Di Pentima [Tue, 16 Feb 2021 23:00:57 +0000 (20:00 -0300)]
16848: Adds an extra token to be displayed on the 'get token' dialog.

Also, adds a "Get new token" button to the dialog to allow the user to
request new tokens.
These extra tokens won't be expired on logout, so they're suitable for use
on S3 URLs and other tasks the user may need.

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

3 years ago17306: Fixed copying of a collection elements
Daniel Kutyła [Tue, 16 Feb 2021 22:18:22 +0000 (23:18 +0100)]
17306: Fixed copying of a collection elements

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

3 years ago16848: Adds test for idle timer reset via localStorage event.
Lucas Di Pentima [Mon, 15 Feb 2021 21:03:30 +0000 (18:03 -0300)]
16848: Adds test for idle timer reset via localStorage event.

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

3 years ago16848: Improved event handler installation/removal.
Lucas Di Pentima [Mon, 15 Feb 2021 20:44:13 +0000 (17:44 -0300)]
16848: Improved event handler installation/removal.

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

3 years ago16848: Synchronizes auto-logout between different windows/tabs.
Lucas Di Pentima [Fri, 12 Feb 2021 22:54:41 +0000 (19:54 -0300)]
16848: Synchronizes auto-logout between different windows/tabs.

On user action, a localStorage key is updated with the timestamp. The other
windows/tabs of the same app receive the change event and reset the idle
timer accordingly.
There's some event debouncing going on so there's a 1 sec delay between
the active window/tab and the rest.

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