Popup is showing bottom of the screen with latest version

my popup is showing bottom of the screen, not sure why. can someone tell me how to show it on icon. I am using custom icon. popup should show on top of icon
my code is as below:
import { useMemo, useState } from "react";
import {
  AzureMap,
  AzureMapDataSourceProvider,
  AzureMapFeature,
  AzureMapLayerProvider,
  AzureMapsProvider,
  AuthenticationType,
  AzureMapPopup,
  IAzureMapImageSprite,
} from "react-azure-maps";
import { key } from '../key';
import { citiesData } from "./data";

const renderPoint = (data: any) => {
  return (
    <AzureMapFeature
      key={data.cityName}
      id={data.cityName}
      type="Point"
      // coordinate={data}
      coordinate={[data.lon, data.lat]}
      properties={{
        id: data.cityName,
        popUpProp: data,
      }}
    />
  );
};
const iconUrl = require("../../../assets/images/short-logo.png");

const spaceshipImageSprites: IAzureMapImageSprite = {
  id: "spaceship",
  color: "DarkOrchid",
  secondaryColor: "DarkOrchid",
  icon: iconUrl,
  scale: 0.1,
};
export const ReportMap = () => {
  const [mapData, setMapData] = useState([...citiesData]);
  // const [mapData, setMapData] = useState([...points]);
  const [popupOptions, setPopupOptions] = useState<any>({
    position: [73.80615234375125, 18.854310361887883],
    showPointer: true,
    content: "
count: 20
",
    closeButton: true,
    draggable: false,
  });

  const [isVisible, setIsVisible] = useState(false);

  const option = useMemo(() => {
    return {
      authOptions: {
        authType: AuthenticationType.subscriptionKey,
        subscriptionKey: key,
      },
      center: [78.4378, 17.3724],
      zoom: 3,
      view: "Auto",
      showFeedbackLink: false,
      showLogo: false,
      showLabels: true,
      showBuildingModels: false,
      autoResize: false,
      renderWorldCopies: false,
      showAttribution: false,
    };
  }, []);

  const memoizedMarkerRender = useMemo(
    () => mapData.map((el) => renderPoint(el)),
    [mapData]
  );

  const memoizedMapPopup = useMemo(
    () => (
      <AzureMapPopup
        isVisible={isVisible}
        options={popupOptions}
        events={[
          {
            eventName: "close",
            callback: async () => {
              console.log("clsoed");
              setIsVisible(false);
            },
          },
        ]}
        popupContent={count: 20}
      />
    ),
    [isVisible, popupOptions]
  );
  return (
    <>
      <AzureMapsProvider>

          <AzureMap imageSprites={[spaceshipImageSprites]} options={option}>
            {memoizedMapPopup}
            <AzureMapDataSourceProvider
              id={"MultiplePoint AzureMapDataSourceProvider"}
            >
              <AzureMapLayerProvider
                id={"MultiplePoint AzureMapLayerProvider"}
                options={{
                  iconOptions: {
                    size: 0.5,
                    image: "spaceship",
                    allowOverlap: true, //For smoother animation, allow symbol to overlap all other symbols on the map.
                    ignorePlacement: true, //For smoother animation, ignore the placement of the icon. This skips the label collision calculations and allows the icon to overlap map labels.
                  },
                }}
                events={{
                  click: (e: any) => {
                    setIsVisible(false);
                    if (e.shapes && e.shapes.length > 0) {
                      // Set popup options
                      setPopupOptions({
                        position: e.position,
                        showPointer: true,
                        content: "
count: 20
",
                        closeButton: true,
                        draggable: false,
                      });
                      setIsVisible(true);
                    }
                  },
                }}
                type="SymbolLayer"
              />
              {memoizedMarkerRender}
            </AzureMapDataSourceProvider>
          </AzureMap>

      </AzureMapsProvider>
    </>
  );
};

Same code with older version working properly and showing popup at proper place.

e.position could be inaccurate based on your current zoom level. Instead of relying on it for the popup's position, it's better to use position: e.shapes[0].getCoordinates() for a more precise longitude and latitude.
// Set popup options
setPopupOptions({
-  position: e.position,
+ position: e.shapes[0].getCoordinates(),
  showPointer: true,
   content: "
count: 20
",
   closeButton: true,
  draggable: false,
});

@yulinscottkang I tried this way as well but it is showing at bottom of the screen. But one thing is same code is working properly with old version. @yulinscottkang Also can you suggest how I can animate the icon on specific condition.

@ashishkabuni, have you included azure-maps-control/dist/atlas.min.css in your project as described in the MIGRATION.md? Can you provide a screenshot of how it looks now?
To animate an icon, you can try calling requestAnimationFrame() to force update the map after you updated the position of the icon. See this example for reference: https://samples.azuremaps.com/animations/simple-symbol-animation

@yulinscottkang Thanks for popup it is working azure-maps-control/dist/atlas.min.css after add this. For animation I will check it out.


RD2: Close Elevate Recurring Donation by non-Elevate user

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

Attached to W-8251879

QE testing is complete for this PR and subsequent WI.
For further testing details, see:
https://salesforce.quip.com/hvStAQPEA3As#YGIACA2lWyX
Proceeding with PR merge.


Trouble building cargo: insists on download

Hi,
I've compiled and installed Rust from the 1.3.0 source on my machine, so I have a stable rustc on /usr/local/bin/rustc.
https://github.com/rust-lang/cargo states, rust would come with cargo by default, but actually it didn't. I therefore took a git checkout as described on the same web page, and proceeded as given on the web page.
When doing the
python -B src/etc/install-deps.py
step, it tried to download a huge file with precompiled binaries from the web.
How can I avoid this? Why doesn't it just use the fresh and locally installed rustc? And why does it require a nightly build? How would I get that cargo that belongs to the 1.3.0 stable version of rust?
regards

Thanks for the report! To use a local rustc, however, you can pass the --local-rust-root option which should allow you to use the local rustc to build Cargo.


treewide: simplify pkgs.stdenv.lib -> pkgs.lib

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/108834
I chose the special pkgs.stdenv.lib case, because there should be no issues with lib not being in scope.

As this is a no rebuild I am going to merge it before it gets a merge conflict.

As this is a no rebuild I am going to merge it before it gets a merge conflict.

@xaverdh see also https://github.com/NixOS/nixpkgs/pull/108978 and the tracking issue in https://github.com/NixOS/nixpkgs/issues/108938

@xaverdh see also https://github.com/NixOS/nixpkgs/pull/108978 and the tracking issue in https://github.com/NixOS/nixpkgs/issues/108938


allow cheffish14, since it does not break us

Since chef14 can be used safely, allow it

This can be closed since https://github.com/chef/chef-provisioning/pull/611 bumped cheffish.


UKVIC-170: New Logic for whitelisting visited steps

Changes

check-progress.js changed to add new logic for calculating steps already visited in the service.

Why?

This is to prevent already visited steps from being invalidated and information lost on the confirmation page.

Other Information

All current unit tests for forks in HOF pass.
New logic has been manually tested on all services
New acceptance test written for GRO and NRM to check journeys.
New acceptance tests written for UKVIC to replicate the initial bug of data being lost by incorrectly invalidated pages, all tests now pass.

Failing Tag checks


using it directly on react native

hi
sorry it a dumb question
there is any way to run this directly on react native ?

Hello,
I can't give you any info about that since I never wrote React Native code.


Add PurgeCSS comments to Tailwind

Adds the comments to Tailwind per #1551.

I can’t see a reason why we shouldn’t do this.

In most projects I don't need components, so would be nice of those still get purged.

Hey thanks for this! I decided to go with a more heavy-handed approach and bake PurgeCSS right into Tailwind itself: #1639
Cheers ✌


Feat: Two Sum Problem: Leetcode 1

Hi, this is my PR for Two Sum problem.

@pradyyadav
Your PR has been successfully merged Thank you so much for your valuable contribution. Do give a star to the repo if it helped you and check other repo too for more contributions. Keep hacking


Fix setsockopt example in OSSockOpt docs

The example mentions the @pony_os_setsockopt function, which was
originally added in PR #2513, but eventually removed before the PR got
merged.

Also, don't know why [skip ci] didn't work here.

Skip ci doesnt work on CirrusCI... it is still in the documentation somewhere to use it?

It should work according to the docs: https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution (see the "Skip CI Completely" part). Apparently for single-commit PRs, it title of the PR should also contain "[skip ci]" for that to work.

I'm not particularly worried about it.


Failed to add event

I have 3 Hornet nodes.  The entry of the events worked for two nodes.  This error appears at the 3rd node.  All nodes are configured the same and installed via apt.

Please see what happens in the Browser Javascript console

Ok, it is an issue with your reverse proxy setup. You are exposing both the dashboard and the API over the same port (443).
So the problem is, that your API is JWT protected but exposing the same endpoints the dashboard is proxying to access the plugin API.

I would recommend exposing the API and the Dashboard using 2 different URLs, or even just different subdomains (e.g. api-iota-node.trave-tangle.de and dashboard-iota-node.trave-tangle.de)

Hmmm, can I remove JWT?

Hmmm, can I remove JWT?

then anyone can remove the events from your node ;-)

I also turned on JWT stupidly.  Can I really not turn it off again on the VPS? 😩

It's always on now, it's just about public routes and protected routes.
You should not mess around with this, otherwise anyone can break your node.

OK.  I wonder why I didn't have the same problem on my other two nodes.  Then I leave it that way.


Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
A: Answering questions and working on deeplearning code.
What did you learn from the changes you have made?
A: A lot about adjusting epochs, evaluating model with val_training and val_tests.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
A: no.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
A: A lot of them, specially using my local machine without a GPU. Takes too much time for training.
How were these changes tested?
A: Using local machine, coding and jupyter notebook.
A reference to a related issue in your repository (if applicable)
A: n/a
Checklist

[X] I can confirm that my changes are working as intended

A1: Incomplete (but almost complete). For Task 3c, could you answer the "Briefly discuss the results" question? Also, I'd encourage you to think about why the changes you applied to enhance the model resulted in the low accuracy demonstrated (not required for "complete").

Thanks for your feedback @jarlathbr. Updated the notebook with the required answer.


