use dns srv format for sni-dnat clusters

Istio generated SNI is using DNS srv format. So, SNI-DNAT clusters
need to follow same format so that traffic can be routed to appropriate clusters.
Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
ad4463668a865192a125f196b9497d10666f56f3
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
ad4463668a865192a125f196b9497d10666f56f3
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
ad4463668a865192a125f196b9497d10666f56f3
link
/test istio-integ-k8s-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
ad4463668a865192a125f196b9497d10666f56f3
link
/test istio-integ-k8s-tests

prow/istio-integ-local-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-k8s-tests

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.

New changes are detected. LGTM label has been removed.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test e2e-mixer-no_auth-mcp

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test e2e-mixer-no_auth-mcp

prow/istio-integ-local-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
f93e0afe804c7e91f5916c69e8ce5a3e59b88b1c
link
/test e2e-mixer-no_auth-mcp

prow/istio-integ-local-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-k8s-tests

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.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: baodongli, GregHanson
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [GregHanson]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

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.

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: baodongli, GregHanson
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [GregHanson]
pilot/OWNERS [GregHanson]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-k8s-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-k8s-tests

prow/istio-presubmit.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-presubmit

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-integ-k8s-tests

prow/istio-presubmit.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-presubmit

prow/istio-integ-local-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-unit-tests.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-unit-tests

prow/istio-presubmit.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-presubmit

prow/istio-integ-local-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-k8s-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
04abaed16c472e44232a8a4f82c3775abf1b1611
link
/test e2e-mixer-no_auth-mcp

prow/istio-presubmit.sh
e9335e1cf4f3215298f48feb34ac80c1414c32f4
link
/test istio-presubmit

prow/istio-integ-local-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-k8s-tests

prow/istio-unit-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-unit-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-k8s-tests

prow/istio-unit-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-unit-tests

prow/e2e-mixer-no_auth-mcp.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test e2e-mixer-no_auth-mcp

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-k8s-tests

prow/istio-unit-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-unit-tests

prow/e2e-mixer-no_auth-mcp.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-pilot-multicluster-e2e

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.

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

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-integ-k8s-tests

prow/istio-unit-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-unit-tests

prow/e2e-mixer-no_auth-mcp.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-local-tests.sh
77fdcbef5491063b503d2ab95616d6e7b9251a3b
link
/test istio-integ-local-tests

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.

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

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-unit-tests

prow/e2e-mixer-no_auth-mcp.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test e2e-mixer-no_auth-mcp

prow/istio-pilot-multicluster-e2e.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-local-tests.sh
77fdcbef5491063b503d2ab95616d6e7b9251a3b
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
77fdcbef5491063b503d2ab95616d6e7b9251a3b
link
/test istio-integ-k8s-tests

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.

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

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
debd9505b2b75a39a749798b85632bfd511aceaf
link
/test e2e-mixer-no_auth-mcp

prow/istio-integ-local-tests.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test istio-integ-k8s-tests

prow/e2e-bookInfoTests-v1alpha3.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

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.

/test e2e-bookInfoTests-envoyv2-v1alpha3

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

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test istio-integ-k8s-tests

prow/e2e-bookInfoTests-v1alpha3.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-mixer-no_auth-mcp.sh
73481eb597c7b97ee49fcce04ad3f0b980f17c03
link
/test e2e-mixer-no_auth-mcp

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.


Changing xml_id for Delivery Service doesn't move keys in Traffic Vault

Duplicate issue opened in TC jira - closing this one.
Please see: https://issues.apache.org/jira/browse/TC-187


added scalajs support

@kailuowang I'm currently working on @newtype macro support, and that should be available soon. I assume this is something you'd want for ScalaJS as well?  If so, what additional changes might need to be made and/or considered for this to work?

I am not 100% sure but I believe there is no additional change needed, it should just work. You just need to move the new macro related sbt settings to inside the settings(....) like all the other settings. I can definitely help if you have trouble get it working with your macro branch.

I'm going to wrap up the macro stuff and then make a release by the end of the week. Thanks @kailuowang!


Columns do not align with results

Looks like there is an extra grid which falls under 'tests' that pushes the grid out and it becomes misaligned on the report.
Test suites overview.pdf

fixed - thank you


Problems when scale transform applied to parent

This is my first ever issue-report. Sorry if it is not appropriate for whatever reason.
As far as I can tell, If any ancestor of the div you are trying to drag has a CSS scale transform, things don't work very well (at least on Chrome on Mac - have not tested elsewhere).
It is kind of hard to describe the exact symptoms - there are different problems depending on if you scale up or scale down both for simple dragging and for bounds-checking.
These problems are easy to replicate using dev tools on your demo and editing CSS to include (say) transform: scale(.75) or (say) transform: scale(1.5).
Thanks for ngDraggable!

Fixed in v1.1.0:
Please set [scale] option to fix this issue.

@xieziyu [scale] option is not working - it is creating more issue
I believe the PR generated by @Daithi1 is stable and working fine.
If possible can you please validate that PR or please elaborate the issues so that we can take look further...

@paresh-2016
Please provide more details about [scale] option issue.
Daithi1's PR failed the test when [inBounds] and [boundary] set. The dragging element hit the boundary and bounced off.

@xieziyu even after using the [scale] option the issue remains where if there is a CSS transform scale applied on the parent of the element we want to drag, the cursor and the element become de-synced.

@rathodsanjay
Thank you. I've published new version with your fix.

@xieziyu Thanks!

@xieziyu - Need a favor! I have made a minor enhancement to the above changes, to prevent the component from changing its position on initial click when css scale is applied to the parent element.
I have raised a PR for the same - #134

There is one more problem.
When you have set scale != 1 (e.q. 0.6) and your div already exist, everything works prefect. The problem occurs, when you try to assign new value to [position] when div is already created and [sclae] is set. The output position is different then expected. The scale value is not used while setting new position value by user.


Add GUI theme support

Could just use a pre-built stylesheet, e.g., https://qt-material.readthedocs.io/en/latest/index.html


BasePlugin saves config structure to DB

The BasePlugin should store its configuration as a  list of key: value. There is a bug that adds the whole config_structure to DB.

This will be a bigger task as it will need to add more tests (and fix all current one as some of them have wrong test data ;) )
A good idea would be to add validators that check if those values are in proper type.

@korycins
Before I start to changing everything - which option we should keep in databse:

"name": "Company name", "value": "DEFAULT"
"Company name": "DEFAULT"

Each plugin has overwritten _get_default_configuration. There you will find an expected structure of configuration that we should store in DB. The issue is probably connected with _update_configuration_structure which updates a configuration when some fields have been changed. Tests could be written based on the test_update_config_items_keeps_bool_value, which provides whole saving process.

I'll close this as we're moving away from plugins and towards apps and we're only fixing crtical bugs.


Supplier editor prototype

Context
Suppliers will need to be able to add and update their curriculum content using a web application.
This is a prototype of part of this process, functionality that gives an editor an overview of a CCP and the ability to edit individual sections.
It's likely that this will sit along some kind of dashboard and the first step, actually creating a barebones CCP, will be a separate mini-wizard.
After several discussions we have established that curating CCPs is not a linear process. Users will want to edit freely without following a set path.
Tree approach
A tree view is one option. On the plus side, it provides a nice overview of the CCP as a whole. On the negative side, there may be accessibility issues and it might not be the most intuitive interface on mobile.
Here's a few screengrabs of the CCP, Unit and Lesson level:

CCP
Unit
Lesson

The buttons, forms etc aren't functional yet, but adding /suppliers/ccps to the review app below should give an idea of how it fits together.

Note: As this project is being paused, uploading what I've done so far. Another tree version would have followed later along with a dashboard.
This view is a standard "editor mode" layout which has a top editor bar and the preview beneath.
Within the editor bar a breadcrumb tells the user where they are in the service; standard navigation within the web page beneath applies - the user is free to go through the service as normal and the bar above would update.
The user has the option to edit any page beneath the bar or delete the page (separate journey yet to be designed however the edit journey will probably take them to the page in the supplier upload prototype where each page was built and pre-populated with the data ready for editing).
Further design paused.

Closing this for now as the project is mothballed :moth


(BKR-994) Read subcommands options from home directory

This patch changed options priority to read options from $HOME/.beaker/subcommands_options.yaml with the lowest priority after the presets.
Added respective spec tests and modified others to fit this in the priority chain. Please note that as the priority hierarchy is changing there are some places in the module and their spec files that require modification in order to fit this in.
The new options priority now (from highest to lowest):

ENV variables
ARGV variables
'CONFIG' section of hosts file
Options file
Subcommand options
Subcommand options file from home directory (this patch)
Presets

