Consul related Dockerfiles and rule yamls

Release note:

<PLEASE PUT RELEASE-NOTE HERE, PUT NONE if NO RELEASE-NOTE>

Added consul with docker related Dockerfiles, build scripts, rule yamls, Consul readme, and docker-compose file for starting everything for that demo

@GregHanson: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-no_auth.sh
8a6e1d60e5f2300eec91ff9d5d6b5cc4ac6a4345
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

moving PR to #681
pushed to consul branch in istio/istio so anyone can contribute to the source as needed

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-no_rbac-no_auth.sh
b042d50bab964ecd01f6ab5298a8974d264e3dad
link
/test e2e-suite-no_rbac-no_auth

prow/e2e-suite-rbac-no_auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-no_rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-rbac-auth

prow/e2e-suite-no_rbac-auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-no_rbac-auth

prow/e2e-suite-no_rbac-no_auth.sh
94bb9aef71c6496d307c6f5bd4bce2b069df1383
link
/test e2e-suite-no_rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Syncing fork

🤦 please disregard, I was trying to sync my fork, no idea why GitHub decided to open a PR in your repo


[release-4.16] Fixed ValidReleaseInfo condition

What this PR does / why we need it:
backport of https://github.com/openshift/hypershift/pull/4129
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/jire cherry-pick OCPBUGS-34807

/area control-plane-provider

/jira cherry-pick OCPBUGS-34807

/jira refresh

/retest-required

/test "Red Hat Konflux / hypershift-operator-main-on-pull-request"

/retest-required


removed link if issuer does not have a url

Removed link and icon from credential authority section if issuer does not have a URL attribute:
Without Issuer URL set:

With Issuer URL set:

Resolves: #160
Signed-off-by: wadeking98<EMAIL_ADDRESS>

Deployed to prod with v1.0.7


regression add schema change cases for datev2/datetimev2

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

What happens if vectorized_alter_table is off?

What happens if vectorized_alter_table is off?

users will get wrong results or error message to report a unsupported function


Black list update

We're receiving false positives from the below black lists.
tor.dnsbl.sectoor.de
torserver.tor.dnsbl.sectoor.de
Attempting to browse to http://sectoor.de or http://www.sectoor.de/tor.php
as per https://www.dnsbl.info/dnsbl-details.php?dnsbl=exitnodes.tor.dnsbl.sectoor.de & https://mxtoolbox.com/problem/blacklist/sectoor redirects to a parked domain.
I think this may need to be removed from the check.

Created pull instead of issue


Fix chat list in RHP auto scroll down when updating money request fields

Details

The chat list in RHP auto scroll down when updating money request fields. This PR fix it.
Fixed Issues

$ https://github.com/Expensify/App/issues/45434
PROPOSAL: https://github.com/Expensify/App/issues/45434#issuecomment-2230076486
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Submit a money request to a workspace chat
Go to the transaction thread of the request
Send enough messages so that the thread is scrollable
Open Search page
Open the report RHP for the same transaction thread
Scroll to the top, click on any field, edit and save it
Verify the chat doesn't scroll down

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/5da588e4-d60b-4875-a116-4390dc21a094

Android: mWeb Chrome

https://github.com/user-attachments/assets/5440a580-d0a8-45ba-836b-ed53b80a10c9

iOS: Native

https://github.com/user-attachments/assets/7bf348cf-1bf0-40af-a2aa-a59d6c8c2985

iOS: mWeb Safari

https://github.com/user-attachments/assets/db9b445c-16aa-4552-b164-9fd95dae2420

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/ef2a5958-dd79-4776-aeef-421108ec2310

MacOS: Desktop

https://github.com/user-attachments/assets/825a1fc3-478a-4d58-af5a-cb061b661b4a

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome
https://github.com/user-attachments/assets/b9ccf0c1-8c27-4718-9705-76be3a361459

iOS: Native
https://github.com/user-attachments/assets/c05f92b8-9233-4093-aab9-d68b97e45ac2

iOS: mWeb Safari
https://github.com/user-attachments/assets/35440bd1-88a2-4999-a63b-805df807f64b

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/42218295-6ddd-44ba-af87-9c624e3e5329

MacOS: Desktop
https://github.com/user-attachments/assets/dd544d92-eca6-4f7e-9bd1-c939b1323fac

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/aldo-expensify in version: 9.0.16-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.16-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update prerequisite for Require password change

Registering for SSPR is not needed to trigger the password change on CA policy.
Let's say we have a following configuration:

There is a user that SSPR is not enabled, and the number of methods required for SSPR is two.
A user has 1 MFA method (e.g., phone number)
The user has high user risk
There is a CA policy with "Require password change" control for high-risk user.

In this case, the user is required to pass voice/SMS MFA before changing the password. SSPR is not needed for "Require password change" control.

@MicrosoftGuyJFlo
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


DPI

Now openfl uses information from lime for DPI, (https://github.com/openfl/openfl/issues/718)
but it's not the same as in flash.
For me flash gives 72 and desktop 134.54(...).
Also html5 doesn't have real values, maybe it'd be worth fixing the old code from openfl https://github.com/openfl/openfl/commit/a718b35c0efbc5c9394be7602b647ad3f8e05c51
EDIT: seems to be an issue on android too https://github.com/openfl/lime/issues/369

Yes. I have this problem too.
On Android, it reports 72 and it should be 443 (Xperia Z1). The legacy code reports the good value.

Any report?
Really i can't jump to OpenFL 3 if it doesn't work. HaxeUI works though dpi to scale the content, and if the result isn't correct, the UI is really small.

We use an SDL API for DPI on native targets. They must not have SDL_GetDisplayDPI implemented on Android. We'll have to decide to either contribute to SDL, or create some workaround.
For the desktop, I suppose the question is whether we want the real DPI or not

The legacy code seems to work fine with dpi. I don't know if it should be possible to include those code or it has some dependencies with other useless legacy code. Maybe another reason to avoid using the legacy code in version 3?

Even with newer SDL release versions, I believe this is still unimplemented. I think we'll have to use JNI and get this value ourselves
http://stackoverflow.com/questions/3166501/getting-the-screen-density-programmatically-in-android

I am going to track support for Android DPI values here:
https://github.com/openfl/lime/issues/720
As for desktop, perhaps we should fake the value on the desktop, unless it is a high density display, in which case we'll work in multiples? For the same reason, I am unsure of how we should handle on HTML5, perhaps Lime should implement a measuring algorithm, and OpenFL should (similarly) ignore it and use a constant value for consistency with Flash Player

#720 is this issue, I think you meant to link to #369


Allow stylelint for .less

As stated in the other PR, there must be a better way rather than checking if stylelint is executable. This was modeled to be as similar as possible to the PR #665 . Also, thank you to @rstacruz for mentioning stylelint.

Thanks!


Sample SWU - eval testing

This issue has been auto-generated to facilitate questions about 			a paid opportunity that has just been posted on the 			BCDevExchange.To learn more or apply, visit the opportunity page. The opportunity closes on Monday, December 31, 2018.

This opportunity has been assigned


Why spring cloud gateway Response status 404

I updated spring-cloud-alibab to 0.2.2.RELEASE，then requested my gateway service ，
all the requests Response status 404 ，but before updating it worked well.

any one?

Refer https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/nacos-example/nacos-gateway-example.

Refer https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/nacos-example/nacos-gateway-example.

thx，it works by updating related version


[feature]: Add Keploy (orange) theme to the website

Is there an existing feature request for this?

[X] I have searched the existing issues

Summary
Change all vectors and H1 colours to Keploy Orange colour.
Why should this be worked on?
Will add consistency and authenticity to the website.

Hi Neha, you can assign this task to me

I've created a pull request #9

@nehagup you can close this issue now, this feature has been implemented and added to the main code.

Thanks @littleironical :)


