arvados-workbench2.git
3 years ago16243: Removed console.log 16243-filter-files-by-name-on-collections-file-listing
Daniel Kutyła [Tue, 22 Sep 2020 15:40:07 +0000 (17:40 +0200)]
16243: Removed console.log

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

3 years ago16243: Fixed copy of selected items to new collection
Daniel Kutyła [Mon, 21 Sep 2020 16:09:35 +0000 (18:09 +0200)]
16243: Fixed copy of selected items to new collection

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

3 years ago16243: Added reducer changes in order to make file download valid
Daniel Kutyła [Wed, 16 Sep 2020 21:59:49 +0000 (23:59 +0200)]
16243: Added reducer changes in order to make file download valid

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

3 years ago16243: Added tests
Daniel Kutyła [Fri, 11 Sep 2020 22:41:59 +0000 (00:41 +0200)]
16243: Added tests

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

3 years ago16243: Added filtering for collection files
Daniel Kutyła [Fri, 11 Sep 2020 18:50:24 +0000 (20:50 +0200)]
16243: Added filtering for collection files

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

3 years agoMerge branch '16680-expired-token-handling'
Lucas Di Pentima [Wed, 2 Sep 2020 14:22:26 +0000 (11:22 -0300)]
Merge branch '16680-expired-token-handling'
Closes #16680

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

3 years ago16680: Adds end-to-end test convering invalid token and auto log-out. 16680-expired-token-handling
Lucas Di Pentima [Tue, 1 Sep 2020 13:40:57 +0000 (10:40 -0300)]
16680: Adds end-to-end test convering invalid token and auto log-out.

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

3 years ago16680: Updates deprecated MAINTAINER use on Dockerfile.
Lucas Di Pentima [Mon, 31 Aug 2020 13:48:46 +0000 (10:48 -0300)]
16680: Updates deprecated MAINTAINER use on Dockerfile.

See: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated

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

3 years agoMerge branch '16602-wb2-acr-version' refs #16602
Peter Amstutz [Fri, 28 Aug 2020 20:25:44 +0000 (16:25 -0400)]
Merge branch '16602-wb2-acr-version' refs #16602

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

3 years ago16602: Add missing semicolon. 16602-wb2-acr-version
Peter Amstutz [Fri, 28 Aug 2020 20:07:22 +0000 (16:07 -0400)]
16602: Add missing semicolon.

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

3 years ago16680: Logs out the user when token expires.
Lucas Di Pentima [Thu, 27 Aug 2020 21:51:53 +0000 (18:51 -0300)]
16680: Logs out the user when token expires.

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

3 years agoMerge branch '16743-blank-page-for-some-links'
Daniel Kutyła [Thu, 27 Aug 2020 18:24:27 +0000 (20:24 +0200)]
Merge branch '16743-blank-page-for-some-links'
Closes #16743

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

3 years ago16602: Test for using advanced settings from workflow
Peter Amstutz [Thu, 27 Aug 2020 18:12:55 +0000 (14:12 -0400)]
16602: Test for using advanced settings from workflow

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

3 years ago16743: Removed console.log's updated tests 16743-blank-page-for-some-links
Daniel Kutyła [Thu, 27 Aug 2020 16:25:04 +0000 (18:25 +0200)]
16743: Removed console.log's updated tests

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

3 years ago16602: Read WorkflowRunnerResources from workflow to get advanced settings
Peter Amstutz [Wed, 26 Aug 2020 21:18:09 +0000 (17:18 -0400)]
16602: Read WorkflowRunnerResources from workflow to get advanced settings

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

3 years ago16743: fix for non existing parent project
Daniel Kutyła [Wed, 26 Aug 2020 21:08:37 +0000 (23:08 +0200)]
16743: fix for non existing parent project

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

3 years agoMerge branch '16314-test-user-db'
Tom Clegg [Wed, 26 Aug 2020 20:22:08 +0000 (16:22 -0400)]
Merge branch '16314-test-user-db'