PS - Also, there was an empty file (lib/beaker/options/homedir_options_file_parser.rb) merged from my poor github management that is being deleted here :(

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3865/

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3890/

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3894/


Rename helloworld.asm to helloworld1.asm

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Building for Web fails on Windows

The following error occurs when I run flutter build web. I can run the app targeting web just fine by doing flutter run -d chrome.

Operating System: Windows 11 Home, 22H2 (OS build 22621.3155)
Dart 3.1.0

Target dart2js failed: ProcessException: Process exited abnormally:
file:///C:/Users/drumstix/Code/AiEnglishTutor/app/ai_english_tutor/.dart_tool/flutter_build/4190a3e04aec64b93a71ac65bedaba83/main.dart:
Internal Error: The compiler crashed when compiling this element.

The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (3.1.0), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

The compiler crashed: Invalid argument(s): Type parameter TypeParameter(T) is not indexed
#0      TypeParameterIndexer.[] (package:kernel/binary/ast_to_binary.dart:3371:8)
#1      BinaryPrinter.visitTypeParameterType (package:kernel/binary/ast_to_binary.dart:2528:38)
#2      TypeParameterType.accept (package:kernel/ast.dart:12528:42)
#3      BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:439:10)
#4      BinaryPrinter.writeNodeList (package:kernel/binary/ast_to_binary.dart:349:7)
#5      BinaryPrinter.visitInterfaceType (package:kernel/binary/ast_to_binary.dart:2435:7)
#6      InterfaceType.accept (package:kernel/ast.dart:11385:42)
#7      BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:439:10)
#8      BinaryPrinter.visitAsExpression (package:kernel/binary/ast_to_binary.dart:1960:5)
#9      AsExpression.accept (package:kernel/ast.dart:7636:44)
#10     BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:439:10)
#11     BinaryPrinter.writeOptionalNode (package:kernel/binary/ast_to_binary.dart:531:7)
#12     BinaryPrinter.visitReturnStatement (package:kernel/binary/ast_to_binary.dart:2315:5)
#13     ReturnStatement.accept (package:kernel/ast.dart:10127:43)
#14     BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:439:10)
#15     BinaryPrinter.writeOptionalNode (package:kernel/binary/ast_to_binary.dart:531:7)
#16     BinaryPrinter.visitFunctionNode (package:kernel/binary/ast_to_binary.dart:1529:5)
#17     FunctionNode.accept (package:kernel/ast.dart:3908:38)
#18     BinaryPrinter.writeFunctionNode (package:kernel/binary/ast_to_binary.dart:446:10)
#19     BinaryPrinter.visitProcedure (package:kernel/binary/ast_to_binary.dart:1357:5)
#20     Procedure.accept (package:kernel/ast.dart:3311:40)
#21     BinaryPrinter.writeProcedureNode (package:kernel/binary/ast_to_binary.dart:467:10)
#22     BinaryPrinter.writeProcedureNodeList (package:kernel/binary/ast_to_binary.dart:358:7)
#23     BinaryPrinter.visitClass (package:kernel/binary/ast_to_binary.dart:1260:5)
#24     Class.accept (package:kernel/ast.dart:1422:38)
#25     BinaryPrinter.writeClassNode (package:kernel/binary/ast_to_binary.dart:481:10)
#26     BinaryPrinter.writeClassNodeList (package:kernel/binary/ast_to_binary.dart:376:7)
#27     BinaryPrinter.visitLibrary (package:kernel/binary/ast_to_binary.dart:1096:5)
#28     Library.accept (package:kernel/ast.dart:577:38)
#29     BinaryPrinter.writeLibraryNode (package:kernel/binary/ast_to_binary.dart:460:10)
#30     BinaryPrinter.writeLibraries (package:kernel/binary/ast_to_binary.dart:766:9)
#31     BinaryPrinter.writeComponentFile.<anonymous closure> (package:kernel/binary/ast_to_binary.dart:605:7)
#32     Timeline.timeSync (dart:developer/timeline.dart:171:22)
#33     BinaryPrinter.writeComponentFile (package:kernel/binary/ast_to_binary.dart:586:14)
#34     SerializationTask.serializeComponent.<anonymous closure> (package:compiler/src/serialization/task.dart:77:15)
#35     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#36     SerializationTask.serializeComponent (package:compiler/src/serialization/task.dart:67:5)
#37     Compiler.produceKernel (package:compiler/src/compiler.dart:422:29)
<asynchronous suspension>
#38     Compiler.runSequentialPhases (package:compiler/src/compiler.dart:711:20)
<asynchronous suspension>
#39     Compiler.runInternal.<anonymous closure> (package:compiler/src/compiler.dart:311:7)
<asynchronous suspension>
#40     Compiler.runInternal (package:compiler/src/compiler.dart:310:5)
<asynchronous suspension>
#41     Compiler.run.<anonymous closure> (package:compiler/src/compiler.dart:231:11)
<asynchronous suspension>
#42     main (package:compiler/src/dart2js.dart:1241:3)
<asynchronous suspension>
  Command: C:\Users\drumstix\Downloads\flutter_windows_3.3.10-stable\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
  C:\Users\drumstix\Downloads\flutter_windows_3.3.10-stable\flutter\bin\cache\dart-sdk\bin\snapshots\dart2js.dart.snapshot
  --platform-binaries=C:\Users\drumstix\Downloads\flutter_windows_3.3.10-stable\flutter\bin\cache\flutter_web_sdk\kernel --invoker=flutter_tool -Ddart.vm.product=true -DFLUTTER_WEB_AUTO_DETECT=true
  -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/1ac611c64eadbd93c5f5aba5494b8fc3b35ee952/ --native-null-assertions --no-source-maps -o
  C:\Users\drumstix\Code\AiEnglishTutor\app\ai_english_tutor\.dart_tool\flutter_build\4190a3e04aec64b93a71ac65bedaba83\app.dill --packages=.dart_tool/package_config.json --cfe-only
  C:\Users\drumstix\Code\AiEnglishTutor\app\ai_english_tutor\.dart_tool\flutter_build\4190a3e04aec64b93a71ac65bedaba83\main.dart
#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:125:5)
#1      _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:278:19)
<asynchronous suspension>
#2      Dart2JSTarget.build (package:flutter_tools/src/build_system/targets/web.dart:189:5)
<asynchronous suspension>
#3      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:853:9)
<asynchronous suspension>
#4      Future.wait.<anonymous closure> (dart:async/future.dart:525:21)
<asynchronous suspension>
#5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:791:32)
<asynchronous suspension>
#6      Future.wait.<anonymous closure> (dart:async/future.dart:525:21)
<asynchronous suspension>
#7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:791:32)
<asynchronous suspension>
#8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:620:16)
<asynchronous suspension>
#9      WebBuilder.buildWeb (package:flutter_tools/src/web/compile.dart:89:34)
<asynchronous suspension>
#10     BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:198:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#17     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
<asynchronous suspension>
#18     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#19     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

Compiling lib\main.dart for the Web...                             10.0s
Exception: Failed to compile application for the Web.

Is there a code sample we can use to repro the issue?
The stack trace just shows an issue with serializing the result of phase 0, so it could be a CFE issue, or it might be that we did something incorrect in a kernel transformation.


LogMemberLeave update/not send on raid

Changed the message in the leave embed to be name#discriminator (id) instead of a mention.
Added raid detection on the leave event, now the bot will not send a message when the user is kicked because of a raid

Sadly using your way of using the audit logs to check if a user left or was kicked, won't always work properly.
When I was also thinking of a solution, I asked in the discord.js server how I could detect if a user got kicked or just simply left.
One of the mods responded with:

the only way to do so would be by fetching audit logs and hoping they arrive in time (there is no guarantee for an audit log to already be present when the GUILD_MEMBER_REMOVE event emits)

So I asked what a reasonable time was for a audit log to show up:

there is no guarantee,
discord works based on eventual consistency - absolutely any timeout can result in wrong behaviour, granted it becomes less likely (and less usable) the higher the timeout is.

So I would handle this differently, I would pass the joinQueue array from RaidDetectionHandler to MemberLeaveHandler. Then when a member leaves, check if he is in the joinQueue. If he is, then don't send an embed.

Sadly using your way of using the audit logs to check if a user left or was kicked, won't always work properly.
When I was also thinking of a solution, I asked in the discord.js server how I could detect if a user got kicked or just simply left.
One of the mods responded with:

the only way to do so would be by fetching audit logs and hoping they arrive in time (there is no guarantee for an audit log to already be present when the GUILD_MEMBER_REMOVE event emits)

So I asked what a reasonable time was for a audit log to show up:

there is no guarantee,
discord works based on eventual consistency - absolutely any timeout can result in wrong behaviour, granted it becomes less likely (and less usable) the higher the timeout is.

So I would handle this differently, I would pass the joinQueue array from RaidDetectionHandler to MemberLeaveHandler. Then when a member leaves, check if he is in the joinQueue. If he is, then don't send an embed.

So I gave this a quick test locally. Granted what Bear is saying is true - see here - but in a perfect scenario it does work as expected. An issue which did however come up was a potential for a false positive. If a user was kicked as part of the raid, joined back and then left again there could be a scenario where this may not get logged properly.
I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

So I gave this a quick test locally. Granted what Bear is saying is true - see here - but in a perfect scenario it does work as expected. An issue which did however come up was a potential for a false positive. If a user was kicked as part of the raid, joined back and then left again there could be a scenario where this may not get logged properly.
I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

I suggested that you would pass the joinQuery array from RaidDetectionHandler to LogMemberLeaveHandler. Then add a check to LogMemberLeaveHandler to check if the user who left, was in that joinQuery array, then don't log it if he was in it.
Wouldn't that work?

I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

I suggested that you would pass the joinQuery array from RaidDetectionHandler to LogMemberLeaveHandler. Then add a check to LogMemberLeaveHandler to check if the user who left, was in that joinQuery array, then don't log it if he was in it.
Wouldn't that work?

I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

I suggested that you would pass the joinQuery array from RaidDetectionHandler to LogMemberLeaveHandler. Then add a check to LogMemberLeaveHandler to check if the user who left, was in that joinQuery array, then don't log it if he was in it.
Wouldn't that work?

Events are currently setup in a way that they are agnostic of all other events - this means to "pass" the array from one handler to another we'd either need a major overhaul in how the events work, or some sort of global state. I think before attempting either of those routes it's probably worth seeing how effective the audit log method is and make a conscious decision with that knowledge.

I'm not currently sure what to suggest as an alternative to querying the audit logs and hoping they are there since discord doesn't seem to provide enough information on the given events.

I suggested that you would pass the joinQuery array from RaidDetectionHandler to LogMemberLeaveHandler. Then add a check to LogMemberLeaveHandler to check if the user who left, was in that joinQuery array, then don't log it if he was in it.
Wouldn't that work?

Events are currently setup in a way that they are agnostic of all other events - this means to "pass" the array from one handler to another we'd either need a major overhaul in how the events work, or some sort of global state. I think before attempting either of those routes it's probably worth seeing how effective the audit log method is and make a conscious decision with that knowledge.

Closing due to inactivity.


Can't get it to work

adb is enabled on my huwaei mate 20 lite

Try with a lower definition.
Open a console (cmd), go to the scrcpy directory, and execute:
scrcpy -m1024

ye now it works thank


Make HighlightedTextClassifier work with  tags

Discussed in https://github.com/orgs/alphanome-ai/discussions/56

Originally posted by Elijas November 24, 2023
Example document
https://www.sec.gov/Archives/edgar/data/1675149/000119312518236766/d828236d10q.htm

  Options to purchase 1 million shares of common stock at a weighted average exercise price of $36.28 were
outstanding as of June 30, 2017, but were not included in the computation of diluted EPS because they were anti-dilutive, as the exercise prices of the options were greater than the average market price of Alcoa Corporations common stock.

   G. Accumulated Other Comprehensive Loss

  The following table details the activity of the three components that comprise Accumulated other comprehensive loss for both Alcoa
Corporations shareholders and Noncontrolling interest:

Goal
The "G. Accumulated Other Comprehensive Loss" should be recognized as HighlightedTextElement (and therefore, TitleElement).
Most likely, you will have to get a percentage of text that is covered inside the  tag, by reusing the parts implemented in the  HighlightedTextElement. This will help you avoid situations where text text text bold text text is recognized as higlighted

I would like to work on this issue.

I noticed that there is a need for a middle ground between synthetic unit tests and entire-document end-to-end tests.
Let's call them integration tests for now, although it's a slight deviation from industry-standard use of the term "integration tests". This is because we're using integration tests as a special type of unit tests.
So I propose to have a special type of unit tests, where input is a HTML snippet and expected output is stored in a JSON file.
This will allow for a very easy unit test creation. Just paste the snippet from a document of interest, then automatically generate a JSON file, then proceed to manually edit it to what will be the expected output.
As for the fully-annotated documents (used in the "accuracy tests"), having a few of these integration tests, then fixing them will help us reach a point where creating the fully annotated document becomes much easier as all of the major issues will be fixed.
Otherwise, it takes a lot of time to manually annotate all the different issues in the full document, so we're annotating them in these small integration tests.
Let me know if this makes sense!

Sorry, I was too busy to notify you that I will no longer be able to work on this issue due to my obligations.

Sorry, I was too busy to notify you that I will no longer be able to work on this issue due to my obligations.

No worries, thanks for letting us know!

I'd like to work on this


Ghosting issue

After updating the screen a few times, I noticed ghosting issues with the display. The previous temp could be seen very lightly.
Waveshare wiki has more info about the modes: https://www.waveshare.com/wiki/10.3inch_e-Paper_HAT
Also saving this mode reference PDF here: E-paper-mode-declaration.pdf

The fix was to clear the display using mode 0 often enough. In the first version, I only updated the image using GC16 mode. The wiki states:
Mode	Description	6inch/6inch HD	7.8inch/9.7inch/10.3inch
INIT	This mode is used for clearing the display. If you use A2 mode for updating, we recommend you use the INIT mode to clear display after updating several times.	Mode0	Mode0
GC16	This mode is used for updating ePaper with 16 grayscale. GC16 mode can provide best dispaly effect.	Mode2	Mode2
A2	A2 mode can only support 2 grayscale, however, the update speed is the fastest.	Mode4	Mode6
It implies that only A2 mode can cause ghosting, but it looked like the GC16 mode also caused it.


flutter pub run arb_translator:translate not working?

I don't think this is a working command. It freezes up the console for me when I try it.
using
dart pub global run

works however. No difference in version. Curious.
p.s.
My pub.dev email is the same as my github btw<EMAIL_ADDRESS>

@Nolence Sorry for delays, I've invited you as a publisher on pub.dev.


Jackson JSON Deserialization Issue when retrieving Projects

Got the following Exception when invoking GitabAPI#getProject:
Can not construct instance of org.gitlab.api.models.GitlabAccessLevel from number value (50). index value outside legal index range [0..4]

Issue is that Jackson is not using GitlabAccessLevel#fromAccessValue to deserialize JSON.

Fixed by using this annotation:
http://fasterxml.github.io/jackson-annotations/javadoc/2.2.0/index.html?com/fasterxml/jackson/annotation/JsonCreator.html
Will submit pull request.


Fix function signatures in aes-gcm-armv8 comments.

Comments of aes-gcm-armv8_64.pl and aes-gcm-armv8-unroll8_64.pl are inconsistent with aes_platform.h. Fix it.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

Merged, thanks for the fixes.


[e2e]: generic schedule main multi-uses slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3326296408
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Oct 26 04:59:15 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3326296408
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Oct 26 04:59:24 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3334596926
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Oct 27 04:58:29 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3334596926
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Oct 27 05:04:51 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3367003292
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.schedule.main.multi-uses.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Nov  1 05:24:28 UTC 2022
Tests are passing now. Closing this issue.


Bump pin check plugin version

Motivation
https://github.com/shangyilim/cordova-plugin-pincheck/pull/4
Description
This change bumps the version on the pin check plugin

@ciaranRoche


Convert windows custom resources to unified_mode

Tiny bit of code rage included to wipe out a completely unnecessary
nodoc property I found in two of these.
I also renamed the "do_it" method in two of these.
Plus added the sensitive flag to a password property.
And a comment yelling about #10240
There are 7 other non-custom-resource-style windows resources that
need converting that are all that is left.

Solid improvement


file logger is disabled / fails to build

EOSIO supports console logging, gelf logging, and... uh.. I thought file logging. But the file logger is disabled and won't compile without some changes. Seems like people would want logs to go to a file.

@spoonincode I think everyone is getting around this by just piping to a file.  Any objections to closing this?  If users want it, I think they will let us know.


multipart-stdin example, hook environment vars, LICENSE, and README

thanks for sharing your code with me.

Did you want me to run a cargo fix/fmt?

Did you want me to run a cargo fix/fmt?

No, I don't think I kept the project formatted, so it would just create a big noisy diff :)

Thanks! I'll do a few more fixups, but I can do that after merging!


Add scanning of arbitrary URL to the QR code scanner

Feature description
When the CWA QR code scanner cannot recognize a QR code, inform the user (as is now the case) but also display the QR code's content as plain text. If the content is recognized as a valid HTTPS URL, offer a button to open it in the device's default web browser.
Current state
As of 2.17.2, scanning arbitrary, not recognized QR code with the CWA QR code scanner shows the following (German in my case) error message.

Kein geeigneter QR-Code
Der QR-Code wird nicht von der Corona-Warn-App unterstützt. Bitte wählen Sie einen geeigneten QR-Code.

Example of an URL QR code which should (semi) automatically be opened

Example of a text QR code which should only be displayed

Problem and motivation
It often happens, when waiting at a rapid test station, to see people not mastering the process of scanning a QR code for test registration. They often ask for help to other persons waiting next to them with their smartphone in the hand. When explained that they must use a QR code scanning application and point their camera in direction of the QR code, they often don't know what a QR code scanning application is or how to install one. Many of these persons have the CWA installed on their phone, probably installed for them by a relative. If the CWA would support scanning the rapid test registration QR code, these persons could be helped much more quickly and easily.
Automatically opening only HTTPS (and not HTTP) URL would be to prevent people sending their personal information through an unencrypted communication channel. An HTTP website may redirect to its HTTPS pendant but this is not necessary the case and cannot be assumed.
Is this something you're interested in working on
Yes

Internal Tracking ID: EXPOSUREAPP-12070

This is definitely a necessary improvement. Since most people are not aware that the inbuilt camera app in some phones has a QR scanner implemented.
They rather download a 3rd party app filled with ads.
It would make the testing process simpler if just the CWA is required.

Thanks for your feature request @mdesharnais. We have created an internal ticket for it and will raise this topic internally.
Internal Tracking ID: EXPOSUREAPP-12070

Corona-Warn-App Open Source Team

I support this feature request to at least show the URL (if the data in the QR code that was scanned is a URL) with the option to click "Open with my browser". If necessary there can be a legal hint that the CWA team is not responsible for the content of the external page, etc.

@GisoSchroederSAP
Hey Giso, I'm pinging you here as I see this as a very necessary extension of the app.
Currently, most CWA users seem to assume that any QR code they get in regard to their test is scannable by the CWA. If the scan fails, they don't dive as deep as scanning the QR code with some QR code scanner, etc. but just assume the CWA is broken (and uninstall) it.
Adding at least the plain URL/content of the QR code to the app which tells the user that this is really not a QR code meant for the CWA, would probably help here.
Some Twitter reports:

https://twitter.com/wagersli/status/1582100502950518785?s=46&t=oQ8dLtpL6El5J9z_5Qk30w
https://twitter.com/risikos21/status/1580826681278767104?s=46&t=oQ8dLtpL6El5J9z_5Qk30w (a very good example)
https://twitter.com/therealhusti/status/1539509480844582915?s=46&t=oQ8dLtpL6El5J9z_5Qk30w

If you want more examples, just shoot me a message!

Thanks for bringing this on the table, @Ein-Tim. I'm going to take this again to the product owner.
The issue here is (you already commented in one ore multiple twitter tweets): Our app does not have any control, who else in the world generates QR codes - so the CWA only can state

it processes only CWA-compatible QR codes
if a QR code is not compatible (like in the error message, right?)

So, what would be an appropriate statement? Do you think, we should add the current QR code content to the error message, stating like "This QR code of the Coca Cola bottle is incompatible to the CWA and cannot be processed: https://de.coco-cola.com/store/EAN-13-5000112548068"?

@GisoSchroederSAP
Haha, I also thought if we could somehow find out which codes, not meant for the CWA, are mostly scanned in the app and handle them specially.
E.g. Scanning a QR code meant for the app mein-laborergebnis, would lead to this error message:
"Dieser QR-Code ist nicht für die Corona-Warn-App gedacht. Scannen Sie ihn stattdessen mit der Mein-Laborergebnis-App."
However, I know that this is probably a legal disasters as the CWA refers to apps not under the project teams control.
So realistically I see two options here:
a) just show the URL/content of the QR code in plain text in the error message pop up
b) leave the error message as it is and point the user to scan the QR code with a designated QR code scanner.
Thanks for bringing this to the attention of the PO!