Parallel Mapping of Dataset Does Not Ensure Same Random Numbers

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): YES
OS Platform and Distribution: Windows10
TensorFlow installed from: binary
TensorFlow version: 1.15.0-dev20190812
Python version: 3.7 (64-bit)

Describe the current behavior
I am doing data augmentations using Dataset map method. To ensure that the images and the labels (labels are images, too) are transformed in the same way (e.g. the same rotation, zooming, etc.), I set the random seeds at the same value.
In each of the following test, I run the test program for an adequately long time and use tf.assert_equal to capture the bug. If I do not set parallel in the map method, it goes well and augmentation yields the same random numbers. But if I set num_parallel_calls=4 or num_parallel_calls=tf.data.experimental.AUTOTUNE, the assertion failure is soon triggered. This inconsistency does not happen for all samples but happens brokenly.
Describe the expected behavior
Fix the RNG bug in parallel mode maybe?

@BinyanHu,
Please provide the simple standalone code to reproduce the issue. Thanks!

@BinyanHu,
Any update on reproducible code. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Added utils for labels duplicates

What is this PR About?
Another utils tidy: https://github.com/redhat-cop/rego-policies/issues/31
How do we test this?
LIGHTS. CAMERA. ACTION!
cc: @redhat-cop/rego-policies

Hi @garethahealy - thanks for your continued contribution to the rego-policies. If you could just do me a favour and update the commit message with some emoji. That would be great
Taaaankkks
😃

/lgtm


nix-shell -p haskellPackages.ghcup fails

Steps To Reproduce
Steps to reproduce the behavior:

Run nix-shell -p haskellPackages.ghcup

Build log
At the end of the build I'm getting:
==============================
DOCTEST
==============================
src/lib/Haskus/Utils/Variant.hs:669: failure in expression `fromVariant @Double x'
expected:
          ... error:
          ... `Double' is not a member of '[Int, String, Int]
          ...
 but got:
          <interactive>:1133:1: error:
              • Double not found in list:
            ^
                 '[Int, String, Int]
              • In the expression: fromVariant @Double x
                In an equation for ‘it’: it = fromVariant @Double x

          <interactive>:1133:1: error:
              • `Double' is not a member of '[Int, String, Int]
              • In the expression: fromVariant @Double x
                In an equation for ‘it’: it = fromVariant @Double x

          <interactive>:1133:1: error:
              • Double not found in list:
                 '[Int, String, Int]
              • In the expression: fromVariant @Double x
                In an equation for ‘it’: it = fromVariant @Double x

Examples: 228  Tried: 228  Errors: 0  Failures: 1

==============================
SUMMARY
==============================
Test suite tests: FAIL
Test suite logged to: dist/test/haskus-utils-variant-3.3-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
error: builder for '/nix/store/dxfb7skp8jvfhwjha66csvif4gampl23-haskus-utils-variant-3.3.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/3i2gix6gy4cbc0c4adj04lnvbqynvdvv-ghcup-<IP_ADDRESS>.drv' failed to build

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/pf0xc9gryi9dyp4c6zmynnp3blc547z9-nix-info
copying path '/nix/store/pf0xc9gryi9dyp4c6zmynnp3blc547z9-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-56-generic, Ubuntu, 22.10 (Kinetic Kudu), nobuild`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(przemek): `"nixpkgs"`
 - nixpkgs: `/home/przemek/.nix-defexpr/channels/nixpkgs`

Same Issue on aarch64-darwin
`All 44 tests passed (0.00s)
==============================
DOCTEST
src/lib/Haskus/Utils/Variant.hs:669: failure in expression fromVariant @Double x' expected:            ... error:           ... Double' is not a member of '[Int, String, Int]
...
but got:
:1133:1: error:
• Double not found in list:
^
'[Int, String, Int]
• In the expression: fromVariant @Double x
In an equation for ‘it’: it = fromVariant @Double x
      <interactive>:1133:1: error:
          • `Double' is not a member of '[Int, String, Int]
          • In the expression: fromVariant @Double x
            In an equation for ‘it’: it = fromVariant @Double x

      <interactive>:1133:1: error:
          • Double not found in list:
             '[Int, String, Int]
          • In the expression: fromVariant @Double x
            In an equation for ‘it’: it = fromVariant @Double x

