Fuzzing core-data: 500 error on /reading/device/name/{deviceName}/start/{start}/end/{end} payload body check

🐞 Bug Report
Affected Services [REQUIRED]
core-data
Is this a regression?
Fuzzing test
Description and Minimal Reproduction [REQUIRED]
Using https://github.com/microsoft/restler-fuzzer fuzzing tool to run fuzzing test against core-data service, it produced 500 error on API /reading/device/name/{deviceName}/start/{start}/end/{end} for payload body check.
Here is how one can reproduce this error using curl:
$ curl --location --request GET 'http://localhost:59880/api/v2/reading/device/name/fuzzingtest/start/1681100000/end/1681144147?offset=1&limit=1' \
--header 'Content-Type: application/json' \
--data 'false'
{"apiVersion":"v2","message":"json: cannot unmarshal bool into Go value of type map[string]interface {}","statusCode":500}

Here is the log on core-data:
level=ERROR ts=2023-04-11T00:04:54.939913252Z app=core-data source=http.go:47 X-Correlation-ID=611392ae-d9a3-4504-b48b-f5ae3086e1c9 msg="json: cannot unmarshal bool into Go value of type map[string]interface {}"

There are two  problems from this Fuzzing test result:

the swagger file is referring to addEventRequest, this need to be changed #4522
when it gets unmarshall error on the body, that needs to return 400 instead of 500 error #4499

🔥 Exception or Error
{
    "status_code": "500",
    "checker_name": "PayloadBodyChecker",
    "reproducible": true,
    "verb": "GET",
    "endpoint": null,
    "status_text": "Internal Server Error",
    "request_sequence": [
        {
            "producer_timing_delay": 0,
            "max_async_wait_time": 0,
            "replay_request": "GET /api/v2/reading/device/name/fuzzstring/start/1/end/1?offset=1&limit=1 HTTP/1.1\r\nAccept: application/json\r\nHost: localhost:59880\r\nX-Correlation-ID: 0d49eee4-a791-4ebb-99c6-d6899edfbd81\r\nContent-Type: application/json\r\n\r\nfalse",
            "response": "HTTP/1.1 500 Internal Server Error\r\nContent-Type: application/json\r\nX-Correlation-Id: 0d49eee4-a791-4ebb-99c6-d6899edfbd81\r\nDate: Wed, 05 Apr 2023 21:15:21 GMT\r\nContent-Length: 123\r\n\r\n{\"apiVersion\":\"v2\",\"message\":\"json: cannot unmarshal bool into Go value of type map[string]interface {}\",\"statusCode\":500}\n"
        }
    ]
}

🌍  Your Environment
Deployment Environment:
EdgeX Version [REQUIRED]:
v2
Anything else relevant?

swagger file has already updated to v3 at this moment, but actually it is still v2, and tested with v2
compose builder to start services with make run no-secty dev

This was run before V3 release and could be outdated, I will rerun the fuzz test for core-data against v3, close this one for now


intel CPU/Hyper-V VM: use case corrections

Description:
As reported in issue ticket #4790 (Multiple incorrect and missing requirement descriptions), the updates proposed in this PR are mostly a direct copy from the PR attempted by @ifeomaufondu-ms in their PR #4825.
Thanks to Satoshi Tanda (@tandasat) for reporting the issue(s) and to @ifeomaufondu-ms for the vetted PR content.
Changes proposed:

Add footnote about PT2GPA and Intel PT in the Intel SDM.
Add extra bullet point for "PMU needs to be enabled".
Remove "Enable all components except IPT" cmdlet, unusable.
Add Note blob for VM gen. 9.1 / 9.3 requirements.
Update "Enable IPT" cmdlet to include required 2nd parameter.
Update "Enable all components" cmdlet to include all 4 parameters.
Update last Note blob to include missing requirement.
Update ms.date to Wednesday November 11, 2020

Whitespace changes:

added editorial blank line between metadata & page title
added editorial blank line before the last Note blob
added 2 readability line breaks in the last Note blob
added 2 missing period dots to the original PR content
added missing NewLine at end-of-page/end-of-file

Ticket closure or reference:
Closes #4790
Ref. closed PR #4825

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@illfated: I'm sorry - only the author of this article, @ifeomaufondu-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@illfated: I'm sorry - only the author of this article, @ifeomaufondu-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Thank you very much for the approval. May I also ask you to post a comment containing only "#sign-off" (without quotations) to update the PR labels? 🙂

sign-off

Sorry for being unclear. See my comment above, containing the # hashtag as well, as part of the comment:

@illfated : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Sorry, it was a difficult day yesterday. I wasn't paying attention well enough and made some mistakes in my branch updates.

@illfated @ifeomaufondu-ms Can you complete review and push it, please?

#sign-off

@illfated: I'm sorry - only the author of this article, @ifeomaufondu-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

I know. My sign-off comment is in agreement with the MS Docs team, to give this PR a bit more attention from its assignee(s).

@tandasat : Thank you for bringing this PR back to my attention, I have been wondering whether I would need to create a new PR and abandon this one.
@ifeomaufondu-ms : May I ask you to sign off this PR again, due to my erroneous closing (and reopening) back in December 2020?

@ifeomaufondu-ms, you can only sign off in the main PR conversation, not in review comments.

@ifeomaufondu-ms : Sorry about that detail. May I ask you to post a regular comment, here in the comment thread, containing the keyword #sign-off ?
Doing so will replace the PR label [do-not-merge] with the label [ready-to-merge].
Thank you very much for your time.

@illfated: I'm sorry - only the author of this article, @ifeomaufondu-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Yes, I know. I only did so to make sure I was being clear about the keyword usage. Thank you.

#sign-off

@illfated Can you tell me when will this be merged and publicized? Obviously I am not in a rush etc, but do not wish that this improvement is forgotten indefinitely.

@tandasat: Good question, wish I knew. Sometimes, there simply is not enough people around to do the jobs we need to be done. This is the case for the Microsoft Docs Windows Server team. They have got way too much to do, I don't think they will ever get as close as we would like to the bottom of this pile of issue tickets and Pull Requests. All we can do is hope that it won't take another year before this gets looked at.
@ifeomaufondu-ms , @JasonGerend , @eross-msft , @jaimeo , @billmath , @Justinha , @khdownie :
Do any of you know if it will be possible to continue using this Pull Request, or should I close this one to open a new one with identical content?

Sorry for the delay - this is merged now. Thanks again for your contributions!

Thank you for returning. Happy to see you again. 🙂


Raise specific Exceptions when LDAP-connections fail due to SSL-problems

Issue:
I recently ran multiple times into the problem, that LDAP-connection-attempts were unsuccessful, because the server-certificates could not got verified. This was due to a lack of the corresponding CA-Certificate in the central CA-system-store (in our case Ubuntu Linux).
When I was tracking down these connection-problems, I had to do trial&error to nail it down to this certificate-thing. Because bonsai just raises bonsai.errors.ConnectionError: Can't contact LDAP server. (unknown error code) (0xFFFF [-1]).
Is there a possibility to raise more specific exceptions on these SSL-related errors?
Setup:

Linux Ubuntu 20.04
Python 3.11.0
bonsai v1.5.1

Testscript:
#!/usr/bin/env python

import bonsai
from bonsai.errors import AuthenticationError, ConnectionError

bonsai.set_debug(True)

client = bonsai.LDAPClient("ldaps://ldap.domain.local")
client.set_credentials("SIMPLE", user="testuser", password="testpassword")

# client.set_cert_policy("allow")

try:
    returnValue = client.connect()
except ConnectionError as err:
    print(f"LDAP-Connection failed: {err}")
except AuthenticationError as err:
    print(f"LDAP-Authentication failed: {err}")
except Exception as e:
    print(f"Generic exception: {e}")

Output:
DBG: ldapconnection_new [self:0x7f7bcc9a35b0]
DBG: ldapconnection_init (self:0x7f7bcc9a35b0)
DBG: ldapconnection_open (self:0x7f7bcc9a35b0)
DBG: connecting (self:0x7f7bcc9a35b0)
DBG: create_conn_info (mech:SIMPLE, sock:-1, creds:0x7f7bcdf03f00)
DBG: ldapconnectiter_new [self:0x7f7bcc802740]
DBG: create_init_thread_data (client:0x7f7bcdc476d0, sock:-1)
DBG: create_init_thread (ld:0x24db110, info:0x24e7860, thread:0)
DBG: ldapconnection_result (self:0x7f7bcc9a35b0, args:0x7f7bcdd2ee80, kwds:(nil))[msgid:-1]
DBG: LDAPConnection_Result (self:0x7f7bcc9a35b0, msgid:-1, millisec:-1)
DBG: LDAPConnectIter_Next (self:0x7f7bcc802740, timeout:-1) [tls:0, state:0]
DBG: _ldap_finish_init_thread (async:0, thread:140169686472448, timeout:-1, misc:0x24db110)
DBG: _pthread_mutex_timedlock
DBG: ldap_init_thread_func (params:0x24db110)
DBG: set connecting async: 0
DBG: ldap_init_thread_func [retval:0]
DBG: LDAPConnectIter_Next (self:0x7f7bcc802740, timeout:-1) [tls:0, state:0]
DBG: _ldap_finish_init_thread (async:0, thread:140169686472448, timeout:-1, misc:0x24db110)
DBG: _pthread_mutex_timedlock
DBG: set_certificates (self:0x7f7bcc802740)
DBG: binding [state:3]
DBG: _ldap_bind (ld:0x7f7bc4000b60, info:0x24e7860, ppolicy:0, result:(nil), msgid:0)
DBG: ldapconnectiter_dealloc (self:0x7f7bcc802740)
DBG: dealloc_conn_info (info:0x24e7860)
LDAP-Connection failed: Can't contact LDAP server. (unknown error code) (0xFFFF [-1])
DBG: ldapconnection_dealloc (self:0x7f7bcc9a35b0)