Here is the thing: Meanwhile, we observe that even more and more of the "big ones" (MedLab, SYNLAB, eurofins...) and of the local MVZ labs are no longer use the CWA QR code any longer, but redirect to theier own or third-party websites to retrieve the report. So, it will be hard to name the right choice,  I'm afraid.
And even then, one important question for those users remains: How do I get the result into the CWA?
We will not be able to solve that, won't we?
So, in the end, I agree to the two options you already named - and would prefer option b) , but leave it to the DEV team, if they would go for the "transparence" with option a) .

@GisoSchroederSAP
Ah, I see. Thanks!


Top and Bottom Quantile Daily Turnover for each day/period

Top and Bottom Quantile Daily Turnover plot
The plot shows only the daily turnover, but It would be more interesting to plot the turnover after X days, for each X in 'days' (the create_factor_tear_sheet's argument). This suggested behaviour is a superset of the current one because a user can add '1' to 'days' argument to get the current behaviour.

I think this is also a good idea for the same reasoning we talked about in https://github.com/quantopian/alphalens/issues/69


Add TRNMentorSyncJob

Context

Add TRNMentorSyncJob to sync first name and last name of Mentors with Teacher Record Service

Changes proposed in this pull request

Introduce TRNMentorSyncJob to perform syncs on onboarded mentors.

Guidance to review
(in the rails console)

Change a Mentor TRN to 1234567 (assuming a mentor with trn 1234567 doesn't exist)
run TRNMentorSyncJob.perform_now
Then the Mentor with trn 1234567 should be named {first_name: "Judith", last_name: "Chicken"}
Mentors with invalid trns should not be updated.

Link to Trello card
https://trello.com/c/PgX2Vtsu/212-synchronise-all-mentor-first-and-last-names-with-trs

 Synchronise all Mentor first and last names with TRS


What happened to cShard.fx?

After last ReShade update I noticed that cShard.fx no longer compiles properly. Upon further investigation I realized that it's no longer present in this repository. So my question is - what happened to cShard (and few other) shader? Are they deprecated by some other shaders?

cShard was deprecated by cCAS and cCAS, as they are much more robust while using the same sample amount!


Backend functions not in documentation

Even though the documentation was updated for 0.4.0, functions such as set_audio_backend do not appear in the doc.

Closed since torchaudio.set_audio_backend is here.

Closed since torchaudio.set_audio_backend is here.


New version: Mozilla.Firefox.DeveloperEdition.fur version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


MP-536 - Faucet utility

https://madhive.atlassian.net/browse/MP-536

Going to hold on merging this, as it is going to need adjusted heavily to work with latest faucet if even possible.
Code is a great starting place, we'll just use this branch to make sure we can setup utils

This can now be updated to reflect this repository's endpoints


Instructions needed.

There should be an instruction file for the user to build the derivations here. It should specify both how to simply build an already fetched version of a single package (copying what readme.md in OldDDerivations says probably does pretty good job) and how to run the prefetcher scripts to generate the version-specific hash files (once #9 is in).

In PR #9 I've added a readme doc which covers the end-user aspects of using this repository - both via Flakes and the old-school way. In a future PR I plan rework the scripts and I'll add documentation for contributors. Please review https://github.com/PetarKirov/dlang.nix/blob/main/README.md and let me know what you think @dukc. I'm closing the issue for, but feel free to reopen it if needed.

Had a look. Yes, I'd say this satisfies what I wanted, and we don't need 2.xxx.nix files anymore. Which is good since the new way is so much better automated.


Add auto github release workflow

Is your feature request related to a problem?
As part of OpenSearch releases, opensearch-build pushes a tag for the release commit.
But publishing a github release based on the tag is manual.
What solution would you like?
We've added this workflow[1] in OpenSearch which publishes github releases automatically when a tag is pushed.
Add this workflow to all repos releasing software in the project.
See example: https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/auto-release.yml
Example Release: https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0
[1] https://github.com/opensearch-project/opensearch-plugins/blob/main/WORKFLOWS.md#auto-github-releases

[Triage] @reta Tagging you for this issue.


Implement parents[] like in pathlib

The pathlib module is like a limited path.py. It does have some good ideas such as:
http://docs.python.org/dev/library/pathlib.html#pathlib.PurePath.parents
It would be nice to have it in path.py. I often do p.parent.parent.parent, this would make it shorter/

Closing due to inactivity.


StatusItem Title property not rendered after version update.

Describe the bug
On version 1.9.0, when I change the Title property of a StatusItem, the change is immediately rendered and reflects the new value.
On version 1.12.1, this stopped working.
To Reproduce
Steps to reproduce the behavior:

Use a StatusItem to reflect the current position of the cursor in a TextView. Use the TextView's UnwrappedCursorPosition event to update the StatusItem's Title like so: _cursorPosStatusItem.Title = string.Format(Resources.CURSOR_POS_FORMAT, point.Y + 1, point.X + 1);
Use version 1.9.0 and notice that the cursor position is correctly reported every time the cursor is moved in the TextView.
Use version 1.12.1 and notice that it doesn't work any more.

Expected behavior
I suspect there shouldn't be a breaking change in a minor version update.
Screenshots

Desktop (please complete the following information):

OS: Windows
Version 10

Please try doing _cursorPosStatusItem.SetNeedsDisplay().

Please try doing _cursorPosStatusItem.SetNeedsDisplay().

_statusBar.SetNeedsDisplay();
Thank you. This works!

_statusBar.SetNeedsDisplay();
Thank you. This works!

Yes you are right, _cursorPosStatusItem is StatusItem and not a View, sorry for my mistake.


Variables not working

I am trying to export figma variables but I click the save & export button and nothing is happening.
Is there a specific set up I need for variables in Figma?

Hey @juliana-negrete,
the png is sadly not uploaded.
Can you please do the following so I can try to recreate the issue:

Press cmd + option + i to open the console → please take a screenshot of what it says when you click the button
Can you send a screenshot of the variables you have set up?

Thanks

@lukasoppermann  thanks for getting back to me so quickly.
This is what the console is saying. Attaching files again (let me know if you can see them)
I can also invite you to the figma file if you need

www.figma.com-1690810073384.log

Should be fixed in new release version 66. Please reopen if it persists.

@lukasoppermann Thank you! Now it just says no tokens to export. Do I need to select them in a specific way or something?

Hey @juliana-negrete please try again now.

@lukasoppermann thank you! they are exporting now. However I believe there is one level missing from the JSON so it doesn't compile in style dictionary.
Basically in my primitives collection I have only one mode called base. This "base" level shows up in the primitives. However when this is then referenced in other tokens that level is not being shown therefore it doesn't compile. If I remove "base" from the JSON it works. I believe that if there is only 1 mode this should either be omitted everywhere or then shown everywhere
https://www.style-dictionary-play.dev/#project=7ZrNctowEIBfJePeMgH8b9wX6KkzvZdOR0gyETG2R7LTppm8ey3LBP9VkHpNaUsOBOSd1afVatcr6dlYI0HnefpAEzHfijQx3hvPq+TmZmV8zTjbsZw9UrEy3t9UrfJvZeA0TnmrTbauOUpIp1W2E0qzWVbwLKa9p/J5/pRVD1713nUlHlFc1CLvrNCMHCeKBsTWMU3Ix5TUoknKdyheGU2xl7sOG+IPs3WtfSSZaToB8qDIaExxzhmGs5wfSrtB8THOCBWYJjmc/SJMCRQfwjlLEzg2z4OzXc0GNrPr0LYiC4ouZpv7HA4uCogPZzoFBzSr2CZjZvXwo0lZCtMi51K6FwrrJzMTwq71H4xd92QWBJkXBRGCJrMByGhAceRAkzkAZMQnaxpAk7kQi8TEPgmhyTwAsoAuQwRO5gOQuYG3DGxosgCAzAld1/OgyZYAZLZrIwecLIRI/r6JLRs8TRRsIEMUDCq52S5GcPmh5NpwShMIFyQ0wi4gGKcEJJ8GXugBYj3ROE6/gZCRaLkGJJMeNrM8MCezfVgng2FTfgbIVvoZDJlyNUAy5WpQcNLbfhuuEe32Xw/AK0OwH93gphoH3omb5ITtyh2KsmrqYDXYzV8F2kq9NVa9q1Vvj1W/1Kp3xqq3fK1+d6x+W28eb6x+x9bq90fPrt57grH6fb19lqPdR+8/4Wj/sY8sL3O8h5pDsUN9kZ+q1zqI3agty0an9d5AC6MMWQg/bHha9HYmm49mcqcT8SftEIZiZytyPjc2TOeV9Lx+C52/1v0vzWjZNmMDR1CcJuQcQNaJQDnKy63IY3uSY+mqHeR5p5c3ER7blYQh7PRyGiFhApUJlEw+p06bZygL5/R73lsPsnGylaAM1zgK0BitAjnfGvCPoijfkmcFF2AXBdOPdVOYxjxGc19iTINyQiwY8uyhQ6jDhvukzt3a1dcYrpabzsFbOEcCVJxu0tlOnoKJgkcI00uZSEF3KCk9vTeXLIlk3SG7AGct2LwujzUmw6iQlp1i5lT/qprTECR0M+X4yzpX03mWCjZh59UGwAnrPOWEctF/qavaz/ZCt9TlfoVyvkR2QuJnJUvfaLL1IjJ/BfJHc0of52zvbd4vpk992ZOpOwsXVeW8ZYbPUuXUQPu7Hdca55+rcfxLrHHe/Pb8x1LDtca5oBpHu9KuNc7fUOMc8alrfXOtb/7O+sa8pPrGv8

j65i0m+6/rG1df38h/5ceLcVf

2lkRs07mOLtKCq9D9eV8J3d4ubpt315X+L/U5URajXIbS9iGRwKJ7nb2kS4SU/FC+xWZqPEqsuSALFpNPKL9Xz6ufCym1aIlFLFbX5T8fhtq7Dy9ylqC8Og2Tur4+Is7kHIh5p9taZ5UPDlyLV/lBg37pFozbUwa8PWG4W4DBHsa61Y90ix6RwJxl+YIKXzvSV9d5+Qk=
Attaching images with examples. Basically in "value": "{_primitives.color.brand.deep-purple}" it is missing the base level from the primitives so they do not match

Hey @juliana-negrete see #257
This is more complex than one would think. The problem is that we need modes in Json as we would have name duplicates which are not allowed in Json. But in references modes don't make sense.


[Bug]: Async function with multiple awaits never resolves when using fake timers

Version
27.2.0
Steps to reproduce

Clone my repo: https://github.com/srmagura/jest-timer-repro
yarn install
yarn test

Code:
import "jest";

beforeEach(() => {
  jest.useFakeTimers();
});

function delay(duration: number): Promise<void> {
  return new Promise((resolve) => setTimeout(resolve, duration));
}

// PASS
it("delays", async () => {
  const p = delay(100);
  jest.runAllTimers();

  expect(await p).toBeUndefined();
});

// PASS
it("delays once in a function", async () => {
  async function f(): Promise<void> {
    await delay(100);
  }

  const p = f();
  jest.runAllTimers();

  expect(await p).toBeUndefined();
});

// FAIL: Exceeded timeout of 5000 ms for a test.
it("delays twice in a function", async () => {
  async function f(): Promise<void> {
    await delay(100);
    await delay(100);
  }

  const p = f();
  jest.runAllTimers();
  jest.runAllTimers();
  jest.runAllTimers();
  jest.runAllTimers();

  expect(await p).toBeUndefined();
});

// PASS
it("delays twice in a function using real timers", async () => {
  jest.useRealTimers();

  async function f(): Promise<void> {
    await delay(100);
    await delay(100);
  }

  const p = f();
  expect(await p).toBeUndefined();
});

Expected behavior
I expect all tests to pass. In the third test, jest.runAllTimers should cause both delays to complete, and the promise returned by f should resolve.
Actual behavior
The third test fails with
thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

Additional context
The result is same when using jest.useFakeTimers('legacy').
Environment
System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.0.2 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.23.0 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^27.2.0 => 27.2.0

This could be solvable if jest exposed the async counterparts of @sinonjs/fake-timers - the 'modern' implementation of fake timers.
Until that happens, it can be solved by using fake-timers directly:
const FakeTimers = require('@sinonjs/fake-timers');
const clock = FakeTimers.install();

it("delays twice in a function", async () => {
    async function f(): Promise<void> {
        await delay(100);
        await delay(100);
    }

    const p = f();
    await clock.runAllAsync(); // note the async method

    expect(await p).toBeUndefined();
});

I have a similar situation to @nikopavlica, which i believe is the same issue.
I have some code that I want to test which is similar to this one:
timers.js
module.exports = async function () {
    async function timers() {
        console.log('I am executing');
        await Promise.resolve();
        setTimeout(timers, 1000);
    }
    timers();
    return Promise.resolve();
};

My test code is as follows:
const test = require('../src/timers');

describe('testing timers', () => {
    it('tests timers', async () => {
        jest.useFakeTimers();
        jest.spyOn(console, 'log');

        test();

        jest.advanceTimersByTime(4001);
        // jest.runAllTimers();  // result is the same if I replace previous line with this one
        expect(console.log).toHaveBeenCalledTimes(3);
    });
});

And the test fails with the following output:
expect(jest.fn()).toHaveBeenCalledTimes(expected)

    Expected number of calls: 3
    Received number of calls: 2

No matter how much I advance the timers by, or event if I tell just to run all queued code with jest.runAllTimers(), the result is always the same, only 2 calls to console.log.
But replacing jest timers with the actual sinon timers solves the problem:
describe('testing timers', () => {
    it('tests timers', async () => {
        const clock = require('@sinonjs/fake-timers').install();
        jest.spyOn(console, 'log');
        await test();

        await clock.tickAsync(2001);

        expect(console.log).toHaveBeenCalledTimes(3);
    });
});

I now get the 3 console logs as expected and the test to pass. Furthermore, the proper correlation between the argument to tickAsync and the number of console.log calls exists.

I encountered this issue whilst writing tests this week. Unfortunately, I was unable to get it to work by switching to the sinon timer library and had to tweak my code. I had something like the following:
const withRetries = ({ attempt }) => async (...args) => {
  let retryCount = 0
  do {
    const result = attempt(...args)

    if (result) {
      return result
    }
    await new Promise(resolve => setTimeout(resolve, 2 ** retryCount * 100))
  } while (retryCount++ <= 2)

  return null
}

const productIdentifierWithRetries = withRetries({ attempt: productIdentifier })
await productIdentifierWithRetries()

In short, it's a generic constructor function that wraps any function and retries it multiple times (full credit, modified from SO). The time to wait increases exponentially. Here's where things get weird though.
In a test case where we have to delay some time, Jest's timer mocking works just fine. However, in tests where it should return null after several failed attempts, the test times out. I checked the maths and adjusted the number of attempts so it would fall well under the timer constraint but it still failed.
I managed to fix this by changing
await new Promise(resolve => setTimeout(resolve, 2 ** retryCount * 100))

to
await new Promise(resolve => setTimeout(resolve, 200))

IE waiting a constant time each loop. I really don't understand why this happened, and it's frustrating to have to change implementation to address test concerns, but at least I got it to work.

OP is fixed via #12572 by using advanceTimers: true. Available in https://github.com/facebook/jest/releases/tag/v28.0.0-alpha.8


FFMPEG necessary to convert RTSP to fragemented mp4

Hello, when pulling raw RTSP stream, do u used ffmpeg under the hood to convert to mp4 or does to library does that independently.
If so is there a place in the code i could be refered to and potentially use it in a custom solution?

FFmpe is not used
https://github.com/AlexxIT/go2rtc/tree/master/internal/mp4
https://github.com/AlexxIT/go2rtc/tree/master/pkg/mp4
https://github.com/AlexxIT/go2rtc/tree/master/pkg/iso


HAWQ-784. Refine the document of 'hawq register'

Refine the document of 'hawq register' to give user information about data types mapping between HIVE and HAWQ.

@ictmalili What's the status of this pull request?

@xunzhang We haven't pull this code to master. I think we can modify the test cases part, and don't modify the document part in this pull request. What's your opinion?

@ictmalili No thoughts, just want to know the status of this pull request. Does the interface and usage included in this pull request still being discussed in mailing list?

@xunzhang No, it has already been partially finished, at least for release 2.0.1. So I think we can extract the test cases out and establish a new pull request to push the code in.

Agree.

Close this pull request, the test cases part is covered by a new pull request: https://github.com/apache/incubator-hawq/pull/782


.NET Core 2.0 support

[x] I read and understood how to enable logging

Issue / Steps to reproduce the problem
Trying to authenticate a ASP.NET Core 2.0 project with IdentityServer4.
However the authentication part of ASP.NET has undergone some major changes: https://github.com/aspnet/Announcements/issues/232
The only issue so far is:

Reference to type 'AuthenticationOptions' claims it is defined in 'Microsoft.AspNetCore.Authentication', but it could not be found

Startup.cs:
using IdentityServer4.AccessTokenValidation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Serialization;
using System;
using System.IdentityModel.Tokens.Jwt;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Authentication.Cookies;

namespace API
{
    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            // Authenticate with IdentityServer4
            services.AddAuthentication(options => {
                options.DefaultChallengeScheme = OpenIdConnectDefaults.AuthenticationScheme;
                options.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationScheme;
            });

            // Add framework services
            services.AddMvc();
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IServiceProvider serviceProvider)
        {
            // Authenticate with IdentityServer4
            JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
            app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
            {
                Authority = Configuration.GetValue<string>("Authentication:Authority"),
                ApiName = Configuration.GetValue<string>("Authentication:ApiName"),
                ApiSecret = Configuration.GetValue<string>("Authentication:ApiSecret"),
                SupportedTokens = SupportedTokens.Both,
                RequireHttpsMetadata = false
            });

            app.UseMvc();
        }
    }
}

