arvados.git
3 years agoMerge branch '17246-salt-install-improvements'
Javier Bértoli [Tue, 20 Apr 2021 18:35:48 +0000 (15:35 -0300)]
Merge branch '17246-salt-install-improvements'

closes #17246

Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agofeat(provision): pin arvados version to latest stable
Javier Bértoli [Mon, 19 Apr 2021 18:52:17 +0000 (15:52 -0300)]
feat(provision): pin arvados version to latest stable

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agofix(provision): default to using the master branch of arvados-formula
Javier Bértoli [Mon, 19 Apr 2021 17:53:10 +0000 (14:53 -0300)]
fix(provision): default to using the master branch of arvados-formula

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agodocs(provision): improve the documentation in the examples
Javier Bértoli [Mon, 19 Apr 2021 13:00:43 +0000 (10:00 -0300)]
docs(provision): improve the documentation in the examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agorefactor(provision): add snakeoil certs in single host multiple hostnames
Javier Bértoli [Fri, 16 Apr 2021 22:05:34 +0000 (19:05 -0300)]
refactor(provision): add snakeoil certs in single host multiple hostnames

We could use the example states in the formula, but added them here
for the sake of completeness

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agodocs(provision): improve the documentation in the examples
Javier Bértoli [Fri, 16 Apr 2021 22:02:27 +0000 (19:02 -0300)]
docs(provision): improve the documentation in the examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agorefactor(provision): add host entries in single host multiple hostnames
Javier Bértoli [Fri, 16 Apr 2021 22:01:12 +0000 (19:01 -0300)]
refactor(provision): add host entries in single host multiple hostnames

We could use the example states in the formula, but added them here
for the sake of completeness

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agochore(provision): enable both examples in vagrant
Javier Bértoli [Fri, 16 Apr 2021 22:00:07 +0000 (19:00 -0300)]
chore(provision): enable both examples in vagrant

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agodocs(provision): explain options in config examples
Javier Bértoli [Fri, 16 Apr 2021 19:09:13 +0000 (16:09 -0300)]
docs(provision): explain options in config examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agofeat(provision): add some checks before run
Javier Bértoli [Fri, 16 Apr 2021 19:07:57 +0000 (16:07 -0300)]
feat(provision): add some checks before run

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agorefactor(provision): delete parameters moved to config files
Javier Bértoli [Fri, 16 Apr 2021 19:06:08 +0000 (16:06 -0300)]
refactor(provision): delete parameters moved to config files

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agochore(provision): ignore some files in git
Javier Bértoli [Fri, 16 Apr 2021 19:04:15 +0000 (16:04 -0300)]
chore(provision): ignore some files in git

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agorefactor(provision): use uniform database parameters across examples
Javier Bértoli [Fri, 16 Apr 2021 19:01:52 +0000 (16:01 -0300)]
refactor(provision): use uniform database parameters across examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agoMerge branch '17530-arvados-client-fastfail-take2'
Nico Cesar [Fri, 16 Apr 2021 21:00:42 +0000 (17:00 -0400)]
Merge branch '17530-arvados-client-fastfail-take2'

closes #17530

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

3 years agofix(provision): run hosts/snakeoil states before nginx so it does not fail on missing...
Javier Bértoli [Fri, 16 Apr 2021 18:58:34 +0000 (15:58 -0300)]
fix(provision): run hosts/snakeoil states before nginx so it does not fail on missing deps

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agochore(provision): set postgresql cidr in single host examples
Javier Bértoli [Fri, 16 Apr 2021 18:37:07 +0000 (15:37 -0300)]
chore(provision): set postgresql cidr in single host examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agofix(provision): use uniform database parameters across examples
Javier Bértoli [Fri, 16 Apr 2021 18:36:18 +0000 (15:36 -0300)]
fix(provision): use uniform database parameters across examples

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years ago17530: Added check if API host is missing
Nico Cesar [Thu, 15 Apr 2021 16:26:42 +0000 (12:26 -0400)]
17530: Added check if API host is missing