Examples: 228  Tried: 228  Errors: 0  Failures: 1`

Is this an upstream problem? I found no tickets opened in the upstream's issue tracker regarding this particular problem; relevant lines.

Hey, following https://github.com/haskus/packages/commit/389931f876827216957dc7191523fd3c2f3bf35b, it should be good now.
I am not used to the process of updating nixpkgs, but could we update to the last version?

So I am still looking into this issue. Skipping the checks in a dependency of ghcup can be donne like this:
./flake.nix
# run using `NIXPKGS_ALLOW_BROKEN=1 nix develop --impure`
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs";

  outputs = { self, nixpkgs, }:
    let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };

      myHaskellPackages = pkgs.haskellPackages.override {
        overrides = hself: hsuper: {
          haskus-utils-variant = pkgs.haskell.lib.dontCheck hsuper.haskus-utils-variant;
        };
      };
    in
    {
      devShells.${system}.default = pkgs.mkShell
        {
          nativeBuildInputs = with pkgs; [ ];
          buildInputs = with pkgs;
            [
              myHaskellPackages.ghcup
            ];
        };
    };
}

But then I find other problems of missing packages.
Currently I have this version:
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs";

  outputs = { self, nixpkgs, }:
    let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };

      myHaskellPackages = pkgs.haskellPackages.override {
        overrides = hself: hsuper: {
          haskus-utils-variant = pkgs.haskell.lib.dontCheck hsuper.haskus-utils-variant;
          retry = pkgs.haskell.lib.doJailbreak hsuper.retry;
          streamly = pkgs.haskell.lib.doJailbreak hsuper.streamly;
          template-haskell = pkgs.haskell.lib.doJailbreak hsuper.template-haskell_2_20_0_0;
          time = pkgs.haskell.lib.doJailbreak hsuper.time_1_12_2;
        };
      };
    in
    {
      devShells.${system}.default = pkgs.mkShell
        {
          nativeBuildInputs = with pkgs; [ ];

          buildInputs = with pkgs;
            [
              myHaskellPackages.ghcup
            ];
        };
    };
}

Which does not work:
error: builder for '/nix/store/jsm3f998bkbf85kkjyak9lq2braw88xk-template-haskell-<IP_ADDRESS>.drv' failed with exit code 1;
       last 10 log lines:
       > Language/Haskell/TH/Syntax.hs:830:18: error:
       >     Not in scope: data constructor ‘LangJs’
       >     Suggested fix:
       >       Perhaps use one of these:
       >         ‘LangC’ (imported from GHC.ForeignSrcLang.Type),
       >         ‘LangAsm’ (imported from GHC.ForeignSrcLang.Type)

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/unable-to-use-haskell-for-visual-studio-code/47595/1

While it's not a real solution to this problem you could use cabal2nix to use nix for installation of dependencies.
There is a nice documentation about it here https://haskell4nix.readthedocs.io/nixpkgs-users-guide.html#how-to-create-nix-builds-for-your-own-private-haskell-packages

Thank you @CapSel.
What should be done to resolve this issue here?
Seems the problem wasn't reported to upstream https://github.com/haskus/packages/issues

GHC-15172: Undecidable instances slip through
GHC #18806: Linear types: multiplicity in pattern synonyms

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/unable-to-use-haskell-for-visual-studio-code/47595/7

I'm the developer of the haskus-utils-variant package used by ghcup.

The issue in the original post (doctest failures) have been fixed: now we don't run the doctests when we run the testsuite; we need to run the doctests explicitly (it's done on CI).
The second issue "Pattern synonyms do not support linear fields" has been fixed too.

Using the 3.5 release should fix your issues. Don't hesitate to open a ticket if there are other issues.

Can this be backported to 24.05?

I'm not sure why haskus-utils-variant-3.5 is marked broken.
Anyway the next release of ghcup should be much easier to distribute because it switches from haskus-utils-variant to variant (cf https://github.com/haskell/ghcup-hs/commit/31274cbeecfe373e8e54167975bb0e65f5b72587)
@hasufell is there a release planned soon?

@hasufell is there a release planned soon?

I can make a hackage-only release for that I guess?

It looks like @maralorn dropped it anyway? https://github.com/NixOS/nixpkgs/commit/a7d50b4e0988e4f53d2d3629c7b5f57c2736480f#diff-06cdf278a2cf7f0e7793a4a8d19cbdd6e6a3a3722482708833ef9270b65d7d56

Wow, gotta love those issues which go 1.5 years without anyone tagging the Haskell team.
I once maintained ghcup within nixpkgs, which probably wouldn't be hard to do again.
However, as far am I aware ghcup does not offer to install a ghc which works on nixos. So I decided there is no point in maintaining it.

However, as far am I aware ghcup does not offer to install a ghc which works on nixos.

Recent GHCs provide fully static bindists, but there was an issue with those bindists, but I forgot what it was... it fell over with cabal (I don't remember if it was during static or dynamic linking).
https://downloads.haskell.org/~ghc/9.10.1/ghc-9.10.1-x86_64-alpine3_12-linux-static.tar.xz

As soon as it is a viable option I am happy to fix and maintain ghcup. Having a unified experience, especially for beginners, is important.


[Not Valid]Deploy to Azure is broken

Hi, The deployment is not throwing any error but when I click on the URL in the deployment status, I get redirected to generic azure landing page. Help please! thanks!

I'm having this problem as well. Showing up a page which says
"Your App Service app has been created
Go to your app's Quick Start guide in the Azure portal to get started or read our deployment documentation."
Anyone else have any luck with this?

It's running hostingstart.html. If I go into "Application Settings" in Azure I can remove that as a default document but I'm not sure which file should be the start page.

I'm still investigating but it looks like the web.config file is not getting deployed.

FYI: In my App Service if I scroll down to App Service Editor (preview) I can right-click and add a new file so I added the web.config and copied the contents from this repository and now I'm getting an error returned to check my API key so I think it is working and I need to correct my API key.

Ok so when I started this I was working with a friend who gave me a token and team name that I couldn't verify. So for testing I built my own and I have confirmed that by deploying a web.config and removing hostingstart.html from the default documents that it is working!

Yeah, as @andyrblank, it's missing the web.config. Go to the Azure portal, open the console (either through Kudu or right through the settings page for the app service), then in wwwroot do: curl -O https://raw.githubusercontent.com/rauchg/slackin/master/web.config

When I went to application settings in Azure i found that index.aspx (the name of my home page) was NOT included in the default documents - adding that fixed the issue for me


Tools 2790 gen conf

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

:exclamation: No coverage uploaded for pull request base (main@d5dc76e). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage        ?   78.19%
=======================================
  Files           ?       14
  Lines           ?      940
  Branches        ?        0
=======================================
  Hits            ?      735
  Misses          ?      139
  Partials        ?       66

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

Note: The Snyk report points to a low vulnerability issue with no fix yet. I don't think we need to block on it.

Review changes LGTM


New version: Tencent.TencentDocs version 3.1.15

This pull request is automatically generated by 🥟 Dumplings in #3142
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


Tests: testSchema. MySQL over 8.1 (add versioned data set)

I run test with MySQL=^8
I can see lower case in foreign key names.
There were 5 failures:

1) yiiunit\framework\db\mysql\SchemaTest::testTableSchemaConstraints with data set "3: foreign key" ('T_constraints_3', 'foreignKeys', array(yii\db\ForeignKeyConstraint Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["C_id_1","C_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
+    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["c_id_1","c_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
 )

/var/www/html/tests/framework/db/SchemaTest.php:732
/var/www/html/tests/framework/db/SchemaTest.php:681
/var/www/html/vendor/phpunit/phpunit/phpunit:52

2) yiiunit\framework\db\mysql\SchemaTest::testTableSchemaConstraintsWithPdoUppercase with data set "3: foreign key" ('T_constraints_3', 'foreignKeys', array(yii\db\ForeignKeyConstraint Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["C_id_1","C_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
+    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["c_id_1","c_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
 )

/var/www/html/tests/framework/db/SchemaTest.php:732
/var/www/html/tests/framework/db/SchemaTest.php:699
/var/www/html/vendor/phpunit/phpunit/phpunit:52

3) yiiunit\framework\db\mysql\SchemaTest::testTableSchemaConstraintsWithPdoLowercase with data set "3: foreign key" ('T_constraints_3', 'foreignKeys', array(yii\db\ForeignKeyConstraint Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["C_id_1","C_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
+    '{"columnNames":["C_fk_id_1","C_fk_id_2"],"foreignColumnNames":["c_id_1","c_id_2"],"foreignTableName":"t_constraints_2","onDelete":"CASCADE","onUpdate":"CASCADE"}' => yii\db\ForeignKeyConstraint Object (...)
 )

/var/www/html/tests/framework/db/SchemaTest.php:732
/var/www/html/tests/framework/db/SchemaTest.php:717
/var/www/html/vendor/phpunit/phpunit/phpunit:52

I can see
        $connection->getSlavePdo()->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);

and
        $connection->getSlavePdo()->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER);

provide lower case in constrain too.
this attribute is not attribute about case of foreign key name? Only for column name?
May be this is a Error in PDO driver? Or MySQL error?
I can't find any info about set this behavior throw settings.
Also I can't find... So... I can find someone like. May be this is source of problem.
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html

referenced_table_schema and referenced_table_name field values in the mysql.foreign_keys data dictionary table were not stored in lowercase when lower_case_table_names was enabled. (Bug #25495714)

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

 docker-compose -f ../yii2-phpunit-docker-composition.yml run --rm --entrypoint bash php
root@2d371b5fa9dd:/var/www/html# vendor/bin/phpunit --filter testTableSchemaConstraints tests/framework/db/mysql/SchemaTest.php
PHPUnit 4.8.34 by Sebastian Bergmann and contributors.

............................................................

Time: 3.63 minutes, Memory: 6.00MB

OK (60 tests, 96 assertions)
root@2d371b5fa9dd:/var/www/html#

| Fixed issues  | #15248

I try with 8.0 without path.
root@28852ab0ce9a:/var/www/html# vendor/bin/phpunit --filter testTableSchemaConstraints tests/framework/db/mysql/SchemaTest.php
PHPUnit 4.8.34 by Sebastian Bergmann and contributors.

............................................................

Time: 2.08 minutes, Memory: 6.00MB

OK (60 tests, 96 assertions)
root@28852ab0ce9a:/var/www/html#

All is ok.
So. I think this is MySQL errors with
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html

referenced_table_schema and referenced_table_name field values in the mysql.foreign_keys data dictionary table were not stored in lowercase when lower_case_table_names was enabled. (Bug #25495714)

http://bugs.mysql.com/88718

referenced_table_schema and referenced_table_name field values in the mysql.foreign_keys data dictionary table were not stored in lowercase when lower_case_table_names was enabled. (Bug #25495714)

Isn't it like this: MySQL fixed a bug in 8.0.1. Before that lower_case_table_names had no effect on foreign keys. We could check for that setting on the server and test accordingly. So there could be tests for lower-case only and mixed case, which is converted to lower-case, if the setting is enabled and if the server is 8.0.1 or above.
Not sure if this is easier to understand, but it would be also interesting how the other MySQL implementations handle this.

@schmunk42 I think this fix tell about part of foreign key constrain, who depends on table name?

i.e. something like this
CREATE TABLE `T_constraints_3`
(
    `C_id` INT NOT NULL,
    `C_fk_id_1` INT NOT NULL,
    `C_fk_id_2` INT NOT NULL,
    CONSTRAINT `CN_constraints_3` FOREIGN KEY (`C_fk_id_1`, `C_fk_id_2`) REFERENCES `T_constraints_2` (`C_id_1`, `C_id_2`) ON DELETE CASCADE ON UPDATE CASCADE
)
ENGINE = 'InnoDB' DEFAULT CHARSET = 'utf8';

=>
CREATE TABLE `T_constraints_3`
(
    `C_id` INT NOT NULL,
    `C_fk_id_1` INT NOT NULL,
    `C_fk_id_2` INT NOT NULL,
    CONSTRAINT `CN_constraints_3` FOREIGN KEY (`C_fk_id_1`, `C_fk_id_2`) REFERENCES `t_constraints_2` (`C_id_1`, `C_id_2`) ON DELETE CASCADE ON UPDATE CASCADE
)
ENGINE = 'InnoDB' DEFAULT CHARSET = 'utf8';

T_constraints_2 => t_constraints_2

@schmunk42 and again:

I can see
    $connection->getSlavePdo()->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);

and
    $connection->getSlavePdo()->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER);

provide lower case in constrain too.

@bscheshirwork do you want to re-do it as @schmunk42 suggested?

The tests in MySQL 8.1 work perfectly, so I think this issue can be closed.

Agree, closing.


Latex support in Object inspector

From<EMAIL_ADDRESS>on 2012-06-21T10:36:02Z
Hello,
First--as I always do--, a big applause for the terrific job being done with spyder.
I have a suggestion. More of a request actually. I've been working for while now with the python package mpmath. Excellent  multiprecision floating-point arithmetic library. Here, they made a nice job with the documentation of the functions.
The have coded the function definitions in latex, within the docstring. Then, in the object inspector (OI) windows, I get just the latex code. Pretty messy by the way. It would be nice for the OI to, somehow, render this latex code and present a nice typesetting formula. Anyways, we are trying to build an IDE specifically tailored for scientific use.
A latex support, for the rendering of the math fonts, in the OI with be a great deal, for reading documentation, and shearing functions.
What about that idea, is it possible?
Greetings fellows,
R
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1100

From<EMAIL_ADDRESS>on 2013-11-07T02:42:47Z
Hi Carlos,
I have just installed spyder 2.3.0beta, enabled "Render mathematical equations" in the object inspector preferences but the object inspector does not render my math in the docs. I have try $$, [] () as delimiters. Is there something else to do, to get math docstrings rendered? I am the developer of a hydrological programming language and many comments contain latex math that is rendered fine in doxygen using mathjax. The feature would be extremely useful for me and my users. (BTW I recommend every user of my lib to use Spyder, and everybody is very happy with it).
Cheers,
Philipp

From ccordoba12 on 2012-06-21T08:50:34Z
Hi Ricardo,
Thanks for your acknowledgment. It really means a lot to us :-)
Latex support is already there but not in the stable version (2.1.10) but in our development one, to be released in October.
If you want to use it now, please use Mercurial to download the source to a dir and then write:
python bootstrap.py
in a terminal pointing to it to start Spyder.
Cheers,
Carlos
Status: Fixed


[Feature]: Simple switch card and Button card

Is your feature request related to a problem?
If you use entity card with tap-action as a switch card, sometimes it's difficult to distinguish between the card which shows more-info upon clicking with which calls a service upon clicking.
I'd like to call them action card (a card that runs a service or change the status of a deivce upon clicking) and information card (a card that displays information only, and shows more-info upon clicking).
Describe the solution you'd like
Maybe the way to solve this is to give some visual cues.
For example for switch entities, add a switch control in the card. (Equivalent to the brightness control of mushroom light card)
For button enttities, add a button in the card.
Describe alternatives you've considered
No response
Additional context
No response

I started to use only the hold action for more info exactly because of this. So it's at least the same for all.
Means short click executes something if it's supported (switch) and long click always opens the more info dialog.
It's not ideal in my mind.
Because all my buttons have an icon and a name or status as primary text, I would love to allow to define actions for the icon (switch) and for the primary text something different (open more info).
This way I don't have to fiddle around with long clicks, which I don't like 😉
Maybe this feature this would help @ihaettypo too.

Duplicate of #446


Error sending a message

TypeError: Object # has no method 'send'
I declare a var at the same lines as example.

Can you provide your code for further debugging? @ysilvela

Hi @ysilvela, this might relates to this bug https://github.com/nandarustam/fcm-push/pull/3.
I've patched it in 1.0.7, would you give it another try?


aksv2 - updating NP's multiple specs at once, results in Failed Provisioning state of NP

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):

Create an AKS cluster with 2 NPs (1 system and 1 user). Autoscaler disabled, k8s version 1.19
Wait for it to become Active
Edit --> upgrade CP's  k8s version to 1.20 --> Save
Wait for the update to finish
Edit
Upgrade NP's k8s version to 1.20 (both System and User)
Enable Autoscaler for both NPs
Increment node count of both NPs
Save
Go to Azure and check NPs Provisioning State

Result:
Provisioning State my stay in Failed or Updating state. Even if update succeeds, it will take a very long time.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

I have tried to reproduce this issue and everything went fine.

I used latest Rancher and aks-operator master build
I used Rancher UI
In procedure I have upgraded Kubernete cluster version first then I went with NP upgrading.
Changing or uprading two Node Pools at once should not be issue.

I was able to repro on RC7 as well,

Rancher UI → Add cluster
hosted Kubernetes provider → Azure AKS
Initial node count 1
Add NP → user Mode NP : node count 4
Create
Active → Edit
select System Mode  NP: enable autoscaling, node count to 4
select User Mode NP: enable autoscaling, node count to 2
Save

I was able to repro on RC7 as well,

Rancher UI → Add cluster
hosted Kubernetes provider → Azure AKS
Initial node count 1
Add NP → user Mode NP : node count 4
Create
Active → Edit
select System Mode  NP: enable autoscaling, node count to 4
select User Mode NP: enable autoscaling, node count to 2
Save

Can you please provide me info on what minCount and maxCount have you provided for System and User NP ?

Ok, I know what is wrong, Azure API can't handle enabling autoscaling and changing node count at this same time. This should be validated.

I have found also another issue, when disabling autoscaling for node pool, following error occurs:

Failed to update cluster: containerservice.AgentPoolsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidParameter" Message="AgentPool 'master' has 'agentPoolProfile.maxCount' set which requires that 'agentPoolProfile.enableAutoscaling' is true and it is false"

Currently we have to fix three things:

Node Count should be grayed out when Auto Scaling is enabled
Disabling Auto Scaling for Node Pools should remove also maxCount and minCount fields
I know that it is unrelated but it is so small that can be fixed quick. We would like to change placeholder for Cluster Resource Group from docker-machine to e.g. aks-resource-group

looks like PR is still in review https://github.com/rancher/aks-operator/pull/27

tested on 7a2fc74, aks-operator:v1.0.1-rc11

Bug is fixed in v1.0.1-rc14
https://github.com/rancher/rancher/pull/33413

Bug is fixed in v1.0.1-rc14
#33413

@mjura what is this fix for? This issue is already closed. Do you want me to re-open an re-test this issue or you commented on it by mistake?


Support for container/element queries?

Container/element queries are an extension of the idea behind media queries, with the difference being that instead of querying against CSS properties of the viewport, you can query against properties of the containing element/component. Therefore, you can let your components dictate their rendering and styling depending on their container, rather than the viewport of the device, making them considerably more reusable, e.g. the styling of rows or cells of a table likely depends more on the element that contains the table than the size of the device.
A few implementations exist already:
https://github.com/ausi/cq-prolyfill (I currently use this with PostCSS, works well)
https://github.com/marcj/css-element-queries
https://github.com/eqcss/eqcss
Just discovered this project so I don't know if it natively supports such syntax, but I've come up empty searching through the issues here and in https://github.com/styled-components/polished.
Any thoughts to what it would take to support these queries in this project or an extension?

This is something that would be very helpful for the page we are building at my company as well.
It seems that it would be a nice fit for styled-components since styled-components could parse the container query and "simply" create appropriate classes for the container query options.
Exampel:
styled.div`
    background-color: red;
    &:container-query(max-width: 768px) {
        background-color: blue;
    }