Project.csproj:
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <PreserveCompilationContext>true</PreserveCompilationContext>
  </PropertyGroup>
  <PropertyGroup>
    <PackageTargetFallback>$(PackageTargetFallback);dnxcore50;portable-net451+win8</PackageTargetFallback>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="IdentityServer4.AccessTokenValidation" Version="1.2.0" />
    <PackageReference Include="IdentityServer4.AspNetIdentity" Version="1.0.1" />
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview1-final" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0-preview1-final" />
  </ItemGroup>
</Project>

Relevant parts of the log file
N/A

https://github.com/IdentityServer/IdentityServer4/issues/1055

v1 and v2 of aspnet core and not compatible. Run IdentityServer on asp.net core 1.x for the time being.

Dup: https://github.com/IdentityServer/IdentityServer4/issues/1055

When will the IdentityServer4 example projects implementing the .NET Core 2.0 SDK be available? Can I sign up on a list to get notified when they do? Thanks.

Interested here as well. When will 2.0 support be available?

Same issue here. Please post the solution once updated

It's available in this repo...
Host project: https://github.com/IdentityServer/IdentityServer4/tree/dev/src/Host
Nuget package: https://preview.nuget.org/packages/IdentityServer4/2.0.0-preview4

Erwin:
Thanks for the update! My company has had great success in implementing our proto-type projects with IdentityServer4 (v1.0) and definitely has its sights set on upgrading to v2.0 just as soon as our “Proof-Of-Concept” (POC) has been demonstrated.
Good work to you and the IdentityServer team for an outstanding, Open Source product that really meets the demands of today’s ever-changing complexities for real-world Internet products. Ones that require Secure Servers to dispense top-notch, quality services and products.
Regards,
Robert Hyland
President & CEO,
Hyland Computer Systems, L.L.C
(E<EMAIL_ADDRESS>From: Erwin Wildenburg<EMAIL_ADDRESS>Sent: Saturday, September 2, 2017 12:33 PM
To: IdentityServer/IdentityServer4<EMAIL_ADDRESS>Cc: Hyland Computer Systems, L.L.C<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [IdentityServer/IdentityServer4] .NET Core 2.0 support (#1173)
It's available in this repo...
Host project: https://github.com/IdentityServer/IdentityServer4/tree/dev/src/Host
Nuget package: https://preview.nuget.org/packages/IdentityServer4/2.0.0-preview4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/IdentityServer/IdentityServer4/issues/1173#issuecomment-326762091 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADtu5GaxTAXera9qS0yS0KBp6daaHudAks5seZ9UgaJpZM4NbgGf .

Hello everyone,
I still have the same issue:
Reference to type 'AuthenticationOptions' claims it is defined in 'Microsoft.AspNetCore.Authentication', but it could not be found.
here:  app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions...
I have:
"IdentityServer4" Version="2.0.0-preview4"
"IdentityServer4.AccessTokenValidation" Version="1.2.1"

Hi vitalbsk
I had the same issue. I removed Microsoft.AspNetCore.All (2.0.0) package and added Microsoft.AspNetCore (2.0.0) & Microsoft.AspNetCore.Mvc (2.0.0), it resolved my issue.

@shanakaip thanks. But it doesn't work for me.

We just released RC1 today. Have a look, and you should be looking at the updates quickstart UI code.

I just tried installing the latest IdentityServer4 RC1 package from nuget and I still get the same error, "error CS7069: Reference to type 'AuthenticationOptions' claims it is defined in 'Microsoft.AspNetCore.Authentication', but it could not be found" :(

My guess is that you're trying to upgrade an old 1.1 app. You need to gut the csproj and start clean. That's not an IdentityServer problem.

My guess is that you're trying to upgrade an old 1.1 app. You need to gut the csproj and start clean. That's not an IdentityServer problem.

It's actually a fresh Asp.Net Core 2 WebAPI. Just to make sure I created a new WebAPI project for Asp.Net Core 2 and added the same call to UseidentityServerAuthentication and got the same error:
            app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions             {                 Authority = "http://localhost:50151",                 RequireHttpsMetadata = false,                 ApiName = "scope.readaccess"             });

Ah, I assumed this was in the IdentityServer host. UseIdentityServerAuthentication is our authentication middleware -- it's not yet been ported to ASP.NET Core 2.

@meds you can see from my working demo code on how to setup: https://github.com/rizamarhaban/IdentityServer4Demo

Ah, I assumed this was in the IdentityServer host. UseIdentityServerAuthentication is our authentication middleware -- it's not yet been ported to ASP.NET Core 2. Use the Jwt Bearer from Microsoft in the meantime.

Any ETA when this will be supported?

Any update on that?

rc1 has been released two weeks ago.

@leastprivilege I still get the same error even with rc1

Actually from IdentityServer4 Version 2.0.0 onwards (including preview releases and release candidates, the Configuration of AuthenticationServices have been moved to ConfigureServices method instead of Configure method in the Startup class.
Try using services.AddAuthentication(...).AddIdentityServerAuthentication(scheme, options) in ConfigureServices() method instead of the old one in the Configure() method.
I hope you understand this!.

TechnicalGanesh:
I understand the code your are referring to in Startup.cs and I appreciate any other development snippets, pseudo-code or advice that you have to offer on the upgrade to IDSVR2.0
Thanks,
Robert Hyland
President & CEO,
Hyland Computer Systems, L.L.C
(E<EMAIL_ADDRESS>(P)<PHONE_NUMBER>
From: technicalganesh<EMAIL_ADDRESS>Sent: Monday, September 11, 2017 8:43 AM
To: IdentityServer/IdentityServer4<EMAIL_ADDRESS>Cc: Hyland Computer Systems, L.L.C<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [IdentityServer/IdentityServer4] .NET Core 2.0 support (#1173)
Actually from IdentityServer4 Version 2.0.0 onwards (including preview releases and release candidates, the Configuration of AuthenticationServices have been moved to ConfigureServices method instead of Configure method in the Startup class.
Try using services.AddAuthentication(...).AddIdentityServerAuthentication(scheme, options) in ConfigureServices() method instead of the old one in the Configure() method.
I hope you understand this!.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/IdentityServer/IdentityServer4/issues/1173#issuecomment-328551405 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADtu5BXnHM_JBiwybPhXpPPluVvfO-W6ks5shUb2gaJpZM4NbgGf .

You can find the QuickStart sample here
https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts
Particularly at Hybrid flow authentication for your case!

`app.UseJwtBearerAuthentication(new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions
{
Authority = authority,
RequireHttpsMetadata = false,
        })`

The Microsoft's Middleware is obsolete now!. What am I supposed to do now?

@waqaskhan540 you can see from my demo here https://github.com/rizamarhaban/IdentityServer4Demo

Is this gone now:
            JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
            var identityServerValidationOptions = new IdentityServerAuthenticationOptions
            {
                Authority = Configuration.GetSection("IdentityServerSettings:Host").Value,
                AllowedScopes = new List<string> { "api" },
                ApiSecret = "apiSecret",
                ApiName = "api",
                SupportedTokens = SupportedTokens.Both,
                //For development(put true if want https mah nigga):
                RequireHttpsMetadata = false
            };

            app.UseIdentityServerAuthentication(identityServerValidationOptions);

there is no more middleware UseIdentityServerAuthentication.

Are AutomaticAuthenticate and AutomaticChallenge obsolete for IdentityServerAuthenticationOptions?
I changed settings from
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
            var identityServerValidationOptions = new IdentityServerAuthenticationOptions
            {
                Authority = Configuration.GetSection("IdentityServerSettings:Host").Value,
                AllowedScopes = new List<string> { "Api" },
                ApiSecret = "ApiSecret",
                ApiName = "Api",
                AutomaticAuthenticate = true,
                SupportedTokens = SupportedTokens.Both,
                AutomaticChallenge = true,
                RequireHttpsMetadata = false
            };

            app.UseIdentityServerAuthentication(identityServerValidationOptions);

to
            services.AddAuthentication()
                .AddIdentityServerAuthentication(x =>
                {
                    x.Authority = Configuration.GetSection("IdentityServerSettings:Host").Value;
                    x.AllowedScopes = new List<string> { "Api" };
                    x.ApiSecret = "ApiSecret";
                    x.ApiName = "Api";
                    x.SupportedTokens = SupportedTokens.Both;
                    x.RequireHttpsMetadata = false;
                });

Addition to @nukec answer: you need
install-package IdentityServer4.AccessTokenValidation    (ver2.0+)

        services.AddAuthentication()
            .AddIdentityServerAuthentication(x =>
            {
                x.Authority = Configuration.GetSection("IdentityServerSettings:Host").Value;
                x.AllowedScopes = new List<string> { "Api" };
                x.ApiSecret = "ApiSecret";
                x.ApiName = "Api";
                x.SupportedTokens = SupportedTokens.Both;
                x.RequireHttpsMetadata = false;
            });

I had InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found.
so I needed to add this:

services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
.AddIdentityServerAuthentication(x=>
{
                    x.Authority = "xxx";
                    x.ApiName = "xxx";
                    x.RequireHttpsMetadata = false;
});

and in configure method:
app.UseAuthentication();
services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
Adds the default schema
of course You'll need to add package and using IdentityServer4.AccessTokenValidation;
This applies to IdentityServer4.AccessTokenValidation ver 2.1

@nukec asked if AutomaticAuthenticate and AutomaticChallenge are obsolete and what the replacement is but there doesn't seem to be an answer posted. Could someone please confirm what has happened to these two properties?


Window transparency does not work under Windows

Is your issue REALLY a bug?

[X] My issue is indeed a bug!
[X] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
Window transparent background does not work, it renders as solid black color, under Windows11.
Setting wgpu in features changes nothing.
Note: My gpu is an Nvidia card 4070, driver uptodate
Test program:
Cargo.toml
[package]
name = "transparency"
version = "0.1.0"
edition = "2021"

[dependencies]
iced = { version = "0.12", features = ["wgpu", "debug"] }

main.rs
use iced::theme::Palette;
use iced::widget::container;
use iced::window::Level;
use iced::{
    executor, mouse, Application, Color, Command, Element, Length, Rectangle, Renderer, Sandbox,
    Settings, Size, Theme,
};

pub fn main() -> iced::Result {
    let settings = Settings {
        id: Some("test".into()),
        window: iced::window::Settings {
            size: Size::new(200f32, 200f32),
            transparent: true,
            level: Level::AlwaysOnTop,
            ..iced::window::Settings::default()
        },
        antialiasing: true,
        ..Settings::default()
    };
    TestApp::run(settings)
}

struct TestApp {
    theme: Theme,
}

#[derive(Debug, Clone, Copy)]
enum Message {}

impl Application for TestApp {
    type Executor = executor::Default;
    type Flags = ();
    type Message = Message;
    type Theme = Theme;

    fn new(_flags: ()) -> (TestApp, Command<Self::Message>) {
        (
            TestApp {
                theme: Theme::custom(
                    "main".to_string(),
                    Palette {
                        background: Color::TRANSPARENT,
                        ..Theme::default().palette()
                    },
                ),
            },
            Command::none(),
        )
    }

    fn title(&self) -> String {
        String::from("test")
    }

    fn update(&mut self, _message: Self::Message) -> Command<Self::Message> {
        Command::none()
    }

    fn view(&self) -> Element<Self::Message> {
        container("1234")
            .height(Length::Fill)
            .center_x()
            .center_y()
            .into()
    }

    fn theme(&self) -> Theme {
        self.theme.clone()
    }
}

What is the expected behavior?
Window transparency should work
Version
crates.io release
Operating System
Windows
Do you have any log output?
No response

Same issue on windows 10 with an rx 6700 xt on the latest drivers (24.10.1)

Same for me
Setting the window style to transpartent makes it black

#![windows_subsystem = "windows"]
use iced::{Element, Result, Background, Color, Border, Shadow, Length, Alignment};
use iced::widget::{button, container, Column, Space, Text};
use iced::window::Settings;

pub fn main() -> Result {

    let window_setting = Settings {
        decorations: false,
        size: iced::Size::new(500.0, 450.0),
        transparent: true,
        ..Settings::default()
    };

    iced::application("Test", TextInputApp::update, TextInputApp::view)
        .window(window_setting)
        .style(|_state, _theme| iced::application::Appearance {
            background_color: Color::TRANSPARENT,
            text_color: Color::WHITE,
        })
        .run()
}

#[derive(Default)]
struct TextInputApp {}
#[derive(Debug, Clone)]
enum Message {}

impl TextInputApp {

    fn update(&mut self, message: Message) {}

    fn view(&self) -> Element<'_, Message> {
        container(self.view_success())
            .style(|theme| container::Style {
                background: Some(Background::Color(Color::from_rgba(0.1, 0.1, 0.1, 0.95))),
                border: Border {
                    radius: 20.0.into(),
                    width: 0.0,
                    color: Color::TRANSPARENT,
                },
                text_color: None,
                shadow: Shadow::default(),
            })
            .padding(1)
            .into()
    }

    fn view_success(&self) -> Element<'_, Message> {
        let content = Column::new()
            .width(Length::Fill)
            .height(Length::Fill)
            .align_x(Alignment::Center)
            .push(Space::with_height(Length::FillPortion(1)))
            .push(Text::new("Test").size(24))
            .push(Space::with_height(Length::Fixed(20.0)))
            .push(Space::with_height(Length::FillPortion(1)));

        container(content)
            .width(Length::Fill)
            .height(Length::Fill)
            .into()
    }

}

same issue on windows 11 24H2 with the previous version was all fine

Same on MacOS. I just tried the gradient example and it gives me a dark gray background instead of becoming transparent.


Compile FreeType with HarfBuzz support

FreeType is currently compiled without HarfBuzz support on Linux and macOS, which can lead to incorrect hinting of glyphs from languages that require more complex text shaping.
Similar as within the Windows builds, this circular dependency can be addressed as follows:

Compile FreeType without HarfBuzz support (-Dharfbuzz=disabled or --without-harfbuzz).
Compile HarfBuzz with FreeType support.
Compile FreeType with HarfBuzz support (-Dharfbuzz=enabled or --with-harfbuzz).

https://fedoraproject.org/wiki/Changes/EnableHarfBuzzInFreeType might also be relevant here.

This problem seems to break emoji fonts entirely in the built version of libvips on Linux and macOS, as per https://github.com/lovell/sharp/issues/3959.
I spent a day trying to fix this, but it turns out that building circular dependencies with autotools is easier said than done. Specifically, I was shocked to find that pkg-config actually segfaults due to stack overflow when trying to traverse the dependency tree after freetype is rebuilt against harfbuzz as suggested in this issue.
I am not experienced enough with these arcane C build systems to figure out a workaround to this segfault - the only real lead I found was that pkgconf could maybe be used instead of pkg-config, as it is capable of the impressive feat of resolving circular dependencies without a stack overflow.

It looks like pkg-config >= 0.28 is needed to support circular Requires dependencies.
https://bugs.freedesktop.org/show_bug.cgi?id=7331
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/6d6dd43e75e2bc82cfe6544f8631b1bef6e1cf45
Amazon Linux 2 only provides version 0.27.1 and doesn't include the newer and actively maintained pkgconf, which is now generally preferred over pkg-config.
In the meantime, this issue can be resolved with a simple sed replacement, I just opened PR #218 for this.


Feat: Adding Hover effect on the Thumb Button

Describe the feature
Adding Hovering effect on the thumb button which is displayed on the Song will make the site more interactive
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Kcode15
Go ahead


[Feedback] Margins / DarkMode / Whitespace afterward word

║
╚════════╗
FEEDBACKS ║
╔════════╝
║

Problem ➔ Currently the text is too close to the edge of the app
Sugestion ➔ Offer predefined (or configurable) margin options

2. Problem ➔ Currently the dark mode uses very contrasting colors, which makes the eyes tired in a few minutes. I love #282C34 (background) / #ABB3BF (text)
Sugestion ➔ Offer theme color customization

3. Problem ➔ When I double click on a word it selects the word and the whitespace right after it.
Solution ➔ It would be nice to just select the word without the whitespace afterward.

For 1 & 2 you can download the source of Notepads and build your own version with any modifications you want.
For 3, it is default feature of RichEdit implemented by Microsoft and I have no control over it.


Study guide

Hi Volkan
I've 2 questions??
I used to develop desktop applications, but now i need to develop an aplication for web, I started using visual studio (completely different from the basic i learned :) ) and I found Serenity, it's great!!!!  but I find out the need to study to understand the application. What topics do you suggest to study??
I had develop a static web page to show some information about the company, what is the best way to integrate the serenity application with that part??? how can i call the login page in serenity???
Thank you very much for your support

Please read the guide, at least tutorials. And i think you should also read some about ASP.NET MVC in general.

Thank you


Version bump to 2.83.0

Auto-generated by fastlane 🤖
Changes since release '2.82.0':

Improve actions default values formatting (#11919) via Iulian Onofrei
Fix for regression #11917 (#11918) via Jorge
Cache groups by app_id (#11911) via Joshua Liebowitz
Add @minuscorp and @AndrewMcBurney to fastlane team (#11908) via Felix Krause

too many contributors 💯

Hi guys, if it's not too selfish, is it possible to ship this immediately? The regression #11917 breaks the aws s3 plugin I use daily. :)

@squeeish we did a release this morning so you should update your fastlane gem.
Also, if you're using https://github.com/joshdholtz/fastlane-plugin-s3
You'll also want to make sure that is up-to-date fastlane-plugin-s3

Ah thanks! :)


[WIP] feat: Add ignored-clause in cyclomatic-complexity rule

PR checklist

[x] Addresses an existing issue: fixes #4436
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
See #4489
Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

👋 ping @mouadennaciri do you plan on finishing this PR? It'd be great to have the new rule option in!

💀 It's time! 💀
TSLint is being deprecated and no longer accepting pull requests other than for security fixes. See #4534. ☠
If you'd like to see this feature implemented, you have two choices:

Recommended: Use typescript-eslint to lint your TypeScript code with ESLint ✅
Legacy: Fork TSLint and use a version with this feature 🤷♂

👋 It was a pleasure open sourcing with you!

💀 It's time! 💀
TSLint is being deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
If you'd like to see this feature implemented, you have two choices:

Recommended: Use typescript-eslint to lint your TypeScript code with ESLint ✅
Not Recommended: Fork TSLint and add this feature in the forked version 🤷♂

👋 It was a pleasure open sourcing with you!


More incremental impl of new module registry

More incremental work on new module registry... bit-by-bit slowly getting done....
Starts adding api tests, fixing up some behaviors.

hmm... not sure why the linux-debug test is failing here.


Update gemspec dependencies

Related to #27
Rake tests seem happy with Jekyll 4

i tested your code and works like a charm, thanks!!

Hi guys, I haven't merged this yet because I had trouble with the Bundler upgrade to 2.x, breaking a pipeline.
@flipacholas: Was it a requirement to upgrade bundler in order to update Jekyll?

@afaundez doesn't seem so, I've just reverted bundler and it still works.

@flipacholas with the Gemfile.lock proposed you can't bundle with ruby < 2.3.0.
Although 2.4 is the oldest ruby version in maintenance, Jekyll 3 is declared to work with ruby >= 2.1.0.

I've corrected the lock file, looks like your Travis script is fine with it


Minimal install mode (don't pull release or oc images)

Certain environments, like ARO:

Always use InstallerImageOverride
Don't care to must-gather spokes on install failures

The latter is the only thing we use the oc command for. And the release image is only used to discover the URI for the installer image and the oc image.
 Activate it by doing two things:

Set ClusterDeployment annotation hive.openshift.io/minimal-install-mode: True
Set ClusterDeployment.Spec.Provisioning.InstallerImageOverride

This will cause hive to wend its way through the provisioning flow without pulling the release or oc images. It will use the InstallerImageOverride as the source of the openshift-install binary.
NOTE: This introduces a couple of limitations:

You cannot use release image verification. (There's no release image to verify.)
Failed installs will not attempt to must-gather the spoke, even if you have the rest of the install log capture stuff configured.

Another quirk: ClusterDeployment.Status.CLIImage will be set to "<NONE>".
HIVE-2208

/hold
for testing

Got an offline ack from @bennerv
/hold cancel

/lgtm

Actually
/hold
you’re right, there’s a failure mode here that I’d like to close: namely if the second update fails, we’ll never update the condition.

you’re right, there’s a failure mode here that I’d like to close: namely if the second update fails, we’ll never update the condition.

Fixed!
/hold cancel

/test e2e

/hold
Ben reports a NPE, investigating.

Ben reports a NPE, investigating.

Sorted
/hold cancel


How to implement default color scheme?

Hello everyone,
I am trying to implement a default color scheme that is coming from superset. If, for example, superset returns a query that has color_scheme: 'bnbColors' this currently is not used automatically. So I have implemented this manually with
import { getCategoricalSchemeRegistry, CategoricalScheme } from '@superset-ui/color';
import AirBnBColorScheme from '@superset-ui/color/lib/colorSchemes/categorical/airbnb';

getCategoricalSchemeRegistry().registerValue(
  data.form_data.color_scheme, // i.e. bnbColors
  new CategoricalScheme(AirBnBColorScheme)
);

But this generates the warning backend.js:6 Item with key "bnbColors" already exists. You are assigning a new value.
So: How do I set the color scheme without triggering that warning?
Sadly I can't find any kind of documentation on this matter, hence this question...

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant.