vala: 0.34.17 -> 0.34.18, 0.36.13 -> 0.36.15, 0.38.9 -> 0.38.10, 0.40.6 -> 0.40.9

Motivation for this change
Things done
builds for me, but nix-review is not finished yet.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-darwin (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
gzipping man pages under /nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10/lib  /nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10/bin
patching script interpreter paths in /nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10
/nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/sh"
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/bshkp87k3c7f7gyj80s1mx0nz7197rls-vala-0.38.10-devdoc
/nix/store/hig90zkhmh5wa8ar8ldphjr41p89n1sm-vala-0.34.18
/nix/store/6ybifpy0qisx7br15rz0p8fkkx61g4ci-vala-0.36.15
/nix/store/mc4qw2jb1rhgqn01dwwac684y6y0km4f-vala-0.38.10

Success on x86_64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
patching script interpreter paths in /nix/store/921cp6s4xnmw4xpf268qqr93pprfac9s-vala-0.38.10
/nix/store/921cp6s4xnmw4xpf268qqr93pprfac9s-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/921cp6s4xnmw4xpf268qqr93pprfac9s-vala-0.38.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/jpa2k6vgypa7fy4vzy2d6kr52c5fyccy-vala-0.38.10-devdoc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jpa2k6vgypa7fy4vzy2d6kr52c5fyccy-vala-0.38.10-devdoc
checking for references to /build in /nix/store/jpa2k6vgypa7fy4vzy2d6kr52c5fyccy-vala-0.38.10-devdoc...
/nix/store/vd8vlj71bk4ql4nnl9dxlxhs7mn54zvk-vala-0.34.18
/nix/store/w8jzqkdnyr8qalvybnv7hrk7bwjw0zwp-vala-0.36.15
/nix/store/921cp6s4xnmw4xpf268qqr93pprfac9s-vala-0.38.10

Success on aarch64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
patching script interpreter paths in /nix/store/cf1gyid8a3bynd6s6iz3rs9qhpdnmxqc-vala-0.38.10
/nix/store/cf1gyid8a3bynd6s6iz3rs9qhpdnmxqc-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/cf1gyid8a3bynd6s6iz3rs9qhpdnmxqc-vala-0.38.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/cbc3v5ffzgbp45kxml7fsn5kqaw3i321-vala-0.38.10-devdoc
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/cbc3v5ffzgbp45kxml7fsn5kqaw3i321-vala-0.38.10-devdoc
checking for references to /build in /nix/store/cbc3v5ffzgbp45kxml7fsn5kqaw3i321-vala-0.38.10-devdoc...
/nix/store/9jd261x8mcbcizz97im0wz3p6mblkr86-vala-0.34.18
/nix/store/3s9df503fcfzgl3vy0f3b7wi1m4cb65v-vala-0.36.15
/nix/store/cf1gyid8a3bynd6s6iz3rs9qhpdnmxqc-vala-0.38.10

Is this ready to merge? If yes, it should  go to staging.

Success on x86_64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
patching script interpreter paths in /nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10
/nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc
checking for references to /build in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc...
/nix/store/rp12hcg27zi4wfc3118czs3z1xsjbf4y-vala-0.34.18
/nix/store/yyds6748ghl848zms8h691g5qnncv18f-vala-0.36.15
/nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10

Success on x86_64-darwin (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
gzipping man pages under /nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10/share/man/
strip is /nix/store/4w56qihlrddav67p7d1vy5qkyayaqw11-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10/lib  /nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10/bin
patching script interpreter paths in /nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10
/nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/z2pc6bbx9d1mwwahnds31a7nlvjbi9zr-bash-4.4-p23/bin/sh"
strip is /nix/store/4w56qihlrddav67p7d1vy5qkyayaqw11-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/zdy1raridvdrpdbnghdzws4f1b9sgx51-vala-0.38.10-devdoc
/nix/store/ww293vc6l9dxym6qn66v2r6ld7019x6p-vala-0.34.18
/nix/store/7anv74brdksxvwhf0qanqp7qjwlh7wf0-vala-0.36.15
/nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10

Success on x86_64-darwin (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
/nix/store/ww293vc6l9dxym6qn66v2r6ld7019x6p-vala-0.34.18
/nix/store/7anv74brdksxvwhf0qanqp7qjwlh7wf0-vala-0.36.15
/nix/store/w13zxjwcz7i6mf9k5rhnqn35r7pjsn4k-vala-0.38.10

Success on x86_64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
patching script interpreter paths in /nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10
/nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc
checking for references to /build in /nix/store/xwk57408rw1c4pg5ab30w8py2g5bbx7a-vala-0.38.10-devdoc...
/nix/store/rp12hcg27zi4wfc3118czs3z1xsjbf4y-vala-0.34.18
/nix/store/yyds6748ghl848zms8h691g5qnncv18f-vala-0.36.15
/nix/store/q7qrjgvyz3cnrwap40rq5dbb3cvc13z3-vala-0.38.10

Success on aarch64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
patching script interpreter paths in /nix/store/n2q8gsz299dbnma6fw9i9y5v7f2sy56i-vala-0.38.10
/nix/store/n2q8gsz299dbnma6fw9i9y5v7f2sy56i-vala-0.38.10/bin/vala-gen-introspect-0.38: interpreter directive changed from "/bin/sh" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/n2q8gsz299dbnma6fw9i9y5v7f2sy56i-vala-0.38.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/nbph2nqixwxvizh6fsc7ilvanrhvrr9h-vala-0.38.10-devdoc
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/nbph2nqixwxvizh6fsc7ilvanrhvrr9h-vala-0.38.10-devdoc
checking for references to /build in /nix/store/nbph2nqixwxvizh6fsc7ilvanrhvrr9h-vala-0.38.10-devdoc...
/nix/store/aixfcwla088kf4p085gjyrr2wsp8rb1y-vala-0.34.18
/nix/store/j0qcirzs625ihihvygd56bvg5nbzpsyc-vala-0.36.15
/nix/store/n2q8gsz299dbnma6fw9i9y5v7f2sy56i-vala-0.38.10

Success on aarch64-linux (full log)
Attempted: vala_0_34, vala_0_36, vala_0_38
Partial log (click to expand)
  /nix/store/dhvdry4hl5pgql6myjrx3mi84sqas1zm-gobject-introspection-1.56.0.drv
  /nix/store/jx2ffvyhga3gz23vv1rbya3lb1rw3w88-pango-1.42.4.drv
  /nix/store/l5gzyfbpd9xdlaxb2rc2dbklclzq7zyz-libdevil-1.7.8.drv
  /nix/store/p33ab2i86ha4qjz9hhgkbwfhgapd53l4-graphviz-2.40.1.drv
  /nix/store/aqp04arabz7nsd3s883w6n5imy27f03y-vala-0.38.10.drv
  /nix/store/racbmlbz1m3fbf03y3kdq6qc09d9kvk6-vala-0.34.18.drv
waiting for locks or build slots...
/nix/store/aixfcwla088kf4p085gjyrr2wsp8rb1y-vala-0.34.18
/nix/store/j0qcirzs625ihihvygd56bvg5nbzpsyc-vala-0.36.15
/nix/store/n2q8gsz299dbnma6fw9i9y5v7f2sy56i-vala-0.38.10


Bug fixed at install_plugins.sh in sonar-sonarqube-install-plugins configMap

Added validation before remove elements of the folder.
Add new line for each plugin to install.

Issue related: https://github.com/Oteemo/charts/issues/208

Thanks for the PR. Please increment the version in Chart.yaml and then we can get this merged in.

Thanks for the PR!

You're welcome.


Melhorar categorias de turmas

Descrição do Problema
Na tela de edição de turmas, as categorias são listadas de uma forma desorganizada.
Comportamento Esperado
As categorias devem estar listadas de forma organizada, de forma a facilitar a visualização.
Comportamento Atual
Categorias listadas desorganizadamente.
Passos Para Reproduzir o Problema

Logue como<EMAIL_ADDRESS>Acesse /school_rooms/edit/3

Screenshots

Porposed Changes
Improve class categories on the class edit screen.
Issue Related
https://github.com/GCES-2018-2/SIGS-GCES/issues/3
Type of Changes
[]New backend feature or update.
[x]New frontend feature or update.
[]Bug fix.
[]Another change (what was the change?).
How Was This Tested?
A repeating structure was created in the label school room.collection_check_boxes, and within this structure, the line break tag was added to each class category.
Checklist
[x] This Pull Request has a significant name.
[x] The commits follow the [[commits policy]].
[x] The build is okay (tests, code climate).
[x] This Pull Request mentions a related issue.
[x] The change was necessary to the progress of the project.
Screenshots
Before:
https://i.imgur.com/7omWEP5.png
After:
https://i.imgur.com/kD41bVw.png


support golang autofix

Using https://github.com/golangci/golangci-lint ? Excellent idea! 💯 Thanks for the suggestion

My first intension is to auto uggrade go version https://github.com/gitpod-io/workspace-images/blob/81a67e22ec616fcf2f102541e8ceb6dcf929c213/full/Dockerfile#L78.
But if we have both, also works for me :)

Aha, great idea too! I think we need both. 👍
Also, the Go version itself isn't really a module, but note that there is already https://github.com/autofix-dev/autofix/blob/master/fixers/upgrade-go-modules.js (which just auto-upgrades gopls for now). Please feel free to make it also upgrade any outdated-looking GO_VERSION, or to implement a separate fixer for that.
Also please let me know if you'd like any help! I'm happy to help make this happen. 🚀

Where can I get the latest version number of golang, the way I find best is https://golang.org/dl/. But looks like we need to parse version from the html.


getCurrentActivity sometimes null inside componentDidMount

We're seeing a lot of users experience "no activity" errors from react-native-google-signin:
https://github.com/devfd/react-native-google-signin/blob/9336cc410ad3b939d0d9637d851311c33dbf3920/android/src/main/java/co/apptailor/googlesignin/RNGoogleSigninModule.java#L82
Our code does:
GoogleSignin.hasPlayServices({ autoResolve: true }) which calls that method.
We do that inside componentDidMount:
  private onAppStateChange = (nextAppState: AppStateStatus) => {
    if (nextAppState === 'active') {
      this.initializeApp(); // <--  called here.
    }
  }

  componentDidMount() {
    if (AppState.currentState === 'active') {
      this.initializeApp(); // <-- called here.
    }
    AppState.addEventListener('change', this.onAppStateChange);
}

and that calls into react-native-google-signin:
    public void playServicesAvailable(boolean autoresolve, Promise promise) {
        final Activity activity = getCurrentActivity();

        if (activity == null) {
            promise.reject("NO_ACTIVITY", "no activity");
            return;
        }
       // ...
    }

Originally we just called initializeApp() directly and were experiencing this error. I tried switching to checking the AppState and doing it there just in case, but that still doesn't appear to be working.
What's extra confusing about this is that the user sees the loading spinner first, so there's some activity displayed, and then the error comes back from react-native-google-signin and we show them the error message as well.
So there's both a rendered activity on the screen and somehow getCurrentActivity returning null at the same time?
Environment
We're seeing this on Android 23-27.
Environment:
OS: macOS High Sierra 10.13.3
Node: 8.9.4
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2
Expected Behavior
Calling a native method that uses getCurrentActivity from a lifecycle method should always work.
Actual Behavior
It seems to work fine in the android emulator and on all the test devices we have locally, unfortunately we're getting lots of errors in the wild about it.
Steps to Reproduce
Not sure how... how can getCurrentActivity be null inside componentDidMount?

Preface: I do not know how to solve this issue, but can give additional information to improve understanding of RN behavior.
Your expectations are incorrect, it is not possible to such behavior as "Calling a native method that uses getCurrentActivity from a lifecycle method should always work" because it is totally unrelated things.
componentDidMount is JS method and executed on JS thread in context of JSC. When it directly or indirectly "call" native code, it actually not call anything, it serialize request and schedule native code execution. Native code will run on another thread. So whole process is asynchronous. And native code have no any guaranties that at execution time application will be in active state, also no guaranties that ReactContext will be attached to any activity.
Same applicable in reverse direction, native code can't call anything in JS "world", it can only schedule JS execution.
Moreover, strictly speaking, when AppState's event executed in JS, real application state can be already different. This effects will be more visible on slow devices.
I can be wrong (actually, I hope that I'm wrong) and RN can have some synchronization mechanisms, but until today I didn't seen any.

We can't reproduce this, but I can report back after we upgrade and ship a new version of our app and get crash metrics. That said help understanding how this could have happened in an older version or the new one would be helpful as well.

@vovkasm I understand how the bridge works, what's not clear is why react would be mounting components on startup when getCurrentActivity is null.
See ex. https://github.com/facebook/react-native/issues/9310
fwiw there's an internal team here that has a whole helper class that you pass callbacks into which calls you immediately if getCurrentActivity is non-null, and waits for it to become non-null otherwise. What does Facebook do internally to handle this situation? It seems like calling getCurrentActivity inside a @ReactMethod is never safe. Are you supposed to just retry all calls from JS?

I am also trying to figure how to handle this. In my case when my app is in the background (specifically when the device is asleep)getCurrentActivity() appears to return null in my custom native android component. If the device is awake when i call getCurrentActivity() it does return the current activity. The funny thing is that the method I'm trying to implement is to turn on the screen and keep it awake, so if it happens to be asleep when i try to turn the screen on my method for doing that does not work. since i need to run activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON)

@esprehn, I'm having the same problem with a native module we have built for Google Pay with React Native 0.55.3.  We can't reproduce in when testing, but we are seeing crashes in production happening where getCurrentActivity is returning null

We ended up adding retry logic in JS to compensate, but it's really unfortunate. The bug has persisted through all versions of RN as we've upgraded. I'd be great if FB would comment on how you're supposed to use this API properly.

@esprehn Is that helper class you mention (to execute a callback when getActivity is available) something that you are able to put in a gist by any chance? That seems to be the way I'd prefer to solve the issue for my use-case (as opposed to retrying on the JS side) since I can safely wait for the Activity to become available and this is and Android-specific issue.

@SirNeuman Having the exact same problem. Did you end up figuring out what to do? So far we're planning on trying to add retry-logic on the JS side.

@RangerMauve Yeah. My case I just found a workaround that is supposed to be deprecated but appears to work (on at least Android 7.0). Instead of:
activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON)

I went with:
pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP, "NameOfLock");
wl.acquire();

which avoids needing to get the current activity.

@esprehn  I am also facing this issue in android 4.2 version only. Was there any solution to this problem?

Something weird going on, we are observing crash reports of production apk and found out that getCurrentActivity() results into null for some specific brand devices, like Asus, Wiko and few models of Samsung. But it works perfectly fine for the rest of the devices even we can't reproduce this issues at our end.

Any solution for the getCurrenctActiviy sometimes returning null?

Any solution for getCurrentActivity() returning null?
I have the same problem in production reported on my crash list, mainly with Samsung devices.

Has anyone else who is experiencing this issue been able to reproduce it in a development environment? There are a handful of places that I need the current Activity where implementing some kind of asynchronous solution is problematic, but I am unable to reproduce a scenario in testing to try and implement an alternative solution.

I am also facing the same issue where getCurrentActivity

@john1jan Can you share minimal repo that reproduces issue on github?

@vovkasm i am using https://github.com/thebylito/react-native-navigation-bar-color for changing my navigation bar color in my app, some times this crashing giving me this stacktrace
  at com.thebylito.navigationbarcolor.NavigationBarColorModule$1.run (NavigationBarColorModule.java:86)
  at android.os.Handler.handleCallback (Handler.java:815)
  at android.os.Handler.dispatchMessage (Handler.java:104)
  at android.os.Looper.loop (Looper.java:210)
  at android.app.ActivityThread.main (ActivityThread.java:5839)
  at java.lang.reflect.Method.invoke (Native Method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1113)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:879)```

And the code at this line in Android  NavigationBarColorModule.java

``` final Window window = getCurrentActivity().getWindow();```

check put this https://github.com/thebylito/react-native-navigation-bar-color/issues/10

I'm personally not seen this problem in my projects. And I can help, but only if I can simple checkout project that demonstrate the issue from github and debug it.

it doesn't happen for me either, I got it from my crash reporting tool

This happens to us as well using react-native: ~0.57.8, only on some devices and some times. Mostly on newer (faster?) devices.

Is anybody able to provide a minimal repro using latest RN?

I have same issue, but my case is in ComponentWillMount of first screen. I guess I might use settimeout for delaying calling method.
I have issue when I login via Naver login (Korean SMS), with react-native-naver-login module.
I found some documents to use ActivityLifecycleCallbacks, instead of deprecated getCurrentActivity, but spent several hours in vain.
Some tutorial guides to implement these callbacks in my application class and store activity object to static variable.
It can be a solution when you use it in your app, but the classes of npm modules cannot refer that object.
I am working on the module (react-native-naver-login), but didn't find the solution yet.


WebView2_spec: Missing WebResourceRequested event?

After looking through the specs for the upcoming WebView2, it seems that the WebResourceRequested event is missing. Are there plans to implement this?
This API is especially handy, and the only alternative is injecting an override wrapper for fetch and Ajax requests, which catches the Javascript requests, but not the resources declared in the DOM or CSS.

@adambarlow can confirm but I believe this will be exposed via a projection of the core WebView iwebview2webview5::add_WebResourceRequested
interface which just hasn't been projected yet, per the proposal notes in https://github.com/microsoft/microsoft-ui-xaml/issues/1658:

Additional APIs will reside on the WebView2 core object. There are not represented in the API spec linked above. In short; If you don't see an API in the WebView2 API spec and it is existing functionality of the current WebView, it is likely planned to be included on the base WinRT object, whose API is likely to closely match the current IWebView2WebView interface.

Yes, thank you @jesbis , that is correct.


Formating of Nebraska Addresses is non standard

For example:
cuming.csv:-96.5718865,42.0099466,617,"Vine St, Bancroft, Northeast 68004",,,,,,

The data URL for Cuming, NE no longer appears to be valid, I'll poke around to see what I can find.

A number of Nebraska sources appear to be broken since the GIS servers have been shuffled around and the parcel layers no longer contain any address data.


Readme is not up tp date

I trained several models using your examples, and they all perform well. However, your Readme was not updated, which caused some initial confusion for me.

Updated


please let me know how can i instal it in my website?

please let me know how can i instal it in my website?

please let me know how can i instal it in my website?

What kind of website?

Asonacademy.com
I want host at my Web.. like qr scan
On Tue, 10 Jan 2023, 5:53 am Heikal Syah Shiddiq, @.***>
wrote:

please let me know how can i instal it in my website?
What kind of website?
—
Reply to this email directly, view it on GitHub
https://github.com/IndonesianDev/lydia-whatsapp/issues/10#issuecomment-1376565267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A47DMPOWCAA2VI76DJVHMPTWRSXH3ANCNFSM6AAAAAATSMX74U
.
You are receiving this because you authored the thread.Message ID:
@.***>


perf(proxy) reduce calls to csv function in common cases

Summary
This has started to show up in flamegraphs, so I decided to optimize it out.

🚀 Performance test result

Hmm... It the csv function didn't seem to show up on these (neither on master or this pr), like it did on flamegraphs here: https://github.com/Kong/kong/pull/8473
Perhaps it got better JIT compiled on this round?


Feature request: Show filter in mapping editor

🚀 Feature Request
Right now the only way to know if a particular mapping has a filter is to go to text mode, which is quite uncomfortable, we should think of a way to show the filter right in the mapping editor, we can show the filter in read-only text editor for now.
Potentially, we can show the filter as an item in the mapping explorer. What do you think @MauricioUyaguari ?

Test Grammar:
Class model::Person
{
  name: String[1];
  age: Number[1];
}

Class model::PersonSource
{
  firstName: String[1];
  lastName: String[1];
  age: Number[1];
}

###Mapping
Mapping model::Mapping
(
  *model::Person: Pure
  {
    ~src model::PersonSource
    ~filter $src.firstName->startsWith('A')
    name: $src.firstName + $src.lastName,
    age: $src.age
  }

  MappingTests
  [
    test_1
    (
      query: |model::Person.all()->graphFetch(#{model::Person{age,name}}#)->serialize(#{model::Person{age,name}}#);
      data:
      [
        <Object, JSON, model::PersonSource, '[{"firstName":"AfirstName 9","lastName":"lastName 67","age":89},{"firstName":"BfirstName 9","lastName":"lastName 67","age":12}]'>
      ];
      assert: '{"age":89.0,"name":"AfirstName 9lastName 67"}';
    )
  ]
)

Collected this ticket in a new one here: https://github.com/finos/legend-studio/issues/497
@akphi you can close this one.


amplify web console consistently crashes or becomes unresponsive in chrome

Describe the bug
amplify web console consistently crashes or becomes unresponsive in chrome browser. CPU usage for chrome spikes to >99% and frequently the chrome kill page/wait dialogue appears
To Reproduce
Steps to reproduce the behavior:

https://eu-west-1.console.aws.amazon.com/amplify/home?region=eu-west-1#/

Desktop (please complete the following information):
Chrome 88.0.4324.192 (Official Build) (x86_64)
Mac OS Big Sur 11.2.2 (20D80)

Are you still having issues on your end?  From my end it seems to be loading just fine.

yes, the page is still slow to respond


Simon login

Hey Jaden, this looks like you accidentally created a pull request in the class repo that contains modifications you were making for your own edification. Let me know if I am wrong and I will look a bit closer.

Oops! If I was I apologize
On Fri, Sep 8, 2023 at 2:24 PM Lee S Jensen @.***>
wrote:

Hey Jaden, this looks like you accidentally created a pull request in the
class repo that contains modifications you were making for your own
edification. Let me know if I am wrong and I will look a bit closer.
—
Reply to this email directly, view it on GitHub
https://github.com/webprogramming260/simon-javascript/pull/1#issuecomment-1712182976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY4L4UWIDGK3X5ZG5IF26M3XZN5GDANCNFSM6AAAAAAWLIYRNA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Origins are at most eight bytes

WIP, do not merge.
See also anchor/vaultaire#73.

Actually, I think this is good for now. I'd like to unexport the Origin constructor, but we'll need to make some accompanying changes to Vaultaire which I think we can sneak into a refactor of the read/write functions.

It's good.
Do we need a more specific error response than "bad origin"?

Could be useful:
OriginLengthTooLong
OriginContainsInvalidChars
OriginIsEmptyString
Or something along those lines?

@afcowie how's that?

@fractalcat just replying "it's a bad origin" without saying what the [validation] problem is seems a tad unfriendly, no?

@afcowie I agree; I was asking what you thought of the change to that in the most recent commit.

@fractalcat ah! Yes, looks great.

@fractalcat separately, I wonder if you shouldn't just make BadOrigin an instance of Exception, rather than wrapping it into SomeException...

@afcowie: BadOrigin is an instance of Exception; SomeException e has this as an existential qualifier. Can't use BadOrigin on its own unless we wrap it in SomeException later due to using Either SomeException everywhere during unpacking.

Merge approved by @christian-marie and @tranma.


can you explain null == val vs val === null?

i am reviewing koa source code, some codes are really very confused for me.

by the way, why not use this code style?
    if (val == null) {
      if (!statuses.empty[this.status]) this.status = 204;
      if (val === null) this._explicitNullBody = true;
      this.remove('Content-Type');
      this.remove('Content-Length');
      this.remove('Transfer-Encoding');
      return;
    }

https://stackoverflow.com/questions/17570802/why-constant-first-in-an-if-condition
But I think we can change to val == null for better readability

Explanation:
// val == null
undefined == null // true

// val === null
undefined === null // false

@dead-horse , null == val is not useful, modern runtime syntax tree is so power that can do val == null
@lagden would you write this.body = null, or this.body(null) in your project? i think below is ok
    if (!val) {
      if (!statuses.empty[this.status]) this.status = 204;
      this._explicitNullBody = true;
      this.remove('Content-Type');
      this.remove('Content-Length');
      this.remove('Transfer-Encoding');
      return;
    }

Type coercion is useful when used correctly. In this case, it's even a compatibility problem. People might be setting body to undefined, and by changing this to strict equality we could theoretically break a lot of code.
As for the null == val vs val == null, I'm going to great lengths and guess here. This is just TJ's style preference that originates from C/C++ to prevent typos like if (val = null).

if null == val, but why not null === val?

@anlexN because Koa treats null and undefined as the same value when responding:
undefined == null // true
null == null // true
undefined === null // false

I say that code style, do you understand?

if null == val, but why not null === val?

@anlexN No I don't think I do, again, Koa doesn't care about the difference between null and undefined when responding. My answer wasn't about about style, but about leveraging the language to Koas advantage for simplicity - I would assume/guess.
If that doesn't answer your question you need to rephrase because I can't extrapolate a different question other than what I did from your comment.

can we do below?
    if (null == val) {
      if (!statuses.empty[this.status]) this.status = 204;
      if (null === val) this._explicitNullBody = true;
      this.remove('Content-Type');
      this.remove('Content-Length');
      this.remove('Transfer-Encoding');
      return;
    }

@anlexN

@lagden would you write this.body = null, or this.body(null) in your project?

I avoid using null and right syntax is this.body = some_value, because it is a getter and setter.
Take a look: https://medium.com/@hbarcelos/why-i-banned-null-from-my-js-code-and-why-you-should-too-13df90323cfa

@lagden can you answer can we give up getter and setter syntax?

answered


DDCE-5076: Play 3.0 Migration

Migration from Play 2.8 to Play 3.0
Upgrade to Scala 2.13.12 and updated(and removed redundant) dependencies

Highlighting this https://github.com/hmrc/home-office-immigration-status-proxy/blob/4757221fbfe7f98de8c8b404ff29b9e7e3f375be/build.sbt#L11C1-L11C1
Removed as don't think it's necessary but making sure it is double checked. Doesn't seem implemented anywhere nor has effect on tests for the services it was implemented for.
PR it was added: https://github.com/hmrc/home-office-immigration-status-proxy/pull/15
Plugin page: https://github.com/typelevel/kind-projector


[0.1.5] Wine Glasses and Mulled Wine Glasses do not give bottles back when drank

Wine Glasses, when consumed, don't give back a bottle as expected. Mulled Wine Glasses seem to remove glass bottles when consumed, instead of also giving a bottle back.

Is this bug present in single player or server only? I tried to test it on my own server, but it worked as intended. In single player it works as well. The only place where I saw it so far is vampirism.co server.

I had noticed it in singleplayer. Maybe there's a mod conflict of some sort?

Here's a modlist.md
I'll see if I can find what might be doing it, as well.

I can't seem able to find it, oddly. I did notice that in an instance with only Vampire's Delight, Vampirism, and Farmer's Delight, stacks of either item will properly give bottles back unless it's the last item in the stack - that is, if you consume one from a stack of at least 2, it'll give you a bottle; but if the stack size is 1, it won't.

Forgot to ask. Does it happen only with wine or orchid tea as well?

It does seem to also affect orchid tea.

Does it work the same way with other vampire food like orchid ice cream and orchid cream soup?

Yes

VampiresDelight-0.1.5b-1.20.1.jar.zip
Try this version. It should be fixed here

Yes, fixed.


Update slime dep version

We are currently pulling in version 0.16.0. Master is at 1.0.0. We should add an explicit dependency for 1.0.0. Hopefully this will resolve the compile warnings.

Given the new warnings we're seeing (below) with Slime 1.0.0 and the compiler not running the first time, perhaps we should roll back this commit and let slime 1.0.0 gel for a bit?
slime 1.0.0
WARN:  Missing plugins: [rebar3_hex]
==> neotoma (compile)
==> fs (compile)
===> Compiling ranch
==> poolboy (compile)
===> Compiling cowlib
===> Compiling cowboy
'/Users/dsnider/Workspace/talonframework/talon_blog_demo/deps/slime/src/slime_parser_transform.erl' already exists, skipping generation.
==> slime

the talon compiler not running first time issue has been around for a long time. Nothing to do with the slime update. I believe the rebar3 warning is related to local hex setup. The slime_parser_transform.erl message isn't even a warning. Its a log message.
So, we traded a number of warning messages for 1 warning message. I don't see any reason to roll back


Fix typo and reword comment about goog.object.setWithReturnValueIfNotSet

I found a minor typo and some slightly confusing language in a code comment. I fixed the typo and reworded the comment for clarity.

Should be in the next release.


Intel Centrino advanced 6235 bluetooth

Hi LYU FENG JUN,
Thanks for a great tutorial! After many failed attempts on my own, with your help I finally got my m93p tiny working almost flawlessly as a Hackintosh, now happily running and coding on Mojave!
Except one small thing I'm still missing. Bluetooth connectivity. The bluetooth seems to load and I'm able to find and be found by other devices, but I'm unable to connect or see any bluetooth menu options.
If I'm not mistaken, the bluetooth resides on a Intel Centrino advanced 6235 combined WiFi and bluetooth card. I understand that WiFi on Intel would be difficult, but Google brings hope about getting the bluetooth to work, though I haven't figured it out my self.
Do you have any solutions to getting the 6235 bluetooth to work like it should?
EDIT:
Seems like I was trying to connect the wrong device(Roland FP-30 keyboard) to the wrong BT controller(Intel 6235). I gave up this and discovered that a PS3 controller connected quite easily.
Even though the specs for Intel 6235 show 4.0 (B)LE support, either it, the firmware or the drivers doesn't support 4.0 LE fully, which I suppose might be the problem. I discovered the same situation with the Intel 6235 vs. the LogiLink when I tried connecting the same devices to Windows.
Another thing that tricked me and led me to think that something was wrong with the driver/instalation, was that the Intel 6235 did not show any options for turning BT on and off in Mojave, like it did with the other BT USB-dongles. However, Intel 6235 still worked for other devices than my FP-30 in Mojave.
Thanks again for a great guide!
Br,
Vegard

Closed, since it works mostly with BT on the Intel 6235(no on/off menu), but the card itself seems not to support full v4.0 BLE. Works fully with other BT USB dongles.


7za quit unexpectedly.

Hi,
I have been trying the whole 2 days to resolve this issue.
Working on Mac (10.10.5),
I have install homebrew python3 too.
When I run ./HiyaCFW_Helper.py  it got to the download HiyaCFW.7z, but came out with the '7za quit unexpectedly'
I run using python3 command in terminal
python3 /User/path/to/HiyaCFW_Helper.py
It load and came this :-
"TWLTool not found. Please make sure the Darwin folder is at the same location as this script, or run it again from the terminal:
$ ./HiyaCFW_Helper.py"
I ran out of idea now.

Report that came with the error.
It kinda same issue when I just try to click the binaries files inside the Darwin folder.
Apple-report.txt

My bad!
I stumble upon this web https://opensource.com/article/19/5/python-3-default-mac
and check that there is no homebrew python installed! Maybe some happen when I try to install it last time.
Will engage in homebrew install. First to uninstall any left over Python 3 install last time thru dmg

I have install python using the installer for Mac, since it take to much resources dan conflict intalling it using homebrew.
After call the directory and manage to run the GUI, still got this problem

exec(open("HiyaCFW_Helper.py").read())
Opening HiyaCFW Helper...
Initializing GUI...
[Errno 8] Exec format error: 'Darwin/7za'

I have made the chmod 777 for the 7za file, still nothing.

You need to update to at least High Sierra, or assist me compiling 7za on your machine.

Thank you for the clarification. It the OS ...i see.
I be delight to assist you.
Just to be clear, I'm not a programmer.
Do enlighten me sir.

Hi, it's simple. You will need to install the XCode command line tools by running:
xcode-select --install
Then you can get the 7za's source code, linked in the Readme and decompress it to an accessible folder, like the Desktop. After that open a terminal, browse to the extracted folder using the cd command, like:
cd ~/Desktop/7za
And run:
./configure
make
That will generate the 7za binary for your OS version.

No follow up from reporter, closing ticket


next version

next version v0.2.0

Overall LGTM

add old scripts migrate
add alarm
extract url like to constant

LGTM thanks for your work!
A small question: what's the usage of locale/zh_CN/LC_MESSAGES/phala.po.ok.0312.bak ? is this deletable?

I'm going to merge this, improvments can send separate PR


Upgrade to node20

Since node16 will be entering end-of-life in the next month, upgrade to the node20 runtime.

Fixed in https://github.com/sqlc-dev/setup-sqlc/pull/39


add author to contributors list

Please confirm that this PR has done the following:

[x] Name of contributors Added to AUTHORS.rst

Description of PR
Just a small addition to the contributors list
@danielhuppmann Thank you for your efforts!

Thank you @macflo8 for your contributions to the refactoring of the internal timeseries data object - apologies that your name wasn't added immediately when I added the authors file.


Looking for way to validate "fluent setters" or builder pattern

In many of the pojos I construct, I create "fluent setters", whose name is the property name.  They call the setter, and return this.  This is a simplification of the builder pattern.  I want to validate these methods.  I can simply use the code that I wrote a while ago before I discovered OpenPOJO, but it makes sense for this sort of thing to be done in a common framework.
I can see that the problem with validating fluent setters or the builder pattern is that there are variations of these (for instance, adding a "with" prefix).  If you just assumed a static convention, it would be straightforward to do, but then it wouldn't be useful to the person who uses the variation that doesn't fit the pattern you settle on.
I'd suggest if you implemented a "FluentSetterTester", you make it parameterizable (for instance, a "prefix" parameter).
Alternatively, it might be more practical to simply publish more information about writing extensions, to facilitate my writing my own "FluentSetterTester".  I've briefly looked at "SetterTester", and it looks like it might be pretty easy to write this.  I guess I'll attempt this.

Was this ever followed/implemented? I am looking into a library that can tests my POJOS with getter only and have builders in them.


third party copy?

Is it possible to implement an option to copy from remote to remote, like -3 in scp?

As you can see in README.md. There is a statement saying:

Won't support:

Copy file from remote to remote.

Although it's possible to do that, I didn't feel necessary to implement the "remote to remote".
You can simply copy files to a local temp location, then copy them to another remote host.

Oh sorry, I overlooked that part. In that case the issue is closed.


Change the styling of Client section.

I would like to change the style of client section and also want to set the  proper l width of companies.

Yes sure, go ahead @Sonikm


why is the default behavior that this (or any) plugin will NOT work with a new version of xcode?

we always need to add the new versions code manually. why is that? why not assume that is works?
if it works, then perfect. if it doesnt work, then it doesnt work anyway.
now, works or no, it doesnt work until we update the plist.

That's what apple has decided, it's just the way UUID compatibility works unfortunately.
It's something that has been discussed a few times before, there has even been a PR that added it and here.
However, we feel auto updating the UUID kind of defeats the point of having them in the first place. It is up to plugin maintainers to make sure that their app works on the latest version of Xcode and update their UUID's accordingly.
We do however need to indicate wether or not a plugin will work.


[API300] Why do Switch is the only resource that directly implements #set_scope_uris?

Scenario/Intent
I'm trying to understand why API300 Switch has the #set_scope_uris, but other resources don't, like, server_hardware, enclosure...
I know it is the only patch operation it supports right now but, if we are trying to have some consistency, or every single patch operation has to be implemented as a separate method, or the API300 Switch should implement a #patch method.
Environment Details

OneView SDK Version: 3.1.0
OneView Client API Version: 300

With the #133 some helper methods (add_scope, remove_scope, replace_scopes) were added to Enclosure and ServerHardware too.
And with #147 the helper methods were added to LogicalSwitch too.


Remove version: GitHub.GitHubDesktop version 3.0.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Publisher has changed their URL structure;


scripts: change title 'DDL OPM' to 'DDL META OPM' to dissolve misunderstandings

change 'DDL OPM' to 'DDL META OPM', which may lead to misunderstanding.

@liubo0127 PTAL


I need to contact you

Hi, I need help upgrade the bedrock finder for Nether 1.12 and versions over 1.15.
Could you give me your contacts so I can contact you in the future.
When you sebt, close the issue - unless of course it's more convenient for you to communicate here.
Thanks in advance.

Also give him your personal phone number and a place in your bed so you can feel his warm, gentle breathing on the back of your neck. He's too shy so he toned it down a bit to not seem to eager.


Are flagIds mandatory in postEvaluationBatch?

Hey Flagr Team, I wanted to know if flagIds are mandatory in postEvaluationBatch request.
Is there a way to get evaluation for all the active flags?
Also, is it possible to use a descriptive name instead of a flagId?

https://checkr.github.io/flagr/api_docs/#operation/postEvaluationBatch

Either flagIDs, flagKeys or flagTags works for postEvaluationBatch, as long as there's enough information to resolve which flags to be used.
For all the active flags, the recommendation is to use flagTags, as discussed here https://github.com/checkr/flagr/issues/406
The flagKey can be updated once the flag is created, so you can use that to identify your flags.


This package still alive?

Hey, I just discovered this package and it is exactly what I need for a project of mine. Is there any chance to get streams and resource transfer working? I would even pay some money to get this implemented 🙂

@manuelbieh what did you end up using? (if anything)

@manuelbieh how about now, were you able to find a reliable library?

@oguzyildiz1991 hocam, for a project we are also looking for a similar package. Were you able to find one so far?

@kutluhann nope, I was just looking for it for a personal project, decided to abandon it


Firewall error while connecting FastAPI model as ML Backend

Describe the bug
I was trying to connect the FastAPI model to Label Studio for using it as an ML backend service. It shows that health failed and suggested checking if it is up (which it is!). Please help me with how to fix this or where can I get more details about the error?
Environment (please complete the following information):

MacOS
Label Studio Version: 1.3.post0

Sorry, but I don't understand what FastAPI you use. It's not our official way to build ML backends. I mentioned here - https://github.com/heartexlabs/label-studio/issues/1573#issuecomment-935040380 - the main points you should do with FastAPI. We could have changed something, but I don’t remember the big breaking changes.

@NileshSuthar Could you please provide logs from your FastAPI backend?


Missing one line in the example C code of rocsparse

This line is missing:
#include "hip/hip_runtime.h"

Why is this line missing, and in which files?

When using g++ instead of hipcc to build the code, we have to put his line, just tried yesterday.

You are right, I have added hip_runtime_api.h header to the example. It should now compile using g++ compiler.
Thanks for the hint!


long subtitles are not displayed

A long subtitles that crossed a whole section over the timeline will not be displayed:
timeline ->
block1 | block2 | block3
   |------longsub-----|

It will display in block1 and block3 normally, but not block2.

I don't quite understand the problem you describe. Can you paste your subtitle text?

Say my subtitle is xxx from 5.635s to 25.545s. The bottom timeline starts from 0s to 10s(block1), 10s to 20s(block2), 20s to 30s(block3).
Then you can see the subtitle in block1, block3, but not block12. I mean you can see that blue, selected, subtitle rectangle at the bottom with xxx texts in block1 and block3. But you can not see anything in block2. No rectangle, no texts... Nothing.
As if there is no subtitle from 10s to 20s. But there is one: the xxx subtitle from 5s to 25s. This subtitle is too long that it is even longer than a timeline block. This should be a corner case.
These two images will clarify the problem:
https://img.vim-cn.com/2f/a233d7b3e275df00f615a7ea0e06fce1c396ed.png
https://img.vim-cn.com/e9/53faefcee2be66397132ae00d7795fd5d7e01f.png

I understand what you mean, it is a bug, I will fix it in the next version, thank you for your feedback

Fixed!


Some hyperlinks don't work

In the summary table, some 'artifacts' hyperlinks go to 404.
Example:
https://github.com/ryanlong1004/esmf-test-artifacts/tree/gaea/develop/gaea/gfortran/8.3.0/g/mpiuni/None

Fixed.


App Type is ignored when running rake tasks on a rails app.

Whoops. Hit enter and it submitted before I filled out. One moment!

Thanks for the detailed report, @zee-roostify. This makes a lot of sense! Scheduling this in as an enhancement.


[PROPOSAL] Seperate the operator helm chart release with the actual operator release

What/Why
What are you proposing?
Have have a seperate release cadence for operator helm chart. Example here is an open PR for a bug fix in helm chart https://github.com/opensearch-project/opensearch-k8s-operator/pull/826, even though this is reviewed and merged, this wont be released until the next version of the operator release.
What problems are you trying to solve?
Currently, the release process for the operator helm charts is tightly coupled with the release of the operator, decouple the release cycles of helm charts and operator to allow independent and fast paced updates. Have a seperate version management to the helm charts.
What is the user and developer experience going to be?
The developers and users will have more control over the helm charts development and releases, having this a user/developer need not wait until the release of the operator to have an helm chart release. This improves and gives more control in fixing the bugs and improving the helm charts periodically.
Are there any security considerations?
No
Are there any breaking changes to the API
No
Are there breaking changes to the User Experience?
No
Why should it be built? Any reason not to?
The operator is mostly installed/used by the hem charts, having to implement this will have the following advantages
Faster Release Cycle: Helm chart updates can be released as soon as they are ready, without waiting for the next operator release cycle.
Increased Flexibility: Helm charts can be patched and improved independently, allowing quicker responses to bugs and user feedback.
Simplified Versioning: Separate versioning schemes for Helm charts and operators will make it easier to manage and ensure compatibility.
What will it take to execute?
There is already an open PR https://github.com/opensearch-project/opensearch-k8s-operator/pull/754 contributed by @evheniyt  review and merge this. Seperate the release process in https://github.com/opensearch-project/opensearch-k8s-operator/blob/main/.github/workflows/release.yaml, define the versioning and release process of helm charts. We can re-use some of the release workflows from the OpenSearch helm repo https://github.com/opensearch-project/helm-charts/blob/main/.github/workflows/release.yaml.
The helm release should be from the version in Chart.yaml,

Decouple the release workflow with helm chart release.
A developer along with the PR with the chart changes, have to increment the version in Chart.yaml (follow the SemVer)
Update and maintain the CHANGELOG.md.
The workflow should identify the the new version in Chart.yaml and do a helm release.

Note: Even though the logic to seperate the operator helm chart release with the actual operator release is needed, there should be an automation and mechanism to have a operator helm chart release soon after the the main operator release, this is to ensure the CRD's and other new files are synced that are part of the operator release.
Any remaining open questions?
N/A

Adding  @dbason @swoehrl-mw @jochenkressin @pchmielnik @salyh @bbarani @getsaurabh02 @evheniyt to please take a look and share your thoughts.

I think it's pretty clear that the release process of operator, and helm charts (both operator and cluster) should be separated. I think the main topic to discuss is versioning.
In operator-helm we have version and appVersion - nothing specific here, when helm is updated version field is bumped, when operator is updated - appVersion is set to the same tag as operator. Nothing specific here.
In cluster-helm for appVersion we could use either operator version or the version of Opensearch. If we use operator version, then we need to have a separate Opensearch version in values.yaml so the release process of operator should also bump appVersion for cluster-helm and Opensearch version in values.yaml (I think the second could be done manually too during release preparation).
If we use Opensearch version in appVersion then we need don't need to bump it during release pipeline (could be done manually if needed).
Another question is how to track/match operator-helm and cluster-helm version so we could know which version of operator-helm is compatible with cluster-helm. Maybe the easiest way is to keep the major and minor versions of these 2 charts the same and bump them only if there are changes like new CRD added, etc.

One thing to keep in mind here are CRD changes in the operator chart. In the current process updates to the CRD yamls are added to the chart in the PR the changes are introduced. But if the operator chart release process is separate this can lead to problems if the chart is released with a changed CRD that the operator image does not yet support.
My opinion here is: Keep version and release process for the operator and operator helm chart in sync as is now, but decouple the release and version of the opensearch-cluster helm chart to allow faster pace there.

In cluster-helm for appVersion we could use either operator version or the version of Opensearch. If we use operator version, then we need to have a separate Opensearch version in values.yaml so the release process of operator should also bump appVersion for cluster-helm and Opensearch version in values.yaml (I think the second could be done manually too during release preparation).
If we use Opensearch version in appVersion then we need don't need to bump it during release pipeline (could be done manually if needed).

I like the first option: use the operator version as appVersion in the cluster chart to signal with which operator version it is compatible. We should keep the opensearch version out of there as both operator and chart support multiple and also older opensearch versions.

Works as expected https://github.com/opensearch-project/opensearch-k8s-operator/actions/runs/11780417815/job/32810969136

@evheniyt we should be able to move forward with this PR https://github.com/opensearch-project/opensearch-k8s-operator/pull/754, once the changes are finalized incrementing the chart version should do a new helm chart release.
Thank you
@getsaurabh02 @peterzhuamazon @swoehrl-mw


replace the 2 occurences of inline style use by a CSS class usage

Hi,
Here is a 1st approach.
Would be great if things could be this simple :-)

Hi, I don't understand what this simple change is braking but if I'm provided with input about it I could improve my merge request.


[Unity] error SPXERR_MIC_NOT_AVAILABLE when not using the default microphone

Describe the bug
I'm using the Speech Recognition service in my Unity app, and the user has the ability to pick a microphone. However, I'm getting the following error when using anything other than an empty string as the microphone name.
ApplicationException: Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE)
Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail (System.IntPtr hr) (at <d0ceedf3fb224537bf09e708a3e455fc>:0)
Microsoft.CognitiveServices.Speech.Recognizer.FromConfig (Microsoft.CognitiveServices.Speech.Recognizer+GetRecognizerFromConfigDelegate fromConfig, Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig) (at <d0ceedf3fb224537bf09e708a3e455fc>:0)
Microsoft.CognitiveServices.Speech.SpeechRecognizer..ctor (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig) (at <d0ceedf3fb224537bf09e708a3e455fc>:0)

It's worth mentioning that the other microphones work without any problems, so the devices are available.
To Reproduce
My code is based on this sample on this repository, with the exception I have an AudioConfig. This is the relevant part of the code.
audioConfig = AudioConfig.FromMicrophoneInput(micDeviceName ?? "");
speechRecognizer = new SpeechRecognizer(speechConfig, audioConfig);

Expected behavior
Be able to get speech transcriptions from any microphone available.
Version of the Cognitive Services Speech SDK
1.32.1
Platform, Operating System, and Programming Language

OS: Windows 11
Hardware - x64, x86
Programming language: C#
Unity 2022.3.11f1

Hi @kaioduarte ,
Thanks for reaching out to us. @jhakulin could you take a look?
In the meantime, @kaioduarte can you collect a log based on these instructions? https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-use-logging

@chschrae I'm unable to collect logs using the linked approach, I assume it's because the code throws before some initialization of the SDK.

@kaioduarte
Based on your report, you want to be able to use specific microphone as device name and that do not work.
Could you please share the exact device name you are using?
Could you please confirm also the platform you are running the Unity application? Windows, Android, Linux, Mac or iOS?
Just in case, you do not need to specify the microphone, you can use AudioConfig.FromDefaultMicrophoneInput method https://learn.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.audio.audioconfig.fromdefaultmicrophoneinput?view=azure-dotnet

@jhakulin I'm running my app on Windows 11, and these are the devices I have:

Microphone (Logi C270 HD WebCam)
Microphone Array (Realtek(R) Audio)
Microphone (Realtek(R) Audio)

I'm aware of the FromDefaultMicrophoneInput method, but it's not an option for my use case as the user can change the selected mic.

@kaioduarte Could you please take a look on the following article how to enumerate device names on Windows UWP which Unity uses.
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-select-audio-input-devices#audio-device-ids-on-uwp
A sample device ID there is \\?\SWD#MMDEVAPI#{<IP_ADDRESS>00000}.{5f23ab69-6181-4f4a-81a4-45414013aac8}#{2eef81be-33fa-4800-9670-1cd474972c3f}.
Now I am not 100% certain (and which means we should improve our API documentation) if the above is exact name you need to give to FromMicrophoneInput method. I would guess, the device name given as "{<IP_ADDRESS>00000}.{5f23ab69-6181-4f4a-81a4-45414013aac8}" should work.

I see, so it's indeed a different device name.
Okay, I can take a look at this approach later. I'll keep you posted.

Closing as answered, let us know if there are any other problems.


tests: kernel: mutex: move race timeout test to mutex_api

Previously, this change was added to mutex_error_case.
That worked fine in main, but once the change was backported to v2.7-branch, the test would fail because it did not cause a failure. The reason for that, was that the mutex_error_case suite has CONFIG_ZTEST_FATAL_HOOK=y.
With the newer ztest API, it allowed a separate suite to be used, allowing the test to pass (although it did not really fit in with the rest of the testsuite).
The solution is to simply merge it with the mutex_api suite which uses non-inverted success logic.
This change will also have to be cherry-picked for the backport in #49031.
Fixes #48056.
cc @yperess - not sure if this exposes any weird state in the new testsuite

Just a thought - would it be better here to revert the previous commit and simply use this one instead? That way there is less to backport.

Since I'm responding this anyway to address @peter-mitsis suggestions, I think I will opt to revert the previous commit that add d the test in the wrong suite, because then a single Testcase can be backported a bit more cleanly.
@peter-mitsis @andyross - is that OK with both of you?

@cfriedt - I'm good with your proposal.

@peter-mitsis, @dcpleung - please have another look. I believe this addresses all remaining concerns.

@peter-mitsis - can you approve?
Maybe @andyross ?

Makes sense.  Could maybe consider merging all those error_case tests too?

Makes sense - I'll check to see what is missing.


RTSP support in esp32p4

Checklist

[X] Checked the issue tracker for similar issues to ensure this is not a duplicate.
[X] Described the feature in detail and justified the reason for the request.
[X] Provided specific use cases and examples.

Feature description
The RTSP support implement in esp32p4 board..but this thing getting complicated bcoz for the libraries are not set for esp-rtsp.
Use cases
In esp32-p4,we have camera module and audio support using this implementing rtsp will be the additional support the live stream the operation.
Alternatives
No response
Additional context
No response

Hi @ManikandanVaradharaj, this repository does not provide RTSP-related support. Please raise an issue in the ESP-ADF repository. Thank you for your understanding.


Fix "missing key op" RDFGraph OWL serialization

Replace this comment with:

Description: Fix "missing key op" error in RDFGraph OWL Serialization
Issue: #8263
Dependencies: None
Tag maintainer: @baskaryan

thanks @Caitlin2694!


set REMOTE_USER even when using iam_authorization

Description
Pass REMOTE_USER to the wsgi environment when using iam_authorization
GitHub Issues

https://github.com/Miserlou/Zappa/issues/567

Coverage increased (+0.02%) to 80.84% when pulling 3b2626960d93f572bf4b9b9ca5fcaa4735bcfa82 on agtilden:master into 9eb3d00af47dd063b6287305c5eaf845842e72d7 on Miserlou:master.


Bonobo 5.2.0 and Active Directory

Hi all,
I've installed Bonobo v5.2 with Windows authentication and Internal Membership (it's complex to manage groups in my organization).
My principal issue is that Bonobo doesn't create any AD users on DB and I'm unable to logon. If I switch in cookie authentication I can only view Admin user.
Thanks in advance.
Marco

Internal membership means the list of users come from Bonobo's database.   You can only make this work with Windows authentication if you (manually) arrange to have users in Bonobo's database which match the Windows users.

So I did a mistake considering the AD User would created in the Bonobo's database. Just because in the previous version (at least 3.6) it was the expected behavior.
I have to presume I cannot use the following flags together without touch the Bonobo's database:

I do have the same arrangement and it works fine for me.

So this kind of configuration has to work.
is there a way to trace Bonobo code during the logon step? You have to consider that I've already tried to use WinAuth + AD Membership and the user are created correctly. But I don't have this configuration.

I'm having thew same problem. No amount of config changes let me use AD users.
What should be the Web Site's IIS Authentication?
Should Basic Authentication be enabled? Should Windows Authentication be Enabled?
Does the AppPool need to run as any special user?
What are the meanings of the config entries ActiveDirectoryMemberGroupName, ActiveDirectoryTeamMapping and ActiveDirectoryRoleMapping?

Sedotakj, did you ever get this working? I'm getting stuck on the basic authentication. It just keeps prompting me for my username/password every time I go to the site, and it never takes any type of input as valid. Getting pretty frustrated with this, and I think I might find an alternative if I can't find someone who has gotten this working yet.

@RobertMcCoy Can you say which version of bonobo you're running and post the relevant bit of your web.config?

@willdean I'm running v. <IP_ADDRESS>3
`