refs #16314

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years ago16314: Fix syntax. 16314-test-user-db
Tom Clegg [Wed, 26 Aug 2020 13:50:52 +0000 (09:50 -0400)]
16314: Fix syntax.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years agoMerge branch '16735-Require-password-login'
Daniel Kutyła [Mon, 24 Aug 2020 14:55:53 +0000 (16:55 +0200)]
Merge branch '16735-Require-password-login'
Closes #16735

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

3 years ago16735: Added test for non existing method 16735-Require-password-login
Daniel Kutyła [Mon, 24 Aug 2020 13:52:38 +0000 (15:52 +0200)]
16735: Added test for non existing method

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

3 years ago16314: Invoke user/pass prompt for Test authentication method.
Tom Clegg [Fri, 21 Aug 2020 18:55:24 +0000 (14:55 -0400)]
16314: Invoke user/pass prompt for Test authentication method.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years ago16735: Added array of possible login methods
Daniel Kutyła [Fri, 21 Aug 2020 15:44:01 +0000 (17:44 +0200)]
16735: Added array of possible login methods

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

3 years ago16735: Added better checks for the PAM and LDAP login
Daniel Kutyła [Fri, 21 Aug 2020 12:56:45 +0000 (14:56 +0200)]
16735: Added better checks for the PAM and LDAP login

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

3 years agoMerge branch '16659-copy-api-token-to-clipboard'
Daniel Kutyła [Tue, 18 Aug 2020 15:30:17 +0000 (17:30 +0200)]
Merge branch '16659-copy-api-token-to-clipboard'
Closes #16659

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

3 years ago16659: Added copy of full token, fixed tests 16659-copy-api-token-to-clipboard
Daniel Kutyła [Mon, 17 Aug 2020 18:37:55 +0000 (20:37 +0200)]
16659: Added copy of full token, fixed tests

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

3 years agoMerge branch '16683-fed-sharing' refs #16683
Peter Amstutz [Fri, 14 Aug 2020 21:02:44 +0000 (17:02 -0400)]
Merge branch '16683-fed-sharing' refs #16683

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

3 years ago16683: Take count out from list params. Fix getPublicGroupUuid 16683-fed-sharing
Peter Amstutz [Fri, 14 Aug 2020 19:41:31 +0000 (15:41 -0400)]
16683: Take count out from list params. Fix getPublicGroupUuid

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

3 years ago16683: Remove reference to "klingenc"
Peter Amstutz [Fri, 14 Aug 2020 18:58:44 +0000 (14:58 -0400)]
16683: Remove reference to "klingenc"

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

3 years ago16683: Tweak other calls to user listing to work with federated users
Peter Amstutz [Fri, 14 Aug 2020 18:49:03 +0000 (14:49 -0400)]
16683: Tweak other calls to user listing to work with federated users

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

3 years ago16683: Add count: "none" to sharing dialog
Peter Amstutz [Thu, 13 Aug 2020 18:22:40 +0000 (14:22 -0400)]
16683: Add count: "none" to sharing dialog

To work with federated user listing.

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

3 years ago16659: Removed not required semicolon
Daniel Kutyła [Fri, 7 Aug 2020 21:20:12 +0000 (23:20 +0200)]
16659: Removed not required semicolon

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

3 years ago16659: Added copy to clipboard button for the api token
Daniel Kutyła [Fri, 7 Aug 2020 18:22:08 +0000 (20:22 +0200)]
16659: Added copy to clipboard button for the api token

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

3 years agoMerge branch '16627-add-refresh-button-to-views'
Daniel Kutyła [Wed, 29 Jul 2020 19:18:36 +0000 (21:18 +0200)]
Merge branch '16627-add-refresh-button-to-views'
Closes #16627

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

3 years ago16627: Replaced push with replace for history 16627-add-refresh-button-to-views
Daniel Kutyła [Wed, 29 Jul 2020 17:18:38 +0000 (19:18 +0200)]
16627: Replaced push with replace for history

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

