Request Object or JAR (JWT Secured Authorization Request)

Request Object defined in OpenID Connect Core 1.0 Section 6 or JAR (JWT Secured Authorization Request) support.
Because Request Object (or JAR) has a considerably big impact on authorization server implementations, it should be designed and implemented from the beginning. Otherwise, it will be required sooner or later to rewrite source codes related to request parameter handling from scratch.

@TakahikoKawasaki I agree that a JAR can provide an added level of security for Authentication Requests. I'm curious how widely used is this capability? Do you know of any OIDC providers that have implemented this? if os, can you please provide a link?

Because Request Object (or JAR) has a considerably big impact on authorization server implementations

Can you be more specific on what you mean by "considerably big impact"?

Financial-grade API (FAPI) Part 2 requires that an authorization request utilize "Request Object" (JAR is a successor of Request Object). This means that at least all of the certified FAPI OPs support Request Object. Open Banking in UK, CDR (Consumer Data Right) in AU, FDX (Financial Data Exchange) in US, and other entities in various countries have adoped / are planning to adopt FAPI. Even open-source implementations that are not listed there support Request Object. Examples are Keycloak and IdentityServer4. These days, it is rather difficult to find authorization server implementations that do not support Request Object.
A naive implementation extracts a request parameter from the query part of the authorization request. On the other hand, authorization server implementations that support Request Object do the following to extract a request parameter.

Check if the authorization request contains the request request parameter or the request_uri request parameter.
If request_uri is given, the authorization server fetches a request object pointed to by the URI. On the other hand, in the case of request, the value of the request request parameter is a request object.
If the request object is encrypted, the authorization server has to decrypt it using an appropriate private key which should be found in the server's JWK Set.
If the request_object_encryption_alg client metadata is registered, the authorization server must confirm that the encryption algorithm matches the registered algorithm.
The same thing applies to the request_object_encryption_enc client metadata.
Then, if the request object is signed, the authorization server must verify the signature of the request object. For the verification, the authorization server gets the public key that corresponds to the private key used for the signature. The public key can be found in the client's JWK Set. The content of the JWK Set should be registered as the value of the jwks client metadata in the authorization server, or the location of the content should be registered as the value of the jwks_uri. If jwks_uri is registered, the authorization server has to fetch the client's JWK Set from the location. In any case, the authorization server verifies the signature with the public key.
If the request_object_signing_alg client metadata is registered, the authorization server must confirm that the signature algorithm of the request object matches the registered algorithm.
The authorization server must confirm that various claims in the request object such as iss, aud, exp, nbf, etc. are valid.
Finally, the authorization server extracts a request parameter from the request object.
When the target request object is not found in the request object, the authorization server refers to the corresponding request parameter outside the request object. (Note that JAR prohibits from referring to outside request parameters.)

In addition, FAPI Part 2 imposes additional requirements on request objects. For example, the lifetime of a request object which is computed by exp - nbf must not exceed 60 minutes. Allowed signing algorithms are PS256 and ES256 only. The RSA1_5 encryption algorithm is prohibited.
The reason I said "considerably big impact" is above.
See also "Implementer’s note about JAR (JWT Secured Authorization Request)" for details about differences between OIDC Request Object and JAR.

Thank you for the details @TakahikoKawasaki and for your explanation on "considerably big impact".
This makes sense. As briefly mentioned in this comment, we follow a methodical development process so re-writes won't happen.
Another thing to be aware of is that this project is in the spring-projects-experimental org, which allows us to move quicker with feature development and re-factor at-will breaking existing public API's without worrying about deprecation scheduling. We still have a ways to go before this reaches 1.0.0. Rest assured, extension points will be available and we will strive to ensure the framework provides the greatest flexibility possible and is able to adapt to change as we continue to build this out.
I'm curious, are you evaluating this project as a potential base framework for Authlete?

No, sorry. I'm not evaluating this project. I registered issues (#206 ~ #212) only because I was asked by a Japanese guy to share my knowledge with the Spring community although there was no benefit to me.

I'm wondering if there's been any movement on this request.  If not, I'd like to add my vote for it to be done as clients are beginning to require support for this functionality.

@dciarniello make sure to 👍 the opening post if you are voting for this issue. We frequently view community up-votes as a way to gauge priority from the community's perspective.

Given that JAR is used in FAPI 1.0 and PAR is favoured in FAPI 2.0 (see Main Differences to FAPI 1.0), we will prioritize PAR (gh-210) over JAR.


feat: adds MK1 support in a wonky way

Releasing alphas from this branch until things are good enough - or never.

https://github.com/tillt/KompleteSynthesia/releases/tag/v<IP_ADDRESS>

Still no joy, the lights just stay blue / purple based on the octave range:

https://github.com/tillt/KompleteSynthesia/releases/tag/v<IP_ADDRESS>

However my hopes are not that high. This one ^^ is mostly based on this discussion: https://github.com/ojacques/SynthesiaKontrol/issues/22

Amazing, it's finally doing something 🎉
https://github.com/tillt/KompleteSynthesia/assets/69962/bb032870-4759-4479-a71a-8649cf9154c0

omg - that is perfect - this is what I hoped could be the best possible result - et voila.
Now it is time to find proper colour and intensity mapping - we are obviously off with the intensity.

I'll be back on this as soon as I have some spare minutes...

Amazing, it's finally doing something 🎉

🎉

BTW I also got it working with XCode, so can run commits off the branch and you don't necessarily need to build each time!

Nice!

PXL_20230920_224119004.TS.mp4

What puzzles me is the unpressed state of your lightguide - it is all white. Did you set that up in the KompleteSynthesia Settings?

What puzzles me is the unpressed state of your lightguide - it is all white. Did you set that up in the KompleteSynthesia Settings?

It's more of a pale yellow, but no, all default colour settings!

@daaain give it a spin please - and thanks again for your patience and support.

Looking great, the intesity is down and there are different colours so it's already perfectly playable in Synthesia!
The colour selector seems just a bit off though, see video (might have to make it full screen to see my mouse cursor):
https://github.com/tillt/KompleteSynthesia/assets/69962/0cd86a25-0683-4c73-862d-adda5f6665c3
It also crashes when I pick any of the last 5 colours (white or any after) as the index is 17 at this assert:

lol about that crash - sorry, a regression
thanks a ton, as always

@daaain give it a try, please

It's perfect 😻


Moves all document.getElementById lookups into viewer.js

This shall make the generic viewer customization easier.

/botio-linux preview

Looks good, thank you!


Out() function should perform Do()

Curently when we want to perform the stream opeations we need to do something like
fmt.Println(stream.Drop(5).Do().Out().Val())
it would be nice if we just need to do
fmt.Println(stream.Drop(5).Out().Val())

Done in branch feature/road-to-1.0.0


Skinning broken with log depth

Using log depth when skinning shows artifacts.

The current model implementation has a workaround until it is fixed. To see the issue, remove the two lines here.

Babylon.js has the same issue. I think it's an issue with the model.
https://github.com/BabylonJS/Babylon.js/issues/4240

I'm not convinced it's an issue with the model, because it only happens when Log Depth is enabled.

Update: It is the fault of the model, for not having normalized bone weights.  See https://github.com/KhronosGroup/glTF/issues/1213#issuecomment-385532438

Also came up in https://github.com/CesiumGS/cesium/issues/8875 with this model: miner.zip


Loads of Failed Connection Handshake

Versions of Server-Side NuGet Packages: Microsoft.AspNetCore.SignalR 1.0.3
Versions of Client-Side NuGet/NPM Packages: @aspnet/signalr 1.0.3
Are you using the C# client or the JavaScript client: Both. I think these errors originates from javascript clients
The Server you are using (Kestrel/HttpSysServer/IIS/IIS Express/Azure Web App/etc.):  IIS
The Operating System on the Server (Windows/Linux/macOS): Windows
The Operating System on the Client (Windows/Linux/macOS): Not sure
The Browser on the client, if using the JavaScript client (IE/Chrome/Edge/Firefox/etc.): Not sure unfortunately

Since updating to ASP.NET Core 2.1 (and the latest package versions of SignalR, both client and server). We've started to receive loads of errors like Failed connection handshake. Most of the connections are fine, but I can't figure out what the problem is with those that are not.
I'm sorry I can't provide you with more information, hoping that this is enought for someone to understand what might be wrong, or how I can get more information.
I've seen that all the failing connections have about 5 seconds between OnConnectedAsync started and Failed connection handshake. Maybe some kind of timeout?
Unfortunately I can't log on the client, since I can reproduce it and I do not know what clients cause this.
Should this be a stackoverflow question maybe?
Thank you!

Are you able to update to the latest 2.2 preview at all? I know we resolved some handshake ordering issues there and also added some improved logging.

@anurse I could try it out locally, but I haven't been able to reproduce the error (only seing it in production for some clients). So I think I would have to wait until there is a more stable release that I can deploy to production. Sorry..

It sounds exactly like the issue we fixed in 2.2. We also added additional logging so that if you do see this issue again in 2.2 you'd get the actual content that the client sent.
I'm going to close this since I believe we've solved the issue in 2.2. When 2.2 releases (see Roadmap), give it a try and feel free to come back and re-open this issue (or file a new one) and we can investigate further!