<!--<add key="AuthenticationProvider" value="Federation" />-->
<!--<add key="MembershipService" value="Internal"/>-->
<add key="MembershipService" value="ActiveDirectory" />
<add key="ActiveDirectoryDefaultDomain" value="[Hidden For Github Issue]" />
<add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
<add key="ActiveDirectoryMemberGroupName" value="MIS" />
<add key="ActiveDirectoryTeamMapping" value="GIS=GitGIS,Server=GitServerAdmins,Network=GitNetworkAdmins,SoftwareDev=GitAppDevs,UNIX=GitUNIX,WebDev=GitWebDevs" />
<add key="ActiveDirectoryRoleMapping" value="Administrator=GitAdmins" />`

I have Basic, Anonymous, and Windows Authentication Enabled (I have tried every combination of these three). I have the ASP.NET v4.0 DefaultAppPool set to be running as a NetworkService, and it's Framework version is v4.0.30319.
Everytime I go to the site that is hosted on a virtual server we are running, it prompts me to enter my login, and no combination of username, domain\username, username@domain appears to work, and it just prompts me to enter my credentials again when I submit the current credentials.

@RobertMcCoy Sorry for such a slow reply.  If you're still happy to look at this, could you go to http:///Home/Diagnostics and post the result here (have a look if there's any bits you want to redact first).
You'll need to do this on the server, as it won't serve this page remotely.

Web.Config AppSettings
--AppSettings.webpages:Enabled: 'false'
--AppSettings.ClientValidationEnabled: 'true'
--AppSettings.UnobtrusiveJavaScriptEnabled: 'true'
--AppSettings.UserConfiguration: '~\App_Data\config.xml'
--AppSettings.DefaultRepositoriesDirectory: '~\App_Data\Repositories'
--AppSettings.GitPath: '~\App_Data\Git\git.exe'
--AppSettings.GitHomePath: '~\App_Data'
--AppSettings.RecoveryDataPath: '~\App_Data\Recovery'
--AppSettings.AuthenticationProvider: 'Windows'
--AppSettings.ImportWindowsAuthUsersAsAdmin: 'false'
--AppSettings.MembershipService: 'ActiveDirectory'
--AppSettings.ActiveDirectoryDefaultDomain: '#redacted'
--AppSettings.ActiveDirectoryBackendPath: '~\App_Data\ADBackend'
--AppSettings.ActiveDirectoryMemberGroupName: 'MIS'
--AppSettings.ActiveDirectoryTeamMapping: 'Test=MIS'
--AppSettings.ActiveDirectoryRoleMapping: 'Administrator=MIS'
User Configuration:
--User config file: 'C:\inetpub\wwwroot\Bonobo\App_Data\config.xml'
--User config readable: OK
--User config saveable: OK
--User config folder: Exists, 6 files, 9 entries, writeable
Repo Directory
--Configured repo path: '~\App_Data\Repositories'
--Effective repo path: 'C:\inetpub\wwwroot\Bonobo\App_Data\Repositories'
--Repo dir: Exists, 1 files, 1 entries, writeable
Git Exe
--Git path: 'C:\inetpub\wwwroot\Bonobo\App_Data\Git\git.exe'
--Git.exe exists: OK
Federated Authentication
--Not Enabled:
Active Directory
--Backend folder exists: OK
--Backend folder: Exists, 0 files, 4 entries, writeable
--User count: 0
AD Teams
AD Roles
Internal Membership
--Not Enabled
**********************************************************************************
Exception Log
--LogFileName: : C:\inetpub\wwwroot\Bonobo\App_Data\Bonobo.Git.Server.Errors.log
--Log File total length: 39449
--Starting log dump from : 29449
r(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateTeams()
w3wp.exe Error: 0 : 09/28/2016 11:24:10: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateTeams()
w3wp.exe Error: 0 : 09/28/2016 11:24:10: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateTeams()
w3wp.exe Error: 0 : 09/28/2016 11:24:10: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateRoles()
   at Bonobo.Git.Server.Data.ADBackend.Update(Object state)
Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo\bin\x64\SQLite.Interop.dll"...
w3wp.exe Error: 0 : 09/28/2016 11:25:51: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateUsers()
w3wp.exe Error: 0 : 09/28/2016 11:25:51: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateTeams()
w3wp.exe Error: 0 : 09/28/2016 11:25:51: ADBackend Exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
   at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
   at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
   at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate)
   at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, String identityValue)
   at System.DirectoryServices.AccountManagement.GroupPrincipal.FindByIdentity(PrincipalContext context, IdentityType identityType, String identityValue)
   at Bonobo.Git.Server.Data.ADBackend.UpdateRoles()
   at Bonobo.Git.Server.Data.ADBackend.Update(Object state)

My running theory is it has no default LDAP credentials...so how could it ever verify that a user exists or not if it cannot see information in the first place? But, I'm not a server/network admin, so I have no way to verify if that's truly the issue, as the only thing all of this logging suggests is that there are no users being generated from AD (which makes me think the above)

Thanks very much for this - does this SO thread cast any light:
http://stackoverflow.com/questions/7285503/active-directory-com-exception-an-operations-error-occured-0x80072020/19036826#19036826
Perhaps this is an issue with the user that IIS is using for Bonobo?

Potentially. I believe I have full administrator rights on the server on which the website resides. I will speak with one of our server guys on getting the administrator logon for the server and see if that impacts performance.

I'm trying for the same setup as @mrloddo , do either you or @RedX2501 know how to edit the users in the Bonobo database?

@mrloddo, @sedotakj and @RobertMcCoy can you please try the new 6.1 and report back again?

I won't be able to sadly, as I am no longer with the company in which I was trying to set this up on, and therefore don't have access to the AD setup there.

@RobertMcCoy No worries - thanks for the help previously - good luck in the new job...

Closing as the original issue should be fixed in recent PRs.

I'm aware this issue has been closed. However I'd like to note that I too experienced RobertMcCoy's issue--and that I've solved it.
Changing the MembershipService from Internal to ActiveDirectory is necessary for use of AD, obviously. However, there is no need to change the AuthenticationProvidor--which is what I'm assuming the above poster did. See below:
<add key="AuthenticationProvider" value="Cookies" />
<!--<add key="AuthenticationProvider" value="Windows" />-->
<add key="ImportWindowsAuthUsersAsAdmin" value="false" />
<!--<add key="AuthenticationProvider" value="Federation" />-->
<!--<add key="MembershipService" value="Internal" />-->
<add key="MembershipService" value="ActiveDirectory" />
<add key="ActiveDirectoryDefaultDomain" value="[myactivedirectory].local" />
<add key="ActiveDirectoryBackendPath" value="~\App_Data\ADBackend" />
<add key="ActiveDirectoryMemberGroupName" value="[mygituser]" />
<add key="ActiveDirectoryRoleMapping" value="Administrator=[mygituser]" />

Note that I've configured our server to only have one user that's both user and administrator.

We're seeing the same behavior as JMoorhouse07.  When we switched back to  AuthenticationProvider = "Cookies", but left the other AD authentication-related settings in place, AD authentication started working.

I'm in the process of setting up Bonobo, and I can also confirm that I needed to change AuthenticationProvider to "Cookies" as well to get AD authentication working correctly.
In my logs, I could see that users were correctly authenticating their credentials, but it was still the same login screen that would appear without error. Once I changed to "Cookies" it started working right away.
Thanks for the tip JMoorhouse07.

We had the same problem.
So also a thanks for the tip JMoorhouse07

Good afternoon, faced the same problem, but I have questions: why does Bonobo need a domain administrator? According to the log file. "```
2022-06-15 09:15:26.948 +05:00 [Information] Searching for group "mmy_srv" in domain "gt.gr.local"
2022-06-15 09:15:27.089 +05:00 [Error] AD: Failed to update role "Administrator"
System.ArgumentException: Could not find principal group: mmy_srv
at Bonobo.Git.Server.Helpers.ADHelper.GetPrincipalGroup(String name, GroupPrincipal& group)
in Bonobo.Git.Server.Data.ADBackend.UpdateRoles()"