3 years ago16627: Added refresh button to main contet bar
Daniel Kutyła [Tue, 28 Jul 2020 21:32:20 +0000 (23:32 +0200)]
16627: Added refresh button to main contet bar

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

3 years agoMerge branch '16594-Add-project-uuid-when-starting-workflow'
Daniel Kutyła [Fri, 24 Jul 2020 19:31:07 +0000 (21:31 +0200)]
Merge branch '16594-Add-project-uuid-when-starting-workflow'
Closes #16594

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

3 years ago16594: Added unit tests 16594-Add-project-uuid-when-starting-workflow
Daniel Kutyła [Fri, 17 Jul 2020 21:53:34 +0000 (23:53 +0200)]
16594: Added unit tests

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

3 years ago16594: Added project-uuid when starting workflow
Daniel Kutyła [Fri, 17 Jul 2020 20:54:09 +0000 (22:54 +0200)]
16594: Added project-uuid when starting workflow

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

3 years agoMerge branch '16245-horizontal-scroll-bar-is-at-the-bottom-of-the-page-instead-of...
Daniel Kutyła [Wed, 15 Jul 2020 15:51:44 +0000 (17:51 +0200)]
Merge branch '16245-horizontal-scroll-bar-is-at-the-bottom-of-the-page-instead-of-the-viewport'
Closes #16245

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

3 years ago16245: added calculated height and overflow y scroll to data table
Daniel Kutyła [Tue, 14 Jul 2020 19:55:05 +0000 (21:55 +0200)]
16245: added calculated height and overflow y scroll to data table

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

3 years agoMerge branch '14990-attempting-to-navigate-to-non-existent-path-not-handled'
Daniel Kutyła [Mon, 13 Jul 2020 19:08:00 +0000 (21:08 +0200)]
Merge branch '14990-attempting-to-navigate-to-non-existent-path-not-handled'
Closes #14990

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

3 years ago14990: added 404 page with wildcard route
Daniel Kutyła [Wed, 24 Jun 2020 20:36:52 +0000 (22:36 +0200)]
14990: added 404 page with wildcard route

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

3 years agoMerge branch '15610-large-collection-perf-fix'
Lucas Di Pentima [Fri, 10 Jul 2020 21:52:43 +0000 (18:52 -0300)]
Merge branch '15610-large-collection-perf-fix'
Closes #15610

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

3 years ago15610: Reduces vertical spacing on ExpansionPanel sub-component. 15610-large-collection-perf-fix
Lucas Di Pentima [Fri, 10 Jul 2020 20:23:05 +0000 (17:23 -0300)]
15610: Reduces vertical spacing on ExpansionPanel sub-component.

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

3 years ago15610: Uses only ExpansionPanel as the top 2 panels on collection's view.
Lucas Di Pentima [Fri, 10 Jul 2020 20:09:02 +0000 (17:09 -0300)]
15610: Uses only ExpansionPanel as the top 2 panels on collection's view.

This is to make both ExpansionPanels be by each other without any separation
when both are collapsed, saving a little more vertical space.

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

3 years ago15610: Clears the collection's files panel before loading the UI.
Lucas Di Pentima [Fri, 10 Jul 2020 17:51:41 +0000 (14:51 -0300)]
15610: Clears the collection's files panel before loading the UI.

This avoids flickering on the files panel.

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

3 years ago15610: Makes the 2 top cards collapsable on collection panel.
Lucas Di Pentima [Tue, 7 Jul 2020 21:37:08 +0000 (18:37 -0300)]
15610: Makes the 2 top cards collapsable on collection panel.

The bottom card (file listing) will fill the available space making it easier
to browse files.

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

3 years agoMerge branch '16582-dockerfile-go114'
Nico Cesar [Wed, 1 Jul 2020 22:28:57 +0000 (18:28 -0400)]
Merge branch '16582-dockerfile-go114'
Closes #16582

Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico@curii.com>