@anurse How is this specific issue not a patch to the existing release? We have production customers hitting this; it may work for 5 minutes and then it fails permanently... it's completely not stable for a production environment. We can't use a preview package (no idea what else might not work) or wait until December for this... it's unbelievable.
Any mitigation? (e.g. don't use Web Sockets?)

We have production customers hitting this; it may work for 5 minutes and then it fails permanently

This sounds like a different issue. What @joelnotified reported was intermittent. Are you seeing a permanent failure to establish connections? That's not something I've heard reports of yet, so filing a new issue with some more details might be appropriate here.

@anurse I will dig out additional logs but we have been firefighting after this started to happen. So far, disabling WebSockets on our azure web app, and enabling session affinity so forcing long polling seems to have fixed it. It failed on all our customer sites. It’s either something from patch Tuesday or (from another GitHub issue I have seen) the azure load balancer killing the connection.... as we run two app service instances

Our clients connect for 5 minutes or so and then fail and do not appear to reconnect

Do you have reconnection logic in your client? ASP.NET Core SignalR doesn't have automated reconnect.

So far, disabling WebSockets on our azure web app, and enabling session affinity so forcing long polling seems to have fixed it.

FYI, Session Affinity is generally required even when using WebSockets because of the initial negotiate request. If you are using the SkipNegotiate setting it's not necessarily required, but this is generally not recommended as it means clients have to be updated if you use the "redirect" model.

the azure load balancer killing the connection.... as we run two app service instances

Yes, this is a well-known problem on App Service. If you have a relatively high-traffic site, App Service can be problematic as it has hard limits on concurrent connections at the front-end. This is one of many reasons we strongly recommend using the Azure SignalR Service when using App Service.

@anurse ok, thanks for the feedback. If this isn’t in the guides (I have not looked for a while) then I suggest it should be - especially the necessity for app affinity regardless of protocol. Azure app service is (was?) in preview at the time of development and the number of connections per $ seems expensive when compared to self hosting (though not if that doesn’t actually work properly!!) or when compared to some of the competitors

The main reason we built Azure SignalR is because it is very difficult to scale a self-hosted SignalR app well.
The core problem is that SignalR connections are persistent connections, whereas standard HTTP users have "transient" connections. An HTTP client establishes a connection, requests some data, disconnects, and then repeats for the next request (there is some "connection pooling" that means this isn't quite the workflow, but the gist is there). That means that there are often much fewer active TCP connections that you have users, when all your users are using HTTP.
However, with SignalR, every single SignalR user has a persistent TCP connection to your server. In general, 100 TCP connections sending 1 message per second has a higher impact on your resources than 1 TCP connection sending 100 messages per second, so scaling an app that has persistent connections is a very different challenge than scaling a standard HTTP app.
Self-hosting is always an option, but then you need to become an expert in all the scaling issues that come from managing these persistent connections. Azure SignalR takes the burden off your app and converts those N connection connections to your app into a single connection to the server through which all the messages to/from your clients flow. That means you can scale your app based on the number of requests (both HTTP requests and SignalR messages) rather than having to worry about scaling along two separate pivots (requests and connections)

If this isn’t in the guides (I have not looked for a while) then I suggest it should be

We do specifically call this requirement out in our Publish to Azure documentation.

when I say clients do not reconnect I mean they are not able to reconnect despite trying

I thought that might be the case but just wanted to make sure :).


Status 404:file not found

I have these error on console:
http://localhost:8000/bundles/fosjsrouting/js/router.js
file not found
Can't find variable "fos"
Can't find variable "Routing"
any solutions?

Did you get any error message when running composer install or gulp?

No, but I will try to reinstall...

Try with Node 10. My gulpfile.js is not ready for higher versions.

On reinstall, after running composer install and after prompt of values for parameters.yml I get this error:
`> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap

Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Could not open input file: app/console
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Could not open input file: app/console
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...`

Try to manually create the var directory into your project. Then run composer install again.

Try to manually create the var directory into your project. Then run composer install again.

on the root?

Yes, on your project root.

Same error...


Add a compat for Julia version

Codecov Report

Merging #83 (23c36c2) into main (4a34942) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #83   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         39      39
  Lines       1423    1423
=====================================
  Misses      1423    1423

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 4a34942...23c36c2. Read the comment docs.


[libevent] Fix incorrect port version number

Fixes #32840
Fix  port libevent incorrect port version number

[x] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@BillyONeal, In PR #29341, the libevent version is marked as 2.1.12+20230128. This commit was submitted on 2023.01.28. The current stable version of libevent is release-2.1.12-stable released on 2020.7.5, the latest version It is release-2.2.1-alpha but it is a pre-release version, obviously not suitable for our update policy, so I changed 2.1.12+20230128 to version: 2.1.12 port-version: 8, to indicate that the current version is based on Modification 8 for stable version 2.1.12. Could you review whether this modification is reasonable?

I think using port-version: 8 is not appropriate.
The rules for port versions are:

1. Start at 0 for the original version of the port,
2. increase by 1 each time a vcpkg-specific change is made to the port that does not increase the version of the package,
3. and reset to 0 each time the version of the package is updated.

https://learn.microsoft.com/en-us/vcpkg/users/versioning#port-version

Because port-version 1~7 existed in versions/l-/libevent.json before this change, so I set port-version to 8 this time
    {
      "git-tree": "49a66da074def8806e42235e6c64af567987498f",
      "version": "2.1.12",
      "port-version": 7
    },
    {
      "git-tree": "c1fbaddea4a9b98b61cba0d785441115c161d24f",
      "version": "2.1.12",
      "port-version": 6
    },
    {
      "git-tree": "4c3a73b8448f16fa69e497ef6f1df41a261a9b54",
      "version": "2.1.12",
      "port-version": 5
    },
    {
      "git-tree": "0405b56180d4920314ae69183ed5184a6017f7a9",
      "version": "2.1.12",
      "port-version": 4
    },
    {
      "git-tree": "f0ac053f302fc802ef35f3349ad4af562a5a806d",
      "version-string": "2.1.12",
      "port-version": 3
    },
    {
      "git-tree": "16a3ac34416a0b208f97f9a0afdeecdcc60699e1",
      "version-string": "2.1.12",
      "port-version": 2
    },
    {
      "git-tree": "27a15ae417cdf4fd4388ab02d2949632699ce004",
      "version-string": "2.1.12",
      "port-version": 1
    },
    {
      "git-tree": "de4ba2c173271d60e7022b3bd69440255cd0addd",
      "version-string": "2.1.12",
      "port-version": 0
    },

I understand that pre-release version may not be suitable for vcpkg update policy but this IS a port of a pre-release version!
Lying about versioning won't change the fact that this port is for a pre-release version.
In order to not lie to the consumers about libevent beign actually not stable as vcpkg would let them believe I strongly suggest to make an exception and just use somethig equivalent to a version-semver: 2.1.2-alpha or impleemnting a version-date property as suggested by @Neumann-A in combination with an empty/undeclared version property.

@mdavidsaver, Does libevent plan to release a new release version recently?

I am only a contributor.  @azat may be able to say something.

Does libevent plan to release a new release version recently?

@JonLiu1993 more or less - yes, I'm going to release beta version in the nearest feature, after that, if everything will goes well, in a month (or so) the stable can be made.
You can subscribe to this issue (https://github.com/libevent/libevent/issues/1512) to follow the changes.


UI_OpenSSL()'s session opener fails on MacOS X

Checklist

[x] CLA is signed

Description of change

If on a non-tty stdin, TTY_get() will fail with errno == ENODEV.
We didn't catch that.

This PR is made on top of #2040.  That will nicely show the difference between before and after fix.

You should have seen the code before ui_openssl.  But yeah, that one is due for some major refactoring.

This has probably upped the coverage just a teenzy bit, btw...

There were some conflicts with master that I had to fix.  Please re-review

Merged.  Thank you.

I want to backport this to 1.0.2 as well.  Fine with you, @richsalz?

yes, to backport. +1

Backported.  Thank you :-)


Additional Bar Chart: Emails per Month of Year

Is your feature request related to a problem? Please describe.
No problem. Just completing the already existing analytics.
Describe the solution you'd like
A bar chart showing the number of emails that occurred in that month, showing a possible dependency of emails on seasons of the year.
Describe alternatives you've considered
A possible alternative is just showing email count per quarter of year, but months would be more precise.
Additional context
None.

Indeed, could this be filtered through a pull down menu or inclusion / exclusion (e.g. February, March, June and July).

Hello. I'm working on this issue. Solution based on monthsChartData function.  What is your vision for chart title and description, it's positioning among other charts? 'Months' and 'Total number of emails per month' fits well but used in another chart. Also, it would be nice to have translations for arrays of labels used in functions (like ['Jan', 'Feb'...).

Awesome and thanks in advance 👏🏻!
Yes, 'Months' and 'Total number of emails per month' actually fits better than for the existing chart. Please reuse this title and description and I will rename the other ones with a more fitting title/description.
Please position it in a new row after the last charts, there will be some layout improvement soon where the charts get repositioned.
Very good point - please just use the hardcoded English month abbreviations for now, I will soon add a functions that provides the weekday/month names for the corresponding locale.

Screenshot for layout improvement. Now heatmap in one line with bar chart looks like on image (2). Does it look good? On image (1) caption and rows wrapped in additional divs with  flex-direction: column; justify-content: space-between;

Thank you for this suggestion, for the scope of this issue, please just position the new chart in a new row after the last charts. Layout improvement will be discussed in another issue.


Created list of supported ChatCraftProviders

Closes #423
Summary:

Settings API URL field now displays list of supportedProviders which is stored in ChatCraftProvider.ts

Code changes in this PR:
src/components/PreferencesModal.tsx:

Modified code of the event handler of the API URL dropdown field, so that it iterates through the list of supportedProviders

src/lib/ChatCraftProvider.ts:

Moved ProviderData (associative array of ChatCraftProvider) from src/lib/settings.ts to src/lib/ChatCraftProvider.ts since it is something that is solely used by settings
Added supportedProviders (list of currently supported providers)

src/lib/settings.ts:

Moved ProviderData out of this file, see above explanation

Right, sorry didn't realize that


Application Exception: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)

This is an issue created automatically by GrammarNazi when an exception was captured.
Date (UTC): 11/19/2022 16:48:14
Exception:
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
---> System.Security.Authentication.AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func4 operation, Func4 verifySucceeded, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleAsync[TSource](IAsyncEnumerable1 asyncEnumerable, CancellationToken cancellationToken)    at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleAsync[TSource](IAsyncEnumerable1 asyncEnumerable, CancellationToken cancellationToken)
at GrammarNazi.Core.Repositories.EFRepository1.Any(Expression1 filter) in /src/GrammarNazi.Core/Repositories/EFRepository.cs:line 29
at GrammarNazi.Core.Services.TwitterMentionLogService.GetLastTweetId() in /src/GrammarNazi.Core/Services/TwitterMentionLogService.cs:line 20
at GrammarNazi.App.HostedServices.TwitterBotMentionHostedService.ExecuteAsync(CancellationToken stoppingToken) in /src/GrammarNazi.App/HostedServices/Twitter/TwitterBotMentionHostedService.cs:line 53
ClientConnectionId:69748f29-85a1-4419-be11-2ece376085ae
Error Number:-2146893019,State:0,Class:20
Exception caught counter: 20.

This happened after merging #524. So it only happens on .NET 7 (including EF Core 7)


Error invoking remote method 'connectSsh': Error: All configured authentication methods failed

Describe the bug
Cannot connect to a remote server and get the error message.
Error: Error invoking remote method 'connectSsh':  Error: All configured authentication methods failed
Versions
Ray version (you can see this in "About Ray"):  2.0.1
PHP version: 8.0
To Reproduce
Steps to reproduce the behavior:

Go to 'Servers' tab (top right corner)
Click on 'Add server'
Setup a remote server with sftp using username/password
Click on 'plug icon'

Expected behavior
make a connection to the remote server
Screenshots

Desktop (please complete the following information):

OS: macOS
Version 12.4

UP

I've the same problem. One of my 3 servers can't connect correctly.
Forge Ubuntu 22.04 server with PHP 8.1
macOS 12.4 - Ray 2.0.1

I see from the above screenshot you were trying to connect to WPEngine. Did you get ever this working because I have the same error. Thank you.

@mjmarley No, it still doesn't work and I've tried Digital Ocean droplet as well as Linode VPS server. All get the same error.
Hoping @freekmurze or someone form the dev team can take a look at the issue soon

I get similar error on localhost connection over SSH
so I am not able to use Ray after the last updates I believe, have not been using it for a while on my Mac OS Monterey
at the same time remote connection works with the key
also noticed some weird behaviour when tried to copy the error message to clipboard - message was changing on click from english into some other weird "language" or just characters

after downloading Ray again and reinstalling this wierd language problem did not appear anymore

+1 the same issue

UP

Same here. UP

https://github.com/liximomo/vscode-sftp/issues/37#issuecomment-1120677928
This worked for me

@chasewwy I can confirm that this solved the issue for me as well.
It seems to be specific to a Ubuntu configuration change for Ubuntu 22.04


Plugin UI: create plugin detail component

Summary
Create plugin details component
Motivation
User needs to fill the details of plugin like input/output variables so that it can be used further
Proposal
Create new component for details and open it on the click of plugin from the listing

fixed in https://github.com/devtron-labs/dashboard/pull/348


Period in the step parameter breaks test case name in the report and report displays only part after the period

Hi. I'm not sure if it is allure-cucumber-jvm-adaptor, allure-maven-plugin or allure-report-builder issue. But I gonna raise the ticket here.
Cucumber feature
Feature: Check step parameters displaying in Allure report
  Scenario: Check parameter displaying
    Given https://www.google.com string param in the beginning
    Given string param https://www.google.com in the middle
    Given string param in the end https://www.google.com

Report

The period in the step parameter breaks test case name and report displays only part after the period.

@clicman please check that case name like above goes to test case title and not name.

As I remeber it was some talks about testcase.title in allure core #442. @grumblerchester, did you used release version or built adaptor from master?


Fail on flakey specs

Context
We add a comment to PRs containing indeterminate tests but because of the retry mechanism we use to determine these flakey specs, the test suite passes.
We think it would be better to report and have the build fail.

Changes proposed in this pull request
Throw an error if we are reporting on flakey specs.

Guidance to review
The test suite was made to fail on spec/lib/flakey_spec.rb in this commit https://github.com/DFE-Digital/apply-for-teacher-training/pull/6129/commits/493323ca202ddb9a49fa5c577ab87df0758c10df (removed from this PR)

Link to Trello card
https://trello.com/c/G2D7y5XO/4465-🏈-improve-testing-and-coverage

Things to check

[x] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

@cwrw that's right, I initially added a contrived flakey spec to ensure the failure propagated as expected.


Run by line for native notebooks

Not sure how this would work. The debugger would work the same but putting the ip indicator into the monaco editor is likely not possible.
We can try decorators though:
https://code.visualstudio.com/api/references/vscode-api (gutterIconPath for the ip indicator?)

For now going to assume same UI (and keyboard shortcuts)


Add constraints for temporal, spatial and vertical extent.

We still need to ensure any example URLs are updated from https://api.example.com to https://example.org/api (applying globally).

We still need to ensure any example URLs are updated from https://api.example.com to https://example.org/api (applying globally).

Happy to make the change, but why is it important for it to be https://example.org/api ? For consistency across  ogc standard documents?

We still need to ensure any example URLs are updated from https://api.example.com to https://example.org/api (applying globally).

Happy to make the change, but why is it important for it to be https://example.org/api ? For consistency across ogc standard documents?

Convention. https://api.example.com will literally 404. https://example.org/api will 200 with a sensible explanation to a user, so as not to think something is "broken" in the specification. Some specifications use actual live endpoints, which I disagree with, given link rot and potentially unnecessary traffic to a live service per se.

Uh, right, I have always treated example.com as a placeholder, didnt actually know it resolved to something. Will change.


[Scheduled Maintenance] Technology Upgrade

Additional context
Upgrades to the CCRI website load balancer may cause connection issues to the website, and single sign on (SSO).

Additional context
Upgrades to the CCRI website load balancer may cause connection issues to the website, and single sign on (SSO).
Upgrade completed successfully by 7:20AM.


Configure a task sequence for Windows PE Peer Cache - Collection variables only?

Would be good to clarify if the task sequence variables listed in this section can ONLY be collection variables. I.e. can they be set as variables at the start of the task sequence itself or not. I've seen this same question asked on a few other sites and no-one has the answer so it would be good to clarify here if possible please :)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bd7a196d-4829-4b01-0bc0-8c14fd52dc1a
Version Independent ID: db302fc5-0610-b270-0202-16fb4606a588
Content: Prepare Windows PE peer cache to reduce WAN traffic - Configuration Manager
Content Source: sccm/osd/get-started/prepare-windows-pe-peer-cache-to-reduce-wan-traffic.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @faulknerp for the feedback. You must set these variables on the collection so that they are available right away when the task sequence starts. It sets the content locations (which depend upon these variables) before any steps process.

Thanks for getting back to me...… I wonder if they could be set as the very first steps of the task sequence in order to give more control over which clients will use it.
For example, we only use peer cache at one location. Rather than having a separate collection for those clients, it would be good to have it set as the first step of the task sequence where we can use conditions in the task sequence to control which systems apply the peer cache settings.
If that is the way it is, I will raise a uservoice suggestion to that effect instead :)

@faulknerp yes please post on UserVoice for product feedback. 😃

Additional notes on this:
clarify variable must be set for task sequence to pick up at execution start
Update the docs to reflect that this variable is not just during WinPE but for everywhere we need the content to be downloaded from peers during task sequence.

https://docs.microsoft.com/sccm/osd/understand/task-sequence-variables#SMSTSPeerDownload
https://docs.microsoft.com/sccm/osd/understand/task-sequence-variables#SMSTSPeerRequestPort

I'm resolving this issue in part because we moved repositories, but also because I'm going to track this work via an internal work item.
(internal reference 2838731)


BUG: O365 published don't parse

I tried parsing my O365 published ics and it failed.
TODO: add parse error or other debugging.

Worked when tested today


Nested page not found

Hello,
The nested page will return "Not Found" if the parent resource slug is like this, for example, academic/courses, but if we remove the / everything works fine

Can you share a repo that we can use to reproduce this issue?


GraphQL query for prefix family returns error

Environment

Python version: 3.9.2
Nautobot version: 1.2.4

Steps to Reproduce

This requires the existence at least one of the following objects: prefixes
Go to GraphiQL dashboard
Paste the following query:

query {
      prefixes {
        role {
          id
          name
        }
        prefix_length
        family
      }
}

Expected Behavior
I was expecting the following result based on the data in my Nautobot instance:
{
  "data": {
    "prefixes": [
      {
        "role": {
          "id": "cd59e59e-f51e-4353-b9a4-c57acb84c8f4",
          "name": "data_lan"
        },
        "prefix_length": 24
        "family": 4
      }
    ]
  }
}

Observed Behavior
Instead I got the following error:
{
  "errors": [
    {
      "message": "Cannot query field \"family\" on type \"PrefixType\".",
      "locations": [
        {
          "line": 8,
          "column": 9
        }
      ]
    }
  ]
}

Thanks for the report! A very similar issue to #1131, probably needs a fix similar to #1159.


Browsing by Subject

Describe the bug
For "Browse by Subject", except the first page, most subject item (with small count value) shows "No items to show." when browsing.
To Reproduce
Steps to reproduce the behavior:

Click All of DSpace > By Subject
Click page 2
Click any subject (with small count value) on page 2
Search result shows "No items to show"

Expected behavior
Subject items should display accordingly.
Related work
https://demo7.dspace.org/browse/subject?bbm.page=2&value=Absorptive Capacity

@anabe1 : Thanks for reporting this.
It appears (to me) that the actual bug here is that your page doesn't reset to "page=1" when clicking on a Subject to browse by.  This makes it appear that the browse is not working.... however, if you look closely at both your URLs above, you'll see you are on page=2 (the second page), which has no results when there is only a small list of results.
In any case, this is definitely a bug!
Another way to reproduce this issue is to simply go to page 2 (or greater) of the "browse by subject" and click on any term on that page.  You'll always receive "No items to show" as the page number is not auto-resetting to zero.
After that analysis, I've realized this appears to be a duplicate of https://github.com/DSpace/dspace-angular/issues/1713,  which has a PR at https://github.com/DSpace/dspace-angular/pull/1777
I've tested it today & https://github.com/DSpace/dspace-angular/pull/1777 fixes this bug.

Thanks very much for the checking and fix. I
Btw, for "Browsing by Issue Date",  the filter in the demo site, seems behave differently from the older
version, the "starts with" is more likely behaves as "equals to" now.
Understanding that the year pull-down list will become super long if listing out all years,
that's why the design is interval by 5 or 10 years for older records (and this interval can be defined in some config file)
In case a guest need to find 2006 data, the guest has to type the year in the input box "Filter results by date", instead of choosing it from the pull-down list (as 2006 is not an valid option in the pull-down list).
I feel it will be more nice if there can be some remarks/ hints there, or simply change the wording "Filter results by date" (I know the label can be change in the config files), so the general guest can be "smart" enough to use input box.

NOTE: fixed by https://github.com/DSpace/dspace-angular/pull/1777 (which was just merged)


Inconsistency when binding larger arrays

Hi, not sure if this issue has been reported this way already and if it's a problem on AngularJS or ui-select but here is my experience with ui-select with ~60 items
ui-select:
<ui-select multiple ng-model="config.SelectedIDs" theme="bootstrap" ng-disabled="DisplayState == 'View'" sortable="false" close-on-select="false">
    <ui-select-match placeholder="Select values">{{$item.Name}}</ui-select-match>
    <ui-select-choices group-by="'GroupName'" repeat="value.Id as value in MetaData.Values | filter: $select.search">

    </ui-select-choices>
</ui-select>

MetaData.Values has over 60 items and when I first set on my scope MetaData and only afterwards config sometimes my config.SelectedIDs become a list of undefined values (the number of items stays the same). After I switched the order and first assigned $scope.config and only afterwards $scope.MetaData it seems to work now.
The error also didn't occur during debugging or with other instances with less items to choose from (~10 or less).

Closing this issue as it is over a year old and doesn't have a repro sample.
If you believe its still relevant please update with a plunkr (or similar) against the latest version of ui-select (currently v0.16.0)


An error occurred while using "dart run jnigen --config jnigen.yaml" in flutter plugin

Steps to reproduce

execute “dart pub add jni dev:jnigen”  command.
add jnigen.yaml in flutter plugin
execute "dart run jnigen --config jnigen.yaml"

Actual results
Unable to automatically generate binding files and error info:
:dart run jnigen --config jnigen.yaml

Building package executable... (2.4s)
Built jnigen:jnigen.
(jnigen) INFO: ApiSummarizer.jar exists. Skipping build..
(jnigen) INFO: trying to obtain gradle dependencies [getReleaseCompileClasspath]...
(jnigen) INFO: Restoring build scripts
Unhandled exception:

gradle exited with status 1
. This can be because the Android build is not yet cached. Please run `flutter build apk` in ./ and try again

#0      AndroidSdkTools._runGradleStub (package:jnigen/src/tools/android_sdk_tools.dart:207:7)
#1      AndroidSdkTools.getGradleClasspaths (package:jnigen/src/tools/android_sdk_tools.dart:144:7)
#2      getSummary (package:jnigen/src/summary/summary.dart:136:34)
#3      generateJniBindings (package:jnigen/src/generate_bindings.dart:32:21)
<asynchronous suspension>

Logs

Logs

<!-- Paste your logs here -->
Building package executable... (2.4s)
Built jnigen:jnigen.
(jnigen) INFO: ApiSummarizer.jar exists. Skipping build..
(jnigen) INFO: trying to obtain gradle dependencies [getReleaseCompileClasspath]...
(jnigen) INFO: Restoring build scripts
Unhandled exception:

gradle exited with status 1
. This can be because the Android build is not yet cached. Please run `flutter build apk` in ./ and try again

#0      AndroidSdkTools._runGradleStub (package:jnigen/src/tools/android_sdk_tools.dart:207:7)
#1      AndroidSdkTools.getGradleClasspaths (package:jnigen/src/tools/android_sdk_tools.dart:144:7)
#2      getSummary (package:jnigen/src/summary/summary.dart:136:34)
#3      generateJniBindings (package:jnigen/src/generate_bindings.dart:32:21)
<asynchronous suspension>

</details>

### Flutter Doctor output

<details open>
<summary>Doctor output</summary>

```console

<!-- Paste your output here -->
[✓] Flutter (Channel stable, 3.16.3, on macOS 13.5.2 22G91 darwin-arm64 (Rosetta), locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.85.1)
[!] Proxy Configuration
    ! NO_PROXY does not contain ::1
[✓] Connected device (3 available)
[!] Network resources
    ✗ A network error occurred while checking "https://storage.googleapis.com/": Connection reset by peer
    ✗ An HTTP error occurred while checking "https://maven.google.com/": Proxy failed to establish tunnel (503 Service Unavailable)

@wang409205743
I think this need to be reported in dedicated repo: https://github.com/dart-lang/native/issues
See this similar issue for your reference.
Closing from here.


can not goto define at large project(file number > 2000) when vim open header

Please describe the problem.
For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Logs
Please attach the clangd stderr log if you can. (Usually available from the editor)
If possible, run with --log=verbose - note that the logs will include the contents of open files!
If this is a crash, try to put llvm-symbolizer on your PATH per the troubleshooting instructions.
System information
Output of clangd --version:
12
Editor/LSP plugin:
Operating system:
ubuntu20.04

The behaviour you describe suggests the .cc file is not indexed on disk (or clangd is not loading its contents from the index). Opening the .cc file causes it to be indexed in clangd's in-memory index, that's why it starts working.
The list of files to index is based on the CDB (compilation database, i.e. the compile_commands.json file), and by default the CDB is found by searching the ancestor directories of the file that is opened (in this case, the .h file).
So, the first thing to check: is the .h file located in the directory tree of the directory containing the compile_commands.json? If not, clangd will not find the CDB automatically when opening the .h file, and you may need to point it to the CDB explicitly using the --compile-commands-dir command line argument.
If that's not the issue, then please share logs as instructed in the issue template.


The script cancel-spot-instances.sh doesn't remove spot instances.

Hi, I have the next error.
When the next command in cancel-spot-instances.sh is excecute:
aws ec2 describe-spot-instance-requests --filters "Name=state,Values=active,open" | jq -r '[ .SpotInstanceRequests[] | select( .LaunchSpecification.IamInstanceProfile.Name | contains("'$1'")) ]'
The output shows:
null_resource.cancel_spot_requests (local-exec): Executing: ["/bin/sh" "-c" "ci/bin/cancel-spot-instances.sh runners-agent"]
null_resource.cancel_spot_requests (local-exec): ci/bin/cancel-spot-instances.sh: 11: ci/bin/cancel-spot-instances.sh: [[
null_resource.cancel_spot_requests (local-exec):   {
null_resource.cancel_spot_requests (local-exec):     "CreateTime": "2020-04-20T18:58:56.000Z",
null_resource.cancel_spot_requests (local-exec):     "InstanceId": "i-018d3656398ce7f60",
null_resource.cancel_spot_requests (local-exec):     "LaunchSpecification": {
null_resource.cancel_spot_requests (local-exec):       "SecurityGroups": [
null_resource.cancel_spot_requests (local-exec):         {
null_resource.cancel_spot_requests (local-exec):           "GroupName": "runners-agent-docker-machine20200420185608609900000006",
null_resource.cancel_spot_requests (local-exec):           "GroupId": "sg-0c674a8ff7a88a21f"
null_resource.cancel_spot_requests (local-exec):         }
null_resource.cancel_spot_requests (local-exec):       ],
null_resource.cancel_spot_requests (local-exec):       "BlockDeviceMappings": [
null_resource.cancel_spot_requests (local-exec):         {
null_resource.cancel_spot_requests (local-exec):           "DeviceName": "/dev/sda1",
null_resource.cancel_spot_requests (local-exec):           "Ebs": {
null_resource.cancel_spot_requests (local-exec):             "DeleteOnTermination": true,
null_resource.cancel_spot_requests (local-exec):             "VolumeSize": 16,
null_resource.cancel_spot_requests (local-exec):             "VolumeType": "gp2"
null_resource.cancel_spot_requests (local-exec):           }
null_resource.cancel_spot_requests (local-exec):         }
null_resource.cancel_spot_requests (local-exec):       ],
null_resource.cancel_spot_requests (local-exec):       "EbsOptimized": true,
null_resource.cancel_spot_requests (local-exec):       "IamInstanceProfile": {
null_resource.cancel_spot_requests (local-exec):         "Name": "runners-agent-docker-machine-profile"
null_resource.cancel_spot_requests (local-exec):       },
null_resource.cancel_spot_requests (local-exec):       "ImageId": "ami-085925f297f89fce1",
null_resource.cancel_spot_requests (local-exec):       "InstanceType": "t3a.medium",
null_resource.cancel_spot_requests (local-exec):       "KeyName": "runner-fxz4css-runner-1587409135-da1bbadf",
null_resource.cancel_spot_requests (local-exec):       "NetworkInterfaces": [
null_resource.cancel_spot_requests (local-exec):         {
null_resource.cancel_spot_requests (local-exec):           "AssociatePublicIpAddress": false,
null_resource.cancel_spot_requests (local-exec):           "DeviceIndex": 0,
null_resource.cancel_spot_requests (local-exec):           "SubnetId": "subnet-0f1f7e801820d7554"
null_resource.cancel_spot_requests (local-exec):         }
null_resource.cancel_spot_requests (local-exec):       ],
null_resource.cancel_spot_requests (local-exec):       "Placement": {
null_resource.cancel_spot_requests (local-exec):         "AvailabilityZone": "us-east-1a"
null_resource.cancel_spot_requests (local-exec):       },
null_resource.cancel_spot_requests (local-exec):       "Monitoring": {
null_resource.cancel_spot_requests (local-exec):         "Enabled": false
null_resource.cancel_spot_requests (local-exec):       }
null_resource.cancel_spot_requests (local-exec):     },
null_resource.cancel_spot_requests (local-exec):     "LaunchedAvailabilityZone": "us-east-1a",
null_resource.cancel_spot_requests (local-exec):     "ProductDescription": "Linux/UNIX",
null_resource.cancel_spot_requests (local-exec):     "SpotInstanceRequestId": "sir-tgr9kfyg",
null_resource.cancel_spot_requests (local-exec):     "SpotPrice": "0.020000",
null_resource.cancel_spot_requests (local-exec):     "State": "active",
null_resource.cancel_spot_requests (local-exec):     "Status": {
null_resource.cancel_spot_requests (local-exec):       "Code": "fulfilled",
null_resource.cancel_spot_requests (local-exec):       "Message": "Your spot request is fulfilled.",
null_resource.cancel_spot_requests (local-exec):       "UpdateTime": "2020-04-20T18:58:59.000Z"
null_resource.cancel_spot_requests (local-exec):     },
null_resource.cancel_spot_requests (local-exec):     "Tags": [],
null_resource.cancel_spot_requests (local-exec):     "Type": "one-time",
null_resource.cancel_spot_requests (local-exec):     "ValidUntil": "2020-04-27T18:58:56.000Z",
null_resource.cancel_spot_requests (local-exec):     "InstanceInterruptionBehavior": "terminate"
null_resource.cancel_spot_requests (local-exec):   }
null_resource.cancel_spot_requests (local-exec): ]: File name too long
null_resource.cancel_spot_requests (local-exec): Found no spot instances to kill or requests to cancel.

But It's coming in the else condition.
of the next validation.
# It's possible there's no spot requests to cancel, so be safe.
if ["$SPOT_REQUESTS" != "[]"]; then
    echo $SPOT_REQUESTS | jq -r '.[].InstanceId' | xargs aws ec2 terminate-instances --instance-ids
    echo $SPOT_REQUESTS | jq -r '.[].SpotInstanceRequestId' | xargs aws ec2 cancel-spot-instance-requests --spot-instance-request-ids
else
    # If there's no instances to kill, just log out that and return happy.
    echo "Found no spot instances to kill or requests to cancel."
    exit 0
fi

for this reason and although there is a spot instance, the script is reporting that it does't found anything.

@frcho thanks will check the PR asap


[connectors] Refactor the Zendesk connector

Description

Close #8714
Goal: refactor in surface the connector, only by moving files around and simplifying signatures. The goal is to do only extremely simple changes like splitting functions between 2 files and changing function signatures from single object to multiple parameters or the inverse.

Risk
Low.
Deploy Plan

Deploy connectors.

PMRR


Datagrid row hover effect lags

Describe the bug
On compact Datagrid, when the mouse hovers over the rows, the background color change lags. See the gif provided.
Not sure if it is a bug. However, I'm having trouble finding a root cause.
To Reproduce
Can not reproduce it locally, reproducible only after being deployed on a server.
Environment

Blazority Version 1.11
.NET Core Version 7
Browser Chrome, Edge

@marko-savic Unfortunately, I am unable to reproduce this on my end (tried on both Wasm and Blazor hosted models).  Is you application doing anything else that is processor intensive? Where is it deployed? It feels like an issue with Blazor server rendering latency.

@karan-kang the app is doing nothing except that.
It should be reproducible only with Server side hosting model.
I dig in a little bit and the root cause of the problem is definitely server latency. The Datgrid is changing the DOM by adding and removing CSS class "row-selected", which has the side effect of coloring the row same as :hover.  So, the row gets color from :hover and from adding class "row-hover" which stays longer due to lag.  You can see it in the gif below.

SingalR syncing  changes over WS:

Ping to the server is ~280ms, which is bad regardless of this.
The only option I can see is to stop adding and removing "row-hover", but not sure what implication would that trigger.
All in all, it is the limitations of the current Server side hosting model, will try it in dotnet 8, and hope it can be overcome by pushing the component to be rendered by the client.

Closing since the issue is not with Blazority but rather the application/server hosting.


cc nnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

@kmnaseef you brought shame to india

I don't know how to apologize.  Really really sorry. It was a mistake
without my knowledge. please tell me a way to delete this..
On Thu, May 12, 2022 at 12:16 PM 孔楠 @.***> wrote:

@kmnaseef https://github.com/kmnaseef you brought shame to india
—
Reply to this email directly, view it on GitHub
https://github.com/android/architecture-samples/issues/852#issuecomment-1124731881,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKZH6NLEGVZWCWD65KSIX3VJTD5PANCNFSM5VWN7ZDQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Task]: Update Slack channel occurrences with Discord

Connector Name
other (None Listed Above)
Task Description
Update Slack channel occurrences with Discord from repo readme.md , package.md, module.md. Check all the places in all modules.

[x] GitHub
[x] Twilio
[x] GSheet
[x] Gmail
[x] Slack
[x] Google Calendar
[x] Salesforce
[x] Netsuite
[x] Google Drive
[x] Azure EventHub
[x] CosmosDB
[x] Azure Service Bus
[x] Azure Storage Service
[x] MongoDB
[x] Redis
[x] AWS S3
[x] AWS SQS
[x] Google People API
[x] MS OneDrive
[x] MS Excel
[x] Twitter
[x] MS Teams
[x] Azure AD
[x] Outlook Calendar
[x] Outlook Mail
[x] MS OneNote
[x] SnowFlake Driver
[x] AWS SES
[x] AWS-SNS
[x] AWS-DynamoDB
[x] AWS-SimpleDB
[x] PeopleHR
[x] OpenAPI connectors

@kasthuriraajan All the PRs are merged. They will be released with the upcoming iteration of the release

Links updated and connectors released


[Feature] Automatic Cleaning

I believe being able to set a timer or schedule a specific time to perform an automatic cmd_clean would be fantastic and really help reduce clutter in some channels.
If you wanted to make it fancy, you could have the search_range of the cmd_clean equivalent to the number of messages the channel has received since the last automatic clean.

Thanks for the feature request! I too like the idea of this.

We've recently added timers for VC inactivity, and automatic cache clean up. Prior to this no one wanted to play around with timers due to stability being questionable at best. The improvements that are being added frequently onto the dev branch help with stability and I think this should be reasonable. I realize it's been years since this request none the less I'd like to add it in the new future


Making try_call revert as not determistic error

I have a case where:

I'm working on Godwoken v1 blockchain. (It have EVM support)
I deployed my contracts that have method that contact oracle provider to receive token prices
Oracle provider not supporting all the tokens
On deposit to pool i handle event that use the method with oracle call inside with try_call method
On my deposit the prices for ADA (Cardano) token were missing so on deposit the call will fail inside mapper
After that ADA token was added to the oracle
After that when i make the call with current block the request pass

Unfortunately the graph-node stuck on the first deposit call and don't want to move on
I'm using image: graphprotocol/graph-node:v0.25.2
with rpc: ethereum: 'godwoken:no_eip1898,archive,traces:https://godwoken-testnet-web3-v1-rpc.ckbapp.dev'
Here is the mapper code
let poolContract = LendingPool.bind(poolAddress);
let accountData = poolContract.try_getUserAccountData(userAddress);

  if (!accountData.reverted) {
    user.totalBorrow = accountData.value.value1;
    user.totalCollateral = accountData.value.value0;
    user.availableBorrowsETH = accountData.value.value2;
    user.currentLiquidationThreshold = accountData.value.value3;
    user.ltv = accountData.value.value4;
    user.healthFactor = accountData.value.value5;
    user.save();
  } else {
    log.warning('account data missing', [])
  }

here is the curl call for that block
curl 'https://godwoken-testnet-web3-v1-rpc.ckbapp.dev/' \   -H 'authority: godwoken-testnet-web3-v1-rpc.ckbapp.dev' \   -H 'accept: application/json' \   -H 'accept-language: en-US,en;q=0.9' \   -H 'content-type: application/json' \   --data-raw '{"id":2074204538,"jsonrpc":"2.0","method":"eth_call","params":[{"from":"0x57f2e7809ec800ea742fa7a5974aa106b14afab5","to":"0x1075dfd90df7ef5c8b3628c6c1deaa6da8d99aa9","data":"0xbf92857c0000000000000000000000002c2f3651ae95edf3f0fa175bf99a85120789796f"},"0xf4be"]}' \   --compressed
here is the response from the call which is correct  because there are oracle data missing on that block
{"jsonrpc":"2.0","id":2074204538,"error":{"code":-32099,"message":"revert: REFDATANOTAVAILABLE","data":{"failed_reason":{"status_code":"0x2","status_type":"REVERT","message":"REFDATANOTAVAILABLE"}}}}

Thank you for your help


Units for transformed coordinates

In the Iris_Datasets_I tutorial, there's a cell that claims it's showing coordinates in degrees, but clearly they are no longer in degrees:

Fixing this would presumably require keeping track of units properly and converting them across projections.  For now, perhaps just suppress the units?

We could drop the Dimension.unit when projecting, requires some discussion though.


chore: POC add modal to warn user when they are leaving to accept T&C

What this PR does / why we need it:

Warn user that they are leaving to accept T&C. When making a Kafka Instance for the first time, they are directed to new screen where they accept the T&C flow, this caused confusion where some ignored the screen and tried to continue without accepting.

Verification steps

Story can be found in < POC > < SmallModal > < Story >

Special notes for your reviewer:

There might need to be extra space between normal and bold text

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Player does not collide with ground in demo

Terrain3D version
Terrain3D v0.8.4-alpha_gd4.1.3
Godot version
v4.2.stable.mono.official [46dc27791]
System information
Godot v4.2.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - integrated AMD Radeon(TM) Vega 8 Graphics (Advanced Micro Devices, Inc.; 27.20.15002.8001) - AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8 Threads)
Is the issue reproducable in the demo?
Yes
Issue description
In the demo, the player does not collide with the ground. Fresh install of Godot 4.2 and Terrain3D v0.8.4-alpha_gd4.1.3
Logs
Console:
Vulkan API 1.2.164 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon(TM) Vega 8 Graphics

ERROR: FATAL: Index p_index = 0 is out of bounds (shapes.size() = 0).
   at: get_shape (servers/physics_3d/godot_collision_object_3d.h:124)```

Did you use the version for 4.2 linked in the release notes? That version works perfectly with the 4.2 releases both mono and non-mono versions.
I cannot reproduce that error with fresh installs of everything above.
You can try 4.1.3 with the 4.1.3 terrain3d release. This build also works in 4.2 but has error spam.
Otherwise, you'll need to debug the engine and see what is actually occurring on your system at this point:
https://github.com/godotengine/godot/blob/0bf12956a10d216c46368f26b00f6999d000c1d8/servers/physics_3d/godot_collision_object_3d.h#L124
We are not calling get_shape(), so you need the callstack to determine who and what is.

Since there's been no response, and this isn't reproducible, this issue will be closed soon. Respond if you want help, after you've tested the other versions suggested.

Closed due to no response and not reproducible. It can be reopened if you wish to troubleshoot. There's a new version out, try that as well as the other things mentioned.


Test Report

Question. How to show unit tests pass/fail in documentation/report?

Filling up database testing details test-class/function level


[UX][Publisher] Users tend to miss add parameter section after adding API resources

Description:
After adding API resources users are unable to identify the section to add parameters though UI.
Need to have a link/indication on the resource to expand the parameter section.
Suggested Labels:
UX, Improvement
Affected Product Version:
2.0.0

This has been fixed in latest versions of APIM by facilitating users to add parameters by expanding the resource.


Fix up formatting for powershell code block

Thanks for your contribution! Here's a few guidelines to help speed review of your pull request:

File name: Include the file name of the article you are updating in the title of the pull request.

PMs and writers: If you are a core Azure product team PM or a content developer, please use the private repository. You can easily access the private repository from the article links by typing "-pr" after "azure-content" in the GitHub URL for the article. Instructions for requesting perms are posted in the contributor's guide.

Hi @stuartleeks, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (stuartle). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@stuartleeks - This PR has a merge conflict...could you please merge master to your patch-8 branch and resolve any conflicts? Closing for now; you can reopen when the conflicts are resolved.


Update @nx/workspace to 19.1.2

Update Nx from 19.1.1 to 19.1.2

Auto-generated by create-pull-request

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.63%. Comparing base (7804dd2) to head (d553807).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   97.63%   97.63%
=======================================
  Files          17       17
  Lines         211      211
  Branches       30       30
=======================================
  Hits          206      206
  Misses          5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: freedraw jittering

