arvados.git
12 months ago21146: Add last_log_id argument to PollClient.subscribe 21146-pysdk-new-websockets
Brett Smith [Fri, 1 Dec 2023 15:18:13 +0000 (10:18 -0500)]
21146: Add last_log_id argument to PollClient.subscribe

This helps avoid a crash if `subscribe` returns a `PollClient` and then
the user calls `subscribe` with two arguments. I don't know whether
ignoring `last_log_id` is *correct*, but that's the current behavior,
and anything else is out of scope for the current ticket.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago19825: Document arvados.events module
Brett Smith [Fri, 1 Dec 2023 15:16:56 +0000 (10:16 -0500)]
19825: Document arvados.events module

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago21146: Migrate PySDK to websockets library
Brett Smith [Fri, 24 Nov 2023 21:38:32 +0000 (16:38 -0500)]
21146: Migrate PySDK to websockets library

This library is more mature than ws4py. This commit introduces a new
EventClient implementation based on it while remaining API-compatible.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago21146: Clean test_events imports
Brett Smith [Fri, 24 Nov 2023 20:05:18 +0000 (15:05 -0500)]
21146: Clean test_events imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago21146: Clean arvados.events imports
Brett Smith [Wed, 22 Nov 2023 17:13:46 +0000 (12:13 -0500)]
21146: Clean arvados.events imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago21146: Clean and sort PySDK install_requires
Brett Smith [Wed, 22 Nov 2023 16:54:18 +0000 (11:54 -0500)]
21146: Clean and sort PySDK install_requires

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months agoMerge branch '20846-ubuntu2204'
Tom Clegg [Thu, 30 Nov 2023 19:42:41 +0000 (14:42 -0500)]
Merge branch '20846-ubuntu2204'

refs #20846

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

12 months agoMerge branch '20690-remove-wb1-from-installer'. Closes #20690
Lucas Di Pentima [Thu, 30 Nov 2023 16:17:06 +0000 (13:17 -0300)]
Merge branch '20690-remove-wb1-from-installer'. Closes #20690

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Improved wording on the upgrade notes. 20690-remove-wb1-from-installer
Lucas Di Pentima [Thu, 30 Nov 2023 16:16:11 +0000 (13:16 -0300)]
20690: Improved wording on the upgrade notes.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months agoMerge branch '21205-ensure-unique' refs #21205
Peter Amstutz [Wed, 29 Nov 2023 20:49:27 +0000 (15:49 -0500)]
Merge branch '21205-ensure-unique' refs #21205

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

12 months ago21205: Fix comment
Peter Amstutz [Wed, 29 Nov 2023 20:46:52 +0000 (15:46 -0500)]
21205: Fix comment

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

12 months ago20846: Remove ref to nonexistent Alma 7. 20846-ubuntu2204
Tom Clegg [Wed, 29 Nov 2023 20:27:59 +0000 (15:27 -0500)]
20846: Remove ref to nonexistent Alma 7.

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

12 months ago20846: Add package repo codenames for new distros.
Tom Clegg [Wed, 29 Nov 2023 20:27:04 +0000 (15:27 -0500)]
20846: Add package repo codenames for new distros.

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

12 months ago21205: Now adds the final part of the uuid to make the name unique 21205-ensure-unique
Peter Amstutz [Wed, 29 Nov 2023 19:00:06 +0000 (14:00 -0500)]
21205: Now adds the final part of the uuid to make the name unique

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

12 months ago21205: Fix typo
Peter Amstutz [Wed, 29 Nov 2023 14:18:12 +0000 (09:18 -0500)]
21205: Fix typo

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

12 months agoMerge branch '19830-pysdk-util-docs'
Brett Smith [Wed, 29 Nov 2023 13:54:46 +0000 (08:54 -0500)]
Merge branch '19830-pysdk-util-docs'

Closes #19830.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months agoMerge branch '21211-pysdk-annotations'
Brett Smith [Wed, 29 Nov 2023 13:54:10 +0000 (08:54 -0500)]
Merge branch '21211-pysdk-annotations'

Closes #21211.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago21205: ensure_unique_name uses uuid
Peter Amstutz [Tue, 28 Nov 2023 21:48:43 +0000 (16:48 -0500)]
21205: ensure_unique_name uses uuid