CallRaw() will have a retry logic so 3s * 20 = 60s to fail,
and it will be explicit why this is happening.

KeepClient.discoverServices() to make it fail faster

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

3 years agoMerge branch '17529-listinstances-rate-limit'
Tom Clegg [Fri, 16 Apr 2021 14:44:07 +0000 (10:44 -0400)]
Merge branch '17529-listinstances-rate-limit'

refs #17529

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17529: Heed MaxCloudOpsPerSecond in Instances() and returned insts.
Tom Clegg [Fri, 16 Apr 2021 13:59:01 +0000 (09:59 -0400)]
17529: Heed MaxCloudOpsPerSecond in Instances() and returned insts.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17529-ec2-rate-limit'
Tom Clegg [Fri, 16 Apr 2021 13:40:25 +0000 (09:40 -0400)]
Merge branch '17529-ec2-rate-limit'

fixes #17529

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17171-pysdk-timeout-fix'
Lucas Di Pentima [Thu, 15 Apr 2021 20:03:45 +0000 (17:03 -0300)]
Merge branch '17171-pysdk-timeout-fix'
Closes #17171

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

3 years ago17171: Sets default timeout on arvados.api() to 10 seconds.
Lucas Di Pentima [Thu, 15 Apr 2021 19:53:41 +0000 (16:53 -0300)]
17171: Sets default timeout on arvados.api() to 10 seconds.

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

3 years ago17529: Update comment.
Tom Clegg [Thu, 15 Apr 2021 18:21:55 +0000 (14:21 -0400)]
17529: Update comment.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17529: Catch rate limit errors from DescribeInstances, too.
Tom Clegg [Thu, 15 Apr 2021 18:20:04 +0000 (14:20 -0400)]
17529: Catch rate limit errors from DescribeInstances, too.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17529: Heed MaxCloudOpsPerSecond when calling SetTags.
Tom Clegg [Thu, 15 Apr 2021 18:03:13 +0000 (14:03 -0400)]
17529: Heed MaxCloudOpsPerSecond when calling SetTags.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17171: Merge branch 'master' into 17171-pysdk-timeout-fix
Lucas Di Pentima [Thu, 15 Apr 2021 17:10:01 +0000 (14:10 -0300)]
17171: Merge branch 'master' into 17171-pysdk-timeout-fix

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

3 years ago17171: Fixes the bug by removing the default timeout value.
Lucas Di Pentima [Thu, 15 Apr 2021 17:08:07 +0000 (14:08 -0300)]
17171: Fixes the bug by removing the default timeout value.

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

3 years ago17171: Exposes bug with a test.
Lucas Di Pentima [Thu, 15 Apr 2021 17:07:36 +0000 (14:07 -0300)]
17171: Exposes bug with a test.

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

3 years agoMerge branch '17531-remove-forcelegacyapi14-config'
Tom Clegg [Thu, 15 Apr 2021 14:45:42 +0000 (10:45 -0400)]
Merge branch '17531-remove-forcelegacyapi14-config'

closes #17531

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17462-secondaryfiles-regression' refs #17462
Peter Amstutz [Thu, 15 Apr 2021 14:23:00 +0000 (10:23 -0400)]
Merge branch '17462-secondaryfiles-regression' refs #17462

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

3 years ago17462: Add integration test to confirm fix
Peter Amstutz [Thu, 15 Apr 2021 14:18:07 +0000 (10:18 -0400)]
17462: Add integration test to confirm fix

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

3 years agoFix regression refs #17462
Peter Amstutz [Wed, 14 Apr 2021 20:13:26 +0000 (16:13 -0400)]
Fix regression refs #17462

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

3 years ago17529: Return RequestLimitExceeded as a RateLimitError.
Tom Clegg [Wed, 14 Apr 2021 19:40:34 +0000 (15:40 -0400)]
17529: Return RequestLimitExceeded as a RateLimitError.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17522-arvput-stdin-transcode-fix'
Lucas Di Pentima [Wed, 14 Apr 2021 18:34:44 +0000 (15:34 -0300)]
Merge branch '17522-arvput-stdin-transcode-fix'
Closes #17522

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

