Sample with GetX Library

it will be gr8, if a sample can be provide using GetX Library.

@NiranjanShah reacitve_forms hadels form state internally
It is not clear what example are you talking about

I will close this issue because we don't have any updates about the creator of the issue.
Please @NiranjanShah don't hesitate to open it again or open a new one.
Thanks @vasilich6107


Remove Go version restrictions for newer versions

I'm (one of) the maintainer(s) of Dapr (dapr.io), a CNCF microservices project which today has a Kitex integration.
Kitex has been the worst third party dependency to deal with. Every time a new Go version is released the current Kitex version in use by us does not compile with that Go version, then I am forced to update the Kitex SDK (and dependencies) which brings breaking changes into our code I need to fix.
Please remove the Go version restriction, or I will be removing the Kitex integration from Dapr. No other dependency used by us in Dapr (and there are many!) has this problem.

FYI @liu-song - you contributed the Kitex integration to Dapr. I hope you can coordinate this. Otherwise Dapr 1.14 will be the last version which will contain Kitex.

Received. After the May Day holiday in China, we will discuss and make a decision

Hi @berndverst, we're sorry for the inconvenience.
We do rely on some features bound with go version to improve the performance (mostly for registering new modules into go runtime, i.e. JIT, used by github.com/bytedance/sonic).
Since Kitex is widely used within ByteDance which means performance is critical to us, it's unlikely that we solve this dependency issue, and sorry for the inconvenience again.
FYI @liu-song

I'm very sorry for the bad experience you had. The problem you encountered should be related to a dependency library github.com/choleraehyq/pid of Kitex. We will remove the dependency of this library in the near future. cc @joway


Wasm guest fails WasiHttpView::send_request when request is rejected

Thanks for filing a feature request! Please fill out the TODOs below.
Feature
I am using a WasiHttpView to selectively allow / reject destination authorities for the outgoing-handler. If the sandbox rejects a  request, I would expect it to return an error to outgoing_handler::handle on the guest such that they may handle it, however that is not the case.
    fn send_request(
        &mut self,
        request: wasmtime_wasi_http::types::OutgoingRequest,
    ) -> wasmtime::Result<
        wasmtime::component::Resource<wasmtime_wasi_http::types::HostFutureIncomingResponse>,
    >
    where
        Self: Sized,
    {
        // try to remove the port if it exists
        let authority = request
            .authority
            .rsplit_once(':')
            .map(|(authority, _)| authority)
            .unwrap_or(&request.authority);

        if !self.allowed_authorities.contains(authority) {
            tracing::error!(
                "plugin tried to access {} which is not in the list of allowed authorities",
                authority
            );
            return Err(wasmtime::Error::msg("not allowed to access authority"));
        }

        default_send_request(self, request)
    }

    // inside guest
    let Ok(result) = outgoing_handler::handle(req, None) else {
        tracing::error!("unable to send request");
        continue;
    };

In reality, throwing an error here does not return control to the guest, but throws an error which is trapped by the runtime. Note the first line is my error handling:
Error:
   0: plugin london failed to update: error while executing at wasm backtrace:
          0: 0x4cf4f -<EMAIL_ADDRESS>          1: 0x33c42 - <unknown>!<wasm function 881>

      Caused by:
          not allowed to access authority

      Stack backtrace:
         0: anyhow::error::<impl anyhow::Error>::msg
                   at /home/arlyon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.77/src/error.rs:83:36
         1: <litehouse::runtime::PluginRunner<T> as wasmtime_wasi_http::types::WasiHttpView>::send_request
                   at ./crates/litehouse/src/runtime.rs:94:24
         2: wasmtime_wasi_http::http_impl::<impl wasmtime_wasi_http::bindings::wasi::http::outgoing_handler::Host for T>::handle
                   at /home/arlyon/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/4d54a99/crates/wasi-http/src/http_impl.rs:97:15
         3: wasmtime_wasi_http::bindings::wasi::http::outgoing_handler::add_to_linker::{{closure}}
                   at /home/arlyon/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/4d54a99/crates/wasi-http/src/lib.rs:11:5
         4: wasmtime::runtime::component::func::host::HostFunc::entrypoint::{{closure}}::{{closure}}
                   at /home/arlyon/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/4d54a99/crates/wasmtime/src/runtime/component/func/host.rs:68:35
         5: wasmtime::runtime::component::func::host::call_host
                   at /home/arlyon/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/4d54a99/crates/wasmtime/src/runtime/component/func/host.rs:227:15
         6: wasmtime::runtime::component::func::host::HostFunc::entrypoint::{{closure}}
                   at /home/arlyon/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/4d54a99/crates/wasmtime/src/runtime/component/func/host.rs:60:17
         7: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
                   at /rustc/30dfb9e046aeb878db04332c74de76e52fb7db10/library/core/src/panic/unwind_safe.rs:272:9

...

Benefit
Plugins should be allowed to recover in this case.
Implementation
No dice, I am not super familiar with how adding this capability would fit into the wider system.
Alternatives
For now, crashing the plugin is OK but not desirable. I would like the plugin author to be able to control how it is handled.

Yes! Thanks for the pointers, the change was fairly straightforward. Figuring out the test setup was a little more complex but all good now. PR linked above.

Fixed in https://github.com/bytecodealliance/wasmtime/pull/8035, so closing (thanks!)


Bug with backslash in autotester

This is really bizarre. The first call to autoTester.check(str) with a string containing a backslash will always fail, but any call after the first will work correctly. So in this code:
autoTester.check('\\')
autoTester.check('\\')
autoTester.check('\\')

The first test will fail, but the other two will succeed.

Maybe not as bizarre as it may seem. The autotester is much like a bumblebee: It can't fly, but since it doesn't know that, it routinely flies. Seriously: This may or may no be easy to solve. I'll take a look. Meanwhile think of it as a limitation...

I've run into this issue with the re stuff as well - There seems to be a difference in how javascript and python interpret strings with escape sequences.
For example - octal escape sequences:
in python "\141" -> "\141"
in js "\141" -> "\141"
Might have to do with the way that the results from the python run are stored in HTML in the autotester.py script

Ok - so this is two separate issues. The first issue is that the test was not reporting the same results for each occurence of the string. This has been fixed with the transition to the table-based autotester results.
The second issue is an issue with the way that the strings in javascript are represented compared with the python. In javascript, the string representation is shown after escaping. In python, all characters except backslash are shown escaped. The backslash character seems to have special status in raw and normal strings in python. I'm not sure there is an easy way to fix this in transcrypt. We can't really just change the str() function because then if you want to copy a string, the resulting string and the original will actually be different strings in javascript. Python stores \\ as one character and shows it as two. Javascript stores \\ as one character and then shows it as one character \. I think this problem will exist anytime \\ is used in a string.

I can live with this and wouldn't know a lean way to solve it.
Feel free to reopen if you know a solution for the backslash limitation.


Radarr Theme Organizr Seems Broken

Describe the bug
I can change theme of all my other apps except radarr not working or rather working on some parts.
Theme Install Method (Don't skip)
variables.conf
map $host $theme {
    default organizr; # e.g. default organizr
}

theme-park.conf
    proxy_set_header Accept-Encoding "";
    sub_filter
    ''
    '<link rel="stylesheet" type="text/css" href="https://develop.theme-park.dev/css/base/$app/$app-base.css">
    <link rel="stylesheet" type="text/css" href="https://develop.theme-park.dev/css/theme-options/$theme.css">
    ';
    sub_filter_once on;

arr.conf
location /sonarr/ {
	<removed>

	set $app sonarr;
	include <removed>/theme-park.conf;
}
location /radarr/ {
	<removed>

	set $app radarr;
	include <removed>/theme-park.conf;
}

Application Info (Don't skip)

<IP_ADDRESS>27
docker

Expected behavior
Im expecting to see the organizr theme for radarr as represented on website so i can have all my arr apps with the same look.
Screenshots
organizr theme activated

nord theme activated (for testing)

Follow the docs here. https://docs.theme-park.dev/themes/radarr/#setup

so i guess i had to only change where was  to  weird i did follow the doc instructions to begin with.
a heads up the way its formatted on the doc does break nginx.
proxy_set_header Accept-Encoding "";
sub_filter
''
'<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/<app>/<theme>.css">
sub_filter_once on;

had to change to
    proxy_set_header Accept-Encoding "";
    sub_filter
    ''
    '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/<app>/<theme>.css">
    ';
    sub_filter_once on;

missing '; at the end of

Ah thanks for letting me know. Feel free to make a PR.


disfetch: init at 1.12

Motivation for this change
Disfetch is another *nix distro fetching program, but less complex. It is based on several principles

less code, more efficiency, more readability
simplicity
logos must be only 8 rows
using only coreutils, other built-ins, bash and nothing third-party
showing only main and needed system information

https://github.com/llathasa-veleth/disfetch
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] 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] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 107788 run on x86_64-linux 1

1 package built:

disfetch

Hi, should I close this pull request then make a new one with right steps? Sorry for incompetence.

Hi, should I close this pull request then make a new one with right steps?

No, you should do the changes and force push them.


[elasticsearch]: optionally disable SA token automount

Description of the change
It disables the automounting of the service account token in the pod. Elastic does not need this by itself. This commit disables it by default, but leaves it configurable if anyone needs to use it.
Benefits
By disabling the automount, potential attackers cannot access the Kubernetes API on behalf/through the pod.
Possible drawbacks
If anyone is using some sidecar or plugin to access the Kubernetes API, they will have to explicitly enable (--set rbac.automountToken=true) the automount of the SA token in the values.
Applicable issues
#1330

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes
[x] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Hi devs, is there anything I can do to get this ball rolling?

@jmlrt any chance you could take a look at this PR? Looks like you are an active dev here, and I'd really like this feature at least considered 😉

Better late than never ;-) I've (re-)signed the CLA, fixed both things, and force pushed. Should be good now.

jenkins test this please

done

jenkins test this please

@jmlrt : is there anything else I can do?

Hi @jonkerj, sorry the PR is approved but CI tests are broken for now.
I'll admin-merge it because I don't have time to fix the jobs for now.


Ipsec router resource consumption (CPU, memory) is increasing indefinitely after upgrade to Rancher 1.6.11