Instead of adding a timestamp, add the last 15 characters of the uuid.

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

12 months ago20690: Installs everything except wb1 in the single host case.
Lucas Di Pentima [Tue, 28 Nov 2023 21:20:57 +0000 (18:20 -0300)]
20690: Installs everything except wb1 in the single host case.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Documentation updates, upgrade notes added.
Lucas Di Pentima [Tue, 28 Nov 2023 20:44:33 +0000 (17:44 -0300)]
20690: Documentation updates, upgrade notes added.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Include the nginx snippets pillar, remove unneeded wb1 stuff.
Lucas Di Pentima [Tue, 28 Nov 2023 18:45:59 +0000 (15:45 -0300)]
20690: Include the nginx snippets pillar, remove unneeded wb1 stuff.

Also, go back to using arvados-formula's main branch.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Bring back the WorkbenchSecretKey config as a dummy value.
Lucas Di Pentima [Tue, 28 Nov 2023 18:43:09 +0000 (15:43 -0300)]
20690: Bring back the WorkbenchSecretKey config as a dummy value.

Also, make config-check non-strict, to support deprecated config knobs on the
config.yml file.
Eventually, the arvados-formula will require updating but we have to make sure
that a proper branch strategy is in use, as changing it now would break
existing deployments.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Sets nginx snippets on its own pillar sls file.
Lucas Di Pentima [Tue, 28 Nov 2023 18:39:54 +0000 (15:39 -0300)]
20690: Sets nginx snippets on its own pillar sls file.

Because we're not using the nginx passenger pillar on non controller nodes
anymore, we needed a way of requesting the ssl hardening snippet independently.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months ago20690: Removes WORKBENCH_SECRET_KEY from config. Uses new formula version.
Lucas Di Pentima [Tue, 21 Nov 2023 20:47:18 +0000 (17:47 -0300)]
20690: Removes WORKBENCH_SECRET_KEY from config. Uses new formula version.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

12 months agoMerge branch '20831-user-table-locks' refs #20831
Peter Amstutz [Tue, 28 Nov 2023 14:24:27 +0000 (09:24 -0500)]
Merge branch '20831-user-table-locks' refs #20831

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

12 months agoMerge branch '18874-merge-wb2'
Tom Clegg [Mon, 27 Nov 2023 21:09:05 +0000 (16:09 -0500)]
Merge branch '18874-merge-wb2'

refs #18874

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

12 months ago18874: Add missing build step. 18874-merge-wb2
Tom Clegg [Mon, 27 Nov 2023 21:08:28 +0000 (16:08 -0500)]
18874: Add missing build step.

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

12 months ago20831: Fix typo 20831-user-table-locks
Peter Amstutz [Mon, 27 Nov 2023 18:52:47 +0000 (13:52 -0500)]
20831: Fix typo

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

12 months ago20831: Import sync and apply gofmt
Peter Amstutz [Mon, 27 Nov 2023 18:18:11 +0000 (13:18 -0500)]
20831: Import sync and apply gofmt

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

12 months ago20831: DiscoveryDocument fn improvements
Peter Amstutz [Mon, 27 Nov 2023 17:29:28 +0000 (12:29 -0500)]
20831: DiscoveryDocument fn improvements

* Only cache discovery document for 1 hour
* rpc.Conn takes a mutex when working with discovery document
* Simplify a couple of cases where calling chooseBackend would always return conn.local

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

12 months agoMerge branch '21126-trash-when-ro'
Tom Clegg [Mon, 27 Nov 2023 16:48:10 +0000 (11:48 -0500)]
Merge branch '21126-trash-when-ro'

closes #21126

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

12 months agoMerge branch '21137-rp-initiated-logout'
Brett Smith [Mon, 27 Nov 2023 16:35:05 +0000 (11:35 -0500)]
Merge branch '21137-rp-initiated-logout'

Closes #21137.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

12 months ago20831: Remove debug print and add error check
Peter Amstutz [Mon, 27 Nov 2023 16:26:07 +0000 (11:26 -0500)]
20831: Remove debug print and add error check

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

13 months ago21126: Update wording as suggested. 21126-trash-when-ro
Tom Clegg [Wed, 22 Nov 2023 19:39:55 +0000 (14:39 -0500)]
21126: Update wording as suggested.

https://dev.arvados.org/issues/21126#note-20

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

