text:
Remote access to CVAT, unable to connect remotely via LAN or internet domain (via :port or :port). Blocked by CORS policy: No 'Access-Control-Allow-Origin, Network Error and net::ERR CONNECTION REFUSED errors.

I deployed CVAT on an AWS instance and I struggled to access it remotely.
The errors I encountered along the way were:

Could not check authorization on the server. Error: Network Error.

blocked by CORS policy: No 'Access-Control-Allow-Origin'

net::ERR_CONNECTION_REFUSED

Nevertheless, finally I managed to get it working. Following I report the solutions to this errors so it can help others and to prepare a PR to contribute.
Gathering of related issues:

Issue 930: Unable to remote connect #930

Issue 907: Remote access  issue #907

Issue 165: How can I connect from other computers which are NOT on the LAN? #165

Issue 102:Connection from another computer gives Bad Request(400) #102

Issue 4: Running on AWS EC2 #4

Issue 128: Access CVAT remotely via <HOST_IP>:port or <FQDN>:port? #128

Solution:
The following changes did the trick for me:

Add following line to react_nginx.conf:
add_header Access-Control-Allow-Origin "*";

A react_nginx.conf example would be:
server {
    root /usr/share/nginx/html;
    # Any route that doesn't have a file extension (e.g. /devices)

    location / {
        try_files $uri $uri/ /index.html;
        add_header Access-Control-Allow-Origin "*";
    }
}

To docker-compose.override.yml, add:
ALLOWED_HOSTS: '*'
UI_HOST: mysite.com
 REACT_APP_API_HOST: mysite.com

A docker-compose.override.yml example would be:
version: "2.3"

services:
  cvat:
    environment:
      ALLOWED_HOSTS: '*'
      UI_HOST: mysite.com
    ports:
      - "80:8080"

  cvat_ui:
    build:
          args:
            REACT_APP_API_HOST: mysite.com
            REACT_APP_API_PORT: 8080

Don't forget to run the docker build again, using -f to include the file docker-compose.override.yml file. An example of  this would be:
$ docker-compose -f docker-compose.yml  -f docker-compose.override.yml build

$ docker-compose -f docker-compose.yml  -f docker-compose.override.yml up -d

To the cvat/settings/base.py file. In lines 188 to 200, add a version of the UI_URL without the port number to CORS_ORIGIN_WHITELIST. I believe the reason for this is that sometimes if the port number is :80 and the URL is not in the LAN (<HOST-IP>:port), but instead it is a Fully Qualified Domain Name  (<FQDN>:port), the port 80 is redundant (mydomain.com:80) and the errors arise.

My modified base.py is:
# Cross-Origin Resource Sharing settings for CVAT UI
UI_SCHEME = os.environ.get('UI_SCHEME', 'http')
UI_HOST = os.environ.get('UI_HOST', 'localhost')
UI_PORT = os.environ.get('UI_PORT', '3000')
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [UI_HOST]
UI_URL = '{}://{}'.format(UI_SCHEME, UI_HOST)

# UI_WITHOUT_PORT must be added to CORS_ORIGIN_WHITELIST
UI_WITHOUT_PORT = UI_URL

if len(UI_URL):
    UI_URL += ':{}'.format(UI_PORT)

CORS_ORIGIN_WHITELIST = [UI_URL, UI_WITHOUT_PORT]
CORS_REPLACE_HTTPS_REFERER = True

i am getting this eroor while executing this command:
docker-compose -f docker-compose.yml  -f docker-compose.override.yml up -d

@PavneshYadav123 the error comes from incorrect indentation of your docker-compose.override.yml
Fix the indentation of cvat_ui or copy my docker-compose.override.yml example