3 years ago16582: Update the Dockerfile maintainer. 16582-dockerfile-go114
Ward Vandewege [Wed, 1 Jul 2020 18:04:20 +0000 (14:04 -0400)]
16582: Update the Dockerfile maintainer.

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

3 years agoUpgraded Go to 1.14 in the dockerfile
Nico Cesar [Wed, 1 Jul 2020 17:38:14 +0000 (13:38 -0400)]
Upgraded Go to 1.14 in the dockerfile

Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico@curii.com>

3 years ago15610: Replaces the 'loading files...' string with a circular spinner.
Lucas Di Pentima [Tue, 30 Jun 2020 20:19:01 +0000 (17:19 -0300)]
15610: Replaces the 'loading files...' string with a circular spinner.

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

3 years ago15610: Temporarily disables file renaming menu item, until it's fixed.
Lucas Di Pentima [Tue, 30 Jun 2020 20:11:45 +0000 (17:11 -0300)]
15610: Temporarily disables file renaming menu item, until it's fixed.

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

3 years ago15610: Fixes layout issues with the collection panel file listing.
Lucas Di Pentima [Tue, 30 Jun 2020 19:29:43 +0000 (16:29 -0300)]
15610: Fixes layout issues with the collection panel file listing.

* VirtualTree now just occupies all available space.
* VirtualTree's root container expands so that it occupies the remaining
  height of the browser window.
* Reduced vertical padding on many places to show more information on screen.
* Moved file listing 'hamburger' button next to the 'upload button' to save
  vertical space.

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

3 years ago15610: Adds behaviors like the original Tree, and max height on VirtualTree.
Lucas Di Pentima [Fri, 26 Jun 2020 20:25:10 +0000 (17:25 -0300)]
15610: Adds behaviors like the original Tree, and max height on VirtualTree.

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

3 years ago15610: Code cleanup, styiling additions. (WIP)
Lucas Di Pentima [Wed, 24 Jun 2020 21:45:31 +0000 (18:45 -0300)]
15610: Code cleanup, styiling additions. (WIP)

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

3 years agoMerge branch '16472-service-layer-snackbar-fix'
Lucas Di Pentima [Wed, 24 Jun 2020 20:37:21 +0000 (17:37 -0300)]
Merge branch '16472-service-layer-snackbar-fix'
Closes #16472

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

3 years ago16472: Adds parameter to commonService.get to avoid showing errors. 16472-service-layer-snackbar-fix
Lucas Di Pentima [Tue, 26 May 2020 13:28:14 +0000 (10:28 -0300)]
16472: Adds parameter to commonService.get to avoid showing errors.

Sometimes errors will be handled and a service layer UI error indication isn't
needed. Confuses users, and also could affect testing.

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

16472: Fixes param passing avoiding key mapping to camelCase.

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

3 years ago15610: Uses a virtualized list to show the collection's file tree. (WIP)
Lucas Di Pentima [Tue, 23 Jun 2020 14:37:54 +0000 (11:37 -0300)]
15610: Uses a virtualized list to show the collection's file tree. (WIP)

This greatly improves rendering times when showing collections with many
files on a directory.
This is a POC: the whole tree is rendered expanded to show that it doesn't
affect render times, it still needs lots of tweaking to offer the same
behavior as before.

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

3 years agoMerge branch '16437-indicate-when-projects-are-not-editable-by-user'
Daniel Kutyła [Wed, 17 Jun 2020 19:53:54 +0000 (21:53 +0200)]
Merge branch '16437-indicate-when-projects-are-not-editable-by-user'
Closes #16437

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

3 years ago16437: Removes context items when projects are not editable by user
Daniel Kutyła [Fri, 5 Jun 2020 20:35:40 +0000 (22:35 +0200)]
16437: Removes context items when projects are not editable by user

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

3 years ago15610: Avoids loading the file list on big collections, offers manual loading.
Lucas Di Pentima [Mon, 15 Jun 2020 19:03:58 +0000 (16:03 -0300)]
15610: Avoids loading the file list on big collections, offers manual loading.