13 months ago20846: Update Ruby install instructions.
Tom Clegg [Wed, 22 Nov 2023 18:56:24 +0000 (13:56 -0500)]
20846: Update Ruby install instructions.

* Remove "install from source" method.
* Change recommendation from "RVM" to "OS package if exists".
* Add missing dependencies in RVM method.
* Change example version from "2.7" (which currently selects 2.7.2) to "2.7.7"

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

13 months ago18874: Use services/workbench2 dir to serve wb2 in arvbox.
Tom Clegg [Tue, 21 Nov 2023 23:16:15 +0000 (18:16 -0500)]
18874: Use services/workbench2 dir to serve wb2 in arvbox.

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

13 months ago18874: Add yarn, update nodejs version to match lib/install.
Tom Clegg [Tue, 21 Nov 2023 22:39:59 +0000 (17:39 -0500)]
18874: Add yarn, update nodejs version to match lib/install.

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

13 months ago18874: Show fpm results in debug mode.
Tom Clegg [Tue, 21 Nov 2023 22:38:10 +0000 (17:38 -0500)]
18874: Show fpm results in debug mode.

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

13 months ago18874: Fix regexp.
Tom Clegg [Tue, 21 Nov 2023 22:37:35 +0000 (17:37 -0500)]
18874: Fix regexp.

Now works with versions like 1.2.3~rc4.

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

13 months ago18874: Add workbench2 to package-building scripts.
Tom Clegg [Tue, 21 Nov 2023 22:37:29 +0000 (17:37 -0500)]
18874: Add workbench2 to package-building scripts.

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

13 months agoMerge branch '21132-api-resources-fixes'
Brett Smith [Tue, 21 Nov 2023 22:29:13 +0000 (17:29 -0500)]
Merge branch '21132-api-resources-fixes'

Closes #21132, #21136.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21132: Expand arvados.api_resources docstring with more detail about its purpose
Brett Smith [Tue, 21 Nov 2023 22:16:18 +0000 (17:16 -0500)]
21132: Expand arvados.api_resources docstring with more detail about its purpose

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21137: Tighten TestEndSessionEndpointBadScheme check 21137-rp-initiated-logout
Brett Smith [Tue, 21 Nov 2023 21:33:57 +0000 (16:33 -0500)]
21137: Tighten TestEndSessionEndpointBadScheme check

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21137: Prefer early return per review comments
Brett Smith [Tue, 21 Nov 2023 21:19:52 +0000 (16:19 -0500)]
21137: Prefer early return per review comments

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21137: Remove id_token_hint from controller RP-initiated logout
Brett Smith [Tue, 21 Nov 2023 21:14:59 +0000 (16:14 -0500)]
21137: Remove id_token_hint from controller RP-initiated logout

In the current Arvados stack, it is not possible to provide the ID token
this parameter expects, because we do not retain it anywhere. The user's
authorization token will either be an OIDC access token or an Arvados
token generated when they logged in, so neither is suitable for use as
id_token_hint.

The spec says this parameter is RECOMMENDED but not REQUIRED, so
omitting it is the simplest option that should still meet functional
requirements.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months agoMerge branch '20690-remove-wb1'
Tom Clegg [Tue, 21 Nov 2023 16:42:06 +0000 (11:42 -0500)]
Merge branch '20690-remove-wb1'

refs #20690

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

13 months ago21211: Update arvados.safeapi Markdown style 21211-pysdk-annotations
Brett Smith [Tue, 21 Nov 2023 15:56:49 +0000 (10:56 -0500)]
21211: Update arvados.safeapi Markdown style

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20846: Update setuptools, accommodate debian12 needs.
Tom Clegg [Tue, 21 Nov 2023 15:17:57 +0000 (10:17 -0500)]
20846: Update setuptools, accommodate debian12 needs.

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