@pvalls
i want to execute CVAT on my website
i have done following changes on
1)changes in base.py
line no 28:
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS',
'localhost,127.0.0.1,labelytics.trantorglobal.com').split(',')
line no 188 to 200:
# Cross-Origin Resource Sharing settings for CVAT UI
UI_SCHEME = os.environ.get('UI_SCHEME', 'http')
UI_HOST = os.environ.get('UI_HOST', 'localhost')
UI_PORT = os.environ.get('UI_PORT', '3000')
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = [UI_HOST]
UI_URL = '{}://{}'.format(UI_SCHEME, UI_HOST)
UI_WITHOUT_PORT must be added to CORS_ORIGIN_WHITELIST
UI_WITHOUT_PORT = UI_URL
if len(UI_URL):
UI_URL += ':{}'.format(UI_PORT)
CORS_ORIGIN_WHITELIST = [UI_URL, UI_WITHOUT_PORT]
CORS_REPLACE_HTTPS_REFERER = True
2)Changes in [Docker-compose.yml](https://github.com/PavneshYadav123/Cvat/blob/master/docker-
compose.yml)
added new code line no 56
ALLOWED_HOSTS: ''
line no 58
UI_HOST: labelytics.trantorglobal.com
line no 81
REACT_APP_API_HOST: labelytics.trantorglobal.com
3)Changes in [react_nginx.conf]
(https://github.com/PavneshYadav123/Cvat/blob/master/react_nginx.conf)
added new code line no 6
add_header Access-Control-Allow-Origin "";
if i am giving UI_HOST and REACT_APP_API_HOST as IP address insted of URL it is workig fine but it is not working on URL what should i do
I have attach all file along with server and URL
Please suggest me

PavneshYadav123 you might need to change the cvat UI port to 80 and configure services to have
ports:
      - "80:80"

You might also need to open connections to port 8080 on your server provider configuration (e.g. on AWS security group add rule to allow incoming connections to port 8080).
Finally, I suggest you ask for help on your issues in the Gitter CVAT chat

@pvalls thank you for replay
had you tried to host tool on website

@PavneshYadav123 , did you resolve the issue?

@nmanovic yes

@PavneshYadav123 , we will close the issue. Thank you.

@yxftju , @LukeAI , now it became more difficult just because we use different ports for UI and server. The question was answered many times in Gitter. If you still cannot access your instance remotely please create an issue and submit your config files. Otherwise it is impossible to investigate.
In the nearest future we will simplify configuration of CVAT.

I have seen many labelling tools and it seems to be nerds that make them incapable of making anything sensible.
Why even have an open source tool when no one can install them
I have now spent days on this tool, days on dataturks and most other tools seems to be made for coders.
If you cannot make simple tools stay away from it and keep coding in your corners.
It is not supposed to be rocket science and we should for sure not change servers, PCs and everything because you cannot make simple configuration.
This pisses me off completely and it is not even worth using any open source if you have the attitude of "we have answerred this question so many times"
Well guys, there is reason why people ask. Because you ubviously cannot make it understandable for most people.
So either ditch the CVAT or make it work for normal people and not coders.

@MimirRnD , to make the life a little bit easy we created https://cvat.org/. You can use it. You don't need to install anything. Just register and upload your data.
Installation procedures were changed many times. You wrote a lot of words but nothing exactly about your problem. Be polite. The tool is free and helps a lot of people. My team spends a lot of time to delivery new features and make the product better. The best way to make the world better just help.

Let's just put this into a real life perspective...
I have spent almost 2 weeks of valuable time I could have spent on marketing and getting the business going.
What is the "free" worth?
Absolutely nothing!
I have burned familiy relations, spent time on fixing dysfunctional code by hiring 5 developers who none of them could understand how you had put it together.
I have spent days and nights in fixing, correcting and I still do not understand anything.
Then when we get into the tool that is then next problem.
How does it work?
Then there are formats of exporting and importing stuff. The labels we have been able to set up in a simple Labelimg software can not be imported.
Another 2 days spent on this to just import labels and to understand formats.
And that format I had was extremely advanced....
It was a list from top to bottom in a normal text file that I wanted to import. It was absolutely impossible. Also none of the "format" you are referring to does have anyn generation tools or any references. Not even in Wikipedia.
Sorry, but I do not care about if the boxes are puke green or ugly brown. I just need the bounding boxes so the ML can learn.
So a simple import list is more than enough.
If you ever are going to get off the ground. Think about the person who is going to install it. Make it workable as

Normal webinstallation, plug and play
If you do it in a docker, then make it work from both servers and PCs. Me as a data set owner I do not want to give away images I have purchased for my money.

So in essence., get out of the nerd's box, look into the user's needs. Free in your case and in many other cases is hellish expensive and the learning I have done now is to actually use a software that cost money as I can get it to work right away.
The functionality you have made are fantastic, but they are not worth anything if it is not possible to spend 10 minutes on the installation and be up and running in 1 hour.
And bear in mind, I have double master degrees, I have been doing this for soon 42 years (yes I am an old fart) and I have seen a lot and have hacked a lot of stuff, but the way the annotation industry works seems to be made for kids and people who do believe users can spend endless time, whilst they actually do not have much time for this at all. I did it because I see it as a challenge.
On the other hand I do like your software and it is very good, but do that little extra push and do not get mad on my comment. I just want you to understand how a user works.
Have a sunny day.

@MimirRnD , please send me a mail (you can find my mail address in my github profile). Let's spend sometime with me or someone from my team and see how we can improve the whole process and solve of remaining issues which affect your business.

Agreed, impossibile to serve and connect from an host machine. Wasted tons of time.

Agreed, impossibile to serve and connect from an host machine. Wasted tons of time.

@FrancescoSaverioZuppichini  Hi, please create a new issue (or start a new topic in the Discussions tab, or use gitter) and describe your problem: how do you want to configure CVAT. Any error messages, container logs will be helpful.

Agreed, impossibile to serve and connect from an host machine. Wasted tons of time.

@FrancescoSaverioZuppichini I have no idea what your setup it like, but I'm assuming you have access to your local machine that you're serving it on.
For the access you could try adding your WAN IP/external hostname to your /etc/hosts file like so
127.0.0.1      CVAT.example.com
Have you checked out issue #1095 to see how to change API host/port and UI host/port?

I stumbled upon this today. My goal is to run cvat on local network with my colleagues with my workstation serving as the server host. After inspecting the compose file, I see it now uses django and traefik, which is actually cool. there is also a CVAT_HOST env variable which you can set when starting the compose setup, for example:
CVAT_HOST=192.168.1.55 docker-compose up -d
This made cvat available to my colleagues immediately

This worked for me

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.
I've modified the traefik rules on the official docker-compose.yml file.
You can find the file here.

CVAT_HOST=
Is very confusing. I was struggling for one hour to get this working.
The whole problem is that anything given as (example)
CVAT_HOST=172.31.1
Will work ONLY if you instruct your browser to this IP adress. Using the hostname resolving to 172.31.1.1 will NOT work.
The same story when using a hostname like CVAT=HOST=myserver.mydomain.com
Anything given to the browser not being exactly myserver.mydomain.com DOES NOT work.
Also giving the IP adress in the browser will NOT work.

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.
I've modified the traefik rules on the official docker-compose.yml file. You can find the file here.

This solution works for me. Line 46 and 64 are critical.

If anyone is interested, I found a way to access CVAT from any hostname. It is very useful for me because I can now access it with the machine IP, as localhost or even as a tunnel using ngrok.
I've modified the traefik rules on the official docker-compose.yml file. You can find the file here.

This worked for me as well, for self-hosting cvat behind a campany proxy and making it accessible in LAN.
This is not working yet for selverless deploy though.

authors: FrancescoSaverioZuppichini MimirRnD PavneshYadav123 akamlah azhavoro bkbilly nasheedyasin nmanovic pvalls smerkousdavid wvalcke zhanghanduo

repo: opencv/cvat


text:
Exported Cityscape 1.0/Segmentation Mask annotations from cvat.ai online tool are completely white

My actions before raising this issue

Told to raise the issue after contacting support via email

Expected Behaviour
My dataset has all pixels corresponding to the sidewalk labeled as 1, everything else should be 0, this is validated by the show bitmap option within the tool. When exporting the annotations I am expecting this same binary mask.
Current Behaviour
Once exporting the tagged images using Cityscapes 1.0 or Segmentation mask I am only getting entirely white annotations.
Possible Solution
I had previously been tagging my images through cvat.org and had no issues such as this.
Steps to Reproduce (for bugs)

Exporting Task #9318 Created by ktbrady42 on September 21st, 2022

Context
I am trying to get a Semantic Segmentation Network trained using these annotations.
Your Environment
Windows 10, cvat.ai online tool

@ktbrady42 , thanks for the report. We are going to fix it in the nearest future.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
[WIP] Fixed security warnings in CVAT server

Run started:2020-03-09 20:04:49.597572

Test results:
>> Issue: [B314:blacklist] Using xml.etree.ElementTree.iterparse to parse untrusted XML data is known to be vulnerable to XML attacks. Replace xml.etree.ElementTree.iterparse with its defusedxml equivalent function or make sure defusedxml.defuse_stdlib() is called
   Severity: Medium   Confidence: High
   Location: cvat/apps/annotation/cvat.py:429
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b313-b320-xml-bad-elementtree
428	    import xml.etree.ElementTree as et
429	    context = et.iterparse(file_object, events=("start", "end"))
430	    context = iter(context)

--------------------------------------------------
>> Issue: [B102:exec_used] Use of exec detected.
   Severity: Medium   Confidence: High
   Location: cvat/apps/annotation/format.py:19
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b102_exec_used.html
18	    }
19	    exec(source_code, global_vars)
20	    if "format_spec" not in global_vars or not isinstance(global_vars["format_spec"], dict):