Rancher versions:
rancher/server: 1.6.11
rancher/agent: 1.2.7
Infrastructure Stack versions:
healthcheck: 0.3.3
ipsec: 0.2.0
network-services: 0.2.7
scheduler: 0.6.3
Docker version: (docker version,docker info preferred)
Client:
 Version:      17.03.2-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   f5ec1e2
 Built:        Tue Jun 27 03:35:14 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.2-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   f5ec1e2
 Built:        Tue Jun 27 03:35:14 2017
 OS/Arch:      linux/amd64
 Experimental: false

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenia

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA rancher (usually only one server is running) on AWS with AWS Aurora RDS
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Not 100% sure about this, here's what we did:

Upgraded to Rancher 1.6.11 on Nov. 15 at night.
Upgraded infrastructure stacks on Nov. 16 in the morning (all default parameters, no modifications)

Results:

Since then CPU and memory usage constantly increased (see graphs below) on all hosts in all environments connected to the Rancher server. Some are servers are backend servers which have a constant load.
It seems to be related to the ipsec-router container. The currently highest memory usage is 740 MB with CPU load peaks every 2-3 seconds causing 100%+ CPU usage for about 5 seconds (see graph below).
The load and memory usage of the ipsec-router builds up over time (initial memory usage is about 19MB)

Metric graphs
ipsec router metrics (logs of said containers below):

frontend cluster metrics:

Logs
11/20/2017 9:23:59 AM05[IKE] peer not responding, trying again (1649/0)
11/20/2017 9:23:59 AM05[IKE] initiating IKE_SA conn-<IP_ADDRESS>[2] to <IP_ADDRESS>
11/20/2017 9:23:59 AM05[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:23:59 AM05[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM07[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:23:59 AM07[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM15[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:23:59 AM15[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM13[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:23:59 AM13[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM14[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:23:59 AM14[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM10[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:23:59 AM10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM15[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:23:59 AM15[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM13[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:23:59 AM13[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM13[IKE] giving up after 5 retransmits
11/20/2017 9:23:59 AM13[IKE] peer not responding, trying again (79/0)
11/20/2017 9:23:59 AM13[IKE] initiating IKE_SA conn-<IP_ADDRESS>[3] to <IP_ADDRESS>
11/20/2017 9:23:59 AM13[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:23:59 AM13[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM04[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:23:59 AM04[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM04[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:23:59 AM04[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM08[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:23:59 AM08[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM11[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:23:59 AM11[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM04[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:23:59 AM04[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM09[IKE] giving up after 5 retransmits
11/20/2017 9:23:59 AM09[IKE] peer not responding, trying again (2173/0)
11/20/2017 9:23:59 AM09[IKE] initiating IKE_SA conn-<IP_ADDRESS>[1] to <IP_ADDRESS>
11/20/2017 9:23:59 AM09[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:23:59 AM09[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:23:59 AM08[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:23:59 AM08[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM06[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:27:20 AM06[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM05[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:27:20 AM05[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM15[IKE] giving up after 5 retransmits
11/20/2017 9:27:20 AM15[IKE] peer not responding, trying again (1650/0)
11/20/2017 9:27:20 AM15[IKE] initiating IKE_SA conn-<IP_ADDRESS>[2] to <IP_ADDRESS>
11/20/2017 9:27:20 AM15[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:27:20 AM15[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM10[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:27:20 AM10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM14[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:27:20 AM14[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM11[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:27:20 AM11[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM09[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:27:20 AM09[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM07[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:27:20 AM07[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM06[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:27:20 AM06[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM15[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:27:20 AM15[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM10[IKE] giving up after 5 retransmits
11/20/2017 9:27:20 AM10[IKE] peer not responding, trying again (80/0)
11/20/2017 9:27:20 AM10[IKE] initiating IKE_SA conn-<IP_ADDRESS>[3] to <IP_ADDRESS>
11/20/2017 9:27:20 AM10[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:27:20 AM10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM07[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:27:20 AM07[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM04[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:27:20 AM04[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM14[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:27:20 AM14[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM12[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:27:20 AM12[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM09[IKE] retransmit 4 of request with message ID 0
11/20/2017 9:27:20 AM09[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM15[IKE] giving up after 5 retransmits
11/20/2017 9:27:20 AM15[IKE] peer not responding, trying again (2174/0)
11/20/2017 9:27:20 AM15[IKE] initiating IKE_SA conn-<IP_ADDRESS>[1] to <IP_ADDRESS>
11/20/2017 9:27:20 AM15[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:27:20 AM15[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM14[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:27:20 AM14[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM13[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:27:20 AM13[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM09[IKE] retransmit 3 of request with message ID 0
11/20/2017 9:27:20 AM09[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM14[IKE] giving up after 5 retransmits
11/20/2017 9:27:20 AM14[IKE] peer not responding, trying again (1651/0)
11/20/2017 9:27:20 AM14[IKE] initiating IKE_SA conn-<IP_ADDRESS>[2] to <IP_ADDRESS>
11/20/2017 9:27:20 AM14[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
11/20/2017 9:27:20 AM14[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM04[IKE] retransmit 5 of request with message ID 0
11/20/2017 9:27:20 AM04[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM10[IKE] retransmit 1 of request with message ID 0
11/20/2017 9:27:20 AM10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)
11/20/2017 9:27:20 AM10[IKE] retransmit 2 of request with message ID 0
11/20/2017 9:27:20 AM10[NET] sending packet: from <IP_ADDRESS>[500] to <IP_ADDRESS>[500] (500 bytes)

Seeing the same thing after upgrade to Rancher v1.16.11
docker version Client:  Version:      1.12.6  API version:  1.24  Go version:   go1.6.4  Git commit:   78d1802  Built:        Tue Jan 10 20:38:45 2017  OS/Arch:      linux/amd64
Server:  Version:      1.12.6  API version:  1.24  Go version:   go1.6.4  Git commit:   78d1802  Built:        Tue Jan 10 20:38:45 2017  OS/Arch:      linux/amd64
NAME="Ubuntu" VERSION="16.04.3 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.3 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial

11/20/2017 11:39:44 AM14[ENC] parsed INFORMATIONAL response 108 [ N(NATD_S_IP) N(NATD_D_IP) ] 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM10[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM10[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM10[IKE] sending DPD request 11/20/2017 11:39:44 AM10[ENC] generating INFORMATIONAL request 613 [ N(NATD_S_IP) N(NATD_D_IP) ] 11/20/2017 11:39:44 AM10[NET] sending packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (113 bytes) 11/20/2017 11:39:44 AM05[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (113 bytes) 11/20/2017 11:39:44 AM05[ENC] parsed INFORMATIONAL response 613 [ N(NATD_S_IP) N(NATD_D_IP) ] 11/20/2017 11:39:44 AM07[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (57 bytes) 11/20/2017 11:39:44 AM07[ENC] parsed INFORMATIONAL request 4 [ ] 11/20/2017 11:39:44 AM07[ENC] generating INFORMATIONAL response 4 [ ] 11/20/2017 11:39:44 AM07[NET] sending packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (57 bytes) 11/20/2017 11:39:44 AM08[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM08[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM13[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (113 bytes) 11/20/2017 11:39:44 AM13[ENC] parsed INFORMATIONAL request 903 [ N(NATD_S_IP) N(NATD_D_IP) ] 11/20/2017 11:39:44 AM13[ENC] generating INFORMATIONAL response 903 [ N(NATD_S_IP) N(NATD_D_IP) ] 11/20/2017 11:39:44 AM13[NET] sending packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (113 bytes) 11/20/2017 11:39:44 AM12[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM12[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[KNL] querying policy failed: No such file or directory (2) 11/20/2017 11:39:44 AM15[IKE] sending DPD request

To clarify, it seems like the noice in the log in the original report above seems to be unrelated to the issue. The IP it tries to reach belongs to a host which was terminated 1.5 hours ago (planned). This host is not visible anymore in the UI. Is this another bug?
I have another environment where the same pattern is visible but the log looks very different:
11/20/2017 9:40:56 AMtime="2017-11-20T17:40:56Z" level=info msg=Reconfiguring
11/20/2017 9:40:57 AMtime="2017-11-20T17:40:57Z" level=info msg=Reconfiguring
11/20/2017 9:41:05 AMtime="2017-11-20T17:41:05Z" level=info msg=Reconfiguring
11/20/2017 9:41:05 AMtime="2017-11-20T17:41:05Z" level=info msg=Reconfiguring
11/20/2017 9:41:51 AMtime="2017-11-20T17:41:50Z" level=info msg=Reconfiguring
11/20/2017 9:41:51 AMtime="2017-11-20T17:41:51Z" level=info msg=Reconfiguring
11/20/2017 9:41:56 AMtime="2017-11-20T17:41:56Z" level=info msg=Reconfiguring
11/20/2017 9:41:57 AMtime="2017-11-20T17:41:57Z" level=info msg=Reconfiguring
11/20/2017 9:42:05 AMtime="2017-11-20T17:42:05Z" level=info msg=Reconfiguring
11/20/2017 9:42:05 AMtime="2017-11-20T17:42:05Z" level=info msg=Reconfiguring
11/20/2017 9:42:47 AMtime="2017-11-20T17:42:47Z" level=info msg=Reconfiguring
11/20/2017 9:42:47 AMtime="2017-11-20T17:42:47Z" level=info msg=Reconfiguring
11/20/2017 9:42:56 AMtime="2017-11-20T17:42:56Z" level=info msg=Reconfiguring
11/20/2017 9:42:57 AMtime="2017-11-20T17:42:57Z" level=info msg=Reconfiguring
11/20/2017 9:43:02 AMtime="2017-11-20T17:43:02Z" level=error msg="samonitor: error getting list of sas from strongswan: Timeout waiting for message response"
11/20/2017 9:43:03 AMtime="2017-11-20T17:43:03Z" level=info msg=Reconfiguring
11/20/2017 9:43:04 AMtime="2017-11-20T17:43:04Z" level=info msg=Reconfiguring
11/20/2017 9:43:04 AMtime="2017-11-20T17:43:04Z" level=info msg=Reconfiguring
11/20/2017 9:43:49 AMtime="2017-11-20T17:43:49Z" level=info msg=Reconfiguring
11/20/2017 9:43:49 AMtime="2017-11-20T17:43:49Z" level=info msg=Reconfiguring
11/20/2017 9:43:56 AMtime="2017-11-20T17:43:56Z" level=info msg=Reconfiguring
11/20/2017 9:43:58 AMtime="2017-11-20T17:43:58Z" level=info msg=Reconfiguring
11/20/2017 9:44:06 AMtime="2017-11-20T17:44:06Z" level=info msg=Reconfiguring
11/20/2017 9:44:07 AMtime="2017-11-20T17:44:07Z" level=info msg=Reconfiguring
11/20/2017 9:44:50 AMtime="2017-11-20T17:44:50Z" level=info msg=Reconfiguring
11/20/2017 9:44:51 AMtime="2017-11-20T17:44:51Z" level=info msg=Reconfiguring
11/20/2017 9:44:56 AMtime="2017-11-20T17:44:56Z" level=info msg=Reconfiguring
11/20/2017 9:44:57 AMtime="2017-11-20T17:44:57Z" level=info msg=Reconfiguring
11/20/2017 9:45:04 AMtime="2017-11-20T17:45:04Z" level=info msg=Reconfiguring
11/20/2017 9:45:05 AMtime="2017-11-20T17:45:05Z" level=info msg=Reconfiguring
11/20/2017 9:45:19 AMtime="2017-11-20T17:45:19Z" level=error msg="samonitor: error getting list of sas from strongswan: Timeout waiting for message response"
11/20/2017 9:45:45 AMtime="2017-11-20T17:45:45Z" level=info msg=Reconfiguring
11/20/2017 9:45:45 AMtime="2017-11-20T17:45:45Z" level=info msg=Reconfiguring
11/20/2017 9:45:47 AMtime="2017-11-20T17:45:47Z" level=info msg=Reconfiguring
11/20/2017 9:45:53 AMtime="2017-11-20T17:45:53Z" level=info msg=Reconfiguring
11/20/2017 9:45:53 AMtime="2017-11-20T17:45:53Z" level=info msg=Reconfiguring
11/20/2017 9:45:54 AMtime="2017-11-20T17:45:54Z" level=info msg=Reconfiguring
11/20/2017 9:46:34 AMtime="2017-11-20T17:46:34Z" level=info msg=Reconfiguring
11/20/2017 9:55:16 AMtime="2017-11-20T17:55:16Z" level=info msg=Reconfiguring
11/20/2017 9:55:17 AMtime="2017-11-20T17:55:17Z" level=info msg=Reconfiguring
11/20/2017 9:55:19 AMtime="2017-11-20T17:55:19Z" level=info msg=Reconfiguring
11/20/2017 9:55:27 AMtime="2017-11-20T17:55:27Z" level=info msg=Reconfiguring
11/20/2017 9:55:27 AMtime="2017-11-20T17:55:27Z" level=info msg=Reconfiguring
11/20/2017 9:55:29 AMtime="2017-11-20T17:55:29Z" level=info msg=Reconfiguring
11/20/2017 9:55:33 AMtime="2017-11-20T17:55:33Z" level=error msg="samonitor: error getting list of sas from strongswan: Timeout waiting for message response"
11/20/2017 9:55:37 AMtime="2017-11-20T17:55:37Z" level=info msg=Reconfiguring
11/20/2017 9:55:37 AMtime="2017-11-20T17:55:37Z" level=info msg=Reconfiguring
11/20/2017 9:55:37 AMtime="2017-11-20T17:55:37Z" level=info msg=Reconfiguring
11/20/2017 9:55:40 AMtime="2017-11-20T17:55:40Z" level=info msg=Reconfiguring
11/20/2017 9:55:40 AMtime="2017-11-20T17:55:40Z" level=info msg=Reconfiguring
11/20/2017 9:55:58 AMtime="2017-11-20T17:55:58Z" level=info msg=Reconfiguring

This container uses currently 411MB of memory.

I observed the same problem.
It is weird that some IPSec router containers consume > 240MB of memory, while some others consume < 20MB.

In my case, I see a lot of

11/22/2017 7:56:38 PM11[NET] sending packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (57 bytes)
11/22/2017 7:56:38 PM08[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM10[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM10[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM06[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM06[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM08[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (57 bytes)
11/22/2017 7:56:38 PM08[ENC] parsed INFORMATIONAL response 100 [ ]
11/22/2017 7:56:38 PM16[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM14[NET] received packet: from <IP_ADDRESS>[4500] to <IP_ADDRESS>[4500] (113 bytes)
11/22/2017 7:56:38 PM14[ENC] parsed INFORMATIONAL response 451 [ N(NATD_S_IP) N(NATD_D_IP) ]
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)
11/22/2017 7:56:38 PM13[KNL] querying policy failed: No such file or directory (2)

in the log of IPSec router containers.

Same here on a clean install. Restarting all routers in the cluster reset the CPU leak.

Tested with rancher/server: 1.6.11 using  ipsec version - 0.2.1 which comes with rancher/net:v0.13.5
Have 3 node environment with few containers(~50).
Memory consumption for ipsec-router container is  ~ 10 MB. After keeping the setup idle for ~ 3 days , memory consumption for ipsec-router container continues be  ~ 10 MB. There is no cpu spike seen.
In a similar setup  rancher/server: 1.6.11 using  ipsec version - 0.2.0 , when the setup was up for about 1 day ,  ipsec router’s memory consumption had increased to ~200 mb ( was ~20 mb to begin with) and now CPU spikes to 80% was noticed.

Tested with rancher/server: 1.6.11 using  ipsec version - 0.2.1 which comes with rancher/net:v0.13.5
Have 3 node environment with few containers(~50).
Memory consumption for ipsec-router container is  ~ 10 MB. After keeping the setup idle for ~ 3 days , memory consumption for ipsec-router container continues be  ~ 10 MB. There is no cpu spike seen.
In a similar setup  rancher/server: 1.6.11 using  ipsec version - 0.2.0 , when the setup was up for about 1 day ,  ipsec router’s memory consumption had increased to ~200 mb ( was ~20 mb to begin with) and now CPU spikes to 80% was noticed.


Unable to direct route china websites (non existing tag: direct)

V2Ray version and OS (kernel)
$ ./v2ray version
V2Ray 5.7.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.20.4 linux/amd64)

$ uname -a
Linux pc 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I am running ubuntu 22.04 LTS
How did I run it?
$ ./v2ray run -c config/myconfig.json

Problem
I tried to bypass mainland china IP and direct access china websites.
But all traffics are routed via proxy.
In the log file, I can see a warning message:
[Warning] [3625903356] app/dispatcher: non existing tag: direct

I am not sure if this is related to the issue. But it seems it can not find direct outboundTag.
My Config file
I tried many different combination of JSON files. I have tried to debug this problem for a day.
Thus I have tried "IPOnDemand" and "IpIfNonMatch" etc.. (all kinda of different config files)
I did google a lot and tried to compare my config file with others. But I can't find any issues.
The following config file is just the last one I tried:
{
  "log": {
    "access": "/tmp/v2ray.log",
    "error": "/tmp/v2ray.log",
    "loglevel": "debug"
  },
  "inbounds": [
    {
      "port": 10222,
      "listen": "<IP_ADDRESS>",
      "tag": "socks-inbound",
      "protocol": "socks",
      "settings": {
        "auth": "noauth",
        "udp": false,
        "ip": "<IP_ADDRESS>"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "host.domain",
            "port": 8000,
            "users": [
              {
                "id": "my-id",
                "alterId": 1,
                "security": "aes-128-gcm"
              }
            ]
          }
        ]
      }
    }
  ],
  "routing": {
    "domainStrategy": "IpIfNonMatch",
    // "domainStrategy": "IPOnDemand",
    "rules": [
      {
        "type": "field",
        "outboundTag": "direct",
        "domain": [
          "geosite:cn"
        ]
      },
      {
        "type": "field",
        "outboundTag": "direct",
        "ip": [
          "geoip:cn",
          "geoip:private"
        ]
      }
    ]
  }
}

I thought "direct" is built-in outbound, but it's not. I just realized that I need to create the outbound manually. Very sorry and close the issue.


Send user to batch details page when they click on a batch in the inventory by species or inventory by nursery views

Current dependencies on/for this PR:

main

PR #1889   👈

This stack of pull requests is managed by Graphite.


Adding statistics backend for webhook

Currently, the httpNotification only works for notifying failures. To be able to have the same kind of statistics as cassandra has but not in cassandra, we have added a webhook integration as discussed in #564 with @andygrunwald.
The JobStats is too coupled with Cassndra at the moment. I think seperating cassandra from JobStats is a good idea to be discussed. But this PR basically adds a publisher to push the data similar to Cassandra. Along with that, it also sends metrics in a json format.
How data is sent:
{
    "attempt": "0",
    "histogram": {
        "75thPercentile": 14155.0,
        "95thPercentile": 16132.0,
        "98thPercentile": 16132.0,
        "99thPercentile": 16132.0,
        "count": 13,
        "mean": 13168.0,
        "median": 13168.0
    },
    "job_name": "RecurringSleep",
    "job_owner"<EMAIL_ADDRESS>    "job_schedule": "R/2015-11-26T13:57:44.000Z/PT20S",
    "slave_id": "caa576d0-a3c8-494c-aad0-d2101ce6bc33-S1",
    "taskId": "ct:1448546204000:0:RecurringSleep:",
    "task_state": "TASK_RUNNING",
    "ts": "Thu Nov 26 13:56:44 UTC 2015"
}

This is the first approach. We would be very happy to get your feedback on this PR on your general interest in getting this feature into chronos.

Hi @brndnmtthws,
Thanks for the feedback. I addressed your comment in the commit. But after that the test is failing and I can't figure out why my changes are affecting these tests. These changes were mainly removing the comments and repositioning the import statement. My guess was that something changed in the master that doesn't work properly with this PR.  I did the build locally by:
git fetch origin pull/593/head:prrequest593
git merge prrequest593

I ran the tests on prrequest593 branch and on master branch after merging prrequest593. Both  cases seem to pass the tests properly. Would you have any idea on this? If not, I can investigate this further.

Hello @florianleibert @andyk @brndnmtthws,
Would it be possible to get a feedback on this? Do you think it would be possible to include such a feature in 2.5.0-RC1?
Thank you.

I'm closing this PR for now. If you'd like to rebase against master and reopen, feel free.


Documentation

The code lacks comments and docstrings to explain the purpose of the functions, the input and output arguments, and the general functionality of the code. Proper documentation makes it easier for others to understand and maintain your code.

Solved with v.0.0.4


Update Build Method

This should build into a monolithic module in accordance with best practice.

I'll take care of this one before working on other things.


[Theme Switching] 🧼 Update Android modals to use native system modal

Coming from https://expensify.slack.com/archives/C01GTK53T8Q/p1702657731582819

If this is a system dialog (which it is as it uses Roboto and San Francisco fonts), then I say they shouldn't have any additional customization as that means it'll get proper light/dark mode based on the system.

Relevant issues:
https://github.com/Expensify/App/issues/33120
https://github.com/Expensify/App/issues/33138
https://github.com/Expensify/App/issues/33136

I need to get aligned on where we're at with this post holidays

Haven't had a chance to update this issue, but I am planning to open this externally once we center on intended behavior with design

back from OOO, I'll update this later this week- making daily so I dont forget

Still havent gotten to update this one

Closing this out for now


Add documentation for public API

We also need to add javadoc for public API

We also need to add javadoc for public API

Fixed by #4 ? May be closed?

@nesterov-n yeap!


Adding missing type conversion as parse requires string.

Fatal error was thrown on missing user-agent header.

Hello @mdesign83
Thanks for this contribution. I've tweaked and amended it in #225, it will be released very soon


"Cannot convert argument 1 from Object to Object"

Godot version:
3.1 beta 4
OS/device including version:
Windows 10
Issue description:
When trying to use Area2D's body entered signal, I get this error.

This may or may not be a wider spread issue.

Do you have a code example?  I haven't run into this yet myself, and can't reproduce it based on the description.

Indeed, without steps to reproduce nor a project to test with, we can't really debug nor fix anything.

It is an issue with the typing system. In the connected signal function, in the parameter make sure it shows “body: PhysicsBody2D.” I am getting the error when a kinematic body overlaps the Area2D.

MRP: typed_signal_bug.zip


ABI: use elaborated type for type reference (NFC)

Use the elaborated type for the type alias that we are creating.
Because the type inherits from TargetMetadata, the reference here is
parsed as a reference to the underlying type in MSVC.  Use the
elaborated type to resolve to the type itself.  The rules for these
changed around C++11, but MSVC defaults to the old style of the name
resolution.  NFC.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge


⚠ Samsung has degraded performance

In 6165358, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2489 ms

Resolved: Samsung performance has improved in 2daa0f3.


After clearCache is called you cannot acquire any token

Library

[x]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Framework
None, basic JavaScript application
Description
When receiving an error on an acquireToken, the catch block will trigger a call to application.clearCache(), causing any subsequent calls to get a "null_or_empty_id_token".
clearCache removes the id token from localStorage, but it is still set for the in-memory copy of Msal.UserAgentApplication.
MSAL sees that idToken is set in-memory, so it never requests a new idToken and will fail on receiving the access token if it can't lookup the id token in localStorage
Error Message
null_or_empty_id_token
Security

[ ] Is this issue security related?

Regression

[ ] Did this behavior work before?
Version:

MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.
// Repros with a basic configuration
var application = new Msal.UserAgentApplication({
    auth: {
        clientId: "<APP_ID>",
        redirectUri: "https://localhost"
    }
});

Reproduction steps
// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.

// Get token that requires consent. Fails with error code: consent_required.
application.loginPopup().then((result) => {
    console.log(result)
    application.clearCache();
    return application.acquireTokenSilent({
        scopes: ["user.read"],
    });
}).then((result) => {
    console.log(result)
}).catch((ex) => {
    console.error(ex);
});

//Try call again, subsequent calls will fail with error code: null_or_empty_id_token

Expected behavior
Allow subsequent calls even if the first one failed.
Browsers/Environment

[x] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

@julio177 What's the reason that you want to call clearCache? That method is not intended to be used for situations other than logout. Additionally, your app should not have to invoke it directly.

I'm sorry, clearCache call was supposed to be in the catch section of the call.
So calling the method on anything other than logout i.e. error calls is not an expected behaviour right?

clearCache is designed for logout, and we don't recommend calling it directly.

Closing this as we're assuming the original question has been answered, please open a new issue if you have further questions. Thanks!


Support sparkfun thing plus stm32

Hi,
Please consider accepting this MR which adds support for SparkFun's Thing Plus STM32 board. The USB VID and PID values were provided by SparkFun and are already in CircuitPython's definition for this board.
Tested by using TinyUF2 to install CircuitPython 7.2.0 (alpha) to my own board.
Thanks!

bootloader shouldn't share PID with circuitpython application.
Sorry @hathach, I was unaware of this. I can send an E-mail to SparkFun's technical support asking if they have another PID or re-use them for bootloaders.

I will mention helpful community member @brhoff720 in case he can offer some advice!

@NathanY3G @hathach
Let's use these PIDs:
SparkFun Thing Plus STM32 - Bootloader | 0x002C
SparkFun MicroMod STM32 Processor  -Bootloader | 0x002D
I'll ask an engineer to update files as needed as well.  Thanks for catching this.

great, @NathanY3G please update pr with the new PID. then it will be good to merge

Thanks for the review @hathach :-)


[Release-1.27] - Load balancer crashing with IPv6 disabled

Backport fix for Load balancer crashing with IPv6 disabled

#10455

Validated on Version:
-$ k3s version v1.28.12+k3s-815efbfc (815efbfc)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
Cluster Configuration:
1 node server
Steps to validate the fix

Installed K3s
Host has IPv6 disabled - ipv6.disable=1 in GRUB_CMDLINE_LINUX and the following sysctl settings set to 1:

net.ipv6.conf.all.disable_ipv6
net.ipv6.conf.default.disable_ipv6
net.ipv6.route.flush

Validate that the  svclb-traefik is created and working as expected
Validate pods

Reproduction Issue:

 $ journalctl -xeu k3s.service -f

efik-a2a52733-2cf9m_kube-system(a02450da-9888-46c6-9460-2dee9d85a4b2)\\\": rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory: unknown\"" pod="kube-system/svclb-traefik-a2a52733-2cf9m" podUID="a02450da-9888-46c6-9460-2dee9d85a4b2"
Aug 09 13:32:43  k3s[1336]: W0809 13:32:43.734670    1336 manager.go:1169] Failed to process watch event {EventType:0 Name:/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda02450da_9888_46c6_9460_2dee9d85a4b2.slice/cri-containerd-8183720517ca633ad3022bf397d0d2e98f71c41651b78fa8d036c4f5723ec25c.scope WatchSource:0}: container "8183720517ca633ad3022bf397d0d2e98f71c41651b78fa8d036c4f5723ec25c" in namespace "k8s.io": not found

Validation Results:

kube-system   metrics-server-54fd9b65b-vcrfq            0/1     Running     0          24s
kube-system   svclb-traefik-18732769-96dh5              2/2     Running     0          8s
kube-system   traefik-7d5f6474df-44hk2                  1/1     Running     0          8s


Update UserServlet to handle access token

Update the UserServlet class to update Firestore when user's access token expires

Update the UserServlet class to update Firestore when user's access token expires

This actually maybe already handle by Firebase. My doPost method for BookLists either creates a new BookList on Firestore or overrides it.


Not able to install stencil from source

Describe the bug
Not able to install stencil from the source when I execute the make build command to build the stencil binary file getting issues as mentioned below

generating ui build
make[1]: Entering directory '/home/hemanth/projects/go/stencil/ui'
make[1]: yarn: No such file or directory
make[1]: *** [Makefile:10: dep] Error 127
make[1]: Leaving directory '/home/hemanth/projects/go/stencil/ui'
make: *** [Makefile:35: ui] Error 2

To Reproduce
Steps to reproduce the behavior:

Clone the repository
Navigate to the project directory
Run the make build command

Expected behavior
The build should complete without any errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [Ubuntu 22.04]
Go[1.18.7]

Need to add yarn as one of the dependencies.

Hi @hemanthsavasere,
Yes. It has Yarn dependency. We will update the README. Thanks for pointing that out.


Improving scrcpy add support for non-english Characters such as arabic.

Add support for non english charecter like arabic in scrcpy-server  it would be great 👍 pls (:

Use UHID keyboard mode: https://github.com/Genymobile/scrcpy/blob/master/doc/keyboard.md#physical-keyboard-simulation

I don’t really like Uhid I prefer using SDK instead

Use UHID keyboard mode: https://github.com/Genymobile/scrcpy/blob/master/doc/keyboard.md#physical-keyboard-simulation

Then you can't inject arabic characters.


Mruby build issue with latest version

I'm working on some ngx_mruby project recently main master branch switched to latest mruby version. So, I have got following mruby related issues.
Environment: OSX, Clang
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.7.0
Symbol not found _mrb_sym2str
nginx: [emerg] dlopen() "/usr/local/nginx/modules/ngx_http_mruby_module.so" failed (dlopen(/usr/local/nginx/modules/ngx_http_mruby_module.so, 10): Symbol not found: _mrb_sym2str
  Referenced from: /usr/local/nginx/modules/ngx_http_mruby_module.so
  Expected in: flat namespace
 in /usr/local/nginx/modules/ngx_http_mruby_module.so) in /usr/local/nginx/conf/nginx.conf:12

And then when I run rake in the mruby folder I have got another issue.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command Failed: [gcc  -o /Users/ngx_mruby/mruby/build/host/bin/mruby-strip /Users/ngx_mruby/mruby/build/host/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.o /Users/ngx_mruby/mruby/build/host/lib/libmruby.a  -lm -lreadline -lncurses ]

Is there anything changed in the build process?

@matz  sorry for for delayed answer. I haven't tried yet. For now let me close it by myself.
If I face some issues with version upgrade let me reopen it later.
Thanks.


Pdf and tables parsing PoC script - Using Unstructured and Pandas

This script showcases extracting text from the pdf and if it finds a table, we parse the table as html using pandas and convert each row as page content. Both, table content and regular text retain the metadata(like page no, category etc). Let me know if any changes are required and if so, how must they work?

Awesome. How to integrate:

Create a parsers.py and move the unstructured code there.
Add unstructured to pyproject.toml — you might have to setup poetry locally and then run poetry add

Make a recommendation on whether we should integrate this with the chat_complete or Conversation? What are the trade offs? What will the end user workflow/code look like?
For the recommendation — would prefer pseudo-code instead of English, but can live with English if that works for you :)

Awesome. How to integrate:

Create a parsers.py and move the unstructured code there.
Add unstructured to pyproject.toml — you might have to setup poetry locally and then run poetry add

Make a recommendation on whether we should integrate this with the chat_complete or Conversation? What are the trade offs? What will the end user workflow/code look like?
For the recommendation — would prefer pseudo-code instead of English, but can live with English if that works for you :)

from agentai.api import chat_complete
from agentai.parsers import Parser
from pydantic import BaseModel, Field

def doc_loader(filename):
     docs = Parser.parse_pdf(filename)
     # Using chroma db as an example
     collection = chroma_client.create_collection(name="my_collection")
     collection.add(
         embeddings=[[1.2, 2.3, 4.5], [6.7, 8.2, 9.2]],
         documents=["This is a document", "This is another document"],
         metadatas=[{"source": "my_source"}, {"source": "my_source"}],
         ids=["id1", "id2"]
     )

class Query(BaseModel):
    query_embedding: List[int] = Field(..., description="Embedding for the query to srach")
    query_text: Optional[str] = Field(..., description="Simplified query from the user to search")
    k: str = Field(..., description="The number of results requested")

@tool(registry=search_docs_registry)
def get_best_documents(query: Query) -> List[Document]:

    doc_search = results = collection.query(
         query_embeddings=[query.query_embedding]
         query_texts=[query.query_text],
         n_results=query.k
     )
    return doc_search

# From SQLite Document Code
agentai_functions = [json.loads(func.json_info) for func in [get_best_documents]]

agent_system_message = """You are ChinookGPT, a helpful assistant who gets answers to user questions from the Chinook Vector Database.
Be as precise as possible to your users
Begin!"""

doc_conversation = Conversation()
doc_conversation.add_message(role="system", content=agent_system_message)
doc_conversation.add_message("user", "Hi, what are the top 3 features of layoutparser?")
assistant_message = chat_complete(
    conversation=doc_conversation, functions=agentai_functions, model=GPT_MODEL, callable_function=get_best_documents
)

doc_conversation.display_conversation(detailed=True)

What do you think? This way, an extra embedding call can be saved.


authen connection????

I use url = ws://reqes:samcard2016@example.com:3000/websocket but not connect to server meteor. But if i use ws://example.com:3000/websocket then it connected!!!
help me??

have you tried<EMAIL_ADDRESS>

@grsabreu thanks you!! But i try it and not work!! :(

@noris666 Hi!!
Because, I use authorization for frontend, who's that avoid can view web of me when i developing. But ws not connect to meteor server!! :(


Add releases.yml config for github

Motivation:
Would like to use github to autogenerate release notes.
Modifications:
Bring over configuration consistent with NIO and other popular repos.
Result:
Once labels are synchronised release notes can be generated by github

@swift-nio-bot test this please

@swift-server-bot test this please

@swift-server-bot add to allowlist

@swift-server-bot add to allowlist


Java - FizzBuzz Using For-Loop and Ternary Operator.

FizzBuzz Using For-Loop and Ternary Operator. Applied all the logic of Fizz and Buzz in a single line only.

Thank you!


Add rule for publishing to org-level github-pages repo

Release Notes
Adds a new rule for handling github-pages deployments specific to an organization.
Releases are organized by major version number, with aliases for the latest release and canary versions.

:rocket: PR was released in v0.1.0 :rocket:


Data mining for District (Nagaon, Morigaon, Kamrup Rural)

will add these issues in the data-repo. Closing it from here.


[MM-42332] Calls: Add speakerphone button

Summary

Add a Speaker button to the call screen

Ticket Link

https://mattermost.atlassian.net/browse/MM-42332

Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[ ] Includes text changes and localization file updates (not applicable -- we don't have localization yet)
[ ] Have tested against the 5 core themes to ensure consistency between them. (not applicable)

Device Information
This PR was tested on:

iOS iPhone 7 Plus
Android Pixel 6

Screenshots

iOS:

Android:

Release Note
Adding a Speakerphone button to the calls interface

@enahum Sure, a bunch of ways (e.g., using a Context, prop-drilling a state variable, etc.), but v1 is setup to use redux, so I'm just using what Jesus and Claudio already set up. Open to other options!

@enahum Sure, a bunch of ways (e.g., using a Context, prop-drilling a state variable, etc.), but v1 is setup to use redux, so I'm just using what Jesus and Claudio already set up. Open to other options!

I remember my first review was about telling them not to use redux if it can be avoided and then a bunch of stuff changed to use events.
I'm not against you guys using redux, but if it can be avoided you should, as later on while porting this to v2 will make your life easier

@enahum How are you doing global state management in v2? Do we have that available in v1?

@cpoile for data that needs to be perdisted we just use the db, for other ephemeral stuff the context api.
In v1 you could just set some context api for everything calls related that is somewhat ephemeral

@enahum Yah, I'm not the hugest fan of redux (it's a pain to add even a simple boolean, like I just did), but unfortunately I need to turn that boolean off when the call is ended, which happens in redux actions, so it's much easier to do it in redux. We'll have to redo all of this state management when moving to v2, so adding a new parallel system for v1 calls is probably a lot of workaround for little benefit when moving to v2.

@cpoile ok i get it.
Question: what happens when i flipped the switch to on and then without leaving the call I decide to close the app?
Rudux state for products is not persisted, is it?
If is not, then this should be ok for v1

@enahum Nope, not persisted. And the speakerphone state is reset when joining a call anyway, so it will match the default speaker state of false.

I guess we could use the DeviceEventEmitter plus some component state as I did for the voice events but in this case the impact is much lower given it's clearly not a frequent event so using redux makes sense. Of course porting to v2 this will have to change, same as almost everything else really.

@enahum Not sure about the standard practice here -- who should be the mobile team reviewer? Could you suggest someone?

@srkgupta Ah, my mistake, sorry!

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/20789
https://circleci.com/gh/mattermost/mattermost-mobile/20788

Artifact links:
https://20789-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.apk
https://20788-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.ipa


Commit name input focus changes in workspace

VS Code Version: 1.54.3
OS Version: Windows 10

Steps to Reproduce:

Open workspace
Stage changes
Start typing commit name
The changes are staged, the focus moves to the commit name input of the last folder of the workspace

Does this issue occur when all extensions are disabled?: Can't check: need 1 extension for WSL

Footage of the bug
https://user-images.githubusercontent.com/62328077/113510604-eb77ed80-955b-11eb-8fa9-1f9a2e454e7a.mp4
Keywords
git commit focus stage

Duplicate of #116930


Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming

Hi! Ciao! How Are You???
Bug, feature request, or proposal:
Could not find Angular Material core theme, although all core  @include mat-core(); is included. I got 6 themes, all working except the warning.
What is the expected behavior?
No warning.
What is the current behavior?
Warning.
What are the steps to reproduce?
git clone https://github.com/patrikx3/corifeus-app-web-pages.git
cd corifeus-app-web-pages
yarn install
grunt run

See.
What is the use-case or motivation for changing an existing behavior?
Themes.
Which versions of Angular, Material, OS, browsers are affected?
Current.
Is there anything else we should know?
Nope.

Yeah, I'm getting this as well.

We have a marker style that we check for on load. When are you loading your theme?

It is dynamic, based on a cookie.

but i think the mat-core is loading right away.
it is in a css. so instant i think.

I can see you loading the mixins in a few places, but I couldn't find any instances of the mat-core or angular-material-theme mixins being included anywhere.

https://github.com/patrikx3/corifeus-web-material.git
The styles are there.

https://github.com/patrikx3/corifeus-web-material/blob/master/src/scss/material/_all.scss

that is a componet.
and i include here:
https://github.com/patrikx3/corifeus-app-web-pages/blob/f734270fd15d263beb4930095a90d20b7165cb42/src/angular/layout/cory-layout.scss

Alright, then it's definitely an issue with Material checking too early. We probably can't anticipate when styles are loaded without a major performance hit, but we could add a flag to disable the warnings for advanced cases like this. What do you think @jelbourn?

Being able to disable the warning might help with #4056 too

@crisbeto what if we just delay the check for a few seconds? That way it will still be visible to developers by the time they open the dev tools but should be enough time to load styles for initial view.

We could, but that can still be race condition-ey. We can do something like a 5s delay if we really want to be safe.

I'd be okay with that as a simple workaround

It seems like the warning itself could be removed in favor of a clearer set of requirements in the documentation.
I may be missing some other reason for its existence, but it appears that the compatibility module is just checking to make sure you've put @include mat-core(); in your style.  Couldn't that requirement be made more obvious (e.g., bold) in the docs, rendering the warning redundant?
Personally, the idea of tweaking timers to do css checks feels a bit hacky.

We do have info about it in the docs @Torqode, however some people tend to miss it, which ends up looking like it works in some cases, but breaks once you start using the overlay-based components.

This issue tied me in knots, but eventually, I realised that what Angular's own Materials tutorial doesn't tell us is that we must include this line in the "styles.css" file, to make the controls appear normally (certainly in Windows 7).
@import<EMAIL_ADDRESS>Trying to include that file using an "include", even in the index.html file, failed miserably for me.  It could never locate this .css file..  even if I manually copied it into the same folder as index.html.

@MikeInSwitzerland It works for me. Thanks.

How can I override the theme colors using scss and still include it before modules try to load and I get the Could not find Angular Material core theme error?

@crisbeto GREAT!  Your documentation does describe each directive such as mat-core and angular-material-theme.  I GET THAT!!
Now, where do I refer to theme.scss so that it is compiled and included in the page before receiving the error Could not find Angular Material core theme. ?
Let me explain what we need answered in this thread.  Lets say I have some basic css and the material theme color instructions all contained in theme.scss.  Follow me so far?
Do I put theme.scss in tsconfig?  E.g.:
{
    "compilerOptions": {
        "styles": {
             "./theme.scss"
        }
    }
}

NOPE!  That's not going to work!
Where do I put theme.scss so that it is compiled?  Maybe angular-cli.json?
{
    "apps": [
        {
            styles: [
                "./theme.scss"
            ]
        }
    ]
}
NO, that doesn't work because it doesn't compile scss, it just inserts css into the head of index.html.
Error:  ```Could not find Angular Material core theme```

In my app.component.ts?
https://github.com/ng-seed/universal/blob/master/src/client/app/app.component.ts

// external styles
import '../assets/sass/layout.scss';

NO!  That only works with awesome-typescript-loader and webpack, doesn't work with angular-cli?

How about using ```encapsulation: ViewEncapsulation.None``` in app.component.ts?

@Component({
selector: 'bc-app',
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [TranslateService, LayoutService],
templateUrl: './app.component.html',
styleUrls: ['./theme.scss', './app.component.scss'],
encapsulation: ViewEncapsulation.None,
})

HEY THAT WORKS!  Except we still get this error message even though everything looks correct.

Any ideas?  Anyone?  Does every theme have to start with a precompiled color in order to resolve this error?  Do you start with a precompiled theme and then override the theme meaning it injects multiple themes in to your page?

What is the most up to date method for doing this and why isn't it made clear on this page?
https://material.angular.io/guide/theming

@patrikx3 I am not sure which loader supports importing SCSS directly in your typescript files but it's not the default angular one.  Try using styleUrls: [] and moving your import code in to that, make sure you have a SCSS loader setup in web-config.

I fixed this by then moving the import from styleUrls to angular-cli.json
Apps {[name:"my-app", styles: ["./main.theme.scss"]]} then the warning went
away.
On Jul 31, 2017 7:57 AM, "patrikx3"<EMAIL_ADDRESS>wrote:

Ciao!
How are you?
Thanks for looking at it. What do you mean not default angular? I tried
AOT, JIT and the compiler with JIT at once, in the web works, though same
warning though in dev.
I did as you said:
application.ts
@Component({
selector: 'cory-home-app',
template:    <div style="padding: 5px;">        <router-outlet></router-outlet>    </div> ,
styleUrls: [
'./application.scss'
],
encapsulation: ViewEncapsulation.None,
})export class Application {
}
application.scss
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');@import url('https://fonts.googleapis.com/css?family=Roboto');@import '~@angular/material/theming';@include mat-core();
It is a Material issue.
keyboard_arrow_right
it does not add for even the material classess
keyboard_arrow_right
Angular is working. The error is only in material issue, all Angular
functions work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/4125#issuecomment-319092518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX5XbqcwCa196xlLpisthxA115seyFGzks5sTetqgaJpZM4M_mN2
.

It seems that none of the above solutions works for me. After tons of tests with rm -rf node_modules and npm install , the result is really weird.

angular-cli.json
src/styles
result

".../indigo-pink.css"
".../indigo-pink.css"
fail

".../indigo-pink.css"
".../deeppurple-amber.css"
fail

".../deeppurple-amber.css"
".../deeppurple-amber.css"
fail

".../deeppurple-amber.css"
".../indigo-pink.css"
success

Finally, the config is:
# angular-cli.json

      "styles": [
        "styles.css",
<EMAIL_ADDRESS>      ],

# src/styles.css

     @import<EMAIL_ADDRESS>
and the dependencies in package.json are:
  "dependencies": {
    "@angular/animations": "^4.3.5",
    "@angular/cdk": "^2.0.0-beta.8",
    "@angular/common": "^4.0.0",
    "@angular/compiler": "^4.0.0",
    "@angular/compiler-cli": "^4.0.0",
    "@angular/core": "^4.0.0",
    "@angular/flex-layout": "^2.0.0-beta.8",
    "@angular/forms": "^4.0.0",
    "@angular/http": "^4.0.0",
    "@angular/material": "^2.0.0-beta.8",
    "@angular/platform-browser": "^4.0.0",
    "@angular/platform-browser-dynamic": "^4.0.0",
    "@angular/router": "^4.0.0",
    "chart.js": "^2.5.0",
    "core-js": "^2.4.1",
    "hammerjs": "^2.0.8",
    "material-design-icons": "^3.0.1",
    "ng2-charts": "^1.5.0",
    "rxjs": "^5.0.1",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.8.4"
  },

@sharpevo thanks a lot for your help. I had the issue when running tests using karma. Your fix does not work for this use case, however adding the theme file in karma.conf.js as follows fixes the issue
files: [
            {pattern: './src/test.ts', watched: false},
<EMAIL_ADDRESS>        ],

For newcomers, @siebmanb's solution also worked for me. Note that the absolute path should be used (e.g<EMAIL_ADDRESS>instead of ../../node_modules/@angular/material/...). Thanks @siebmanb !!

Okay, my mistake was the following:
@import<EMAIL_ADDRESS>I put this line in src/app/app.component.css instead of src/styles.css.

Just to mention the file to edit where styles.css is configured is .angular-cli.json, not angular-cli.json. A hidden file on Unix OSes.
In src/styles.css, either this :
@import<EMAIL_ADDRESS>or this:
@import<EMAIL_ADDRESS>worked for me on @angular/cdk 5.0.0-rc0.

Still i get this error with 5.0.0-rc.1. all components are getting displayed but the warning in the console keeps coming.
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
I followed all the "Get started" instructions. is there anything i am missing. I am using webpack instead of  systemjs.
any thoughts

Experiencing the same in 5.0.0-rc.1
Tried a tons of stuff, but nothing seems to allow my app to see the css file. Whatever, I'm likely downgrading to rc.0 if it somehow works for some strange reasons :P

That warning is a sanity check that won't be done in production mode. If you want to disable it in development mode, you can use the MATERIAL_SANITY_CHECKS token. E.g.:
@NgModule({
  providers: [{provide: MATERIAL_SANITY_CHECKS, useValue: false}]
})
export class YourModule {}

I've found a solution for electron.
Avoid including the file in the .scss files, include it in your vendor instead.
In a nutshell, include the file in a .ts file, ideally the vendor.ts file. This will properly include everything.
To make things clearer, in my case I had a app.style.scss file with:
@import<EMAIL_ADDRESS>I've removed this line and added in my vendor.ts file:
import '@angular/material/prebuilt-themes/deeppurple-amber.css';.
Also, I'm using webpack. The relevant part for CSS / scss is:
           {
                test: /\.scss$/,
                exclude: /node_modules/,
                loaders: ['to-string-loader','raw-loader','sass-loader']
            },

I found a quick fix to avoid this issue:
themes.scss
@import '~@angular/material/theming';
@include mat-core();
// all custom themes imports below
@import './matooma-theme';
@import './yellow-mars-theme';

// all custom themes includes
// Include the alternative theme styles inside of a block with a CSS class. You can make this
// CSS class whatever you want. In this example, any component inside of an element with
// `.unicorn-dark-theme` will be affected by this alternate dark theme instead of the default theme.
.matooma-theme {
  @include angular-material-theme($matooma-theme);
}

.yellow-mars-theme {
  @include angular-material-theme($yellow-mars-theme);
}

###style.scss
@import<EMAIL_ADDRESS>
@import "./style/themes";

Just add a default angular material import in your style.scss. Not the best solution but works, no warning and no transparency on modals.

if I don´t want to use the material thems and use my own, how can I hide this message?


User authentication using SSH keys

We would like to use SSH keys for authentication to xrdp.  Has anybody done this?  I suspect not because I haven't found anything on Google.
It would need non-Microsoft/standard extensions to the protocol, perhaps using one of the following ideas.  (So this would need changes to xrdp, FreeRDP and/or rdesktop and probably won't work using the Microsoft client or server!)

Use a custom RDP virtual channel for SSH authentication, similar smart card authentication.
Use the existing smart card authentication with a X.509 certificate provided by to the client locally, e.g. from a file or by ssh-agent, rather than a real smart card.
Add new security protocols to RDP_NEG_REQ (<IP_ADDRESS>.1) and RDP_NEG_RSP (<IP_ADDRESS>.1), similar to CredSSP/PROTOCOL_HYBRID in the MS-RDPBCGR spec.

An alternative might be to connect using SSH, at which point the user is authenticated, so we can forward an xorg/xorgxrdp session running as that user without the usual login dialog.  (Would that work?  Would reconnecting sessions be possible?)

Hi Ben,
A quick and dirty way to do it is probably modify xrdp and an open-source
client such as FreeRDP, and add some custom pre connection messages that
makes this SSH authentication phase first. This will limit the usage of
xrdp to a custom client.
The cleaner way is to add NLA support in xrdp (not implemented yet) and
then implement the custom authentication mechanism on top of it. That way
client will be able to negotiate supported auth methods.
I don't see how you can easy leverage SC channel for this purpose.
HTH,
Idan.
On Tue, Jun 13, 2017 at 10:39 PM Ben Cohen<EMAIL_ADDRESS>wrote:

We would like to use SSH keys for authentication to xrdp. Has anybody done
this? I suspect not because I haven't found anything on Google.
It would need non-Microsoft/standard extensions to the protocol, perhaps
using one of the following ideas. (So this would need changes to xrdp,
FreeRDP and/or rdesktop and probably won't work using the Microsoft client
or server!)

Use a custom RDP virtual channel for SSH authentication, similar
smart card authentication.
Use the existing smart card authentication with a X.509 certificate
provided by to the client locally, e.g. from a file or by ssh-agent, rather
than a real smart card.
Add new security protocols to RDP_NEG_REQ (<IP_ADDRESS>.1) and
RDP_NEG_RSP (<IP_ADDRESS>.1), similar to CredSSP/PROTOCOL_HYBRID in the MS-RDPBCGR
spec
https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-RDPBCGR/[MS-RDPBCGR].pdf
.

An alternative might be to connect using SSH, at which point the user is
authenticated, so we can forward an xorg/xorgxrdp session running as that
user without the usual login dialog. (Would that work? Would reconnecting
sessions be possible?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/issues/773, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1JedoR6Udd0Md9YhRzyt9QHezm_Yks5sDuVsgaJpZM4N4_Bz
.

https://mailtrack.io/ Sent with Mailtrack
<EMAIL_ADDRESS>Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

Hi Idan,
Thanks for your reply.  I am going to try to implement this using RDP over SSH as described below, because this should be a relatively simple change.  I'll let you know how I get on...
RDP over SSH
I want to use SSH keys to authenticate to a computer, so why not use SSH to log in to it? :-)  Then we just need xrdp to allow a user to connect as themselves to a local session and forward RDP over the SSH connection.
SSH can forward a connection to a Unix domain socket (AF_UNIX) on the server.  This allows authentication [1,  2] locally within a Unix system which is sufficient to connect to xrdp without requiring a password (as the SSH authenticated user only).  (Credit due to my colleague Andy for suggesting this: I was thinking of changing xrdp to allow a normal user to create a session, which would be more effort for a worse solution.)
Advantages

Minimal changes required.
No changes to RDP protocol so any client can connect without modification.
Don't need to expose xrdp externally.
ssh-agent is forwarded "for free" (if you specify "ssh -A").
SSH authentication and policy all done by ssh itself.

Disadvantages

RDP over SSH might be slower or laggier.
Requires SSH 6.7 or later to forward Unix domain sockets.  (Workaround: socat)
Requires Unix domain socket on xrdp server side.  (I.e. if you port xrdp to Windows, you'll have to do it another way.)

Implementation

Modify xrdp to listen on a Unix domain socket, e.g. /var/run/xrdp-ssh.socket, as well as (or instead of) a TCP socket.

If a connection tries to log in using the socket then find the other end's user using "getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len);" (on Linux).  If this is the same as the logon username then allow it: it can bypass the logon box.

There should be an xrdp.ini config option e.g. af_unix_auth (and perhaps also af_unix_listen) to enable or disable this.

Forward environment variables SSH_AUTH_SOCK and SSH_AGENT_PID to the session for the ssh-agent.

Write a wrapper script to set up the SSH connection and launch the RDP client, e.g. roughly this.

    ssh <user>@<host> -fxNT [-A|-a] -L localhost:<port>:/var/run/xrdp-ssh.socket sleep 10
    rdesktop|xfreerdp -u <user> localhost:<port>   # or
    xfreerdp /v:localhost:<port>

Unsolved problems and thoughts

If you disconnect and reconnect, the agent will have different credentials so will no longer work within the session.  (This might be solved by ssh-agent-proxy.)

If the server closes the RDP connection will ssh and the rdp client close cleanly?  (An auto closing ssh tunnel will help.)

How to prevent random other clients from connecting to the ssh port?  (Answer: could have the SSH command write a secret to the server and have the client use the same secret as the password.  Note we can use e.g. 127.0.NNN.1 as a private ip!)

How to choose a free port?

What does SO_PEERCRED actually report for an SSH forwarded unix socket?

Alternative solutions
My alternative choice would be to add an RDP channel to forward ssh-agent requests from the server to the client.  Then the client sets a custom flag in the protocol, e.g. PROTOCOL_SSH_AUTH=0x00001000 in requestedProtocols in RDP_NEG_REQ.  The server will attempt authentication over the ssh-agent channel.  That is reasonably straightforward but sensitive to changes in the official protocol and the SSH bit might end up being a lot of work.  (The ssh-agent channel would actually be useful generally during sessions, although it is up to the client whether to allow that.)
SSH can forward X.509 certificates but I think that is non-standard, and xrdp doesn't seem to support smartcard logon so I haven't pursued that route.  And NLA looks quite complicated!

That won't work because the RDP client connects to xrdp but the authentication is done by sesman, which can't see the RDP client's socket.
Instead add a command to sesman to generate a token to can be used as credentials by an RDP client.  And allow sesman to authenticate using the user at the other end of a local socket.
So now the wrapper script will look like this:
ssh <user>@<host> -fxNT \
                  [-A|-a] \
                  -L localhost:<port>:localhost:3389 \
                  'xrdp-sesadmin -u=`whoami` -c=token ; sleep 10' \
| (read token ; \
   rdesktop -u token -p $token localhost:<port>)

This has the advantage that ssh doesn't need to forward Unix domain sockets (solving some of the problems mentioned above).

I've just written a PAM module that allows this, at least on Linux, by generating a temporary token.  It needs no changes to xrdp or RDP clients at all, except for editing /etc/pam.d/xrdp-sesman.  See https://github.com/ben-cohen/transient_token.  The wrapper commands are:
# edit as appropriate
SERVER=server
USER=`whoami`
REMPORT=3389

# direct rdp connection
ssh $SERVER \
    -x \
    get_transient_token
| (read TOKEN ; \
   xfreerdp /v:$SERVER:$REMPORT /u:$USER /p:"$TOKEN")

# rdp via ssh tunnel
ssh $SERVER \
    -x \
    -L localhost:12345:localhost:$REMPORT \
    'get_transient_token ; sleep 10'
| (read TOKEN ; \
   xfreerdp /v:localhost:12345 /u:$USER /p:"$TOKEN")

(This doesn't help for systems without PAM.  For such systems you could implement this by checking the token in auth_userpass() in verify_user.c.)
Unfortunately the client's ssh-agent is not made available to the remote session.  For the SSH tunnel, which can forward the key, ssh-agent-proxy might work.  For connections not made over SSH, I think an RDP channel could solve this.

@ben-cohen Can you login to Windows server using SSH keys?

Hi @volth, no I don't believe so.
It might be possible by writing a custom Credential Provider and an virtual channel, but that's beyond my knowledge of Windows!  But it might not be possible.


How to allow iframe tags?

 I want to allow iframes for YouTube embeds. I can find no documentation for this entity type on the draftjs.org website.
There seems to be no information resource listing all the available entity types?

@Hereward I’m not sure there is docs for this, but at the moment Draft.js only transforms images (IMAGE entity from img tag) and links (LINK entity from a tag). If you want to be able to copy-paste iframes / YouTube embeds directly into the editor, you’ll need to create your own custom entities for this.
Then for the filters, all that’s needed would be to whitelist the entities. Something like:
        entities: [
          {
            type: "EMBED",
            attributes: ["url"],
          },
          // [...]
        ],

If that helps, I have an example of an "embed" entity in my open-source editor: https://github.com/springload/draftail/blob/b6583bdcc33eb5b115d2ab224afc06270f4a3f2b/examples/examples.story.js#L64-L93, https://github.com/springload/draftail/blob/master/examples/examples.story.js#L64-L93. See also https://demo.draftail.org/storybook/?path=/story/plugins--auto-embed.

@thibaudcolas  - thanks. I am thinking about migrating my project over to your text editor. I've been using react-draft-wysiwyg for a while now but there has been an endless stream of bugs with it. I think the reason I did not use your editor before was due to lack of default support for inserting images, but I notice your demo has an image option now.
One problem that comes up randomly in my current editor when pasting rich text is a fatal error "Uncaught Invariant Violation: Unknown DraftEntity key: null." This is not a paste from word - it's just fairly basic HTML.
When I have time I may see if I can integrate your editor with my code. Thanks :)

FYI - the "Invariant Violation" error happens when I try to past HTML containing the <figure>.

Hmmm that issue sounds like the copy-paste processing trying to create an image, and then the editor not being able to render it for some reason (a missing entity key would mean the image block is there, but not linked to any image data?).
My editor doesn’t support as many things as react-draft-wysiwyg, but it’s built with https://www.draft-js-plugins.com/, so you may be able to use things from there? Otherwise yes the demos have an example of an image block. It’s limited but it works :) The main reason why this isn’t built-in is that how images should work depends a lot on where the editor is integrated (e.g. a CMS, blog comments, etc).

OK thanks :)


Extract leadership package and update Godeps

This is mostly cosmetic but the leadership package was always considered as an extension to docker/libkv which is in its own repository now. It makes more sense to extract it and consider it as a library.
@docker/swarm-maintainers WDYT?
(would be nice to check if it didn't messed up with Godeps somehow, I had some issues adding the new dependency)
Signed-off-by: Alexandre Beslic<EMAIL_ADDRESS>

@vieux Fixed the go version in Godeps.json, thanks for finding this :)

LGTM thanks @abronan

LGTM.


Support for Microsoft exchange

Feature Request?
Any plans to support exchange accounts ? This used to be a feature in nylas N1 before but was taken out from nylas-mail

Have been wanted to use nylas mails with exchange since it got firts released. Would be fantastic to have this feature on this branch if possible.

Unfortunately, that's probably a large feature and we have no current plans to implement this. With that said, we would love to merge in anyone who would like to do the implementation

@seesemichaelj i would love to have a commit as a reference on nylas mail original repo, where this feature was present. If we have that we could know if this development needs to be gigantic or it would be possible. Maybe with much luck it could be merged and tested on this branch.

I couldn't really find one commit for this. The closest is maybe this issue https://github.com/nylas/nylas-mail/pull/109 with corresponding commit about adding custom exchange server field, which seems to be (in newer versions) the main difference from office365 as far as I can tell. In the meantime, most office365 or exchange server also support imap so maybe this can be used by some as well.

this might be a good starting point -
https://github.com/nylas/nylas-mail/search?p=1&q=exchange&type=Commits&utf8=✓


podman-1.3 breaks my fedora-toolbox-user-* containers

/kind bug
Description
After updating to podman-1.3.1-1.git7210727.fc30 my fedora-toolbox--* containers stopped working.
Steps to reproduce the issue:

podman start fedora-toolbox-petersen-30

Describe the results you received:
WARN[0000] no such directory for freezer.state
WARN[0000] no such directory for freezer.state
Error: unable to start container "fedora-toolbox-petersen-30": error reading container (probably exited) json message: EOF

With debugging output:
$ podman --log-level debug start fedora-toolbox-petersen-30
INFO[0000] running as rootless
WARN[0000] The configuration is using `runtime_path`, which is deprecated and will be removed in future.  Please use `runtimes` and `runtime`
WARN[0000] If you are using both `runtime_path` and `runtime`, the configuration from `runtime_path` is used
DEBU[0000] Initializing boltdb state at /var/home/petersen/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /var/home/petersen/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000
DEBU[0000] Using static dir /var/home/petersen/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Using volume path /var/home/petersen/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend file
DEBU[0000] overlay: mount_data=lowerdir=/var/home/petersen/.local/share/containers/storage/overlay/l/7OABBYYYL2ZOXY4SMJECBDSSIT:/var/home/petersen/.local/share/containers/storage/overlay/l/HTDOJ4BKT5UWE2SSFGCLHTXITU:/var/home/petersen/.local/share/containers/storage/overlay/l/VAIT6OAFKPIV7WRVHXILPLRQOQ,upperdir=/var/home/petersen/.local/share/containers/storage/overlay/bd5a5c134ed8e0a274462edac873aaac6d357d47efd6fa0cbbf656a30fdc94d8/diff,workdir=/var/home/petersen/.local/share/containers/storage/overlay/bd5a5c134ed8e0a274462edac873aaac6d357d47efd6fa0cbbf656a30fdc94d8/work,context="system_u:object_r:container_file_t:s0:c94,c213"
DEBU[0000] mounted container "d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7" at "/var/home/petersen/.local/share/containers/storage/overlay/bd5a5c134ed8e0a274462edac873aaac6d357d47efd6fa0cbbf656a30fdc94d8/merged"
DEBU[0000] Created root filesystem for container d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7 at /var/home/petersen/.local/share/containers/storage/overlay/bd5a5c134ed8e0a274462edac873aaac6d357d47efd6fa0cbbf656a30fdc94d8/merged
DEBU[0000] /etc/system-fips does not exist on host, not mounting FIPS mode secret
WARN[0000] User mount overriding libpod mount at "/dev/shm"
DEBU[0000] set root propagation to "rslave"
DEBU[0000] Created OCI spec for container d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7 at /var/home/petersen/.local/share/containers/storage/overlay-containers/d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7/userdata/config.json
DEBU[0000] /usr/libexec/podman/conmon messages will be logged to syslog
DEBU[0000] running conmon: /usr/libexec/podman/conmon    args=[-c d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7 -u d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7 -r /usr/bin/runc -b /var/home/petersen/.local/share/containers/storage/overlay-containers/d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7/userdata -p /run/user/1000/overlay-containers/d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7/userdata/pidfile -l /var/home/petersen/.local/share/containers/storage/overlay-containers/d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7/userdata/ctr.log --exit-dir /run/user/1000/libpod/tmp/exits --conmon-pidfile /var/home/petersen/.local/share/containers/storage/overlay-containers/d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /var/home/petersen/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000 --exit-command-arg --log-level --exit-command-arg error --exit-command-arg --cgroup-manager --exit-command-arg cgroupfs --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg runc --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg container --exit-command-arg cleanup --exit-command-arg d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7 --socket-dir-path /run/user/1000/libpod/tmp/socket --log-level debug --syslog]
WARN[0000] Failed to add conmon to cgroupfs sandbox cgroup: mkdir /sys/fs/cgroup/systemd/libpod_parent: permission denied
WARN[0000] no such directory for freezer.state
WARN[0000] no such directory for freezer.state
DEBU[0000] Cleaning up container d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7
DEBU[0000] Network is already cleaned up, skipping...
DEBU[0000] unmounted container "d207f6acb71845b8f1a86c33e0238efb8f41b0063d1ac4b3c7aa6965b849cfa7"
ERRO[0000] unable to start container "fedora-toolbox-petersen-30": error reading container (probably exited) json message: EOF

Describe the results you expected:
The container to continue working, like it does with podman-1.2.0-2.git3bd528e.fc30.
Additional information you deem important (e.g. issue happens only occasionally):
I also tried latest podman-1.3.2-1559070567.git8649dbdc.fc30.x86_64 (https://copr.fedorainfracloud.org/coprs/baude/Upstream_CRIO_Family/build/916392/) and got the same result.
Output of podman version:
Version:            1.3.1
RemoteAPI Version:  1
Go Version:         go1.12.2
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.2
  podman version: 1.3.1
host:
  BuildahVersion: 1.8.2
  Conmon:
    package: podman-1.3.1-1.git7210727.fc30.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.12.0-dev, commit: c9a4c48d1bff85033b7fc9b62d25961dd5048689'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree:<PHONE_NUMBER>4
  MemTotal:<PHONE_NUMBER>4
  OCIRuntime:
    package: runc-1.0.0-93.dev.gitb9b6cc6.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: e3b4c1108f7d1bf0d09ab612ea09927d9b59b4e3
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 8
  hostname: localhost.localdomain
  kernel: 5.0.17-300.fc30.x86_64
  os: linux
  rootless: true
  uptime: 5m 48.6s
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/petersen/.config/containers/storage.conf
  ContainerStore:
    number: 4
  GraphDriverName: overlay
  GraphOptions:
  - overlay.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /var/home/petersen/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 12
  RunRoot: /run/user/1000
  VolumePath: /var/home/petersen/.local/share/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):
physical (Fedora Silverblue 30)

cc @debarshiray

Can you check journalctl for any messages from Conmon? The real error is
being lost before it can be printed, but should have been logged to syslog
On Wed, May 29, 2019, 00:50 Jens Petersen<EMAIL_ADDRESS>wrote:

cc @debarshiray https://github.com/debarshiray
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/3219?email_source=notifications&email_token=AB3AOCFNRVKBXYXFRS253FLPXYDSZA5CNFSM4HQJBAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOE6KQ#issuecomment-496783146,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3AOCB6ON2VN4JYRYX3HN3PXYDSZANCNFSM4HQJBAQQ
.

(@GoodMirek I think you need to remove podman-manpages at the same time, if you want to downgrade)

(@GoodMirek I think you need to remove podman-manpages at the same time, if you want to downgrade)

@juhp I had no issue with the downgrade, it just did not help.

https://docs.fedoraproject.org/en-US/fedora-silverblue/troubleshooting/
As a workaround, it is possible to override podman packages newer than version 1.2.0 following these steps:
Download podman-1.2.0-2.git3bd528e.fc30.x86_64.rpm from Koji

Remove podman-manpages issuing: rpm-ostree override remove podman-manpages

Override the currenty installed podman package (using the package you have downloaded on the first step) by: rpm-ostree override replace podman-1.2.0-2.git3bd528e.fc30.x86_64.rpm

    Alternatively, you can avoid downloading the file by issuing the following command: rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/podman/1.2.0/2.git3bd528e.fc30/x86_64/podman-1.2.0-2.git3bd528e.fc30.x86_64.rpm

You can now reboot the system for the change to take effect.

Yep, you can even do it in a single command: rpm-ostree override --remove=podman-manpages replace https://kojipkgs.fedoraproject.org//packages/podman/1.2.0/2.git3bd528e.fc30/x86_64/podman-1.2.0-2.git3bd528e.fc30.x86_64.rpm :-)

Is it intended that both podman and podman-manpages get listed twice in rpm-ostree status -v?

I don't think I can reproduce anymore with podman-1.3.2-1559353158.git2068919e.fc30 (from baude's copr) (and toolbox-0.0.10).

1.4.0 has been released, and should be trickling into F30 over the next few days (we hit some additional issues with the 29 packages, so they'll take longer). Closing as such.

I can confirm that the issue is fixed in podman-1.4.0-1.fc30.x86_64.


fix(dal): Ensure that we don't allow changing a func to an existing kind

If you have a Create func for an asset type, and we change a func type to be Create, then we want to error on save of the func because it's not allowed to have 2 different funcs of the same type for a schema variant

bors merge


TOMEE-4332 Load SpringWebUtils in the context class loader in TomEE w…

…hen the cxf-rs service is initialized

Further detail on the CXF list is here: https://lists.apache.org/thread/coxrst45zm8gqmf1hhx5g7bqzbsldkhh


organizr returning 404 fresh install

New features
Please visit http://feathub.com/htpcBeginner/AtoMiC-ToolKit
The problem
done a fresh install of organizr with latest atk in a lxc container and when i go to lxcIP/organizr i just get 404 welcome to nginx
My Linux distribution and version is:

Ubuntu Server 16.04.3

I'm seeing this behaviour on:

A fresh install

Oh looks like root /var/www; needs to be added to server.atomic.conf in  /etc/nginx/sites-available

@Blackl1st that's great if that worked for you, but it shouldn't be required because it's in the location config for org https://github.com/htpcBeginner/AtoMiC-ToolKit/blob/master/utils/nginx/locations-available/organizr.atomic.conf#L4

I am encountering this, along with a subsequent PHP/SQL Error after a fresh install of Ubuntu 18.04 LTS. This error occurred after resolving the 404 error, using @Blackl1st's suggestion above.
 Fatal error: Uncaught PDOException: SQLSTATE[HY000] [14] unable to open database file in /var/www/organizr/user.php:206 Stack trace: #0 /var/www/organizr/user.php(206): PDO->__construct('sqlite:/home/ra...') #1 /var/www/organizr/index.php(68): User->__construct('registration_ca...') #2 {main} thrown in /var/www/organizr/user.php on line 206

404 to with Organizr or maximux.

Sorry for the silence on this, can anyone having this issue post the output from ls -lah /etc/nginx/locations-enabled/

ls -lah /etc/nginx/locations-enabled/
total 8.0K
drwxr-xr-x  2 root root 4.0K Jun 15 07:52 .
drwxr-xr-x 10 root root 4.0K Jun 13 15:02 ..
lrwxrwxrwx  1 root root   51 Jun 15 07:52 organizr.atomic.conf -> /etc/nginx/locations-available/organizr.atomic.conf

Ok, how about cat /etc/nginx/locations-available/organizr.atomic.conf

I removed Nginx, i saw errors during install and it doesn't start anymore.

From organizr.atomic.conf
Version=1.1
location /organizr/
{
root /var/www;
index index.html index.php;
try_files $uri $uri/ /index.php?$args;
include /etc/nginx/snippets/php.atomic.conf;
}
I am completely new to this so hopefully that was the output you needed. I get the 404 error too. Ubuntu Desktop 18.04.

Still broken (months later)

As posted in #280 you may be interested in https://dockstarter.com/