`

would result in two class:
a :
.a {
    background-color: red;
    width: 100px;
}

b:
.b {
    background-color: blue;
}

Then styled-components would set the className property of the element to a always and b if the width of the element is a match for the container query.
So if the element.width <= 768px the html would be:

Thoughts?

I'm with the EQCSS project and I'd love to help if there's anything I can do to make it easier for our projects to work together, or for Styled Components to output EQCSS syntax.
Our plugin can be found here: https://github.com/eqcss/eqcss
And I've been working on a spec for the syntax which might make implementation easier: https://github.com/tomhodgins/element-queries-spec
Here's an example of the syntax that would need to be output for the element queries to be read by the plugin in the browser.
Suppose you have an element called .widget, it could look like this in HTML:

Widget Headline

This is some widget content

If you wanted to write a media query, based on the browser's viewport, that would hide the
 tag when the browser was narrower than 600px, you could target that like this:
@media (max-width: 600px) {
  .widget p {
    display: none;
  }
}

Now the downsides to this are:

media queries are based on the browser's viewport, so this rule is layout-dependent
this style is not scoped, so it would hide every .widget p on the page when the breakpoint is hit
to avoid scoping issues we may need unique names, etc

With EQCSS we can bypass all of that, instead we could write a query for the .widget element based on its own width. Instead of @media we could write it this way:
@element '.widget' and (max-width: 200px) {
  $this p {
    display: none;
  }
}

And there is a description of the following parts:

@element is the start of the element query
.widget is the scoped element, this is what we will be evaluating
and (max-width: 200px) is our responsive condition, whenever this is true the styles apply
$this p refers to only the
 tag in the .widget matching the condition

So as you can see here, instead of writing the rule for .widget p, or needing a unique name on our element, we can use $this to scope the styles to only those elements meeting the condition. This lets us build layout-independent styles and self-responsive elements very simply :)

I'm currently working around this by using react-container-query. Here is an example:
import React from 'react';
import classnames from 'classnames';
import styled from 'styled-components';
import { ContainerQuery } from 'react-container-query';

const query = {
  'box1': {
    minWidth: 250,
    maxWidth: 599,
  },
  'box2': {
    minWidth: 600,
  },
};

const Box = styled.div`
  color: white;
  background: green;

  &.box1 {
    background: gold;
  }

  &.box2 {
    background: red;
  }