(MultiNetwork) Template

As a first step to this project, we build a template for subgraph.yaml configuration of the subgraphs for both networks.
We introduce only minimal (hollow event handlers) and and include the general structure of the project. Namely

non circulating supply list (on each network)
Schema entities Holders and Supply

I would like to create a singular "Supply" as there will only ever be one record here.

We won't do multi network subgraph management until later. Closing this for now.


Add mute button

There was no way to mute a call that was happening with the Dev Phone which made trying applications harder that required proxying between two phones. This change adds a mute button that shows up when the call is in progress.
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

LGTM 👌 Thank you!


Heroku compatibility

It's a bad practice to store keys in source control and Heroku typically recommends (via the 12factor guidelines) to store them and other application configuration in environment variables. I modified the config.py to contain the following as a result:
import os
config = {
   "token": os.environ.get('TOKEN'),

yes, they probably should be in env vars; PR welcome.
(Although I prefer config files myself!)

derr I will figure this git thing out one day. For now, check it out here. Super simple:
https://github.com/dguido/slask/compare/llimllib:master...master

All config is now done via environment variables in 946ec65343d97f1d3147aea9baa1b5a33562a377

Thanks!


redux-form

The FormConfig type doesn't allow settings to be passed from props.
I do this all the time say if the list of fields is dynamic I'll have a container that is connected to redux which creates the array of fields and passes it to the redux-form wrapped component.
See http://redux-form.com/5.2.4/#/api/reduxForm?_k=do3dix

Hey!
Hey, for me it sounds like your wrapper component / container passing down the fields is too loosely typed... how would the props definition of that container look like?

I'll set you up a sample project when I get a chance.
Cheers
On 28 May 2016 at 11:05, Patrick Stapfer<EMAIL_ADDRESS>wrote:

Hey!
Hey, for me it sounds like your wrapper component / container passing down
the fields is too loosely typed... how would the props definition of that
container look like?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flowtype/flow-typed/issues/121#issuecomment-222281790,
or mute the thread
https://github.com/notifications/unsubscribe/ACA_f89TKViK3vKNYZLIg8pW8UTXWhYcks5qF5S9gaJpZM4InGpe
.

Here is an example
https://github.com/kristian-puccio/form-flow
index.js:28
 28: reduxForm({})(FormPage);
     ^^^^^^^^^^^^^ function call
 63:   declare function reduxForm(config: FormConfig, mapStateToProps?: Function, mapDispatchToProps?: Function, mergeProps?: any, options?: Object): (component: React.Component) => React.Component;
                                          ^^^^^^^^^^ Library type error:. See lib: flow-typed/redux-form.js:63
 63:   declare function reduxForm(config: FormConfig, mapStateToProps?: Function, mapDispatchToProps?: Function, mergeProps?: any, options?: Object): (component: React.Component) => React.Component;
                                          ^^^^^^^^^^ property `form`. Property not found in. See lib: flow-typed/redux-form.js:63
 28: reduxForm({})(FormPage);
               ^^ object literal

ugg just a sec!

Cool! Thanks for the sample and sorry for the late reply...
I will check that out as soon as I have some time :-)

I've started using redux-form v6 and here is my flow config for it: https://gist.github.com/kristian-puccio/65d32833306ba8b697b1b3db041aeb44
I'll make a pull request and add tests when I'm not quite so under the pump.

Nice! Please do send the pull request when you get a chance :)
Going to mark this issue as a libdef request for now until we get the libdef updated (so that others can find it if they hit the same issue)

Looks like there is a lot of work going on for a typescript def at the
moment.
I'll look at adding the missing bits from that
On 13 July 2016 at 00:20, Jeff Morrison<EMAIL_ADDRESS>wrote:

Nice! Please do send the pull request when you get a chance :)
Going to mark this issue as a libdef request for now until we get the
libdef updated (so that others can find it if they hit the same issue)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flowtype/flow-typed/issues/121#issuecomment-232062378,
or mute the thread
https://github.com/notifications/unsubscribe/ACA_fwdL_-VAXBfvNbkH85G5paWQP904ks5qU6LAgaJpZM4InGpe
.

Here's an updated def which includes a props safe Field component: https://gist.github.com/aaronjensen/54643af48aedb2f7eba424d9434ca99f

@aaronjensen could you please provide it a pr for v6 version?

@stunaz it's not complete and I don't have the time to complete it just yet. I'll open a pr when I get a chance.

@aaronjensen great job with the initial libdef, just a question. How do you declare props on components passed to the component prop of fields?

@jacobk thanks! I'm not sure what you mean, I don't do anything special, I just declare the props normally.

Actually, maybe you mean this:
import type { FieldInputProps } from 'redux-form'

export type Props = {
  filter?: InputFilter,
  disabled?: boolean,
  id: string,
  label?: string,
  placeholder?: ?string,
  tag?: string,
  type?: InputType,
  onFieldBlur?: (e: Event) => void,
  onKeyDown?: (e: KeyboardEvent) => void,
} & FieldInputProps

@aaronjensen Thanks, that's exactly what I mean. I was confusing myself trying to use FieldProps
 which became pretty weird ;)

I'm hoping someone here can help me with understanding how to properly type this. This is just a dumbed down example, in an effort to properly type a wrapped component when passed to the Field HoC.
// @flow

import React from 'react';
import { Field } from 'redux-form';
import type { FieldInputProps } from 'redux-form';

type TestComponentProps = {
    someValue: string
} & FieldInputProps;

const TestComponent = ({ input: { onChange, value }, meta: { error }, someValue }: TestComponentProps): React.Element<*> => (

{someValue}

);

type FieldWrapperProps = {
    name: string
};

const FieldWrapper = ({ name, ...props }: FieldWrapperProps): React.Element<*> => (
    <Field name={name} component={TestComponent} {...props} />
);

I receive the following error:
56:     <Field name={name} component={TestComponent} {...props} />
                                       ^^^^^^^^^^^^^ arrow function. This type is incompatible with
 44:     component: ClassComponent<void, P, void> | FunctionComponent
 | string
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ union: type application of polymorphic type: type `ClassComponent` | type application of polymorphic type: type `FunctionComponent` | string.

This is only a problem when intersecting FieldInputProps and TestComponentProps - for example, this works without error:
const TestComponent = ({ input: { onChange, value }, meta: { error } }: FieldInputProps): React.Element<*> => (

);

type FieldWrapperProps = {
    name: string
};

const FieldWrapper = ({ name, ...props }: FieldWrapperProps): React.Element<*> => (
    <Field name={name} component={TestComponent} {...props} />
);


Zooz ZSE40 - add parameters

ZSE40 700 (released 3/2022)
Firmware: 1.10
Firmware version changed to 1.10 to follow new naming convention for device firmware files
Added parameters 9 and 10 for temperature and humidity offset settings
Basic Set Reports
Parameter 8: Disable Basic Set reports sent to the hub when motion is detected to reduce Z-Wave activity from the sensor.
Values:
0 – Basic Set reports disabled.
1 – Basic Set reports enabled (default).
Size: 1 byte dec
Temperature Offset
Parameter 9: Set the reporting offset on your temperature sensor.
Values: 0 - 200 (degrees Fahrenheit, where value 0 equals -10 degrees, value 100 equals 0 degrees, and value 200 equals +10 degrees).
Default: 100.
Size: 1 byte dec
Humidity Offset
Parameter 10: Set the reporting offset on your humidity sensor.
Values: 0 - 200 (%, where value 0 equals -10%, value 100 equals 0%, and value 200 equals +10%). Default: 0.
Default: 100.
Size: 1 byte dec

https://github.com/zwave-js/node-zwave-js/pull/5330

Let's keep this open until the PR is merged


chore(audit-log): change package to public

Description
Update the audit log common package to public so that it can be published.

/approve
/lgtm


Use fetch, instead xhr request

Nice library!
It would be in keeping with the theme of the library to use fetch instead of xhr request - https://github.com/LeaVerou/bliss/blob/gh-pages/bliss.js#L263
You may want to just tell people to use fetch and not expose your own fetch object or wrap it  and optionally return something more similiar to fetch (e.g. one annoyance I find is needing a 2nd promise on the result instead of just getting the contents and automatically JSON.parse if the content type is json).
Spec: https://fetch.spec.whatwg.org/
Polyfill: https://github.com/github/fetch

Hi, Lea already answered this one: https://github.com/LeaVerou/bliss/issues/31 (first response).

ok

FWIW, you don't need to JSON.parse() if you use responseType: 'json'. And that's just native XHR functionality :)

w.r.t. json parse I meant the fetch standard e.g. https://github.com/github/fetch#json
Ok you don't have to call json.Parse, you can use the json helper method, but it is not done automatically if the response type is 'json'


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit cbeb8e4:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-07-08-53-01 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-07-08-53-01

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Qur786/#9 migrate density data

Migrated first batch of Density Data

Looks good 👍

@qur786 Why is Thermal conductivity data been added to this PR?

I mistakenly added the remote branch of 'thermal conductivity' with my local density data . I will try to remove this pull request and do the new pull request for density data

@qur786  sync with master resolve merge conflicts and create a new PR.

So much conflict


[Script]: Car Tracking using YOLO and OpenCV

Aim
car tracking in videos using the YOLO (You Only Look Once) object detection model and the OpenCV library.
Details
The YOLO model is used to detect cars in each frame of a video stream, and bounding boxes are drawn around the detected cars to track their movement.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


GitHub action uses checkstyle to replace plugins for code style checking during CI

Benefits:

More standardized
Less dependencies

not needed now.


add android build, enables splash screen customization

See also https://stackoverflow.com/questions/43879103/adding-a-splash-screen-to-flutter-apps
This might be a nice place to add the logo :-)

I've updated the branch to reflect the latest insights.


Adjust example configs to match attribute types.

This PR fixes the default values in our config for response_code
and request_latency.value.

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed


Chinese text

how to support the chinese?

The pickers will show chinese text if the device locale is set to chinese


Remote extension