Fixes #8234
The problematic code was introduced in #3512 to fix 'shuffle' bug. (https://github.com/excalidraw/excalidraw/pull/3512/commits/d9af6099f54587102fc57a8e069eb1797b783b21)
At the time, the code was fine. The commit also had corresponding code in generateElementCanvas() that generated canvas drawing with floored x and y as base. Which was why x1 = Math.floor(x1) needed to be used in drawElementFromCanvas(),  when copying over the rendered element from that canvas.
But in #4357, the Math.floor code in generatedElementCanvas() was removed, yet it did not remove the matching code from drawElementFromCanvas() as well. Which resulted in the freehand drawing being rendered to a slightly wrong position.

Awesome, good catch! ❤

Sorry, why is the test failing in master branch, when it passed here and my local setup?


Developer provider not working under Rails <IP_ADDRESS>

Please complete all sections.
Configuration

Provider Gem: omniauth-2.0.4
Ruby Version: 2.7.5
Framework: rails <IP_ADDRESS>
Platform: ubuntu

Expected Behavior
Gemfile
gem 'omniauth'
gem "omniauth-rails_csrf_protection"

config/initializers/omniauth.rb
Rails.application.config.middleware.use OmniAuth::Builder do
  provider :developer
end

app/views/sessions/new.html.erb
<%= form_tag('/auth/developer', method: 'post') do %>
  <button type='submit'>Login with Developer</button>
<% end %>

Clicking on Login should render the developer form and log you in using fake credentials.
Actual Behavior
The only thing in the log is:
Started POST "/auth/developer" for <IP_ADDRESS> at 2022-03-21 21:58:57 +0100
D, [2022-03-21T21:58:57.950088 #3941647] DEBUG -- : (developer) Request phase initiated.

So the middleware is hit, but there is nothing after this.
Steps to Reproduce
gem install rails --version <IP_ADDRESS>
rails new --css bootstrap
Add the code in expected behaviour.
bundle install
rails s
click Login

I also am unable to get omniauth-keycloak to work in Rails 7, so that is probably related to omniauth having some issues with rails 7. My gut feeling is that it might be something to do with middleware handling, but I cannot put my finger on the root cause atm.

I think this might be the new turbo links being strange. Changed the view to:
<%= form_tag('/auth/developer', method: 'post', data: {turbo: false}) do %>
  <button type='submit'>Login with Developer</button>
<% end %>

Then that seems to work.

@barttenbrinke glad you got it working, would you mind making a PR to the readme calling out this, and/or add to the wiki?

@BobbyMcWho The Readme is sort of lacking some valuable info :) I will look into it tomorrow.

@BobbyMcWho The PR is here ^^.

I have an issue with the code proposed in the readme in a vanilla rails 7 app
https://github.com/omniauth/omniauth#rails-without-devise
I hit http://<IP_ADDRESS>:3000/auth/developer and this is the form:
<%= form_tag('/auth/developer', method: 'post', data: { turbo: false }) do %>
  <button type='submit'>Login with Developer</button>
<% end %>

I submit but:
DEBUG -- omniauth: (developer) Callback phase initiated.
ActionController::RoutingError (No route matches [POST] "/auth/developer/callback"):

for some reason omniauth callback calls the callback in POST, in the routes we have defined a get.
even if I switch to POST I get csrf issues.

I proposed some further changes in the linked PR above, also putting back a skip_before_action that was there before the rewrite

I'd just like to add that you don't have to use a form_tag, you can just use a button_to:
<%= button_to "Sign in with Github", "/auth/github", data: { turbo: false } %>

I proposed some further changes in the linked PR above, also putting back a skip_before_action that was there before the rewrite

The skip_before_action is no longer needed with the gem "omniauth-rails_csrf_protection" gem.

I'm also getting the same errors with the developer provider.
Looking at the source: https://github.com/omniauth/omniauth/blob/master/lib/omniauth/strategies/developer.rb#L38
The developer provider clearly creates a form that sends a POST request to the callback URL, without a CSRF token. How should this work without also allowing POST requests and disabling CSRF protection for create?

gem "omniauth-rails_csrf_protection" should take care of that.

Following the steps in the README, I am also running into this issue with the :developer provider.
The csrf_proctection gem only handles validation of tokens, but the developer form does not have an authenticity token anywhere...
My current solution is to do what other's have suggested, which is to skip verification on the /callback  route, but only in development.
The OmniAuth developer form should probably include some authenticity token, though I'll be honest, I'm not immediately sure how to best do this... I'm not versed enough in the Rails internals to be able to generate an authenticity_token from within the omniauth middleware setup.
I was exploring playing with a monkey patch, and it's not hard to find a spot to inject a new hidden field into the form. (This could be an option passed to the provider function. But I didn't have the time to figure out how to actually generate a token rails would accept.
class OmniAuth::Strategies::Developer
  def request_phase
    token = '.....SOMETHING....'
    form = OmniAuth::Form.new(:title => 'User Info', url: '/auth/developer/callback')
    options.fields.each do |field|
      form.text_field field.to_s.capitalize.tr('_', ' '), field.to_s
    end
    form.html("\n<input type='hidden' name='authenticity_token' value='#{token}' />")
    form.button 'Sign In'
    form.to_response
  end
end

Having the same issue. That would be great if it gets patched soon. @cycomachead thanks for the PR

Thank you @cycomachead for the patch!


ARROW-4825: [WIP][C++][Python] Transition from MemoryPool* to shared_ptr&

This PR implements MemoryPool storage using shared_ptr to ensure that MemoryPool will be kept alive until all its Buffers are deallocated.
Fixes ARROW-4825.

I'm -1 on this one. This is a very invasive change. I will continue the discussion in JIRA.

We'll need to spend some time discussing this given the scope and invasiveness of it. I would like to see if there are other ways to address the root problem which is a new memory pool being created in Python and then being garbage collected as a result of user code. I think this issue can be addressed with changes that are less invasive and do not require changing any APIs

For example, MemoryPool may internally create a private shared_ptr<MemoryBank> object which is shared between the MemoryPool and PoolBuffer instances. This can be done in a fully transparent way
This is BTW the way that we extend the lifetime of memory maps beyond the lifetime of a MemoryMappedFile instance

I admit, modifying ca 200 files per PR is invasive.
However, my pleas are:

using shared_ptr<MemoryPool> instead of MemoryPool* seems the right thing to do because it guarantees the proper destruction order of objects that hold the MemoryPool pointer without any workarounds (such as MemoryBank, if I understand it correctly).
the change from MemoryPool* to shared_ptr<MemoryPool> turned out to be trivial: there are only few coding patterns that required changes and all the updated unittests pass successfully.

What I like least about this is that semantics from bindings layers are influencing the C++ API. That doesn't seem right to me. In many data processing applications, the memory manager is a component that is central to runtime state management. It is the application's responsibility to ensure that the MemoryPool stays alive longer than the memory allocated from it.
The other big problem with this application is that we do have quite a lot of C++ API users. I can see breaking / deprecating an API here or there but not breaking dozens of APIs all at once. I think we should investigate our options, staying focused on the goals at hand (making sure that code written in Python does not segfault), and avoid unnecessary refactoring creep.

For example, one way to fix the original problem is to retain references to all created memory pools from the Python API and never garbage collect them

OK, I'll look into resolving the ARROW-4825 for Python-only: attach a Python MemoryPool instance to Buffers that are created using the given MemoryPool instance.

Or have a wrapping allocator that stacks the allocated buffers and explicitly delete them, this could be simplified with context guard:
with allocator() as pool:
  #  push buf to pool._buffers
  buf = pool.allocate(...)

# allocator goes out of scope, pool.__exit__ calls `map(lambda x: del x, pool._buffers)` ensure they're deleted before pool.

I agree, there are many ways to workaround the current issue without changing Arrow at all. However, the use-case giving the segfault is something that would be very natural to use for most users, IMHO.

It depends. Many applications will never touch the MemoryPool API and simply use arrow::default_memory_pool(). I would regard using custom memory pools as fairly advanced usage and should require an awareness of runtime state management. In database systems, such runtime state is often managed by some kind of singleton object, and memory is managed very carefully in different components of the project. Since pyarrow is a developer-centric library rather than a user-centric one I would expect a higher level of sophistication from its user than something like pandas

See alternative fix in PR #3888.

I'm a bit surprised by the choice to fix this on the Python side while the defect is obviously on the C++ side.
I see two possible downsides with changing the C++ side:

API breakage: this is the main problem with the change
Potential performance issues: those sound a bit more unlikely

One can indeed decide to store a middleman shared_ptr<MemoryPoolImpl> instead of shared_ptr<MemoryPool>. It has the same potential performance issues, doesn't break the API (AFAICT), but makes life harder for memory pool implementors.

@pitrou it would probably be best to discuss this further on the mailing list. IMHO the MemoryPool is a key property of the runtime environment. Having a huge number of objects "sharing ownership" of the MemoryPool does not seem useful to me. That it is possible to:

Create a MemoryPool
Allocate a Buffer with it
Destruct the MemoryPool
subsequently Segfault on deallocation of the Buffer

is not a defect, instead that is how the project was explicitly designed. I don't even think this behavior is even bad, since this case indicates that an application has improperly looked after the lifetime of the MemoryPool.

Closing this PR for now. My view is that it is the application's responsibility to steward the lifetime of a MemoryPool. We can discuss further on the mailing list


.isoWeeks does not retain year