`;

export default BoxContainer = (props) => {
  return (
    <ContainerQuery query={query}>
      {(params) => (
        <Box {...props} className={classnames(params)} />
      )}
    </ContainerQuery>
  );
}

But yes, as @AntonAderum mentioned, it would be nice to be able to do this instead:
const Box = styled.div`
  color: white;
  background: green;

  &:container-query(min-width: 250px and max-width: 599px) {
    background: gold;
  }

  &:container-query(min-width: 600px) {
    background: red;
  }
`;

@tomhodgins What are your thoughts on how the inter-op would work?

@jacobp100 I'm not sure - we haven't heard anything back from the Styled Components side, and I'm not a Styled Components or React user so this is not the area of this question I know about.
But I am curious how I can help make the connection work. We need to hear from @mxstbr or somebody from Styled Components!
I do know:

right now I'm speccing out container-style element queries and hoping we can eventually get some form of them added to CSS
until CSS has element or container queries, it will require some JavaScript to work
Styled components seem to specify for React components (via JS) many of the things element queries would eventually do when styling all HTML
If right now Styled Components babysits the responsive conditions on the page and outputs styles based on different conditions - perhaps instead Styled Components could output EQCSS and then the EQCSS plugin on the page could be the one to babysit and manage the application of those styles

I'm essentially asking: Could Styled Components be used kind of like a preprocessor for EQCSS synax?
I believe so! But I'm not sure how to move forward with that love connection from my end. I've got a plugin ready to go, dozens of demos, a spec, and an understanding of the kind of code that would need to be output to work - I need somebody who understands Styled Components who can make that bridge between that knowledge and this knowledge :D

@tomhodgins styled-components is not babysitting the responsive conditions. The only thing we do is to parse the CSS wrap it in a dynamic class and apply it to a style tag and the class to the component. With this way we don't need to rebuilt all CSS features like pseudo classes or media queries. In my opinion the best way to add element query support would be stylis middleware so users could opt in to use them with some kind of extension but IIRC that's something @mxstbr don't want to add.

The only thing we do is to parse the CSS, wrap it in a dynamic class and apply it to a style tag and the class to the component. With this way we don't need to rebuilt all CSS features like pseudo classes or media queries

Interesting! I was under the impression that it watched the component and was able to re-issue styles when different logic was met inside the component - like React-aware queries that reached beyond what CSS alone could trigger.
Similar to this, if the EQCSS plugin sits on the page like a polyfill or a shim. For most uses you can even CDN host it. If there is EQCSS syntax in a


Recursive generation for objects and arrays

closes https://github.com/iway1/react-ts-form/issues/64
@iway1 I'll comment a bit inline but getting this to work turned out to be easy. Getting the types correct was HARD. I had to explicitly limit the depth of the recursion or TS got concerned that it was excessively deep or even infinite. My editor still feels a bit slow with this so maybe you can check this out and try yourself to see how it feels. if it's not feeling good maybe there's a way to optimize. It doesn't feel like TS should have to do that much work to iterate a few levels down an object and map it but 🤷
Basically this works by recursing iff there's no component found in the mapping for an object or array. The rendered field map passed to CustomChildComponent has the same structure as the data except it has JSX.Element's at the leaves where we found a mapping. Props also map to the structure of the data except that for arrays you can only pass one set of props for the whole array.  I think that's likely the only possible thing because it's not an indexable tuple since the data length varies.
oh also: i'd love to use a consistent formatter. would you be cool with prettier or something similar? ✅

Awesome!
Gonna look at this close tomorrow evening.
Do want to be really wary of typescript performance stuff, that can really mess with developer workflow in my experience and right now the ts performance is pretty good. I'm sure there's a way to get it working with good TS performance

Gonna look at this close tomorrow evening.

thank you!

Do want to be really wary of typescript performance stuff, that can really mess with developer workflow in my experience and right now the ts performance is pretty good. I'm sure there's a way to get it working with good TS performance

Agreed! let me know how it feels to you. and would love any thoughts on improving if it's slow!
i may publish this as a -beta release under zod-form assuming that we will get it working / merged somehow.. as i'd really like to use this for a feature we're building..

merged and ran prettier :)

That's great! It could have been my gigantic repo open in a separate window slowing things down.
I think it's good to merge! Might be a few useful follow ons (couple options and maybe some docs!) but I def think this is useable as is!
I'll respond with a couple more thoughts in the morning

Sweet yeah docs for sure. There's someone working on a standalone docsite for the past few days, I was waiting on him to create a PR with it to mess with the docs any more. Also need to document the layouts features still =D

couple options

What options were you thinking?

i gotta fix that out of memory bug when building before I publish the new release, I'll check it out tonight

There's someone working on a standalone docsite for the past few days,

so cool! gotta a little community forming here! would it be interesting / useful to setup a free slack org for quicker collab at all? i'm happy to if that seems useful

Also need to document the layouts features still =D

true! let me know when it's ready and i'll do it!

What options were you thinking?

a few possibilities:

some kind of optional wrapper component for the nested objects and / or the nested array when generated.
optional renderBefore and renderAfter for object and array when generated
a global wrapper component per nested schema key to wrap any generated array elements and/or object elements (could just default to div if they set to true or soemthing)
option to disable the recursion if they prefer to get an error on a missing mapping (meh)
this one feels less certain but potentially automatic object creation for nested schemas? i feel like it's probably better for people to have to consider this and use default values if they want it but it's a thought

i think 1, 2 and maybe 3 above are pretty important and probably pretty easy. i can take a stab soon if you agree

Would be good to be able to actually start testing the intellisense performance at some point like they do over in the trpc repo

this would be awesome. i'd like to be able to measure this for my company's repo as well!
have you worked on trpc? i just started reading the docs recently and it looks so slick

would it be interesting / useful to setup a free slack org for quicker collab at all?

Good idea! I think I prefer discord for this though since it's normally what people use when doing internet community type stuff (Might be cool to get some users of the library in there as well). I went ahead and setup a discord channel, what's your name on there and I'll send you an invite?

have you worked on trpc? i just started reading the docs recently and it looks so slick

@scamden I tried a PR once but most of it got scrapped by the other maintainers although I think a tiny amount of my code made it through lmao. I did build this documentation / testing UI package for trpc that we use internally  https://github.com/iway1/trpc-panel so I guess that's indirect contribution.  (tons of zod schema parsing in that package as well)
Highly recommend TRPC, provides such a good DX if you're in a situation where you can do a monorepo with fullstack typescript. We use it on all of our apps these days.

some kind of optional wrapper component for the nested objects and / or the nested array when generated.

Is this not sort-of covered by the layouts feature? Any limitiations with:
<Form>
  {({object: {nestedFieldOne, nestedFieldTwo}})=>{
    return (

          {nestedFieldOne}
          {nestedFieldTwo}

    )
  }}
</Form>

Or are you thinking of having it automatically generate this type of stuff?
I do want to make sure the API doesn't get too crazy for newcomers etc, I think right now it's pretty easier to understand because conceptually it's just "your schema renders to components and you can pass them props".  I guess as long as it's opt-in it can be more of "advanced users" type stuff and it won't misdirect people when picking up the library, though. Any ideas about what the API for this would look like?
Two approaches I can think of are:
<Form
  props={{
    object: {
      container: ({childen})=>{
        return (
{children}
)
      }
    }
  }}
/>

Idk if I like that one that much and it seems repetitive to pass container per prop. Something like this maybe:
import {createObjectContainer} from '@ts-react/form'

const container = createObjectContainer(ContainerComponent);

const FormSchema = z.object({
  myObject: container({
    textField: z.string(),
    numberField: z.number(),
  })
})

this one fits more within the theme of "define your schema and it renders to a component" i think, less clutter in the props and stuff.

optional renderBefore and renderAfter for object and array when generated

I think this would be good, just having a renderBefore and renderAfter in any objects.

option to disable the recursion if they prefer to get an error on a missing mapping (meh)

I don't think this is super necessary, it's going to be obvious that they messed up by the props typings I think?

this one feels less certain but potentially automatic object creation for nested schemas? i feel like it's probably better for people to have to consider this and use default values if they want it but it's a thought

you mean autofilling values in the form state for nested objects? Like initializing with an empty object or something?

Actually I think the new types are bricking typescript, seems to be causing an out of heap space error even if I up it significantly. If I had to guess it's the recursive calls to PropType? Pretty weird that it'd create an issue like that.
Think I need to revert the PR for now b/c the project just won't build with the new types at the moment. Super interesting though, I'm going to try and figure out if I can get it fixed.
If you want to try and mess with it I'd recommend just trying to build locally after messing with the types some?

Ah dang it. I worries this might be the case. Ok I'll try to take a look and debug a bit.

Oh btw discord handle is sterling#8220

sounds good.. That trick you did with the Prev type was super cool, but I wonder if it may be related to the issues? I really have no idea what the cause is but surely it's related to the recursion in one way or another

Ya can't take credit, I found that on an article :) the problem is without that depth limit ts errors with excessively deep recursion.. :/

yeahh I figured. I actually had a similar problem on some other part of the codebase but handled it a little differently:
/**
 * @internal
 */
type UnwrapEffects<T extends AnyZodObject | ZodEffects<any, any>> =
  T extends AnyZodObject
    ? T
    : T extends ZodEffects<infer EffectsSchema, any>
    ? EffectsSchema extends ZodEffects<infer EffectsSchemaInner, any>
      ? EffectsSchemaInner
      : EffectsSchema
    : never;

this just unwraps two levels of zod effects. originally I had the recursion but it had the ts excessively deep error.  it's less elegant but maybe better performance?

Ah ya I saw that comment. That's a pretty good idea to try at least. Maybe I'll in-line one or two levels of the recursion and see if it helps. Do you have a specific scenario that repros that I can test? (I can try to create one too)

Repros for what? only issue with this was I think that it made it where the project wouldn't build @scamden
You should be able to test whether the issue is still happening by just trying to build locally (broke locally for me running pnpm build same as in the pipelines)

Oh gotcha! My bad I misunderstood. That's an easy repro 😀


TapParser must capture skipped tests.

This PR must be applied before PR #611, because we need to consider skipped tests too. I don't know if this is the best solution; other ideas are welcome.

This support for skipped tests may not be enough. I have a test class where one test method is marked skipped and reveral other test methods depend on that, so they get skipped too. I also have one test method in that class that is not skipped so the tap output looks like this:
TAP version 13
ok 1 - # SKIP Skipped due to x
ok 1 - # SKIP This test depends on x to pass.
ok 1 - # SKIP This test depends on x to pass.
ok 1 - # SKIP This test depends on x to pass.
ok 1 - # SKIP This test depends on x to pass.
ok 1 - # SKIP This test depends on x to pass.
ok 1 - # SKIP This test depends on x to pass.
ok 2 - MyTestClass::myTestMethod
ok 2 - # SKIP This test depends on y to pass.
1..2
so basicly the number of tests run ($totalTests in TapParser::parse()) does not match at all with the number of the lines in the output.


Update X.txt

Removed duplicates, and added few elon musk stuff

Thanks for the PR! I like the additions. We're leaving some in there as duplicates on purpose. Check out the readme.
Feel free to rebase and send a another PR.


Razor pay secret setting requirement

Please show *star instead of blank

not possible, * leak ho jate he


Added check for activity type to remove false positives

Added check for location.event.type !== 'in_vehicle' to remove false positives, when driving by locations (like the example from the ynet article)
See documentation here.
The event should come with each location update.
Note that the confidence parameter is always at 100% on android (source).

on_bicycle should also be included, recommended testing on field, there might a list of events with several type.


Open the context menu with the right click

Feedback
In the request or variable pages, we've got a list of requests and variable environments.
In order to make an action (duplicate, remove etc...), we have to press the trailing button. The button is very small and it requires a bit of precision to press it.
It could be better if with a right click on the list item, we open the menu.

Thanks for raising this issue. It is definitely a good suggestion.

Can you pls assign this issue to me?

@Rajkdea123 we do not assign issues until we receive a draft PR which works towards a potential fix.


Forward IAntiforgeryPolicy to the Abstractions package

IAntiforgeryPolicy and IgnoreAntiforgeryTokenAttribute are located in the Microosft.AspNetCore.Mvc.ViewFeatures package. This means external frameworks and extensions must reference that packages just to disable the possibly-conflicting features, even if they are aimed at API controllers. That is, they may need to reference ViewFeatures to disable antiforgery in case their consumers reference that package -- but for no other reason.
Hit this and aspnet/CORS#134 while working on the ASP.NET Core WebHooks implementation. No action associated with the WebHookAttribute needs antiforgery checks or CORS support. But, the containing Microsoft.AspNetCore.WebHooks.Receivers package would need to reference the Cors and ViewFeatures packages to disable both.

Split out aspnet/CORS#134 and updated this description…

@dougbu, do you mean that we need to move a type to a different package? What does 'forward` mean?