After the previous performance enhancements, 75% of the time spent to show
the collection's files goes to the WebDAV request + parsing, so to avoid
inadvertently freezing the UI, when the file_count field passes a predefined
value (now 40k files), the user gets the option to manually load the file
listing by clicking on a button.

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

3 years ago15610: Removes dead code about collection manifest parsing.
Lucas Di Pentima [Fri, 12 Jun 2020 22:11:59 +0000 (19:11 -0300)]
15610: Removes dead code about collection manifest parsing.

File handling is done via WebDAV, I guess the code was written before
we had the service available.

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

3 years ago15610: Shows status indicator while loading collection's file data.
Lucas Di Pentima [Fri, 12 Jun 2020 20:54:31 +0000 (17:54 -0300)]
15610: Shows status indicator while loading collection's file data.

This includes the general app progress indicator, and a '(loading files...)'
text label where the file tree should be rendered.

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

3 years ago15610: Fixes file downloading.
Lucas Di Pentima [Fri, 12 Jun 2020 19:42:45 +0000 (16:42 -0300)]
15610: Fixes file downloading.

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

3 years ago15610: Enhances performance on tree handling.
Lucas Di Pentima [Fri, 12 Jun 2020 18:07:23 +0000 (15:07 -0300)]
15610: Enhances performance on tree handling.

Large trees (eg: large collection file hierarchies) handling performance boost
by doing in-place data manipulations instead of functional programming style
data copying.
This enables workbench2 to gracefully show mid-sized collections of around
50k items without making the user wait too much for the UI to respond.

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

3 years agoMerge branch '16439-objects-creation-placement-fix-tests'
Lucas Di Pentima [Wed, 10 Jun 2020 19:55:27 +0000 (16:55 -0300)]
Merge branch '16439-objects-creation-placement-fix-tests'
Closes #16439

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

3 years agoMerge branch '16171-oidc'
Tom Clegg [Mon, 8 Jun 2020 14:30:20 +0000 (10:30 -0400)]
Merge branch '16171-oidc'

refs #16171

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years ago16171: Add OpenIDConnect login option to config struct. 16171-oidc
Tom Clegg [Thu, 4 Jun 2020 13:57:07 +0000 (09:57 -0400)]
16171: Add OpenIDConnect login option to config struct.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years ago16439: Adds e2e tests for creating collections & projects. 16439-objects-creation-placement-fix-tests
Lucas Di Pentima [Wed, 3 Jun 2020 21:46:59 +0000 (18:46 -0300)]
16439: Adds e2e tests for creating collections & projects.

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

3 years agoMerge branch '16439-objects-creation-placement-fix'
Lucas Di Pentima [Wed, 3 Jun 2020 16:57:50 +0000 (13:57 -0300)]
Merge branch '16439-objects-creation-placement-fix'
Refs #16439

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

3 years ago16439: Adds SidePanelButton clickability tests.
Lucas Di Pentima [Tue, 2 Jun 2020 22:14:19 +0000 (19:14 -0300)]
16439: Adds SidePanelButton clickability tests.

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

3 years ago16439: Merge branch 'master' into 16439-objects-creation-placement-fix
Lucas Di Pentima [Tue, 2 Jun 2020 19:14:27 +0000 (16:14 -0300)]
16439: Merge branch 'master' into 16439-objects-creation-placement-fix

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

3 years ago16439: Disables +NEW button even on trashed subprojects. 16439-objects-creation-placement-fix
Lucas Di Pentima [Tue, 2 Jun 2020 19:05:22 +0000 (16:05 -0300)]
16439: Disables +NEW button even on trashed subprojects.

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

3 years ago16439: Fixes colletion/project creation placement.
Lucas Di Pentima [Tue, 2 Jun 2020 18:47:42 +0000 (15:47 -0300)]
16439: Fixes colletion/project creation placement.