when i open vs code, it always show,"remote extension host terminated unexpectedly 3 times within the last 5 minutes."
Version: 1.72.3
Commit: f69482e92e41b84fb15688f3c0d0a1eca1d5bce3
User Agent: Mozilla/5.0 (X11; CrOS x86_64 15054.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces
Extension version: 0.1.0

I'm not sure if this is a GitDoc bug? I can't repro this issue, and there's quite a lot of folks using this extension every day. So if it was consistently crashing the VS Code extension host process, I'd imagine we'd have other reports.

I'm going to close this for now as "no repro". But please re-open it again if you're seeing this issue, and can narrow it down to GitDoc. Thanks!


Just writing something with blur understanding

Hey, i dont know what to write. I just need to write something so the system can accept what i should do in the processes so i can pass the tutorial of this github.

Hey, i think you just need to drink that delicious coffee mocha, and the things will starts running according to your wishes.


fix: Log error instead of panicking in rust-dlc upon subchannel force-closure attempt

We've run into unimplemented! block in rust-dlc in our regtest setup.
In order to unblock the regtest environment, this quickfix logs an error and
continues instead of panicking.
See: https://github.com/p2pderivatives/rust-dlc/pull/151

I'm merging this as the quickfix got approved by Tibo.


Split schema

Description of changes
Please provide a short description of the change or if the change is sufficiently described in the GitHub issue, provide a link to the issue.
How has this been tested?
Please describe the test strategy you followed.

[ ] automated unit test
[ ] automated integration test
[ ] automated acceptance test
[ ] manual, exploratory test

In case of manual test, please document the test well including a set of user instructions and prerequisites. Each including an action, it's result, and where appropriate a screenshot.
In case of automated tests, the test coverage should be reasonably high, especially on Service classes and other classes with complex logic.
Checklist before requesting a review

[ ] My code follows the coding guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My code fulfills all acceptance criteria
[ ] 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
[ ] The test coverage (line and branch) is reasonably high, especially on Service classes and other classes with complex logic
[ ] I have made corresponding changes to the documentation
[ ] I have added explanation of architectural decision and rationales to wiki/adr
[ ] I have updated the changes in the ticket description

Checklist for reviewer

[ ] The code works and does not throw errors
[ ] The code is easy to understand and there are no confusing parts
[ ] The code follows the coding guidelines of this project
[ ] The code change accomplishes what it is supposed to do
[ ] I cannot think of any use case in which the code does not behave as intended
[ ] The added and existing tests reasonably cover the code change
[ ] I cannot think of any test cases, input or edge cases that should be tested in addition
[ ] Description of the change is included in the documentation

Tests laufen nicht durch, weil die aktuelle Test Konfiguration anscheinend nicht mit H2 klarkommt. Wenn wir wissen, ob PostGre oder H2, kann man das angehen.  DIe Queries würde ich dann erst im Detail testen, wenn filter implementiert sind. Die Mutations könnte man an der ein oder anderen Stelle genauer testen I guess


v2.0.0 tag missing

While the v2 tag exists, for repositories using the action pinned by SHA, the lack of a v2.0.0 tag means that Dependabot does not see a new version as available for use (compared to when using the v1 tag, which it does).
A v2.0.0 tag that points to the same SHA as v2 currently points to should be created.

Hi @martincostello, thanks for your suggestion! I've created a v2.0.0 tag. Feel free to reopen the issue if you have any further questions.


onBeforeMask does not seem to work

Hi.
I have a simple input box and I am using "999-999999-9" as a mask. However, I want to change the input that I type in the box before validating it (for example change 1s to 0s). I used 'onBeforeMask' but it never seems to execute the function (i never see the "before: " output in my console log) when I type something it. It only works when I paste something in the box.
$("#input").inputmask({
        mask: "999-999999-9",
        onBeforeMask: function (value, opts) {
            console.log("before: ", value);
            return value;
        }});

I would appreciate it if anyone could help me.
EDIT: I was able to work around my issue by using onBeforeWrite instead of onBeforeMask, but the question stands. Why doesn't onBeforeMask work?
Thanks,
Alireza

Hi @nadirkhanlou ,
You can read about the onbeforemask option here https://github.com/RobinHerbots/Inputmask#onbeforemask
That option only works for pasting and initial values.
An alternative solution could be the casing option.  The use is straightforward, but I admit finding this option for this case isn't ;-)
Inputmask({
			mask: "999-999999-9",
			casing: function (elem) {
				if(elem == "1") return "0";
				return elem;
			}}).mask("test3");


Cluster Info is called repeatedly for a Ring client

I have a go-redis ring client that is successfully making calls to Redislabs. Dashboards and debug logging shows my client is calling CLUSTER INFO roughly 2k times per second, which is hurting connection pooling and ultimately latency. Our redislabs instance returns (error) ERR This instance has cluster support disabled, so I assume whatever is calling it is retrying on error. Why would a ring client be calling CLUSTER INFO at all, much less so frequently?
This is the line calling CLUSTER INFO
And reloadState() appears to be calling Random()
I'm hoping I'm missing something simple like a misconfiguration. Most of the ring options (besides Addrs pointed at a single Redislabs endpoint, timeouts, and pool size) are not set and left on default values.

Looks like you want to use redis.NewRing, but actually using redis.NewCluster. (error) ERR This instance has cluster support disabled says that you are using cluster client, but Redis does not have cluster support.

In case people encounter the same issue, my issue was caused by my client first instantiating a clustered client, checking if a ping succeeded, and if not, falling back to creating a ring client. After a clustered client ping error, adding a clusterClient.Close() forces any pending resources to be freed, stopping the CLUSTER INFO calls.


Allow passing corelib to collect_tests

why do you need this change, if as far as I see, all that you need is already present in ProjectConfig struct?

RootDatabaseBuilder either allows using detect_corelib or passing a whole ProjectConfig with all the paths, etc. We only want to configure the corelib in collect_tests but want to do it manually instead of detecting it.
This PR allows setting the corelib without all the config passing behavior.


I can't click anywhere after using alert dialog.

I wanted to implement alert-dialog into my dropdown menu but after I click to buttons I can't click anymore I had to refresh site.
code:
"use client"

import { ColumnDef } from "@tanstack/react-table"
import { ArrowUpDown, Eye, EyeOff, MoreHorizontal } from "lucide-react"

import { Button } from "@/components/ui/button"
import { Checkbox } from "@/components/ui/checkbox"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"

import {
    AlertDialog,
    AlertDialogAction,
    AlertDialogCancel,
    AlertDialogContent,
    AlertDialogDescription,
    AlertDialogFooter,
    AlertDialogHeader,
    AlertDialogTitle,
    AlertDialogTrigger,
  } from "@/components/ui/alert-dialog"

import { useRouter, useSearchParams } from "next/navigation"
import { useState } from "react"

export type Category = {
  id: string
  name: string
  products: number
  visibility: "public" | "private"
}

export const columns: ColumnDef<Category>[] = [

  {
    id: "select",
    header: ({ table }) => (
      <Checkbox
        checked={table.getIsAllPageRowsSelected()}
        onCheckedChange={(value:any) => table.toggleAllPageRowsSelected(!!value)}
        aria-label="Select all"
      />
    ),
    cell: ({ row }) => (
      <Checkbox
        checked={row.getIsSelected()}
        onCheckedChange={(value:any) => row.toggleSelected(!!value)}
        aria-label="Select row"
      />
    ),
    enableSorting: false,
    enableHiding: false,
  },
  {
    accessorKey: "name",
    header: "Kategori",
    cell: ({ row }) =>
{row.getValue("name")}
,
  },
  {
    accessorKey: "products",
    header: "Ürün Sayısı",
    cell: ({ row }) =>
{row.getValue("products")}
,
  },
  {
    accessorKey: "visibility",
    header: "Görünürlük",
    cell: ({ row }) => (

        {row.getValue("visibility") === "public" ?
          <><Eye className="mr-2 inline flex-1 text-sm text-muted-foreground" size={20}/>Herkese açık</> :
          <><EyeOff className="mr-2 inline flex-1 text-sm text-muted-foreground" size={20}/>Gizli</>
        }

    ),
  },
  {
    id: "actions",
    enableHiding: false,
    cell: ({ row }) => {
      const category = row.original
      // eslint-disable-next-line react-hooks/rules-of-hooks
      const router = useRouter()
      const handleDelete = () => {
        // Perform delete action here
        // For example:
        // deleteCategory(category.id)
        // .then(() => router.push('/categories'))
      }
      // eslint-disable-next-line react-hooks/rules-of-hooks
      const [isAlertDialogOpen, setAlertDialogOpen] = useState(false)

      return (
        <>
            <DropdownMenu>
          <DropdownMenuTrigger asChild>
            <Button variant="ghost" className="h-8 w-8 p-0">
              Open menu
              <MoreHorizontal className="h-4 w-4" />
            </Button>
          </DropdownMenuTrigger>
          <DropdownMenuContent align="end">
            <DropdownMenuLabel>Eylemler</DropdownMenuLabel>
            <DropdownMenuSeparator />

            <DropdownMenuItem onClick={() => setAlertDialogOpen(true)}>Kategoriyi Sil</DropdownMenuItem>

            <DropdownMenuItem onClick={() => router.push(`/categories/edit/${category.id}`)}>Katogori Görünürlük</DropdownMenuItem>

            <DropdownMenuSeparator />
            <DropdownMenuItem onClick={() => router.push(`/categories/edit/${category.id}`)}>Kategoriyi Düzenle</DropdownMenuItem>
          </DropdownMenuContent>
        </DropdownMenu>

        <AlertDialog open={isAlertDialogOpen} onOpenChange={setAlertDialogOpen}>
        <AlertDialogContent>
          <AlertDialogHeader>
            <AlertDialogTitle>Emin misiniz?</AlertDialogTitle>
            <AlertDialogDescription>
              Bu eylem geri alınamaz. Bu eylem kategoriyi kalıcı olarak silecek.
            </AlertDialogDescription>
          </AlertDialogHeader>
          <AlertDialogFooter>
          <AlertDialogCancel onClick={() => setAlertDialogOpen(false)}>İptal</AlertDialogCancel>
            <AlertDialogAction>Devam et</AlertDialogAction>
          </AlertDialogFooter>
        </AlertDialogContent>

        </AlertDialog>
        </>
      )

    },
  },

]

Me too I have the same issue.
I took the implementation from taxonomy but after i close the alert-dialog all events are disabled exept for text selection :)

