Update docs with link/details to detect-secrets filters

It is common to run into false positives when using detect-secrets. Since we have had reported issues, it's best we call out each way to address false positives but direct users to the source: the detect-secrets docs Filters section. This updates the dedicated section in the README to list each option with a link and with a similar callout in the detect_secrets_flag input docs for clarity.

@haya14busa any chance you can review this please? As part of the maintainer group we don't have merge access for this repo so it remains blocked. I use this action in many projects. Would you be open to adding this repo to the maintainer group?

action-maintainer already has maintainance access to this repo.
I guess you couldn't merge the repo due to branch protection rule.
Please ask other action-maintainer for review as needed if my response is slow.


Added use local storage hook

@helloanoop I'll be separating each features into their own individual PRs now


toFixed is not a function

Uncaught TypeError: g.RepetitionTime.toFixed is not a function
    at t.exports (app.min.js? [sm]:14130)
    at app.min.js? [sm]:13462
    at FileReader.a.onloadend (app.min.js? [sm]:12028)

This could be a regression of #245, but it looks slightly differently.

This works:
{
    "RepetitionTime": 2.0,
    "TaskName": "mixed-gambles task",
	"SliceTiming": 1,
	"EchoTime": "dsfsdfsd"
}

this breaks
{
    "RepetitionTime": "2.0",
    "TaskName": "mixed-gambles task",
	"SliceTiming": 1,
	"EchoTime": "dsfsdfsd"
}

To fix this schema validation needs to be performed prior to reading any values (and assuming that RepetitionTime is a number not a string).

This is the line that breaks: https://github.com/INCF/bids-validator/blob/6f5a36cccb771f8f6c35ce93085d84e37e3ae22a/validators/nii.js#L149


Error when skip_trimming

When I run the example with trimming skipped like
nextflow run nf-core/chipseq -profile test,docker --skip_trimming
I get the following error (it happed also with other datasets, e.g. the Oct4/gfp dataset from https://angus.readthedocs.io/en/2019/chip-seq.html ):
Unknown method `ifEmpty` on ArrayList type -- Did you mean?
  isEmpty

 -- Check script '/home/kwee/.nextflow/assets/nf-core/chipseq/main.nf' at line: 1469 or see '.nextflow.log' file for more details

Thanks @ivokwee ! You really are putting the pipeline through its paces :slightly_frowning_face: . This has been fixed already for the next release. See here Sorry, I will get around to releasing soon!


get_floor_velocity() returns unpredictable values on rotating platforms in 3D

Godot version:
3.2.3.stable
OS/device including version:
Arch Linux
Issue description:
A KinematicBody that calls get_floor_velocity() on a rotating platform gets inconsistent results when called from a fixed position from the centre of that rotating platform. However, I expect that this vector should not change given it's at a fixed position from the centre.
Some other observations:
Changing the collision shape of the KinematicBody affects the result of get_floor_velocity().  When using a box shape, the velocity will have both varying direction and magnitude. Using a capsule collision shape only the magnitude of the floor velocity fluctuates.
Steps to reproduce:

Create a rotating platform using a KinematicBody and rotate it at a fixed angular velocity
Move a second KinematicBody with move_and_slide() somewhere on top of the rotating platform. To keep the object at a fixed position, add -get_floor_velocity() to the velocity argument in move_and_slide().
Observe the result of get_floor_velocity() across different frames. Notice that although the KinematicBody's position relative to the centre does not change, the result of get_floor_velocity() changes frame by frame.

Minimal reproduction project:
get_floor_velocity-bug.zip

Turns out its a bug in my code.  The rotation of the platform was not locked to the physics timestep, so it was causing issues


TETP-209 return to list view with same params

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #1173 (adfd7c6) into develop (1418c1b) will decrease coverage by 43.61%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #1173       +/-   ##
============================================
- Coverage    63.58%   19.97%   -43.62%
============================================
  Files          998      120      -878
  Lines        27337     2864    -24473
  Branches      2842      696     -2146
============================================
- Hits         17383      572    -16811
+ Misses        9517     2208     -7309
+ Partials       437       84      -353

Impacted Files
Coverage Δ

...loyer/browser-tests/actions/application.actions.ts

...omponents/application/steps/step1/EmployerForm.tsx

...nd/shared/src/__tests__/utils/FakeObjectFactory.ts

...d/shared/src/components/forms/inputs/TextInput.tsx

...shared/src/components/posting/PostingContainer.tsx

...src/components/posting/postingHero/PostingHero.tsx

...h/src/components/jobPostingCard/JobPostingCard.tsx

frontend/tet/youth/src/pages/postings/show.tsx

backend/kesaseteli/common/tests/test_urls.py

...youth/src/components/quickSearch/QuickSearch.sc.ts

... and 868 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1418c1b...adfd7c6. Read the comment docs.


Corners Jumping in Saturation Field and Hue

this commit doesn't help Fixes Corners Jumping in Saturation Field #670

Problem still exists @casesandberg.
Any ideas how to resolve?

I see 2 issues here:

lower edge saturation drag causes saturation jumps
lower right corner saturation drag causes hue jumps from very right to very left position

any ideas?

Looks like this problem is sort of addressed in v2.18.0 (https://github.com/casesandberg/react-color/commit/ca8d1c642c92068ad95d9749fd3673932d65b742), however v2.18.0 has problems of its own. :/

This is a known issue and it being worked on in the v3.0.0 release under "Base Draggable Component": https://github.com/casesandberg/react-color/issues/413
I am going to close this as we are already tracking it there.


containers.*.config.nixpkgs: use host.pkgs.stdenv.hostPlatform

The minimum reproduction for the problem I'm trying to solve is that the following NixOS test with a trivial NixOS container:
{ inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/24.05";

    flake-utils.url = "github:numtide/flake-utils/v1.0.0";
  };

  outputs = { flake-utils, nixpkgs, self, ... }:
    flake-utils.lib.eachDefaultSystem (system: {
      checks.default = nixpkgs.legacyPackages."${system}".nixosTest {
        name = "test";

        nodes.machine.containers.tutorial.config = { };

        testScript = "";
      };
    });
}

… fails with the following error message:
error: Neither nodes.machine.nixpkgs.hostPlatform nor the legacy option nodes.machine.nixpkgs.system has been set.
You can set nodes.machine.nixpkgs.hostPlatform in hardware-configuration.nix by re-running
a recent version of nixos-generate-config.
The option nodes.machine.nixpkgs.system is still fully supported for NixOS 22.05 interoperability,
but will be deprecated in the future, so we recommend to set nodes.machine.nixpkgs.hostPlatform.

The root of the problem appears to be that in
nixos/modules/virtualisation/nixos-containers.nix there is support for deriving the guest's nixpkgs.hostPlatform or nixpkgs.localSystem from the corresponding host's values, but this doesn't work if the host sets nixpkgs.pkgs instead of one of those values.  In fact, this is what happens when using pkgs.nixosTest (which sets nixpkgs.pkgs in
pkgs/build-support/testers/default.nix).
The solution I went with was to forward the nixpkgs.pkgs setting from the host to the guest, but only if it is defined (matching the same treatment as nixpkgs.hostPlatform and nixpkgs.localSystem).
Description of changes

Things done

Built on platform(s)

[x] aarch64-linux

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@roberth: Just wanted to check if there's anything else to do here.  I think I addressed all of your feedback

@ofborg build nixosTests.containers-hosts
@ofborg build nixosTests.containers-custom-pkgs
@ofborg build nixosTests.containers-imperative

It looks like the tests pass on Linux.  I'm not sure if they're supposed to pass on Darwin

Yeah the ofborg cluster still can't handle multi-system derivation graphs, and they're somewhat redundant anyway, so it's fine.

Thank you @Gabriella439


Add custom title for triva

Add custom title to the UI customisation section for triva slides.

in latest release


Cloudfront has free tier

The statement "CloudFront has no free tier" is no longer true (since NOV 2021)
https://aws.amazon.com/blogs/aws/aws-free-tier-data-transfer-expansion-100-gb-from-regions-and-1-tb-from-amazon-cloudfront-per-month/

You're right! Thank you ❤


drew pattern changes when clicked on the thickness  of brushes

Summary:
Drew Lines changes when I going change the thickness of the brush.
This occurs only when lines are drawn on the canvas using two or more brushes.

Spray is removed


[llvm] build failure

Host Environment

OS: Windows11 21H2
Compiler:

vcpkg-tool version: 2022-02-24-7efe7f2b04912a7d674f86a406f9f2711c0221c6
vcpkg-scripts version:  1b1ae50e1  2022-02-25

To Reproduce
Steps to reproduce the behavior:
./vcpkg install halide:x64-windows
Failure logs
-Cut and paste the appropriate build messages from the console output.
Computing installation plan...
The following packages will be built and installed:
    halide[core,jit,target-x86]:x64-windows -> 13.0.2
  * llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-rtti,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows -> 13.0.0#1
  * vcpkg-cmake[core]:x64-windows -> 2022-01-19
  * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06
  * zlib[core]:x64-windows -> 1.2.11#13
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Using HTTP(S)_PROXY in environment variables.
Restored 0 packages from C:\Users\huawei\AppData\Local\vcpkg\archives in 186.3 us. Use --debug to see more details.
Starting package 1/5: vcpkg-cmake:x64-windows
Building package vcpkg-cmake[core]:x64-windows...
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_get_vars.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/cmake_get_vars/CMakeLists.txt
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
-- Performing post-build validation done
A suitable version of 7zip was not found (required v19.0.0). Downloading portable 7zip v19.0.0...
Downloading 7zip...
  https://www.7-zip.org/a/7z1900-x64.msi -> C:\src\vcpkg\downloads\7z1900-x64.msi