Cached links

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit c8ed9a9ba0fdd5b0c737020cbabaddd6f8a5ce97 at: https://65ce67a59e6d272cfdd9c43b--meshery-docs-preview.netlify.app


[docs] Add git-lfs installing for Ubuntu

It seems that it does not work on our instance of Ubuntu. Do not merge it while I find the troubleshooting.


[BACKLOG-17471] Fixes repository window showing up blank

@marcoslarsen @graimundo
@tmcsantos had missed out that curly bracket. Tested locally and the repo window works as intended. This should fix the DET issue also.

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f pom.xml clean install && mvn -B -f pom.xml site

Cleanup Commands
mvn -B -f pom.xml build-helper:remove-project-artifact

Changed files
  plugins/repositories/core/src/main/resources-filtered/META-INF/js/require.json

Newly Fixed Tests:
org.pentaho.di.trans.steps.textfileinput.TextFileInputMetaLoadSaveTest.testSerialization:
:large_blue_circle: java.lang.RuntimeException
java.lang.RuntimeException: Error validating dateFormatLocale
	at org.pentaho.di.trans.steps.textfileinput.TextFileInputMetaLoadSaveTest.testSerialization(TextFileInputMetaLoadSaveTest.java:167)
Caused by: org.pentaho.di.core.exception.KettleException:

Attribute dateFormatLocale started with value es_PY ended with value en_US

	at org.pentaho.di.trans.steps.textfileinput.TextFileInputMetaLoadSaveTest.testSerialization(TextFileInputMetaLoadSaveTest.java:167)

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.checkdbconnection.JobEntryCheckDbConnections

Branch Change: -1.23%:small_red_triangle_down:
Complexity Change: -1.47%:small_red_triangle_down:
Instruction Change: -.21%:small_red_triangle_down:

org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -.39%:small_red_triangle_down:
Complexity Change: -.51%:small_red_triangle_down:
Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -2.00%:small_red_triangle_down:
Complexity Change: -2.82%:small_red_triangle_down:
Instruction Change: -.59%:small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change:  + .66%
Complexity Change:  + .93%
Instruction Change:  + .13%

org.pentaho.di.trans.step.BaseStep

Branch Change: -.15%:small_red_triangle_down:
Complexity Change: -.18%:small_red_triangle_down:
Instruction Change: -.05%:small_red_triangle_down:
Line Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta

Instruction Change:  + .04%

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change:  + .05%

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -.09%:small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1.04%:small_red_triangle_down:
Complexity Change: -1.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.ivwloader.IngresVectorwiseLoader

Branch Change: -.71%:small_red_triangle_down:
Complexity Change: -1.14%:small_red_triangle_down:
Instruction Change: -.55%:small_red_triangle_down:
Line Change: -.88%:small_red_triangle_down:

org.pentaho.di.trans.steps.ivwloader.IngresVectorwiseLoader.FifoOpener

Branch Change: -16.67%:small_red_triangle_down:
Complexity Change: -12.50%:small_red_triangle_down:
Instruction Change: -7.14%:small_red_triangle_down:
Line Change: -10.53%:small_red_triangle_down:
Method Change: -20.00%:small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -.06%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.18%:small_red_triangle_down:
Complexity Change: -1.35%:small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -.10%:small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -.91%:small_red_triangle_down:
Complexity Change: -.82%:small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -.53%:small_red_triangle_down:
Complexity Change: -.40%:small_red_triangle_down:
Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.79%:small_red_triangle_down:
Complexity Change: -1.19%:small_red_triangle_down:
Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.trans.steps.googleanalytics.GaInputStepMeta

Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Instruction Change: -.13%:small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change:  + .15%

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change:  + .14%


Grafana admin permissions to users logged in via oauth2

Details
No user currently has admin permissions to Grafana. Users logged in via oauth2 should be made admins.

@carpenike you've managed to configure something similar for your cluster to provide admin to your instance correct?

Yup! See https://github.com/carpenike/k8s-gitops/blob/master/cluster/monitoring/prometheus-operator/prometheus-operator-helm-values.txt#L40-L57.
I've got Dex running inside the cluster which basically centralizes all oauth requests rather than registering each client with GitHub. The key config is with the group mappings: https://github.com/carpenike/k8s-gitops/blob/master/cluster/monitoring/prometheus-operator/prometheus-operator-helm-values.txt#L55-L57. I've got a k8s-admins team in my GH organization that I map to the Admins group in Grafana.

Thanks @carpenike - Was org_id: 1 required and is there some documentation in case of further group mappings?
Just pushed changes for this in the following commit https://github.com/raspbernetes/k8s-gitops/commit/bcc4d070bc9597c83e5fce6cfe656bd0ce7ded52
Once tested and verified will close this ticket.

Tested and worked 🎉


DLINK DAP-1330

good evening I just did a flash on my DLINK DAP 1330 suddenly a power cut comes so I can't access <IP_ADDRESS> or do the reset help me please all day I got stuck doing research but no solution

sorry, doesn't sound like a LuCI GUI problem.


Just added my personal preset. Good for Laptops

Thanks, I'll add it to the installation script as well


[uwebsockets] update to 20.40.0

Library name
uwebsockets
New version number
20.40.0
Other information that may be useful (release notes, etc...)
https://github.com/uNetworking/uWebSockets/releases/tag/v20.40.0

Updated to 20.40.0 since it was released after I added this update ticket.


Why is there a tasks v 2.0.0

Testing #27471
From the limited amount of tasks I have migrated from 0.1.0 to 2.0.0, I changed the version in tasks.json and besides schema warning squiggles the tasks seem to execute fine.
Why is there a need for me to change this version?
Why is there a need for me to restart VS Code after changing this version?
What are the breaking changes I should be aware of?
Why can't VSCode migrate the tasks for me?
[Sorry if these questions seem obvious, but for me it is not clear]

Ok, I saw in today's standup some more advanced examples of task usage, so I no longer question the need for a new version :).
However, it would be a very good experience if:

since we have a thorough understanding of the task intent described under 0.1.0, can we automatically migrate to the 2.0.0 syntax via a push of a button (that saves the old task definition in comments and generates the new format)
we could react to a version change to 2.0.0 without a need to restart VS Code.

Providing a migration would be better as an extension since most users either won't need this or will only need it once and it is just an increase in code size for everyone else.

I can agree that we don't want to implement a migration, but IMHO the code size argument is flawed: currently, VS Code ships with code to run both tasks v1 and tasks v2. So there is a certain amount of code >0 that we ship which needs to deal with tasks v1 (search for '0.1.0'). Users that have tasks.json written with v1 do not migrate because there is little incentive to do so since their tasks might work fine.
If we were to implement a migration story, we would write some more code, which in the short term would increase VS Code's size. The new code would migrate tasks v1 to tasks v2 by editing tasks.json. After shipping the migration code for about 6 months, we could argue that we have migrated sufficient tasks.json, and it would then be reasonable to remove the migration code altogether such that VS Code would then only ship tasks v2 (no more v1 support at all except perhaps a notification).

Good point. It's simply out of scope then.


Adapted to Phyton V3

In phyton 3, the xrange was changed to range. its mean xrange=range
also
The solution to "TypeError: write() argument must be str, not bytes" error when saving a downloaded page to file is adding a "b" letter for binary

good i will test

Let's merge it? :)

i agree