When the user was placed on other sections than 'Projects' on the side
panel, the newly created collections/projects were going to the user's
home project.

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

3 years ago16439: Enables the +NEW button only when the user's view is writable.
Lucas Di Pentima [Mon, 1 Jun 2020 21:30:19 +0000 (18:30 -0300)]
16439: Enables the +NEW button only when the user's view is writable.

Also, makes the SidePanelButton component to not depend on a state property
set by a something rendered later, because that makes the button being
re-renderered at least twice on every location change, instead try to get the
current item id from the location url.

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

3 years ago16439: Reduces vertical spacing between form elements.
Lucas Di Pentima [Mon, 1 Jun 2020 13:49:29 +0000 (10:49 -0300)]
16439: Reduces vertical spacing between form elements.

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

3 years ago16439: Updates field label.
Lucas Di Pentima [Fri, 29 May 2020 18:59:42 +0000 (15:59 -0300)]
16439: Updates field label.

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

3 years ago16439: Adds read-only field 'Location' to project/collection creation dialogs.
Lucas Di Pentima [Fri, 29 May 2020 14:05:24 +0000 (11:05 -0300)]
16439: Adds read-only field 'Location' to project/collection creation dialogs.

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

3 years ago16439: Sends the user to the newly created project/collection.
Lucas Di Pentima [Thu, 28 May 2020 18:05:01 +0000 (15:05 -0300)]
16439: Sends the user to the newly created project/collection.

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

3 years agoMerge branch '16118-readonly-collections-lucas'
Lucas Di Pentima [Thu, 28 May 2020 00:11:54 +0000 (21:11 -0300)]
Merge branch '16118-readonly-collections-lucas'
Closes #16118

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

3 years ago16118: Shows only the readonly icon by the collection's name. 16118-readonly-collections-lucas
Lucas Di Pentima [Wed, 27 May 2020 23:57:55 +0000 (20:57 -0300)]
16118: Shows only the readonly icon by the collection's name.

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

3 years ago16439: Allows creation of empty (no files) collections.
Lucas Di Pentima [Tue, 26 May 2020 15:18:17 +0000 (12:18 -0300)]
16439: Allows creation of empty (no files) collections.

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

3 years ago16439: Fixes WebDAV request URL.
Lucas Di Pentima [Wed, 27 May 2020 21:21:38 +0000 (18:21 -0300)]
16439: Fixes WebDAV request URL.

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

3 years ago16118: Changes the testing viewport size to avoid spurious test failures.
Lucas Di Pentima [Tue, 26 May 2020 14:18:47 +0000 (11:18 -0300)]
16118: Changes the testing viewport size to avoid spurious test failures.

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

3 years ago16118: Restablishes error snackbar on requests.
Lucas Di Pentima [Fri, 22 May 2020 20:37:23 +0000 (17:37 -0300)]
16118: Restablishes error snackbar on requests.

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

3 years ago16118: Changes read-only icon to be a slash+pencil fontawesome composite.
Lucas Di Pentima [Fri, 22 May 2020 20:31:32 +0000 (17:31 -0300)]
16118: Changes read-only icon to be a slash+pencil fontawesome composite.

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

3 years ago16118: Enhances tests. Adds custom commands for resource creation.
Lucas Di Pentima [Fri, 22 May 2020 18:29:54 +0000 (15:29 -0300)]
16118: Enhances tests. Adds custom commands for resource creation.

* Checks that the properties editor form doesn't get shown on readonly colls.
* Creates collections inside a shared group to check for writability.

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

3 years agoMerge branch '15881-ldap'
Lucas Di Pentima [Mon, 18 May 2020 21:03:42 +0000 (18:03 -0300)]
Merge branch '15881-ldap'
Refs #15881

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

3 years ago16118: Fixes webdav tests by handling baseURLs with or without trailing slash.
Lucas Di Pentima [Mon, 18 May 2020 13:45:55 +0000 (10:45 -0300)]
16118: Fixes webdav tests by handling baseURLs with or without trailing slash.

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