3 years ago17522: Fixes bug, corrects updated test's assertion.
Lucas Di Pentima [Wed, 14 Apr 2021 18:14:21 +0000 (15:14 -0300)]
17522: Fixes bug, corrects updated test's assertion.

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

3 years ago17531: Remove ForceLegacyAPI14 config flag.
Tom Clegg [Wed, 14 Apr 2021 17:56:59 +0000 (13:56 -0400)]
17531: Remove ForceLegacyAPI14 config flag.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17522: Exposes bug through test. Also fixes help message.
Lucas Di Pentima [Wed, 14 Apr 2021 17:52:49 +0000 (14:52 -0300)]
17522: Exposes bug through test. Also fixes help message.

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

3 years agofix(provision): temp fix for nginx formula issue with snippets
Javier Bértoli [Tue, 13 Apr 2021 21:20:12 +0000 (18:20 -0300)]
fix(provision): temp fix for nginx formula issue with snippets

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agofeat(provision): add local.params example for multi-host
Javier Bértoli [Tue, 13 Apr 2021 21:19:29 +0000 (18:19 -0300)]
feat(provision): add local.params example for multi-host

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agoMerge branch '16159-token-expiration-on-logout'
Lucas Di Pentima [Tue, 13 Apr 2021 20:35:00 +0000 (17:35 -0300)]
Merge branch '16159-token-expiration-on-logout'
Refs #16159

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

3 years agoMerge branch '17462-default-secondaryfiles' refs #17462
Peter Amstutz [Tue, 13 Apr 2021 20:25:09 +0000 (16:25 -0400)]
Merge branch '17462-default-secondaryfiles' refs #17462

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

3 years ago17462: Fix tests
Peter Amstutz [Tue, 13 Apr 2021 19:23:26 +0000 (15:23 -0400)]
17462: Fix tests

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

3 years agofix(provision): use nginx-formula PR branch until changes are merged
Javier Bértoli [Tue, 13 Apr 2021 19:23:17 +0000 (16:23 -0300)]
fix(provision): use nginx-formula PR branch until changes are merged

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agodocs(provision): add salt usage with roles in multi-host
Javier Bértoli [Wed, 24 Mar 2021 18:25:33 +0000 (15:25 -0300)]
docs(provision): add salt usage with roles in multi-host

refs #17246
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

3 years agoMerge branch '17498-python3-migration-metapackages'
Ward Vandewege [Tue, 13 Apr 2021 15:53:10 +0000 (11:53 -0400)]
Merge branch '17498-python3-migration-metapackages'

closes #17498

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

3 years ago17498: address review comments.
Ward Vandewege [Tue, 13 Apr 2021 15:51:39 +0000 (11:51 -0400)]
17498: address review comments.

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

3 years ago17498: Build metapackages to ease the migration from python 2 to
Ward Vandewege [Tue, 13 Apr 2021 14:57:25 +0000 (10:57 -0400)]
17498: Build metapackages to ease the migration from python 2 to
       python3.

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

3 years ago17498: add a note about the python 3 package names in the upgrade guide.
Ward Vandewege [Tue, 13 Apr 2021 14:55:24 +0000 (10:55 -0400)]
17498: add a note about the python 3 package names in the upgrade guide.

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

3 years ago16159: Merge branch 'master' into 16159-token-expiration-on-logout
Lucas Di Pentima [Tue, 13 Apr 2021 14:39:01 +0000 (11:39 -0300)]
16159: Merge branch 'master' into 16159-token-expiration-on-logout

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

3 years ago16159: Adds tests checking token expiration at logout.
Lucas Di Pentima [Tue, 13 Apr 2021 14:29:42 +0000 (11:29 -0300)]
16159: Adds tests checking token expiration at logout.

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

