XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync

XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
The response had HTTP status code 522.

On Meteor <IP_ADDRESS> [release]
meteorhacks:kadira 2.23.0
Platform: meteor-windows
Latest Stable from: https://install.meteor.com/windows
(It has started happening again.)
Related to issue #89

Meteor is running from C:\Users\Damon-10\Documents\Git\CC\ named CC
This is a Windows 10 (x64) Pro - English installation with Windows Defender disabled.
Windows Firewall is also disabled, and no Anti-Virus or Firewall is installed.
Meteor was launched inside the working directory with meteor run --port 9004
The calling process was cmd.exe elevated as Administrator via Ctrl+Shift method.

Client Console (Chrome 44):
Script: J9atGMgnpHtnbP4c3
Line: 1
XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access.
The response had HTTP status code 520.

Script: J9atGMgnpHtnbP4c3
Line: 1
XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access.
The response had HTTP status code 522.

Script: jquery.js
Line: 9659
GET https://enginex.kadira.io/simplentp/sync
  jQuery.ajaxTransport.send @ jquery.js:9659
  jQuery.extend.ajax @ jquery.js:9210
  Ntp.getServerTime @ ntp.js:117
  cacheDns @ ntp.js:70

Server Console:
[[[[[ C:\Users\Damon-10\Documents\Git\CC ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/
   Type Control-C twice to stop.

I20150807-16:42:34.349(-7)? Kadira: completed instrumenting the app
I20150807-16:44:14.463(-7)? Kadira: retrying to authenticate (error: unidentified error code: 524)
I20150807-16:44:34.819(-7)? Kadira: retrying to authenticate (error: unidentified error code: 522)

We had a downtime.
Sorry about the issue.
Now everything is back online :)
On Sat, Aug 8, 2015 at 5:23 AM Damon Blais<EMAIL_ADDRESS>wrote:

Client Console (Chrome 44):
Script: J9atGMgnpHtnbP4c3
Line: 1
XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access.
The response had HTTP status code 520.
Script: J9atGMgnpHtnbP4c3
Line: 1
XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access.
The response had HTTP status code 522.
Script: jquery.js
Line: 9659
GET https://enginex.kadira.io/simplentp/sync
jQuery.ajaxTransport.send @ jquery.js:9659
jQuery.extend.ajax @ jquery.js:9210
Ntp.getServerTime @ ntp.js:117
cacheDns @ ntp.js:70
Server Console:
[[[[[ C:\Users\Damon-10\Documents\Git\CC ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
Type Control-C twice to stop.
I20150807-16:42:34.349(-7)? Kadira: completed instrumenting the app
I20150807-16:44:14.463(-7)? Kadira: retrying to authenticate (error: unidentified error code: 524)
I20150807-16:44:34.819(-7)? Kadira: retrying to authenticate (error: unidentified error code: 522)
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/177#issuecomment-128863082.

Thank you!
Consider adding a simple "Image" tag in the README.md or similarly accessible place, with a href pointing at your server.  You can then toggle the image as a "Status" indicator of service (people often do this for build indicators, test coverage, test passing/failing/etc, latest build, etc.)
This would help everyone in future from creating more of these :).

Yes. That's a good idea.
Thanks.
On Sat, Aug 8, 2015 at 7:18 AM Damon Blais<EMAIL_ADDRESS>wrote:

Thank you!
Consider adding a simple "Image" tag in the README.md or similarly
accessible place, with a href pointing at your server. You can then toggle
the image as a "Status" indicator of service (people often do this for
build indicators, test coverage, test passing/failing/etc, latest build,
etc.)
This would help everyone in future from creating more of these :).
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/177#issuecomment-128880620.

![Build Status](https://status.kadira.io/build.png)

Passing

Warning(s)

Failing

Normally shows % based on functions/methods

Online (normal operations)

Maintenance (a type of planned status)

Restarting/Temporary (a type of immediate status)

Down (a type of "dunno, can't ping it" status, etc.)

Consider something like this?

Something like that'll work. Thanks.

I have the same issue
"Kadira: retrying to authenticate (error: unidentified error code: 522)"
Both Locally and hosted on Modulous

We had a downtime yesterday. But not it's okay. Are you still seeing it?
On Sun, Aug 9, 2015 at 10:23 AM timtrendlier<EMAIL_ADDRESS>wrote:

I have the same issue
"Kadira: retrying to authenticate (error: unidentified error code: 522)"
Both Locally and hosted on Modulous
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/177#issuecomment-129113121.

@arunoda Started happening again around 3:12 PDT here, but went away after ~5 minutes.

Happening with me now. Started at 7pm UTC. Using<EMAIL_ADDRESS>

+1

<EMAIL_ADDRESS>on Windows has this happen now.
On Sun, Sep 27, 2015 at 3:59 PM, Javier Ocañas<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/177#issuecomment-143600531.

+1

I'm having the same issue, it happens during mobile remote debugging. Do you have an idea why this is happening?

I'm having the same issue, every day. It's not just a few minutes or hours.


some prob,help

please do something

That’s not an Github issue at all. Please use Discord for moderation support


[COOK-4032] - 7-zip cookbook name causes LWRP compile error

I'm adding an 'archive' LWRP to the 7-zip cookbook. Consuming this resource would like this:
7zip_archive extract_dir do
source archive_path
end
Unfortunately this will produce a compile error:
[2013-11-21T22:58:17-08:00] DEBUG: backtrace entry for compile error: 'C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.0/lib/chef/provider/lwrp_base.rb:89:in `const_defined?''
[2013-11-21T22:58:17-08:00] DEBUG: Line number of compile error: '89'
Recipe Compile Error in ../cookbooks/7-zip/providers/archive.rb
NameError
wrong constant name 7ZipArchive
7 is a not a valid leading character in a Ruby constant or variable name. This is a problem for the 7-zip cookbook since LWRPs are prefixed by the cookbook name and eventually turned into a constant somewhere. It seems like we'd need to rename the cookbook from '7-zip' to 'seven-zip' to allow LWRPs to be added to this cookbook.

Fixed my moving to seven_zip cookbook


fix(markers): improve reset groups operations

fix function _resetGroup
add function _resetUnusedGroups
add function _existDomContainer

@nmccready I forgot to run "grunt" before last push. Should I make another push?

LGTM


tee same audio input to multiple client tasks

For the application I'm working on, I want to be able to process a single audio input (e.g. microphone) and run multiple client tasks against it; e.g. one is transcribing verbatim, and the other is translating into English simultaneously.
It wasn't difficult to refactor the existing code as follows:

TranscriptionClient takes a list of Client instances.
The existing Client methods related to processing the input move to TranscriptionClient
At a few places, such as send_packet_to_server, iterate over all clients

Then I just created one Client per task, passed them into a single TranscriptionClient, and executed that.
It seems like this might be a common use case, so if there's interest in this, I can clean it up and submit a PR.

Hello @jsichi, yes that would be great, feel free to open a PR and we can take it from there.
Thanks


get_action_space_info not complete

The function get_action_space_info does not return the action space when the action space contains a Tuple. It will just return {'name': 'Tuple'}. Tested on Copy-v0.

Could you provide a minimal test case code sample to help with debugging and testing?

Sure here you go:
import logging
import os, sys
import numpy as np

from gym_http_client import Client

remote_base = 'http://<IP_ADDRESS>:5000'
client = Client(remote_base)

env_id = 'Copy-v0'
instance_id = client.env_create(env_id)
print(client.env_action_space_info(instance_id))

To elaborate on this _get_space_properties does not seem to be fully implemented to support all properties, see: https://github.com/openai/gym-http-api/blob/master/gym_http_server.py#L92

indeed... if we can specify how to serialize a Tuple to json then i can add that case in the server code...

Potentially addressed with recent commit: https://github.com/openai/gym-http-api/commit/1b42f25f6fe992cd08f5aeb3cb4151936bc5ea15
Does this get at exactly what you need? If so, then it is a matter of implementing something similar in the info call as what is in the sample call.

The problem is with the environment - Copy-v0. It has three actions with a couple of sub actions within them, unlike CartPole-v0.


NSURLSession return NSURLErrorDomain Code=-1005 "The network connection was lost."

New Issue Checklist

[ ] I have read and understood the CONTRIBUTING guide
[ ] I have read the Documentation
[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. ios / tvos

Platform Version
e.g. 8.0

SDWebImage Version
e.g. 3.7.6

Integration Method
e.g. carthage / cocoapods / manually

Xcode Version
e.g. Xcode 7.3

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
IOS 10.3 if I would like to download more images with gzip - the NSURLSession return NSURLErrorDomain Code=-1005. Strange but sometimes image downloaded but not show, because these error.
Can you help me?
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

which version of SDWebImage are you using? Can this issue be replicated in the demo project?

I have the same question.
Can you help us?

I use 3.7.6 in SDWebImage. And i can replicated in your demo project.

@kata017 can you upgrade to the newest version and try again?

I upgrade the new version. But i received the same error

you said you can replicate it in the demo project. are you having problems with your internet connection? see this

My network connection is good, I am not use proxy.

If I change HTTPHeaders - don't receive NSURLErrorDomain Code=-1005 error. But sometimes give a NSURLErrorDomain Code=-1008 "resource unavailable" error.
_HTTPHeaders = [@{@"Accept": @"image/*;q=0.9", @"Accept-Encoding": @""} mutableCopy];

I have the same question. both 3.7.6 and 4.1.0
receive -1005 error, but imageData size is ok.

solved by using keep-alive


Anyway to filter the personal information from the log output?

Is there anyway to have one of the outputs filter out Personally identifiable information, while having the other output have no filtering?
  multi_logger = LogStashLogger.new(
  type: :multi_logger,
  outputs: [
    { type: :file, path: 'log/raw.log', formatter: ::Logger::Formatter },
    { type: :file, path: 'log/filtered.log', formatter: ::Logger::Formatter }
  ])

The logstop gem interfaces very well with Logstash and allows you to filter our PII easily!


Find solution to use Components both on structured and unstructured grids

[Related to #12]
At the moment, only structured grids are implemented as SpaceDomain, so effectively they are stored as 2D arrays. This means that a science Component knows the rank of the array it is going to receive, and it knows where its neighbours are (e.g. useful for stencils, or for routing).
Moreover, for models like the current implementation of JULES, 2D grids can be vectorised easily since it is working on vertical columns with no lateral flow (hence no need to know where neighbours are). Therefore, JULES is readily usable on unstructured grids (e.g. the cubed-sphere of LFRic), and it would be a shame to convert 2D arrays to vectors (1D array) as part of the Component, and it would be better if the framework could provide the information as vectors directly.
So this issue is to suggest that we may want to consider/store all SpaceDomain as vectors, so that any geometry can be supported without for the Component to have to adjust to it: a Component would always receive a vector alongside information about where its neighbours are.

While structured grids are most likely going to be stored as 2D arrays (e.g. Y, X in CF-conventions), while unstructured grids can be stored as vectors, as an array with FillValue, or as ragged arrays (e.g. UGRID-conventions). Then, it may be a good idea to use a UGRID vector approach for both structured and unstructured grids internally in the framework.
For the variables themselves, a structured grid could be converted easily from a 2D array to a vector with e.g. numpy.flatten, and brought back from a vector to a 2D array with e.g. numpy.reshape. Then, working on the vector, if neighbouring relationships are required. This could work as follows:

for flow direction: at the moment a relative {-1, 0; +1} value pair is stored for Y and X directions in flow_direction, this could be converted to a single value (either in relative or absolute form) - this would work exactly the same way for an unstructured grid
for list of neighbours, at the moment, this information is not stored, since it is trivial to find neighbours in a structured grid (i.e. +1/-1 on Y and X), but it is not trivial to find neighbours in an unstructured grid, and a use of the face_face_connectivity of UGRID is required, so for structured grids, the same approach should be used - it will be easy for the framework to construct such variable and it means that any component will always be expected to work from a 'face_face_connectivity` variable, rather than +1/-1 on Y/X, which would prevent their potential use on unstructured grids.

Another aspect we could consider as part of this issue is the fact that the SpaceDomain.land_sea_mask is not used to subset the domain to land locations only, it is sending the whole domain, and the component can access the land_sea_mask if they want to do the subset themselves. Afterall, cm4twc is about the Terrestrial water cycle, so this should probably become the default approach to exclude the sea points before giving the variables to the components.


When will OpenWRT be supported on the server

Hey
i want use firezone in my OpenWRT router
Want to be able to mix work with my LAN IP segment

Hi! So it's unlikely the web portal will ever run well (if at all) on resource-constrained embedded devices like a home router. The WireGuard and firewall backend should run just fine though. We're rearchitecting things to decouple the portal to allow these types of setups in the near future.
Are you looking to remote tunnel into your LAN while on the road, or moreso looking for a point-to-point tunnel into your work's VPN?

Hi! So it's unlikely the web portal will ever run well (if at all) on resource-constrained embedded devices like a home router. The WireGuard and firewall backend should run just fine though. We're rearchitecting things to decouple the portal to allow these types of setups in the near future.
Are you looking to remote tunnel into your LAN while on the road, or moreso looking for a point-to-point tunnel into your work's VPN?

remote tunnel my vpn into LAN area
just like openvpn server

I would like the firewall backend to be separated, so we could run the VPN itself on the router


Update run example instructions in the README

The last command gatsby develop needs to be prefaced with yarn.

Thank you for the fix! 🙏


Support for Google reCaptcha v2 in Button Widget

Description
Added support for Google reCaptcha v2 in Button Widget
Fixes #5553
Type of change

Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: feature/button-component-recaptch-v2-support

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
53.9 (0)
36.01 (0.01)
32.6 (0)
54.47 (0)

:green_circle:
app/client/src/components/designSystems/blueprint/ButtonComponent.tsx
59.49 (-0.25)
54.24 (1.61)
66.67 (0)
61.64 (-0.33)

Notes for testing:

Sample site key: 6LcdjnsbAAAAAMyz2ExbRfNjI509ZRpbiLQz8agp (V3) (works on the this deploy preview)
The button.recaptchaToken should be available once the captcha verification has completed
Check the same for V2

@vicky-primathon recaptchaToken is not getting created for reCaptha v2 on deploy preview. Can you please check.

@vivekverma2312  issue is fixed can you review again. Also pls enable Google reCAPTCHA v2 toggle in Button widget to test for Google reCAPTCHA v2.

/ok-to-test sha=7791aeb

@vivekverma2312 can you check this again on an urgent basis?

Looks good, Running tests.
One change required > The captcha UI should be in the bottom right corner!

@somangshu  did you test this on latest deploy preview ? Working fine for me on editor and deploy preview.

@vicky-primathon @somangshu Deploy preview is working fine with google reCaptcha v2. The captha UI is coming at the rightside bottom of the page. But debugger icon overlaps the captcha UI.

It is displayed as below and on hovering cursor it expands.

@vivekverma2312 is the position is alright we need not bother about the captcha UI, Our UI is primary here.

We need documentation change here @vihar @vicky-primathon

/ok-to-test sha=e118096

@vicky-primathon Deploy preview is tested and it's working fine.

@vicky-primathon If we enter any random text in google recatcha property and enable Google reCAPTCHA v2 property the recatcha ui is displayed overlapping button widget and throws error.
https://www.loom.com/share/bc93c6b524d84d43b530b06d1f5f643e

@vicky-primathon Issue related to invalid captcha is also fixed for reCaptcha v2. It's looks good to be merged in release.
cc: @somangshu


Squashfs image uses lzo compression

Am I missing something?
$ enroot import docker://ubuntu
$ enroot start ubuntu.sqsh
[WARN] Squashfs image uses lzo compression, this version supports only xz, zlib, lz4, zstd.
[ERROR] Failed to mount: /tmp/tmp.qdpNZdmXxx/ubuntu.sqsh

I already have fuse-overlayfs and squashfuse installed.

https://github.com/NVIDIA/enroot/blob/v1.1.0/doc/cmd/start.md#starting-container-images

Yeah unfortunately lzo is the default because images need to run on RHEL7 (which doesn't support lz4 in base). You can change this by setting ENROOT_SQUASH_OPTIONS to -comp lz4 -noD if you don't care about the RHEL portability and want to start images directly.

Excellent, thanks!
$ ENROOT_SQUASH_OPTIONS='-comp lz4 -noD' enroot import docker://ubuntu
$ enroot start ubuntu.sqsh


Don't Append Framework to File if -f is Specified

my output file name is being mangled when I specify -f (for framework)
in the below use case it is only running the one framework not multiple
dotnet test $Source --filter $TestFilter -f $Framework -c $Configuration /p:NetCoreSdk=$NetCoreSdk --logger:"trx;LogFileName=$TrxFile" --results-directory:$TestResultsPath /p:CoverletOutputFormat=cobertura /p:CoverletOutput=$TestResultsPath$CoverageDataFile /p:CollectCoverage=true /p:ExcludeByAttribute="Obsolete%2cGeneratedCodeAttribute%2cCompilerGeneratedAttribute" -nodeReuse:false
where $CoverageDataFile=project.Release.linux-x64.netcoreapp3.1.coverage.xml
and for some reason the output file is actually:
project.Release.linux-x64.netcoreapp3.1coverage.netcoreapp3.1.xml.cobertura.xml
i believe this is related to #636

Sorry I meant the coverage issue https://github.com/tonerdo/coverlet/issues/649#issuecomment-568300617
not the -f that isn't a bug, but a correct behaviour

The "append file type extension" was fixed in https://github.com/tonerdo/coverlet/pull/668


Dashboard builder rebased + linted

Boom! 💥 Looks great, thanks for the hard work on this! will merge after travis finishes :)


license_finder crashes with "rebar list-deps"

In the Norsk pipeline for RabbitMQ, we get the following crash from license_finder:
Running GOPATH=/tmp/d20200630-1298-toywh  license_finder report --save='lf-results.json' --prepare --project-path='/tmp/d20200630-1298-toywh/src/20200630-1298-oon9m' --format=json --columns=name version install_path licenses package_manager homepage --gradle_include_groups --maven_include_groups --sbt_include_groups --go_full_version --python-version=3 --log_directory ~/lf_logs/20200630-1298-oon9m with {}
LicenseFinder::Rebar: is active
LicenseFinder scanning has failed. More information:

LicenseFinder command:
GOPATH=/tmp/d20200630-1298-toywh  license_finder report --save='lf-results.json' --prepare --project-path='/tmp/d20200630-1298-toywh/src/20200630-1298-oon9m' --format=json --columns=name version install_path licenses package_manager homepage --gradle_include_groups --maven_include_groups --sbt_include_groups --go_full_version --python-version=3 --log_directory ~/lf_logs/20200630-1298-oon9m

LicenseFinder stdout:
LicenseFinder::Rebar: is active

LicenseFinder stderr:
/usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/package_managers/rebar.rb:36:in `rebar_ouput': Command 'rebar list-deps' failed to execute:  (RuntimeError)
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/package_managers/rebar.rb:12:in `current_packages'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/package_manager.rb:101:in `current_packages_with_relations'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/scanner.rb:36:in `each'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/scanner.rb:36:in `flat_map'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/scanner.rb:36:in `active_packages'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/core.rb:83:in `current_packages'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/core.rb:78:in `decision_applier'
	from /usr/share/rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/forwardable.rb:229:in `acknowledged'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/license_aggregator.rb:51:in `block in aggregate_packages'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/license_aggregator.rb:49:in `each'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/license_aggregator.rb:49:in `flat_map'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/license_aggregator.rb:49:in `aggregate_packages'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/license_aggregator.rb:11:in `dependencies'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/lib/license_finder/cli/main.rb:148:in `report'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/thor-1.0.1/lib/thor/base.rb:485:in `start'
	from /usr/share/rvm/gems/ruby-2.7.1/gems/license_finder-6.6.0/bin/license_finder:6:in `<top (required)>'
	from /usr/share/rvm/gems/ruby-2.7.1/bin/license_finder:23:in `load'
	from /usr/share/rvm/gems/ruby-2.7.1/bin/license_finder:23:in `<main>'

The repository in this example is:
https://github.com/zhongwencool/eetcd

Fixed in: https://github.com/pivotal/LicenseFinder/commit/93680110da059ebfbd2e33802301e3e9672e1978
https://github.com/pivotal/LicenseFinder/commit/b20e7444c147d8dbfa46eb4e8e549e03be751e02


Ert gun

About the PR

Added a laser gun for ERT Chaplain
Why / Balance

Regular Chaplain has one, so ERT Chaplain should have a better one too.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/Verbalase/Goob-Station/assets/131112412/b723c91f-5711-46ae-856f-df43c6facf0e
Changelog

:cl:

add: Gave ERT Chaplain a gun!
remove: Removed the useless flare from ERT Chaplain's inventory!

Yeah this guys goated so yeah

Must pass all checks.

Well, atleast what I was told..

Hi Real fake soofle Congraultions on the pull rqest being  Merged....
However, the Ubuntu check failing is not due to your code but I heard that space stantion 13


Add variables for NodeOS

Allows the base OS to be configurable to what is supported by Equinix Metal

This appears to work!


Update Errors.json

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

Is this still a valid PR @smitapaloalto


Updates for --out=url option

Various updates discussed during Weekly meeting. The idea I to match more closely what was done in cucumber-jvm and also ease upload to a message service.

[x] Implement -H and -X curl options
[x] Use a random port to make tests more reliable
[x] Abandon chunked encoding (unless -H "Transfer-Encoding: chunked" is specified : we'll add that back if needed, but not for the moment)
[x] Follow redirects (307)
[x] Use PUT by default (simplifies S3)

I'm really facing weird issues right now. When I try to push to a real-server (either a simple Sinatra server or an S3 upload) and I'm getting 40x errors.
I tried do debugging and came with that:
fake_content = Tempfile.new('justXs')
fake_content.write('X' * content.length)

Kernel.puts "Sending real content"
content.rewind
req = build_request(uri, method, headers.merge('Content-Length' => content.size.to_s))
req.body_stream = content
response = @http.request(req)
Kernel.puts "Got response: #{response.code}"

Kernel.puts "Sending fake content"
fake_content.rewind
req = build_request(uri, method, headers.merge('Content-Length' => content.size.to_s))
req.body_stream = fake_content
response = @http.request(req)
Kernel.puts "Got response: #{response.code}"```

So this seems to work with fake content:
```shell
╰─$ bundle exec cucumber features/docs/getting_started.feature --format message --out="http://localhost:4567/"
WARNING: Nokogiri was built against LibXML version 2.9.10, but has dynamically loaded 2.9.4
Using the default profile...
........

2 scenarios (2 passed)
8 steps (8 passed)
0m1.221s
Sending real content
Got response: 400
Sending fake content
Got response: 200

Note that the tests are passing. I'm wondering if there's anything I missing making the upload failed with NDJson content but working with plain character repeated :/
@aslakhellesoy @mpkorstanje any idea by any chance ?

I've been able to pinpoint a bit more the messages that are causing issues on upload:
        if envelope.step_definition
          if envelope.step_definition.source_reference.uri.include?('aruba/cucumber/command.rb') ||
            envelope.step_definition.source_reference.uri.include?('aruba/cucumber/file.rb')
              envelope.step_definition.pattern.source = ''
          end
       end

Adding this to the message generator made it work (yes, obviously that ugly :D ). The weird thing is that the expressions used in those files do not seem to have that much "weird" content (encoding or other that could cause any issue).
Here's the list of the step that are removed:
^I run `([^`]*)`$
^I successfully run `(.*?)`(?: for up to ([\d.]+) seconds)?$
^I run the following (?:commands|script)(?: (?:with|in) `([^`]+)`)?:$
^I run `([^`]*)` interactively$
^I run `([^`]*)` in background$
^I type "([^"]*)"$
^I close the stdin stream$
^I pipe in (?:a|the) file(?: named)? "([^"]*)"$
^I (terminate|stop) the command (?:"([^"]*)"|(?:started last))$
^I stop the command(?: started last)? if (output|stdout|stderr) contains:$
^I wait for (?:output|stdout) to contain:$
^I wait for (?:output|stdout) to contain "([^"]*)"$
^the output should be (\d+) bytes long$
^(?:the )?(output|stderr|stdout) should( not)? contain( exactly)? "([^"]*)"$
^(?:the )?(output|stderr|stdout) from "([^"]*)" should( not)? contain( exactly)? "([^"]*)"$
^(?:the )?(output|stderr|stdout) should not contain( exactly)?:$
^(?:the )?(output|stderr|stdout) should contain( exactly)?:$
^(?:the )?(output|stderr|stdout) from "([^"]*)" should not contain( exactly)?:$
^(?:the )?(output|stderr|stdout) from "([^"]*)" should contain( exactly)?:$
^the output should( not)? match /([^/]*)/$
^the output should( not)? match %r<([^>]*)>$
^the output should( not)? match:$
^the exit status should( not)? be (\d+)$
^it should not (pass|fail) with "(.*?)"$
^it should (pass|fail) with "(.*?)"$
^it should not (pass|fail) with:$
^it should (pass|fail) with:$
^it should not (pass|fail) with exactly:$
^it should (pass|fail) with exactly:$
^it should not (pass|fail) (?:with regexp?|matching):$
^it should (pass|fail) (?:with regexp?|matching):$
^(?:the )?(output|stderr|stdout) should not contain anything$
^(?:the )?(output|stdout|stderr) should( not)? contain all of these lines:$
^the (?:default )?aruba io wait timeout is ([\d.]+) seconds?$
^the (?:default )?aruba exit timeout is ([\d.]+) seconds?$
^the (?:default )?aruba stop signal is "([^"]*)"$
^I wait ([\d.]+) seconds? for (?:a|the) command to start up$
^I send the signal "([^"]*)" to the command (?:"([^"]*)"|(?:started last))$
^I look for executables in "(.*)" within the current directory$
^I use (?:a|the) fixture(?: named)? "([^"]*)"$
^I copy (?:a|the) (?:file|directory)(?: (?:named|from))? "([^"]*)" to "([^"]*)"$
^I move (?:a|the) (?:file|directory)(?: (?:named|from))? "([^"]*)" to "([^"]*)"$
^(?:a|the|(?:an empty)) directory(?: named)? "([^"]*)"$
^(?:a|the) directory(?: named)? "([^"]*)" with mode "([^"]*)"$
^(?:a|the) file(?: named)? "([^"]*)" with:$
^(?:an|the) executable(?: named)? "([^"]*)" with:$
^(?:a|the) file(?: named)? "([^"]*)" with "([^"]*)"$
^(?:a|the) file(?: named)? "([^"]*)" with mode "([^"]*)" and with:$
^(?:a|the) (\d+) byte file(?: named)? "([^"]*)"$
^(?:an|the) empty file(?: named)? "([^"]*)"$
^(?:an|the) empty file(?: named)? "([^"]*)" with mode "([^"]*)"$
^I write to "([^"]*)" with:$
^I overwrite(?: (?:a|the) file(?: named)?)? "([^"]*)" with:$
^I append to "([^"]*)" with:$
^I append to "([^"]*)" with "([^"]*)"$
^I remove (?:a|the) (?:file|directory)(?: named)? "([^"]*)"( with full force)?$
^(?:a|the) (?:file|directory)(?: named)? "([^"]*)" does not exist$
^I cd to "([^"]*)"$
^the following files should (not )?exist:$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?exist(?: anymore)?$
^(?:a|the) directory(?: named)? "([^"]*)" should (not )?exist(?: anymore)?$
^(?:a|the) file matching %r<(.*?)> should (not )?exist$
^(?:a|the) (\d+) byte file(?: named)? "([^"]*)" should (not )?exist$
^the following directories should (not )?exist:$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?contain "([^"]*)"$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?contain:$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?contain exactly:$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?match %r<([^>]*)>$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?match /([^/]*)/$
^(?:a|the) file(?: named)? "([^"]*)" should (not )?be equal to file "([^"]*)"
^(?:a|the) (?:file|directory)(?: named)? "([^"]*)" should( not)? have permissions "([^"]*)"$

I don't have a clue exactly which ones* causes the issues and why :/

one of the certainties I have is that there's multiple one causing issues at least ...

I guess you are implicitly using url encoding? But not encoding the content? Shouldn't the client handle that?

I guess you are implicitly using url encoding? But not encoding the content? Shouldn't the client handle that?

I tried to use url encoding on the content (when writing it to the Tempfile) but that still does not fix the issue with S3 upload :/


Getting 400/500 error when trying to login

I'm getting the following error when trying to login
ConnectedCarException: status 400 reading FigAuthTokenvalidationApi#validateToken(DashBoardServiceIdentityToken,String,String); response : feign.Response$InputStreamBody@a129a9e
    at D:\Node JS\Mazda\node_modules\connected-car\dist\Api\Api.js:75:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  SyncErrorStatus: 500,
  SyncErrorMessage: 'status 400 reading FigAuthTokenvalidationApi#validateToken(DashBoardServiceIdentityToken,String,String); response : feign.Response$InputStreamBody@a129a9e'
}

Here is the code i used
    login = async (username, password) => {
        token = await client.getAccessTokenFromCredentials({
            username,
            password
        });
        user = ConnectedCar.User(token);
        let vehicles = await user.vehicles();
        for (userVehicle of vehicles) {
            const Vehicle = {
                id: userVehicle.VIN,
            };
            vehicleList.push(Vehicle)
        }
    }

sorry I was supposed to use user = ConnectedCar.User(token.getValue()); instead of user = ConnectedCar.User(token);


how to use this component when server render

I want to use this component in my project,but as I use server render so when include this packages the project failed as below:
 ReferenceError: document is not defined
 ReferenceError: window is not defined

how can i fix it?

Should be fixed with the v2 release. A lot of issues here are really old, as the project was unmaintained, so I will close all issues. Feel free to ask to open it again if the issue persist after v2 update.


Improve error reporting of ocaml-mdx test

Rebased on top of https://github.com/realworldocaml/mdx/pull/171

Improve the printing of errors
Expected errors were shown as uncaught exceptions
Show the line number and file name for errors occurring while testing a block
Add tests for error messages

Rebased.

Can you rebase now that #171 has been merged please?

Rebased and cleaned.

Can you add a changelog entry as well?

Rebased. Also cleaned the history a bit.


Adding region to templates if subnet is defined as well as modiifying…

… to allow to override datacenter na
mes

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

Stephen Herd seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.

Little clarification on to this PR:

If you don't define the region in the template, when using a Custom Subnet, you get errors that it can't find the subnet.
Allowing the ability to override the name of the datacenter, so if you have multiple projects linked together on the same region and using DNS, you need to be able to distinguish the different projects.

I tested it using custom subnets while creating a project. I haven’t tested it using basic subnets. As for the datacentre part.. same thing, just tweaks I made while setting up my own multi region cluster.

Closing this for now due to the time and as I added support for a datacenter variable in https://github.com/hashicorp/terraform-google-consul/pull/55, however feel free to reopen if you still need the other functionality in this PR.


Only works on one html page. Won't work on others with SAME template.

Hi there,
Spent some time scratching my head.
Was able to make garand sticky work EASILY on one html page but not on another.
The templates on both pages are the same.
Here works beautifully:
https://goo.gl/U5tWfP
On any other page doesn't work.
I did it the exact same way. Does code change from page to page?
Code used in header:

<script>
$(window).load(function(){
  $("#cometchat_embed_synergy_container").sticky({ topSpacing: -20 });
});

Code used in body:

Any ideas?
Thank!

I am having the same problem, seems to not work when there is an Iframe on the page...


height and css fixes for landing pages

OK @joemoe css broken out as mentioned

ack

but squashing commits, would also be cool :)

@joemoe Well of course we squash!


Update README.md

 2>/dev/null  is not necessary in the latest version.w
In my environment, it will result in Config 'api_key_cmd' did not return a value when executed if  2>/dev/null is not removed.

Besides, the ~ can't be recognized in the latest version.
So we have to use vim.fn.expand("$HOME") instead of ~


Will this project be moved to MAUI?

In light of Xamarin becoming EOL next year, I was wondering if we can count on this package to still be available when everyone has moved to MAUI (or something else).

Maybe someone from the team who can give insight? I've posted this question on a different Xamarin package and was met with a little panic from some users. I don't think I should presume that no one is using this package in production?

I'm currently evaluating Barcode-scanning libraries for a Xamarin.Forms-project that will be migrated to MAUI by end of this year and it would be nice to get some insights on this topic.

The is a new project for ZXing and Maui: ZXing.Net.MAUI

any updates on this? MAUI need barcode scan =)

@ZeProgFactory  hey, we appreciate the news, i have to ask if you have any idea is the new project for ZXing and Maui is stable, or is still in the development process .Thank you


Report State DISCONNECT

Hi,
I have a question regarding the handling of DISCONNECT for Report State. Usually several Google accounts can link to one 3rd party smart home account.
E.g.
Google account 1 linked to smart home account A
Google account 2 linked to smart home account A
If Google account 1 unlinks the smart home account, I would receive a DISCONNECT for smart home account A and stop sending Report State. How do I get the information, that there is still one Google account (Google account 2 in the example above) connected and therefore I should continue sending Report State? Is there a way to get IDs of the Google accounts which are linked to my account?

You get access tokens which identify the specific accounts.

The access tokens I get are only for the accounts in my smart home environment, but where do I get the Google ones?

I think @dominikkarall has a point, I didn't think of that either until now.
Maybe it's more clear with example account names: suppose Bob and Alice are living together and have Philips Hue lights. They have one account they used when registering their Philips Hue installation<EMAIL_ADDRESS>They now both want to control it from there phones so they both link there google accounts to the single<EMAIL_ADDRESS>account:

<EMAIL_ADDRESS>=><EMAIL_ADDRESS><EMAIL_ADDRESS>=><EMAIL_ADDRESS>
They will both share the same agentuserid and the access tokens will both point to the single<EMAIL_ADDRESS>account on the Philips Hue action side.
When Bob now unlinks from the Philips Hue action, a DISCONNECT will be send with the token refering to<EMAIL_ADDRESS>but somehow the action needs to know there is still another account that is linked to it<EMAIL_ADDRESS>and still requires state updates through the Report State mechanism.
At the moment it's not possible to know this (unless keeping a counter that increases on every SYNC for the same Philips Hue account and decreases on every DISCONNECT, and stop Report State when the counter is at 0)

Thanks for the detailed explanation @pver, that"s exactly the issue I was thinking of. SYNC counter doesn't work either as a work around, as re-SYNCs can happen several times.
I was thinking about handling error 404 and stop reporting on that error, but that"s not the best solution. Maybe Google can provide us a separate error code which states that no more report state is needed for that agentUserId.

A 404 will happen if the agent user id is not found in the home graph.
If two Google accounts sync to one account on your service, you should generate two separate refresh tokens and access tokens.
When you disconnect with one access token, you remove that refresh token and still have one left, so there's still one linked account.


Save danmaku opacity in Cookie/localStorage

Done. https://github.com/DIYgod/DPlayer/commit/4294e80643a93aeeec35b20c4728553c9f84d8f6


Update Composer dependencies (2022-02-01-00-08)

Visual regression test passed!
View the visual regression test report


Removes Sec-WebSocket-Origin From Websocket HS

Sec-WebSocket-Origin is a Server to Client handshake not a Client to Server handshake header per the websocket RFC specification.
This removes the header from the specification. This has been changed because some websocket proxy servers are very picky. There exists other areas that need adjusted for example this client should send "Connection: Upgrade" but instead sends "connection: upgrade"... Some Proxy WS Clients are not adhering properly to case insensitivity specifications and require the proper casing for the keys and values being sent.
Fixes Issue #9134

https://tools.ietf.org/id/draft-ietf-hybi-thewebsocketprotocol-06.html#rfc.section.10.7

@davydotcom, @normanmaurer Hi guys. The Sec-WebSocket-Origin header for old protocol versions (https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-07, https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10). In latest version https://tools.ietf.org/html/rfc6455 instead of Sec-WebSocket-Origin used Origin header. My suggestion is to replace it and not to delete it at all.

Sure replacing it is an option but the header isn’t required typically if there is no alternate origin from the Host. Currently there is no way to set an alternate origin and if a user wishes to bypass the origin with custom headers they aren’t. Assumptions are being made that are not necessary

On May 9, 2019, at 5:15 AM, Andrey Mizurov<EMAIL_ADDRESS>wrote:
@davydotcom, @normanmaurer Hi guys. The Sec-WebSocket-Origin header for old protocol versions (https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-07, https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10). In latest version https://tools.ietf.org/html/rfc6455 instead of Sec-WebSocket-Origin used Origin header. My suggestion is to replace it and not to delete it at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@davydotcom I suggest doing this for consistency with previous versions of the protocol (WebSocketClientHandshaker00, 07, 08). Even if you decide not to do this, please fix the documentation WebSocketServerHandshaker13#newHandshakeResponse also.

@netty-bot test this please.

@davydotcom please fix the unit tests and let me know once done:
https://ci.netty.io/job/netty-centos6-java8-prb/1029/

@davydotcom ping.. .also please sign our ICLA: https://netty.io/s/icla

Closing this due no response from original reporter.


Nginx proxy configuration for zulip ?

Hi,
I'm actually using the jwilder/nginx-proxy docker image with @galexrt image of Zulip.
Zulip image works correctly alone, and my problem is linked with the way that zulip or nginx proxy manage the https. As you can see i have an ERR_CONNECTION_REFUSED for https://team.comnmodel.org
Issue is already referenced on @galexrt repo https://github.com/galexrt/docker-zulip/issues/63#issuecomment-216521989 , but we need some help to find the problem.
I run my zulip image using docker-compose : sudo docker-compose up -d
You can find the config file here : https://gist.github.com/6aabff033d38ef7a4f8a8db5c675b04b
As you can see here, Nginx works in zulip container :
root@faa3ad619277:/# ss -tulpn
Netid  State      Recv-Q Send-Q                                                                    Local Address:Port                                                                      Peer Address:Port
tcp    LISTEN     0      128                                                                           <IP_ADDRESS>:9993                                                                                *:*
tcp    LISTEN     0      128                                                                                *:80                                                                                *:*      users:(("nginx",99,6))
tcp    LISTEN     0      128                                                                                *:443                                                                                *:*      users:(("nginx",99,7))
tcp    LISTEN     0      128                                                                                ::1:9993                                                                                :::*
root@faa3ad619277:/#

How can i change the nginx proxy configuration to make it works ?

I think this is something where you're going to need to debug systematically, by connecting directly to the different layers of the proxying system to figure out which piece isn't doing its job.  Since you're getting connection refused, I think you can just try using curl to point at the various steps in the networking layers to find where the first one that doesn't work is.  @galexrt may be able to provide specific recommendations for what to test first.

Thanks for answer, i see that with @galexrt for curl manipulation, i'm not expert :)


New version: VMware.WorkstationPro version 17.5.0

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@Trenly thanks for the fixes. I did not have the time to look into this!


feat(OpenDyslexic): Adds an option to toggle support for open dyslexic font faces

What this PR does 📖

I also included a few CSS changes to unify things a bit.

review in progress


"..." in the Receive ZCoin Page Looks Like Hamburger Menu

imo this is fairly confusing for users; I tried to click on it quite a number of times before realizing it was intended to signal a pending transaction.

@sproxet fixed?

Fixed in refactor.


prl(4611)_application_paid_email

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-4611
Change description
Changed the email recieved in notify.gov by the solicitor once they've paid the application
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

No longer needed as it was created for testing purpose


Password protection

I have a tag that is password protected, how can I send the password?
I read the NTAG specs and found that there is a command called PWD_AUTH that should be used.
From the spec: "A protected memory area can be accessed only after a successful password verification using the PWD_AUTH command"

@frostyelkarne this plugin concentrate on NDEF support for NFC. Right now there's no support for PWD_AUTH or NTAG.

Hello Don,
Do you plan to implement it ? Otherwise, is there another way (plugin...) to do it anyway ?
Thanks

I did a simple plugin for my own app that sends a pw and then read 200 bytes from memory. Only for Android and NTAG210 tags. https://github.com/FrostyElk/cordova-mifare

Looks interesting @frostyelkarne , any intention to extend to other platforms or create a pull request with this functionality in?

It uses the MIFARE SDK from NXP so it's restricted to Android, I haven't seen any other versions of that SDK.

@frostyelkarne can your plugin be used with this plugin or does it work stand alone?

@don did not test to add both plugins, just assumed that it would mess up the manifest as both plugins change the same properties.

Hello Don, I need to develop an application that can read and write nfc tag with password protection, is there any intention to add protection into the plugin?

Hi,
I would recommend the use of "crypto".
Depending on your need, you can:

Create a secret that you control and use it to encrypt and decrypt the
info stored in the tag.
Allow the user to enter their own secret, with this method, only the
user can decrypt/encrypt the tag info

In any of the cases, if the tag can be decrypted with the provided secret
then you can write, if not, you can alert the user.
Good luck.
Allan
On Wed, Jul 8, 2015 at 1:27 AM, CalvinEng<EMAIL_ADDRESS>wrote:

Hello Don, I need to develop an application that can read and write nfc
tag with password protection, is there any intention to add protection into
the plugin?
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/176#issuecomment-119468257
.

@CalvinEng I don't have any plans to add this now. As @allannaranjo points out you can do this before reading and writing the NFC tag. You should also look at @frostyelkarne implementation of NTAG https://github.com/FrostyElk/cordova-mifare, you might be able to get it to work with this plugin.

@don @allannaranjo I am quite new to NFC on phonegap, just have a quick question regarding the "crypto" and password protection part.
I am also looking at the NTAG 21x family.
Can the "crypted" content still be read when it hasnt been decrypted yet?? (Read but encrypted?)
And the same for PWD_AUTH, can the content still be read(displayed) if the password hasnt been entered yet??
I am planning/trying to design a "anti-cloning" mechanism for my small test project( i know of the Original Signature for anti-cloning but totally have no idea how it works so i thought i can use the password protected area to achieve similar function) , that i hides the Account ID within the password protected area, and only when the password is entered, then the account ID will be revealed, so that specific area can not be cloned without the password.

This plug handles NDEF. You could write an encrypted NDEF payload using this library, but anyone could read the encrypted data. There's nothing to stop people from cloning an NDEF message.
To access tag specific function that access password protected areas, you're going to need to use native android tag specific apis.

@don  thanks for the reply, would you by any chance know if the password protected areas is "hidden" or not before the password is entered, i know this plugin just handles NDEF, i was just wondering.
I couldnt really find out about these info on the NTAG documents.

It looks like the tag doesn't allow access to the protected areas until the password is entered. But they recommend encryption if you need a "higher level of protection".
See NTAG210_212.pdf link

8.7 Password verification protection
The memory write or read/write access to a configurable part of the memory can be constrained to a positive password verification. The 32-bit secret password (PWD) and the 16-bit password acknowledge (PACK) response are typically programmed into the configuration pages at the tag personalization stage.

The AUTHLIM parameter specified in Section 8.5.7 can be used to limit the negative verification attempts.

In the initial state of NTAG21x, password protection is disabled by a AUTH0 value of FFh. PWD and PACK are freely writable in this state. Access to the configuration pages and any part of the user memory can be restricted by setting AUTH0 to a page address within the available memory space. This page address is the first one protected.

Remark: The password protection method provided in NTAG21x has to be intended as an easy and convenient way to prevent unauthorized memory accesses. If a higher level of protection is required, cryptographic methods can be implemented at application layer to increase overall system security.

@don  thanks so so much for the info, i also took a look on this NFC tag info app, frostyelkarne mentioned the NFC taginfo app could read the password protected area straight away, but i will have to research further. Thanks
https://play.google.com/store/apps/details?id=com.nxp.taginfolite&hl=en

@clarklight I haven't seen a NTAG21x android driver. For most stuff you could probably use MifareUltralight to read and write pages. For the password protection you probably need to write commands directly to the tag using transceive(byte[]) from NfcB (or whatever the correct tag tech is.)

@don thanks for the info, i think i will have to give it more thought to the security structure to what i want to achieve before i dig into the code itself further..... i am a little hesitant as it seems to be quite easy to replicate the data from a card(to cause any server's action) maybe i will have to look into Desfire and other options.
I will also look into @frostyelkarne's code https://github.com/FrostyElk/cordova-mifare
Just to check the degree of security and test the cloning(and reading password protected area) before i push too far down the line.
Thanks again anyway!

@don I did further research seems like for NTAG 21x and Utlralight i can use their Mifare LITE SDK to write into the password area, your_object.programPWDPack(byte[] pwd, byte[] pack)
pwd = 4 bytes of password, pack = {0x00, 0x00}
enablePasswordProtection method: your_object.enablePasswordProtection(false, objnTag210.getFirstUserpage())
But i am not sure if i can do the same for Desfire with their 3DES/AES on the LITE SDK version.
Just got 1 question tho,not sure if anyone got any experience in Ultralight EV1, if the security is same as Desfire EV1 or the NTAG 21x?

@don You are planning to upgrade this plugin with password protection?

@chompirax it's on my list, but very low priority. It probably won't happen until I need it for client.

Closing old issue. Will add this when a client needs it.

hello Everybody
I am Working on Core NFC For one of my iPhone application while I am trying to lock the NFC Tag using password protected I am not getting any Solution regarding that but my client given Some applications in those application password protected working fine please let us know if you find any solution regarding Password protected in Swift5 please share here it will help me a lot Thanks


return "default" for spacing utility classes

As requested from the Drupal team, BDS-210, utility spacing classes now have a "default" of medium size if a size in not included in the utility class name.
.u-bolt-magin-bottom and .u-bolt-margin-bottom-medium are equivalent.

@sghoweri To me as a user, if I supply no preference I expect to get the default setting. Is "medium" truly the "default" spacing? Probably not, as that is really a question of context when it comes to spacing. Also, I view utility classes like Mjolnir, heavy and strong and to be used with utmost intention if they are used. My call would be to make this "deprecated" in Bolt 1 (support it, but not document it), and kill it in bolt 2.

@joekarasek could I bug you to add a @todo to the default size here as a reminder for us to flag this as being deprecated once we have the Sass tooling in place?
Once that's in I think we're good to merge this in


[WIP] Helper method to bound an ActionSet's "action type" to a fixed set for Prometheus Metrics

Change Overview
The PR introduces a simple helper method  to bound an ActionSet's "action type" to a fixed set for Prometheus Metrics and avoid cardinality explosions in the Prometheus server. This PR is a WIP until we finalize the inputs we receive from adopters and downstream projects with regards to the set of action types passed.
Pull request type
Please check the type of change your PR introduces:

[x] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[x] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

fixes #issue-number

Test Plan
Added a new table driven test called: TestGetActionTypeBucket which tests different mappings.

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

will fix the commit history post https://github.com/kanisterio/kanister/pull/2247 merge


Add other microsoft email domains

Adds hotmail.com and outlook.com email domain.
Adds javascript minification with uglifyjs using npm, to minify execute:
npm run minify

Also added a pre publish task that automatically minifies the main file.

Merged, thank you!


Shape translation and rotation throw exceptions

Translation:
Traceback (most recent call last):
File "/Users/gvk/work/ts_install/shed_tools/localhost/repos/iuc/icqsol_translate_shape/dcc07bc85d40/icqsol_translate_shape/icqsol_translate_shape.py", line 36, in
shape_mgr.translateVtkPolyData(vtk_poly_data, displ=displ)
File "build/bdist.macosx-10.5-x86_64/egg/icqsol/shapes/icqShapeManager.py", line 375, in translateVtkPolyData
AttributeError: SetInput
Rotation:
Traceback (most recent call last):
File "/Users/gvk/work/ts_install/shed_tools/localhost/repos/iuc/icqsol_rotate_shape/a28bcf5598a8/icqsol_rotate_shape/icqsol_rotate_shape.py", line 40, in
shape_mgr.rotateVtkPolyData(vtk_poly_data, angleDeg=args.rotation_degrees, axis=axis)
File "build/bdist.macosx-10.5-x86_64/egg/icqsol/shapes/icqShapeManager.py", line 361, in rotateVtkPolyData
AttributeError: SetInput

Should be fixed now (vtk 5 vs 6 issue). Thanks.
On Fri, Dec 4, 2015 at 7:17 AM, Greg Von Kuster<EMAIL_ADDRESS>wrote:

Translation:
Traceback (most recent call last):
File
"/Users/gvk/work/ts_install/shed_tools/localhost/repos/iuc/icqsol_translate_shape/dcc07bc85d40/icqsol_translate_shape/icqsol_translate_shape.py",
line 36, in
shape_mgr.translateVtkPolyData(vtk_poly_data, displ=displ)
File
"build/bdist.macosx-10.5-x86_64/egg/icqsol/shapes/icqShapeManager.py", line
375, in translateVtkPolyData
AttributeError: SetInput
Rotation:
Traceback (most recent call last):
File
"/Users/gvk/work/ts_install/shed_tools/localhost/repos/iuc/icqsol_rotate_shape/a28bcf5598a8/icqsol_rotate_shape/icqsol_rotate_shape.py",
line 40, in
shape_mgr.rotateVtkPolyData(vtk_poly_data, angleDeg=args.rotation_degrees,
axis=axis)
File
"build/bdist.macosx-10.5-x86_64/egg/icqsol/shapes/icqShapeManager.py", line
361, in rotateVtkPolyData
AttributeError: SetInput
—
Reply to this email directly or view it on GitHub
https://github.com/pletzer/icqsol/issues/41.

--
Alexander Pletzer
+1<PHONE_NUMBER> cell
<EMAIL_ADDRESS>

Confirmed.  Thanks!


Add hooks to set failurepolicy to ignore on webhook

Adds a set of 3 hooks to address upgrade failure issues. Workflow:

Set failurePolicy on the webhook to Ignore in the template yaml
Post-install hook sets it to {{ .Values.controllerManager.validatingWebhookConfiguration.failurePolicy }}
Pre-upgrade sets it to Ignore
Post-upgrade sets it back to {{ .Values.controllerManager.validatingWebhookConfiguration.failurePolicy }}

I thought this was the most deterministic way to workaround this issue.
We could potentially have only the pre upgrade hook if we ensure that the clusterspiffeid is always installed/upgraded before the webhook. Right now this is the case as helm determines install order by filesystem order and controller-manager-cluster-ids.yaml comes before controller-manager-webhook.yaml. Relying on file names seems error prone to me though. What do you think?
fixes https://github.com/spiffe/helm-charts/issues/72

This is looking pretty good now. Just need the securityContext bits and then I think it will work.

See the two securityContext bits here as an example:
https://github.com/spiffe/helm-charts/blob/main/charts/spire/charts/spiffe-oidc-discovery-provider/templates/tests/test-connection.yaml#L11-L19

And run ./helm-docs.sh

I was thinking about this some more. For those that don't want to use the hook, we can simply do any upgrade twice:
# Do the actual upgrade with ignore set
helm upgrade --install spire chart/spire -f myvalues.yaml  \
 --set spire-server controllerManager.validatingWebhookConfiguration.failurePolicy=Ignore

# Set the fail flag back.
helm upgrade --install spire chart/spire -f myvalues.yaml \
--set spire-server controllerManager.validatingWebhookConfiguration.failurePolicy=Fail

And it basically will just switch the flag back and forth without other changes if nothing else changed.
But, with the flag doing double duty this doesn't work. So, could we get it added as a separate flag to disable the jobs?

That won't work with argocd. Those kind of tools will need a single install that simply succeeds.
What is the exact problem with the hooks?

@kfox1111 You can use the helm --no-hooks flag to disable them.

I did some research today. Seem like this is the install order. Custom resources are installed last.

Still really dislike that this got forced through.... is a single flag to disable all this stuff really that bad?

Still really dislike that this got forced through.... is a single flag to disable all this stuff really that bad?

Did you try the --no-hooks suggestion? That should address your concern.


Making user optional in template

(moved $user to bottom, below $cmd because it becomes optional with this change, and therefore less important than $dir and $cmd)

Thanks, merged! And sorry for the delay.


Handling of session servers down is very bad

java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null
	at net.minestom.server.network.packet.client.login.EncryptionResponsePacket.lambda$process$0(EncryptionResponsePacket.java:86)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
	```

The http response code not 200 should be interpreted as an error and not go further. In this case it was 503.

@mworzala With the merging of #124, this should be closed. Forgot to add it to my PR.


Unable to build on MacOs due to undeclared inclusions even with clang version specified

The following is what I have typed into my terminal, and I have included my clang --version output.
https://pastebin.com/2Skf2PVa
The key error message is this:
ERROR: /Users/usr/Documents/jetting/vere/pkg/urcrypt/BUILD.bazel:7:13: Compiling pkg/urcrypt/argon.c failed: undeclared inclusion(s) in rule '//pkg/urcrypt:urcrypt':
this rule is missing dependency declarations for the following files included by 'pkg/urcrypt/argon.c':
  '/usr/local/include/blake2.h'

I have tried building on both the develop and release branches, but the error messages are the same. Any help is appreciated. Thank you.

@melodicht sorry for the delay. the bazel build is quite difficult to debug, but it looks to me like bazel is finding blake2.h in /usr/local/ instead of vendor'd in pkg/urcrypt/argon2, and then erroring out due to the missing dependency declaration?
I'd try moving/removing /usr/local/include/blake2.h and rebuilding. Failing that, I'd try bazel clean and the bazel build again, and see if you get a different error.
@matthew-levan any other ideas?

Thank you for the response. I tried finding blake2.h, but I can't seem to find it at all. I do not have a usr directory, only a pkg directory. I have included the full content of the vere directory in this pastebin: https://pastebin.com/KWmid3RW

@melodicht, this is a common issue with the Bazel build system as we use it
in Vere (it happens with other "undeclared inclusions" too, like gmp.h
for instance). Will you please paste the output of /usr/local/include?
You probably need to run rm /usr/local/include/blake2.h or (if you want
to simply backup the header file instead of removing it) mv /usr/local/include/blake2.h /usr/local/include/blake2.h.bak.
On Thu, Sep 28, 2023 at 10:41 AM melodicht @.***> wrote:

Thank you for the response. I tried finding blake2.h, but I can't seem to
find it at all. I do not have a usr directory, only a pkg directory. I
have included the full content of the vere directory in this pastebin:
https://pastebin.com/KWmid3RW
—
Reply to this email directly, view it on GitHub
https://github.com/urbit/vere/issues/525#issuecomment-1739402871, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AV2DQRH62R6R2FMKUZH3FH3X4WECNANCNFSM6AAAAAA5ISZ2CM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks. By output, do you mean what's in it? Here's the pastebin: https://pastebin.com/QZ2Ty1qk
I added .bak to the back of all of the files that had the undeclared inclusion error, and now it builds completely. I have yet to test it out. The following are the list of files that I had to add .bak to:

blake2.h
gmp.h
uv.h
All of the .h files in the uv directory

Ok, that's what I expected. Thanks for confirming. It's quite annoying to
have to remove/rename system-level dependencies like this. I've spent some
time trying to figure out how to get Vere to build despite having files
like you mentioned in system paths, but haven't been able to crack it.
Let's keep this issue open until we have a more acceptable solution
(instead of having to remove/rename system headers).
On Thu, Sep 28, 2023 at 8:02 PM melodicht @.***> wrote:

Thanks. By output, do you mean what's in it? Here's the pastebin:
https://pastebin.com/QZ2Ty1qk
I added .bak to the back of all of the files that had the undeclared
inclusion error, and now it builds completely. I have yet to test it out.
The following are the list of files that I had to add .bak to:

blake2.h
gmp.h
uv.h
All of the .h files in the uv directory

—
Reply to this email directly, view it on GitHub
https://github.com/urbit/vere/issues/525#issuecomment-1740140497, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AV2DQRECQZYNI2YNDWCGYNDX4YF3FANCNFSM6AAAAAA5ISZ2CM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I found a way to force Bazel to specifically look for these headers in our local build directories instead of the system directories: instead of #include "blake2.h" it would be #include "blake2/blake2.h".
It's not too pretty but I'm open to the change since it'd ease my pain as I run into the same issue you described in the original post, but with urcrypt.
cc @joemfb


Support function

RegExp cannot resolve complex situations. Allowing functions will make the plugin stronger and more useful.
Thanks!

Thanks again for this, the functionality was added in this PR: https://github.com/mattlewis92/webpack-filter-warnings-plugin/pull/3


TS2339: Property does not exist on type 'never'

🔎 Search Terms
TS2339
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about it

⏯ Playground Link
No response
💻 Code
interface Foo {
  Foo: {
    f: string
  }
}

interface Bar {
  Bar: {
    b: string
  }
}

interface Baz {
  Baz: {
    z: string
  }
}

type All = Foo | Bar | Baz;

const message: All = {
  Bar: {
    b: 'wow'
  }
};

if ('Foo' in message) {
  console.log(message.Foo);
} else if ('Bar' in message) {
  console.log(message.Bar.b)
} else if ('Baz' in message) {
  console.log(message.Baz) // Property 'Baz' does not exist on type 'never'. ts(2339)
}

🙁 Actual behavior
TS complains that 'Baz' doesn't exist on type 'never'.
If I re-order the if-else blocks, always the last one will complain that it doesn't exist on type 'never'.
🙂 Expected behavior
TS shouldn't complain because I'm defining the allowed types.

You forgot to fill out the issue template.
This is working as intended. Assignment narrows the type of the variable, so the variable is not typed All but Bar. So after you checked that the Bar property does not exist, the type checker is sure that it can't be any other type, ending up never. And checking if a property exists on never makes no sense.
You can work around the narrowing of the variable by using a type assertion: { ... } as All.


Consider removing docs from distribution

Would save ~45mb of 370mb and I'm not sure of a use-case for having them?

Are these ever used by the command line executable?

They aren't! They can be removed safely.

Thank you! Very happy to have this change made then, since size is a concern for PyPI storage limit reasons.


open3d gui viewer with new train script

Open3d gui viewer instead of trimesh and opencv viewers.

Going to try this out, I forsee explicitly adding torch==1.11.0+cu113 to  environment .yml to give users problems depending on their CUDA versions. Maybe remove version specification for torch, torchaudio, torchvision?

Going to try this out, I forsee explicitly adding torch==1.11.0+cu113 to environment.yml to give users problems depending on their CUDA versions. Maybe remove version specification for torch, torchaudio, torchvision?

Thanks for spotting that. Installing torch should be done separately and not through the enivronment.yml so I'll remove them from there.

Tried this out @joeaortiz and it really is excellent! Few initial thoughts:

Would be great to have a screenshot button in the GUI (shouldn't be too hard?)

When you toggle pause, how does one regenerate mesh visualization (for example, if I would like to color the mesh by normals with the checkbox)?

For python train_vis.py --config configs/replicaCAD.json I get this error at the end of sequences:
************************************** End of sequence ************************************** Exception in thread UpdateMain: Traceback (most recent call last): File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/threading.py", line 932, in _bootstrap_inner   self.run() File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/threading.py", line 870, in run   self._target(*self._args, **self._kwargs) File "/home/robospare/suddhu/catkin_ws/src/tac_neural/isdf/visualisation/isdf_window.py", line 551, in update_main   kf_im = o3d.geometry.Image(np.hstack(ims)) File "<__array_function__ internals>", line 5, in hstack File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/site-packages/numpy/core/shape_base.py", line 346, in hstack   return _nx.concatenate(arrs, 1) File "<__array_function__ internals>", line 5, in concatenate ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 3 dimension(s) and the array at index 1 has 2 dimension(s) ^CTraceback (most recent call last):

Tried this out @joeaortiz and it really is excellent! Few initial thoughts:

Would be great to have a screenshot button in the GUI (shouldn't be too hard?)
When you toggle pause, how does one refresh mesh visualization (for example, if I would like to color the mesh by normals with the checkbox)?
For python train_vis.py --config configs/replicaCAD.json I get this error at the end of sequences:
************************************** End of sequence ************************************** Exception in thread UpdateMain: Traceback (most recent call last): File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/home/robospare/suddhu/catkin_ws/src/tac_neural/isdf/visualisation/isdf_window.py", line 551, in update_main kf_im = o3d.geometry.Image(np.hstack(ims)) File "<__array_function__ internals>", line 5, in hstack File "/home/robospare/anaconda3/envs/tac_neural/lib/python3.8/site-packages/numpy/core/shape_base.py", line 346, in hstack return _nx.concatenate(arrs, 1) File "<__array_function__ internals>", line 5, in concatenate ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 3 dimension(s) and the array at index 1 has 2 dimension(s) ^CTraceback (most recent call last):

Thanks Suddhu, these are some good suggestions and the latter two I am actually already looking into. I'll make some changes and get these pushed in the next couple of days.


Redirect FLIF to JPEG XL

FLIF had been proposed in #2254 and the "no support" notice is avialble at https://caniuse.com/sr_flif. However, the format has been subsumed by JPEG XL, support for which was requested in #5041 and is now available at https://caniuse.com/jpegxl.
Searching for FLIF (or FUIF or PIK) should redirect users to the JPEG XL entry.

https://flif.info/#update:

FLIF development has stopped since FLIF is superseded by FUIF and then again by JPEG XL, which is based on a combination of Pik and FUIF. For more information, see Jon's JXL info page or visit the JPEG XL Discord server.

+1 to adding a note to https://caniuse.com/sr_flif with a link to https://caniuse.com/jpegxl. Maybe also mentioning FUIF and PIK.

Thanks, have updated the entry as suggested!


ref(controller): add docstrings to middleware module

Adds docstrings as recommended by pylint.

Code LGTM.

LGTM


No XML files in target/allure-results folder afterrunning tests via mvn clean test

Hi,
I have maven-testng-allure project . Allure-report  integration was done according to example. The problem is that no XML files are generated after executing tests via "mvn clean test" command. But, in case if test execution was made via TestNG (in Eclipse: Run as TestNG suit) everything is OK. What problem could cause such behaviour?

The most common configuration issues are:

Missing maven-surefire-plugin configuration like the following and respective AspectJ configuration
Missing Allure TestNG dependency: https://github.com/allure-examples/allure-testng-example/blob/master/pom.xml#L52-L68 This one adds AllureAdapter class which is automatically loaded by TestNG via SPI. Please check that test listeners are not disabled in your TestNG config.

Thanks for quick reply,
I have re-checked my pom.xml, and seems that it has all mentioned dependencies. Please take a look:

<allure.version>1.4.13</allure.version>
<aspectj.version>1.8.5</aspectj.version>
</properties>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.18.1</version>

            <configuration>

                <suiteXmlFiles>
                    <suiteXmlFile>testng.xml</suiteXmlFile>
                </suiteXmlFiles>

                <testFailureIgnore>true</testFailureIgnore>
                <argLine>
                    -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
                </argLine>
            </configuration>

            <dependencies>
                <dependency>
                    <groupId>org.aspectj</groupId>
                    <artifactId>aspectjweaver</artifactId>
                    <version>${aspectj.version}</version>
                </dependency>
            </dependencies>

        </plugin>

     </plugins>
</build>

<reporting>
    <excludeDefaults>true</excludeDefaults>
    <plugins>
        <plugin>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-maven-plugin</artifactId>
            <version>2.2</version>
        </plugin>
    </plugins>
</reporting>

<dependencies>

	<dependency>
        <groupId>ru.yandex.qatools.allure</groupId>
        <artifactId>allure-testng-adaptor</artifactId>
        <version>${allure.version}</version>
        <exclusions>
            <exclusion>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

org.testng
testng
6.1.1
test

Looks like I have add everything, but I will wait for your advice. Thanks one more time.

@AruslanK seems like your configuration is correct. Does allure-testng-example work for you? Could you provide simple project to reproduce the problem?

Hi Dmitry,
--"Does allure-testng-example work for you?"
This example I haven't try yet, just used it as FAQ, but I think I will do
it on weekends.
--"Could you provide simple project to reproduce the problem?"
Please find attached archive below. I think it will be rather simple.
On Fri, May 22, 2015 at 1:12 PM, Dmitry Baev<EMAIL_ADDRESS>wrote:

@AruslanK https://github.com/AruslanK seems like your configuration is
correct. Does allure-testng-example work for you? Could you provide
simple project to reproduce the problem?
—
Reply to this email directly or view it on GitHub
https://github.com/allure-framework/allure-maven-plugin/issues/12#issuecomment-104608224
.

--
Best regards,
Ruslan Kryvosheiev
GlobalLogic
Skype: shaman2804

Seems like attachment won't be added. If so, kindly please clone my repo with porject from: https://github.com/AruslanK/test1.git

@AruslanK problem with your testNg version. Use testNg 6.8 or higher. Note: allure-testng-adaptor already depends on testng. The following configuration will works for you:
    <dependencies>
        <dependency>
            <groupId>ru.yandex.qatools.allure</groupId>
            <artifactId>allure-testng-adaptor</artifactId>
            <version>${allure.version}</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>junit</groupId>
                    <artifactId>junit</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

Yes, that's work.
Thanks.


Fix table overlap

Fixes #84.

@webknjaz @ssbarnea is there a chance to get this eventually merged and released?

@felixfontein I also added you to the repository, it might prove useful in the future, especially as devtools team no longer uses sphinx. And btw, thanks!

@ssbarnea thanks! Can you also add @oraNod, since this is used for the ansible-core and Ansible docsites?

@felixfontein Thanks! And thanks to you too, @ssbarnea


[regression] Cannot provide 2 resources with 1.8.0 and 1.8.1

regression https://github.com/apache/camel-k/issues/2943 was marked as fixed in 1.8.1 but seems it wasn't.
I tried with 1.8.1 but I still have the same errors
double-checked the kamel installation:
{"level":"info","ts":1646313742.1552255,"logger":"cmd","msg":"Camel K Operator Version: 1.8.1"}

./kamel version
Camel K Client 1.8.1

example of error which seems really the same than in 1.8.0 (even the line numbers which might be strange):
{
	"level": "error",
	"ts":<PHONE_NUMBER>.3936555,
	"logger": "controller.integration-controller",
	"msg": "Reconciler error",
	"reconciler group": "camel.apache.org",
	"reconciler kind": "Integration",
	"name": "test-multiple-resources",
	"namespace": "default",
	"error": "error executing post actions: error during apply resource: default/test-multiple-resources: failed to create typed patch object: .spec.template.spec.containers[name=\"integration\"].volumeMounts: duplicate entries for key [mountPath=\"/etc/camel/resources\"]",
	"errorVerbose": "error during apply resource: default/test-multiple-resources: failed to create typed patch object: .spec.template.spec.containers[name=\"integration\"].volumeMounts: duplicate entries for key [mountPath=\"/etc/camel/resources\"]\nerror executing post actions\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:55\ngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:118\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:309\ngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.9.7/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.9.7/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.9.7/pkg/internal/controller/controller.go:214\nruntime.goexit\n\truntime/asm_amd64.s:1371",
	"stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.9.7/pkg/internal/controller/controller.go:214"
}

the difference that I spotted with 1.8.0 is that 2 configmap are created even if the two files have the same content

(base) [apupier@localhost ~]$ kubectl get Integration test-multiple-resources -o yaml
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
  creationTimestamp: "2022-03-03T14:13:18Z"
  generation: 1
  managedFields:
  - apiVersion: camel.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        .: {}
        f:sources: {}
        f:traits:
          .: {}
          f:mount:
            .: {}
            f:configuration:
              .: {}
              f:resources: {}
    manager: kamel
    operation: Update
    time: "2022-03-03T14:13:18Z"
  - apiVersion: camel.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        .: {}
        f:conditions: {}
        f:dependencies: {}
        f:digest: {}
        f:image: {}
        f:integrationKit:
          .: {}
          f:name: {}
          f:namespace: {}
        f:lastInitTimestamp: {}
        f:phase: {}
        f:platform: {}
        f:profile: {}
        f:runtimeProvider: {}
        f:runtimeVersion: {}
        f:version: {}
    manager: kamel
    operation: Update
    subresource: status
    time: "2022-03-03T14:13:18Z"
  name: test-multiple-resources
  namespace: default
  resourceVersion: "5539"
  uid: 47c28c96-0db4-4fc5-8672-737c13538c5c
spec:
  sources:
  - content: |
      // camel-k: language=java

      import org.apache.camel.builder.RouteBuilder;

      public class TestMultipleResources extends RouteBuilder {
        @Override
        public void configure() throws Exception {

            // Write your routes here, for example:
            from("timer:java?period=1000")
              .routeId("java")
              .setBody()
                .simple("Hello Camel K from ${routeId}")
              .to("log:info");

        }
      }
    name: TestMultipleResources.java
  traits:
    mount:
      configuration:
        resources:
        -<EMAIL_ADDRESS>        -<EMAIL_ADDRESS>status:
  conditions:
  - firstTruthyTime: "2022-03-03T14:13:18Z"
    lastTransitionTime: "2022-03-03T14:13:18Z"
    lastUpdateTime: "2022-03-03T14:13:18Z"
    message: default/camel-k
    reason: IntegrationPlatformAvailable
    status: "True"
    type: IntegrationPlatformAvailable
  - firstTruthyTime: "2022-03-03T14:13:18Z"
    lastTransitionTime: "2022-03-03T14:13:18Z"
    lastUpdateTime: "2022-03-03T14:13:18Z"
    message: kit-c8gc2lv6s76de8cs34qg
    reason: IntegrationKitAvailable
    status: "True"
    type: IntegrationKitAvailable
  dependencies:
  - camel:log
  - camel:timer
  - mvn:org.apache.camel.k:camel-k-runtime
  - mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
  digest: vPRASD01TUb4aZfA2igrGdg-40MQIV-tO13oxD2dqv_o
  image: <IP_ADDRESS>/default/camel-k-kit-c8gc2lv6s76de8cs34qg@sha256:9af5aec6e1d2cff80b36b734660130c2954b92586a38c66c7dc5965775d92cef
  integrationKit:
    name: kit-c8gc2lv6s76de8cs34qg
    namespace: default
  lastInitTimestamp: "2022-03-03T14:13:18Z"
  phase: Deploying
  platform: camel-k
  profile: Kubernetes
  runtimeProvider: quarkus
  runtimeVersion: 1.12.0
  version: 1.8.1

Thanks @apupier. As far I can see the expected configuration is correct:
        -<EMAIL_ADDRESS>        -<EMAIL_ADDRESS>
I will need to reproduce the scenario to understand what's going on. Keep tuned.

I am still experiencing this issue in the latest stable release 1.8.2.
./kamel version
Camel K Client 1.8.2

Phase is stuck at "Deploying".
kubectl get integration
NAME           PHASE       KIT                        REPLICAS
s-contact-v2   Deploying   kit-c9hgufi5a6h9ag5a4s4g

When I describe the integration:
Events:
  Type     Reason                       Age                    From                            Message
  ----     ------                       ----                   ----                            -------
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "IntegrationPlatformAvailable" is "True" for Integration s-contact-v2: development/camel-k
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "ExposureAvailable" is "False" for Integration s-contact-v2: explicitly disabled
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Initialization"
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Building Kit"
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "IntegrationKitAvailable" is "True" for Integration s-contact-v2: kit-c9hgufi5a6h9ag5a4s4g
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Deploying"
  Warning  IntegrationError             115s (x17 over 7m25s)  camel-k-integration-controller  Cannot reconcile Integration s-contact-v2: error executing post actions: error during apply resource: development/s-contact-v2: failed to create typed patch object: errors:
  .spec.template.spec.containers[name="integration"].volumeMounts: duplicate entries for key [mountPath="/etc/camel/resources"]
  .spec.template.spec.containers[name="integration"].volumeMounts: duplicate entries for key [mountPath="/etc/camel/resources"]

I thought the issue was present in version 1.8.0, claimed to be fixed in version 1.8.1, but actually did indeed carry onto 1.8.1. I thought it was fixed with the latest stable release. Is this not the case?

Thanks for reporting. Would you mind commenting what is the Integration which is failing or the command you use to run it? I'd like to understand what exactly is failing now. Thanks!

Thanks for the response. Of course, let me give you some information on what I'm trying to do.
We have a bunch of camel-k routes whose main function is to sync data from our Salesforce account to Postgresql database. Probably not important but camel components we have in these routes are: setHeader, setBody, setProperty, log, filter, removeHeader, convertBody, validate, split, process, bean, atlasmap and sql. (As I said, probably not necessary to mention for this issue but I add it here just in case it is related.)

All our camel-k integrations share the following resources:

postgres_db.groovy
dynamic.java
All 5 resources with the --config type.
All the traits.

The postgres_db.groovy file:
import org.apache.commons.dbcp2.BasicDataSource

beans {
    String postgresUsername = context.resolvePropertyPlaceholders("{{postgres.username}}")
    String postgresPassword = context.resolvePropertyPlaceholders("{{postgres.password}}")
    String postgresHost = context.resolvePropertyPlaceholders("{{postgres.host}}")
    String postgresDatabase = context.resolvePropertyPlaceholders("{{local.parameters.postgres.database}}")

    dataSource(BasicDataSource) {
        driverClassName = 'org.postgresql.Driver'
        url = 'jdbc:postgresql://' + postgresHost + '/' + postgresDatabase
        username = postgresUsername
        password = postgresPassword
        maxTotal = 8
        maxIdle = 8
        minIdle = 0
        initialSize = 0
    }
}

The dynamic.java file:
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.salesforce.AuthenticationType;
import org.apache.camel.component.salesforce.SalesforceComponent;
import org.apache.camel.component.salesforce.SalesforceLoginConfig;
import org.apache.camel.support.jsse.KeyStoreParameters;

public class dynamic extends RouteBuilder {

    @Override
    public void configure() throws Exception {
        SalesforceLoginConfig salesforceLoginConfig = new SalesforceLoginConfig();
        salesforceLoginConfig.setType(AuthenticationType.JWT);
        salesforceLoginConfig.setClientId(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.sf-login-config-clientId}}"));
        salesforceLoginConfig.setClientSecret(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.sf-login-config-clientSecret}}"));
        salesforceLoginConfig.setLoginUrl(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.sf-login-config-loginURL}}"));
        salesforceLoginConfig.setUserName(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.sf-login-config-username}}"));

        KeyStoreParameters keyStoreParameters = new KeyStoreParameters();
        keyStoreParameters.setPassword(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.keystore-password}}"));
        keyStoreParameters.setResource(getContext().resolvePropertyPlaceholders("{{dynamicsfconfig.keystore-resource}}"));
        salesforceLoginConfig.setKeystore(keyStoreParameters);

        SalesforceComponent salesforceComponent = new SalesforceComponent();
        salesforceComponent.setLoginConfig(salesforceLoginConfig);

        getContext().addComponent("salesforce", salesforceComponent);
    }
}

A bit more insight on when&how we encountered this issue: We had one camel-k route deployed using the command I posted above. It was running smoothly, without any problems. All the ConfigMaps, Secrets, mappings and resources were available and used within the route.
The problem started when I deployed a very similar but a different route to the same namespace. Now, these two routes were sharing the aforementioned resources and it is when I first encountered with the issue:
Events:
  Type     Reason                       Age                    From                            Message
  ----     ------                       ----                   ----                            -------
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "IntegrationPlatformAvailable" is "True" for Integration s-contact-v2: development/camel-k
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "ExposureAvailable" is "False" for Integration s-contact-v2: explicitly disabled
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Initialization"
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Building Kit"
  Normal   IntegrationConditionChanged  7m25s                  camel-k-integration-controller  Condition "IntegrationKitAvailable" is "True" for Integration s-contact-v2: kit-c9hgufi5a6h9ag5a4s4g
  Normal   IntegrationPhaseUpdated      7m25s                  camel-k-integration-controller  Integration "s-contact-v2" in phase "Deploying"
  Warning  IntegrationError             115s (x17 over 7m25s)  camel-k-integration-controller  Cannot reconcile Integration s-contact-v2: error executing post actions: error during apply resource: development/s-contact-v2: failed to create typed patch object: errors:
  .spec.template.spec.containers[name="integration"].volumeMounts: duplicate entries for key [mountPath="/etc/camel/resources"]
  .spec.template.spec.containers[name="integration"].volumeMounts: duplicate entries for key [mountPath="/etc/camel/resources"]

Since then, I removed the camel-k-operator and cleaned all camel-k resources in the said namespace by running kamel uninstall --all -n development and then tried again with the following kamel versions: 1.7.0, 1.8.0, 1.8.1, 1.8.2 and lastly 1.9.0-nightly. Unfortunately, none of them worked. I kept getting the same error.
I hope I've provided you with enough details regarding the issue. Please feel free to let me know if you need any further details. Thanks!

I managed to reproduce. I did not manage to see why it is failing though. I'll keep working on it, thanks for reporting.

Thanks for the update. I would love to be a part of the fix and help you in any way possible.

Thanks for the update. I would love to be a part of the fix and help you in any way possible.

Thanks for the interest. If you want, you can start having a look at the E2E test we have here https://github.com/apache/camel-k/blob/main/e2e/common/config/config_test.go#L212 . It looks like this is not enough to cover the failure. Maybe you can figure out a test which cover the situation mentioned in the previous comments so we have a clear target to fix. Feel free to ping me if you are willing to look and need support.

Hello, this has been resolved from 1.9.x onward, check the latest- v1.9.2

@yididiyag That is incorrect. I've confirmed that the issue was not fixed in v1.9.0
And according to the changelogs for v1.9.2 no change/fix has been made with regards to this issue.

It's not fixed yet.


ctl describe pod {foo} should pretty print the yaml

Should pretty print the yaml

Fixed in #9
note: the yaml can be pretty long, so it is recommended that users pipe to less


Update Issue - 24299156

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 38.0

Operating System
Windows XP

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


Nested templates

When writing HTML emails, I usually have a layout.html.hbs that is the same for all emails, and inside it has a {{ content }} that contains the content that is specific for this email (signup/login/password reset, other transactional emails). Is there any way you could support this type of nested emails/template inheritance or whatever you would like to call it?
I would love to move to your library, it seems very well thought out!

I'm looking to do the same with nunjucks, which uses:
{% extend template_path %}

For Handlebars you can try using https://github.com/shannonmoeller/handlebars-layouts

this include (ejs) or extend (handlebars) doesn't seem to work with localization... disappointing, as componentialization & composition is the corner stone of good code bases.

@davidfurlong: Could you explain some more how the code you are trying to run looks? Without a code sample it's hard to guess how your code is broken.

@Kuzmin yep ofcourse.
// base/en/html.ejs

Company name,

<%- include(pathToTemplate, data) %>

// welcome/en/html.js
Welcome to the site, <%= name %>

const locale = "en";
new EmailTemplate('../base').render({
  pathToTemplate: '../welcome',
 data: {
   name: "David"
 },
}, locale)

This sort of paradigm does not play nicely with a) localization b) text/html files. I found a way around and documented it here https://github.com/crocodilejs/node-email-templates/issues/225. But this solution is verbose and doesn't leverage this library very well. Want to keep my templates DRY

I don't know about ejs but I know that Handlebars allows you to define custom functions. Sounds like it should be possible for you to create your own function myInclude (or something), that handles locales in template paths and corrects the path.
Eg pass the path as /some/path/$LOC/welcome.html and let the method do string replacement :)


KYLIN-3379 fix ts add bug and enhance the test coverage of timestamp add.

Can one of the admins verify this patch?

Hi Jiatao, the CI is failed, you will update the PR right?

@shaofengshi Thanks shaofeng, something wrong with timestamp add, I pushed the fix and retriggered CI.

Hi @shaofengshi, CI passed.