--------------------------------------------------
>> Issue: [B320:blacklist] Using lxml.etree.fromstring to parse untrusted XML data is known to be vulnerable to XML attacks. Replace lxml.etree.fromstring with its defusedxml equivalent function.
   Severity: Medium   Confidence: High
   Location: cvat/apps/annotation/labelme.py:144
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b313-b320-xml-bad-etree
143
144	    root_elem = ET.fromstring(xml_data)
145

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/apps/auto_annotation/inference_engine.py:17
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
16	        subprocess.check_output(
17	            'lscpu | grep -o "{}" | head -1'.format(instruction), shell=True
18	        ).decode('utf-8')
19	    )

--------------------------------------------------
>> Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
   Severity: Medium   Confidence: High
   Location: cvat/apps/engine/task.py:221
   More Info: https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
220	        try:
221	            with urlrequest.urlopen(req) as fp, open(os.path.join(upload_dir, name), 'wb') as tfp:
222	                while True:

--------------------------------------------------
>> Issue: [B102:exec_used] Use of exec detected.
   Severity: Medium   Confidence: High
   Location: cvat/apps/engine/utils.py:45
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b102_exec_used.html
44	    try:
45	        exec(source_code, global_vars, local_vars)
46	    except SyntaxError as err:

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/apps/git/git.py:31
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
30	    if 'Permission denied' in ex.stderr or 'Could not read from remote repository' in ex.stderr:
31	        keys = subprocess.run(['ssh-add -L'], shell = True,
32	            stdout = subprocess.PIPE).stdout.decode('utf-8').split('\n')
33	        keys = list(filter(len, list(map(lambda x: x.strip(), keys))))

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/apps/git/git.py:286
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
285	        if ext == '.zip':
286	            subprocess.call('zip -j -r "{}" "{}"'.format(self._annotation_file, dump_name), shell=True)
287	        elif ext == '.xml':

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/settings/base.py:54
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
53	        try:
54	            subprocess.run(['ssh-add {}/*'.format(ssh_dir)], shell = True, stderr = subprocess.PIPE)
55	            keys = subprocess.run(['ssh-add -l'], shell = True,

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/settings/base.py:55
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
54	            subprocess.run(['ssh-add {}/*'.format(ssh_dir)], shell = True, stderr = subprocess.PIPE)
55	            keys = subprocess.run(['ssh-add -l'], shell = True,
56	                stdout = subprocess.PIPE).stdout.decode('utf-8').split('\n')
57	            if 'has no identities' in keys[0]:

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/settings/base.py:62
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
61	                    print('New pair of keys are being generated')
62	                    subprocess.run(['ssh-keygen -b 4096 -t rsa -f {}/id_rsa -q -N ""'.format(ssh_dir)], shell = True)
63	                    shutil.copyfile('{}/id_rsa'.format(ssh_dir), '{}/id_rsa'.format(keys_dir))

--------------------------------------------------
>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: cvat/settings/base.py:73
   More Info: https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
72	                    shutil.copymode('{}/id_rsa.pub'.format(keys_dir), '{}/id_rsa.pub'.format(ssh_dir))
73	                subprocess.run(['ssh-add', '{}/id_rsa'.format(ssh_dir)], shell = True)
74	        finally:

--------------------------------------------------

Code scanned:
	Total lines of code: 10897
	Total lines skipped (#nosec): 0

Run metrics:
	Total issues (by severity):
		Undefined: 0.0
		Low: 31.0
		Medium: 5.0
		High: 7.0
	Total issues (by confidence):
		Undefined: 0.0
		Low: 0.0
		Medium: 0.0
		High: 43.0
Files skipped (0):

[ ] Need to add info into CHANGELOG.md

source: gharchive/pull-request


text:
Improve GitHub Testing Actions names

Description of your changes:
Update the Unit and Functional Test names to be slightly more concise
Testing instructions
Make sure the GH Actions are Named 'Unit Tests' and 'Functional Tests'
Checklist

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/lgtm
/approve

authors: HumairAK gmfrasca


text:
Rename notebooks repo to workbench-images

We should rename the Notebooks repo to workbench-images, as we will have in the future images that are not notebooks.
Rename Upstream repository name
Rename Downstream fork
Rename all the references into openshift-ci repository
Create a new registry on quay.io:  opendatahub/workbench-images
Update the references into odh-manifests repo

Acception criteria:

[ ] Rename the repo notebooks to workbench-images
[ ] Rename the reference in openshift-ci

repo: opendatahub-io/notebooks


text:
feat(dataset): add extended information panel

Fix https://github.com/ecolabdata/ecospheres/issues/219
Fix https://github.com/ecolabdata/ecospheres/issues/234
Fix https://github.com/ecolabdata/ecospheres/issues/235
Ajoute l'affichage de métadonnées supplémentaires pour un jeu de données (configurable) :

Point de contact (dataset.contact_point)
Conditions d'accès et d'utilisation (dataset.extras.harvest['dct:accessRights'])
Généalogie (dataset.extras.harvest['dct:provenance'])

Une section "Informations étendues" s'ajoute au dessus du panneau d'information "standard" de data.gouv.fr. Peut-être revoir le wording du titre de la section. Afin de mieux mettre en valeur ces métadonnées, elles s'affichent au-dessus des autres informations existantes.

Exemple point de contact et conditions (mauvaise qualité) : service-de-force-de-securite-2
Exemple point de contact : point-numerique-cc-grand-chambord
Exemple point de contact et généalogie : lot-des-plans-de-prevention-des-risques-inondation-dans-le-departement-des-bouches-du-rhone-1

Ca n'est affiché que lorsque les MD sont dispo, donc probablement pourquoi tu ne l'as pas vu en choisissant une fiche au hasard. Alexandre a listé quelques exemples dans la description, comme : https://deploy-preview-449--ecospheres.netlify.app/datasets/lot-des-plans-de-prevention-des-risques-inondation-dans-le-departement-des-bouches-du-rhone-1

L'idéal serait de pouvoir l'insérer juste avant la section extras. Maintenant qu'on peut contrib sur les components, est-ce que ça serait envisageable de manière suffisament simple et élégante ? J'imagine par exemple un panel modulable où on peut activer certaines sessions, comme ça on pourrait avoir :

Possible mais assez compliqué. Je ne suis pas sûr que ça vaille le coup, au moins pour l'instant.
Autres solutions plus simples :

mettre notre section à la fin plutôt qu'au début
onglet dédié

authors: abulte streino

repo: opendatateam/udata-front-kit


text:
Add stop batch action on detector list page

Add a stop batch action similar to the implemented start/stop batch actions on the detector list page. Add the 'type delete to confirm' functionality similar to the modal when a user wants to delete a detector from the detector details pages.

Add a stop batch action similar to the implemented start/stop batch actions on the detector list page.

You mean add a delete batch action?

Add a stop batch action similar to the implemented start/stop batch actions on the detector list page.

You mean add a delete batch action?

Yes, my mistake

authors: ohltyler ylwu-amzn


text:
Improve page UI/UX

Overview

Tasks to improve the UI/UX of the Define Analysis page

Issues

[ ] https://github.com/opendp/dp-creator-ii/issues/82
[x] #128
[x] #133
[x] #136

Dependencies

None

Related

https://github.com/opendp/dp-creator-ii/issues/93

Done

authors: cmbz mccalluc

repo: opendp/dp-wizard


text:
Jiva replica clone feature

Enhance jiva for clone feature  …

This PR will add sync and rebuild capabilities in jiva as clone feature.
Now clone volume can be created from the running replicas volume and can be further used as RO/RW mode.
There is 3 new flags has been added, which has to passed while starting a clone replica with a new jiva-controller, to be clone to a particular snapshot.

cloneIP : This is frontendIP of running controller, which will be used to make a clone request will be passed as a argument while starting clone replica.
clone: Type of replica, now we can pass type as clone to trigger the clone API of jiva, which says the new replica is getting added as clone not as usual replica.
snapName : Name of the  snapshot which will be synced to a new volume.

@gila There are no unit test cases in jiva for anything, we have to write all of them but can be done in upcoming PR's

repo: openebs/jiva


text:
Creating reproducible k8s-openebs environment using kargo

https://github.com/kubernetes-incubator/kargo

Can be tracked under https://github.com/openebs/openebs/issues/28

As of 0.5.x release, k8s clusters are being created using kubeadm/kops. Also openebs doesn't mandate a certain way of creating the k8s clusters.
Closing this issue in favor of tracking the requirement under openebs/openebs#28

authors: AmitKumarDas kmova

repo: openebs/openebs


text:
Update Go template to use watchdog from image

Signed-off-by: Alex Ellis alexellis2@gmail.com

Description

This multi-stage build means there is no need to install curl
and ca-certs just to pull the watchdog binary. Instead we can
pull in the binary from the new watchdog image.
Motivation and Context

[x] I have raised an issue to propose this change (required)

This covers #11 for Go
How Has This Been Tested?

Tested with x86_64 on a Swarm node.
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

New images have been built, pushed, deployed and invoked on Swarm with all x86_64 templates modified.

repo: openfaas/templates


text:
Report a per-http call metric

Checklist
I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
Right now, the metrics we emit are per-SDK method call at the API level (e.g. BatchCheck is multiple metrics for each underlying Check).
Users want to keep track of each underlying http call
Describe the ideal solution
We should expose another metric fga-client.http_request.duration that is emitted per-http request sent by the SDK
Alternatives and current workarounds
No response
References
No response
Additional context
Part of https://github.com/openfga/sdk-generator/issues/418

Hi @ryanpq, can I work on this?

authors: ovindu-a ryanpq

repo: openfga/java-sdk


text:
fix: client_credentials content type

Description

References

PR by @le-yams https://github.com/openfga/sdk-generator/pull/281

Review Checklist

[x] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected

Commit author updated. Going to hold on merging this, as I was testing it I noticed the auth request will fail since we are still sending the request body as json, and the content-type is both application/json and application/x-www-form-urlencoded. I'll work on a fix for that and once that's merged we can get this change in too to be consistent with the generator history.-


text:
Android issue with focus lost after showing interstitial ad

@fbricker
it seems like the focus is not set back to main activity after showing interstitial ad on Android.
I used stopImmediatePropagation for Android back button, after showing interstitial ad, pressing back button quits the app rather than doing something else.
any clues on how to fix this?

solved..seems like problem with framework i used

repo: openfl/extension-admob

license: mit

license_source: bigquery


text:
Starling + Dom + Starling Textfield with htmlText = crash

There is an issue where if you use Starling 2.x and OpenFL together with the Dom renderer and add a starling textfield with htmlText, it will cause the browser to lock up. This has to do with the fact that textFormatRanges aren't created when the Dom renderer is used.. This causes an infinite loop when styling is applied.
I'm not sure the best way around this... I can put something in Starling to not allow htmlText when the Dom renderer is used.. or we could add something in the openfl TextField class to create textFormatRanges is starling is being used..
Something like the below
https://github.com/openfl/openfl/blob/develop/openfl/text/TextField.hx
Line 1160
if (#if (js && html5) #if dom false && #end __div == null #else true #end) {
change to
if (#if (js && html5) #if starling true && #elseif dom false && #end __div == null #else true #end) {
Thoughts?

I think this crash in DOM text was solved. If not, please let me know

authors: jgranick peteshand

repo: openfl/openfl