@mkArtakMSFT yes, I was talking about moving the interface and using type forwarding to avoid a breaking change.

@dougbu
What configuration of the app would cause antiforgery to interfere with webhooks?
Are you trying to ensure that antiforgery is always disabled on those actions?

Are you trying to ensure that antiforgery is always disabled on those actions?

Yes.
WebHook actions are relatively normal MVC / Web API actions and some senders use form-URL encoded requests. Antiforgery tokens are not helpful in these machine-to-machine cases. So, this is about making it possible to disable antiforgery requirements without either mucking with the global configuration or bringing additional dependencies into the WebHook packages.

Is this a problem that anyone has actually had?

Is this a problem that anyone has actually had?

It's an easily-avoided problem that users can hit with any of the (fairly simple) global antiforgery requirement configurations.

@dougbu Can a customer do something in their application to avoid this?

Put the IgnoreAntiforgeryTokenAttribute in their WebHooks applications. (Most people reference Microsoft.AspNetCore.App or Microsoft.AspNetCore.Mvc, so they have access to this).
Write an application model convention that removes the AntiforgeryFilter from those controllers. (We can provide a sample for how to do this).

Or we can simply tell customers that they should not enable Antiforgery globally if they have WebHooks in their app/service.

Customers can of course avoid this. Telling them avoidance is necessary isn't reliable.
Turning this around, why not make it possible for WebHooks to detect this situation without taking numerous dependencies?