Hi @wCatly, did you try this?
"To activate the Dialog component from within a Context Menu or Dropdown Menu, you must encase the Context Menu or Dropdown Menu component in the Dialog component. For more information, refer to the linked issue here."
From the documentation here: https://ui.shadcn.com/docs/components/dialog

Get in the same trouble. I take an example from the taxonomy still not working.

Hi @samjowen  thx for the response.
Popover worked but Menu still have the same issue
Popover:
`
    <Dialog open={showDeleteAlert} onOpenChange={setShowDeleteAlert}>
        <Popover open={open} onOpenChange={setOpen}>
            <PopoverTrigger className="flex h-8 w-8 items-center justify-center rounded-md border transition-colors hover:bg-muted">
                <Icons.ellipsis className="h-4 w-4" />
                Open
            </PopoverTrigger>

            <PopoverContent className="w-[200px] p-0">
                <Button
                    className="flex cursor-pointer items-center text-destructive focus:text-destructive"
                    onClick={() => setShowDeleteAlert(true)}
                >
                    Delete
                </Button>
            </PopoverContent>
        </Popover>

        <DialogContent>
            <DialogHeader>
                <DialogTitle>
                    Are you sure you want to delete this post?
                </DialogTitle>
                <DialogDescription>
                    This action cannot be undone.
                </DialogDescription>
            </DialogHeader>
            <DialogFooter>
                <DialogTrigger>Cancel</DialogTrigger>
                <DialogTrigger
                    onClick={async (event) => {
                        event.preventDefault();
                        setIsDeleteLoading(true);

                        // const deleted = await deletePost(post.id)

                        // if (deleted) {
                        setIsDeleteLoading(false);
                        setShowDeleteAlert(false);
                        router.refresh();
                        // }
                    }}
                    className="bg-red-600 focus:ring-red-600"
                >
                    {isDeleteLoading ? (
                        <Icons.spinner className="mr-2 h-4 w-4 animate-spin" />
                    ) : (
                        <Icons.trash className="mr-2 h-4 w-4" />
                    )}
                    Delete
                </DialogTrigger>
            </DialogFooter>
        </DialogContent>
    </Dialog>

`
Menu:
`
 <Dialog open={showDeleteAlert} onOpenChange={setShowDeleteAlert}>
        <DropdownMenu>
            <DropdownMenuTrigger>
                <Icons.ellipsis className="h-4 w-4" />
                Open
            </DropdownMenuTrigger>
            <DropdownMenuContent align="end">
                <DropdownMenuItem>
                    <Link
                        href={`/editor/${product.id}`}
                        className="flex w-full"
                    >
                        Edit
                    </Link>
                </DropdownMenuItem>
                <DropdownMenuSeparator />
                <DropdownMenuItem
                    className="flex cursor-pointer items-center text-destructive focus:text-destructive"
                    onSelect={() => setShowDeleteAlert(true)}
                >
                    Delete
                </DropdownMenuItem>
            </DropdownMenuContent>
        </DropdownMenu>

        <DialogContent>
            <DialogHeader>
                <DialogTitle>
                    Are you sure you want to delete this post?
                </DialogTitle>
                <DialogDescription>
                    This action cannot be undone.
                </DialogDescription>
            </DialogHeader>
            <DialogFooter>
                <DialogTrigger>Cancel</DialogTrigger>
                <DialogTrigger
                    onClick={async (event) => {
                        event.preventDefault();
                        setIsDeleteLoading(true);

                        // const deleted = await deletePost(post.id)

                        // if (deleted) {
                        setIsDeleteLoading(false);
                        setShowDeleteAlert(false);
                        router.refresh();
                        // }
                    }}
                    className="bg-red-600 focus:ring-red-600"
                >
                    {isDeleteLoading ? (
                        <Icons.spinner className="mr-2 h-4 w-4 animate-spin" />
                    ) : (
                        <Icons.trash className="mr-2 h-4 w-4" />
                    )}
                    Delete
                </DialogTrigger>
            </DialogFooter>
        </DialogContent>
    </Dialog>

`

'use client'
import { DropdownMenuTrigger } from '@radix-ui/react-dropdown-menu'
import { SlidersHorizontal } from 'lucide-react'
import { Button } from '@/components/ui/button'
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuItem,
} from '@/components/ui/dropdown-menu'
import { Dialog, DialogTrigger } from '@/components/ui/dialog'
import { AddGroupDialogContent } from '../../forms/components/add-group-dialog-content'
import { Sheet, SheetTrigger } from '@/components/ui/sheet'
import { AddItemSheetContent } from '../../forms/components/add-item-sheet-content'
import { EstimateType } from '@prisma/client'
import React from 'react'

export function AddItemsDropdown() {
  const [openSheet, setOpenSheet] = React.useState<boolean>(false)
  const [itemType, setItemType] = React.useState<EstimateType>('MATERIAL')
  return (

      <Dialog>
        <DropdownMenu>
          <DropdownMenuTrigger asChild>
            <Button variant='outline' size='sm' className='ml-auto hidden h-8 lg:flex'>
              <SlidersHorizontal className='mr-2 h-4 w-4' />
              Add Items
            </Button>
          </DropdownMenuTrigger>
          <DropdownMenuContent align='end' className='w-[150px]'>
            <DropdownMenuLabel>Add Items</DropdownMenuLabel>
            <DialogTrigger className='w-full'>
              <DropdownMenuItem>{'Add Group'}</DropdownMenuItem>
            </DialogTrigger>
            <DropdownMenuItem
              onSelect={() => {
                setOpenSheet(true)
                document.body.style.pointerEvents = ""
              }}
            >
              {'Add Material'}
            </DropdownMenuItem>
            <DropdownMenuSeparator />
          </DropdownMenuContent>
        </DropdownMenu>
        <AddGroupDialogContent />
      </Dialog>
      <Sheet open={openSheet} onOpenChange={setOpenSheet}>
        <SheetTrigger>
          <Button>{'Open'}</Button>
        </SheetTrigger>
        <AddItemSheetContent type={itemType} />
      </Sheet>

  )
}

In my case it appears that when i open my sheet within a DropdownMenuItem and closing the sheet afterwards the pointer event on the body remains none my fix was using document.body.style.pointerEvents = ""

To add to prev answer: the consistent way is to modify the DialogPrimitive.Close component. You have to do the setTimeout. It's not great, hoping we clean this up in a separate fix but I'm not exactly sure what the better fix is here.
<DialogPrimitive.Close
        className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
        onClick={() => {
          // yes, you have to set a timeout
          setTimeout(() => (document.body.style.pointerEvents = ""), 500);
        }}
      >
        <X className="h-4 w-4" />
        Close
      </DialogPrimitive.Close>

Any update on this?

       <DropdownMenu>           <DropdownMenuTrigger asChild={true}>             <Button variant="ghost" className="h-8 w-8 p-0">               Open Menu                                <MoreHorizontal />                </Button>           </DropdownMenuTrigger>           <DropdownMenuContent align="end">             <DropdownMenuLabel>Actions</DropdownMenuLabel>             <AlertDialog>               <AlertDialogTrigger asChild>                 <DropdownMenuItem                   className="bg-green-500 hover:bg-green-700 hover:text-white"                   onSelect={(e) => e.preventDefault()}                 >                   <Eye className="w-4 h-4 mr-2" /> Show Detail                 </DropdownMenuItem>               </AlertDialogTrigger>               <AlertDialogContent>                 <AlertDialogHeader>                   <AlertDialogTitle>                     Are you sure?                   </AlertDialogTitle>                   <AlertDialogDescription>                     Hahahahaha                   </AlertDialogDescription>                 </AlertDialogHeader>                 <AlertDialogFooter>                   <AlertDialogCancel>Cancel</AlertDialogCancel>                   <AlertDialogAction>Continue</AlertDialogAction>                 </AlertDialogFooter>               </AlertDialogContent>             </AlertDialog>             <DropdownMenuItem className="bg-yellow-500 hover:bg-yellow-700 hover:text-white">               <Pencil className="w-4 h-4 mr-2" /> Edit             </DropdownMenuItem>             <DropdownMenuItem className="bg-red-500 text-white hover:bg-red-700">               <Trash className="w-4 h-4 mr-2" /> Delete             </DropdownMenuItem>           </DropdownMenuContent>         </DropdownMenu >
if you still have this problem, you can try using this code, i manage to open alert dialog inside the dropdown menu

This fix worked.
https://github.com/radix-ui/primitives/issues/1836#issuecomment-1674338372

If it helps anyone, ran into the same problem and inspired by the comments above I solved it using this:
<AlertDialog
    open={deleteDialogOpen}
    onOpenChange={() => { setTimeout(() => (document.body.style.pointerEvents = ""), 100) }}
>

Seems to be working well so for now.

In my case l've got that error because on my dialog component I've imported by error this line of code import { DialogDescription } from '@radix-ui/react-dialog' instead of import { DialogDescription } from './ui/dialog'. Once I've changed it back it works as it should.

Thanks for the updates @braian-bernatto

Setting  solved the problem bcs i had two modal in place.

If it helps anyone, ran into the same problem and inspired by the comments above I solved it using this:
<AlertDialog
    open={deleteDialogOpen}
    onOpenChange={() => { setTimeout(() => (document.body.style.pointerEvents = ""), 100) }}
>

Seems to be working well so for now.

Thanks @Kiranism ! I was using a Dropdown with a Button trigger. DropdownItems was opening a modal. After closing that modal anything was not clickable anymore. Setting modal={false} solved the issue.

here's  what i found to solve:

update @radix-ui/react-dropdown-menu to 2.1.1
set modal={false} on DropdownMenu

hope it helps.

Thanks @dalalRohit! Solved the modal and dropdown menu problem, but I still have a problem, inside my modal I have a component that uses Popover (component for date selection), when I solve the Modal problem, I can't select any value in the Popover. Does anyone have any suggestions on how to resolve it? I thought of some ways but they are not very suitable.
`export function InputDate({ label, placeholder, name, value, onChange }: InputDateProps) {
const [date, setDate] = React.useState()
const handleDateSelect = (date: any) => {
setDate(date)
onChange({ target: { name, value: date } })
}
return (

{label}
<Button className={cn(!date && 'text-muted-foreground' )} variant='input' size='input' >
{date ? format(date, 'dd/MM/yyyy') : {placeholder}}

)
}`

