[3.x] Signing

Please check these requirements

[X] This feature helps everyone using this package
[X] It's feasible and maintainable
[X] It's non breaking
[ ] I issued a PR with the implementation (optional)

Description

"While WebAuthn was designed primarily for authentication, the framework can be extended to support signing with keypairs generated on authenticators without requiring custom clients for end users."

I found this functionality very interesting, the flow is described here:

"In short, the registration and authentication events consists of a cryptographic signing process with the public key returned, which is then used to sign a data set which is provided by the relying party. Replacing the randomly generated challenge with a hash of a file to be signed allows this signature flow to be applied to actual documentation, with the public key also available for verification after the fact."

Currently the related discuss and progress in this regard under webauthn / webcrypto  are in a sort of "limbo" (see https://github.com/w3c/webauthn/issues/1608 and related https://github.com/w3c/webcrypto/issues/263) so I have the thought there would be room for use currently.
Interesting also this caveats to keep in mind.
On the implementation side, I think it would be enough to give the possibility to inject the ByteBuffer into AssertionCreation and then use it as an alternative for the creation of the Challenge (instead of random).
What do you think about it?
Code sample
$assertion = app()->make(AssertionCreator::class)
 ->send(new AssertionCreation(
  user: null,
  userVerification: UserVerification::DISCOURAGED,
  challengeData: new ByteBuffer('...hash_of_a_file...')
 ))
 ->then(static function (AssertionCreation $creation): Responsable {
  return $creation->json;
 });

Currently you can add a new pipe to the ceremony pipeline to capture the challenge and re-save it with your own Bytestream. Challenge validation shouldn't be affected.
Since the 3.x allows to have a custom Challenge Repository, you may modify the challenge byte stream with a document hash for the given user.
If you care about determinism, you can encrypt the document hash with the app key, which always returns a different encrypted, but large, string.
I personally think this scenario is very niche and not mainstream, so I'll leave that as-is. I honestly think most users will want to use a Passkey on their devices without without limitations.
Securer apps will want to create their own ceremony workflows, which escapes this library purpose, even if it can be used as a basis for such implementation.

Buuuuuuuuuut... in 2.x this can be easily implemented in my end by just simply checking if the Challenge exist and not replace it if found.

Ok thanks for the suggestion.

In the end the solution I found most convenient (in v3.x) is to replace the Assertion\Creator\Pipes\CreateAssertionChallenge pipe with a custom one by binding it to the provider and extending Assertion\Creator\AssertionCreation class with custom data (in this way I avoid unnecessary push/pull on the repository).

I see... I'll make a PR there to use an existing challenge, and add data to the challenge in a separate line. This way you don't need override pipes since these can change between minor or patch versions.

Ok I understand, thanks! If you don't find a comfortable or linear solution, don't worry.

Try the latest commit to 3.x

Perfect, it works and simplifies the objective of the topic, thanks again.


Email based user validation.

user validation can be based on email, and userna me can be a normal field if possible with first and last names.
As a second contact telephone and DOB can be taken.
Thank you.

yes, you would change the validation conditions based on your requirements.


more progress on #556

Codecov Report

Merging #824 into master will decrease coverage by 0.52%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #824      +/-   ##
==========================================
- Coverage   81.18%   80.66%   -0.53%
==========================================
  Files          51       51
  Lines        4827     4851      +24
==========================================
- Hits         3919     3913       -6
- Misses        908      938      +30

Impacted Files
Coverage Δ

vent/api/plugins.py
82.95% <0%> (-6.14%)
:arrow_down:

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 8819f1e...e659dee. Read the comment docs.


MonthUpDownPageProvider pageLimit.upLimit returns 0, when bring app to a foreground (IOS)

From my perspective its in month_selector.dart (method initialize()) only gets call on initState), when just a build method gets called, bringing to foreground is leading to it. Up limit of MonthUpDownPageProvider doesn't update which lead to a zero.

Can you send any sample code that generates this error?

Unfortunately I don't. I have tried to create an example but it doesn't reproduces since build is not triggered.
At least I know that is a part of a project environment.
But anyway there is to many options why builder can be triggered.
it's triggered by builder function here when app goes to background
final DateTime? dialogDate = await showDialog(
context: context,
barrierDismissible: dismissible,
builder: (BuildContext context) {
return MultiProvider(
providers: [
ChangeNotifierProvider.value(
value: YearUpDownPageProvider(),
),
ChangeNotifierProvider.value(
value: MonthUpDownPageProvider(),
),
],
child: MonthPickerDialog(controller: controller),
);
},
);

Tested here with the new 5.1.3 and everything seems to be ok.
Please reopen if not


Issue with Redirect URI

The format of the Redirect URI documented did not work for me.
I had to use the Tenant ID instead of the Tenant Name in the second variable.
e.g. https://.b2clogin.com//oauth2/authresp

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

ID: 7646910a-39c5-eebd-97f9-db6e7e55d1fa
Version Independent ID: 34f989f5-05ea-19ad-7db9-40cc0a753b29
Content: Set up sign-up and sign-in with a Microsoft Account - Azure AD B2C
Content Source: articles/active-directory-b2c/identity-provider-microsoft-account.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@fbinotto Thank you for your feedback . We will investigate and update the thread.

@fbinotto It works perfectly fine for me. I have used the tenant name :

What error/issue you were having ? Please share any screenshot.