Implemented configurable number of columns

I very much like how many features of flexbox gridlex embraces. In various projects I came across  the need to have different proportions / number of columns which is why I converted the hard-coded blocks into @for loops and introduced a variable called $gl-colCount which defaults to 12.
The file gridlex-preprocessing.scss uses this variable to calculate the column proportions and fractions which is then used in gridlex-mixins.scss to generate the needed column and grid definitions.
I though I'd try to give this back for all the time I saved by not having to create a grid system by myself. Maybe you find it useful as well and would be willing to merge this PR.
In any case: Thanks for gridlex!

I just reworked the PR such that the diffs become slim and to be able to see that the offset rules are generated only once.

Merge!
Thank you for your work !!


When I delete something in Windows it says window.tauri_IPc is not a function

info:

https://github.com/tauri-apps/tauri/issues/4759
Using Tauri plugin localhos, you cannot call fs to write files in windows

I just updated our example to enable the IPC on the localhost URL. Check it out :)

I have tried to use the updated example to integrate this into my app but I still see this in the console:
Unhandled Promise Rejection: TypeError: window.__TAURI_IPC__ is not a function.
(In 'window.__TAURI_IPC__(ci({cmd:e,callback:a,error:i},t))', 'window.__TAURI_IPC__' is undefined)

@elanzini can you share the main.rs code here? You also need to change the run call to .run(context).

@elanzini can you share the main.rs code here? You also need to change the run call to .run(context).

use tauri::{utils::config::AppUrl, window::WindowBuilder, WindowUrl};

fn main() {
  let port = portpicker::pick_unused_port().expect("failed to find unused port");
  let mut context = tauri::generate_context!();
  let url = format!("http://localhost:{}", port).parse().unwrap();
  let window_url = WindowUrl::External(url);
  context.config_mut().build.dist_dir = AppUrl::Url(window_url.clone());
  context.config_mut().build.dev_path = AppUrl::Url(window_url.clone());

  tauri::Builder::default()
    .system_tray(make_tray())
    .on_system_tray_event(handle_tray_event)
    .menu(make_menu())
    .on_menu_event(|event| match event.menu_item_id() {
      "Hide" => match event.window().hide() {
        Ok(_) => {}
        Err(e) => eprintln!("{}", e),
      },
      _ => {}
    })
    .invoke_handler(tauri::generate_handler![
      my_custom_function
    ])
    .plugin(tauri_plugin_localhost::Builder::new(port).build())
    .setup(move |app| {
      WindowBuilder::new(app, "main".to_string(), window_url)
        .title("Localhost example")
        .decorations(false)
        .fullscreen(false)
        .build()?;
      Ok(())
    })
    .run(context)
    .expect("error while running tauri application");
}

And I have updated the tauri.conf.json as follows:
"build": {
    "beforeBuildCommand": "npm run build",
    "beforeDevCommand": "npm run start",
    "devPath": "../build",
    "distDir": "../build",
    "withGlobalTauri": true
  },

Btw, the import in the README needs to be fixed

Works on my end, are you using latest tauri @elanzini ? Also which OS are you running? (shouldn't matter but just as a sanity check).

I just updated our example to enable the IPC on the localhost URL. Check it out :)

thank you for your efforts