3 years agoMerge branch '17392-go-write-to-storage-class'
Tom Clegg [Mon, 12 Apr 2021 18:59:13 +0000 (14:59 -0400)]
Merge branch '17392-go-write-to-storage-class'

closes #17392

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17392: Test satisfying storage classes via multiple servers.
Tom Clegg [Mon, 12 Apr 2021 14:52:22 +0000 (10:52 -0400)]
17392: Test satisfying storage classes via multiple servers.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago16159: Provide a localdb transaction for federation tests.
Tom Clegg [Fri, 9 Apr 2021 17:18:55 +0000 (13:18 -0400)]
16159: Provide a localdb transaction for federation tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago17462: Fix fetch_text() signature
Peter Amstutz [Wed, 7 Apr 2021 20:51:46 +0000 (16:51 -0400)]
17462: Fix fetch_text() signature

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

3 years ago17462: Bump cwltool for scandeps bugfix
Peter Amstutz [Wed, 7 Apr 2021 20:14:10 +0000 (16:14 -0400)]
17462: Bump cwltool for scandeps bugfix

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

3 years ago16159: Expires tokens on logout on different login controllers.
Lucas Di Pentima [Tue, 6 Apr 2021 20:46:00 +0000 (17:46 -0300)]
16159: Expires tokens on logout on different login controllers.

Also, optimizes the DB query a bit.

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

3 years ago17392: Ensure requested storage classes are satisfied on write.
Tom Clegg [Tue, 6 Apr 2021 15:28:14 +0000 (11:28 -0400)]
17392: Ensure requested storage classes are satisfied on write.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '13382-write-to-storage-class'
Tom Clegg [Tue, 6 Apr 2021 14:25:26 +0000 (10:25 -0400)]
Merge branch '13382-write-to-storage-class'

closes #13382

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago16159: Pass token to expire to controller on logout.
Lucas Di Pentima [Mon, 5 Apr 2021 21:35:08 +0000 (18:35 -0300)]
16159: Pass token to expire to controller on logout.

Also, adds a warning on the "current token" page about token's transciency.

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

3 years ago13382: Rename putResult -> putProgress.
Tom Clegg [Mon, 5 Apr 2021 18:02:40 +0000 (14:02 -0400)]
13382: Rename putResult -> putProgress.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoFix golint warning.
Ward Vandewege [Fri, 2 Apr 2021 23:36:37 +0000 (19:36 -0400)]
Fix golint warning.

No issue #

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

3 years ago16159: Adds error logging on token expiration failure. Fixes SQL query.
Lucas Di Pentima [Fri, 2 Apr 2021 14:44:14 +0000 (11:44 -0300)]
16159: Adds error logging on token expiration failure. Fixes SQL query.

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

3 years agoSimplify code a bit.
Ward Vandewege [Fri, 2 Apr 2021 01:09:41 +0000 (21:09 -0400)]
Simplify code a bit.

refs #17503

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

3 years ago13382: Test storage class failure cases.
Tom Clegg [Thu, 1 Apr 2021 14:59:30 +0000 (10:59 -0400)]
13382: Test storage class failure cases.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago13382: Use caller-specified storage classes when writing.
Tom Clegg [Wed, 31 Mar 2021 20:56:14 +0000 (16:56 -0400)]
13382: Use caller-specified storage classes when writing.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years ago13382: Report storage class(es) in headers after successful write.
Tom Clegg [Thu, 25 Mar 2021 14:57:52 +0000 (10:57 -0400)]
13382: Report storage class(es) in headers after successful write.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17508-arvkeepdocker-fix'
Lucas Di Pentima [Thu, 1 Apr 2021 14:32:54 +0000 (11:32 -0300)]
Merge branch '17508-arvkeepdocker-fix'
Closes #17508

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

3 years ago17508: Fixes unit test.
Lucas Di Pentima [Thu, 1 Apr 2021 14:05:20 +0000 (11:05 -0300)]
17508: Fixes unit test.

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