here's what i found to solve:

update @radix-ui/react-dropdown-menu to 2.1.1
set modal={false} on DropdownMenu

hope it helps.

only second option worked on me, thanks @dalalRohit

if you are using any popover/alertdialog/modal inside dropdown-menu set the modal=false on DropdownMenu fixes this issue

Here just when updating from 2.0.6 to 2.1.1 it worked
Thanks!!

Huge shout-out to whoever posted this query! I've been struggling with the exact same issue for days, and somehow I stumbled upon this thread. Finally, the solution worked perfectly for me !
This  solution Worked for me ...
<DropdownMenu modal={false}>
Thank you ! Really...

My case is a bit different. I use an 'AlertDialog' at the same level as the dialog, but it will display a warning when the user accidentally exits the form. When 'leave' is selected, the dialog will close, but buttons and other elements outside of it are no longer interactable.

I have the same issue, after closing the AlertDialogue  , The UI freezes and I am not able to click any where, until I refresh the page?
Any one knows how to fix it

It's actually adding 'pointer event' = "none" to the body, when the alert is closed, so we have to set the pointer event to "", to make it work.

Huge shout-out to whoever posted this query! I've been struggling with the exact same issue for days, and somehow I stumbled upon this thread. Finally, the solution worked perfectly for me !
This solution Worked for me ... <DropdownMenu modal={false}>
Thank you ! Really...

You save a lot of my times, Thanks a lot

modal={false}

You saved me also, thanks a lot sir.

Tried modal={false} on a ContextMenu and did not work sadly. Using latest version from radix.


Update to Coq 8.19?

Hello @raoxiaojia, we're hoping to update to Coq 8.19 at some point.
Was wondering if you already have plans for that?

I can do it after a paper submission this week. This should be fairly easy, I don't expect anything to break except for maybe a few deprecated lemmas.

Sounds good, thanks.

Update: see #48 .

Just updated to 8.19. All good from my side, thanks!


Release V1.6.0 not available and Discord Link from Readme not available

Hello,
As mentioned in the title:

Release V1.6.0 not available via github tag
Discord link form readme is not available too

Thank you for this wonderful modlist again.

as i can see on discord, V1.6.0 will not be available on github
discord link problem was caused by safari browser or not installed discord app
So everything is ok.


gateway websocket receive data length more than 65535!!

gateway take a websocket request to ServerA, than ServerA Callback Data, but the data length more than 65535, and ServerA show the webSocket connection is closed.
if don't use gateway, data could callback to the web.
i try to overwrite "ReactorNettyWebSocketClient execute method", but could not solve the problem

i have solved the problem.
i make a class extends ReactorNettyWebSocketSession，override ReactorNettyWebSocketSession(WebsocketInbound inbound, WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory, int maxFramePayloadLength)
then use my class to new WebSocketSession

thank you!!


Create documentation for ODO Java.

This is something I would love to help you in. We should also consider getting some help from the docs team(since we need resources with good english also)

@lordofthejars : Isn't this closed by https://github.com/jshiftio/odo-java/pull/21 ?

Yes
El vie., 26 abr. 2019 7:56, Rohan Kumar<EMAIL_ADDRESS>escribió:

@lordofthejars https://github.com/lordofthejars : Isn't this closed by
jshiftio/odo-java#21 https://github.com/jshiftio/odo-java/pull/21 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/fabric8-maven-plugin/issues/1593#issuecomment-486935398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALSMYKIG7M76Y45BO6W25DPSKKPLANCNFSM4G77RDKA
.


Delete image tag

Hi,
it is possible to delete a tag from a Docker image ?

