Data binding example shows component overwriting its own parameter value

We tell people not to create components that overwrite their own parameters, but unfortunately one of the examples in the docs does exactly that: https://docs.microsoft.com/en-us/aspnet/core/blazor/components/data-binding?view=aspnetcore-3.1#child-to-parent-binding-with-chained-bind
This has led to some confusion, e.g., https://github.com/dotnet/aspnetcore/issues/25377
Could we please update the docs not to do that? In the case of the password example, I think the child component could simply omit the line that does Password = e.Value.ToString(); and it should still work fine.
Also the info at https://docs.microsoft.com/en-us/aspnet/core/blazor/components/?view=aspnetcore-3.1#overwritten-parameters-with-renderfragmentis a little misleading. It says that:

Parameters are overwritten under the following conditions:

A child component's content is rendered with a RenderFragment.
StateHasChanged is called in the parent component.

I would instead say something like New parameter values are supplied, typically overwriting existing ones, when the parent component re-renders. There's no reason to talk about renderfragments or StateHasChanged here, as far as I know. The parent component doesn't even necessarily have a StateHasChanged method, as that's specific to ComponentBase which not all components necessarily derive from.

omit the line that does Password = e.Value.ToString(); and it should still work fine.

Will do. It changed in a bad way (that line anyway) since Ryan first handed it over. This is his original version ...
https://github.com/dotnet/AspNetCore.Docs/issues/14144#issue-489386131
I can't explain the churn/changes without more research, but I think this has been touched a few times since the original PR. Since a single line fix should take care of it, I'll just knock it out right now and move on.
On the other one, it came in here ...
https://github.com/dotnet/AspNetCore.Docs/pull/17455/files#diff-aec5790e12a05d20a3cda92a708f6679R454
... and was approved here ...
https://github.com/dotnet/AspNetCore.Docs/pull/17455#issuecomment-617366801
I'll fix both of these up right now.

@SteveSandersonMS ... I see that Ryan had that assignment there, so it wasn't something that I changed after all. See down there at the bottom :point_down:. This code and the current version in the doc don't work without that assignment.
<input
       type="@(ShowPassword ? "text" : "password")"
       required
       value="@Password"
       @oninput="@OnPasswordChanged" />
<a @onclick="ToggleShowPassword">
    Show password
</a>

@code {
    private string password;

    [Parameter]
    public string Password
    {
        get
        {
            return this.password ?? "";
        }
        set
        {
            if (this.password != value)
            {
                this.password = value;
            }
        }
    }

    [Parameter]
    public EventCallback<string> PasswordChanged { get; set; }

    bool ShowPassword { get; set; }

    private void ToggleShowPassword()
    {
        this.ShowPassword = !this.ShowPassword;
    }

    private Task OnPasswordChanged(ChangeEventArgs e)
    {
        Password = (string)e.Value;
        return PasswordChanged.InvokeAsync(Password);
    }
}

UPDATE ... Ok, I think the rubber :duck: has helped me understand where the text and examples went off the tracks. Ryan's sample didn't take the latest guidance into account, and I thought the problem with a component that writes to its own parameters had a more limited scope than it does. I think I see now how to fix the text and examples. PR coming soon! ... Stand-by!


Update CSS selector for linter gutter element

.icon-right::before css selector will be replaced by .linter-gutter of the new linter gutter element.
For more details: https://github.com/atom-community/linter/issues/906

Thanks for the heads up! linter-gcc doesn't use custom message types or any of the APIs that have been deprecated. I can confirm it's working with the latest version of linter. Thanks for the amazing work!

Are you sure it works with the master branch? Those changes haven't been released yet

I have just had a look at your changelog, and linter-gcc doesn't use any of the APIs you are deprecating. You have the go-ahead from me.

Alright then :smiley:


New beta version of @swc/cli is now available via 'swcx'  crashes on Mac

Describe the bug
With the installation of @swc/core: 1.2.66, @swc/cli: 0.1.62 comes the note 'Beta version of @swc/cli is now available via 'swcx' command. ... Please give it a try'
On my Apple computer I have problems with calling swcx.
I work on an Apple M1 machine. arch: arm64.
The problem described occurs regardless of whether swc_cli is also available as a binary installed by cargo.
As described here (https://swc.rs/docs/getting-started) I installed @swc/cli and @swc/core.
 It's probably not supported.
at BinWrapper.download (/....../swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33675:10)
at BinWrapper.findExisting (/....../swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33658:17)
at async BinWrapper.run (/........./swc_cli/node_modules/@mole-inc/bin-wrapper/index.cjs:33619:3)
at async executeBinary (/......../swc_cli/node_modules/@swc/cli/lib/swcx/index.js:145:5)
swcx is available at node_modules/.bin/.
The swc.darwin-arm64.node file is located in the node_modules/@swc/core-darwin-arm64/ directory. I tentatively made swc.darwin-arm64.node executable with chmod 755. But I can't run it stand alone. This error message appears:
zsh: exec format error: ./swc.darwin-arm64.node
Input code
No response
Config
No response
Playground link
No response
Expected behavior
swcx --help should be displayed.
Actual behavior
No response
Version
@swc/core: 1.2.66, @swc/cli: 0.1.62
Additional context
No response

same here


improve make tablet sync_rowsets async to reduce calculating delete bitmap time

sync_rowsets may cost too much time, make  sync_rowsets async can reduce more than 90% times on calculating delete bitmap time in publish phase.

run buildall

run buildall

run buildall


CSV Profile Scraping Example

Thanks for contributing to instascrape! Please review and fill out the checklist below before submitting your request.
All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes, as applicable?
[x] Have you successfully ran tests with your changes locally?

Additional Notes
Feel free to include any additional information regarding your PR below:
I have no idea how to add black styling, but I have run the tests on Python 3.7.3 and everything functions correctly. Apart from black styling, this script is ready to be used as a resource / explored.

Lol I didn't realize I could just immediately commit a change, thanks for the new example!

 Can't wait to contribute more!


missing event information

Nice tool, definitely better than everything from Google :-)
But: If you click on a place-marker you see an event date, but not the related person.

Should be nice I you can click on the date or the person.

Yea, I definitely had plans to add more to that bubble. If you're interested in making a PR for this, I'd be happy to review and merge it.

The change would go here. Instead of $event->shortSummary(), which returns a one-line description of the event, we'd make something like a longSummary or something, which returned a little more data, with links and whatnot.

Is the longSummary() anywhere defined yet? It seems me not.
The shortSummary() is taken from
// Return a one line summary from the fact
	public function shortSummary() {
		return $this->fact->summary();
	}

But where is $this->fact->summary(); defined?

Hmmm, summary() is a webtrees function. It give only the summary of the event. All information is in $this->fact, but how to get it out of there?