3 years ago16118: Adds test checking writable/readonly collection UI changes.
Lucas Di Pentima [Mon, 18 May 2020 13:12:23 +0000 (10:12 -0300)]
16118: Adds test checking writable/readonly collection UI changes.

WIP: There's deactivated code that shows a snackbar whenever a service request
returns an error, no matter if the error is handled somewhere up in the stack.
I think that isn't a good approach, also it prevents the 'readonly' case to
work because the snackbar appears in fron of a menu button and cannot be
clicked.

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

3 years ago16118: Fixes WebDAV request URL.
Lucas Di Pentima [Fri, 15 May 2020 14:21:18 +0000 (11:21 -0300)]
16118: Fixes WebDAV request URL.

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

3 years ago16118: Merge branch '15881-ldap' into 16118-readonly-collections-lucas
Lucas Di Pentima [Thu, 14 May 2020 23:46:57 +0000 (20:46 -0300)]
16118: Merge branch '15881-ldap' into 16118-readonly-collections-lucas

Need this before it gets merged to master to successfully run e2e test.

3 years ago15881: Simplifies code that decides if it need to show a login form. 15881-ldap
Lucas Di Pentima [Thu, 14 May 2020 21:37:29 +0000 (18:37 -0300)]
15881: Simplifies code that decides if it need to show a login form.

Also, remove any trailing slashes on service's ExternalURLs coming from the
exported cluster config.
Refs #16392

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

3 years ago15881: Use user/pass login if server config uses LDAP.
Tom Clegg [Thu, 14 May 2020 18:31:28 +0000 (14:31 -0400)]
15881: Use user/pass login if server config uses LDAP.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

3 years ago16118: Changes read-only padlock icon with an explicit legend.
Lucas Di Pentima [Mon, 11 May 2020 19:53:27 +0000 (16:53 -0300)]
16118: Changes read-only padlock icon with an explicit legend.

Also adds cypress-specific attributes to be able to get UI elements in a more
readable way.

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

3 years ago16118: Adds collection's integration test suite (WIP)
Lucas Di Pentima [Mon, 11 May 2020 19:50:21 +0000 (16:50 -0300)]
16118: Adds collection's integration test suite (WIP)

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

3 years ago16118: Restricts UI elements when a collection is read-only.
Lucas Di Pentima [Fri, 1 May 2020 20:56:22 +0000 (17:56 -0300)]
16118: Restricts UI elements when a collection is read-only.

* Shows a lock icon indicating the read-only access.
* The three-dotted 'More options' menu only shows appropriate actions.
* The properties panel only shows properties without the 'delete tag' button.
* The files panel general 'More options' menu shows appropriate actions.
* The files panel individual context menu also filters editing action when
  read-only.
* The files panel's upload button isn't rendered on read-only collections.

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

3 years agoMerge branch '16212-login-form'
Lucas Di Pentima [Thu, 30 Apr 2020 20:45:42 +0000 (17:45 -0300)]
Merge branch '16212-login-form'
Refs #16212

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

3 years ago16212: Adds tests for login via user/password form. 16212-login-form
Lucas Di Pentima [Tue, 28 Apr 2020 22:06:02 +0000 (19:06 -0300)]
16212: Adds tests for login via user/password form.

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

3 years ago16212: Refactors PeopleSelect component used on 'Share' dialog.
Lucas Di Pentima [Mon, 27 Apr 2020 22:06:29 +0000 (19:06 -0300)]
16212: Refactors PeopleSelect component used on 'Share' dialog.

* Now named ParticipantSelect as it also retrieves Groups.
* Search for 'any' field on Users instead of just email.
* Don't request groups if 'onlyPeople' prop passed.
* Show users' display name, including email.
* Fix chip rendering to show the same as what's listed.

TBD: ParticipantSelect retrieves only 5 items per request when autocompleting.
This may not be what users expect, but listing too many items require UI
adjustments.

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