No( Apparently this is a bug, because I can not remove the image, even though the permission in the registry.

No, it's not possible and it's not a bug.
For now, only digest deletion is supported (which is the simplest implementation of the docker registry's API).
You can get the manifest with the digests for a tag with: https://github.com/genuinetools/reg#get-a-manifest
and delete a manifest with: https://github.com/genuinetools/reg#delete-an-image

In a future release : https://github.com/docker/distribution/pull/2169


Scroll position not at top when going to new screen

Using expo.io, native-base and react-router v4, if my first page is a list, and I scroll down and click an element more than one screen size down on the list which links to a new page (a details page), the details page opens up also scrolled down (eg. it doesn't open at the top of the details page).
Versions
expo.io: 19.0.0
react: 16.0.0-alpha.12
react-native: https://github.com/expo/react-native/archive/sdk-19.0.0.tar.gz
react-router-native: 4.1.1
native-base: 2.3.1
Expected behavior
New page opens scrolled to the top, no matter what the scroll position was on the previous page.
Actual behavior
New page opens scrolled down if user is scrolled down on the previous page.
Example
here: https://github.com/perwagner/react-native-expo-reactrouter4-nativebase-boilerplate
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
Only tried on Android
Any other additional info which would help us debug the issue quicker.

@perwagner The way you have defined the routes is wrong. Routes are supposed to have the components, not the other way around. Please go through the docs for react-native-router.
Since you have the routes inside the components, even if you change the route/page, the outer component is still the same. Thus causing the scroll issue


Change naming for timeout settings

The naming is misleading.
RetryingConfig + maxRetries means the plugin would retry publication multiple times, however, in practice it means it would "just wait the specified number of times while the repository is in progress".
Do you think it would be better to use timeout-like configuration properties?
For instance connectToNexusTimeout, initializeRepositoryTimeout, singleArtifactPublishTimeout, closeRepositoryTimeout, etc, etc.
Note: the users do not care what the number of "status check" attempts is there. What they care is overall timeout value, and they might want to have something like initial delay between status check attempts.
WDYT?

Original comment from @vlsi in closed #18 .
I think that it's really nice idea and I don't want it forgot in closed PR.
My current timeout settings look like:
nexusPublishing {
    ...
    clientTimeout.set(Duration.parse("PT10M")) // 10 minutes
}
nexusStaging {
    ...
    numberOfRetries = 360 // 1 hour if 10 seconds delay
    delayBetweenRetriesInMillis = 10000 // 10 seconds
}

But really I just want to configure, that I'm ready to wait 1 hour for publishing staging repository.
Something like a configuration timeout for publishing artifacts to the staging repository in nexusPublishing block.

Thanks, I also planned to create a separate issue as I did with #19.
Currently we have global clientTimeout and connectTimeout and per repository/server retrying {} with maxRetries and delayBetween. We could try to use callTimeout to (try to) interrupt initializeRepository, but it could be tricky (#17) and somehow implementation specific.
singleArtifactPublishTimeout on the other hand is handled by Gradle's publish task - I'm not sure if we should cover this.
We could - just an outline for further discussion:

Extract timeouts to a separate subconfiguration:

nexusPublishing {
    timeout {
        connectTimeout: Duration
        readWriteTimeout: Duration //currently clientTimeout
        initializeRepositoryTimeout: Duration
        transitRepositoryTimeout: Duration
    }
}

transitRepositoryTimeout is a timeout for close and separate timeout for release - the don't summarize. The name isn't self-explanatory. Maybe we would like to have two separate closeRepositoryTimeout and releaseRepositoryTimeout just to make user like easier?

The timeout block/closure would be at the top configuration level - global settings which could be overridden by per repository/server settings (if needed or requested by some of the users - @visi? ;-) ).

It may look even feasible, but under the hood there is a need to override delayBetweenRetrying e.g. for tests. People might also want to increase it to do not "kill" their overloaded server. That complicates the configuration parameters (for users) and also the implementation itself. But maybe you have som good ideas how to overcome that?

transitRepositoryTimeout The name isn't self-explanatory

I'm afraid the meaning is not really clear from the name.

closeRepositoryTimeout and releaseRepositoryTimeout

Those names are clear. However, having a common one might help as well (e.g. defaultNexusOperationTimeout ?)

It may look even feasible, but under the hood there is a need to override delayBetweenRetrying e.g. for tests

Technically speaking, there are libraries to augment time behavior. So you don't need to rely on sleep(100ms).
I've collected a couple of links here: https://github.com/pgjdbc/pgjdbc/issues/1065

People might also want to increase it to do not "kill" their overloaded server

Technically speaking, backoff should quickly climb to the sane maximum delays.
In practice, it is wrong to have a setting like delayBetweenRetrying because, well, what does it mean for the case of exponential backoff (which should be used anyway) ?
I perfectly agree there might be initialDelay and probably maximumDelay. However, they might be configured by default to something like 1s and 30s which should not overload the server.

Those names are clear. However, having a common one might help as well (e.g. defaultNexusOperationTimeout ?)

That name isn't precise. It is only for transition operations, not all operation (currently just two of them).

Technically speaking, there are libraries to augment time behavior. So you don't need to rely on sleep(100ms).
I've collected a couple of links here: pgjdbc/pgjdbc#1065

Hmm, I'm not sure if I understood it correctly, but in the context of closing/releasing repositories in Nexus there is X tries which every can take Y seconds + some delay between them and I'm not sure if it the main use case for - as example - fluxcapacitor.
Currently we use failsafe which is quite configurable. Nevertheless, I am not sure how the configuration of GNPP should look like to keep it both simple, powerful and fitting our needs :).

It is only for transition operations

What do you mean by transition operations?

I'm not sure if it the main use case for - as example - fluxcapacitor.

If you want to ensure that GNPP can publish artifacts even if Nexus takes 20 minutes, then you could use something like fluxcapacitor to emulate 20minutes without altering the timeout settings.

I am not sure how the configuration of GNPP should look like to keep it both simple

See https://github.com/gradle-nexus/publish-plugin/issues/20#issuecomment-600887047
There should be end-to-end timeout configuration.
Then you could expose various backoff strategies, however, exposing just one of them is probably enough (e.g. withBackoff(initial, maximum, unit) )

What do you mean by transition operations?

initializeStagingRepository is a simple call - request, wait, response, created (or not). On the other hand close and release is more complex - request, wait (just a little bit), accepted (or not). If accepted, it enters the in transition (or transitioning) state. It means it transits from open to closed or closed to released (or dropped). The plugin needs to ask it regularly (using another get request) to get know when the transition is finished.
e2e timeout could be useful in some cases, but some people (not to mention tests) would still like to be able to tweak e.g. delay between get requests to get know if transition has finished. And I am not sure to express it in the plugin configuration in a simple, yet flexible configuration.

And I am not sure to express it in the plugin configuration in a simple, yet flexible configuration.

Would you please expose a total timeout first?
Every use case needs to configure it.
For instance, I know that for my personal needs I'm ok to wait for 15-20 minutes.
I don't care of the low-level timeouts.

would still like to be able to tweak e.g. delay between get requests

Nobody really needs that. Really. Tweaking timeouts have no business value.

to get know if transition has finished

If you mean "progress indication" feature, then you should not abuse "timeout between retries" as "progress indicator".

And I am not sure to express it in the plugin configuration in a simple, yet flexible configuration.

Expose e2e timeouts to the end-user explicitly.
Use sane values for low-level timeout defaults (e.g. set connectTimeout to half of the e2e timeout).

Would you please expose a total timeout first?

There is a per task timeout available in Gradle itself. Could it be used?
I haven't found a global timeout for Gradle execution (all the tasks). @marcphilipp do you know if it can be simply achieved?

If you mean "progress indication" feature, then you should not abuse "timeout between retries" as "progress indicator".

Progress is important to get know that you usually release in the attempt 39/40 to increase it. The same you can observe (with --info) that in 40/40 your repo was in still open state and transitioning (much more time to finish is usually needed), not even in close and transitioning (when shorter time is required). Without that it's hit and miss to set proper value for timeout with just global timeout and no debug information like that. It's the same as with awaitility - you can call sleep(60_000) in your test or check ever 500ms and in most of the cases finish after 2 seconds, not 60.

Expose e2e timeouts to the end-user explicitly.

In e2e (or mocked, but with Gradle TestKit) to verify that the plugin tries more than one time to check the status that value delay value to set to near-zero is quite important.

Would you please expose a total timeout first?

There is a per task timeout available in Gradle itself. Could it be used?
I haven't found a global timeout for Gradle execution (all the tasks). @marcphilipp do you know if it can be simply achieved?

@vlsi On Linux you can use timeout utility:

timeout ./gradlew releaseMyArtifacts

Wouldn't it be sufficient for you?

Progress is important to get know

This is relevant: https://github.com/gradle/gradle/issues/3654
There's internal class ProgressLogger which is used to show unit test progress as the tests are executed.

the attempt 39/40 to increase it

Is 39/40 any different from 399/400?
What I mean is "status check attempts" have zero business value on their own.
The business value comes from "waiting for 20min for the operation to complete". Nobody ever cares if the plugin performs 10 or 20 attempts. The important thing is that it tries at least for 20 minutes (or whatever is configured).

Wouldn't it be sufficient for you?

Do you mean you are going to remove all the timeouts from the plugin?
What if I use Windows or macOS?

Nobody ever cares if the plugin performs 10 or 20 attempts.

Some organizations cares if it means to have something releasing and "in production" in 10 minutes or in 20, since the commit has been made (vide my example with awaitility and senseless - too long - idle waiting).

What if I use Windows or macOS?

Most of the people using CI servers - where the timeout seems to be more important - release from Linux. You can still have per timeout set timeout, in Gradle. I don't know if there is an easy way to achieve global timeout in Gradle itself.

@vlsi To summarize the things.

Global timeout is fine if there is a sensible way to implement it in Gradle.
Per task timeout could be useful for cases where close or release shouldn't take no more than X minutes
I don't have good idea how to design the configuration to be simple and flexible.

I personally still would like to have an (optional) control over delay time. We could have "total" release execution time and (optional delay time, set to some value by default). Retries would happen until that time is not exceeded. However, it would be soft limit - total execution would be slightly longer - hard limit should be achieved with the aforementioned per task timoeut feature in Gradle. Would that be sufficient for you. If - by any chance - yes, please propose names and other configuration elements.

Global timeout - total Gradle execution time - is fine if there is a sensible way to implement it in Gradle

Just in case: I don't need GNPP to implement global timeouts across full Gradle execution.
What I mean by "global" is per operation.
The operations here are like initializeStagingRepo, closeStagingRepo, releaseStagingRepo.
Of course, the total Gradle execution time might be very different depending on whatever reasons (e.g. parallelism)

Per task timeout (in Gradle) could be useful for cases where close or release shouldn't take no more than X minutes.

initialize

However, it would be soft limit

Hard limits are possible only in hard real-time systems.
Of course, all the timeouts here will be soft.

please propose names and other configuration elements.

WDYT of the following?
defaultNexusOperationTimeout. Default to 20min
initializeRepositoryTimeout. Default to defaultNexusOperationTimeout
closeRepositoryTimeout. Default to defaultNexusOperationTimeout
releaseRepositoryTimeout. Default to defaultNexusOperationTimeout
connectTimeout. Default to defaultNexusOperationTimeout/2. This is a TCP connect timeout for all the operations.
networkReadTimeout. Default to defaultNexusOperationTimeout/2. This is a TCP single read timeout for all the operations.
status checks (e.g. pass it to withBackoff(initial, maximum, unit) )
initialStatusCheckInterval. Default to 2sec.
maxStatusCheckInterval. Default to 60sec.

I personally still would like to have an (optional) control over delay time

It is fine if you add the control as extra option.
It is not fine if RetryingConfig + maxRetries is the only possible way to configure close repository timeout.

initializeRepositoryTimeout. Default to defaultNexusOperationTimeout

There is no retrying with init. It's just a call to Nexus. Once finished the repo should be created (or there was an error). initializeRepositoryTimeout would need to be applied on the task itself - using the Gradle task timeout mechanism. I don't know what would be taken into account having both timeout (on task) set by the plugin and timeout (on task) set by the user in build.gradle.
Otherwise, it would be needed to just use connectTimeout and networkReadTimeout in the underlying network client to achieve that. However, then how to split that value between connect and read timeouts?

connectTimeout. Default to defaultNexusOperationTimeout/2. This is a TCP connect timeout for all the operations.

For me is very long. 10 minutes waiting for connect? Probably even with Sonatype Nexus it would be too much. Read for init, on the other hand, can take some time (for Sonatype).

For me is very long. 10 minutes waiting for connect?

Well, it could be max(2min, defaultNexusOperationTimeout/2)

Sorry for joining the discussion late.

defaultNexusOperationTimeout. Default to 20min
initializeRepositoryTimeout. Default to defaultNexusOperationTimeout
closeRepositoryTimeout. Default to defaultNexusOperationTimeout
releaseRepositoryTimeout. Default to defaultNexusOperationTimeout

Would these just set the Gradle's task timeout?

I think RetryingConfig should not be a property of NexusRepository since it does not describe the repository but the config for an operation on the repo. I think we should rename it to CheckConfig and make it a (internal?) property of the close/release tasks. If we configure Gradle's timeout on all our tasks, I don't think we need to make the check interval/max attempts etc. configurable. I think by default checking every few seconds (I don't see a use case for an exponential backoff here) until the timeout is reached should be sufficient from a user's point of view. For that to work, we need to make sure we handle interrupts correctly (cf. https://jodah.net/failsafe/execution-cancellation/#handling-interruption). With that in place we could use unlimited "retries".
I think we should keep the current connectTimeout and just set it to a duration that works with Sonatype's staging repo (2min?). We currently have a clientTimeout that is used as both readTimeout and writeTimeout when configuring OkHttp. I think it would probably be clearer to split it and set both timeouts to the same value as connectTimeout.


Currently, to check the revision number that PouchDB generate is too difficult, to simplify it

Intention: To reduce invoice._meta._rev to invoice.rev, make developer easier to use
Solution: To add a getter function inside here

Is has been done, closed


[BUG] - vague cli error when spending reference input is not present in ledger state

Internal/External
Internal   if an IOHK staff member.
Area
Plutus    Related to Plutus Scripts (Alonzo).
Summary
When a regular input (--tx-in) is not in the ledger state we get the following descriptive error:
Command failed: transaction build  Error: The following tx input(s) were not present in the UTxO:
8059658cd80a6fbbda8ff6f5f02e258e45b285798262cac372b70d007d32484b#666

However, when a reference input (--tx-in-reference) is not in the ledger state we get the following error, which is not as clear:
Command failed: transaction build  Error: Error translating the transaction context: TranslationLogicErrorInput

It would be good to have a similar error for both types of input.
System info

OS: 20.04.4 LTS (Focal Fossa)
Node version: 95c3692cfbd4cdb82071495d771b23e51840fb0e

The error appears to have changed. Now I see this on build
Command failed: transaction build  Error: The following scripts have execution failures:
the script for transaction input 0 (in the order of the TxIds) failed with:
The redeemer pointer: RdmrPtr Spend 0 points to a Plutus script that does not exist.
The pointers that can be resolved are: fromList [(RdmrPtr Spend 0,(Spending (TxIn (TxId {_unTxId = SafeHash "bd0afa04347673dcf0d2ad984a406c8e6e3513f7f1715433eb9534935b8345e8"}) (TxIx 1)),Nothing,ScriptHash "793f8c8cffba081b2a56462fc219cc8fe652d6a338b62c7b134876e7"))]

"No matter what type of input (tx-in, reference input, collateral input) it should just say "the following inputs are not present" and then list them"

It does now do something like this for reference spending inputs:
Command failed: transaction build  Error: The following tx input(s) were not present in the UTxO:
47d275448e60594f08863462bb6756a64e4418e2f0f2e8cea961ec25c97c6475#666
47d275448e60594f08863462bb6756a64e4418e2f0f2e8cea961ec25c97c6475#777

All good.


JSONInputArchive: value to string

Let's say I wanted to load the following JSON:
{
"a": { "b" : 2 }
}

Specifically, I want to save the value of "a" into a string variable (without knowing the exact structure of the value), so that the content of the variable would read {"b": 2} in this case. Is that possible?

Currently not possible unless that data was formatted as a string. It might technically be possible with RapidJSON (the parser we use), which would make it possible in cereal, but you'll have to do the digging to find out.

OK, thank you! :)


You should make use of the decorator module

See https://github.com/micheles/decorator/blob/master/docs/README.rst

AWESOME module @micheles! Thanks for points this. In a feature version I will try use that, for now I'm exploring some techs about decorators implementing from scratch just using the stdlib.
Congratulations for decorator. Really great!

I prefer just use the stdlib. But thanks for points that, is a great lib.


make JSON default representation if no format specified

Context
https://trello.com/c/m8sbtMLi/2956-make-json-the-default-format-when-accept-and-extension-are-missing
Changes proposed in this pull request
Make JSON default format when no preference is expressed. The mechanism to do this is simply to declare JSON resources higher up than HTML ones which then makes them default (if no media type is specified.)
Guidance to review
Tests should pass in Travis CI
curl http://localhost:8080/records should return JSON

The tests are flaky on travis CI in a way I cannot reproduce locally, so going to close this.


Programatically set separator color

It would be nice to have the ability to set the separator color of the TableView programatically, like you can with shadow, selected and unselected.
It doesn't look like a terrifically difficult change to make, and I'd be happy to submit a pull request to accomplish it. Is there any particular reason that this has not been included, or is it simply because no one has really needed it until now?

Hi @cstarner,
you can either use app:separator_color="@color/your_color"
or for more control extend the TableView and override : protected DividerItemDecoration createItemDecoration(int orientation)
But feel free to contribute and submit a pull request, I'm sure other people will enjoy this feature.

For my use case, I can't declare TableView in XML; I'm using it to format data, and there is a bit of a delay until that data arrives.
For the time being, I am subclassing it, but it's such an easy fix to make, I'd figured I'd test the waters to see if anyone else is interested

is this available in latest 0.8.8 release? as I am not able to setSeparatorColor from table view

0.8.8 doesn't support this feature. That's why you are not able to.  :/

in which version I will be able to use this?
I cloned the repo and while testing it seems setSeparatorColor is not working. As decorations are created already when we call setSeparatorColor

I think It helps to set separator color when The TableView is at initializing process instead of run-time.  That means; with this function, you can not change separator color after the TableView is visible on the screen.
As you can see the source codes of the TableView. It creates DividerItemDecoration for each recyclerViews just one time. So if you want to set separator color dynamically, you need to modify the codes or find another way to set your custome DividerItemDecoration for each RecyclerView.
@Override
    public DividerItemDecoration getVerticalItemDecoration() {
        if (mVerticalItemDecoration == null) {
            mVerticalItemDecoration = createItemDecoration(DividerItemDecoration.VERTICAL);
        }
        return mVerticalItemDecoration;
    }

    protected DividerItemDecoration createItemDecoration(int orientation) {
        Drawable divider = ContextCompat.getDrawable(getContext(), R.drawable.cell_line_divider);

        // That means; There is a custom separator color from user.
        if (mSeparatorColor != -1) {
            // Change its color
            divider.setColorFilter(mSeparatorColor, PorterDuff.Mode.SRC_ATOP);
        }

        DividerItemDecoration itemDecoration = new DividerItemDecoration(getContext(), orientation);
        itemDecoration.setDrawable(divider);
        return itemDecoration;
    }

yup, I went through the same source code, I will try to override the createItemDecoration by extending TableView and pass the separator color I want.

@evrencoskun  Hi! How to change width of separator? I need bold lines between cells :(


[Event Change Request] Codeunit 6620 Copy Document Mgt.

Dear ALAppExtensions team,
Through this issue we would like to request event publisher which would be called as follows from be added to Codeunit 6620 - Copy Document Mgt. with the following signature:
    [IntegrationEvent(false, false)]
    local procedure OnAfterArchPurchTransFieldsRecalculateLines(var ToPurchaseLine: Record "Purchase Line"; var FromPurchLineArchive: Record "Purchase Line Archive")
    begin
    end;

with var parameter ToPurchaseLine, FromPurchLineArchive
which would be called as follows of the procedure from CopyArchPurchLine:
   local procedure CopyArchPurchLine(var ToPurchHeader: Record "Purchase Header"; var ToPurchLine: Record "Purchase Line"; var FromPurchHeaderArchive: Record "Purchase Header Archive"; var FromPurchLineArchive: Record "Purchase Line Archive"; var NextLineNo: Integer; var LinesNotCopied: Integer; RecalculateAmount: Boolean): Boolean
    var
        ToPurchLine2: Record "Purchase Line";
        VATPostingSetup: Record "VAT Posting Setup";
        FromPurchHeader: Record "Purchase Header";
        FromPurchLine: Record "Purchase Line";
        CopyThisLine: Boolean;
        IsHandled: Boolean;
        l_JobManagement: Codeunit "MSU Job Management";
    begin
        CopyThisLine := true;
        OnBeforeCopyArchPurchLine(ToPurchHeader, FromPurchHeaderArchive, FromPurchLineArchive, RecalculateLines, CopyThisLine);
        if not CopyThisLine then begin
            LinesNotCopied := LinesNotCopied + 1;
            exit(false);
        end;

        if ((ToPurchHeader."Language Code" <> FromPurchHeaderArchive."Language Code") or RecalculateLines) and
           (FromPurchLineArchive."Attached to Line No." <> 0)
        then
            exit(false);

        if RecalculateLines and not FromPurchLineArchive."System-Created Entry" then
            ToPurchLine.Init
        else
            ToPurchLine.TransferFields(FromPurchLineArchive);
        NextLineNo := NextLineNo + 10000;
        OnCopyArchPurchLineOnAfterSetNextLineNo(ToPurchLine, FromPurchLineArchive, NextLineNo);
        ToPurchLine."Document Type" := ToPurchHeader."Document Type";
        ToPurchLine."Document No." := ToPurchHeader."No.";
        ToPurchLine."Line No." := NextLineNo;
        ToPurchLine.Validate("Currency Code", FromPurchHeaderArchive."Currency Code");

        if RecalculateLines and not FromPurchLineArchive."System-Created Entry" then begin
            FromPurchHeader.TransferFields(FromPurchHeaderArchive, true);
            FromPurchLine.TransferFields(FromPurchLineArchive, true);
            RecalculatePurchLine(ToPurchHeader, ToPurchLine, FromPurchHeader, FromPurchLine, CopyThisLine);

            // >>>> New >>>>>>>>>>>>>>>>
            OnAfterArchPurchTransFieldsRecalculateLines(ToPurchLine,FromPurchLineArchive);
            // <<<< New <<<<<<<<<<<<<<<<

        end else begin
            InitPurchLineFields(ToPurchLine);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


fix speech bot crashing issue

fixed crashing issue
added to work in channels: #speech, #design,  #meme, #random, #random-nsfw, #bot-sandbox

this should be good now


System Test for SecHub Solution

Write a system test for SecHub solution.

all build modes
all JDK distribution options
all supported operating systems

To get started have a look at the PDS-Base system test: https://github.com/mercedes-benz/sechub/tree/develop/sechub-pds-solutions/pds-base/tests
The PDS-Base system supports different build modes, by using a variable. The system test does not need to be fully automated. It is fine if one has to define variables for the operating system, build mode and JDK distribution before starting the test.
Please use the sechub-pds-tools to develop and run the system test. The usage is described in the README of the Systemtest: https://github.com/mercedes-benz/sechub/blob/develop/sechub-pds-solutions/pds-base/tests/README.adoc


Cow: Watch slerf.tools

Cow requests the watch of the watch_keyword slerf\.tools. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

slerf\.tools has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


[5.8] Write manifest with exclusive lock

On very busy sites, multiple processes could attempt to write to the file, causing race conditions in writing to it with invalid syntax. Lock the file exclusively to avoid parse errors.

Please could you update the tests too.

About 99% sure this was already merged and then reverted once. Did you search the PR history.

I can only find https://github.com/laravel/framework/pull/10663, seems unrelated. Would be curious as to what the failure scenario would be while adding the LOCK_EX, seems widely supported enough.

flock() allows you to perform a simple reader/writer model which can be used on virtually every platform (including most Unix derivatives and even Windows).

Last change around the line was https://github.com/laravel/framework/commit/8c67e93f which isn't related either.

The reverted exclusive-lock attempt was in PackageManifest, not ProviderRepository being changed here.

https://github.com/laravel/framework/issues/25898
PRs https://github.com/laravel/framework/pull/26010 + https://github.com/laravel/framework/pull/26254
Revert https://github.com/laravel/framework/pull/26231

I don't think I have any plans to change this on a point release.

Hi,

I never asked this to be in a point release, I just followed this guide: https://laravel.com/docs/5.8/contributions#which-branch, which told me to MR against 5.8
is this only closed as a point release request, or just denied?
this seems more denied on the fact that there is another bug you hit in Illuminate\Filesystem\Filesystem::put() in that case. As it should be easily resolvable with an atomic rename for filesystems which encounter this, I could write a fix for that as well. I won't bother if you currently already know it will be denied though.
the original issue remains an issue in the current state for high traffic sites
of note may be that it makes  php artisan cache:clear unusable, and incorrect cache needed to be manually deleted, as apparently the file in the cache is amazingly used to clear the cache (but that might be some developers quirk on our side...)

No answer, I'll withdraw my offer of fixing the filesystem bug, and we'll leave it for the next guy to encounter either the broken manifest file due to concurrent reads, or other issues with the exclusive lock writing.
If someone encounter this later: probably just do an atomic rename() in Illuminate\Filesystem\Filesystem::put() instead of an LOCK_EX if you got the energy.


http://zlib.net/zlib-1.2.8.tar.gz is down, breaks configure

Need something like https://github.com/yaroslavvb/tensorflow/commit/fbc8bef52fc20d1c26290979f956e781bc863be8 to fix ./configure since "http://zlib.net/zlib-1.2.8.tar.gz" is down

Resolved in master with ecf97ee5f2e386be31fde8ca790d48786b969103, and in r0.12 with 1e317b1f7dc5ccf04fc51ac96d97f5bdaefa9af9


Jellyseerr is adding the wrong user to tagged requests in sonarr and radarr

Description
Jellyseerr seems to be adding the wrong user as a tag to requested media in radarr and sonarr.
The user is correct in Jellyseerr and when notifications are sent, however the tag for the media is another user.
My (default user) tags are fine. Users are created automatically when they first login to jellyseerr using their Emby accounts.
Version
1.7.0
Steps to Reproduce

Make sure the tag requests option is ticked for sonarr and radarr.
Add multiple users excluding the default admin user.
Request media using an account that has logged in via Emby (not the main account)
Login to sonarr or radarr and check the tag and see that it belongs to another user.

Screenshots

Logs
No response
Platform
desktop
Device
Windows
Operating System
Windows 11 Pro
Browser
Chrome
Additional Context
No response
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

Can you try the develop tag?

Can you try the develop tag?

Unfortunately, I can’t test the develop tag because I am using preview-postgres.

Can you try the develop tag?

Unfortunately, I can’t test the develop tag because I am using preview-postgres.

Ah then I cant help. This could be an issue with that tag

Can you try the develop tag?

Unfortunately, I can’t test the develop tag because I am using preview-postgres.

Ah then I cant help. This could be an issue with that tag

Okay, let’s keep this issue open and I will test again after preview-postgres gets merged into develop.

@douglasparker I can't seem to repro it from fresh installs of sonarr/radarr/jellyseerr. From my investigation, the code is checking for a tag with the prefix: this.requestedBy.id + ' - '. If an existing tag exists with the same id but the wrong user, jellyseerr won't correct it or make a new one. Try deleting the tag from sonarr/radarr. Did you migrate to postgres from sqlite?

@douglasparker I can't seem to repro it from fresh installs of sonarr/radarr/jellyseerr. From my investigation, the code is checking for a tag with the prefix: this.requestedBy.id + ' - '. If an existing tag exists with the same id but the wrong user, jellyseerr won't correct it or make a new one. Try deleting the tag from sonarr/radarr or updating the name (would require running an update against the *arr db). Did you migrate to postgres from sqlite, or is it a fresh install?

This is a fresh install of Jellyseerr, but I am using the same instance of Sonarr and Radarr from when I was using this feature in Overseerr.
I will delete all the tags and hopefully that should clear it up!


Scalar market - blows up

clicking on the best bid in the outcome table and the order book is not filtering in the order ticket on a scalar for me
its not working on any market type....all it does is switch the Buy Shares from being underlined (in the order ticket) to sell shares (but doesn t filter in any fields (quantity, price Total order value) and then it switches back to buy shares a second later
Now after clearing out app cache...I am getting different behavior on a scalar market....If I click on the order (on the outcome table or book)...I get the messaging about what a scalar market is...if i hit OK and close it and do it again, that modal pops up again
If I click the dont show me this again box and then go click the order i get the same behavior described above and the site blows up

looks like 0x mesh issue, assigning to @pgebheim

Very odd... lemme ask around about this.

fixed with caching issue


Request - add more light

Hello! Could the size of the ingame flashlight be altered? There are many people who desire more light in the dark areas. The flashlight is tiny and some of us really hate how dark some corridors are. I know it's a horror game, but in the original everything was well lit. There is no reason for some of the lights not to work :) Removing the vignette + making the flashlight radius huge would be awesome, I'd be willing to pay for that.

I found another way to do that, I managed to disable the shader completely using 3dmigoto and now all the areas are normally lit.

I may look into what you were originally asking when I'm not as busy.

Thank you, @praydog ! Maybe it will help others who still want to keep the blue shade of the dark areas. I'm more than happy with what I have now (using my mod: RE2 LightsOn to light up everything) because I think I did exactly what I was wishing for: restoring the original atmosphere.
Thanks for the answer again, and have a nice day!


Do not log pre submission errors as warnings

Instead give the reason to onSubmitValidationError

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
791

Relevant Lines:
791

💛  - Coveralls


Create Nodejs app problem

I try to do Node app like is in that document bud when I run wepage I have this problem.

@mhricov27 Thank you for your feedback. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

Here is tutorial https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs

Olready solved but referent way through blank javascript app  in visual studio and after publish to azure.


Add borrowed versions of the all ID types

… by wrapping str instead of String and exporting type SomeId = Box<imp::SomeId>; from the crate root for backwards compatibility. 0.17.0 can then change the defaults (or we don't do 0.16.1 at all, I'm not 100% sure this can be made backwards-compatible anyways).

Since ruma-*-api can only make use of this via breaking changes, it probably doesn't make sense to have a point release.


jenkins-plugin-cli: not found

Trying to build a simple Dockerfile as stated in the README:
FROM jenkins/jenkins:lts
RUN jenkins-plugin-cli --plugins \
	workflow-aggregator

But getting:
Step 2/2 : RUN jenkins-plugin-cli --plugins 	workflow-aggregator
 ---> Running in 7cf716720a92
/bin/sh: 1: jenkins-plugin-cli: not found

I could use the Shell script but I don't want to stick with a deprecated script: https://github.com/jenkinsci/docker/blob/master/install-plugins.sh#L23

Hi @dtrunk90 this could have been a temporary issue. I simply copy-pasted your dockerfile and it worked just fine for me. It might be helpful to reproduce errors with exact docker tags (e.g. jenkins/jenkins:2.259) so that they can be reproduced reliably and makes it easy to see if it was fixed in newer versions.

Yes, it's working now. Maybe the lts image i used at that time was too old. Strange.


Chalk diagram pip installing

The installation of the chalk diagram tool through the github patch seems not to work anymore. Below the issue.
`Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 414.4/414.4 kB 9.5 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.1/67.1 kB 9.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 kB 9.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 622.5/622.5 kB 31.0 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`

It's an issue with a newer version of setuptools; I was able to fix it by adding
!pip install setuptools==57.5.0 before the first line.


Graduate project to it's own github organisation

I feel like this project is big enough to have it's own github organisation, rather than be in @simoncozens personal namespace.
It's very easy to create an organisation on Github. You can then move the project to the organisation. Multiple people can then be managers of the organisation, meaning the project can have a canonical home, even if Simon was to no longer be involved.

What a devilish idea! :smiling_imp:

Sounds good to me, especially since @alerque is doing far more of the coding / release management than I am these days. :-) Very happy to recognise that officially.


updated code for user to provide interpolation mode and filename ext…

…ention. Switched print statements for logging

Corrects the major issues raised in the PR: https://github.com/Synthesis-AI-Dev/fisheye-distortion/pull/5
Changes with how files are processed - now use supplies the filename ext and even the type of interpolation to be used. Config file and code logic is much simplified as a result.


Attempt to retrieve create file url with status 500

I am trying to upload my file with --url https://usegalaxy.org but got the following error:
SSLError(CertificateError("hostname 'usegalaxy.org' doesn't match 'galaxy-web-06.tacc.utexas.edu'"))

Then I tried changing the url to be --url https://galaxy-web-06.tacc.utexas.edu/ but got another error:
tusclient.exceptions.TusCommunicationError: Attempt to retrieve create file url with status 500

Could you help solve this issue?
Thanks a lot!

usegalaxy.org works now.


Client secret in facebook example app

Hi, thanks for this awesome library.
I was implementing Facebook strategy for phoenix API application. I needed to exchange code for an access_token and user info later.
I am not sure if I miss something or not, but shouldn't you put client_secret in get_token function in Facebook strategy module (I miss it in the example app). Something like this?
defmodule Facebook do
  .........

  def get_token(client, params, headers) do
      client
      **|> put_param(:client_secret, client.client_secret)**
      |> put_header("Accept", "application/json")
      |> AuthCode.get_token(params, headers)
    end
end

Or is it possible to have it straight inside Oauth2.Strategy.Authcode get_token/3 ? Something like the one below? Are there any use cases where this might be a problem (accidentally exposing client_secret for different providers / situations)?
def get_token(client, params, headers) do
    {code, params} = Keyword.pop(params, :code, client.params["code"])

    unless code do
      raise OAuth2.Error, reason: "Missing required key `code` for `#{inspect __MODULE__}`"
    end

    client
    |> put_param(:code, code)
    |> put_param(:grant_type, "authorization_code")
    |> put_param(:client_id, client.client_id)
    **|> put_param(:client_secret, client.client_secret)**
    |> put_param(:redirect_uri, client.redirect_uri)
    |> merge_params(params)
    |> put_headers(headers)
  end

It took me some time to investigate this. It is just kind of misleading (at least for a newbie as I am). I thought that client_secret is already in client and there is no need to put it there again (and I didn`t see you added it somehow in the example app).
Thanks.

Hi @Vosmik,
The short answer is that the client_secret should be added to the Facebook module. Pull-request welcome.
It doesn't belong in the main OAuth2 library because that doesn't match the OAuth2 spec and causes some servers to error.

Hi @Vosmik,
The short answer is that the client_secret should be added to the Facebook module. Pull-request welcome.
It doesn't belong in the main OAuth2 library because that doesn't match the OAuth2 spec and causes some servers to error.

Great. I thought it could be something with Oauth specs. Once again, thanks for great library.

Great. I thought it could be something with Oauth specs. Once again, thanks for great library.


Correct someone's drunk keyboard output

Correcting a typo in docs

Although I don't normally use the test unit matchers, I think the existing example should work.
The README has two examples for assert_has_search_params, one that uses the argument matcher syntax, and the one you are modifying which is the block matcher syntax.
The block syntax is normally only needed when you have multiple search statements that you are matching against, but we want to have at least one example of it in the README.

The reason for the whole fix was that there was bad syntax. @jpalermo I've brought back block example with how I suppose it should look like originally.

The syntax should not be bad. Do you get a Ruby error when using the syntax that is currently there?

Closing due to inactivity.


BUG/API: GH11086 where freq is not inferred if both freq is None

closes #11086, and a typo

cool, ping when green.

thank you sir!


Improving pagination

Description.
In the pagination, the user could only see the current page number and can go to 1 next and back, It would be better if it is possible to switch between more than 1. Let's say I'm on page 4 and I want to go to page 1, I have to press back button 4 times.
Possible solution
Adding a first and last page numbers, and skip by more than one pages.

Improved the pagination.

Improved the pagination.


Install the @types/node package

Fix the #709 issue, Now @types/node package install with create fumasdocs-app

Could you re-run pnpm i to fix the lock file?

Check out the update and as well update the tailwind CSS patch version.