Yea, summary() is a webtrees function defined here. It looks like they don't have another good method that has all the info like we want it, so we'll have to put it together ourselves, by having the new longSummary() (which is not defined yet, but should go right below shortSummary()) call the other methods in that Fact.php file. For example, if we want to get the date, we'd do $this->fact->getDate(), which is defined here

summary() gives sufficient information, I think. What we need is name of the person, the id of the person and (if possible) the relation to the main person. This we can add to the longSummary.
In fact.php aren't functions that can generate that information, what I see.

PS. Am I correct that the "Spouse"-events aren't shown on the map?

Yea, that looks like a good way to do it. Not sure what you mean by "Spouse"-events. It should be showing events that happen to the person, their parents, their siblings, their children, and their spouses.

Maybe later further research

I think, the easiest way is to add the needed information to the array $events, something like:
```
# Map each person to their facts
foreach($people as $person) {
$xref = $person->getXref();
$fullNN = $person->getAllNames()[0]['fullNN'];
$events[$xref] = array();
foreach($person->getFacts() as $fact) {
$placefact = new \FactPlace($fact);
array_push($events[$xref], $placefact, $fullNN);
if ($placefact->knownLatLon()) $geodata = true;
}
But I m not sure if the `array_push` is correct. If this works, you have to unpack the name in the `drawMap()`.

If this works it must be also  possible to add the other information, the relation to the original person, in `$events` imo.

Is it correct that the data will be two times sorted, in line #171 and #248. It seems me overdone.

Yea, I think you're right about the double sort. Good catch!
I'll work on getting this added to the code sometime today.

Maybe you have an idea to add also the relation to the main person to this array? I cannot find out how. Should be nice if see something like:
Boris Johnson, sun of Boris Johnson sr.
born at 1 januari 1900 in Ugwambibi

With:
echo I18N::translate('Son');
you will get "Sun" in every language.
With $parent->getSex() you will get "M" or "F" (or "U" for un defined). So you will know who is the father and who is the mother. But you test it also with:
if ($parent==$family->getWife()) or if ($parent==$family->getHusband())
I think you have to define immediately in the array $people the relation to $thisPerson.

Please merge the fork, I added links and info to the pop-ups.


(Hanoi) Backport ZMQ bug fix to Hanoi branch

🐞 Bug Report
Affected Services

 The issue is located in:  Core data
go-mod-messaging v0.1.30 has fix for ZMQ bug
https://github.com/edgexfoundry/go-mod-messaging/issues/76
Hanoi branch needs this version of go-mod-messaging for upcoming 1.3.1 dot release.

fixed by #3084


NullReferenceException error in debug output

I have a NullReferenceException error when I inject IBrowserResolver into a Middleware. Not on all queries.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app.UseDeveloperExceptionPage();
    app.UseMiddleware<SimpleMiddleware>();
}

internal class SimpleMiddleware
{
    private readonly RequestDelegate _next;

    public SimpleMiddleware(RequestDelegate next)
    {
        _next = next;
    }

    public Task InvokeAsync(HttpContext context, IBrowserResolver browserResolver)
    {
        return _next(context);
    }
}

Exception:
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]       An unhandled exception has occurred while executing the request. System.NullReferenceException: Object reference not set to an instance of an object.    at Wangkanai.Detection.Collections.InternetExplorer..ctor(String agent)    at Wangkanai.Detection.BrowserResolver.GetBrowser()    at Wangkanai.Detection.BrowserResolver..ctor(IUserAgentService service)    at lambda_method(Closure , ServiceProviderEngineScope )    at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)    at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)    at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.GetService(IServiceProvider sp, Type type, Type middleware)    at lambda_method(Closure , Object , HttpContext , IServiceProvider )    at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_1.<UseMiddleware>b__2(HttpContext context)    at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

I think is same issue https://github.com/wangkanai/Detection/issues/73

When did you plan to release a beta9?

@YZahringer let me clear up my time maybe July or August to get beta 9 rollout

Any news?

@YZahringer could you please help me answer the question in #85 to make a valid argument before i close the pull request.
Thank you.


Fails to install as NPM module with NPM (works with Yarn)

Steps:

add as dependency to a project
run npm install within that project

Output:
npm ERR! path /home/vagrant/source/comment-service/node_modules/error-object-polyfill/bin/aws-architect.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/vagrant/source/comment-service/node_modules/error-object-polyfill/bin/aws-architect.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2018-07-10T10_51_26_976Z-debug.log

Environment:

OS: MacOS, Linux (Ubuntu 18.04 LTS)
Node Version: 8.10
NPM Version: 5.6.0, 5.10.0, 6.1.0

This is actually a problem with the error-object-polyfill library.  I've released version 1.0.13 which fixes it.
But because of the bug it was making it seem like this library.  To resolve:

remove/wait for this PR to be merged
AND
Update the error-object-polyfill version to 1.0.13


Vendor prometheus/common v0.14.0

For https://github.com/prometheus/prometheus/issues/7962
Vendor github.com/prometheus/common v0.14.0 with extended by platform info version.Print.

CI is failing.

goleak related fail:
https://app.circleci.com/pipelines/github/prometheus/prometheus/9170/workflows/517efb46-141d-4984-a562-661c021901fc/jobs/40146


icon color dont change color of icon inside button

In GitLab by @DaniloRaposo on Jun 10, 2022, 12:32

The icon inside button dont change its color. (the second icon is inside a button)

fechado Mr https://gitlab.com/team-tecnologia/public-pkgs/szot-ui/-/merge_requests/51


train on Imagenet

Hello, Have you trained on Imagenet with batch-size 256?
I am doing this, I found the curve of traing loss is very slow and steady. like this:

Hi Beyondpzk,
I have not trained my implementation on ImageNet yet. Let me know what results you obtain, the loss curve looks alright and comparable to mine on both CIFAR-10 and STL-10, which can be seen on the Tensorboard.dev page.

okay, thanks, I am training on Imagenet, several days later, it will finish training,

Now, I have the baseline's result of training on 100% Imagenet and also train linear-W only using 100% ImageNet, bug I just got 40.8% accuracy.

And the final loss curve is


Adding events tracking functionality:

Refs https://github.com/keep-network/keep-core/issues/1608
In this PR we add tracking functionality for GroupSelectionStarted and RelayEntryRequested events. In prevents from receiving duplicate events that sometimes happen during the Infura deployment.

I looked at the other events in chain.go. Looks like other events call "watchers" and I'm not sure how much value we'd get if we add a shield from duplicating events there.

Testing:

emitted a duplicate event for group selection. Group selection has started and also I observed the error msg about duplicate group selection, which was expected. It didn't break the flow.
emitted a duplicate event for a new relay entry. Entry was generated successfully and the error log was there informing about a duplicate relay entry event


Not possible to have responseContainer = "list" AND @ApiResponse

When I use @ApiOperation#responseContainer AND @ApiResponse, the output never renders array type correctly.
RequestMapping method
    @ApiOperation(value = "testing", response = User.class, responseContainer = "list")
    @RequestMapping(value = "/testing", method = RequestMethod.GET)
    @ApiResponses(value = {
        @ApiResponse(code = 200, message = "success")
    })
    public Object testing() {
        return new Object();
    }

Output
"paths" : {
    "/testing/testing" : {
      "get" : {
        "tags" : [ "example" ],
        "summary" : "testing",
        "description" : "",
        "operationId" : "testing",
        "responses" : {
          "200" : {
            "description" : "success"
          }
        }
      }
    }

The above is incorrect; the output should be:
"paths" : {
    "/testing/testing" : {
      "get" : {
        "tags" : [ "example" ],
        "summary" : "testing",
        "description" : "",
        "operationId" : "testing",
        "responses" : {
          "200" : {
            "description" : "success",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/User"
              }
            }
          }
        }
      }
    }
  }

has this issue been fixed in swagger-maven plugin version 3.0.1 ?

@ndhar-1 it is fixed in 3.0.1-SNAPSHOT.  I'm not sure when @kongchen plans on releasing 3.0.1 officially.

Sorry guys, will do it now, sorry for the delay. I was too busy these days and even do not have time to have enough sleep:(


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/MeisterTR/ioBroker.worx

[x] [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.worx"
[x] [E801] No repository about text found. Please go to "https://github.com/MeisterTR/ioBroker.worx", press the first "Edit" button you will find on the page and add the description.
[x] [E802] No topics found in the repository. Please go to "https://github.com/MeisterTR/ioBroker.worx" and press "Manage topics"

I have also found warnings that may be fixed if possible.

[x] [W400] Cannot find "worx" in latest repository

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Thanks, that all bugs have been fixed.


Composite action should not download other actions if they are disabled

can the downloads of action  be limited based on the inputs received ?
workflow file has a setup-aws=true and the associated env vars. I understand the actions/* ones and the terraform ones.
Download action repository 'google-github-actions/auth@v2' (SHA:55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c)
Download action repository 'google-github-actions/setup-gcloud@v2' (SHA:98ddc00a17442e89a24bbf282954a3b65ce6d200)
Download action repository 'aws-actions/configure-aws-credentials@v4' (SHA:e3dd6a429d7300a6a4c196c26e071d42e0343502)
Download action repository<EMAIL_ADDRESS>(SHA:6b2456866fc08b011acb422a92a4aa20e2c4de32)
Download action repository 'actions/cache@v4' (SHA:0c45773b623bea8c8e75f6c82b208c3cf94ea4f9)
Download action repository 'hashicorp/setup-terraform@v3' (SHA:651471c36a6092792c552e8b1bef71e592b462d8)
Download action repository<EMAIL_ADDRESS>(SHA:ef1296cdbec243306d3a3d31909582ca1eeb4627)
Download action repository<EMAIL_ADDRESS>(SHA:aefb0a43c4f5503a91fefb307745c4d51c26ed0e)
Download action repository<EMAIL_ADDRESS>(SHA:ae80d4ecaab946d8f5ff18397fbf6d0686c6d46a)
Download action repository 'actions/setup-go@v5' (SHA:cdcb36043654635271a94b9a6d1392de5bb323a7)
Download action repository 'actions/github-script@v7' (SHA:60a0d83039c74a4aee543508d2ffcb1c3799cdea)

Would really like to see this feature to reduce the time of runner and reduce external dependencies coming in for more regulated environments.


example app build is broken on latest Flutter stable

Describe the bug
A clear and concise description of what the bug is.
In the example project, the package fl_toast seems to be conflicting with the latest flutter version since it uses parameters that have been removed from the Flutter SDK.
specifically, primaryVariant and secondaryVariant  of the ColorScheme theme class.
fluttertoast: ^8.2.2
To Reproduce
Steps to reproduce the behavior:

Upgrade to the latest version of Flutter 3.13 and run the app.
Build fails specifying the error,

Expected behavior
Build success and flutter app launches.
Screenshots
../../../../.pub-cache/hosted/pub.dev/fl_toast-3.1.0/lib/src/toasts.dart:324:9: Error: No named parameter with the name 'primaryVariant'.
        primaryVariant: colorScheme.onPrimary,
        ^^^^^^^^^^^^^^
../../../../Documents/Development/flutter/packages/flutter/lib/src/material/color_scheme.dart:87:9: Context: Found this candidate, but the arguments don't match.
  const ColorScheme({
        ^^^^^^^^^^^
Target kernel_snapshot failed: Exception

Desktop (please complete the following information):

OS: MacOS
Version 11.1

Smartphone (please complete the following information):

Device: Pixel 7 Pro
OS: Android
Browser Chrome
Version 13

Additional context
Commenting the broken code in the library fixes the problem.
Ideally fluttertoast: ^8.2.2 should be used instead of fl_toast since it has not been actively maintained for over 2 years.

Would be happy to help with the migration.

@Luzzotica Please let me know if migrating sounds good 😄

Hold off for a bit.
I have a pretty massive update for the example app coming in later today.

Cool, let me know if you need any help !

Thanks for the example uploaded these days. For now, the connection is working perfectly. 🥳


Make client classes accessible to proxy/federated stores

When deploying proxy or federated stores, you need to include the Operations, Functions and Data classes of the remote stores to enable the operations to be processed. If stores made a client jar available to clients, this mechanism could be automated, with stores able to dynamically update themselves as remote dependencies change or new stores are added.

@GCHQDeveloper404 Is this issue still relevant in the light of your v2/maestro changes? I.e. do I close it; push it to after v2.0 or what?

@GCHQDev404  Is this issue still relevant in the light of your v2/maestro changes? I.e. do I close it; push it to after v2.0 or what?

After discussion, it appears this may partly have been covered by the maestro changes, so after chose have been merged (alpha-4) test this one again as part of alpha-5 work and identify what remains to do.

Yes.
But some examples to think about with #2823 vs this ticket.
example 1) FederatedStore receives an nonstandard operation, it simply forwards the operation (which was not able to be json deserialised) to remote graphs, which is good.
example 2) FederatedStore does know about the nonstandard operations and has a local handler/hook to do something interesting with it, which is good.
example 3) same as example 2 but someone updates the operation, now it can't be handled anymore. should it error or forward the operation.
So a choice needs to be made between the 2 or an alternative to both #2057 and #2823 is #2487

This will be pushed back to after v2 and as a high priority because this will make management of multiple graphs easier.


started adding some error handling for child chain service

this should fix #99. the invalid requests no longer returns a KeyError, and instead passes the error back to the CLI. please feel free to let me know if you have any comments or questions

Awesome, thanks for the PR! I think we should add the error handling check to each call the CLI makes to the client. Might be easier with a lambda?
def client_call(fn, args=()):
    try:
        fn(*args)
    except ChildChainServiceError as err:
        ...

and then
client_call(client.apply_transaction, args=(tx))

Not sure if that ends up being cleaner or more confusing than try/except on each... Need to think about it

a helper function seems like a good way to go. I added one similar to what you mentioned, and so far it's just being used for the client calls that call the child chain service

Awesome, LGTM. Approving.

@rcallan Would you mind rebasing?

okay sure, I just did a rebase

Merged, thanks!


[FLINK-12681][metrics] Introduce a built-in thread-safe counter

What is the purpose of the change

Implement a built-in thread-safe counter

Brief change log

Add a new implementation of Counter named ConcurrentCounter which is thread-safe

Verifying this change

This change added unit test case

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Rebase master since there are several failed test cases that are not relevant with this PR. I think they have been resolved in master branch.

Travis checking has been passed.
@flinkbot attention @zentol
Would you mind take a look?

Just close this PR since it's not important and no committer review it.


SanicTestClient throws error with response.text(...)

Describe the bug
When an endpoint does not return a json und we are using the SanicTestClient, it gives an error:
        if exceptions:
>           raise ValueError("Exception during request: {}".format(exceptions))
E           ValueError: Exception during request: [JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)]

This is because sanic.testing import JSONDecodeError from json, but requests (used by requests_async) uses simplejson, which means that this
 try:
    response.json = response.json()
except (JSONDecodeError, UnicodeDecodeError):
    response.json = None

does not work cause it does not handle the actual type simplejson.errors.JSONDecodeError
Code snippet
Endpoint:
@blueprint.route("/")
async def do_something(request: Request) -> HTTPResponse:
    return response.text("", 200)

Request:
test_client = app.test_client
_ = test_client.get("/")

Expected behavior
No error.
Environment (please complete the following information):

OS: MacOS
Version: 19.6.3

Additional context
Add any other context about the problem here.

A simple quickfix would be to import JSONDecodeError from simplejson, I can submit a PR for that if you want.

Hi @harshanarayana What speaks against using the test_client which is described here https://sanic.readthedocs.io/en/latest/sanic/testing.html ?


Setup

In this PR:

I added linters, Tailwindcss, and some node dependencies
Images added for logo and fav icon
A basic structure added with files structure for the project

USE : npm install and then npm run dev to start the app

@EmiLoKiJu,
I added all needy dependencies.


Bugfix: Not setting focus to selected day on page load for inline calendar

This is a bug fix.  Our calendar is displayed inline, and we need to set the selected date when our upon page load.  However, since the user at this point has not done anything, document.activeElement === document.body, and the selected day is getting focus due to handleFocusDay() in day.jsx.
I tried to make this as low-impact a fix as possible, but it still required a lot of prop drilling.

Thanks for this, can add a test to make sure this doens't break again in the future?

I tried to add a unit test but, when I used enzyme's "mount" function inside of day_test.js -- because testing focus requires "mount" -- the line of code I changed in day.jsx did not get executed.  However, that line did get executed when I ran calendar-text.js.  Would it be okay to add a unit test for this inside calendar_test.jsx, or some other test file, or must it be a part of day_test.js?

Sorry, I have to close this PR because I made the commit using my employer-provided email address, and this is a violation of company policy. I will create a new PR using only my personal GitHub account.


Add methods for GHE endpoints

Hello,
This PR adds methods for Github Enterprise endpoints.
The following are covered:

Create organization
Create User
Delete User

I will be happy to add a few fix on this PR if necessary.

CLA fixed.

Ok for my commits being contributed to this project :+1:

Thank you, @gauntface!
Merging.


[Snyk] Security upgrade com.amazonaws:aws-java-sdk from 1.12.234 to 1.12.760

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 62 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

api/pacman-api-asset/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-608664
  780
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  Reachable Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-450917
  705
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Mature

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-467015
  675
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Mature

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
  670
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  Reachable Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1054588
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056416
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056418
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056420
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056421
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056426
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056427
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-174736
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-548451
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-559094
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-559106
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-560762
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-561585
  630
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1009829
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1047324
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056414
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056417
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056419
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056424
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056425
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-467016
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-560766
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-561362
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-561373
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-561586
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-561587
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-564887
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-564888
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-570625
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-572300
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-572314
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-572316
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72448
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72449
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72450
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72451
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72882
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72883
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-72884
  563
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

XML External Entity (XXE) Injection SNYK-JAVA-COMFASTERXMLJACKSONCORE-1048302
  560
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1052449
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1052450
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-1061931
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-455617
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-467014
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-469674
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-469676
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-471943
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-472980
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-540500
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-6056407
  555
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2421244
  525
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONDATAFORMAT-1047329
  525
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Allocation of Resources Without Limits or Throttling SNYK-JAVA-SOFTWAREAMAZONION-6153869
  525
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
  520
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Deserialization of Untrusted Data SNYK-JAVA-COMFASTERXMLJACKSONCORE-450207
  520
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found Proof of Concept

Directory Traversal SNYK-JAVA-COMAMAZONAWS-2952700
  475
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

Improper Input Validation SNYK-JAVA-ORGAPACHEHTTPCOMPONENTS-1048058
  415
com.amazonaws:aws-java-sdk:  1.12.234 -> 1.12.760  No Path Found No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal
🦉 Deserialization of Untrusted Data
🦉 XML External Entity (XXE) Injection
🦉 More lessons are available in Snyk Learn

Checkmarx One – Scan Summary & Details – 998528ee-2554-49bb-8146-b020d2f10e20
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-es-logging-service/src/main/java/com/paladincloud/notification_log/config/AuthManager.java: 44
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-es-logging-service/src/main/java/com/paladincloud/notification_log/config/AuthManager.java: 44
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-aqua-enricher/src/main/java/com/tmobile/cso/pacman/aqua/jobs/AquaDataImporter.java: 37
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-asset/src/main/java/com/tmobile/pacman/api/asset/service/AssetServiceImpl.java: 856
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/executor/PolicyExecutor.java: 141
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/executor/PolicyExecutor.java: 141
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/service/AmazonCognitoConnector.java: 121
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-vulnerability/src/main/java/com/tmobile/pacman/api/vulnerability/service/VulnerabilityService.java: 973
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 143
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 144
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-template-formatter-service/src/main/java/com/paladincloud/HttpUtil.java: 154
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-send-email-service/src/main/java/com/paladincloud/utils/HttpUtil.java: 152
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 132
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 125
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AuthManager.java: 22
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 125
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/TenableAccountServiceImpl.java: 119
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/webapp/src/app/shared/searchable-dropdown/searchable-dropdown.component.ts: 142
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21841
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21838
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21831
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21828
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21825
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21822
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger.js: 63
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20550
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20547
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 89
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AwsAccountServiceImpl.java: 213
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AwsAccountServiceImpl.java: 216
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 155
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 158
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

More results are available on AST platform


print()s or cout << s to glog warnings/errors

The examples always show stuff like
'''
Roadlink has no successor.
Roadlink has no predeseccor.
'''
which is annoying but not an error.
TODO check the code for python print()s or std::cout << s and replace them by glog calls

#205


Slow writing of _.data.R

First of all, thanks for putting this up. It is greatly appreciated.
This might be more a question than an issue, but in any case. When using the stan.jl module on input data consisting of ~200K floating point values per thread, I observe a slow down due to the writing of the data into the <model>_<i>.data.R files. When I manually monitor the tmp/ directory I estimate that julia spends 1-2 minutes on writing each of these files (the files are approx 1.5 MB each and I use a 1 year old macbook pro). Is this expected behaviour? This seems really slow to me, but there might be something else going on?

Hi Jon, thanks for raising this issue.
Right now I'm traveling and have no access to my computer to experiment. I'll take a look on my return next Tuesday, but after a quick review of update_R_file() I can't say I'm really surprised. Are these ~200K fp values data (i.e. fixed while your trying out different Stan models) or do you generate and/or collect these for each model run? How long in total does the sampling take?
Regards,
Rob

I have to generate new data every time; my dataset is actually at the order of 10 M, and I randomly select uncorrelated subsets of ~ 200 K to make my problem tractable. I end up spending more than 50% of the running time writing data, since the sampling can run in parallel. I found the bottleneck in the code and made a pull-request see [#29].


SERVER_PORT env in ServeCommand

I work at a relatively large corporate firm and we heavily use Laravel/Lumen to make microservices. I often run 4 or 5 of these projects simultaneously using the command php artisan serve. It would be really handy if I could specify a default port for each of the projects by adding a new environment variable into the .env.
In this pull request I've made a very small change by adding the env() function to the ServeCommand so if the environment variable SERVER_PORT is set it will use that port otherwise it will default to the standard port 8000 if this is not set.

env() is not allowed outside config/*
Although one could argue the ServeCommand is not for production so it doens't matter (config should not be cached for development).

env() is not allowed outside config/*

This is a justifiable exception. Using the --port flag isn't practical when you are running 10-15 different projects that need to have a defined port and have that info shared across an international team of 20 devs.
This is a simple and effective solution to a real world problem.

i think @driesvints will send this to master branch
And This is my suggestion if you add default host in the Command it will be help full
So Here is the Situation Since Some Project or in Development but my team are using it via connection to local ip to do that here is what i do
<IP_ADDRESS> is my local ip address
php artisan serve --port 9000 --host <IP_ADDRESS>
So it Will be nice if you add host variable too
Anyway lets see what @taylorotwell Says


fusemaps: imx8mp: extend uniqueid to 128 bit

This fuse is not described in details in tecnical reference manuale but we ask NXP directly having confirm that is located in bank 40, reg 0/1
This is the extract from NXP technical support email

The UID[127-64] located on bank 40, world 0 and word 1.

Anyway, from the initial test on hardware, we're doing something wrong, either in u-boot (where we're reading this UID from C code) or here in Crucible because I have different results :cry:
In U-Boot we got
SOM UniqueID#: 1e261000:55aa2564:469660d3:d0c2b602

While with this patch Crucible says
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID
soc:IMX8MP ref:0 otp:UNIQUE_ID op:read addr:0x8 off:0 len:128 val:0x01000000000247d11e26100055aa2564

That's a bit weird to me and, even if I cannot be 100% sure that U-Boot implementation is correct, I'm wondering what I'm doing wrong in Crucible..
Did I make some mistake in fuse definition?
IIUC 128 bit fuses are already supported/test in Crucible (e.g. iMX6UL/iMX6ULL) so I think it's not a crucible issue itself :thinking:

@dooraim please can you help me in reporting the data required by @abarisani ?

@dooraim please can you help me in reporting the data required by @abarisani ?

Ok, @abarisani I have posted the log below
root@desk-mx8mp:~# cat /proc/device-tree/som/uniqueid
1e261000:55aa2564:469660d3:d0c2b602root@desk-mx8mp:~#
root@desk-mx8mp:~#
root@desk-mx8mp:~#
root@desk-mx8mp:~#
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID
soc:IMX8MP ref:0 otp:UNIQUE_ID op:read addr:0x8 off:0 len:128 val:0x01000000000247d11e26100055aa2564
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[42:0]
soc:IMX8MP ref:0 otp:UNIQUE_ID[42:0] op:read addr:0x8 off:0 len:43 val:0x00055aa2564
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[47:43]
soc:IMX8MP ref:0 otp:UNIQUE_ID[47:43] op:read addr:0xc off:11 len:5 val:0x02
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[55:48]
soc:IMX8MP ref:0 otp:UNIQUE_ID[55:48] op:read addr:0xc off:16 len:8 val:0x26
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[63:56]
soc:IMX8MP ref:0 otp:UNIQUE_ID[63:56] op:read addr:0xc off:24 len:8 val:0x1e
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[95:64]
soc:IMX8MP ref:0 otp:UNIQUE_ID[95:64] op:read addr:0x280 off:0 len:32 val:0xd0c2b602
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[127:96]
soc:IMX8MP ref:0 otp:UNIQUE_ID[127:96] op:read addr:0x284 off:0 len:32 val:0x469660d3
root@desk-mx8mp:~#

By the way can you provide your patch to get UNIQUE_ID[127:96] as we are not fetching it.

You are reading 128 bits from UNIQUE_ID, however we specify 64, I assumed you patched it?
U-Boot is not strictly using the RM specifications, the inconsistency with the RM is that only 5 bits are apparently used for UNIQUE_ID[47:43], and our fusemap reflects that.
Anyway using UNIQUE_ID as our original 64 bits value you can reconstruct what U-Boot does with:
SOM UniqueID#: UNIQUE_ID : UNIQUE_ID[127:96] : UNIQUE_ID[64:95]

Please close this issue if the response is satisfactory. Thanks!

sorry for our later reply @abarisani  and thanks for your answer
U-Boot currently does NOT support 128 bit UniqueID for iMX8MP and we're customizing it to access it. What I want do additionally do is adding 128 bit UniqueID support on Crucible too, both to improving this project and double check that we're doing the right thing in U-Boot
I've understand that probably we're missing something in 64 bit word ordering, but the real point we're missing here is how to properly use crucible to read the whole 128 bit value
As you point out, I can use

UNIQUE_ID[95:64]
UNIQUE_ID[127:96]
to read these two 64 bit word, but I cannot find a way to read 64..0 :cry:

our change was suppose to implement UNIQUE_ID as 128 bit value, so you can just write
crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID
and have the whole value, but this seems to be wrong. The lower 64 bit is correct, while the upper 64 bit is something that we don't really know where it come from :wink:
E.g.
root@desk-mx8mp:~# cat /proc/device-tree/som/uniqueid  && echo
1f0b3000:8aefcecd:46a7bd4b:51beca83

root@desk-mx8mp:~#  ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[95:64]
soc:IMX8MP ref:0 otp:UNIQUE_ID[95:64] op:read addr:0x280 off:0 len:32 val:0x51beca83
root@desk-mx8mp:~#  ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[127:96]
soc:IMX8MP ref:0 otp:UNIQUE_ID[127:96] op:read addr:0x284 off:0 len:32 val:0x46a7bd4b
root@desk-mx8mp:~#  ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID
soc:IMX8MP ref:0 otp:UNIQUE_ID op:read addr:0x8 off:0 len:128 val:0x01000000000245811f0b30008aefcecd

If you can help us in understanding what's going on we'll be pleased to update this PR and/or try any change required to the source code/OTP definition
Thanks in advance (and sorry for our ignorance on both golang and crucible :wink: )

Aren't 64..0 exposed by reading UNIQUE_ID (in your example that should be 1e26100055aa2564? If you are looking for a single contiguous read of the whole 128 bits with crucible that is not possible with the way the fusemap is set as fusemap aliases only work with contiguous banks.
Your patch puts 128 bits in UNIQUE_ID and that is incorrect as the second half is not contiguous but in a different bank.

thanks @abarisani: this is the answer I was looking for! (and sorry for my misunderstanding on how fusemap works :wink: )
I've revert to 64 bit UNIQUE_ID, and now it works correctly (apart from word ordering "in u-boot", but this is another story..)
root@desk-mx8mp:~# cat /proc/device-tree/som/uniqueid  && echo
1f0b3000:8aefcecd:46a7bd4b:51beca83
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[95:64]
soc:IMX8MP ref:0 otp:UNIQUE_ID[95:64] op:read addr:0x280 off:0 len:32 val:0x51beca83
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID[127:96]
soc:IMX8MP ref:0 otp:UNIQUE_ID[127:96] op:read addr:0x284 off:0 len:32 val:0x46a7bd4b
root@desk-mx8mp:~# ./crucible -m IMX8MP -r 0 -b 16 -e big read UNIQUE_ID
soc:IMX8MP ref:0 otp:UNIQUE_ID op:read addr:0x8 off:0 len:64 val:0x1f0b30008aefcecd

I hope this is useful, so feel free to merge or close this PR
thanks again,
Andrea

Thanks! For consistency please note that I thought to rename the banks.


Document State

This patch documents State in detail because it's a very common class
for developers to work with and it has a number of subtles.

@Hixie

This is fantastic. LGTM from me.

it's obviously fine to doc private members, but did you intend to expose the value?

No, I didn't intend to expose it.  I just figured it was worth documenting the private members because this class is so central to the system.

sounds good


MAC layer may retransmit one frame constantly, if it does not receive ACK

If radio supports ACK timeout, and radio reports that No ACK received, Mac::TransmitDoneTask may retransmit the same frame constantly.

Fixed in #67.


Select_list will not select. I can't see what but this hack works

Here is the HTML:
<select class="child-count form-control">
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
  <option value="4">4</option>
  <option value="5">5</option>
  <option value="6">6</option>
</select>

All of the normal methods to select an option did not work.
This code finally worked:
  def select_option(object, value)
    index = 0
    self.send("#{object}_options").each do |item|
      if item == value
        self.send("#{object}_element").options[index].click
      else
        index += 1
      end
    end
  end

I tried:
self.send("#{elem_name}=", value)
and
self.retire_at_age='68
and several other permutations

did you tried :
select_list(:child_list, class: child-count)

#option1
child_list_element.select('2')

#option2
self.child_list='2'

self.retire_at_age='68'
Yes.

@Githraine I would benefit from having the page definitions supplied along with the specific calls and responses; otherwise, it would be a bit of a guessing game. Could you supply those?

@Githraine, if you're still experiencing this issue, please feel free to add details about the code and error messages you're getting, and reopen


One line of code generates hundreds of errors

Godot version
d97f223
System information
W10
Issue description
While converting a project I came across this code:
func load_path(path: String):
	for entry in data:
		for property in mandatory_properties:
			assert(property in entry, str("Missing mandatory property '", property, "' in entry '", entry.name, "'"))

		if not valid_properties.empty():
			for property in entry:
				assert(property == entry_name or property == id_name or property in mandatory_properties or property in valid_properties,
						str("Invalid property '", property, "' in entry '", entry.name, "'"))

Which produces this:

Steps to reproduce
Put above snippet in script editor.
Minimal reproduction project
No response

Shorter example which causes 208 errors in v4.0.alpha11.official [afdae67cc]
extends Node2D

func _ready():
	[1]
	.sort()

Marking line 3 as erroneus with red color is also very annoying. In similar cases I have more than once tried to find what's wrong with the function definition line. I have tried to find if I have copypasted some invisivble control characters or maybe there already is a function with the same name. Then the error turns to be a false positive.

For:
extends Node2D

func _ready():
	[1]
	.sort()

I haven't checked what is causing the basis of the spam, but, and I checked this does apply to the original issue too, it seems that whatever spam is generated is duplicated because of
https://github.com/godotengine/godot/blob/344b42703bab951dbc8c0e7763740ac6b3dfad79/editor/plugins/script_text_editor.cpp#L445
and
https://github.com/godotengine/godot/blob/344b42703bab951dbc8c0e7763740ac6b3dfad79/editor/plugins/script_text_editor.cpp#L469
which will eventually make calls to
https://github.com/godotengine/godot/blob/344b42703bab951dbc8c0e7763740ac6b3dfad79/modules/gdscript/gdscript_editor.cpp#L113
with the same values.
So the signal "name_changed" being connected  to ScriptEditor::_update_script_names means it'll call ScriptEditor::_update_members_overview which calls ScriptTextEditor::get_functions() which calls GDScriptLanguage::validate which starts the parser and is where the error is reported again.


update(libsinsp): fix reduced_ variable names

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug
/kind cleanup

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area libsinsp

Does this PR require a change in the driver versions?
No.

What this PR does / why we need it:
As per title, probably happened during a botched copy-paste while we were working on cleanups. I would like to correct the variable names to make the code a little more readable.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

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

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

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

LGTM label has been added.  Git tree hash: 63accb9765c2d36b54d1cfcd3db509369322576b

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

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,incertum]

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

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,incertum]

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

/milestone 0.10.4


support for open-sora 1.1?

hi, do openDit support for open-sora 1.1?

will support soon

supported now


Feat/93

Proposed changes
Closes #92
Closes #93
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #94 (066639a) into main (d021562) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #94   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           73        73
  Lines          844       844
  Branches       111       111
=========================================
  Hits           844       844

Impacted Files
Coverage Δ

packages/preset-default/src/base/borders.ts
100.00% <ø> (ø)

packages/preset-default/src/base/fontSizes.ts
100.00% <ø> (ø)

packages/preset-default/src/base/letterSpacings.ts
100.00% <ø> (ø)

packages/preset-default/src/base/lineHeights.ts
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


make flake stateless

we should encourage this pattern, as it provides the least amount of bloat

Is this pr finished?

Not yet, still needs unit tests. Will notify when approaching closing


How To Add Custom Header Column When We Read Csv ?

i want to add custom header column to my csv something like this
$_csv = \CsvReader::open(storage_path('app/public/attachments/'.$file->file_path));  dd($_csv->setHeader($columns));

Unfortunately there's no such method. Reader allows only to read csv files. If you want to add header you will need to do this on the array returned by readAll method.


[1.0.0] Transactional Email API integration

Currently Mandrill SMTP is preset in configuration, but as long as its free plan quota is greatly reduced silently (from 12,000 emails per month, to non-renewing 2,000 emails), I am going to switch back to Mailgun(or perhaps SendGrid) instead.
In the mean time, I will update the repo with ability to send email through REST API instead of traditional SMTP protocal, which means the sending process should be more responsive.

Added Mailgun PHP library integration in last commit, with configuration to be set from: /application/config/email.php


Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined.

Error:
android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugMainManifest'.

Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

AndroidManifest.xml here:
`<service
            android:name="dev.fluttercommunity.plus.androidalarmmanager.AlarmService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE" />
        <receiver
            android:name="dev.fluttercommunity.plus.androidalarmmanager.AlarmBroadcastReceiver"
            android:exported="false" />
        <receiver
            android:name="dev.fluttercommunity.plus.androidalarmmanager.RebootBroadcastReceiver"
            android:enabled="false"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>
        </receiver>`

Flutter doctor summary here:
[✓] Flutter (Channel master, 2.6.0-12.0.pre.242, on macOS 11.6 20G165 darwin-x64, locale
    en-IN)
    • Flutter version 2.6.0-12.0.pre.242 at /Users/aatikakhan/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cb378edc9e (13 hours ago), 2021-10-07 09:53:03 -0700
    • Engine revision e914da14f1
    • Dart version 2.15.0 (build 2.15.0-178.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/aatikakhan/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.71

• No issues found!

build.gradle(:app) here:
android {
    compileSdkVersion 31

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        applicationId "in.easeyourlife.knightappalt"
        minSdkVersion 21
        targetSdkVersion 31
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

Changing compileSdkVersion and targetSdkVersion to 30 in build.gradle(:app) worked. Not working with 31.

Changing compileSdkVersion and targetSdkVersion to 30 in build.gradle(:app) worked. Not working with 31.

is there any solution for this?

The example uses compileSdkVersion 31 and it builds.

The example uses compileSdkVersion 31 and it builds.

I try with 31 but it doesn't work

Please create a new bug issue with all the required info


Use hybrid npm package

Since the last Node.js version that doesn't support ESM, which is Node.js v10, will reach end-of-life soon, ESM is becoming more and more popular. However, some wild-used frameworks (like Next.js and Jest) don't support ESM very well. We have this kind of CJS/ESM incompatibility issue in our product when using jsx-dom. So I forked jsx-dom and make it to a hybrid npm package that provides both CJS and ESM files.
If you think it's a good idea to make jsx-dom a hybrid npm package, you can merge this PR.
If you think it's better to keep the jsx-dom as an ESM-only package, I'm fine with this. And we will switch back from our fork version to the original version once our framework has better ESM support.

See also: https://github.com/remirror/remirror/issues/918

Closed by #b33e950.


Add CI job to verify all discoverable plugins can be installed successfully on all supported Python versions

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2441
Originally created by @DouweM on 2020-11-10 23:06:15

I believe this is going to be covered by some of the work Pat is doing on the Hub.

Related https://github.com/meltano/internal-data/issues/102


feat: Replaced deprecated DatePicker with @react-native-community solution

DatePickerAndroid has been merged with DatePickerIOS and TimePickerAndroid into a single component called DateTimePicker and will be removed in a future release.

https://reactnative.dev/docs/0.61/datepickerandroid
This PR replacing the deprecated DatePicker with @react-native-community/datetimepicker as recommended in official docs

Travis failed not in case of my changes.
Fixed linter errors in #3251

@hanykumar ping

Ping

Any update about this issue?


Feature/add/firewall policy add idps

Description
Please provide a summary of your changes and the reason the changes are being made.
Adding IDPS to firewall-policy module
Making small changes/cleanup to hub module examples + validation wording
Please select the option that is relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings e.g. code analysis tooling or general use of the changed code

merging


docs: Add admin section back to quick-start demo (Fix #14811)

Makes the config file consistent with the documentation.
Signed-off-by: Sandip Bhattacharya<EMAIL_ADDRESS>
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest

@sandipb if you add "Fix #14811" to the description it should auto close your bug when it is merged

@sandipb if you add "Fix #14811" to the description it should auto close your bug when it is merged

@sandipb if you add "Fix #14811" to the description it should auto close your bug when it is merged

I was not sure which description you meant :) I updated the pull request description. Or do you think the git commit itself should have it in the description?

@sandipb if you add "Fix #14811" to the description it should auto close your bug when it is merged

I was not sure which description you meant :) I updated the pull request description. Or do you think the git commit itself should have it in the description?

either should work - the pr is probs best so it is obvious to reviewers

either should work - the pr is probs best so it is obvious to reviewers

see this section in description:

[Optional Fixes #Issue]

see this section in description:

[Optional Fixes #Issue]

/retest

/retest


.Net: Bug: Unable to resolve dependency 'Azure.AI.OpenAI'.

Describe the bug
I was following this article https://learn.microsoft.com/en-us/semantic-kernel/get-started/quick-start-guide?pivots=programming-language-csharp. I created a console application with .Net Framework 4.8 using Visual Studio.
To Reproduce
Steps to reproduce the behavior:

Go to 'Tools'
Click on 'Nuget Package Manager'
Click on Browse and search for 'SemanticKernel'
Install Microsoft.SemanticKernel to my project and see the error below

Platform

OS: Windows
IDE: Visual Studio
Language: C#
Source: NuGet package version 1.17.1

@hailiang-shen Thanks for reporting this issue, I can reproduce it.
In order to resolve it, please try to install Azure.AI.OpenAI package separately:

Mark Include prerelease checkbox in Nuget Package Manager window.
Search for Azure.AI.OpenAI package.
Install version 1.0.0-beta.17.
When it's installed, try to install Microsoft.SemanticKernel version 1.17.1 again.

Update: Issue is not reproducible with .NET 8, only with .NET Framework 4.8.

Thank you @dmytrostruk, manually installing Azure.AI.OpenAI first worked.


Update members and contacts

This pull request updates some details in the data directory:

Update Pratyush Vempati's class to 8th
Update Naman Dhingra's phone number

@someshkar deploy this please


[GHSA-2v42-xp3j-47m4] Xuxueli xxl-job template injection vulnerability

Updates

Affected products
Description

Comments
Cve vulnerability description error

👋嗨@unam4，您是否有参考链接来支持对描述和 CVSS 的更改？
Yes, I found this loophole and submitted it.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


SAP HANA Version Support

[Enter feedback here]
Currently Support HANA Version is HANA 2.0 Rev55 which is considerably old. When will the backups support latest Rev58?
is there any roadmap page which we can refer to?
Pravin

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0518f91e-08dc-a4d9-d163-7bffb2b0ebf1
Version Independent ID: 4bcce184-740a-bf41-ddad-b7e1589f2e06
Content: SAP HANA Backup support matrix - Azure Backup
Content Source: articles/backup/sap-hana-backup-support-matrix.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

@pravinkpatil Thank you for your post. We will check with the team and get back to you shortly.

@pravinkpatil : We are currently planning to do a sanity test and support Rev 55 by end of Dec, 2021. And just as a principle, major testing is required for major revisions but minor revisions should ideally work as-is.

Closing this issue since the plan is shared.
#please-close


djangochannelsrestframework working with gunicorn

Is your feature request related to a problem? Please describe.
I've a project where i use gunicorn in prod environment. I saw that gunicorn is an application server used only for WSGI mode, so it can't substitute something like Daphne. I've implemented in dev environment the consumers and the websocket connection with them, and all seems to work good using only 'python manage.py runserver' and the configuration found on internet to use daphne and djangochannelsrestframework. I know that daphne was projected to work efficiently with channels library. The problem is that i have to repropose this functionality also in prod env and i have to necessarily  use gunicorn. On the web i read that is possible to run gunicorn and Uvicorn as a worker class in order to manage the asgi functionality. The possible solutions that i think i can implement are one of this two:
1 Make djangochannelsrestframework work with uvicorn
2 Run gunicorn and daphne in certain way similar to the uvicorn working class
So the questions are : is possible to implement at least one of these solutions ? Which would be the best one?
Describe the solution you'd like
I want to run gunicorn server and make work consumers and websocket implemented with daphne
Describe alternatives you've considered
1 Make djangochannelsrestframework work with uvicorn
2 Run gunicorn and daphne in certain way similar to the uvicorn working class

This is a better question for the channels package, the deployment docs are here https://channels.readthedocs.io/en/stable/deploying.html they do mention you can use Uvicorn I myself have never done this in product so cant say for sure how well it will perform.
Most people deploy behind a reverse proxy (like nginx) so they run both the WSGI for Django endpoints and Daphne for channels with engine routing to to the respective local port for each server depending on the request path.

You don't need to use Daphne at all if you want to instead use Uvicorn. Uvicorn has a built in Guincorn-compatible worker class:

https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/uvicorn/#deploying-django-using-uvicorn-and-gunicorn
https://www.uvicorn.org/deployment/#gunicorn

What I like about this is you can run your full stack in ASGI. Uvicorn will run your Django HTTP ASGI endpoints and your websocket endpoints, and Gunicorn can be used to scale and manage the workers.
All of this can still be behind NGINX to handle HTTPS, static files, etc.


Add variant length/end coordinate field

To implement range queries in the same way that htslib does, we need to define what the end coordinate is. The best way to do this is to define an array that we store with this value.
Following the general rule of thumb, we should do whatever htslib does in order to compute this value so that we can guarantee compatibility.
Refs:

Cyvcf2 has an end attribute (which is hopefully what we want)
The VCF spec defines an INFO/END key: section 1.4.1. "For precise variants, END is POS + length of REF allele - 1, and the for imprecise variants the corresponding best estimate"

Figuring out what htslib does will take a little digging, but a reasonable approach would seem to be to use the END value if it exists, and POS + length of REF allele - 1 otherwise?

I agree this is tricky to get right!

Cyvcf2 has an end attribute (which is hopefully what we want)

It's just getting the rlen field from htslib, so it looks OK.
Slightly confusingly, INFO/END is deprecated in VCF 4.5. However, it is still defined as a computed value, so that doesn't really change anything (I think):

The computed value of this field is used to compute BCF’s rlen field (see 6.3.1) and is important when indexing
VCF/BCF files to enable random access and querying by position.

Another thing I wonder: if we store length then we are not making any comment on the coordinate system (open or closed intervals), which might make adding it to the spec easier (and easier to support PLINK and BGEN).


[Rule Sets] 1. Ignore Rules by External Ids

Epic: Rule Sets
Acceptance Criteria

Ignore functionality is based on the external rule id's (currently guidelinesCode field of the SwaggerRule)
Same set of checks are executed per default (as now)

Servers may be running with existing configurations that ignore e.g. the OAuth 2.0 rule referencing the internal id M004. Similarly swagger documents might be out there with a x-zally-ignore: [M004] declaration. Are we comfortable breaking these configurations as we transition to using the external id of 104 instead?
(we've discussed elsewhere that there are currently limited Zally servers in production making breakages more acceptable - I can confirm that we've not yet made heavy use of x-zally-ignore so a breakage would have very low impact for us in this case)

Servers may be running with existing configurations that ignore e.g. the OAuth 2.0 rule referencing the internal id M004. Similarly swagger documents might be out there with a x-zally-ignore: [M004] declaration. Are we comfortable breaking these configurations as we transition to using the external id of 104 instead?

Yes. There is no heavy use of x-zally-ignore extension @ Zalando too.


Switch StatsD constructors from package-private to public

Both versions of StatsDReporter accept a StatsD object during
construction, but the StatsD object itself cannot currently be created
outside of com.readytalk.metrics.
This is especially a problem in metrics2-statsd's StatsDReporter,
where the longer constructors require passing a StatsD object.

The list of constructors for the implementations of StatsDReporter are kind of confusing - the ones that take StatsD as a paramter are really only meant for tests. We're not expecting consumers of the library to construct a StatsD object themselves, hence the fact that it is package-private. Sorry this isn't documented really well.
I would stick with the constructor (for metrics2) or the factory method (for metrics3) as detailed in the README.


docs: minor markdown formatting changes

PR makes the link to https://github.com/yahoo/athenz/tree/master/examples/go/centralized-use-case/server be actual HTML link (rather than just piece of text) and couple of other minor editorial changes ("thru" -> "through", cd in backticks).  A number of whitespace changes (truncations) as "collateral damage".

👍