3 years ago17508: Fixes arv-keepdocker bug.
Lucas Di Pentima [Wed, 31 Mar 2021 20:32:03 +0000 (17:32 -0300)]
17508: Fixes arv-keepdocker bug.

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

3 years ago17508: Exposes bug with a test.
Lucas Di Pentima [Wed, 31 Mar 2021 22:05:51 +0000 (19:05 -0300)]
17508: Exposes bug with a test.

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

3 years agoFix deduplication report test.
Ward Vandewege [Wed, 31 Mar 2021 19:34:14 +0000 (15:34 -0400)]
Fix deduplication report test.

refs #17503

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

3 years agoAdd test cases for special chars in filename.
Tom Clegg [Wed, 31 Mar 2021 15:45:16 +0000 (11:45 -0400)]
Add test cases for special chars in filename.

closes #17422

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 years agoMerge branch '17503-fix-deduplication-report-paper-cuts'
Ward Vandewege [Wed, 31 Mar 2021 14:52:01 +0000 (10:52 -0400)]
Merge branch '17503-fix-deduplication-report-paper-cuts'

closes #17503

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

3 years ago17503: Merge branch 'master' into 17503-fix-deduplication-report-paper-cuts
Ward Vandewege [Wed, 31 Mar 2021 14:49:27 +0000 (10:49 -0400)]
17503: Merge branch 'master' into 17503-fix-deduplication-report-paper-cuts

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

3 years ago17503: implement review feedback.
Ward Vandewege [Wed, 31 Mar 2021 12:10:06 +0000 (08:10 -0400)]
17503: implement review feedback.

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

3 years ago16159: Validates token uuid & secret before expiring.
Lucas Di Pentima [Tue, 30 Mar 2021 22:57:04 +0000 (19:57 -0300)]
16159: Validates token uuid & secret before expiring.

Don't error out when no token is provided, to support old clients.

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

3 years agoMerge branch '17119-add-filter-groups'
Ward Vandewege [Tue, 30 Mar 2021 20:41:49 +0000 (16:41 -0400)]
Merge branch '17119-add-filter-groups'

refs #17119

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

3 years ago17119: Merge branch 'master' into 17119-add-filter-groups
Ward Vandewege [Tue, 30 Mar 2021 20:40:52 +0000 (16:40 -0400)]
17119: Merge branch 'master' into 17119-add-filter-groups

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

3 years ago17119: one more change after review feedback.
Ward Vandewege [Tue, 30 Mar 2021 20:35:43 +0000 (16:35 -0400)]
17119: one more change after review feedback.

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

3 years ago17119: more changes after review feedback.
Ward Vandewege [Tue, 30 Mar 2021 16:35:12 +0000 (12:35 -0400)]
17119: more changes after review feedback.

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

3 years ago17503: the deduplication report tool should not require the Arvados
Ward Vandewege [Mon, 29 Mar 2021 20:51:43 +0000 (16:51 -0400)]
17503: the deduplication report tool should not require the Arvados
       config file. Also, when cli help is requested, it should abort
       with exit code 0.

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

3 years agoAdd a comment at the top of the documentation Rakefile about generating
Ward Vandewege [Mon, 29 Mar 2021 20:32:53 +0000 (16:32 -0400)]
Add a comment at the top of the documentation Rakefile about generating
the docs locally.

refs #17245

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

3 years ago16159: Attempts to expire the user's token getting it from the context. (WIP)
Lucas Di Pentima [Mon, 29 Mar 2021 19:12:05 +0000 (16:12 -0300)]
16159: Attempts to expire the user's token getting it from the context. (WIP)

To avoid making a request to railsAPI, the user's token is retrieved from the
context.

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

3 years ago16159: Makes test login form to autofocus on username field.
Lucas Di Pentima [Mon, 29 Mar 2021 19:11:33 +0000 (16:11 -0300)]
16159: Makes test login form to autofocus on username field.

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