Works on my end, are you using latest tauri @elanzini ? Also which OS are you running? (shouldn't matter but just as a sanity check).

cargo update did the trick - thanks a lot @lucasfernog 🍻


Image missing from Beep app

Describe the bug
A clear and concise description of what the bug is.
Image missing from Beep
To Reproduce
Steps to reproduce the behavior:

Install app on Android device from Play Store
Enter email
See results
This problem also exists on the list of hacked vendors

Expected behavior
A clear and concise description of what you expected to happen.
Some picture/icon

Screenshots or videos
If applicable, add screenshots or videos to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: LG K20 V
OS: Android 7.0

Additional context
Add any other context about the problem here.

This was fixed in #120 and will be released soon.


TLS Settings has no effect

Rancher Server Setup

Rancher version: v2.6.2
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Describe the bug
I'm testing out TLS Settings of Rancher according to this page and it's not working:

Set CATTLE_TLS_MIN_VERSION=1.3 results in error:
[FATAL] failed to setup TLS listener: error while configuring minimal TLS version: invalid minimal TLS version [1.3], must be one of: 1.2 1.1 1.0

Set CATTLE_TLS_MIN_VERSION=1.0 then I use command nmap --script ssl-enum-ciphers to check the supported TLS versions, but the minimum supported TLS version is still 1.2:
$ nmap --script ssl-enum-ciphers -p 443 <IP_ADDRESS>
Starting Nmap 7.92 ( https://nmap.org ) at 2021-11-23 16:06 CST
Nmap scan report for <IP_ADDRESS>
Host is up (0.00020s latency).

PORT    STATE SERVICE
443/tcp open  https
| ssl-enum-ciphers:
|   TLSv1.2:
|     ciphers:
|       TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A
|       TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A
|       TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (secp256r1) - A
|     compressors:
|       NULL
|     cipher preference: server
|   TLSv1.3:
|     ciphers:
|       TLS_AKE_WITH_AES_128_GCM_SHA256 (ecdh_x25519) - A
|       TLS_AKE_WITH_AES_256_GCM_SHA384 (ecdh_x25519) - A
|       TLS_AKE_WITH_CHACHA20_POLY1305_SHA256 (ecdh_x25519) - A
|     cipher preference: client
|_  least strength: A

Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds

To Reproduce

Starting Rancher with docker, add an environment variable to set minimum TLS version to 1.3 results in error:docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  -e CATTLE_TLS_MIN_VERSION=1.3 \
  rancher/rancher:v2.6.2

When starting Rancher with docker, add an environment variable to set minimum TLS version to 1.0:docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  --privileged \
  -e CATTLE_TLS_MIN_VERSION=1.0 \
  rancher/rancher:v2.6.2

Run command nmap --script ssl-enum-ciphers -p 443 <IP> shows the minimum TLS version is still 1.2.

Expected Result
CATTLE_TLS_MIN_VERSION should change the minimum TLS version without error out.
Screenshots

Additional context

I also tested on the Rancher deployment inside of Harvester and it's not working either.

@johnliu55tw Is this a blocker for Harvester TLS feature? (I assume https://github.com/harvester/harvester/issues/761 )

@yasker This is more like a blocker for https://github.com/harvester/harvester/issues/1046. However, I had a discussion with @gitlawr and he planned to add an ingress controller for https://github.com/harvester/harvester/issues/761, so in the end, we will be configuring the TLS settings of the ingress controller for both features. In this case, this issue is not a blocker.

@yasker @johnliu55tw , given the comments above, is this something we have to do in 2.6.3 or it can be shipped later?

I don't think this is a blocker for 2.6.3 per @johnliu55tw and @gitlawr .

move this to v2.6.4 as the current workaround on the Harvester side works and this is a common issue on the Rancher side, thanks.

@yasker , this is with team/area1 so I'll let @cbron or @samjustus comment on this (though I don't see any milestone set on it).

We will discuss as a team on Feb 24 and I will advise shortly after!

SURE-5063

should be fixed now


Simplifies the type hierarchy in the proto

I've worked with this proto to defined some recipes and I found the nesting of types to be unnecessarily burdensome. This PR decreases the amount of nesting.

We decided to now do this simplification. The current structure is more verbose, but it is also more extensible, which is something we do want to keep.


[Github] Upgrading ISSUE_TEMPLATE to display 4 alternatives: Bug, Regression, Question or Feature Request

Upgrading ISSUE_TEMPLATE from single markdown to 4 option selection: Bug, Regression, Question, Feature Request
Motivation:
Having this template where when user presses NEW ISSUE button she has to think about what she's doing might lead to better issues submitted.
Modifications:

Replaced ISSUE_TEMPLATE.md with directory containing four different issues types.
Added new script ./scripts/environment.sh which puts to together a summary of users environment and copies to pasteboard (asking first).

Result:
New-Issue alternatives

Bug report
With having pasted output generated from ./scripts/environment.sh

Feature request
Kind of like the same as before

@Lukasa I've updated the script a bit, to check if we are on macOS, if so detect which version and Xcode info (might be useful, right?). The script looks like this now:
Script
read -p "This will replace your current pasteboard. Continue? [y/n]" -n 1 -r
echo    # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
	swiftversion=$(swift --version) &&
	unix_version_name=$(uname -a) &&
	i=""
	i="${i}Swift version: ${swiftversion}\n"
	i="${i}Unix version: ${unix_version_name}\n"

	# Check if OS is macOS, if so retrieve which version and Xcode version.
	if [[ "$OSTYPE" == "darwin"* ]]; then
		macos=$(defaults read loginwindow SystemVersionStampAsString | cat -) &&
		xcodebuild_version=$(/usr/bin/xcodebuild -version | grep Xcode) &&
		xcodebuild_build=$(/usr/bin/xcodebuild -version | grep Build) &&
		xcodeselectpath=$(xcode-select -p | cat -) &&

		i="${i}macOS version: ${macos}\n"
		i="${i}Xcode-select path: '${xcodeselectpath}\n"
		i="${i}Xcode: ${xcodebuild_version} (${xcodebuild_build})\n"
	fi

	echo "${i}" | pbcopy
	echo "Your pasteboard now contains debug info, paste it on Github"
fi

Output
Swift version: Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.3.0
Unix version: Darwin Sajjode.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
macOS version: 10.15.3
Xcode-select path: '/Applications/Xcode.app/Contents/Developer
Xcode: Xcode 11.3.1 (Build version 11C505)

Issue template
Do you want me to change anything in the markdown templates? Or are they good?

@Lukasa I fixed the comment in license (year + reference to CONTRIBUTORS.txt). I also fixed newline issue in ./script/environment.sh, by adding the magic -e to echo. This is what the script produces:
Swift version: Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.3.0
Unix version: Darwin Sajjode.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020
 root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64

macOS version: 10.15.3
Xcode-select path: '/Applications/Xcode.app/Contents/Developer
Xcode: Xcode 11.3.1 (Build version 11C505)

@swift-server-bot test this please

It may be worth doing the header comment fixup in a separate PR just to keep the scope clear.

@Lukasa True, good idea, I will split them into two separate PRs. I've updated this to only include Github issue template + new script environments.sh.
So ready to be merged I think?

@swift-server-bot test this please

For future reference: Regarding discussions of changes of file headers, see #24

Ah, we need to update the sanity script. Find the line that does sed -e 's/2018-2019/YEARS/' -e 's/2019/YEARS/' and change it to sed -e 's/2018-2019/YEARS/' -e 's/2019/YEARS/' -e 's/2020/YEARS/'

@Lukasa like so? https://github.com/apple/swift-crypto/pull/21/commits/be6e8e9a41a01d2c9c9420d425e3f2852a72aa76

Looks right

@swift-server-bot test this please

I might be too liberal about my use of git push -f.... but did not wanna spam git history with trivial fixes. I tend to like git commit -amend.  So, it ought to be... amended now :D

@swift-server-bot test this please

🎉


New version introduces "a.slice is not a function" error

The example at this page gives the following error: a.slice is not a function at jquery.dataTables.min.js:95:404
This error only appears with v1.10.14 (released today) but not v1.10.13.

Thank you!
This is an important enough fix that I'm going to drop 1.10.15 immediately. Its building at the moment...

It works great, thank you!


Add highway support for arithmetic operators

I think the plan should just be to ultimately have LoopModels compile itself.