13 months ago21211: Annotate arvados.safeapi
Brett Smith [Tue, 21 Nov 2023 14:57:16 +0000 (09:57 -0500)]
21211: Annotate arvados.safeapi

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21211: Clean arvados.safeapi imports
Brett Smith [Tue, 21 Nov 2023 14:48:41 +0000 (09:48 -0500)]
21211: Clean arvados.safeapi imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21211: Annotate arvados.retry
Brett Smith [Tue, 21 Nov 2023 14:44:06 +0000 (09:44 -0500)]
21211: Annotate arvados.retry

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21211: Clean arvados.retry imports
Brett Smith [Tue, 21 Nov 2023 14:33:17 +0000 (09:33 -0500)]
21211: Clean arvados.retry imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21211: Annotate arvados.api
Brett Smith [Tue, 21 Nov 2023 14:32:28 +0000 (09:32 -0500)]
21211: Annotate arvados.api

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21211: Clean arvados.api imports
Brett Smith [Tue, 21 Nov 2023 14:20:41 +0000 (09:20 -0500)]
21211: Clean arvados.api imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago18800: Add docstring to arvados.__init__ 19830-pysdk-util-docs
Brett Smith [Mon, 20 Nov 2023 21:31:17 +0000 (16:31 -0500)]
18800: Add docstring to arvados.__init__

This is mostly intended to help orient people reading the web
documentation.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Clean imports in arvados.__init__
Brett Smith [Mon, 20 Nov 2023 21:20:37 +0000 (16:20 -0500)]
19830: Clean imports in arvados.__init__

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Clean run_test_server imports
Brett Smith [Mon, 20 Nov 2023 20:32:28 +0000 (15:32 -0500)]
19830: Clean run_test_server imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Reorder arvados.util regexps
Brett Smith [Mon, 20 Nov 2023 18:32:40 +0000 (13:32 -0500)]
19830: Reorder arvados.util regexps

Keep regexps, then UUID regexps sorted alphabetically, then deprecated
regexps.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Add docstrings to arvados.util
Brett Smith [Mon, 20 Nov 2023 18:31:17 +0000 (13:31 -0500)]
19830: Add docstrings to arvados.util

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Update arvados.util._deprecated Markdown style
Brett Smith [Mon, 20 Nov 2023 15:57:50 +0000 (10:57 -0500)]
19830: Update arvados.util._deprecated Markdown style

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Clean arvados.util imports
Brett Smith [Mon, 20 Nov 2023 15:57:10 +0000 (10:57 -0500)]
19830: Clean arvados.util imports

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago19830: Move deprecated functions to the bottom of arvados.util
Brett Smith [Mon, 20 Nov 2023 15:53:02 +0000 (10:53 -0500)]
19830: Move deprecated functions to the bottom of arvados.util

This makes the web documentation easier to navigate.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20846: Don't use pip to install virtualenv, just rely on OS pkg.
Tom Clegg [Mon, 20 Nov 2023 22:25:12 +0000 (17:25 -0500)]
20846: Don't use pip to install virtualenv, just rely on OS pkg.

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

13 months ago20846: Skip workbench package build.
Tom Clegg [Mon, 20 Nov 2023 21:47:28 +0000 (16:47 -0500)]
20846: Skip workbench package build.

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

13 months ago20846: Add debian12 package target.
Tom Clegg [Mon, 20 Nov 2023 21:06:08 +0000 (16:06 -0500)]
20846: Add debian12 package target.

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

13 months agoMerge branch '21201-doc-bundle-update'
Brett Smith [Mon, 20 Nov 2023 21:35:06 +0000 (16:35 -0500)]
Merge branch '21201-doc-bundle-update'

Closes #21201.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20846: Fix shell command in env var.
Tom Clegg [Mon, 20 Nov 2023 20:51:37 +0000 (15:51 -0500)]
20846: Fix shell command in env var.

With Ruby 3, something uses the MAKE var without the expected
shell-eval, so the number-of-processors trick stopped working.

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

    make --jobs \$\(grep -c processor /proc/cpuinfo\) DESTDIR\=
    sitearchdir\=./.gem.20231120-15-fa6sx6 sitelibdir\=./.gem.20231120-15-fa6sx6
    clean
    make: invalid option -- 'c'
    Usage: make [options] [target] ...
    Options:
      -b, -m                      Ignored for compatibility.
      [...]

13 months ago20846: Update fpm for Ruby 3 compatibility.
Tom Clegg [Mon, 20 Nov 2023 20:32:55 +0000 (15:32 -0500)]
20846: Update fpm for Ruby 3 compatibility.

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

13 months ago20846: Use Ruby 3.2.2 for ubuntu2204 packages.
Tom Clegg [Mon, 20 Nov 2023 20:31:35 +0000 (15:31 -0500)]
20846: Use Ruby 3.2.2 for ubuntu2204 packages.

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

13 months ago20846: Merge branch '19213-ubuntu2204-support' into 20846-ubuntu2204
Tom Clegg [Mon, 20 Nov 2023 20:29:05 +0000 (15:29 -0500)]
20846: Merge branch '19213-ubuntu2204-support' into 20846-ubuntu2204

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

13 months ago21126: Update keep-balance admin doc page.
Tom Clegg [Mon, 20 Nov 2023 19:37:02 +0000 (14:37 -0500)]
21126: Update keep-balance admin doc page.

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

13 months ago21126: Update faster-gc doc page with new keep-balance configs.
Tom Clegg [Mon, 20 Nov 2023 19:25:09 +0000 (14:25 -0500)]
21126: Update faster-gc doc page with new keep-balance configs.

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

13 months ago21126: Update doc bundle.
Tom Clegg [Mon, 20 Nov 2023 19:24:59 +0000 (14:24 -0500)]
21126: Update doc bundle.

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

13 months ago21126: Merge branch 'main' into 21126-trash-when-ro
Tom Clegg [Mon, 20 Nov 2023 19:14:38 +0000 (14:14 -0500)]
21126: Merge branch 'main' into 21126-trash-when-ro

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

13 months agoMerge branch '21189-changeset-limit'
Tom Clegg [Mon, 20 Nov 2023 19:04:26 +0000 (14:04 -0500)]
Merge branch '21189-changeset-limit'

refs #21189

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

13 months ago21189: Improve wording in config comments and logs.
Tom Clegg [Mon, 20 Nov 2023 19:03:43 +0000 (14:03 -0500)]
21189: Improve wording in config comments and logs.

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

13 months ago20690: Determine postgresql version from psql command. 20690-remove-wb1
Tom Clegg [Mon, 20 Nov 2023 16:50:46 +0000 (11:50 -0500)]
20690: Determine postgresql version from psql command.

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

13 months ago20831: Fix discovery doc
Peter Amstutz [Mon, 20 Nov 2023 16:17:50 +0000 (11:17 -0500)]
20831: Fix discovery doc

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

13 months ago21201: Update doc gems 21201-doc-bundle-update
Brett Smith [Mon, 20 Nov 2023 03:27:44 +0000 (22:27 -0500)]
21201: Update doc gems

Getting a new Zenweb gets a new kramdown which helps keep things working
on Ruby 3.x. I think.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20690: Merge branch 'main' into 20690-remove-wb1
Tom Clegg [Sun, 19 Nov 2023 23:37:24 +0000 (18:37 -0500)]
20690: Merge branch 'main' into 20690-remove-wb1

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

13 months ago21132: Annotate API methods as returning a request object 21132-api-resources-fixes
Brett Smith [Sat, 18 Nov 2023 21:41:04 +0000 (16:41 -0500)]
21132: Annotate API methods as returning a request object

This is a factual correction. Before this, it looked like the API
methods communicated with the API server and returned a response
directly, which is not true.

Unfortunately pdoc doesn't render the documentation for the
ArvadosAPIRequest.execute override. That's frustrating. I looked for
ways to coerce this but didn't find any. Hopefully the class docstring
gives users enough information about what they need to do. pydoc renders
it as expected, so I still think it's worth keeping.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21132: Note ArvadosAPIClient is a Resource
Brett Smith [Sat, 18 Nov 2023 17:22:54 +0000 (12:22 -0500)]
21132: Note ArvadosAPIClient is a Resource

The real impact of this change is marginal, but it establishes a pattern
for documenting request objects, which will be more substantial.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago21136: Use typing generics for builtins in api_resources
Brett Smith [Sat, 18 Nov 2023 15:18:22 +0000 (10:18 -0500)]
21136: Use typing generics for builtins in api_resources

The immediate problem this solves is that using `list` unqualified as an
annotation causes pdoc to resolve it as the current class' `list`
method, which is not correct.

We could also specify `builtins.list`, but since it doesn't support
subscripting in Python 3.8, that generates a lot of noisy warnings right
now. So this solution is better for now, and we'll probably migrate to
`builtins.list` in the future.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20831: Don't panic on empty params
Peter Amstutz [Fri, 17 Nov 2023 20:37:23 +0000 (15:37 -0500)]
20831: Don't panic on empty params

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

13 months agoMerge branch 'main' into 20831-user-table-locks
Peter Amstutz [Fri, 17 Nov 2023 19:36:08 +0000 (14:36 -0500)]
Merge branch 'main' into 20831-user-table-locks

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

13 months ago20831: gofmt and discovery doc updates
Peter Amstutz [Fri, 17 Nov 2023 19:34:41 +0000 (14:34 -0500)]
20831: gofmt and discovery doc updates

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

13 months agoMerge branch '20846-ruby3'
Tom Clegg [Fri, 17 Nov 2023 18:49:33 +0000 (13:49 -0500)]
Merge branch '20846-ruby3'

refs #20846

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

13 months ago20831: Revert making IsAdmin and IsInvited a pointer
Peter Amstutz [Fri, 17 Nov 2023 18:29:29 +0000 (13:29 -0500)]
20831: Revert making IsAdmin and IsInvited a pointer

Now uses API server revision and the requesting user to decide whether
IsAdmin and IsInvited have valid values or not.

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

13 months ago20690: Revert arvbox to debian 11 until lib/install can do Ruby 3.
Tom Clegg [Fri, 17 Nov 2023 16:24:12 +0000 (11:24 -0500)]
20690: Revert arvbox to debian 11 until lib/install can do Ruby 3.

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

13 months ago21137: Support RP-initiated logout with OIDC
Brett Smith [Fri, 17 Nov 2023 16:13:10 +0000 (11:13 -0500)]
21137: Support RP-initiated logout with OIDC

With OIDC, logout only has a permanent effect if it is done by the
OP. If a user attempts to logout with an OIDC token, and the OP provides
an endpoint to end the session, send the user there to help them
accomplish that.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

13 months ago20690: Fix arvbox dependencies.
Tom Clegg [Fri, 17 Nov 2023 16:16:42 +0000 (11:16 -0500)]
20690: Fix arvbox dependencies.

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

13 months ago20831: Make the IsAdmin and IsInvited pointers so they are nullable
Peter Amstutz [Fri, 17 Nov 2023 16:16:24 +0000 (11:16 -0500)]
20831: Make the IsAdmin and IsInvited pointers so they are nullable

Required to correctly handle both where the API does or does not
return the is_admin and is_invited fields when updating from remote
user records.

Also added DiscoveryDocument to arvados.API

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

13 months ago20690: Remove workbench1 from arvbox.
Tom Clegg [Fri, 17 Nov 2023 16:12:27 +0000 (11:12 -0500)]
20690: Remove workbench1 from arvbox.

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

13 months ago20831: Add DiscoveryDocument to arvados.API
Peter Amstutz [Fri, 17 Nov 2023 14:37:28 +0000 (09:37 -0500)]
20831: Add DiscoveryDocument to arvados.API

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

13 months ago20690: Always direct user to wb2 for logs.
Tom Clegg [Fri, 17 Nov 2023 00:09:29 +0000 (19:09 -0500)]
20690: Always direct user to wb2 for logs.

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

13 months ago20690: Remove workbench1 mentions in install/admin docs.
Tom Clegg [Fri, 17 Nov 2023 00:09:04 +0000 (19:09 -0500)]
20690: Remove workbench1 mentions in install/admin docs.

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

13 months ago20690: Remove wb1 webshell check in diagnostics.
Tom Clegg [Thu, 16 Nov 2023 23:58:50 +0000 (18:58 -0500)]
20690: Remove wb1 webshell check in diagnostics.

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

13 months ago20690: Remove obsolete SecretKeyBase configs.
Tom Clegg [Thu, 16 Nov 2023 23:57:29 +0000 (18:57 -0500)]
20690: Remove obsolete SecretKeyBase configs.

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

13 months ago20846: Specify nodejs version without 'v' prefix.
Tom Clegg [Thu, 16 Nov 2023 23:51:48 +0000 (18:51 -0500)]
20846: Specify nodejs version without 'v' prefix.

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

13 months ago20831: Return is_admin and is_invited so batch updates work
Peter Amstutz [Thu, 16 Nov 2023 21:47:15 +0000 (16:47 -0500)]
20831: Return is_admin and is_invited so batch updates work

Has backwards compatability issues that still need to be addressed.

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