3 years agoFix golint warning (incorrect function name in comment).
Ward Vandewege [Sun, 28 Mar 2021 23:40:00 +0000 (19:40 -0400)]
Fix golint warning (incorrect function name in comment).

No issue #

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

3 years agoFix golint warning.
Ward Vandewege [Sun, 28 Mar 2021 01:42:27 +0000 (21:42 -0400)]
Fix golint warning.

No issue #

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

3 years agoDue to the mimemagic gem changes, shared-mime-info is now a build
Ward Vandewege [Fri, 26 Mar 2021 20:13:37 +0000 (16:13 -0400)]
Due to the mimemagic gem changes, shared-mime-info is now a build
dependency; only on ubuntu 20.04 is it not a dependency that is already
pulled in by another package.

No issue #

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

3 years agoFix centos7 api server package test.
Ward Vandewege [Fri, 26 Mar 2021 15:25:01 +0000 (11:25 -0400)]
Fix centos7 api server package test.

closes #17491

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

3 years agoMerge branch 'master' into 16159-token-expiration-on-logout
Lucas Di Pentima [Fri, 26 Mar 2021 14:12:55 +0000 (11:12 -0300)]
Merge branch 'master' into 16159-token-expiration-on-logout

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

3 years agoThe latest version of the mimemagic gem has a new dependency on the
Ward Vandewege [Fri, 26 Mar 2021 13:45:03 +0000 (09:45 -0400)]
The latest version of the mimemagic gem has a new dependency on the
shared-mime-info system package.

No issue #

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

3 years ago16159: Expires token after logout (WIP)
Lucas Di Pentima [Fri, 26 Mar 2021 00:39:40 +0000 (21:39 -0300)]
16159: Expires token after logout (WIP)

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

3 years agoUpdate mimemagic gem version to 0.3.8, the previous version (0.3.6) was
Ward Vandewege [Thu, 25 Mar 2021 20:23:21 +0000 (16:23 -0400)]
Update mimemagic gem version to 0.3.8, the previous version (0.3.6) was
pulled from rubygems, again

No issue #

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

3 years agoUpdate mimemagic gem version to 0.3.8, the previous version (0.3.6) was
Ward Vandewege [Thu, 25 Mar 2021 20:23:21 +0000 (16:23 -0400)]
Update mimemagic gem version to 0.3.8, the previous version (0.3.6) was
pulled from rubygems, again

No issue #

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

3 years ago17119: bugfix: the group/contents endpoint should do the right thing
Ward Vandewege [Thu, 25 Mar 2021 19:47:35 +0000 (15:47 -0400)]
17119: bugfix: the group/contents endpoint should do the right thing
       when 'count: none' and an offset are provided.

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

3 years ago17119: bugfix: when "count: none" is specified, the group/contents
Ward Vandewege [Wed, 24 Mar 2021 21:32:02 +0000 (17:32 -0400)]
17119: bugfix: when "count: none" is specified, the group/contents
       endpoint should not return the items_available field.

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

3 years agoUpdate mimemagic gem version to 0.3.6, the previous version (0.3.5) was
Ward Vandewege [Wed, 24 Mar 2021 16:18:23 +0000 (12:18 -0400)]
Update mimemagic gem version to 0.3.6, the previous version (0.3.5) was
pulled from rubygems.

No issue #

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

3 years agoUpdate mimemagic gem version to 0.3.6, the previous version (0.3.5) was
Ward Vandewege [Wed, 24 Mar 2021 16:18:23 +0000 (12:18 -0400)]
Update mimemagic gem version to 0.3.6, the previous version (0.3.5) was
pulled from rubygems.

No issue #

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

3 years ago17119: fix tests.
Ward Vandewege [Wed, 24 Mar 2021 15:13:21 +0000 (11:13 -0400)]
17119: fix tests.

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

3 years ago17119: implement review feedback.
Ward Vandewege [Tue, 23 Mar 2021 20:22:56 +0000 (16:22 -0400)]
17119: implement review feedback.

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