From the docs: (http://momentjs.com/docs/#/get-set/iso-week/)

Gets or sets the ISO week of the year.

This suggests that:
var date = moment(2016, 'YYYYY');
date.isoWeeks(1);
console.log(date.format('YYYY-MM-DD'));

Calculates the first week of 2016, however the result is:
2015-01-02

The first line should use moment("2016","YYYY"), but yes - there is a bug here.
There's something strange going on...
for (var i = 1990; i <= 2020; i++)
{
  var m = moment([i,0,1]).isoWeek(1);
  if (m.year() != i)
    console.log(i + " => " + m.format("YYYY-MM-DD"))
}

1993 => 1992-01-03
1994 => 1993-01-09
1995 => 1994-01-09
1999 => 1998-01-02
2000 => 1999-01-09
2005 => 2004-01-03
2006 => 2005-01-09
2010 => 2009-01-02
2011 => 2010-01-09
2012 => 2011-01-09
2016 => 2015-01-02
2017 => 2016-01-10

As you can see, only certain years are affected.

This may or may not be related to #2033

Yes, these are related; yes, its a bug. I'm accepting patches as usual. If not I might patch it some day :)

Same issue with week() function.
Using
date.add(1, 'weeks');```
works for me.

Closing in favor of #2033.  Same bug.


Consequence of exceeding subscription numbers

Can we add an extra question in the FAQ on what happens if Power Pages customers use the subscription model but have more traffic than expected. Say if they bought 100 anonymous logins - what happens to the 101st user? Does the power page stop working until more logins are purchased?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a2cad5bd-4ffa-3671-0364-95e5b6f65256
Version Independent ID: 6d0cc055-b7be-02d7-3ba8-55e400ccd21b
Content: Power Platform licensing FAQs - Power Platform
Content Source: power-platform/admin/powerapps-flow-licensing-faq.md
Service: power-platform
Sub-service: admin
GitHub Login: @ChrisGarty
Microsoft Alias: cgarty

Thanks for your comment, @waiholiu. This issue has been assigned to the doc author for review.

Has this been detailed anywhere?  I also have this question.


promptinit: Couldn't read file /usr/share/zsh/site-functions/prompt-spaceship-setup

Is there an existing issue for this?

[X] Yes, I have searched the existing issues
[X] Yes, I have checked troubleshooting page

The problem
When installing spaceship manually and attempting to run promptinit, the following error appears:
Couldn't read file /usr/share/zsh/site-functions/prompt_spaceship_setup containing theme spaceship.

Relevant Zsh configuration
autoload -U promptinit; promptinit

What is version of Spaceship are you using?
Github Pull circa Oct 21
What is version of Zsh are you using?
zsh 5.8 (x86_64)
What operation system are you running?
Linux
Do you use any Zsh framework or plugin manager?
No response
Which terminal emulator do you use?
Kitty
Additional information
No response

I encountered this bug earlier today as well and came to report it, then saw this.
If it hasn't resolved, this might help...
Background
I was setting up a brand new MacBook Pro (macOS Maverick), in which spaceship prompt was installed via npm install -g spaceship-prompt. I then uninstalled it because I didn't intend to use in this setup, npm uninstall -g spaceship-prompt. npm uninstalled reported successful uninstallation.
After initial install, everything worked, but right after uninstalling it, I got the same error, Couldn't read file /usr/local/share/zsh/site-functions/prompt_spaceship_setup containing theme spaceship. when sourcing .zshrc. Then came the investigation...
Investigation
I boiled it down to the same line autoload -U promptinit; promptinit, so I drilled into what autoload contained. whence -v prompt_spaceship_setup told me it was a shell built it, and entering autoload showed that in fact prompt_space_ship_setup was a function there:
prompt_suse_setup () {
	# undefined
	builtin autoload -XUz
}

So I unset the function, unset -f prompt_spaceship_setup....now autoload did not show that function anymore, great! But no, still getting the error! So digging further...
Clearly it was the call to promptinit that was trying to find this function. I confirmed.
zsh ❯ which promptinit
promptinit () {
	emulate -L zsh
	setopt extendedglob
	local ppath='' name theme
	local -a match mbegin mend
	for theme in $^fpath/prompt_*_setup(N)
	do
		if [[ $theme == */prompt_(#b)(*)_setup ]]
		then
			name="$match[1]"
			if [[ -r "$theme" ]]
			then
				prompt_themes=($prompt_themes $name)
				autoload -Uz prompt_${name}_setup
			else
				print "Couldn't read file $theme containing theme $name."
			fi
		else
			print "Eh?  Mismatch between glob patterns in promptinit."
		fi
	done
	autoload -Uz add-zsh-hook
	prompt_newline=$'\n%{\r%}'
}

Hmm....look at that, promptinit is looking through a set of themes at $^fpath/prompt_*_setup(N). Great! Let's see, looks like it's looking through the $fpaths:
echo $fpath
/usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/5.8/functions

Indeed, /usr/local/share/zsh/site-functions is exactly where the error 'file not found' is coming from. Let's see what we see here...
zsh ❯ for theme in $^fpath/prompt_*_setup(N); do echo $theme\n; done
/usr/local/share/zsh/site-functions/prompt_pure_setupn
/usr/local/share/zsh/site-functions/prompt_spaceship_setupn
/usr/share/zsh/5.8/functions/prompt_adam1_setupn
/usr/share/zsh/5.8/functions/prompt_adam2_setupn
/usr/share/zsh/5.8/functions/prompt_bart_setupn
/usr/share/zsh/5.8/functions/prompt_bigfade_setupn
/usr/share/zsh/5.8/functions/prompt_clint_setupn
/usr/share/zsh/5.8/functions/prompt_default_setupn
/usr/share/zsh/5.8/functions/prompt_elite2_setupn
/usr/share/zsh/5.8/functions/prompt_elite_setupn
/usr/share/zsh/5.8/functions/prompt_fade_setupn
/usr/share/zsh/5.8/functions/prompt_fire_setupn
/usr/share/zsh/5.8/functions/prompt_off_setupn
/usr/share/zsh/5.8/functions/prompt_oliver_setupn
/usr/share/zsh/5.8/functions/prompt_pws_setupn
/usr/share/zsh/5.8/functions/prompt_redhat_setupn
/usr/share/zsh/5.8/functions/prompt_restore_setupn
/usr/share/zsh/5.8/functions/prompt_suse_setupn
/usr/share/zsh/5.8/functions/prompt_walters_setupn
/usr/share/zsh/5.8/functions/prompt_zefram_setupn

Ahhh! I'd be darned. There it is!! Second line, /usr/local/share/zsh/site-functions/prompt_spaceship_setup. promptinit was trying to look for this function (a symlink under the site-functions directory).
zsh ❯ ll /usr/local/share/zsh/site-functions
total 0
...
lrwxr-xr-x   1 user  admin    58B Feb 19 13:31 prompt_spaceship_setup@ -> /usr/local/lib/node_modules/spaceship-prompt/spaceship.zsh
...

Goodbye
zsh ❯ rm /usr/local/share/zsh/site-functions/prompt_spaceship_setup
remove /usr/local/share/zsh/site-functions/prompt_spaceship_setup? y

~
at 14:07:42 zsh ❯ source ~/.zshrc

~
at 20:08:01 zsh ❯

Yay! No more error!
Conclusion
There is a clear bug in the uninstallation process, specifically in my case with npm uninstall -g spaceship-prompt that does not remove the referenced symlink it created during the installation, which does not clean up everything else....thus, .zshrcs with autoload -U promptinit && promptinit error.

The installation process is reworked in v4.0. Please, reopen if the bug is still present.

on Mac OS still have the same problem, and can't fix it


Update rpc_shutdown add-on to use Bashio

The add-ons now have Bashio available, which makes it easier and nicer to work with and is easier to understand. The rpc_shutdown add-on needs to be rewritten to use the Bashio functions.
In general, this only requires changes to the add-on run.sh script. A good example of an add-on that has been migrated already, is deconz.
Please note, nothing has to be done to make Bashio available, it is already baked-in into the add-on base images.

If somebody is already updating the run.sh file, here's an unrelated request:
Add the argument -t 60 to line number 26:
if ! msg="$(net rpc shutdown -I "$ADDRESS" -U "$CREDENTIALS" -t 60)"; then
Supposedly, this will give any user currently using the computer about to be shut down a 60 second heads up, before actually shutting down the PC. The user may also be able to cancel the request, but I'm not sure. I've not tested this myself.

@stefanroelofs Moved your comments into a separate issue.

This issue may be closed.
The addon was updated to bashio:
https://github.com/home-assistant/hassio-addons/pull/792

👍


Remove not useful npm clean up command in Dockerfile

As Docker images are multiple layers, all the later(upper) ones are built upon the older(lower) images, clean up the image on the newer image will not work at all, and also, the base image is node:12-alpine, which contains npm by default, and which means it's not possible that we can clean it up, unless the whole image is squashed into a single layer(bad practice, layers not reusable/cachable between images), so this command can basically be removed.

Thank you!


CCFPCM-515 (subtask 518): Added basic SQ properties file

CCFPCM-518
Objective:

Add the properties file as a prerequisite to further SQ config

I think if you wrap the PR title in square brackets it will pass: ie: [CCFPCM-515]


Translate chinese documents into english

What would you like to be added:
Translate these chinese documents into english:
将文档贡献指南翻译成英文
将组件开发指南翻译成英文
将新增API时的开发规范翻译成英文
Why is this needed:
Make Layotto an international project :)

This issue will be assigned to @x-shadow-man
Thks for your contribution!

This issue will be assigned to @x-shadow-man
Thks for your contribution!

thx, i'll do it!


Replace type of field duration in Activity

Currently the type of the fields duration and duration_moving is time. However, time is restricted to a max of 23:59:59, for this reason activities lasting longer than a day will have a wrong duration.

Field has been replaced by timedelta along with dedicated reader/writer


update readme with community info

Contributing probably needs to have real steps, but other changes look good.

@hex337 ah, didn't mean to add the contributing doc to this pull request


Design High Fidelity Landing Page

Done

https://www.figma.com/file/DnC164r4V3pl8RWdOPCnFi/Github-Links?node-id=713%3A29239

done


[NeuralChat] Add Docker use case for ChatQnA

Type of Change
feature
API changed.
The demo name of aiphotos are deleted in restful/retrieval_api.py:
/v1/aiphotos/askdoc/xxx  --> /v1/askdoc/xxx
Description
Add Docker use case for ChatQnA. ChatQnA service could be started following the README here with Dockerfile. The instructions and sample codes are also wtritten in README.md.
JIRA: https://jira.devtools.intel.com/browse/NLPTOOLKIU-1215
Expected Behavior & Potential Risk
The ChatQnA service could be started via Docker.
How has this PR been tested?
Local tested on SPR server.
Dependency Change?
None.

this is for SPR. do we plan to provide another two dockerfiles for XPU and HPU？

Will add these dockerfiles.


renaming user to any string with capital letter gives error response

Describe the bug
Renaming an existing user to a string with capital letters in it will result in a 404 response code but the username is changed.
Steps to reproduce

Create a user Alice and note the user-id
As admin, try to rename the username of Alice to CapLetter :x:

curl -X PATCH https://host.docker.internal:9200/graph/v1.0/users/<alice-user-id> \
-d'{"onPremisesSamAccountName": "CapLetter", "accountEnabled": true}' \
-uadmin:admin -vk

< HTTP/2 404
< access-control-allow-origin: *
< content-type: application/json; charset=utf-8
< content-length: 147
<
...
{
  "error": {
    "code": "itemNotFound",
    "innererror": {
      "date": "2023-08-16T05:52:50Z",
      "request-id": "328a6cd7107e/65aLZWnZaO-000757"
    },
    "message": "not found"
  }
}

check username (username gets renamed)

curl https://host.docker.internal:9200/graph/v1.0/users/<alice-user-id> -uadmin:admin -vk

{
...
  "accountEnabled": true,
  "displayName": "Alice Hansen",
  "onPremisesSamAccountName": "CapLeter",
...
}

Expected behavior
Expected 200 HTTP code with user information.
{
  "accountEnabled": true,
  "displayName": "Alice Hansen",
  "id": "1aab9aed-d4be-472b-bda9-863f21839dfc",
  "mail"<EMAIL_ADDRESS>  "onPremisesSamAccountName": "CapLeter",
  "surname": "alice",
  "userType": "Member"
}

Same issue https://github.com/owncloud/ocis/issues/5763#issuecomment-1460491813

@rhafer Maybe you remember why the value := strings.ToLower(a.Value) is commented out.
Looks like it is a cause of the issue.
https://github.com/go-ldap/ldap/commit/c4ad4d4beca2bafff6c1592071328b9ea2ddab1b#diff-03848630a4ea01c65fbf82a2d193901b54438b6b43387db0c4d91038ee8091f8R30


How to test on custom data?

Hi, @ChaoyueSong , thanks for sharing this wonderful work, and I have tried to test it on some mesh files generated from other smpl based model, e.g,VIBE and so on, but the results are bad.
So can you give some details on how to test on custom data? thanks~

Hi, thanks for your interest!
When testing on new data, you can simply use test.py to achieve it. Don't forget to change the vertex_num and remove PMD calculation after reading the input meshes.
The performance is not very satisfactory on VIBE because of the limited generalization. The pre-trained model is trained with very simple poses in SMPL. We suggest that you can try to retrain the model on more complex poses in other datasets, e.g., SMPL-X, STAR, etc.


Data not export to Nightscout

Hi,
I deployed Docker container with script to my hosting, added all variables, it is now show in log that records added/synced but the Nightscout DB is empty and there is no results to show:

I checked all tutorials few times, everything seems installed correct. Am I missing something?

Hello, I've just finished setting up the docker service on the same nightscout hosting (northflank, db is on atlas) but sadly, just like alex, i'm getting the same results : apparently successful uploads but no data in nightscout db.
Any suggestion on what could be misconfigured or where to find additional logs ? Thanks


Separate HTML styling

Right now the .out.html output is the basic Microsoft-ready HTML file. We need to take out the Microsoft-specific features (TOC becomes generic Asciidoc TOC), and introduce cogent HTML styling

Major refactorings done:

ISODoc is now a class,
all css and html files are passed to it from caller
distinct generic CSS for HTML and Word
HTML intro and coverpage files distinct for Word and HTML (separated in CSD, will need to do for ISO)

A gotcha: because I am adding the files in after the event rather than while building the HTML, the HTML files need to be pure Ascii (i.e. with entities) in order to be added to the Word file, otherwise Nokogiri aborts when adding the HTML fragments in. © was truncating the file!

cleaned up CSS on intro and coverpage files as much as possible. In the case of Word, that isn't very possible.

Note that Word CSS is not very clever: indenting para within a div with a border is actually impossible, the border style has to appear separately on each paragraph! So CSS styling of Word HTML cannot be sophisticated, at least with borders.

Done ToC for HTML with jQuery plugin (why on earth would I waste time otherwise?)


korean pre-processing (pos tagger)

There're lots of Korean-morph-analyzers like Twitter, Mecab, Hannanum, etc...
Try all of them! But, the dataset in the wild isn't verified, not clean and of course, there're lots of coned-word. So, a proper analyzer is needed.

[x] Hannanum (not bad but memory + speed stuff...,)
[x] Mecab (not bad)
[x] Twitter (i think it's not good)
[ ] soynlp (needs to try out)

I think using soynlp (L-Tokenizer) should be used after dealing with spacing problem.
Later, I'll try!


Updated 2.0 but now IDesignTimeDbContextFactory vs IDbContextFactory

The compiler states
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0619	'IDbContextFactory' is obsolete: 'Use IDesignTimeDbContextFactory instead.'
However, I do not see any way of doing what I used to do using IDbCOntextFactory. In my case I was using IDbContextFactory to apply migrations from 1 project without having to pass connection string and settings. In other words, I was storing the connection strings and other settings in an appsetting.json file located in the class library. (I wanted to completly separate the web project from the database project in which I had already achieved with IDbContextFactory. I now need some guidance as to how to achieve the same now that IDbContextFactory is obsolete.
Here the code that worked before 2.0.
{
    public class ApplicationDbContextFactory : IDbContextFactory<ApplicationDbContext>
    {
        public ApplicationDbContext Create(DbContextFactoryOptions options)
        {
            var builder = new DbContextOptionsBuilder<ApplicationDbContext>();
            var variables = new EnviromentInformation();
            var connectionString =
                new ConnectionStringBuilder()
                .CreateConnectiongString(
                                         basePath: variables.GetBasePath(),
                                         environmentName: variables.GetEnviromentName()
                                        );

            builder.UseSqlServer(connectionString);

            return new ApplicationDbContext(builder.Options);
        }

Think this is EntityFramework question not identity. See https://github.com/aspnet/Announcements/issues/258 for more information about the changes.
If you look at the error it tells you to use IDesignTimeDbContextFactory. From the link above they simply renamed IDbContextFactory to IDesignTimeDbContextFactory and removed the DbContextFactoryOptions parameter (that you weren't using anyway).  I didn't have any issues switching to IDesignTimeDbContextFactory in my projects.

thanks for helping even thought it wasnt the right github project!


[BUG] Rich text inputs can't be submitted when user groups inputted

The deno-slack versions
"deno-slack-sdk/"<EMAIL_ADDRESS>"deno-slack-api/"<EMAIL_ADDRESS>
Deno runtime version
deno 1.45.5 (release, aarch64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.5.2

OS info
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79
Darwin Kernel Version 23.5.0: Wed May  1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020

Describe the bug

Steps to reproduce

Define a workflow with a rich text field.

const exampleWorkflow = DefineWorkflow({
  callback_id: "example_workflow",
  title: "Example workflow",
  description: "Example workflow",
  input_parameters: {
    properties: {
      currentUser: {
        type: Schema.slack.types.user_id,
      },
      currentChannel: {
        type: Schema.slack.types.channel_id,
      },
      currentTime: {
        type: Schema.slack.types.timestamp,
      },
      interactivity_context: {
        type: Schema.slack.types.interactivity,
        description: "Interactivity context",
      },
    },
    required: [
      "currentUser",
      "currentChannel",
      "currentTime",
      "interactivity_context",
    ],
  },
});

exampleWorkflow
  .addStep(
    Schema.slack.functions.OpenForm,
    {
      title: "Rich text example",
      submit_label: "Submit",
      interactivity: exampleWorkflow.inputs.interactivity_context,
      fields: {
        elements: [
          {
            name: "rich_text_example",
            title: "Rich text example",
            description: "Rich text example",
            type: Schema.slack.types.rich_text,
          },
        ],
        required: [
          "rich_text_example",
        ],
      },
    },
  );

Use the input gathered in the rich_text_example element in the above workflow step to populate the initial value of a newly opened form to contain a user group.

{
  "type": "modal",
  "title": {
    "type": "plain_text",
    "text": "Example"
  },
  "submit": {
    "type": "plain_text",
    "text": "Submit"
  },
  "callback_id": "example",
  "blocks": [
    {
      "type": "input",
      "block_id": "rich_text_example",
      "label": {
        "type": "plain_text",
        "text": "Rich text example",
        "emoji": true
      },
      "element": {
        "action_id": "rich_text_example",
        "type": "rich_text_input",
        "initial_value": {
          "type": "rich_text",
          "block_id": "aZk8MH68fe",
          "elements": [
            {
              "type": "rich_text_section",
              "elements": [
                {
                  "type": "usergroup",
                  "usergroup_id": "S00000000000"
                }
              ]
            }
          ]
        }
      },
    },
  ]
}

Expected result
We should be able to submit the form without error.

Actual result
The slack form shows an error that cannot be recovered from. No errors are logged in the running app.

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @peter-majeed 👋  This is a limitation we’re aware of and we’re raising it to the team 🫡 , thank you for surfacing! I found this code snippet that should solve the issue, let me know :)
{
	"title": {
		"type": "plain_text",
		"text": "Example",
		"emoji": true
	},
	"submit": {
		"type": "plain_text",
		"text": "Submit",
		"emoji": true
	},
	"type": "modal",
	"close": {
		"type": "plain_text",
		"text": "Close",
		"emoji": true
	},
	"blocks": [
		{
			"type": "input",
			"element": {
				"type": "rich_text_input",
				"action_id": "rich_text_input-action",
				"initial_value": {
					"type": "rich_text",
					"elements": [
						{
							"type": "rich_text_section",
							"elements": [
								{
									"type": "usergroup",
									"usergroup_id": "S00000000000"
								}
							]
						}
					]
				}
			},
			"label": {
				"type": "plain_text",
				"text": "Rich text example",
				"emoji": true
			}
		}
	]
}

@srtaalej is this issue the best way to watch for updates to this limitation?

We have a similar issue open where an update is more likely to get posted: https://github.com/slackapi/bolt-js/issues/2138

I recommend sending an email to<EMAIL_ADDRESS>and link to this issue and explain how it is a blocker for you - that will help prioritize the work to fix this.


Make message_list.js work like the other modules.

Automated message from Dropbox CLA bot
@hackerkid, it looks like you've already signed the Dropbox CLA. Thanks!

This is missing tweaks to frontend_tests/node_tests/message_list.js and so will fail the Node tests.
Also I think you can remove MessageList from check-all.js in this commit.

(Otherwise looks good!)

@timabbott  I have updated the PR.

Merged, thanks @hackerkid !


Support data-ad-layout

It's needed in the new native in-article and responsive ads.

For example:
<AdSense.Google client='ca-pub-7292810486004926'
                slot='7806394673'
                format='fluid'
                layout='in-article' />

You can also update the README. Thanks！

I think it's ready for merge!

layout should not be isRequired.
It should has a default prop.

I think now it's ready for merge!

v0.0.5 published.