This is what I was getting:
<EMAIL_ADDRESS>In my app when I click to authenticate with a Microsoft account, it redirects to:
https://login.live.com/oauth20_authorize.srf?client_id=7f26b187-ba8c-4df2-8fac-129b9f5d9193&redirect_uri=https%3A%2F%2Fhypostatizeb2c.b2clogin.com%2F0a943143-359f-46e2-b6ad-f4623ec0e312%2Foauth2%2Fauthresp&response_type...........
See that it is using the tenant ID in the URL and not the tenant name.
Thanks
Felipe
From<EMAIL_ADDRESS>Sent: Friday, 19 February 2021 3:09 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Issue with Redirect URI (#70551)
@fbinottohttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffbinotto&data=04|01||e5112696514248fbfe7008d8d4948ee1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493081845291195|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=0wWgDV7ttB4nGj%2B%2BtSX%2BUo%2BXKd0RiYOYQd0%2Fr04b3XU%3D&reserved=0 It works perfectly fine for me. I have used the tenant name :
[image]https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F63580915%2F108460289-4f8d6d80-729e-11eb-8db3-475ac989aa3a.png&data=04|01||e5112696514248fbfe7008d8d4948ee1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493081845301188|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Ksno8wUtLFdplVAVP%2FH16%2F9mCAOjOyV%2FBq2AiobkUaY%3D&reserved=0
[image]https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F63580915%2F108460414-a430e880-729e-11eb-9de6-216593655062.png&data=04|01||e5112696514248fbfe7008d8d4948ee1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493081845301188|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=u1cD0WlW67dfzI%2Fc1uIqnplyZd1xbFBP1BESFb3YUMQ%3D&reserved=0
What error/issue you were having ? Please share any screenshot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F70551%23issuecomment-781825226&data=04|01||e5112696514248fbfe7008d8d4948ee1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493081845311186|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WDiKFdM5haB%2Fh7Z1B6BvAhdU%2FNwEuchUJGO0NaS53Hk%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECJLHXRTKANMMNNNVYGE3LS7XXBFANCNFSM4XTAVHGQ&data=04|01||e5112696514248fbfe7008d8d4948ee1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493081845321181|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=r1JCJs1jOrOH8KNtoiD4pR6EpbmfmlWOl%2BZliRXIer0%3D&reserved=0.

@fbinotto What is the redirect URI you have configured in App registration page while adding the app ?
For my scenario, it actually shows the tenant name as I have configured the URL in this format :
https://.b2clogin.com/.onmicrosoft.com/oauth2/authresp
A quick browser trace shows that it indeed follows the tenant name in redirect URI :

Can you share the redirect URI you have configured in portal as per this

<EMAIL_ADDRESS>If I have it configured like the above, it doesn’t work. But if I replace the hypostatizeb2c.onmicrosoft.com with the tenant ID than it works.
Check it for yourself.
Browse to https://hypostatize.powerappsportals.com/ and try to do a B2C sign-in with a Microsoft Account.
Thanks
Felipe
From<EMAIL_ADDRESS>Sent: Friday, 19 February 2021 3:30 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Issue with Redirect URI (#70551)
@fbinottohttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffbinotto&data=04|01||0a8064cf52b340f18f1e08d8d497768a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493094282529556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=oFwYS9p6dWnci6FJuyU7DFg9qeqYYxY1fi1W6ABqttY%3D&reserved=0 What is the redirect URI you have configured in App registration page while adding the app ?
For my scenario, it actually shows the tenant name as I have configured the URL in this format :
https://.b2clogin.com/.onmicrosoft.com/oauth2/authresp
A quick browser trace shows that it indeed follows the tenant name in redirect URI :
[image]https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F63580915%2F108461865-8c0e9880-72a1-11eb-90c4-4cfd1d0b3d70.png&data=04|01||0a8064cf52b340f18f1e08d8d497768a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493094282539551|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2F6rUJmaaKbi4J%2FZPHSx%2FMyNFcE59d1TXGAU4UUHKlhQ%3D&reserved=0
Can you share the redirect URI you have configured in portal as per thishttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory-b2c%2Fidentity-provider-microsoft-account%3Fpivots%3Db2c-custom-policy%23create-a-microsoft-account-application&data=04|01||0a8064cf52b340f18f1e08d8d497768a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493094282539551|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=SGwIK9JVm1RfczX614iW5ZXQw7Pfb6ZhT7DlnIE5cGw%3D&reserved=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F70551%23issuecomment-781833542&data=04|01||0a8064cf52b340f18f1e08d8d497768a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493094282549548|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yoBmoVtI7q4CZwVpAUfP6aIuZWdnVt7viMpLjHhLXNI%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECJLHX57KNHBQVLZ6ZXC5TS7XZPDANCNFSM4XTAVHGQ&data=04|01||0a8064cf52b340f18f1e08d8d497768a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493094282559542|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=y1%2FbW%2BLJtERgUzH9xPVsgnhJuhccxIrk0nrBVq8BIIo%3D&reserved=0.

@fbinotto The redirect URI seems to be set at : https://hypostatizeb2c.b2clogin.com/0a943143-359f-46e2-b6ad-f4623ec0e312/oauth2/authresp

Can you share the screenshot of the page from App under app registration where the redirect URI is mentioned > If the tenant name is used it should not redirect it to a tenant ID value

It is not.
This is a screenshot of the app registration.
<EMAIL_ADDRESS>Thanks
Felipe
From<EMAIL_ADDRESS>Sent: Friday, 19 February 2021 4:55 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Issue with Redirect URI (#70551)
@fbinottohttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffbinotto&data=04|01||bae154c2cd3e45e1e8c808d8d4a34e56|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493145141857476|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MegFcLWdCzjxe4%2BH4HNChyuZMKZZloj5ZxLEMPozRbQ%3D&reserved=0 The redirect URI seems to be set at : https://hypostatizeb2c.b2clogin.com/0a943143-359f-46e2-b6ad-f4623ec0e312/oauth2/authresphttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhypostatizeb2c.b2clogin.com%2F0a943143-359f-46e2-b6ad-f4623ec0e312%2Foauth2%2Fauthresp&data=04|01||bae154c2cd3e45e1e8c808d8d4a34e56|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493145141857476|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pmuz1E8aPlrZi80OQsTigYIKa8MQnNvrjX3Pf8P7v5k%3D&reserved=0
[image]https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F63580915%2F108468858-5f607e00-72ad-11eb-9dde-395abbb11143.png&data=04|01||bae154c2cd3e45e1e8c808d8d4a34e56|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493145141867469|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8PC1gw54WJ2IxBJtcElJwIJ6fV9AniB3ewAev1d5h6A%3D&reserved=0
Can you share the screenshot of the page from App under app registration where the redirect URI is mentioned > If the tenant name is used it should not redirect it to a tenant ID value
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F70551%23issuecomment-781872693&data=04|01||bae154c2cd3e45e1e8c808d8d4a34e56|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493145141877473|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jTobbvSg8Sm6pWDHGU1dVTM8lSxzzYWSieiPr3YyOws%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAECJLHSYNGJ7F766ZS47YLTS7YDNBANCNFSM4XTAVHGQ&data=04|01||bae154c2cd3e45e1e8c808d8d4a34e56|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637493145141877473|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=99fhiurMdrMtU4H5Kk63YrJg%2FMbiWxtELZPhObGlXxs%3D&reserved=0.

For some reason I do not see any screenshot. Can you try again.
You can also reach out to us at
azcommunity[at]microsoft[dot]com  with subject - Atten "Vipul"

Discussed offline, the flow works fine if the direct signup_signin flow is used from custom policy.
Closing this for now.


clean up StreamingFromServer

since it renders way too wide

Thanks for the PR, we're currently in the middle of a release, so we'll have to get back to reviewing it later.


Update Docs

Added a link for learning Python

Thanks for the approve!!
On Thu, 1 Oct 2020, 18:03 Mike Perry Y Attara<EMAIL_ADDRESS>wrote:

@mikeattara approved this pull request.
Awesome
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer/pull/71#pullrequestreview-500297039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO6IT4SFPUR5DG3XS426X4DSIRZH5ANCNFSM4R76TKBQ
.


suricata: 6.0.13 -> 7.0.0

Description of changes
Release notes: https://forum.suricata.io/t/suricata-7-0-0-released/3715
Changes that are important for NixPkgs:

Hash calculation using Rust crypto instead of NSS -> nss dependency dropped
Support for Prelude (libprelude) has been removed -> configuration option dropped
Suricata 7.0 now uses pcre2 instead of pcre1 -> replace pcre by pcre2

TODO: figure out how to add a release notes entry for NixPkgs 23.11
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 244299 run on aarch64-linux 1

1 package built:

suricata

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1036


fix: make tid and oid optional to allow User validation in B2C

This PR is a continuation of PR #141 and was recreated to make the PR more straightforward. It makes tid and oid claims optional so that B2C auth works.

still openAPI schema test errors, PR based on latest main with minimal code changes in the PR. Ideas what it could be @enadeau or @JonasKs ?

Ah, yes the test needs to be updated now, since the model changes. So run the test and see the new output, and update the output to that. The openapi-test reflects the model. 😊

@davidhuser It only fails on 2.x because that is the only version of pydantic we run this test on.

I've created a release, will be live when pipelines pass! Thanks for the contribution.
https://github.com/Intility/fastapi-azure-auth/releases/tag/4.2.0


[Event Request] codeunit 375 "Bank Acc. Entry Set Recon.-No." - OnAfterRemoveReconNo

Hello, can you please add a new Event OnAfterRemoveReconNo in codeunit 375 "Bank Acc. Entry Set Recon.-No." ?
procedure RemoveReconNo(var BankAccLedgEntry: Record "Bank Account Ledger Entry"; var BankAccReconLine: Record "Bank Acc. Reconciliation Line"; Test: Boolean)
    begin
.
.
.
        if CheckLedgEntry.Find('-') then
            repeat
                if Test then begin
                    if CheckLedgEntry."Statement No." <> BankAccReconLine."Statement No." then
                        if CheckLedgEntry."Statement No." <> '' then // For Bank Rec's from 20.x and downwards
                            Error(CLEMissmatchErr, CheckLedgEntry.FieldCaption("Statement No."), CheckLedgEntry."Statement No.", BankAccReconLine."Statement No.");

                    if CheckLedgEntry."Statement Line No." <> BankAccReconLine."Statement Line No." then
                        if CheckLedgEntry."Statement Line No." <> 0 then // For Bank Rec's from 20.x and downwards
                            Error(CLEMissmatchErr, CheckLedgEntry.FieldCaption("Statement Line No."), CheckLedgEntry."Statement Line No.", BankAccReconLine."Statement Line No.");
                end;
                CheckLedgEntry."Statement Status" := CheckLedgEntry."Statement Status"::Open;
                CheckLedgEntry."Statement No." := '';
                CheckLedgEntry."Statement Line No." := 0;
                CheckLedgEntry.Modify();
            until CheckLedgEntry.Next() = 0;
        OnAfterRemoveReconNo(BankAccLedgEntry, Test);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterRemoveReconNo(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry"; Test: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13591.


[Question/Documenation] Need more information about the usage of barrels

In the system.config.ts there is:
const cliSystemConfigPackages: any = {};
barrels.forEach((barrelName: string) => {
  cliSystemConfigPackages[barrelName] = { main: 'index' };
});

I could nowhere find information about:
1.) What exactly is a barrel
2.) Why gets each barrel a object { main: 'index' } assigned

Would you please explain the infrastructure you setup in your documentation.

Angular Glossary is a useful resource for Angular 2 vocabulary. You can find barrel definition here:
[https://angular.io/docs/ts/latest/glossary.html#!#B]
Regarding index files, barrel definition says:

The Angular scoped packages each have a barrel named index.

Hope this helps.

@hcsalis Thanks so is there a way not to use barrels? I can`t find anything useful in them personally. Now there is another layer of complexity just for exporting types from files? Thats cumbersome in my opinion.

ng g <type> will result in barrel registration of the object.
generate results in barrel registration
"barrel spec"

@bastienJS barrels - index.ts files were generated by the route (now disabled) and component generators automatically, as well as automatically updating system-config.ts to include these.
You don't have to use barrels, but since it is a best practice included in the style guide the CLI helps out in it.


How to load source file in host?

I've known use #load "xxx.csx" can load code from other source file, but is there any way could have the same effect in host envirment? I mean do something in RoslynHost or RoslynCodeEditor maybe.
I have a very long reference files list, I don't want them be shown in code.
My English is not good, hope you can understand what I've said.
Thanks.

#load should be supported in RoslynHost, though I have not used it myself. Did you try? What were the results?

In the previous version, I have add reference to the RoslynHost, first you have to add your assembly to GAC and RoslynPad, and then modify the InitializeInternal function of MainViewModelBase as below,
Type[] t = { Type.GetType("STARLine.STARCommand, STARLine"),  //your type full name
Type.GetType("Scheduler.SchedulerEngineEx, SchedulerEngineEx"),
Type.GetType("Scheduler.SchedulerView, SchedulerView") };
        RoslynHost = await Task.Run(() => new RoslynHost(CompositionAssemblies,
            RoslynHostReferences.NamespaceDefault.With(typeNamespaceImports: t)))

Sorry but I'm not sure I follow. Does this not work in the latest version?

Closing. Please reply if you have more information.


Intermittent HTTP 403 issues using DeleteFeaturesFromFeatureLayer

ArcRestHelper
3/22/17 3.5.x
Issue
I have a script running on a scheduled task that deletes features from a hosted layer and then adds features from file geodatabase.
We have a couple different scripts that use the featureservicetools methods. These scripts are intermittently generating HTTP 403 errors when they attempt to update a feature layer. Access is not an issue because many times the scripts work without issues.
A little context, these scripts run as scheduled tasks every 5-10 minutes and use the same named user account (essentially a service account for these kinds of processes), but they are accessing different data.
Any ideas on what may be causing this?
'function': 'DeleteFeaturesFromFeatureLayer', 'line': 'line 591', 'synerror': 'HTTPError: HTTP Error 403: URLBlocked', 'filename': 'C:\Python27\ArcGIS10.2\lib\site-packages\arcresthelper\featureservicetools.py'
Repo Details
SynchronizeIncidentSvcPts_GISTask.py.txt
Incident Service Points Log 06-06-2017.xml.txt
See attached script and log

Update
I added the dispose() method to make sure the securityhandlerhelper object is in our staging environment and the issue has been greatly reduced the number of HTTP 403 errors. That said, I did not update our production environment and I'm no longer seeing the issue there.
Is there a maximum number of connections that was being exceeded and causing the URL to be blocked?

Updated script using dispose()
SynchronizeIncidentSvcPts_GISTask.zip

If anyone would like to try this on their own here are the deployment details:
This is run from a scheduled task, the –ini parameter is simply the name of the config file, including the extension, e.g. “Config.ini”.
The script is setup to look for the configuration file in the same directory as the script. If you put it there, the path isn’t needed.
The attached zip ha
ConfigFile-TaskSetup.zip
s a sample of the .ini file. A note about the AGOL login and password parameters in that file – the script is setup to read encrypted values in this
file. Below is the procedure I use to create these.

Encrypt the username and password
a. Using python shell, import base64
b. Encrypt the username and password using
base64.b64encode(“”)
Add the encrypted login information to your configuration/ini file
Decrypt the username and password at run time by referencing the configuration/ini keys
a.
username = base64.b64decode(config.get('SECURITY_SETTINGS', 'Username'))
b.
password = base64.b64decode(config.get('SECURITY_SETTINGS', 'Password')

Here are the deployment steps we used

Open and MXD with one layer and save in the location the directory the script will run
2.
Log into ArcGIS Online
3.
Publish as a hosted feature service with the Feature Access capability, turn off Tiled Map capability
4.
Share the hosted service with the appropriate group
5.
Get the service URL for the new hosted layer from ArcGIS Online and update the Config (ini) file in the FeatureService property of SCRIPT_SETTINGS
6.
Copy the folder containing the script to a server
7.
On the server, open the Task Scheduler and create a task that will run this script every 10 minutes reference the screen captures in the attached zip


can't add dependency to gradle

A problem occurred configuring root project 'RHCore'.
> Could not resolve all files for configuration ':modCompileClasspath'.
   > Could not find me.bymartrixx.player-events:api:2.0.0.
     Searched in the following locations:
       - file:/C:/Users/bloodyearth/Desktop/RHCore/build/loom-cache/api-2.0.0.jar
       - file:/C:/Users/bloodyearth/Desktop/RHCore/build/loom-cache/api.jar
       - file:/C:/Users/bloodyearth/Desktop/RHCore/.gradle/loom-cache/remapped_mods/me/bymartrixx/player-events/api/2.0.0/api-2.0.0.pom
       - https://maven.fabricmc.net/me/bymartrixx/player-events/api/2.0.0/api-2.0.0.pom
       - https://libraries.minecraft.net/me/bymartrixx/player-events/api/2.0.0/api-2.0.0.pom
       - https://repo.maven.apache.org/maven2/me/bymartrixx/player-events/api/2.0.0/api-2.0.0.pom
       - file:/C:/Users/bloodyearth/.gradle/caches/fabric-loom/2.0.0/api-2.0.0.jar
       - file:/C:/Users/bloodyearth/Desktop/RHCore/.gradle/loom-cache/2.0.0/api-2.0.0.jar
       - https://maven.bymartrixx.me/me/bymartrixx/player-events/api/2.0.0/api-2.0.0.pom
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Just fixed it, the api publication wasn't working. Please use 2.1.3 instead of 2.0.0


Wait for runtime to be ready in init

Short description of the problem this fixes or functionality that this introduces. This may be used for the CHANGELOG
I fixed this a few days ago, but my fix seems to have disappeared.

Give a summary of what the PR does, explaining any non-trivial design decisions

Wait for client in init
Refactor the wait_for_client function so that log refreshing is done separately, making it easier for other callers to use

Link of any specific issues this addresses

Looks like it was removed in this commit: https://github.com/All-Hands-AI/OpenHands/commit/a45b20a406bed9f5951cf26dc2844373e8230737#diff-a7ff0449d091e3e762a4a8b604fe16a3a5570448751817a5a3e207ab18ec648c
I'd like to know if the removal was accidental before putting this back in. @tobitege - any insights?

Looks like the call to _wait_until_alive was removed in this commit: a45b20a#diff-a7ff0449d091e3e762a4a8b604fe16a3a5570448751817a5a3e207ab18ec648c
I'd like to know if the removal was accidental before putting this back in. @tobitege - any insights?

Those 2 commits are not removing your call, but comment out a log refresh in run_action from a previous PR.

Line 162 adding back makes sense. If I removed it, then by accident.
But the other changes that process the logs should not just be changed like that, they're there to wait for the client become ready on first call.

But since it's alive in __init__, can't we assume it's alive everywhere else?

But since it's alive in __init__, can't we assume it's alive everywhere else?

Still, the very first call of _wait_until_alive because of potential timing issues should make sure it got'em all and that extra check is only done once.

in #3962 I just tested with minimal reverts, that sudo works again

@tobitege sorry can you explain more? I assume you're correct given that the tests are failing, but once /alive returns 200, can't we assume it's alive from that point forward?

@tobitege sorry can you explain more? I assume you're correct given that the tests are failing, but once /alive returns 200, can't we assume it's alive from that point forward?

Oops, I had added this to my previous comment instead of making a new one:
The websocket becomes alive but we have to wait for the client to be ready (bash/ipython) before we can start sending commands.

Thanks for the explanation in Slack Tobi!
I think I have a better fix now--_wait_until_alive will now always wait for log_buffer.client_ready. We also reuse the same retry logic instead of having separate retry logic for the log checker

Thanks for the explanation in Slack Tobi!
I think I have a better fix now--_wait_until_alive will now always wait for log_buffer.client_ready. We also reuse the same retry logic instead of having separate retry logic for the log checker

Yes, looks much cleaner!

OK @tobitege I think the tests should finally be passing

OK @tobitege I think the tests should finally be passing

Ok. But why move the wait before the super.__init__ in the latest commit? That is doing the plugin initialization.

The super init sets env vars, so it needs the environment to be ready

The super init sets env vars, so it needs the environment to be ready. Otherwise the tests fail

Hmm ok, due to the @retry "polling" effect now.
Any thoughts on the wait times, though?

OK I refactored a bit so that the env is set later on--hopefully this works


create getter for unique values of a category

This getter, getUniqueValues takes a category (and an optional number to limit number of unique values returned) and compiles a list of all unique values in the columns linked to that category – as long as they are not missing values.

[x] depending components have been checked and are calling this mutation correctly
[x] have unit tests to check functionality
[x] needed store state variables exist already or have been created if not

Closed by #363


⚠ PrivateHD has degraded performance

In a9a63c3, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3140 ms

Resolved: PrivateHD performance has improved in ab8e7a6.


Step-by-step program execution

For debugging purposes, it would be great to have a way to execute a program one cycle at a time, and to be able to read the state of the VM at every cycle. One way to do this is described below:
First, we could create a separate function in the processor crate (where the execute() function is defined) to handle step-by-step execution. This function could be called execute_iter() and it would return an iterator over process states (we'll also need to define a struct which represents a process state).
Internally, execute_iter() could do the same thing as execute() but instead of converting a Process into an ExecutionTrace, it would iterate over the data contained in the process and return it for a given cycle. Basically, we would execute the program to the end (or until there is an error), and then start reading generated states one-by-one as a part of iteration process. This would be relatively "wasteful", but I think that for debug purposes its fine.
As mentioned above, the Process struct already contains most of the historical data that we'd need (e.g., it keeps track of how memory changed with every cycle). There are two things for which it keeps only the latest state (rather than all historical states):

Stack overflow table.
Advice provider.

I think we can tackle advice provider part at a later time, but it would be good to come up with a way to keep historical states of the stack overflow table. This will probably be relatively heavy - so, this functionality should be optional. Meaning, we'd use it only when executing programs from execute_iter() context, but not when using the regular execute() context.

Closed by #128


Automatic PR from RestAPI-PR2012

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/2012

Codecov Report

Merging #1625 into master will decrease coverage by 0.01%.
The diff coverage is 28.07%.

@@            Coverage Diff             @@
##           master    #1625      +/-   ##
==========================================
- Coverage   56.07%   56.06%   -0.02%
==========================================
  Files        3893     3894       +1
  Lines       94274    94313      +39
==========================================
+ Hits        52866    52876      +10
- Misses      41408    41437      +29

Impacted Files
Coverage Δ

azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
100% <100%> (ø)
:arrow_up:

azure-mgmt-sql/azure/mgmt/sql/version.py
100% <100%> (ø)
:arrow_up:

.../azure/mgmt/sql/operations/databases_operations.py
27.56% <18.36%> (-1.32%)
:arrow_down:

.../azure/mgmt/sql/models/resource_move_definition.py
83.33% <83.33%> (ø)

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 75246ac...04b141d. Read the comment docs.


jquery-match-height and Woocommerce Ajax-Enabled, Enhanced Layered Navigation

I use jquery-match-height and everithinbg working fine until i use Woocommerce Ajax-Enabled, Enhanced Layered Navigation plugin to filter products. After filtering my products are not same height (i need to refresh the page to get products same height again). Can somebody help me?
Script i use:
``

You a callback function to invoke an update, $.fn.matchHeight._update()
It's a premium plugin so cannot see if it has any callback methods.


Added test cases and fixed some old ones

Have made changes to the files accordingly.

Fixed.
These files are stubborn ones on my laptop though. These automatic changes made to them cannot be discarded, and even if I add them to .gitignore, they will be staged if I do a stage-all. I'm so confused.

I think it's worthwhile to be more specific with your git adds. It can be annoying but saves trouble down the line.
Anyways, this looks good! Merging now. Thanks!


Support for React 0.14.7

Love,
Your friends at Jama

Published, may want to look at pulling this into gitlab and using nexus for a proxy ;)

Wanted to give you first priority :D But if you're dropping support, we'll go ahead and do that.

:+1:

Shouldn't need much maintenance moving forward since react-dom ain't going away, so I'll maintain it for awhile.


Setup project

Basic frontend/backend folder structure setup for our project

@Ibrahim-Isah please comment this issues number in your PR

@Asylcreek I will make further improvement. The index.js is needed, can't be cleared. Index.css can be cleared if we wish

Index.css joor. Sorry for the mistake


Implementation idea by golang.

Description
This is an idea for creating an admin client by golang.

Closed because it is not adopted.


Is it possible to output the query results which are in different measurements in time-order?

Hi , I am using influxdb, and it is awesome.
I met a problem and donot know how to do . I have several measurements in my database .  Is it possible to output the query results which are in different measurements in time-order?
For example , the points in "t_trade" (a measurement in database)
time                   docType          packageID    volume
14000000001     "trade"           1                     2
14000000003     "trade"           3                     2
the points in "t_order" (a measurement in database)
time                   docType          packageID     orderID
14000000002     "order"           2                     4
My expected results are
time                   docType          packageID    volume   orderID
14000000001     "trade"           1                     2
14000000002     "order"           2                                       4
14000000003     "trade"           3                     2
But the results I using the "select * from /^t_*/ order by time" are as follows
name: t_trade
time                   docType          packageID    volume   orderID
14000000001     "trade"           1                     2
14000000003     "trade"           3                     2
name: t_order
time                   docType          packageID    volume   orderID
14000000002     "order"           2                                       4
One solution is that merge all the fields from different measurements into a big measurement ,but maybe it is not a good solution, Can you give me some suggestions?

Hi! We try and keep GitHub Issues for  actionable bug reports or feature requests. Please send general questions to the<EMAIL_ADDRESS>mailing list.
(Currently it's not possible to query across measurements).
Thanks.


Fix uncaught TypeError caused by SVGAnimatedString type className

Problem
taos.js:85 Uncaught TypeError: e4.className.includes is not a function
    at taos.js:85:49
    at Array.forEach (<anonymous>)
    at MutationObserver.observe.attributes (taos.js:84:15)

Root Cause
According to MDN: className can [...] be an instance of SVGAnimatedString if the element is an SVGElement.
This error is thrown when the MutationObserver receives an SVG element with a SVGAnimatedString type className.
Solution
Use Element.getAttribute instead of directly referencing className, as suggested by MDN.
https://developer.mozilla.org/en-US/docs/Web/API/Element/className#notes

I want to piggyback off this thread by stating the above replacement resolved this issue for me.