(When I uncomment the line client.set_cert_policy("allow") in my code the connection gets successfully established.)

Unfortunately, If OpenLDAP doesn't set a specific return value or set a diagnostic message, then I don't think it's possible to raise a specific error.
The raised exception is based on the LDAP error code (returned by an LDAP function call or set to the LDAP structure's corresponding field), and if additional diagnostic message is provided, then it's concatenated to the exception's error message.
TLS related errors are usually only shown in libldap's trace logs. You can set trace level logging with bonsai.set_debug(True, -1).

Ok, I agree, that this is an openldap-Libraryissue. So I'll close the issue.
But thanks for the hint to the trace-logs. There I can see the real error:
[...]
DBG: _ldap_bind (ld:0x7f3764000b60, info:0x1943560, ppolicy:0, result:(nil), msgid:0)
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP ldap.domain.local:636
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying <IP_ADDRESS>:636
ldap_pvt_connect: fd: 3 tm: -1 async: 0
attempting to connect:
connect success
TLS: peer cert untrusted or revoked (0x42)
TLS: can't connect: (unknown error code).
ldap_msgfree
ldap_err2string
DBG: ldapconnectiter_dealloc (self:0x7f376a99a740)
[...]


does this support maxlength

there is no effect when I insert maxlength attribute in the input field.

is there plan to include it.


Add a generic function to construct error acks with abci codes & string const

Summary
Code is duplicated in ics27 and ics20 in package types to provide deterministic error acknowledgements that include the ABCI error code and a string constant defined at the local package level.
Application developers may want to define their own string constants to be included, however a generic approach would also be useful.
See: #777 & #794
Proposal

[ ] Add a generic function to 04-channel/types which extracts the ABCI code from a given error and returns a deterministic error acknowledgement

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

After giving this more thought. I'm very much in favor of adjusting the current channeltypes.NewErrorAcknowledgement to perform this behaviour. I'd rather require developers to explicitly work around this function (if they really want to avoid the error message extraction)

I think not (that boat has sailed), but lets get it in for v4

I actually don't think we should take in an error string as an argument. The intention behind this function is that we remove the possibility of accidental state changes via modification of the error string. I think it is very likely this function would be misused if we allowed the developers to pass in their own error string. I'd prefer to use our own constant "error handling packet: see events for details". If developers want a custom error string, they can construct their own error acknowledgement (as currently requried)

Ok, cool. Then we have to remove the NewErrorAcknowledgement for transfers and the NewErrorAcknowledgement for ICA and we refactor channeltypes.NewErrorAcknowledgement so to become
const (
	// ackErrorString defines a string constant included in error acknowledgements
	// NOTE: Changing this const is state machine breaking as acknowledgements are written into state
	ackErrorString = "error handling packet: see events for details"
)

// NewErrorAcknowledgement returns a deterministic error string which may be used in
// the packet acknowledgement.
func NewErrorAcknowledgement(err error) channeltypes.Acknowledgement {
	// the ABCI code is included in the abcitypes.ResponseDeliverTx hash
	// constructed in Tendermint and is therefore deterministic
	_, code, _ := sdkerrors.ABCIInfo(err, false) // discard non-determinstic codespace and log values

	errorString := fmt.Sprintf("ABCI code: %d: %s", code, ackErrorString)

	return Acknowledgement{
		Response: &Acknowledgement_Error{
			Error: errorString,
		},
	}
}

And we use this one everywhere.


MobiFlight crashes when analog input value can't be converted to a number

Describe the bug
MobiFlight crashes when analog input value can't be converted to a number. Reported by Jaime in Discord.
Application: MFConnector.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException
   at System.Number.StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
   at System.Number.ParseInt32(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
   at MobiFlight.MobiFlightModule.OnAnalogChange(CommandMessenger.ReceivedCommand)
   at CommandMessenger.CmdMessenger.InvokeCallBack(MessengerCallbackFunction, CommandMessenger.ReceivedCommand)
   at CommandMessenger.CmdMessenger.HandleMessage(CommandMessenger.ReceivedCommand)
   at CommandMessenger.Queue.ReceiveCommandQueue.ProcessQueue()
   at CommandMessenger.AsyncWorker.<Start>b__20_0()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

Happens here: https://github.dev/MobiFlight/MobiFlight-Connector/blob/64cc17c0ee80e458d2ede81a3b3f6dcb6ebd9840/MobiFlight/MobiFlightModule.cs#L583-L584

Another user in Discord reported MobiFlight crashing to desktop when pressing a button occasionally with an Uno. The call stack is the same, trying to convert string to an int in OnButtonPress().


Instantiate custom formatter classes with customize_event keyword arg

In my application, I want to be able to build a formatter that inherits from LogStashLogger::Formatter::Base to get its overall behavior, and also specifically want to take advantage of the customize_event functionality in that class. So I want to create a class like the following, for example:
class MyFormatter < LogStashLogger::Formatter::Base
  private

  def format_event(event)
    # mutate event here...
    "#{event.to_json}\n"
  end
end

As is, this is not possible because LogStashLogger::Formatter.build_formatter does not pass in customize_event to the initializer of custom formatter classes even when they accept that keyword arg.

It looks like there are several issues in CI, seemingly unrelated to this change. If this change looks okay, I can attempt to look into the failures.


Make travis not time out

Fix #27

CLA is valid!

Yay, travis is happy. @coruus please review/merge.


automatically migrate server list when updating off of beta

Thanks for prodding me to do this. Pretty easy in the end, tested on Win 7/8/10.

@alalamav Thanks for the fast review.


[firebase_dynamic_links] Firebase auth sign in links don't trigger onLink

I'm using firebase_auth and firebase_dynamic_links to implement passwordless login.
When I click on the link in the auth email, it opens in my app as it should but the link isn't handled (the onLink callback is not called).
The weird thing is that every other dynamic links I have work properly (they get handled in onLink).
I extracted the link from the email, it looks like this:
https://getmyapp.app/?link=https://myapp-5p4rk.firebaseapp.com/__/auth/action?apiKey=AIzaSyCEMaEKrsNTUokeWrGjo-CnNLlRk1xjvhU&mode=signIn&oobCode=r2UXpa0FotRZjD2YzMEvxBhohCwrcsd3YR63MmxR4S4AAAFxO9QVVA&continueUrl=https://getmyapp.app/links/sign_in&lang=fr&apn=app.myapp.myapp&amv=21&ibi=app.myapp.myapp&ifl=https://myapp-5p4rk.firebaseapp.com/__/auth/action?apiKey=AIzaSyCEMaEKrsNTUokeWrGjo-CnNLlRk1xjvhU&mode=signIn&oobCode=r2UXpa0FotRZjD2YzMEvxBhohCwrcsd3YR63MmxR4S4AAAFxO9QVVA&continueUrl=https://getmyapp.app/links/sign_in&lang=fr

So, from what I understand, I call is made at https://myapp-5p4rk.firebaseapp.com/__/auth/action (i'm not sure why is that step needed) and then it gets redirected to my dynamic link I configured in the console https://getmyapp.app/links/sign_in. At this point, it should open my app and onLink should trigger. But it doesn't happen.
Now if I just enter https://getmyapp.app/links/sign_in in my browser, my app open and onLink is triggered!
I don't really what is the difference and what could cause the link coming from the email not to trigger onLink... Any ideas? 😄
firebase_auth: ^0.15.5+2
firebase_dynamic_links: ^0.5.0+11
The code I use for handling the links in my app:
  @override
  void didChangeDependencies() {
    super.didChangeDependencies();
    _initDynamicLinks();
  }

  _signInWithDynamicLink(Uri link) async {
    if (link == null) return;
    final bool isSignInLink =
        await FirebaseAuth.instance.isSignInWithEmailLink(link.toString());
    if (!isSignInLink) return;
    try {
      // await FirebaseAuth.instance
      //     .signInWithEmailAndLink(email: _email, link: link.toString());
    } catch (error) {
      return showSimpleNotification(Text("Invalid email link"),
          background: Colors.red, slideDismiss: true);
    }
  }

  void _initDynamicLinks() async {
    final PendingDynamicLinkData data =
        await FirebaseDynamicLinks.instance.getInitialLink();

    _signInWithDynamicLink(data?.link);

    FirebaseDynamicLinks.instance.onLink(
        onSuccess: (PendingDynamicLinkData dynamicLink) async {
      _signInWithDynamicLink(dynamicLink?.link);
    }, onError: (OnLinkErrorException e) async {
      print('onLinkError');
      print(e.message);
    });
  }

Possible duplicate of #2221

Hi @TahaTesser,
I don't think this is a duplicate of https://github.com/FirebaseExtended/flutterfire/issues/2221 as I am having the issue on Android (dont have an Iphone to test on) and I'm not using the page.link host (I'm using a custom host).
Related to that, when I try to use the default host myapp.page.link in firebase, I get an error:

flutter doctor -v:
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.5 18F132, locale en-AU)
    • Flutter version 1.12.13+hotfix.8 at /Users/theo/flutter
    • Framework revision 0b8abb4724 (7 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/theo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Flutter requires a minimum Xcode version of 11.0.0.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.7.4

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 32.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

flutter run --verbose logs:
[   +1 ms] W/DynamiteModule(19383): Local module descriptor class for com.google.firebase.auth not found.
[        ] I/FirebaseAuth(19383): [FirebaseAuth:] Preparing to create service connection to gms implementation
[+17905 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52c9d32[MainActivity]
[+17586 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52c9d32[MainActivity]

// here I call the firebase_auth sendSignInEmail()

[ +890 ms] I/BiChannelGoogleApi(19383): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms:
com.google.firebase.auth.api.internal.zzaq@b2a1319

// here I put the app on background to open my gmail

[+9943 ms] D/FlutterView(19383): Detaching from a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@22d19ca
[+4353 ms] W/ActivityThread(19383): handleWindowVisibility: no activity for token android.os.BinderProxy@4435045

// the link open the app back

[  +22 ms] D/FlutterActivityAndFragmentDelegate(19383): Setting up FlutterEngine.
[        ] D/FlutterActivityAndFragmentDelegate(19383): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this
FlutterFragment.
[ +266 ms] D/FlutterActivityAndFragmentDelegate(19383): Attaching FlutterEngine to the Activity that owns this Fragment.
[ +218 ms] D/FlutterView(19383): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@5f58181
[   +6 ms] D/FlutterActivityAndFragmentDelegate(19383): Executing Dart entrypoint: main, and sending initial route: /
[  +11 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@ac8ea03[MainActivity]

my pubspec.yml:
dependencies:
  google_sign_in: ^4.0.0
  firebase_auth: ^0.15.5+2
  cloud_functions: ^0.4.1+6
  cloud_firestore: ^0.12.7
  geoflutterfire: ^2.0.3+5
  image_picker: ^0.5.0+3
  firebase_storage: ^3.0.1
  timeago: ^2.0.10
  geolocator: ^5.3.0
  google_maps_flutter: ^0.5.21+6
  cached_network_image: ^1.1.1
  firebase_messaging: ^5.1.8
  geocoder: ^0.2.1
  image: ^2.0.7
  provider: ^3.1.0
  fluster: ^1.1.2
  overlay_support: ^1.0.1
  responsive_image: ^0.1.0
  intl: ^0.16.1
  firebase_dynamic_links: ^0.5.0+11
  package_info: ^0.4.0+16
  flutter_secure_storage: ^3.3.1+1
  flutter_facebook_login: ^3.0.0
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_launcher_icons: '^0.7.0'
  flutter_test:
    sdk: flutter

Any updates on this? Anyone having the same issue?

Im having the same issue,the app open but the callback onLink don't trigger

Same issue here, but happening only with some iOS devices. Some iOS logins works just fine.

My app correctly detects dynamic links I create and I'm able to handle them (both initial links and when onLink is triggered).  This is on both Android and iOS devices.  However, as the original post points out, the links sent in emails by firebase_auth are not detected for some reason.  So if a user gets an email confirmation or password reset email and taps on it while holding a mobile device, it will open the mobile app but nothing happens (as far as I can see, and I just updated firebase_dynamic_links to make sure).  So I'm not sure if the problem is with firebase_auth or with firebase_dynamic_links (perhaps the latter is filtering those somehow).  Note that when the emails are sent by Firebase Auth, I have them correctly using my custom domain.
Not sure if we're supposed to explicitly set dynamicLinks: false for the /__/auth path in our firebase.json at the root of our domain or what - something like this which I haven't tried yet:
{
  "hosting": {
    "appAssociation": "AUTO",
    "rewrites": [
      {
        "source": "/__/auth**",
        "dynamicLinks": false
      },

I'm wondering if the only way to have a decent UX with Flutter at the moment is to trigger a cloud function that uses the Firebase Admin SDK so that it can make use of generatePasswordResetLink which is not available on the client side.  Then maybe passing ActionCodeSettings would allow me to force the link to be opened in a web browser instead of the mobile app.
But ideally the Firebase SDKs for Flutter would give us a parameter to tell it to send a password reset email that opens in a web browser only.  That or help us figure out how to read these links in the mobile app.  :)

Is there any update regarding this? I am having the same issue in Flutter (testing on Android). The weird thing is that if I create the link using the Python SDK and then open it, it triggers the onLink method and I am able to sign in, but if I create the link in Flutter it doesn't trigger it.

Is there any update regarding this? I am having the same issue in Flutter (testing on Android). The weird thing is that if I create the link using the Python SDK and then open it, it triggers the onLink method and I am able to sign in, but if I create the link in Flutter it doesn't trigger it.

No issues on both IOS and Android witht the latest release. I invite you guys to try it out and if it works for you too, i'll go ahead and close this issue.

No issues on both IOS and Android witht the latest release. I invite you guys to try it out and if it works for you too, i'll go ahead and close this issue.

Thanks for the feedback, @theochampion. Will close this issue now the problem has been resolved for you. Should anyone else experience any problems, please create a new issue.


Update method to create configMap

Instead of CLI kubectl create configmap use a file and kubectl create -f  to create the configuration map for Alluxio env variables

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5182/
Test PASSed.


Request for Next.js App router mode support

What is the feature you are proposing?
Overview
The current hono/vercel doesn't appear to support the App Router mode of Next.js 13.
App Router is recommended by Vercel and should be supported.
Detail
In App router mode in Next.js 13, I got this error with /api route created as documented.
- error Detected default export in '{MASKED}/hono-next13-support-repro/src/app/api/[...route]/route.ts'. Export a named export for each HTTP method instead.
- error No HTTP methods exported in '{MASKED}/hono-next13-support-repro/src/app/api/[...route]/route.ts'. Export a named export for each HTTP method.

(but moved the file location from /pages/api/[...route].ts to /app/api/[...route]/route.ts. See this document for details.)
I think this error is caused by the transition from App Routes to Route Handlers, where the function that does the export has been changed from handler() to GET(), etc.
Keep in mind that if this problem is corrected, it will no longer be compatible with Page Router.
I've created a repository that reproduces this issue, please refer to it.
Proposed Solution

Rename the current handle function to something like legacyHandle.
Create a new handle function that exports a function that resolves requests per mesot.
I don't think it is very cool to import & export handle functions separately for each method used.
It would be nice if it could be solved with one function as it is now, but I don't know of any way to do that.

Simply rewrite as follows:
export const GET = handle(app)

Or, you can write it without the adapter as follows.
import { Hono } from 'hono'

export const config = {
  runtime: 'edge'
}

const app = new Hono().basePath('/api')

app.get('/hello', (c) => {
  return c.json({
    message: 'Hello Next.js!'
  })
})

export const GET = app.fetch

My problem is now solved. Thank you so much. I will close this Issue.
May I submit a PR to add this method to the documentation?

Hi @nabeken5
That was great!

May I submit a PR to add this method to the documentation?

Ah, yes please! You can add the description to this page and the repo is here.
Thanks!


Trying to run testproject/benchmark.py with default values endless loop...

I am writing some documentation about how to run testproject/benchmark.py:
README.rst
Unfortunately, once the docker image is running, running the benchmark code using default parameters goes into space (after ramping up), repeating:
10 open, 17 total

Endlessly.
Is this maintained and expected to work?  I didn't really delve into the code as my focus at the moment is on understanding how to run things, not to be digging into the code until I can at least run it successfully.

No, that's not how it's supposed to work; have you tried running it locally rather than via Docker?

(I haven't touched it in the last few months so it might also be broken, but I don't have time to check till next week)

It runs against the server started with manage.py runserver and completes.
The Docker version endlessly loops.
I updated  README.rst with the instructions for running locally as well.

I was able to reproduce this issue, and found that the MyClientProtocol generates a new fingerprint when the connection does not succeed, leaving the original entry in stats. This leads to spawn_connections not creating any new connections, and the benchmark never completes.

Ah, lovely! Thanks for looking into this.


Non-pinned posts not shown in home

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar reports on existing issues (including closed ones).
[x] I found the bug on the latest code of master branch.

Describe the bug

Non pinned posts do not show in the home page.
To Reproduce
Steps to reproduce the behavior:
Install the theme using the instructions
Create a post
Notice that it only shows on Home if pinned

Expected behavior

Recent posts should show under "Pinned" in the home page
Screenshots

Software

Ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-gnu]
Gem version: 3.1.2
Bundler version: Bundler version 2.2.15
Jekyll version: jekyll (4.2.0)

Desktop

Smartphone

Additional context

This issue was reported in #305 but was removed for not meeting the template. IMO, the strict template enforcement is unnecessary when the issue is so obvious.

Duplicate of #218

... IMO, the strict template enforcement is unnecessary when the issue is so obvious.

The checklist of issue templates is a guide for the questioner to self-treat (many issues are invalid or repeated). And the operation details and soft environment are crucial for the maintainer to quickly locate the problem. Hope you can understand.

Duplicate of #218


Fixes #237

Added serverHeader command line argument to allow disabling the server header from ecstatic

The build failure was a red herring, but I'm going to hold off on merging this until it gets some more +1s from the community.

@owencraig if you're still interested in this PR, could you rebase onto the current master and ensure tests run correctly? Thank you!

I'm going to close this for now since the PR is over three years old. Please reopen if there is renewed interest!


Fix bugs

This pull-request makes the following changes:

EditLessonCommand now

switches to the lesson list in the UI when the new date and start-time clashes with any existing lessons
displays a list of conflicting lessons (like in AddLessonCommand)

EditStudentCommand now

switches to the student list in the UI when the new student is a duplicate student (like in AddStudentCommand)

when searching for a lesson, keywords will now also be matched against the lesson subject (in addition to their name)

Codecov Report

Merging #171 (7d6aaf3) into master (835f891) will increase coverage by 0.05%.
The diff coverage is 73.33%.

@@             Coverage Diff              @@
##             master     #171      +/-   ##
============================================
+ Coverage     48.80%   48.85%   +0.05%
- Complexity      573      576       +3
============================================
  Files           124      124
  Lines          2672     2675       +3
  Branches        290      291       +1
============================================
+ Hits           1304     1307       +3
  Misses         1283     1283
  Partials         85       85

Impacted Files
Coverage Δ

...eedu/address/logic/commands/EditLessonCommand.java
0.00% <0.00%> (ø)

...eedu/address/logic/commands/FindLessonCommand.java
0.00% <0.00%> (ø)

.../address/logic/parser/FindLessonCommandParser.java
0.00% <0.00%> (ø)

...edu/address/logic/commands/EditStudentCommand.java
97.05% <100.00%> (ø)

.../LessonNameOrSubjectContainsKeywordsPredicate.java
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Relevance

Relates to https://github.com/datamade/la-metro-councilmatic/issues/309
This PR handles, but does not directly relate to parts of the META attachment text search issue. Thus, it can be merged to master and pushed to production immediately (rather than waiting to finalize the attachment_text_search branch).

I am deploying this via commit to the staging site, so that Metro staff can take a look.

This PR also handles concerns raised here: https://github.com/datamade/la-metro-councilmatic/issues/340
It is a WIP, due to a issue in django-councilmatic, wherein the capturing of params does not preserve the sort order.


Ensure ListPeers is randomly selecting a list a peers

The current testnet is improperly peering, everyone seems to peer only with our kubernetes nodes.

Hmmm...with visibility/observability in mind in regards to this, just wondering how much effort is needed to fix the Coda_Net_seed_peers metric (and maybe add an ordered, perhaps comma-separated list of peers as a tag).

Still trying to reproduce this. I was able to manually peer with some testnet participants, but it doesn't seem that this extended to my own peer list growing beyond those few -peer arguments. However I also discovered that some of the participant nodes are not actually reachable on their libp2p ports, for example one in Digital Ocean was unreachable.

fyi, I was able to peer to another node I had running yesterday.


feat: update helm chart to support aws

📲 What
Update the Helm chart to support AWS deployments
🤔 Why
Currently we use different methods for Azure and AWS deployments to Kubernetes. Helm charts are dynamic and can support both.
🛠 How

Update the Helm chart for dynamic configuration based on cloud provider.
Switch deploy task to use helm
Update pipeline to set Helm variables

👀 Evidence
🕵 How to test
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

Nice one mate, thanks for this


Richtext can we add image support

Hello, the actual RichText component dont support adding images in the html, can you add this option ?
because now when i past a picture in richtext component it's add new image webpart

I have made a PR to support images in the control.
It could be much better, but it's a start. :)

I have made a PR to support images in the control.
It could be much better, but it's a start. :)

Thank you, do you know when will the release date ?

@moezbouattour I don't know. @AJIXuMuK ?

Hello @moezbouattour,
The next release date would probably be around mid November.
In a meanwhile you can use beta version


scale only one curve in overview

naive solution: factor in table?
perhaps better: click on a curve and then zoom with moouswheel

Problem is in transmittance mode. In absorbance there is a way to scale curve separately in the spectra-displayer module preferences.

implemented by @lpatiny


LLMClient Initialization Issue with OnEnable

Hi there. I have tried implementing the project and it works very good so far. Thanks and props to you!
However in our project we create LLMClient's dynamically using AddComponent. However the usage of OnEnable causes some issues with this. OnEnable is called immediately when gamobject.AddComponent is called. Because of this settings the prompt has some issues.
I had this issue with Unity's own AudioSources aswell and a workaround I use is turning the game object off, adding the component and turning the gameobject on again.
gameObject.SetActive(false);
llmclient = gameObject.AddComponent<LLMClient>();
llmclient.prompt = suspectInstance.Suspect.GeneratePersona();
gameObject.SetActive(true);

I would suggest using Awake or the Start  methods instead of OnEnable as there is no behaviour like OnDisable.

Thank you for the contribution :clap: !
I didn't think about that, good point.
I'd rather not add it in the Start because I'd like the server to start before any script calling it, but both OnEnable and Awake are both fine with me.
I'll test the PR and add it in v1.0.2!

Thanks, about the start function is a great point! I am unsure is moving to awake is the best. What I was also thinking was maybe to create a setting like enableOnAwake or startOnEnable etc. That will be set true by default by the custom editor but the default value is false.

Good point. I don't think there is a way to pass an argument when adding a component dynamically though (with AddComponent<LLMClient>()).
I have added your implementation as well as your example in the Readme.md here.
Let me know if you have any comments!


Rework debug_logger module

The goal of debug_logger is to serialize the state of the widget tree in real time, to a stream that can be read by an external debugging application which can inspect the stream and display what the widget tree looked like at a given time, and inspect internal values and stuff.
While said debugging application has proven extremely invaluable for me for debugging masonry, I don't expect anybody else to use it, as its UX right now is absolutely abysmal. I do intend to improve it eventually.
In the meantime, debug_logger is a pretty clunky, unwieldy tools. Among other problems:

It requires trace calls in a bespoke format to be added everywhere in the code.
It feels superfluous with tracing already in the codebase.
Its performance for non-trivial cases is terrible.
It adds a dependency to serde, whereas we want to trim dependencies (#10)

Now, I think debug_logger is an idea that has some real potential. In my ideal vision, it would be a record-replay framework of sorts, one that would produce a lightweight record of the widget tree and application state over time. It would probably use the tracing crate as the serialization layer, and it would do some fancy caching to only record changed information to avoid unnecessary overhead.
I need to write a full design document for that ideal logger, and then get started on implementing it.

Note that the debug logger is in limbo state. Among other problems, I've lost the code of the external debugging application I originally used.


Resuming in a later session results in corrupted uploads

How is one supposed to track parts as they are uploaded? Our app needs to upload giant files, and we need to handle poor internet connections. So there's not always a chance that the upload will ever send out a pause event.
Currently we are tracking parts from the part event and adding them to an array. When I use the UploadId and Parts from a previous session, s3-upload-stream always starts from the beginning and ends up uploading too much, corrupting the file.
Here's how we're calling s3-upload-stream
const destinationDetails = {
  // ...
}

const sessionDetails = {
  "UploadId": "SECRET_UPLOAD_ID",
  "Parts": [
    {
      "ETag": "\"ee72b288175a979f6475b7241dcb9913\"",
      "PartNumber": 1
    },
    {
      "ETag": "\"e33260ba6180f1294592f25985c0109e\"",
      "PartNumber": 2
    }
  ]
}

const uploader = s3Stream.upload(destinationDetails, sessionDetails)

uploader.on('part', details => {
  console.log(details)
})

And if we see what the part event logs:

{
  "ETag": "\"ee72b288175a979f6475b7241dcb9913\"",
  "PartNumber": 3
}

It's the exact same ETag we passed in via sessionDetails, and it gets uploaded as another part, which corrupts the file.

Did you find answer ?? . i am facing the same issue , can't get answer , can you please help me ??


Remove content register

DB will need to be deleted manually.

This is really cool, thanks @elliotcm. Feel free to click merge whenever and we'll try it on integration :+1:
Just to reiterate the things you mentioned:

There will need to be more changes once this is deployed to remove the leftover stuff
The database will need to be dropped manually


Add a make task for creating 'test_requirements.txt'

I‘m not going to have time to do this as part of #3.

Also done (but with tox).


Perform basic_auth check if endpoint is present.

[x] Extract, parse, and match authentication type with a known-list of supported methods (consider using an enum type structure).
[x] Depending on auth type, an object will be created that will handle authentication verification accordingly (suggestion: use polymorphism).
[x] Provide appropriate failure messages.
[ ] Document on README.md supported auth types.
[x] Write tests with tokens that have wrong auth types and valid auth types.

Done.


Add an AppVeyor configuration for Windows CI

wow quick

I think they are running because this output only comes from tests:
52.20% odd number
47.80% even number
0.10% zero
50.80% odd number
49.20% even number
0.10% zero
61.00% no whitespace
39.00% has whitespace
50.30% odd number
49.70% even number
0.10% zero
[WARN] When comparing doubles consider using tolerance, eg: a shouldBe (b plusOrMinus c)
[WARN] When comparing doubles consider using tolerance, eg: a shouldBe (b plusOrMinus c)
:kotlintest-tests:test SKIPPED
:kotlintest-extensions:kotlintest-extensions-allure:compileKotlin

I think that SKIPPED line is a misnomer because gradle creates the junitTest scope?

On the other hand, I do see test result artifacts for that build:
https://ci.appveyor.com/project/sksamuel/kotlintest/build/1.0.3/tests
Need to look into this a bit more.

Easist way to test it is to break a test.

Like this one failed (not on purpose!)
https://ci.appveyor.com/project/sksamuel/kotlintest/build/1.0.4
Maybe something to do with the gradle cache?

Nope, that's probably a Java 9 issue which I'm using on AppVeyor. Does kotlintest support Java 9?

I've never tried. I assumed it would just work - it's rare for JDK's to not be backwards compatible. I'll add it to the travis grid.

Anyway, let me revert to Java 8 on AppVeyor for now.

Ok, I've added it to travis.

https://travis-ci.org/kotlintest/kotlintest/builds/365333173

Yeah, same error as on AppVeyor with Java 9: https://travis-ci.org/kotlintest/kotlintest/jobs/365333175#L776

Looks like they removed javax/xml/bind/annotation/XmlElement from Java9.

With Java 8 AppVeyor works again: https://ci.appveyor.com/project/sksamuel/kotlintest/build/1.0.11

Ok cool. If my fix works for java 9 on linux I'll try java 9 again on windows.

Although I suppose it doesn't matter a great deal which JDK to use. JDK 8 is the long term support release.

Actually, let me either add a matrix build for Java 8 and Java 9 on AppVeyor similar to Travis then, or we simply test Java 9 only on Linux, which probably is enough.

Failed anyway. https://travis-ci.org/kotlintest/kotlintest/builds/365337808

That was my fault actually. Trying again.

Ok green on both.


recipe scan sort

It would be an imporvement if it was possible to change the sorting of recipe scan result from the result page it self by clicking the column headers instead of having to go into scan options and re-run the scan in order to change the sorting.

Currently not possible, but may be implemented in the future


"The execution reached the maximum number of history events (25000)."

I rebuilt my genome with my pair of *.fastq.gz (from Dante, Illumina) against hg38, and it mostly worked. After a little more than a day (docs estimated 3-4 hours) Step Functions finally failed in the "WaitForOmicsWorkflow" loop with a "The execution reached the maximum number of history events (25000)." error message. The Omics workflow says it completed successfully, and I think that's true. My *output bucket contains the 7 various outputs I would expect (bam, vcf, et al), only Step Functions gave up before attempting PostWorkflowIngest. I attempted to use https://github.com/awslabs/aws-sfn-resume-from-any-state.git to restart from where it left off, but it appears this code wasn't expecting the sort of error I got. I imagine I could figure out what the PostWorkflowIngest steps are doing and do them manually, but wanted to know if there's some configuration I should twiddle to avoid this in the future. Also just wanted to inform you of the result of my experimental use of your code.

Thanks for trying out the solution and posting the issue. Could you include the logs from the CheckWorkflowTask lambda function? Also, have you tried re-running it from the beginning? Just want to check if it is reproducible or a transient error.

For long running jobs, the amount of polls are causing the Step Functions execution history events to reach the hard quota of 25000. For now, a workaround is to increase the duration between polls in "e2e-sfn-stack.yml" template to reduce the number of events. A long term fix is added as a to do item.


Update README.md

Added a proposed solution if users run into the Flask <2.0 issue.

@jonesclarence37 thanks for the tip! I just released 0.8, which should fix this issue.

No problem at all! I'm glad to be able to pitch in.


Consolidate ascii spinner stop in devtools activation

status.stop() in catch was throwing because the timer was already stopped and nulled out.  Consolidate the status stop calls into one finally block.
Introduced in #73366
Fixes https://github.com/flutter/flutter/issues/75677

We really need to make the BufferLogger spinners hit this same assert

That's a good idea.

The devtools launcher is somewhat standalone, could we write a test with this using a fake logger?

There are already tests that exercise the exception case https://github.com/flutter/flutter/blob/f2bb39d6b622b5517eb516e1e8b1eda99eb363df/packages/flutter_tools/test/general.shard/devtools_launcher_test.dart#L206
The status.stop() in the catch throws the The method 'cancel' was called on null seen in the crashes.
https://github.com/flutter/flutter/blob/021311ed8a2c182d3237330e5d8ae4c4937b3d76/packages/flutter_tools/lib/src/devtools_launcher.dart#L155-L168
So the original exception caught could be:

pub global activate succeeds, status.stop() is called, then _persistentToolState.lastDevToolsActivationTime = DateTime.now() throws? I don't see how though, the persisting config seems fine.
https://github.com/flutter/flutter/blob/73506f36f7d8ecc9b18d3b98f1e09ed7f97edce1/packages/flutter_tools/lib/src/persistent_tool_state.dart#L148-L150

2.pub global activate fails, status.cancel() is called, and _logger.printError('Error running pub global activate devtools:\n${_devToolsActivateProcess.stderr}') throws.  I don't see how that could be either.
Let me think about how to test this by simulating either one or two.


⚠ Redacted has degraded performance

In 3a64822, Redacted ($RED) experienced degraded performance:

HTTP code: 200
Response time: 7875 ms

Resolved: Redacted performance has improved in 1f54fe0.


Fix regression from GCM mode refactoring

Fixes #18896

Since this is fixing a CI, I think it qualifies as urgent and have merged it to master.
Merging it will also tell if it succeeds at fixing the issue which is seems to have do.


Harvesting - Problem when importing harvesting private key on other device - node is not saved

Steps:

Start harvesting on one device (you have link node, vrf, remote).
Try import a private key on another device

Result:

Which is correct. When we fill node we receiving correct status of harvesting:

But when we now go to other view and go back node is cleared. It shouldn't be.

fixed

Fixed in integration branch


integ-cli: remove ICMP dependency from test, use nslookup

As we started running CI machines on Azure cloud and Azure
doesn't have ICMP stack implemented (yes, you heard right)
replacing ping <IP_ADDRESS> with  nslookup google.com.
Signed-off-by: Ahmet Alp Balkan<EMAIL_ADDRESS>cc: @tianon @jfrazelle @icecrime

@tiborvass @tianon updated to use ping google.com, it is much simpler now.

LGTM

LGTM


Potential super-spreader identification and notification

Summary
It has been estimated that only 10% of the cases cause 80% of the infections. Individuals with a high amount of contacts are most likely to a) be infected and b) transmit their infection, i.e. the relative probability to transmit Sars-CoV-2 is proportional to the amount of contacts squared.
Here I suggest adding a new feature to the CWA, which notifies individuals of a high amount of contacts, so that they can take extra precaution, in particular to frequently apply the forthcoming Lateral Flow Tests approved for self-testing for COVID-19, or simply change their behavior.
App User Experience
The CWA displays the individual potential exposure risk relative to the average across CWA app users. If a particular threshold is exceeded, recommended extra precautions, such as frequent self-testing, are displayed.
Users are asked if they agree to donate their potential exposure risk. This agreement is optional, the proposed feature can also be used when not agreeing to a donation.
RKI User Experience
The UI allows to set the average and threshold of potential exposure risk, which are to be transmitted to the app.
The UI allows to download the donated individual potential exposure risks, e.g. as CSV. From this data, the average and a suitable threshold for potential exposure risk can be computed. By identifying which of the donated individual potential exposure risks came from those tested positive, the hypothesis that a high potential exposure risk correlates with being tested positive can be quantified and the threshold can be fine-tuned.
Implementation
The potential exposure risk is computed within the app the same way as the exposure risk, but assuming that all contacts were exposures to a positive individual.
If the user has agreed to donate their individual potential exposure risk, it is transmitted to the server when connecting to the server for downloading the keys of positively tested users.
The server transmits the average and threshold of potential exposure risk to the app when downloading the keys of positively tested users.
Benefits

Users with a high potential exposure risk are made aware of that fact and are encouraged them to take extra precautions, such as frequent COVID-19 testing. This allows for a more economic use of available testing resources by focusing on those with the highest risk to be exposed to and transmit Sars-CoV-2.
Users made aware of a high potential exposure risk may change their behavior, such as trying to have fewer close contacts.
The data collected by the individual potential exposure risk donations allows to verify the usefulness of of the provided feature and gives additional insight into the way Sars-CoV-2 is transmitted.
The display of a high potential exposure risk in the app may serve as a qualification to receive free testing or test kits for self-administration.
The continuous update of the potential exposure risk in the app may improve the acceptance of the app, as it is more interesting when something individual is happening more frequently than the regular exposure risk.

Internal Tracking ID: EXPOSUREAPP-5021

Related Issues:
#213
#240
#246

Related Issues:
#213
#240
#246

Hello community,
We have added this feature request to our internal Jira ticketing system. The developers are informed and will decide if and how the feature will be implemented together with the RKI. We will notify you about updates on the status of the feature requuest here on Gthub.
Regards,
CH

Corona-Warn-App Open Source Team

Great Issue/Feature. I am new here, so pardon if this is not the right format or place for my addl. ideas relating to cluster situations.
In cluster situations, when the user is warned, they should also be invited to make logs in their Diary.
In cluster situations, users should be prompted if they would voluntarily 'donate' their location data, (transmitted to RKI and/or Local Health Authority) so that the local health authority can be made aware of Where and When a cluster occured (without knowing WHO was part of it). Not sure if this is Privacy conform, but maybe it can be adjusted in a way to protect the individual right to privacy.
After a cluster situation the user is notified where or how he/she may obtain a test.
After a cluster situation the user is notified daily of what symptoms to look out for.
The user can opt out of notifications.

Closing this issue as the related internal ticket is set to obsolete.
Developer comment:

The people who have a much higher risk to get infected, because they have constantly more contacts to other people, will statistically automatically get more "Low Risk" and "High Risk" states with normal todays usage of the CWA. So they get the warning and related info how to behave already today.
The technical limitations of the ENF do not allow to get more information about other smartphones, which are not using the CWA.
So, the additional information from donated "potential exposure risk" could not lead to a better warning behaviour.


Worked on issue #199 SayIt

Say It 🔊
Description 📜

These Extension help the user to convert the Entered Text To Speech which will help to learn how to pronounce that entered text . Sounds cool 😎right

Fixes #199

Type of change 📝

New feature (non-breaking change which adds functionality)

Domain of Contribution 📊

[x] HTML
[x]  CSS
[x] JS

Checklist ✅

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added required screenshot/gif depicting the working of the project in the folder
[x] I am a GSSoC'22 contributor

Screenshots / Gif 📸

https://user-images.githubusercontent.com/85748264/159112155-223c0ae3-d3df-498c-8ae7-d09710ab9573.mp4

Awesome 👏
Kindly add a picture of the extension also in readme file
Rest is good!

Awesome 👏 Kindly add a picture of the extension also in readme file Rest is good!

@harshita214  I've Added the picture in readme file , kindly pls check it whether you can view it or not at your end .

@harshita214 ??

Awesome ✨
Merging the PR 🚀
Thanks for contributing 💛


Fixed Bug with Tab Switching overriding Alerts Page Commands

What type of PR is this?
bug
What this PR does / Why we need it?
Which Jira/Github issue(s) does this PR fix?
This fixes the input issue causing tab switching to override other commands in the alerts page. The tab switching will now work in the order. Press Ctrl + B to enter escape state/mode. Press 1 - 9 to switch to that tab. This shortcut is similar to native tmux
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[x] Ran unit tests locally against the changes
[x] Included documentation changes with PR

Codecov Report

Merging #129 (1655bd3) into main (c4a0e91) will decrease coverage by 0.11%.
The diff coverage is 0.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   14.40%   14.29%   -0.11%
==========================================
  Files          22       22
  Lines        1305     1315      +10
==========================================
  Hits          188      188
- Misses       1096     1106      +10
  Partials       21       21

Impacted Files
Coverage Δ

pkg/ui/input.go
0.00% <0.00%> (ø)

pkg/ui/tab.go
0.00% <0.00%> (ø)

pkg/ui/tui.go
0.00% <0.00%> (ø)


aws-sdk-cpp: remove flaky test

Motivation for this change
removing another flaky test on aws-sdk-cpp https://hydra.nixos.org/build/150722293/nixlog/1
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

These flaky AWS tests are making me suspicious. Hydra failure:
/tmp/nix-build-aws-sdk-cpp-1.8.130.drv-0/source/aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp:584: Failure
Expected equality of these values:
  Aws::Region::US_WEST_2
    Which is: "us-west-2"
  config.region
    Which is: "us-east-1"
/tmp/nix-build-aws-sdk-cpp-1.8.130.drv-0/source/aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp:585: Failure
Expected equality of these values:
  "Dijkstra"
  config.profileName.c_str()
    Which is: "default"

This looks like a data race between:
https://github.com/aws/aws-sdk-cpp/blob/1.8.130/aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp#L577
https://github.com/aws/aws-sdk-cpp/blob/1.8.130/aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp#L744
What do you think? Maybe we should file an issue upstream and disable parallel testing instead. (The tests ran in 4 seconds on Hydra, so even in serial they should still be quick.)

I think you are right here.
I've tried disableParallellCheck. I think it's worth trying. If we see another occurence of the bug we can always think again.
I've created a clean version of that fix in https://github.com/NixOS/nixpkgs/pull/136645
(I'm not sure why github is not happy with this commit).


Failed: EXIT_CODE: Execution failed on minion with exit code 1

hi
I'm trying to use your plugin , but I'm facing this problem when I run the job:
job result
  BBS02-host.xx.net  1 Step FAILED 0.00:04
  Remote Salt Execution 6:37:05 pm 0.00:04
18:37:05	Authenticating with salt-api endpoint: [https://<IP_ADDRESS>:8000/login]
18:37:05	Submitting job with salt-api endpoint: [https://<IP_ADDRESS>:8000/minions]
18:37:05	Received jid [20160216183705472542] for submitted job
18:37:05	Polling for job status with salt-api endpoint: [https://<IP_ADDRESS>:8000/jobs/20160216183705472542]
18:37:09	"root"
18:37:09	Failed: EXIT_CODE: Execution failed on minion with exit code 1

job function
cmd.run 'whoami'

check  saltstack job with curl
curl -k https://<IP_ADDRESS>:8000/jobs/20160216183705472542 -H "Accept: application/x-yaml"   -H "X-Auth-Token: 4fecdc62f8e8eef3a39d1b4fa17500b10ac5b1c0"
info:
- Arguments:
  - whoami
  Function: cmd.run
  Minions:
  - BBS02-host.xxx.net
  Result:
    BBS02-host.xxx.net:
      return: root
  StartTime: 2016, Feb 16 18:37:05.472542
  Target: BBS02-host.xxx.net
  Target-type: glob
  User: mysaltapi
  jid: '20160216183705472542'
return:
- BBS02-host.xxx.net: root

Best Regards.

problem is resolved
https://github.com/rundeck-plugins/salt-step/issues/6


feat: possibility to add a normalizer on route in APM config

I've created another test file, because tests seem to be run in parallel making it hard to tests in the same file two different APMs

Codecov Report

Merging #2 (0953349) into master (46d9ad4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           50        54    +4
  Branches         7         9    +2
=========================================
+ Hits            50        54    +4

Impacted Files
Coverage Δ

index.js
100.00% <100.00%> (ø)

src/http_hook.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


TestFunctions.testClasses -> TEST_CLASSES

It's a static final field.

It would be great if fabric-filament can detect this, since the same mistake is happening in other place https://github.com/FabricMC/yarn/pull/2308#discussion_r611027554.

I added something like that to Filament locally, and it produced a whole bunch of field naming errors.
I'm not 100% sure if the field naming checks should be erroring since it could make snapshot ports annoying. (imagine Mojang moving a field from static final to instance final etc.) @modmuss50 Do you have an opinion on this since you're usually the one porting?

Shouldn't we consider these fields as constants? We probably need to update CONVENTIONS.md for clarification on these cases.
non-final, but static and effectively final
lint: net/minecraft/util/math/Vec3f.POSITIVE_Z: non-static or non-final field starts with uppercase character 'P'
lint: net/minecraft/util/math/Vec3f.POSITIVE_X: non-static or non-final field starts with uppercase character 'P'
lint: net/minecraft/util/math/Vec3f.POSITIVE_Y: non-static or non-final field starts with uppercase character 'P'
lint: net/minecraft/util/math/Vec3f.ZERO: non-static or non-final field starts with uppercase character 'Z'
lint: net/minecraft/util/math/Vec3f.NEGATIVE_X: non-static or non-final field starts with uppercase character 'N'
lint: net/minecraft/util/math/Vec3f.NEGATIVE_Y: non-static or non-final field starts with uppercase character 'N'
lint: net/minecraft/util/math/Vec3f.NEGATIVE_Z: non-static or non-final field starts with uppercase character 'N'

Although they are non-final, they are static and their value is never changed after the initialization.
non-static, but final and effectively static
lint: net/minecraft/client/render/debug/ChunkLoadingDebugRenderer.LOADING_DATA_CHUNK_RANGE: non-static or non-final field starts with uppercase character 'L'
lint: net/minecraft/entity/passive/FoxEntity.CalmDownGoal.WORRIABLE_ENTITY_PREDICATE: non-static or non-final field starts with uppercase character 'W'
lint: net/minecraft/entity/mob/PhantomEntity.FindTargetGoal.PLAYERS_IN_RANGE_PREDICATE: non-static or non-final field starts with uppercase character 'P'
lint: net/minecraft/client/gui/screen/StatsScreen.ItemStatsListWidget.HEADER_ICON_SPRITE_INDICES: non-static or non-final field starts with uppercase character 'H'
lint: net/minecraft/client/gui/screen/TitleScreen.null.MULTIPLAYER_DISABLED_TEXT: non-static or non-final field starts with uppercase character 'M'
lint: net/minecraft/entity/mob/VexEntity.TrackOwnerTargetGoal.TRACK_OWNER_PREDICATE: non-static or non-final field starts with uppercase character 'T'

Although they are non-static, they are final and their value is same for each instance.

IMO uppercase names shouldn't be used for constant instance fields, but I agree that fields like Vec3f's default instances should be considered constants. We really need a clarification in the conventions for this.
I'll introduce a severity level for the check in Filament, so that it'll still show up as a warning (since it generally is wrong to assume static fields to be constant).

I wouldnt make it fail when porting as it will just slow things down. That does make it hard to enforce, not too sure what the awswer is.

What about a workflow that only checks it on pull_request events? That way, direct commits aren't checked but any contributions are.

This issue was fixed by #2624.


Add add_control/create_editor_property to EditorInspectorPlugin

Godot version:
v3.1.alpha.calinou.5b8dde4
OS/device including version:
Not relevant.
Issue description:
Right now it is possible to overload the Inspector draw to add custom controls, if you want to create completely new controls but what about adding builtin controls?
I propose that add_control function should be added. Something in the lines of
add_control(object, type, path, hint, hint_text, usage)
that could create the builtin control and link it to the object variable. then the object would handle the set and get using the _set, _get variables. I know that can be done via _get_property_list() but we can't control the order in which the properties are draw to screen, so this new function would give more power to create custom inspectors.
Ideally it would be even better to have a static method (that could be inside EditorInspectorPlugin or EditorInspector):
create_editor_property(type, property_name) -> Control:
that would return a control that could be added later to a custom control in order to control layout in a easy way
another thing (this is a suggestion and I wanted to gather some discussion points) it would be neat to link the _set and _get functions of the target class with the ones or with equivalent functions in EditorInspectorPlugin class. It makes more sense that the inspector related stuff is kept all in the same place and mix resource/scene data with with inspector logic is not very clean.
Steps to reproduce:
N/A
Minimal reproduction project:
N/A

There is add_custom_control() method, which probably covers this.
If not, open a proposal.

Possibly relevant: https://github.com/godotengine/godot-proposals/issues/8908


Cuonglm/remove useless sprintf 4

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #20 (a2f6991) into master (6098d7e) will increase coverage by 0.07%.
The diff coverage is 70.51%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   63.42%   63.49%   +0.07%
==========================================
  Files         563      569       +6
  Lines       37433    53253   +15820
==========================================
+ Hits        23742    33815   +10073
- Misses      11832    17521    +5689
- Partials     1859     1917      +58

Impacted Files
Coverage Δ

client/flags/flags.go
21.05% <0.00%> (-1.17%)
:arrow_down:

crypto/ledger/ledger_secp256k1.go
52.89% <0.00%> (+0.21%)
:arrow_up:

types/events.go
82.77% <ø> (+3.33%)
:arrow_up:

x/auth/keeper/account.go
51.11% <ø> (+2.62%)
:arrow_up:

x/bank/keeper/migrations.go
33.33% <0.00%> (-16.67%)
:arrow_down:

x/capability/types/keys.go
100.00% <ø> (ø)

x/distribution/client/cli/tx.go
4.52% <0.00%> (+0.54%)
:arrow_up:

x/genutil/client/cli/gentx.go
0.00% <0.00%> (ø)

x/gov/client/cli/query.go
0.00% <0.00%> (ø)

x/auth/client/cli/query.go
1.98% <5.10%> (+1.98%)
:arrow_up:

... and 601 more


Adams County, PA missing streets

Around 10/2022 Adams County, PA lost all of its street names. It looks like the fields in the current source no longer exist. Here's what the schema looks like today (sample query):
OBJECTID_1: [46074](https://mapping.adamscounty.us/arcgis/rest/services/AGOL/Address_Parcels/MapServer/0/46074)
OBJECTID: 33916.0
PARCEL_ID: 43046-0043---000
ST_NUM: 17
PROP_LOCAT: 17 PERSIMMON TRL
COMMUNITY: CARROLL VALLEY BORO
LAST_EDIT:<PHONE_NUMBER>000
Point:
X: 2073500.1580383927
Y:<PHONE_NUMBER>4938908

Units were also missing; should be resolved in PR


Digital Miner Texture

Hi there,
A quick warning, this is in 1.7.10-<IP_ADDRESS>1 and not 1.10+, so if this isn't fixed in due time because of the work on future versions that is fine with me. The bug in question is with the Digital Miner when it is active and mining blocks, there is a OpenGL error and the texture turns completely white, I am quite surprised this hasn't been fixed already.

1.7.10 isn't supported /close @aidancbrady


Embeded schema support

Looking for some feedback on this. It’s working in my project but the labels aren’t so nice. Maybe there is a better way to do this.
Any suggestions on improvements are welcome. Thanks

need to look at this after #278 is merged...

<3 <3

@smpallen99 I guess we can close this PR now that the changes have been merged in?


Add provisioning underway seconds metrics.

Report a metric labelled by cluster name, namespace, and type, for any
cluster that is currently provisioning or deprovisioning. Value is the
number of seconds since it was created/deleted. Once the job completes
we will reset the value to 0 and then stop reporting it which should
limit cardinality.
This should be a better solution to the per-cluster metrics we want to
alert on. This change removes the two metrics we had prior which were
install restarts plus a success boolean metric, which had to be
correlated to know if there was still a problem.
This solution catches situations where no install job gets created, does
not require correlating any metrics against each other, and allows us to
easily alert after any time period we wish.

/lgtm


ldap over TLS : Result Code 200 "Network Error": ldap: already encrypted

What version of Go are you using (go version)?

$ go version : go1.15.8

Does this issue reproduce with the latest release?
YES
What version of Go-Guardian are you using ?

Go-Guardian Version: v2.9.0

What did you do?
Here is the content of our setupGoGuardian
func setupGoGuardian() {

rootCA, err := x509.SystemCertPool()
if err != nil {
	log.Printf("Failed to load system cert:%v", err)
	// return nil, err
}
if rootCA == nil {
	log.Printf("root ca is nil")
	rootCA = x509.NewCertPool()
}

certs, _ := ioutil.ReadDir("ad_certs")
for _, cert := range certs {
	if !cert.IsDir() {
		ldapCert, err := ioutil.ReadFile(fmt.Sprintf("ad_certs/%s", cert.Name()))
		if err != nil {
			log.Printf("Failed to read ad cert:%v", err)
			continue
		}
		ok := rootCA.AppendCertsFromPEM(ldapCert)
		if !ok {
			log.Printf("AD cert of %s is not addeded.", cert.Name())
			continue
		}
	}
}

cfg := &ldap.Config{
	BaseDN: "xxxxxx",
	BindDN: "xxxxxx",
	Port: "636",
	Host: "xxxxx",
	TLS: &tls.Config{
		ServerName:         "xxxx",
		RootCAs:            rootCA,},
	BindPassword: "xxxx",
	Filter:       "xxxx",
}

cacheObj = libcache.FIFO.New(0)
cacheObj.SetTTL(time.Minute * 5)
cacheObj.RegisterOnExpired(func(key, _ interface{}) {
	cacheObj.Peek(key)
})

strategy = ldap.NewCached(cfg, cacheObj)
}

and a basic sample middleware :
func middleware(next http.Handler) http.HandlerFunc {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
	log.Println("Executing Auth Middleware")
	user, err := strategy.Authenticate(r.Context(), r)
	if err != nil {
		code := http.StatusUnauthorized
		errorstring := fmt.Sprintf("%s", err)
		http.Error(w, errorstring, code)
		log.Printf("%s", err)
		return
	}
	log.Printf("User %s Authenticated\n", user.GetUserName())
	next.ServeHTTP(w, r)
})

What did you expect to see?
the authentication should be validated. that work perfectly without TLS (clear LDAP on port 389) ... but not supported soon
What did you see instead?
we got this error message from ldap provider :  LDAP Result Code 200 "Network Error": ldap: already encrypted
Could you please drive us to the solution ??
Thank you so much for your help and have a nice day.
Best regards.

Oh... i just see the pull request !! https://github.com/shaj13/go-guardian/pull/92

i will try the new version :) thank you !!!


Codecov.io not working

At second to the last step of travis build, we're sending coverage report to codecov.io which isn't working.
When we visit codecov.io, we don't see any coverage report properly, there's a browser extension from codecov.io which can overlay coverage right on github. Right now it's not doing anything. It's definitely a nice feature.

I had a look into it and tried it out. In reality it's just a tiny badge for the repository, which currently isn't really worth the effort.
At least the priority is super low for now.
The parts of the code that feature codecov is a fragment of my testing. Sorry :p


Merge master and add gstreamer1.0-alsa for Alpine

merge commit https://github.com/alpine-ros/rosdistro/commit/e14f6c00b2ea769f3172959e469ff347aefe1c15
gstreamer1.0-alsa: https://github.com/alpine-ros/rosdistro/commit/060b64258cd9aa2a101d2589d7722cd3ef616e13

@f-fl0 please take a look


[TASK] Improve modal positioning in mobile breakpoints

Currently they are always centered on the screen, but for mobile breakpoints we could place them at the bottom and set a max-height + scroll for them, to give a better "Bottom-sheet" mobile-like experience.
Tasks

[ ] On mobile breakpoints, place all modals to be attach to the bottom of the screen.
[ ] Consider adding a max-height to prevent the modal from taking up the entire screen, and allowing the user to scroll.
[ ] Check all modals for responsiveness, and ensure they properly handle mobile breakpoints.

Preview

Not as relevant, closing for now.


fix: sidebar getting stuck at 0

Description
Fixes:
https://www.notion.so/oaknationalacademy/Sidebar-getting-stuck-at-0-10-sections-e3d486efcb334db58af9439778d0c31c

I got a 404 on the help page. I wonder if it should use a query param rather than baking into the URL?

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


[FEATURE] Add append functionality through extension interface to blobstore-fs and blobstore-azure

Affected project(s)

[ ] documentation
[ ] examples
[ ] wasmCloud host
[ ] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[X] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Is your feature request related to a problem? Please describe.
I would like to be able to develop distributed applications that take advantage of Azure Append Blobs for concurrent-safe append-only data. However, the wasi:blobstore interface does not have support for append and it's not clear when or if that will happen.
Describe the solution you'd like
I discussed this with @brooksmtownsend and he suggested we add append as an extension interface to blobstore-fs and blobstore-azure`. This seems like the right approach and would allow people to use concurrent-safe append if the provider they're using supports that functionality.
Describe alternatives you've considered
We could wait for wasi:blobstore to add this feature but it might take a while or never happen at all.
Additional context
I would like to volunteer to help get this done.

Something we'll need to tackle as we start this is the right way to continue to use the wrpc-interface-blobstore crate and extend with additional interfaces. The blobstore providers seem more like a special case since they do not have a wit folder.

@esoterra I think I'm a fan of option 1 until wit gets support for adding additional methods to a type. Seems like it would be really easy to extend in that way. Was there one you were leaning towards?


Make use of Unix.registerInteral(...) to register native methods of t…

…he unix module
Motivation:
We need to ensure we only register the methods for unix-native-common once as otherwise it may have strange side-effects.
Modifications:

Update to snapshot that expose the required method / functions
Adjust code

Result:
Be able to have different native transports on the classpath without problems

This depends on https://github.com/netty/netty/pull/10932

This depends on https://github.com/netty/netty/pull/10932


If there is no “=” sign at the end. The decode string will be incorrect.

eyJhdWQiOlsiY29tbW9uIiwiY3VzdG9tIl0sImV4cCI6MTYyNjg1ODYwNCwidXNlcl9uYW1lIjoiYWRtaW4xQDEiLCJqdGkiOiI1YzZkOTBmNi1hNTg0LTRkNWItOTc4Zi1mM2M2YTcyNDRhOTgiLCJjbGllbnRfaWQiOiJjbGllbnRfZmpsYW5kYW9fd2ViIiwic2NvcGUiOlsidHJ1c3QiXX0
If there is no “=” sign at the end. The decode string will be incorrect.
It can be parsed with other Base64 libraries. Such as crypto-js.
Other language also normal, such as: JAVA, OC

I could not reproduce your claim, at least on the recent version.  If you append \u0000 to the decoded string and encode again, you will get:
eyJhdWQiOlsiY29tbW9uIiwiY3VzdG9tIl0sImV4cCI6MTYyNjg1ODYwNCwidXNlcl9uYW1lIjoiYWRtaW4xQDEiLCJqdGkiOiI1YzZkOTBmNi1hNTg0LTRkNWItOTc4Zi1mM2M2YTcyNDRhOTgiLCJjbGllbnRfaWQiOiJjbGllbnRfZmpsYW5kYW9fd2ViIiwic2NvcGUiOlsidHJ1c3QiXX0A
As you see A is added and without that the trailing \u0000 does not happen.


A11y_Azure Tools Storage Explorer_Get Shared Access Signature_Shared Access Signature_ScreenReader:While reading "Learn more about the permission" link, Narrator also announce something which is not present in the screen.

GitHub Tags:
#A11yMAS; #A11yTCS; #Win11; #DesktopApp; #A11ySev2; #Azure Tools Storage Explorer; #MAS1.3.1; #ScreenReader; #Narrator; #FTP; #Benchmark;
Actual results:
After reading the link "Learn more about permissions", Narrator also reads something else which is not present in the screen.
Expected results:
Narrator should only announce "Learn more about permissions" when the focus is on "Learn more about permissions" link.
Environmental Details:
Application: Microsoft Azure Storage Explore
version: 1.24.0
OS Details
Microsoft Windows 11 Enterprise
version 21H2 OS Build 22000.613
Repro Steps:

Launch Storage Explorer
Navigate to "Open Connect dialog" pane and Sign in to Azure.
Go to "Manage Accounts" pane and Select the subscriptions you will use. Once selected, click on "Open Explorer" button.
right click on blob and select "Get Shared Access Signature" control and hit enter.
Turn on the Narrator .
Verify the "Learn more about permissions" link is MAS compliant.

User Impact:
User might get confused if radio buttons on focus is being read as "heading level 1".
"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."
Attachments
https://user-images.githubusercontent.com/105198219/168077125-59efd1f4-9f67-4f65-9e11-30d0dc827676.mp4

This bug is not reproducing when NVDA screen reader is used. Hence closing the bug .


Consistent copy mnemonic behavior

Currently, the "copy to server" functionality deletes the existing mnemonics, and only then starts the copy operation. Meanwhile when performing the "paste" operation, the mnemonics are spliced by removing the target interval from the target, and then filling it with the source data. Splicing happens on the WITSML server side, the only difference in our API is that we call delete on the mnemonics with "copy to server" but not "paste". To ensure consistent behavior, both "copy to server" and "paste" should show the same modal when attempting to copy mnemonics. The modal should show an option to either replace (current "copy to server" functionality) or splice (current "paste" functionality) the data. Both operations should be sufficiently explained in the modal.
Moved from WE-410

It seems like other properties of the LogCurveInfo object are only copied when the corresponding LogCurveInfo object does not already exist in the target log. When the object exists, and it therefore splices the logs, the properties are not copied. I don't know if this is intended or a bug, but it's worth to keep in mind when making the behavior consistent.


Add restrictions to WP GraphQL endpoint

Need to investigate if there's some way for us to limit which origins/URLs are allowed to request data from our WordPress database since, at the moment anybody anywhere could query the entire database for its articles and use them wherever they want, which is a bit iffy.
I think there's a setting in one of the plugins to restrict this, so it's worth taking a look. Another option could be to require a password which you include in the request body. Could then add this as an environment variable in GitHub Pages and use it at build time without it being exposed on the live site.

Here's a link to the documentation surrounding authenticating your requests: https://www.wpgraphql.com/docs/authentication-and-authorization/


Gradle generates Kotlin DSL accessors for Configurations with invalid identifiers

Current Behavior
Gradle generates Kotlin DSL accessors for Configurations with invalid identifiers.
Expected Behavior
Gradle does not generate Kotlin DSL accessors for Configurations with invalid identifiers.
Context (optional)
A full stop, ., is not a valid Kotlin identifier.
If a Gradle plugin creates a task with a . in its name, then Gradle does not generate a Kotlin DSL accessor for it. It is filtered out by isLegalAccessorName(it.name).
https://github.com/gradle/gradle/blob/6b781e8cac1aa2259e83ad97853b9b13b7f3f2e5/platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/CodeGenerator.kt#L308
However, if a Gradle plugin creates a Configuration with a . in its name, then the same check is not applied.
https://github.com/gradle/gradle/blob/6b781e8cac1aa2259e83ad97853b9b13b7f3f2e5/platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt#L212
The result is that Gradle will generate invalid accessors for these Configurations. In projects that use included-builds for plugins, then this causes compilation failures as the accessors are compiled.
Steps to Reproduce
demo.zip
Gradle version
8.10
Build scan URL (optional)
No response
Your Environment (optional)
No response

The issue is in the backlog of the relevant team and is prioritized by them.


[csgo-vulkan-fix] Failure in initilization (hook failed)!

I can't seem to get the plugin to load.
Compiled hyprland from github master with: sudo make install
Compiled hyprland-plugins csgo-vulkan-fix from github master with: make all
I tried running hyprland with strace and looking through the logs but couldn't find anything.
Problem
[malts@rei csgo-vulkan-fix]$ hyprctl plugin load /home/malts/src/hyprland-plugins/csgo-vulkan-fix/csgo-vulkan-fix.so
ok

Same thing seems to happen if I define the plugin in hyprland.conf like so:
plugin = /home/malts/.config/hypr/csgo-vulkan-fix.so

plugin {
    csgo-vulkan-fix {
        res_w = 1024
        res_h = 768
    }
}

plugin requires AMD64 (aka x86-64)
Are you perhaps on ARM?

@vaxerski AMD64, Ryzen 7 3700X

OOOOPS, fixed. 35ca302ff78e4c8b3305967ca53321577b8b50ea

@vaxerski Wonderful, that fixed it! Thanks :+1:

I am having this problem with the latest version.
└─$ hyprpm -v reload
[v] version returned: Hyprland, built from branch main at commit a60c7283e677ed81a466d1c0c864c8a05e192cac  (xwayland: verify new xsurf is valid in prop reads).
Date: Wed May 29 09:34:25 2024
Tag: v0.40.0-144-ga60c7283, commits: 4750

flags: (if any)

[v] parsed commit a60c7283e677ed81a466d1c0c864c8a05e192cac at branch main on Wed May 29 09:34:25 2024, commits 4750
✔ Ensuring plugin load state
✔ Loaded csgo-vulkan-fix
✔ Plugin load state ensured


Webview Inset API not showing HTML

Issue Type: Bug, can reproduce with a minimal repo on Linux and Windows.
The Webview Inset API from #85682 and #66418 does not appear to work. Here is how to reproduce:

Create Inset with the API vscode.window.createWebviewTextEditorInset()
Add the html with inset.webview.html = ...
The Webview appears, but the HTML is never displayed (see black space between line 9-10)

I know it's a proposed API, so I'm running on insiders, with enableProposedApi: true. It shows the space correctly, so I don't think it's a problem on my end.
Here is the snippet I used, as well as a reproduction repository:
export function activate(context: vscode.ExtensionContext) {
  context.subscriptions.push(
    vscode.commands.registerCommand('myExtension.sayHello', async () => {
      if (!vscode.window.activeTextEditor) {
        return;
      }
      const editor = vscode.window.activeTextEditor;

      const line = editor.selection.active.line;
      const inset = vscode.window.createWebviewTextEditorInset(editor, line - 1, 10);
      inset.onDidDispose(() => {
        console.log('WEBVIEW disposed...:(');
      });
      inset.webview.html = getWebviewContent(); // Some HTML with a remote image in it
    })
  );
}

Repro: https://github.com/lollobaldo/vscode-trial

Launch extension being developed
Run command Inset:: Demo session: inset appears, but html is not displayed

VS Code version: Code - Insiders 1.62.0-insider (ff1e16eebb93af79fd6d7af1356c4003a120c563, 2021-10-29T07:49:33.336Z)
OS version: Linux x64 5.4.0-80-generic
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3310)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 2

Memory (System)
15.06GB (0.32GB free)

Process Argv
--crash-reporter-id 5882958b-19fb-4a08-a677-622c6303708c

Screen Reader
no

VM
0%

DESKTOP_SESSION
dice

XDG_CURRENT_DESKTOP
MATE

XDG_SESSION_DESKTOP
dice

XDG_SESSION_TYPE
x11

Extensions (3)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.2.2

haskell
has
1.7.1

language-haskell
jus
3.4.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwt:30382699
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedc:30350118
pythonvspyt187:30365360
vsaa593:30376534
vsc1dst:30396469
vscexrecpromptt3:30397560

Seems to have broken with the August release 1.60.0

I can confirm the issue, in 1.62.2, Ubuntu 20.4.
The effects are:
Mark-Down Preview doesn't work
Extension: ms-mssql.mssql Query results don't show-up.
and I guess it affects a lot more.

Also the Latex pdf view in a VSCode tab is broken

@jrieken happy to help if you have any idea where I should start looking

I have pushed a code change that should restore insets. It's a fun issue, the API integration creates web views and uses simple number (as String) their identifiers. Those identifier are later used as iframe source (via webviewContentEndpoint), see here. It must be that the browser normalizes these urls from vscode-webview://1/index.html?foo to vscode-webview://<IP_ADDRESS>/index.html?foo so that later we fail to associated the webview correctly again ([here]https://github.com/microsoft/vscode/blob/9fa52c75d642e75471387dc60be2689f3fb45ae7/src/vs/workbench/contrib/webview/browser/webviewElement.ts#L464) I believe)
@mjbvz I believe we are good now but I am leaving it up to you to do some special id validation or improved parsing

Thanks @jrieken
Closing this as it sounds like the original issue has been fixed