Extracting 7zip...
Stored binary cache: C:\Users\huawei\AppData\Local\vcpkg\archives\3b\3b7754c671e8684467754c4a04a10f3c6af67a17ffad79b43748aeb06d55fdeb.zip
Installing package vcpkg-cmake[core]:x64-windows...
Elapsed time for package vcpkg-cmake:x64-windows: 7.438 s
Starting package 2/5: vcpkg-cmake-config:x64-windows
Building package vcpkg-cmake-config[core]:x64-windows...
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: C:/src/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\huawei\AppData\Local\vcpkg\archives\4b\4bee63aceb74c2a1d34dc2546a19a1cde15688845eae53b92fbac612f0a1e766.zip
Installing package vcpkg-cmake-config[core]:x64-windows...
Elapsed time for package vcpkg-cmake-config:x64-windows: 191.5 ms
Starting package 3/5: zlib:x64-windows
Building package zlib[core]:x64-windows...
-- Downloading https://www.zlib.net/zlib-1.2.11.tar.gz;https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz -> zlib1211.tar.gz...
-- Extracting source C:/src/vcpkg/downloads/zlib1211.tar.gz
-- Applying patch cmake_dont_build_more_than_needed.patch
-- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
-- Applying patch add_debug_postfix_on_mingw.patch
-- Applying patch 0002-android-build-mingw.patch
-- Using source at C:/src/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/src/vcpkg/packages/zlib_x64-windows/share/zlib/vcpkg-cmake-wrapper.cmake
-- Fixing pkgconfig file: C:/src/vcpkg/packages/zlib_x64-windows/lib/pkgconfig/zlib.pc
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst -> msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst...
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://www2.futureware.at/~nickoe/msys2-mirror/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.bit.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst;https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst -> msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst...
-- Using msys root at C:/src/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Fixing pkgconfig file: C:/src/vcpkg/packages/zlib_x64-windows/debug/lib/pkgconfig/zlib.pc
-- Installing: C:/src/vcpkg/packages/zlib_x64-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\huawei\AppData\Local\vcpkg\archives\45\45c763ac2eb7b2b4996a347bee704e37e7515f27672dbae91a936616f1d80f97.zip
Installing package zlib[core]:x64-windows...
Elapsed time for package zlib:x64-windows: 16.21 s
Starting package 4/5: llvm:x64-windows
Building package llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-rtti,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows...
-- Note: llvm only supports static library linkage. Building static library.
-- Downloading https://github.com/llvm/llvm-project/archive/llvmorg-13.0.0.tar.gz -> llvm-llvm-project-llvmorg-13.0.0.tar.gz...
-- Extracting source C:/src/vcpkg/downloads/llvm-llvm-project-llvmorg-13.0.0.tar.gz
-- Applying patch 0002-fix-install-paths.patch
-- Applying patch 0003-fix-openmp-debug.patch
-- Applying patch 0004-fix-dr-1734.patch
-- Applying patch 0005-fix-tools-path.patch
-- Applying patch 0007-fix-compiler-rt-install-path.patch
-- Applying patch 0009-fix-tools-install-path.patch
-- Applying patch 0010-fix-libffi.patch
-- Applying patch 0011-fix-libxml2.patch
-- Using source at C:/src/vcpkg/buildtrees/llvm/src/org-13.0.0-41c002f263.clean
-- Downloading https://www.python.org/ftp/python/3.10.1/python-3.10.1-embed-amd64.zip -> python-3.10.1-embed-amd64.zip...
-- Configuring x64-windows
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:487 (message):
  The following variables are not used in CMakeLists.txt:

      LLDB_ENABLE_CURSES

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/llvm/portfile.cmake:236 (vcpkg_cmake_configure)
  scripts/ports.cmake:145 (include)

-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9
    Working Directory: C:/src/vcpkg/buildtrees/llvm/x64-windows-dbg
    See logs for more information:
      C:\src\vcpkg\buildtrees\llvm\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
  ports/llvm/portfile.cmake:261 (vcpkg_cmake_install)
  scripts/ports.cmake:145 (include)

Error: Building package llvm:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+llvm
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[llvm]+Build+error
including:
  package: llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-rtti,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows -> 13.0.0#1
    vcpkg-tool version: 2022-02-24-7efe7f2b04912a7d674f86a406f9f2711c0221c6
    vcpkg-scripts version: 1b1ae50e1 2022-02-25 (11 hours ago)

Additionally, attach any relevant sections from the log files above.

-Please attach any additional failure logs mentioned in the console output.
install-x64-windows-dbg-out.log
Additional context

package:llvm[clang,compiler-rt,core,default-options,default-targets,disable-abi-breaking-checks,disable-assertions,disable-clang-static-analyzer,enable-bindings,enable-rtti,enable-terminfo,enable-threads,enable-zlib,lld,target-x86,tools]:x64-windows -> 13.0.0#1

@RookieTars Thanks for posting this issue, could you please provide the error log? I didn't find the error in the file you provided.
eg：
config-x64-windows-err.log
install-x64-windows-dbg-err.log
install-x64-windows-rel-err.log

I'm seeing the same issue.
In my case,
To Reproduce:
Steps to reproduce the behavior:
./vcpkg install opencv4[*]

OS: Windows 10 20H2 Build 19042
Compiler:
vcpkg-tool version: 2022-02-24-7efe7f2b04912a7d674f86a406f9f2711c0221c6
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27045 for x86

I cannot attach the files you requested:

config-x64-windows-err.log --> this file is empty.
install-x64-windows-dbg-err.log --> this file is empty.
install-x64-windows-rel-err.log --> this file does not exist, probably because the process failed before starting to build the release version.

@FrankXie05
Sorry for the missing parts. But I have the same problem like @yotamat with config-x64-windows-err.log and install-x64-windows-dbg-err.log empty. install-x64-windows-rel-err.log doesn't exist, either.
Here's all my logs that are not empty in directory buildtrees/llvm. Hope these would help.
patch-x64-windows-2-err.log
patch-x64-windows-3-err.log
patch-x64-windows-1-err.log
patch-x64-windows-6-err.log
stdout-x64-windows.log
install-x64-windows-dbg-out.log
config-x64-windows-out.log
extract-err.log
patch-x64-windows-5-err.log
patch-x64-windows-0-err.log
patch-x64-windows-4-err.log
patch-x64-windows-7-err.log

@RookieTars Which version of CMake you use? I found you use CMake which installed in C:/Program Files/CMake/bin/cmake.exe. and did you install English language package in Visual Studio Installer?
@yotamat Thank you for your commit, but this may not be a problem because it is not the same port, you can re-submit an issue to solve it, of course, if it can help you, it is the best.

@FrankXie05 My CMake version is 3.23.0-rc1.And I have installed English language package in Visual Studio Installer.

This issue was fixed yesterday. Build successed on my desktop.

Change label to port-bug and fixed by #23334


Update requests to include CSRF Token header

Comply with API changes.

@2Cubed, thanks for your PR! By analyzing the blame information on this pull request, we identified @connor4312 to be a potential reviewer


"Invalid backend parameter" for AzureAD Tenant

Been struggling to get this implemented and find the documentation pretty vague. I'd like to help improve it if I can get this working.
Related documentaiton:
https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html
# settings.py
INSTALLED_APPS = [
    ...
    'drf_social_oauth2',
    'oauth2_provider',
    'rest_framework',
    'social_django',
    ...
]

TEMPLATES = [
    {
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'social_django.context_processors.backends',
                'social_django.context_processors.login_redirect',
            ],
        },
    },
]

REST_FRAMEWORK = {
    ...
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework_simplejwt.authentication.JWTAuthentication',
        'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
        'drf_social_oauth2.authentication.SocialAuthentication',
    ),
    ...
}

SOCIAL_AUTH_POSTGRES_JSONFIELD = True

SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY = '<azure_client_id>'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET = '<azure_client_secret>'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID = '<azure_tenant_id>'

AUTHENTICATION_BACKENDS = (
    'django.contrib.auth.backends.ModelBackend',
    'drf_social_oauth2.backends.DjangoOAuth2',
    'social_core.backends.azuread_tenant.AzureADTenantOAuth2',
)

# urls.py

from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path('api/admin/', admin.site.urls),
    path('api/users/auth/azuread/', include('drf_social_oauth2.urls', namespace='drf')),
    path('api/users/', include('users.urls', namespace='users')),
]

And then this is what I get when I try to run a POST request in Postman:

I've tried:

backend=azuread_tenant
backend=AzureADTenantOAuth2
backend=azureadtenantoauth2

Really isn't clear what the values of backend need to be, what are acceptable, where they can be found, or if it is an arbitrary designation.
Also, in these curl requests:
curl -X POST -d "grant_type=convert_token&client_id=<client_id>&client_secret=<client_secret>&backend=facebook&token=<facebook_token>" http://localhost:8000/auth/convert-token

It seems like <client_id> and <client_secret> are the values for the App in Django Admin, and not for the backend you are using (those are declared in the settings.py).
There isn't a convert_token type for the App in Django Admin, so it is unclear what the Authorization grant type should be set at for the App in there.
Also, token= isn't really discussed at all in the "Integration Examples", nor in the python-social-auth, or oauth2-provider... so not sure if this is a value that is supposed to be generated by the backend provider when you are setting up the integration on their platform, or if it is something that is returned from the OAuth2 request and the /convert-token is a second step...
At any rate, the primary issue is the invalid backend parameter.

Hi @cheslijones. Thanks for creating the issue.
Let's go by parts as there is a lot of information there. So backend should be what python-social-auth allows us to use, In my case I use backed=facebook to authenticate against Facebook Auth API.
The client_id and clint_secret are the values auto-generated from the Application you must create. Just go the Application in the admin and create a new Application there. With regards of these values:
SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = ''
SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = ''
They must be retrieved from Azure. I myself never used Azure, but in order to authenticate with facebook I had to create a new facebook app. This new app provided me with a client key and client secret. Those must be set up in the settings.py.

Regarding your INSTALLED_APPS, you have the following:
INSTALLED_APPS = [
    ...
    'drf_social_oauth2',
    'oauth2_provider',
    'rest_framework',
    'social_django',
    ...
]

Please, replace with the following:
INSTALLED_APPS = [
    ...
    'oauth2_provider', # this needs to be listed first.
    'social_django',      # social django uses oauth2_provider
    'drf_social_oauth2', # this guy uses the two listed above
    'rest_framework',
    'rest_framework.authtoken', # see if you need this as well!
     ....
]

Otherwise, the migrations will not properly!

One more question, where did you see these values at the documentation:
backend=azuread_tenant
backend=AzureADTenantOAuth2
backend=azureadtenantoauth2
I could not see them.

Let's go by parts as there is a lot of information there. So backend should be what python-social-auth allows us to use, In my case I use backed=facebook to authenticate against Facebook Auth API.

One more question, where did you see these values at the documentation:
backend=azuread_tenant
backend=AzureADTenantOAuth2
backend=azureadtenantoauth2

I could not see them.
These two go together. I'm honestly guessing what it should be. I don't see it notated anywhere what exactly are acceptable values for this. Based on the two Integration examples:
    # Google OAuth2
    'social_core.backends.google.GoogleOAuth2',

    backend=google-oauth2

    # Facebook OAuth2
    'social_core.backends.facebook.FacebookAppOAuth2',

    backend=facebook

So I figured for Azure it had to be one of the following:
backend=azuread_tenant
backend=AzureADTenantOAuth2
backend=azureadtenantoauth2

Based on...
'social_core.backends.azuread_tenant.AzureADTenantOAuth2',

I was apparently wrong in this assumption.
But the python-social-auth documentation doesn't really say what acceptable values are, unless I'm overlooking it.
https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html
Is this value supposed to correspond with the app name for the app created in Django Admin, by chance?

The client_id and client_secret are the values auto-generated from the Application you must create. Just go the Application in the admin and create a new Application there. With regards of these values:

SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = ''
SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = ''
They must be retrieved from Azure. I myself never used Azure, but in order to authenticate with facebook I had to create a new facebook app. This new app provided me with a client key and client secret. Those must be set up in the settings.py.
Thanks for confirming. That is what it sounded like to me.

the token is indeed not clear. This is the token generated from the authentication against your backend. See this, once you authenticate using your username/email and password, your backend -- in my case Facebook -- will respond back with a token. In facebook this token may be generated for test purposes in this link: https://developers.facebook.com/tools/explorer/.
Therefore you need to find a test api for azure of authenticate against them.

Thanks, I'll look into this in Azure.
I reorganized my INSTALLED_APPS per your suggestion and I'll keep testing.

Well, I finally guessed the backend= correctly... backend=azuread-tenant-oauth2. Now I'm getting:
[api]     data = self.user_data(access_token, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/azuread_tenant.py", line 97, in user_data
[api]     id_token = response.get('id_token')
[api] AttributeError: 'NoneType' object has no attribute 'get'

I still need to sort out the token= in Azure, but at least progress.

I am happy that you managed to find the backend name. Look, what is the version of python-social-auth you're using? I have just visited this page: https://github.com/python-social-auth/social-core/blob/master/social_core/backends/azuread_tenant.py.
This is the core from the file where your had the error. I can't find the same code in line 97!

@cheslijones do you have any news about this?

@wagnerdelima Hi, I actually had to throw in the towel on this and went with a client-side ReactJS solution for handling it. So far it has worked as expected.
But to answer your question I was using 0.3.6 which I believe is the latest and it doesn't look like it has been updated in four years.

I am sorry you had a bad experience. I think you were using a very old version. The latest version is 3.4.0 and the last commit is from Jun 21, 2020.
That may be the reason!

Ok, I'm back with hopefully a better understanding of how I need to implement this.
My flow, as I understand it should be working between microservices, is the following:

User navigates to domain.com/admin which is my ReactJS FE.
This redirects them to Microsoft login to authenticate against Azure AD using react-aad.
This provides the accessToken.
This accessToken needs to be sent to the Django/DRF API to also be validated because otherwise, any string could be passed from the FE and accepted--the API also needs to verify it.
A combination of drf-social-oauth2, oauth2_provider, and social_django are supposed to take this accessToken, validate it against Azure AD from the API, and convert the token to one to be used between my ReactJS FE and the Django/DRF API.

Is this correct?
If so, I have 1-3 working. Now I'm trying to send it to my API to also be validated for subsequent requests. This is where I'm struggling with the pretty much the same issues I had before.
 THIS IS FOR TESTING ONLY
  const testApiAuthentication = async () => {
    let accessToken = await authProvider.getAccessToken();
    setAccessToken(accessToken.accessToken);
    if (accessToken) {
      setAuthenticatingToken(true);
      axios({
        method: 'post',
        url: '/api/auth/convert-token',
        params: {
          grant_type: 'convert_token',
          client_id: '<client_id_from_django_admin>',
          client_secret: '<client_secret_from_django_admin>',
          backend: 'azuread-tenant-oauth2',
          token: accessToken.accessToken
        }
      })
        .then((response) => {
          console.log(response);
        })
        .catch((error) => {
          console.log(error);
        });
    }
  };

# requirements.txt
asgiref==3.2.10
astroid==2.4.2
attrs==20.2.0
autobahn==20.7.1
Automat==20.2.0
certifi==2020.6.20
cffi==1.14.3
channels==2.4.0
chardet==3.0.4
constantly==15.1.0
cryptography==3.1.1
daphne==2.5.0
defusedxml==0.7.0rc1
Django==3.1.2
django-oauth-toolkit==1.3.3
djangorestframework==3.12.1
djangorestframework-simplejwt==4.4.0
drf-social-oauth2==1.0.8
hyperlink==20.0.1
idna==2.10
incremental==17.5.0
isort==5.6.4
lazy-object-proxy==1.4.3
mccabe==0.6.1
oauthlib==3.1.0
psycopg2-binary==2.8.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
PyHamcrest==2.0.2
PyJWT==1.7.1
pylint==2.6.0
pyOpenSSL==19.1.0
python3-openid==3.2.0
pytz==2020.1
requests==2.24.0
requests-oauthlib==1.3.0
service-identity==18.1.0
six==1.15.0
social-auth-app-django==4.0.0
social-auth-core==3.4.0
sqlparse==0.4.1
toml==0.10.1
Twisted==20.3.0
txaio==20.4.1
urllib3==1.25.11
whitenoise==5.2.0
wrapt==1.12.1
zope.interface==5.1.2

# settings.py
"""
Django settings for config project.

Generated by 'django-admin startproject' using Django 3.1.2.

For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
import os
from datetime import timedelta

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ['SECRET_KEY']

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ['DEBUG'] == 'True'

ALLOWED_HOSTS = [
    os.environ['DOMAIN'],
    'companyapp.local',
    '.companyapp.com'
]

# Application definition

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    # Third-party packages
    'channels',
    'rest_framework',
    'oauth2_provider',
    'social_django',
    'drf_social_oauth2',
]

MIDDLEWARE = [
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'whitenoise.middleware.WhiteNoiseMiddleware',
]

ROOT_URLCONF = 'config.urls'

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
                'social_django.context_processors.backends',
                'social_django.context_processors.login_redirect',
            ],
        },
    },
]

WSGI_APPLICATION = 'config.wsgi.application'
ASGI_APPLICATION = "config.routing.application"

# Database
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': os.environ['PGDATABASE'],
        'USER': os.environ['PGUSER'],
        'PASSWORD': os.environ['PGPASSWORD'],
        'HOST': os.environ['PGHOST'],
        'PORT': 5432
    }
}

# REST Framework settings
# https://www.django-rest-framework.org/
REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': [
        'rest_framework.renderers.JSONRenderer',
    ],
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework_simplejwt.authentication.JWTAuthentication',
        'oauth2_provider.contrib.rest_framework.OAuth2Authentication',  # django-oauth-toolkit >= 1.0.0
        'drf_social_oauth2.authentication.SocialAuthentication',
    ),
    'DEFAULT_PERMISSION_CLASSES': [
        'rest_framework.permissions.AllowAny',
    ],
}

# SIMPLE_JWT Settings
# https://github.com/davesque/django-rest-framework-simplejwt
SIMPLE_JWT = {
    'ACCESS_TOKEN_LIFETIME': timedelta(days=3),
    'REFRESH_TOKEN_LIFETIME': timedelta(days=1),
    'SIGNING_KEY': os.environ['SECRET_KEY'],
}

AUTHENTICATION_BACKENDS = (
    'social_core.backends.azuread_tenant.AzureADTenantOAuth2',
    'drf_social_oauth2.backends.DjangoOAuth2',
    'django.contrib.auth.backends.ModelBackend',
)

SOCIAL_AUTH_POSTGRES_JSONFIELD = True

SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY = '<client_id_from_azure_apps>'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET = '<client_secret_from_azure_apps>'
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID = '<tenant_id_from_azure>'

# Password validation
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
    {
        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
    },
]

# Internationalization
# https://docs.djangoproject.com/en/3.1/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'America/Los_Angeles'

USE_I18N = True

USE_L10N = True

USE_TZ = True

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.1/howto/static-files/

STATIC_URL = '/static/'

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/
# STATIC_URL = '/static/'
STATIC_URL = '/api/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

# Define the upload and download directories
DOWNLOAD_ROOT = '/mnt/company-files/client-downloads/'
MEDIA_ROOT = '/mnt/company-files/client-submissions/'

# urls.py

from django.contrib import admin
from django.urls import path, include

from users.views import TestView

urlpatterns = [
    path('api/admin/', admin.site.urls),
    path('api/users/', TestView.as_view()),
    path('api/auth/', include('drf_social_oauth2.urls', namespace='drf')),
]

And I get the following error:
[api] Internal Server Error: /api/auth/convert-token
[api] Traceback (most recent call last):
[api]   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
[api]     response = get_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
[api]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[api]     return view_func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
[api]     return self.dispatch(request, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
[api]     return bound_method(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[api]     return view_func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/views.py", line 37, in dispatch
[api]     return super(CsrfExemptMixin, self).dispatch(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
[api]     response = self.handle_exception(exc)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
[api]     self.raise_uncaught_exception(exc)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
[api]     raise exc
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
[api]     response = handler(request, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/views.py", line 93, in post
[api]     url, headers, body, status = self.create_token_response(request._request)
[api]   File "/usr/local/lib/python3.8/site-packages/oauth2_provider/views/mixins.py", line 124, in create_token_response
[api]     return core.create_token_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_backends.py", line 30, in create_token_response
[api]     return super(KeepRequestCore, self).create_token_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/oauth2_provider/oauth2_backends.py", line 148, in create_token_response
[api]     headers, body, status = self.server.create_token_response(uri, http_method, body,
[api]   File "/usr/local/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", line 116, in wrapper
[api]     return f(endpoint, uri, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_endpoints.py", line 91, in create_token_response
[api]     return grant_type_handler.create_token_response(
[api]   File "/usr/local/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py", line 60, in create_token_response
[api]     self.validate_token_request(request)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_grants.py", line 100, in validate_token_request
[api]     user = backend.do_auth(access_token=request.token)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/utils.py", line 251, in wrapper
[api]     return func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/oauth.py", line 410, in do_auth
[api]     data = self.user_data(access_token, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/azuread_tenant.py", line 97, in user_data
[api]     id_token = response.get('id_token')
[api] AttributeError: 'NoneType' object has no attribute 'get'

I have verified the request is URL params are formed correctly. Reluctant to post the client_id, client_secret, and token though.
Any suggestions as to what I'm doing wrong?

Yes, it seems you have figured out what you have to do. So, let's try to change the order of your installed apps to:
...
'oauth2_provider',
'social_django',
'drf_social_oauth2',
'rest_framework',
'rest_framework.authtoken',

Your DEFAULT_PERMISSION_CLASSES should also change (unrelated to your problem):
'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'],
Please try switching the order of things on the installed apps. I really don't think this is the cause of your troubles. I personally don't have a clue why you're getting this. Please let me know if you managed so we can plan a debug otherwise.

Gave it a shot and still running into the same issue.
I was playing with DRFSO2_PROPRIETARY_BACKEND_NAME and when I add:
DRFSO2_PROPRIETARY_BACKEND_NAME = 'azuread-tenant-oauth2'

I get a different error:
[api] Internal Server Error: /api/auth/convert-token
[api] Traceback (most recent call last):
[api]   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
[api]     response = get_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
[api]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[api]     return view_func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
[api]     return self.dispatch(request, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
[api]     return bound_method(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[api]     return view_func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/views.py", line 37, in dispatch
[api]     return super(CsrfExemptMixin, self).dispatch(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
[api]     response = self.handle_exception(exc)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
[api]     self.raise_uncaught_exception(exc)
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
[api]     raise exc
[api]   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
[api]     response = handler(request, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/views.py", line 93, in post
[api]     url, headers, body, status = self.create_token_response(request._request)
[api]   File "/usr/local/lib/python3.8/site-packages/oauth2_provider/views/mixins.py", line 124, in create_token_response
[api]     return core.create_token_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_backends.py", line 30, in create_token_response
[api]     return super(KeepRequestCore, self).create_token_response(request)
[api]   File "/usr/local/lib/python3.8/site-packages/oauth2_provider/oauth2_backends.py", line 148, in create_token_response
[api]     headers, body, status = self.server.create_token_response(uri, http_method, body,
[api]   File "/usr/local/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", line 116, in wrapper
[api]     return f(endpoint, uri, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_endpoints.py", line 91, in create_token_response
[api]     return grant_type_handler.create_token_response(
[api]   File "/usr/local/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py", line 60, in create_token_response
[api]     self.validate_token_request(request)
[api]   File "/usr/local/lib/python3.8/site-packages/drf_social_oauth2/oauth2_grants.py", line 100, in validate_token_request
[api]     user = backend.do_auth(access_token=request.token)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/utils.py", line 251, in wrapper
[api]     return func(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/oauth.py", line 416, in do_auth
[api]     return self.strategy.authenticate(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_django/strategy.py", line 107, in authenticate
[api]     return authenticate(*args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/django/contrib/auth/__init__.py", line 73, in authenticate
[api]     user = backend.authenticate(request, **credentials)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/base.py", line 80, in authenticate
[api]     return self.pipeline(pipeline, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/base.py", line 83, in pipeline
[api]     out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs)
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/base.py", line 113, in run_pipeline
[api]     result = func(*args, **out) or {}
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/pipeline/social_auth.py", line 5, in social_details
[api]     return {'details': dict(backend.get_user_details(response), **details)}
[api]   File "/usr/local/lib/python3.8/site-packages/social_core/backends/base.py", line 173, in get_user_details
[api]     raise NotImplementedError('Implement in subclass')
[api] NotImplementedError: Implement in subclass

Ok, I came across this looking at the subclass issue:
https://github.com/RealmTeam/django-rest-framework-social-oauth2/issues/42
I implemented the class here and added it to my settings.py per here. I did have to comment out the do_auth method in mine and let the DjangoOAuth2 do that part.
At this point it is authenticating and retrieving user info, but creating users "weirdly" so I'll look into that tomorrow. I'll post what I end up doing to get this working.

Hey @cheslijones can you please show me what are these weirdly looking users?

@wagnerdelima Sorry, that was very unhelpful on my part. So it keeps creating a new user in the database even though it is the same user. There is probably a configuration I'm overlooking.
I got this far pretty late in the day and I'm being pulled in a different direction for the rest of the week, so will probably be Monday before I can take a deeper look at this again.

mm.. that's interesting. Integration Oauth2 with facebook generates users such as: NameSurname etc, instead of this unique id?
Perhaps this is something from Azure itself?
Did you manage to generate the token through the /convert-token endpoint though?

@cheslijones do you have any news on this?

Hi sorry, still working on another project for hopefully just another week and then I'll get back on this.

@cheslijones any feedback here?

@cheslijones any feedback here?

@wagnerdelima Sorry, I've been on a whole bunch of other projects and hope to circle back to this in February.

@wagnerdelima Sorry, I've been on a whole bunch of other projects and hope to circle back to this in February.

@wagnerdelima Hi, I have the same problem. I see users with id-like usernames in the database. The only difference is that I'm trying to authenticate using GitHub. On top of this problem, I run to IntegrityError:
Traceback (most recent call last):
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL:  Key (provider, uid)=(Django, None) already exists.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 497, in dispatch
    self.initial(request, *args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 414, in initial
    self.perform_authentication(request)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/views.py", line 324, in perform_authentication
    request.user
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/request.py", line 227, in user
    self._authenticate()
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework/request.py", line 380, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/rest_framework_social_oauth2/authentication.py", line 63, in authenticate
    user = backend.do_auth(access_token=token)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/utils.py", line 248, in wrapper
    return func(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/backends/oauth.py", line 403, in do_auth
    return self.strategy.authenticate(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_django/strategy.py", line 105, in authenticate
    return authenticate(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/views/decorators/debug.py", line 42, in sensitive_variables_wrapper
    return func(*func_args, **func_kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/contrib/auth/__init__.py", line 76, in authenticate
    user = backend.authenticate(request, **credentials)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/backends/base.py", line 80, in authenticate
    return self.pipeline(pipeline, *args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/backends/base.py", line 83, in pipeline
    out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/backends/base.py", line 113, in run_pipeline
    result = func(*args, **out) or {}
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_core/pipeline/social_auth.py", line 35, in associate_user
    social = backend.strategy.storage.user.create_social_auth(
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/social_django/storage.py", line 138, in create_social_auth
    social_auth = cls.objects.create(user=user, uid=uid, provider=provider)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/query.py", line 453, in create
    obj.save(force_insert=True, using=self.db)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/base.py", line 739, in save
    self.save_base(using=using, force_insert=force_insert,
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/base.py", line 776, in save_base
    updated = self._save_table(
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/base.py", line 881, in _save_table
    results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/base.py", line 919, in _do_insert
    return manager._insert(
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/query.py", line 1270, in _insert
    return query.get_compiler(using=using).execute_sql(returning_fields)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1416, in execute_sql
    cursor.execute(sql, params)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/debug_toolbar/panels/sql/tracking.py", line 205, in execute
    return self._record(self.cursor.execute, sql, params)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/debug_toolbar/panels/sql/tracking.py", line 140, in _record
    return method(sql, params)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 98, in execute
    return super().execute(sql, params)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/Users/milan/.local/share/virtualenvs/backend-pyqZ1kNv/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL:  Key (provider, uid)=(Django, None) already exists.

Do you have any idea what can be causing this?
Any help is highly appreciated.

Hi @MilanZiaran
This is due to a user having the same email in the database. Then, once the user signs on with social OAuth, the integrity error is raised. This is something I will work on in the near future.

@wagnerdelima Thank you very much for your quick response! Overriding the do_auth and user_data methods from the DjangoOAuth2 as shown here fixed this, I was wondering if there's a maybe a cleaner solution for this.

@MilanZiaran thank you for commenting. There might be an issue with the azure tenant from the social python. Not necessarily with drf-social-oauth2 framework.
I will investigate this in the future for certain. I will leave this issue open.

@wagnerdelima indeed, I've gone through that problem using Django Python Social Auth only.

I have been trying to implement Azure AD into my application, I get the access token from Microsoft however when I try to send the convert-token request. I get the following error:
Error: token: Array [ "Ensure this field has no more than 2000 characters." ]
Request payload:
const payload: Credentials = {
          backend: 'azuread-v2-tenant-oauth2',
          grant_type: 'convert_token',
          client_id: import.meta.env.PERI_CLIENT_ID,
          client_secret: import.meta.env.PERI_CLIENT_SECRET,
          token: response.accessToken,
        }

I have tried backend: azuread-tenant-oauth2 and azuread-v2-tenant-oauth2
I have scanned as much of the internet and code as I can but I cannot seem to figure out a solution. Does anyone have any insight?
I appreciate your time and response. Thank you.

Just for clarity, the accessToken that comes back from Microsoft is 2500 characters long. Can we increase the max_length to a higher number, maybe something like 5000?

@wagnerdelima - Sorry to bother - I would very much appreciate your input here. I want to avoid creating a separate issues if possible as I believe the context to this issue is related to Azure specifically.
I can kindly create a PR to increase the ConvertTokenSerializer token = CharField(max_length=2000) to max_length=5000 if you deem this is a valid solution.
Thank you for your time and effort.


Ch help endpoint

Description
The help button to log the victim's location and other details.

@jothamardel check the issues here https://app.codacy.com/gh/BuildForSDG/Team-075-ERS/pullRequests


Bug: Cornerstone Examples

All examples are giving error (https://www.cornerstonejs.org/docs/examples)

Thanks for the report https://github.com/cornerstonejs/cornerstone3D-beta/pull/373


BIGTOP-3726: Align the version of the components in Mpack

https://issues.apache.org/jira/browse/BIGTOP-3726
Description of PR
Align the version of the components in Mpack.
Also update repo info to 3.2.
How was this patch tested?
Deploy Mpack and check services versions:
cd bigtop/provisioner/bigtop-stack-provisioner/docker/centos7
Build environment image: ./build-image.sh
Setup Environment: ./build-containers.sh
Access Ambari webui: localhost:8080
Check Bigtop serivces:

This PR is to align every version in MPack.
I confirmed that all tests/builds were passed and it would not affect other Bigtop components.


Benchmark library version is updated

@googlebot I fixed it.

There's actually a versions.gradle file in the base folder of the repo - could you move your change there and then run ./update_versions.sh?

Done

Thank you! Could you also put the kotlin version bump into the common versions.gradle file or undo it?

Done

Thanks for contributing !


QnA Migration to Language Services

How does Composer support from 1st October for creating new QnA KB's, since the QnA maker is getting deprecated.

I have the same question

Hi all,
Please see new update from Microsoft here.
https://github.com/microsoft/BotFramework-Composer/issues/9400

Hi everyone - please see the following github post for guidance and updates on this issue. Thanks
https://github.com/microsoft/BotFramework-Composer/issues/9400


A very simple question: how to get COCO 10% labeled data

If there a public version of COCO 1% or 10% labeled data? Should I split personally?

You can use the flag --filter_pct 0.01 or --filter_pct 0.1


Bug: Invalid IPv6 address in allowedSubnets in config.json results in crash

Need to add a catch statement here:
https://github.com/billchurch/webssh2/blob/0.2.10-1/app/server/socket.js#L29
Due to this error:
/Users/bill/Documents/webssh2/app/node_modules/ip6addr/ip6addr.js:352
      throw new Error('Invalid argument: <addr>/<prefix> expected');
      ^

Error: Invalid argument: <addr>/<prefix> expected
    at new CIDR (/Users/bill/Documents/webssh2/app/node_modules/ip6addr/ip6addr.js:352:13)
    at Object.createCIDR (/Users/bill/Documents/webssh2/app/node_modules/ip6addr/ip6addr.js:711:12)
    at Matcher.addNetworkClass (/Users/bill/Documents/webssh2/app/node_modules/cidr-matcher/src/Matcher.js:20:24)
    at new Matcher (/Users/bill/Documents/webssh2/app/node_modules/cidr-matcher/src/Matcher.js:15:14)
    at Namespace.socket (/Users/bill/Documents/webssh2/app/server/socket.js:29:19)
    at Namespace.emit (events.js:198:13)
    at Namespace.emit (/Users/bill/Documents/webssh2/app/node_modules/socket.io/lib/namespace.js:213:10)
    at /Users/bill/Documents/webssh2/app/node_modules/socket.io/lib/namespace.js:181:14
    at process._tickCallback (internal/process/next_tick.js:61:11)

We should be validating the user input before passing this to CIDRMatcher.
Could use "validator" in app.js for this variable, we'd need to loop through it though. Should add this here:
https://github.com/billchurch/webssh2/blob/e796f9fb5874d6557433f25e8976b7aa58fa8144/app/server/app.js#L157

Validator doesn't have a function that will validate subnets... Going to see about doing a PR.

this seems to work with the most recent version of validator as-is.


typedef enum

Example of C code:
typedef enum {RANDOM, IMMEDIATE, SEARCH} strategy;
strategy my_strategy = IMMEDIATE;

Example:
 typedef enum {
    a, b, c
 } MY_TYPE;
 typedef struct {
    MY_TYPE myEnumVar;
 } MY_STRUCT;
 MY_STRUCT myStruct = {a};

Was this already fixed in #252?

No, In according to https://github.com/elliotchance/c2go/blob/master/tests/enum.c . we haven't implementation enum with typedef.


Add steps to verify Agent OS

Steps for verify that test are run on machine with the expected OS

@Azure/azure-sdk-eng

Can one of the admins verify this patch?


chore(*): Upgrade to latest client-go

client-go has recently gone through a major structural overhaul wherein, among other changes, major.minor version numbers have been removed from the fully qualified package URIs.
For instance, packages k8s.io/client-go/1.4/pkg/api/v1 and k8s.io/client-go/1.5/pkg/api/v1 have been eliminated in favor of k8s.io/client-go/pkg/api/v1 and this is to be the case going forward. See notes on this here.
My primary motivation in opening this PR is that Steward is upgrading (or hopes to upgrade) to the latest version of client-go. Steward integration tests consume k8s-claimer programmatically, and since it's not possible to consume two different versions of the same library, k8s-claimer needs this upgrade to resolve that would-be dependency conflict.
Of course, it's an added bonus that this keeps k8s-claimer nice and current and insulates it from future busy work involving changing major.minor version numbers in paths each time this library is versioned in the future.

Current coverage is 55.87% (diff: 50.00%)

Merging #99 into master will not change coverage

@@             master        #99   diff @@
==========================================
  Files            21         21
  Lines           528        528
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            295        295
  Misses          194        194
  Partials         39         39

Powered by Codecov. Last update 77e954f...19ba9e5


Auto-generated decorations

Requires https://github.com/MovingBlocks/Terasology/pull/2007

Neat! And finally found a town hall. Clever little internal courtyard :-)
Still haven't found any tower stairs. None of the few cities I visited in this round of testing had walls at all.
Are the barrels in every house? If so should they be a little more rare, say 50% chance to have barrels at all, in some combination? Probably could also leave some small stacks of firewood around here and there, but maybe that's coming :D

Only town wall tower have stairs. Those that are not next to a gate also have roof door so you can climb on top.


Fabric Loader 0.15+ Compatibility

Fabric Loader 0.15+ now shadows and relocates some libraries that used to be available at runtime, which means that currently MRAPI will not work for those loader versions in the current state.
The solution we found is to shadow and relocate those libraries ourselves too, however currently there is an issue where the game freezes when trying to remap a mod, so we are working on fixing it before releasing a build of MRAPI that would be compatible with both loader 0.14 and 0.15+.

Fixed by 1.18.0.


bottom navigation color

I want to set my own color for bottom navigation background

call the function setBarBackgroundColor

@asebak thanks for the support.
@ambadasgangul as @asebak said you need to use setBarBackgroundColor to set the background color.
For more customization take a look at this wiki page


[4.1] [Type checker] Suppress near-miss warnings within the type definition.

Explanation: Back off slightly on the protocol conformance "near-miss" warnings introduced in Swift 4.1, suppressing them in the main type definition, which we hope will reduce the incidence of false positives that are annoying annoying users.
Scope: The code to check for these warnings is used all the time, but they don't fire that often. Scope is sorta uninteresting for this one.
Risk: Very low; we're disabling a warning in certain cases.
Testing: Regression tests
Reviewer:
SR / Radar: rdar://problem/37283860

@swift-ci please test

@swift-ci please nominate


:DepsListPlugins to list all installed plugins.

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.deps
Description
Hi echasnovski! I wanted to know if there is anyway with which I can list all the installed plugins with mini.deps. Is something like that possible in any way or if not, can it be supported.

Yes, it is possible with get_session(). If you want any possibly loadable plugin, inspect runtime paths for native packages.

@echasnovski is it possible to add some command like :DepsListPlugins to mini.deps if possible for showing all plugins in a neat manner like when we use :DepsUpdate.

Sure, it is possible, but I don't much point in it. :DepsUpdate already has such view. In case of no internet, there is :DepsUpdateOffline. To not apply updates, close the window without writing the buffer.


docs/Fix documentation about returning type of crypto getRaw functions

Coverage remained the same at 82.789% when pulling 8602692b6d9aab8061e7150ef3da5a450a10e988 on bochaco:fix-doc-crypto-getRaw into 67d29c21062052c2d42dc50450ae05959d2c5f7c on maidsafe:master.


Add Mainnet setup to the wallet so you don't have to import the file manually

When running the current 0.9.2 vegawallet running the command ./vegawallet network list gives the network of fairground. Now that the validators are almost live with the mainnet network we should have the config in the wallet so users can run ./vegawallet service run --network "MAINNET_NETWORK_NAME"
This will mitigate any issues in the community of people getting isues/errors after manually adding the mainnet config
Im not sure if this request would be covered under: https://github.com/vegaprotocol/vegawallet/issues/346  🤷♂

Actually we are thinking in ditching the embedded confirguration from the vegawallet, in favor of the sole usage of  network import --from-url

https://github.com/vegaprotocol/networks/pull/69

This will not be added as we removed the embedding of network configurations.

Synology DSM Docker Hypervisor Theta Edge Node Image
NOTE: No need to pull any Docker Hypervisor Image because the Synology Docker Hypervisor image thetalabs-edgelauncher_mainnet is already registered !!

Tap the Docker icon from the Main DSM Menu
Select the Registry node
Search for edgelauncher_mainnet
Double-Left Tap  thetalabsorg-edgelauncher_mainnet
Display message: Follow the setup instructions for the Synology Docker thetalabsorg-edgelauncher_mainnet image . . .
No setup instructions found !!!
From the Synology Docker Hypervisor Theta Edge Node Image thetalabs-edgelauncher_mainnet Terminal Tab’s BASH prompt ‘thetalabsorg-edgelauncher_mainnet1’ , , , launched with ⇒ /edgelauncher/integration/docker/node_mainnet/start.sh . . .

Immediate results from the BASH Terminal session ⇒

INFO[0019] Stopping the edgecore process… prefix=launcher
INFO[0019] Stopping the anycast process…     prefix=launcher
INFO[0019] anycast started.                 prefix=launcher
INFO[0019] Setup wallet…                    prefix=launcher
ERRO[0019] Failed to execute command: &{./anycast [./anycast start --config=~/.anycast/] []   0xc00000e018 0xc00000e020 []      false [0xc000140510 0xc00000e018 0xc00000e020] [0xc000140510] [] []  }, err: fork/exec ./anycast: no such file or directory  prefix=launcher
WARN[0020] client.Call res: , error: Post http://<IP_ADDRESS>:7935/rpc: dial tcp <IP_ADDRESS>:7935: connect: connection refused  prefix=launcher

I am suspecting that the WARN messages like the one above which appear in the BASH Terminal session are not a serious issue . . . But , , , the WARNs  are possibly related to what appears to be missing wallet setup instructions ???
I harvest Theta Fuel by Downloading Theta Edge Node for Asus 8R9SQMQ Gaming Laptop with Win10 OS OK from  https://api.thetatoken.org/downloads/edge-node/windows , , , and it created a wallet . . .  Is there a resolution worth trying for the  Synology Docker Hypervisor image thetalabs-edgelauncher_mainnet error following the Setup Wallet above using the wallet created on the Win10 laptop ???


Check page re-render on input change

Issue:
After the fix made in #2, typing in the inputs is now laggy.
This is probably because the whole questions grid re-renders when one input changes.
To investigate if there's anything to be done or if the re-render has to happen only onBlur.

Update:
What was done for this: made BingoDefaultCard update its own state onChange, and update the general game state only onBlur.
Unfortunately, this reactives issue #2 (reset button doesn't work anymore).
So: have to research ways to improve whole page re-render when only one field changes.


Remove the --unsafe-pruning CLI-argument (step 1)

This PR addresses the #8103.
It does not remove CLI-argument completely in order not to break the existing scripts that may use this argument.
Instead it emits a warning when the argument is used. Other than that the argument will take no effect on the execution.
NB: It will be necessary to remove any notion of unsafe-pruning in further releases.

The PR summary:

the CLI argument --pruning archive|<block-num> is exposed to the application as Option<PruningMode> (as opposed to previously used PruningMode);
the sc-client-database::Backend and sc-state-db::StateDb are aware when they are initialised for the first time:

an explicit argument should_init: bool is passed to the constructors;
the latter argument's value is decided upon the attempt to open the underlying dyn Database;
for the test-database DatabaseSource::Custom the flag should_init is to be passed explicitely;

the StateDb stores the value of the PruningMode that was last to be successfully used;
the StateDb instead of the pruning_mode: PruningMode argument accepts requested_pruning_mode: Option<PruningMode>

that argument's value reflects the --pruning CLI-argument closely;
the actual pruning-mode that would be used is decided like that

// client/state-db/src/lib.rs: StateDb::open(...)
let (should_update_meta, selected_mode) = match (should_init, stored_mode, requested_mode) ...

About the red CI.
The code in this PR relies on the correct reaction to the ‘create’ argument (of ‘opn_database’ function) in order to determine whether the storage existed before.
With ‘parity-db’ the case of opening a nonexistent storage yields an incorrect error.
I think it won’t take terribly long to fix.

There still remains one red item in the CI.
It is caused by the changed field type: sc-service::config::Configuration' — state_pruning turned into Option<PruningMode> instead of the PruningMode.
This creates a circular dependency in the due process:

in order to merge this PR — the cumulus's test/service/lib.rs should be adjusted;
in order to do the latter adjustment — the cumulus's CI would need to go green.

How can that be resolved?

bot merge


[ENH] Reparse Action when losing focus in editor

In GSE2 everything was in one box and it was impossible to give real time feedback on what had been entered.  Now that we have everything in a block it may be possible to reparse a block when the editbox looses focus giving the user immediate feedback on what has been entered.

OK, as adjunct  would it be possible to not show the block format after the creation of a block. Just show it as a line till the user re-selects it and then have it show the block format. Of course the presents the problem of multiple selects etc. It certainly would be easier to visualize

No @woodgray that is not possible at all.  It would still be a bunch of individual boxes.  The closest thing to a box we can get is the raw edit and I can’t incorporate that into the UI as it renders completely different


help!!1 on windows 8.1,I found this proplem:  from stl import mesh   File "D:\Program Files\Anaconda3\lib\site-packages\stl\mesh.py", line 4, in      class Mesh(stl.BaseStl): AttributeError: module 'stl' has no attribute 'BaseStl',thanks advance!

Most likely a duplicate of this issue: https://github.com/WoLpH/numpy-stl/issues/55
You need to remove the other stl library, they're incompatible

Thanks for your quick response.Really appreciate your advise.thanks again and again

Hi, I uninstall stl library and install numoy-stl. The problem still persists...

@AnalyticalTools It can also be caused by a file named stl.py in your directory or anywhere else in the Python path.
Something else has to be using the stl name.


Upgrade packages to pull a Dart 2 compliant mockito.

Fixes #14532

LGTM

PTAL @cbracken

@xster wow, you are fast :)

org dashboard view :)


fix: incorrectly displaying "cargo-" as tool versions instead of "cargo:" in mise ls

Fixes #3025

@jdx The combination of #3015 and this PR changed the behavior of status.show_tools so that instead of displaying the name you wrote in your config file (eg apollo-rover@0.26.2), it shows the expansion, eg<EMAIL_ADDRESS>Was that intentional? (Note that when I try to bisect to understand exactly when this started, I actually can't run the mise created by any commit starting with #3015 until this one due to a panic.)


Added air_cargo to planning.ipynb

I have added the air_cargo problem to planning.ipynb. @MrDupin  and @norvig Please review?

@ad71 thanks for pointing these out


1.9GB new git repo is stuck while uploading > 4 hours (and still going on)

my log id: e819e76f9a2c8c5e2a19361c

Hi @vraravam: oof, sorry for the bad experience.  From the logs, this looks like the same race as #8915, and it should be fixed in master (but not yet released).
I can't think of a good way to salvage the long-running process unfortunately.    I'm sorry for the inconvenience.

@strib - tx. I killed the process - and restarted, and it went through successfully. Must have been the same race condition. Hope your commit fixes the issue. We can close this ticket if you want.

Great, thanks for your patience!


Fix code issues in signature-optimizer.mdx

use the HotPotQA dataset instead of gsm8k
result.rationale instead of result.reason
process devset to include input_keys

Looks good to me!


Is this still used?

This project looks VERY dead.
Is it?
Why is it not archived and superseded by something else? It seems very dangerous to be relying on something that hasn't addressed an issue or PR in something like 3 years.

As with all github projects, if you think you can  do better, feel free to fork the project. If you want to see what other people have done to improve on this software, have a look at the network graph:
https://github.com/arq5x/poretools/network


I found this has an issue in remove debug mode

TypeError:fetch is not a function
the solve method is to " import fetch " in SvgImage.js file

fetch is included in react-native by default. Can you tell which version of react-native you were using?


Added @mix and @asset blade directives

This is a simple PR that provides access to a @asset() and @mix() blade directive to allow a more short hand access to the helpers, recently many directives such as @json @dump etc this continues that.
<link href="{{ mix('css/app.css') }}" rel="stylesheet">

<link href="@mix('css/app.css')" rel="stylesheet">

That makes like no difference.

@dump made it in and various others.
If it doesn’t negatively impact anything, yet allows users more choice - what’s the downside?

@dump sounds like an even worse idea

Bit awkward
https://github.com/laravel/framework/blob/5.6/src/Illuminate/View/Compilers/Concerns/CompilesHelpers.php#L34 👀

Seeing @dd there too seem worse again haha. Both providing an easy way for people to accidently leave debug data in and making people think it is okay to dump in a template as a way to debug instead of using real tools :thinking:

I'm torn on this one I think. To me, it would feel more appealing maybe if I didn't have to even do the link or script tags or whatever. Otherwise I'm not sure it feels like much of a win to me. Thanks for the PR!


[BZ-1328380] fix node hashing when type coercion is involved

See https://github.com/droolsjbpm/drools/pull/752


add dismiss button to invite banner

on mobile, add a dismiss button to the new invite install link banner. here is a screenshot when the new conversation is just one new person with a phone number:

and here it is with multiple people:

no dismiss button on desktop because it would look weird without a bigger redesign.

@keybase/picnicsquad  @keybase/react-hackers


Make supported_by_runtime_system() constexpr

Starting from C++20, we can make supported_by_runtime_system() function constexpr. The limitations are:
/home/yagiz/coding/simdutf/include/simdutf/internal/isadetection.h:195:3: warning: ‘asm’ in ‘constexpr’ function only available with ‘-std=c++20’ or ‘-std=gnu++20’ [-Wc++20-extensions]
  195 |   asm volatile("cpuid\n\t" : "+a"(a), "=b"(b), "+c"(c), "=d"(d));
      |   ^~~
/home/yagiz/coding/simdutf/include/simdutf/internal/isadetection.h:181:23: warning: invalid return type ‘void’ of ‘constexpr’ function ‘constexpr void simdutf::internal::cpuid(uint32_t*, uint32_t*, uint32_t*, uint32_t*)’ [-Winvalid-constexpr]
  181 | static constexpr void cpuid(uint32_t *eax, uint32_t *ebx, uint32_t *ecx,

I don't think it can be a compile-time constant because it is literally evaluated at runtime. :-/ It says so in the name. :-)

It could be conditionally compile-time... that is, on some systems.
Or we could have compile-time versions of our functions.
I am not closing this because the issue raised by @anonrig is valid. It would be cool that everything was compile-time evaluated when possible and it is 100% possible to do so.

I am inviting contributions. This is not impossibly hard.


Documentation:  Override MyST parser to allow external links to open in a new tab

What could be improved

Currently in the help docs, any external link opens in the current window.
Why should this be improved

Allowing these links to open in new tabs means developers do not lose their point of reference in flame documentation for the issue they are working.
Any risks?

This requires overriding the existing MyST htmltranslation parser and augmenting a method.
More information

I will do the PR on this as I already have this tested and working.  Because it is a significant change, I do not want to lump it in with the other links PR.

I will take this if you all think this is smart to do.

Do we really need that, can't we use <a href= target= directly?

I believe it is actually recommended that links open in the same tab by default. For example see https://uxdesign.cc/linking-to-a-new-tab-vs-same-tab-f88b495d2187 or https://ux.stackexchange.com/questions/31579/when-if-ever-should-links-be-opened-in-a-new-window

Do we really need that, can't we use <a href= target= directly?

You would think, but no.

I believe it is actually recommended that links open in the same tab by default. For example see https://uxdesign.cc/linking-to-a-new-tab-vs-same-tab-f88b495d2187 or https://ux.stackexchange.com/questions/31579/when-if-ever-should-links-be-opened-in-a-new-window

Makes sense, the user can open it in a new tab if they want to.

I guess, but it's annoying. Oh well.

because the external link would be a tangential thought.

Not necessarily. If you click on "API docs", it would often be because you want to go and see the APIs.

because the external link would be a tangential thought.

Not necessarily. If you click on "API docs", it would often be because you want to go and see the APIs.

True.  My thought process though was because this isn't linked in an actual section but in the side bar, if I'm viewing say the SpriteAnimationComponent section of the help docs, I often like to look at the api docs and the examples too, so I can see the code and the available methods so I understand what the docs are saying.   This is no big deal, just thought it could provide benefit while I was working on it AND the fact of how hard it is to actually implement.   I mean it's just overriding one function in python, but wow, MyST really makes that buried.  Several github issues on it and several SO questions.
Just to be clear, I'm not arguing. Just wanted to express my opinion, lol.


add ctas parsing from query log for oracle to OM oracle connector

log_mgr.db_repo_ddl
https://openmetadata.slack.com/archives/C02B6955S4S/p1676019067769739?thread_ts=1675790396.879999&cid=C02B6955S4S

closing this ticket by #11005 we are now using the method DBMS_METADATA.GET_DDL to get the full create view definition

This requires creating the Usage & Lineage connector for Oracle

a bunch of the tables where useful information might live is behind paywall, e.g. DBA_HIST_ACTIVE_SESS_HISTORY requires the diagnostics pack licence. We might need to stick to less info but have it more available for all users


State Mixer

In the code it seems like (e.g., for attention) the state mixer (channel mixer) is torch.nn.Identity is there a reason not to use the original setting (e.g., FFN with width=4)? Also, after making this change, is setting layer for attention to be 2 and layers for other models to be 4 still a fair comparison? (since these layer-wise differences is to make number of parameters to be roughly the same). Thanks!

Hi thanks for the question! We notice that the state mixer choice doesn't affect the trend for this study. If you use a different synthetic, for instance with more stateful key-value mappings across the examples, then it could be a good to add back the MLPs. We reported across model dimension for most experiments to capture the scaling trends, but this does not mean that at 512 model dimension the sequence mixers are parameter matched. e

Thanks!


Unable to use certificate for signing purpose

Following this stackoverflow post I created here:
https://stackoverflow.com/questions/56042897/unable-to-use-lets-encrypt-certificate-into-azure-web-app
I wondering if there is any problem concerning the type of certificate created with Letsencrypt.
Why it's not possible to receive an RSA/DSA certificate?
I tried to use a certificate generated by Letsencrypt using another tool (https://certifytheweb.com/) and the exported certificate is working with my code.
Btw, why there is no password to secure the certificate generated by your tool?
Sorry for my questions but I'm not an expert in certificates management.

Signing is not possible because it is different from App Service Certificate.
If you need to export, you need to use the Key Vault version. https://github.com/shibayan/azure-keyvault-letsencrypt


User role change page change button perma-disabled

The "change" button is always disabled, even if I type some new roles in, and whether there is only one user, two users, or two users existing but only one left after filtering.

I just confirmed, this is true with the repo the way it is (without #12's version bump workarounds) in dev mode.

Also just confirmed this is true both on win/node7 and linux/node6.

A working answer was given here: http://stackoverflow.com/a/41489220/16777
a) it makes the app work!  I can now edit roles.
b) it sure makes it slow...was that the purpose of the original shouldComponentUpdate() override, a speed optimization?

Maybe b) was a coincidence.  It seems snappy again now.  Still curious why that code was there, but at least there's a workaround.


Add support for LCM

See https://github.com/lcm-proj/lcm for Lightweight Communications and Marshalling
Close #115

Fine for me to merge it, though my latest commit to the lcm branch is not part of it. But that commit can also be easily added after this merge.

Fine for me to merge it, though my latest commit to the lcm branch is not part of it. But that commit can also be easily added after this merge.

Pls check again. Should be in.


Add back homebrew install instructions for 20.2

Fixes #8858.
Summary of changes:

Uncomment homebrew install instructions

Update instructions to mention that this is now v20.2 (not 19.2)

Note that I manually tested the brew install-ed CockroachDB and
verified that spatial features work.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/df4588851a7658217278c189a5c0f061248b494a/
Edited pages:

v20.2/install-cockroachdb-mac.html

Hopefully a trivial review, just uncommenting some existing content that I had commented out until the brew install path was working again.


[DOCS] Improve HTML elements/tags documentation

Rationale
One of the most important part of any modern documentation are code examples. I understand this project don't need too much code on top of normal HTML tags, but most of the target users are in need or simple used to see some code examples to copy/paste, and maybe some ready made layouts/"component" to use.
Request

[ ] Create a better "Examples" section by adding more use cases
[ ] Add examples with basic css style, maybe inlined,  maybe using <style> tags.
[ ] Mimic some basic layouts and components (for example Card, Dropdown, Navbar, Sidebar, etc.) using MVP.css and maybe some basic CSS in a "copy/paste" way.

Proposal
I can contribute with some code examples.

I'll close this issue, but please feel free to send a PR with suggested examples.


Fix ReferenceError if symfile is not included in form

res is not defined in this scope

Will it still set the status to 400 with this change?

No it doesn't set 400 anymore. This is because I couldn't find a place where the status is actually used. If I understood the code right, the execution jumps straight to the error handler in case of this error. From there it returns res.status(500).send "Bad things happened:<br/> #{err.message || err}".
Did I miss something?
The alternative would be to handle the error earlier, e.g. instead of return next(err) if err? do return res.status(400).send err
Btw. is there a typo in resturn? :https://github.com/acrisci/simple-breakpad-server/blob/616a282da514a84a9deaa69f5686be905518352f/src/app.coffee#L244

Ok let's fix the 400 error later then.


Pulling Model properties from Migrations

Larastan Version: "nunomaduro/larastan": "^0.7.12"
--level 5:
Pull request with failing test: --

Description
First of thanks for your effort and the Larastan package. It is super helpful. I had some Problems fixing the  Access to an undefined property App\Models\XXXX.

Model classes don't have their properties defined
_ide_helper.php and _ide_helper_models.php files from "barryvdh/laravel-ide-helper": "^2.8", are used

After a little digging I found out Larastan uses the Migration files to learn about the Model/Table structure. (Maybe it would be helpful to add this information in the description :wink:)
Since I had a little change in my Migrations where I defined a var for the second Schema::create() parameter and didn't put the callback directly in the Schema::create() function call. Larastan was not able to pick up the Model properties.
Laravel code where the issue was found
Migration File where Larastan didn't pickup up the Model properties.
$blueprint = function (Blueprint $table) {
     $table->bigIncrements('id');
     $table->string('firstname');
     $table->string('lastname');
     ...
     ...
     ...
};

Schema::create('customers',  $blueprint);

Error Messages:
Access to an undefined property App\Models\Customer::$firstname.
Access to an undefined property App\Models\Customer::$lastname.

Migration File where Larastan did pickup up the Model properties.
Schema::create('customers', function (Blueprint $table) {
     $table->bigIncrements('id');
     $table->string('firstname');
     $table->string('lastname');
     ...
     ...
     ...
});

No Error Messages.
Model customer
    /**
     * Accessors to the customers fullname.
     *
     * @return String
     */
    public function getFullNameAttribute()
    {

        return "{$this->firstname} {$this->lastname}";

    }

Migration File where Larastan did pickup up the Model properties.

Hello @brachycera! That is good news.
This is static analysis, it works by reading your code.

Removing a temporary variable looks very nice!

Wow, thanks for this lightning fast response  :thumbsup: :astonished:
Took me while to figure this out!


Disconnect at submission: biospecimen and demographics

Describe the bug
A collaborator is encountering a server disconnect error at submission for biospecimen and demographics tables. I was able to submit the files through staging, but got the same error on the production app.
To Reproduce
Steps to reproduce the behavior:

From 'Select your Dataset' tab of, select HTAN Vanderbilt for Project, biospecimen for Folder, and Biospecimen for Template

Under Submit & Validate Metadata tab, upload attached csv
subset_2022-10-03_Biospecimen.csv

Click Validate Metadata --> manifest validates

Click Submit --> App disconnects

Also attaching the demographics file
subset_2022-10-03_Demographics.csv
Expected behavior
CSV is submitted successfully
Priority (select one)

[ ] Minor ⬇
[X] Major 📢
[ ] Critical 🆘

While the two linked manifests have been submitted successfully, the center has a number of additional clinical and single cell manifests to submit.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (if applicable, please complete the following information):

OS: [e.g. Mac OS]
Browser [e.g. chrome]
Version [e.g. Version 103.0.5060.114 (Official Build) (x86_64)]

Additional context

@clarisse-lau we'll take a look at the app logs and triage today.

Confirmig that this is still failing in current staging instance which should be level with data_curator main as of 5 days ago.
Shiny logs:
2022-10-18T18:11:50.069742+00:00 shinyapps[5750996]: Welcome, Adam Taylor!
2022-10-18T18:11:50.069774+00:00 shinyapps[5750996]: INFO: [2022-10-18 18:11:50] synapseclient_default - Welcome, Adam Taylor!
2022-10-18T18:11:50.109621+00:00 shinyapps[5750996]: Listening on http://<IP_ADDRESS>:40811
2022-10-18T18:16:42.915239+00:00 shinyapps[5750996]: Warning: Setting row names on a tibble is deprecated.
2022-10-18T18:16:54.565722+00:00 shinyapps[5750996]: Warning: Setting row names on a tibble is deprecated.
2022-10-18T18:16:54.634898+00:00 shinyapps[5750996]: Warning: Error in py_call_impl: TypeError: 'NoneType' object is not subscriptable
2022-10-18T18:16:54.634940+00:00 shinyapps[5750996]: Detailed traceback:
2022-10-18T18:16:54.634943+00:00 shinyapps[5750996]:   File "/srv/connect/apps/HTAN-data-curator-staging/.venv/lib/python3.8/site-packages/schematic/store/synapse.py", line 1074, in associateMetadataWithFiles
2022-10-18T18:16:54.634959+00:00 shinyapps[5750996]:     manifest_synapse_table_id, manifest, table_manifest = self.upload_format_manifest_table(
2022-10-18T18:16:54.634963+00:00 shinyapps[5750996]:   File "/srv/connect/apps/HTAN-data-curator-staging/.venv/lib/python3.8/site-packages/schematic/store/synapse.py", line 138, in wrapper
2022-10-18T18:16:54.634967+00:00 shinyapps[5750996]:     return method(*args, **kwargs)
2022-10-18T18:16:54.634970+00:00 shinyapps[5750996]:   File "/srv/connect/apps/HTAN-data-curator-staging/.venv/lib/python3.8/site-packages/schematic/store/synapse.py", line 738, in upload_format_manifest_table
2022-10-18T18:16:54.634977+00:00 shinyapps[5750996]:     table_info = self.get_table_info()
2022-10-18T18:16:54.634980+00:00 shinyapps[5750996]:   File "/srv/connect/apps/HTAN-data-curator-staging/.venv/lib/python3.8/site-packages/schematic/store/synapse.py", line 729, in get_table_info
2022-10-18T18:16:54.634984+00:00 shinyapps[5750996]:     tables = self._get_tables()
2022-10-18T18:16:54.634990+00:00 shinyapps[5750996]:   File "/srv/connect/apps/HTAN-data-curator-staging/.venv/lib/python3.8/site-packages/schematic/store/synapse.py",  [... truncated]
2022-10-18T18:16:54.641094+00:00 shinyapps[5750996]:   15: <Anonymous>
2022-10-18T18:16:54.641110+00:00 shinyapps[5750996]:   13: fn
2022-10-18T18:16:54.641114+00:00 shinyapps[5750996]:    8: retry
2022-10-18T18:16:54.641117+00:00 shinyapps[5750996]:    7: connect$retryingStartServer
2022-10-18T18:16:54.641121+00:00 shinyapps[5750996]:    6: eval
2022-10-18T18:16:54.641132+00:00 shinyapps[5750996]:    5: eval
2022-10-18T18:16:54.641158+00:00 shinyapps[5750996]:    4: eval
2022-10-18T18:16:54.641178+00:00 shinyapps[5750996]:    3: eval
2022-10-18T18:16:54.641182+00:00 shinyapps[5750996]:    2: eval.parent
2022-10-18T18:16:54.641186+00:00 shinyapps[5750996]:    1: local

It looks like this has to do with manifest submission as a table. I think I was able to reproduce with the CLI using the demographics manifest attached here, the HTAN data model , and mrt set to table. But @GiaJordan you might want to try reproducing again with the latest version of schematic; it looks like it'd be a quick fix - there is a null reference somewhere?

Related to #951 and #954

Addressed in #989
@clarisse-lau @adamjtaylor
cc @milen-sage

Thanks @GiaJordan. I'm going to reopen this issue so that we can track its deployment into staging and production in the HTAN DCA once

@adamjtaylor would be good to test with the develop branch on the testing DCA instance. We'll release that in schematic 22.10.3 or 22.11.1 and you can test in staging as well.

Should be fixed in 22.10.3 - @milen-sage to confirm
Confirm that this has been fixed at the end of this sprint - @adamjtaylor

Redeployed DCA on staging to take the latest schematic (22.10.3)
Looks from testing on BU ScRNAseq L1 template that this bug is fixed.

Shiny logs warn

On a second attempt at submitting the manifest (after reloading the staging DCA) I was able to successfully submit the metadata.

@aclayton555 , @elv-sb Going to mark in staging - there is no lined PR as it was a schematic fix.
@clarisse-lau  This should get moved up to production at the end of our data model sprint at the end of the month. If the center has data blocked by this they are able to submit the metadata through the staging DCA at this time.

@adamjtaylor thank you for confirming. RE: the table error, please reach out to me if you continue to have issues. I've currently reached out to the Synapse team for a more robust solution tracked here. But there is a more specific fix we can make in the mean time, but at the cost of performance speed.
@milen-sage we may want to think about the cost vs benefits of increasing the wait time for table replacements while we work with the Synapse team for a long term solution.


Breadcrumb

Breadcrumb
Use this issue to discuss the Breadcrumb component.
Preview this component
Find out more about the action link component and when to use it in the NHS Digital service manual.
See our contributing guidelines

Closing these individual placeholder issues.
Please use the NHS digital service manual backlog to discuss the usage of this component. If you're having trouble with the code, or have found a bug, please raise an issue on the NHS.UK frontend backlog