text:
[WFLY-14219] Fix ee-8-api...javax/ws/rs/api/main/module.xml for TCK test

Fix for https://issues.redhat.com/browse/WFLY-14219?focusedCommentId=15680282&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15680282

Thanks @boris-unckel , I will try running the Jakarta EE 8 signature tests locally with https://github.com/boris-unckel/wildfly/tree/WFLY-14219_fix_jakarta_ee8_testdepth

Thanks @boris-unckel , I will try running the Jakarta EE 8 signature tests locally with https://github.com/boris-unckel/wildfly/tree/WFLY-14219_fix_jakarta_ee8_testdepth

Thanks @boris-unckel the Jakarta EE 8 signature tests passed for me locally with this change!

Thanks @boris-unckel the Jakarta EE 8 signature tests passed for me locally with this change!

@bstansberry
This is the fix for an issue found by @scottmarlow with the Jakarta EE 8 TCK regarding the module descriptor. He also tested and approved the fix. Please review and merge.

@bstansberry
This is the fix for an issue found by @scottmarlow with the Jakarta EE 8 TCK regarding the module descriptor. He also tested and approved the fix. Please review and merge.

Thanks @boris-unckel. I filed https://github.com/wildfly/wildfly/pull/13905 to make the same change in WildFly Preview.
That module.xml duplication is a bit of a maintenance hassle. But generally these spec API modules don't change much so hopefully it won't be a recurring hassle. :)

Thanks @boris-unckel. I filed https://github.com/wildfly/wildfly/pull/13905 to make the same change in WildFly Preview.
That module.xml duplication is a bit of a maintenance hassle. But generally these spec API modules don't change much so hopefully it won't be a recurring hassle. :)

source: gharchive/pull-request

authors: boris-unckel bstansberry scottmarlow

repo: wildfly/wildfly

license_type: permissive

license_source: github-api


text:
WFLY-3904 Unable to enable statistics via configuration for resource ada...

...pters

Windows Build 862 is now running using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c

Linux with security manager Build 738 is now running using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c

Linux Build 5751 is now running using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c

Linux with security manager Build 738 outcome was SUCCESS using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c
Summary: Tests passed: 788, ignored: 369 Build time: 0:06:48

Windows Build 862 outcome was SUCCESS using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c
Summary: Tests passed: 2906, ignored: 364 Build time: 0:51:37

Linux Build 5751 outcome was SUCCESS using a merge of 14a015e2d592ebceaee67db168ce282bbe60043c
Summary: Tests passed: 2905, ignored: 364, muted: 1 Build time: 0:53:25

authors: maeste wildfly-ci


text:
XPI Build Process

Create automated build and signing process so the plugin can be installed offline.
https://extensionworkshop.com/documentation/publish/self-distribution/
https://extensionworkshop.com/documentation/publish/signing-and-distribution-overview/
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#web-ext-sign

Turns out firefox makes signing add ons a pain in the ass so I just won't do this.

Turns out firefox makes signing add ons a pain in the ass so I just won't do this.

source: gharchive/issue

repo: wilgaboury/super-speedy-dial

license: MIT


text:
🛑 will.cymru is down

In 0621309, will.cymru (https://www.will.cymru) was down:

HTTP code: 523
Response time: 1806 ms

Resolved: will.cymru is back up in a484166 after 11 minutes.


text:
[Cache] Add new Cache Adapter

Bugfix: no
Feature: yes
BC Break: yes
Tests pass: yes
I add some new CacheAdapter and rename the Cache namespace to CacheAdapter.

@Baachi well, you didn't split the PR, but I'm ok with that, just fix CS

Oh sorry, i fix it :)

We are almost ready :)

Hell yeah, lots of adapters here ! Thanks @Baachi

Fix rename adapters
@willdurand Anything else?

Did you update the doc?
Envoyé de mon iPhone
Le 26 nov. 2011 à 03:00, Markus Bachmannreply@reply.github.com a écrit :

Fix rename adapters
@willdurand Anything else?

Reply to this email directly or view it on GitHub:
https://github.com/willdurand/Geocoder/pull/37#issuecomment-2879456

Good to merge! You're awesome, many thanks!

authors: Baachi dguyon willdurand

repo: willdurand/Geocoder


text:
4-sqlite-performance: quick performance check

For me locally:
modernc.org/sqlite
writes: 9.681202343s
reads: 39.381931ms

mattn/go-sqlite3
writes: 6.531749771s
reads: 18.955969ms

Should've been a draft PR. Closing this now :)

repo: willemschots/househunt


text:
sumneko-lua does not work

Describe the bug
I am on windows system. I installed lsp with this plugin for vim, pyright, c. Thay all work. I also installed sumneko-lua, LspInstallInfo shows that the installation is successful, but when I open a lua file, an error is reported: cmd is not defined. I enter :LspInfo, it shows that 0 server is attached to the buffer. cmd is not defined... There is a linking problem here?
Expected behavior
It should work the same as other lsp.
Screenshots

System info (please complete the following information):

OS: [e.g. macOS 12.1]
Neovim version:

Checkhealth output (:checkhealth nvim-lsp-installer):
Paste `:checkhealth nvim-lsp-installer` output here

Please also include any other system information you think is relevant!
Install log
If applicable, include nvim-lsp-installer's logs. See :help nvim-lsp-installer-debugging for instructions on how to set the log level and access the logs.
Paste your logs here

Hello! Try upgrading your lspconfig plugin, the default cmd was added there about a month ago

It works. Thanks a lot!

authors: Q-Xue williamboman

repo: williamboman/nvim-lsp-installer


text:
移除或改造unittest相关部分

定制化的 unitest.TestCase 部分在这个框架中显得有些冗余。实际上这个部分应该由业务方来决定，后续将不再出现在框架内，或成为可选插件。

目前决定暂时不进行改动，但不再推荐直接使用 FTestCase 的用法。

repo: williamfzc/fitch


text:
Allow setting {currentPositionX, currentPositionY}

Description of the problem
I'm implementing a photo viewer. You start with the image fully zoomed out. This image is a low-resolution thumbnail. As you zoom in, this triggers a load of the original high-resolution image. Of course, the new image has different dimensions.
I preserve the old state of image-zoom, then I dispose the old image-zoom bound to the old img element, and replace it with a new image element and re-initialize image-zoom.
Then, I update the old state by turning the old currentPositionX/Y into a percentage. I then calculate the new values for the the new image dimensions that are an equivalent to the old image position. I try to set new state on image-zoom, but image-zoom ignores the currentPositionX/Y values.
Could image-zoom be enhanced to allow me to set the currentPositionX/Y values? Or better yet, allow me to read/write the values using percentages?

Hi Min, thanks for your contribution to the project. I would like to ask if it's possible for you to reproduce an issue in a dedicated repo and share it to me to have a look? I then will able to provide my expertise on that. Thanks :)

Hi. I did manage to create a demo of the problem. In fact, in creating this demo the problem manifests a bit worse than in the actual app. Load up this URL, and then click 'Problem'
You'll see an image of a bird load. Then zoom in to the bottom right corner of the image. This will trigger a background load of a higher rez image. After the image is loaded, the x/y position of the bird is lost, even if i did the calculations to convert the old x/y position based on the higher rez image dimensions.
Additionally, I'm limiting the height/width of the image element here, so that when the new image loads in, it doesn't rescale/reflow the entire layout. But even with the height/width constrained, there is a very noticeable reflow/layout while the zoom-image lib initializes.
I've added a delay to the high-rez image load, to give you a change to zoom deeply before the image is replaced.
I was able to find a workaround, since I also included. In the workaround, I basically only replace the img element with the new data - and do not destroy/recreate the container div. This ends up working great. I'm not sure why this is working.
However, I do think it would be a nice addition if the library supported an ability to initialize itself to a previous state including the x/y positions - ZoomImageWheelStateUpdate only allow you to set zoom level and rotation. This would be important if you were to start with an image that has been already zoomed into the bottom right corner of the image, for example.
Alternatively, maybe add a function to re-read the image height/width from the element - and adjust itself to fit that.
Repro case is here: https://stackblitz.com/edit/vitejs-vite-neurej?file=src%2FApp.svelte

I wonder why you needed key to reset things on image's src change. The DOM is good to preserve in this case I believe 😄
I removed that and it works as I expected https://stackblitz.com/edit/vitejs-vite-hie4ux?file=src%2Flib%2Fproblem.svelte

However, I do think it would be a nice addition if the library supported an ability to initialize itself to a previous state including the x/y positions - ZoomImageWheelStateUpdate only allow you to set zoom level and rotation

Yeah. I think it's a nice feature to have and it's quite doable. I will find sometimes to implement this. Thanks 😊

Hi there, after some thinking I conclude that we should go on and stick to the minimal option for now which is having support for initialState - this should be enough to restore previous zooming position. The more code we add, the bigger the bundle size. Whether or not to expose currentPositionX and currentPositionY can be waited until we have more valid use cases 😉

Hi there, I closed an issue as it should be now possible to initialize state on load with initialState option already :)


text:
Buffer Grouping

Hi,
is there a possibility to group buffers together via specific criteria like regex or file-extension? As someone working with a big ansible project, it would be nice to group the inventories together and automatically collapse/fold in if not focused right now.
(similar to https://github.com/akinsho/bufferline.nvim#groups)

Currently not implemented, but that's definitely something I'd like to add!

authors: Zombiefleischer willothy

repo: willothy/nvim-cokeline


text:
🛑 willpxxr.com is down

In f53b0ba, willpxxr.com (https://willpxxr.com) was down:

HTTP code: 999
Response time: 188 ms

Resolved: willpxxr.com is back up in ce2a7bc after 36 minutes.


text:
not found

I followed the steps in the readme to configure Cloudflare for my Dream Machine. When I go to my worker url, I see 'not found'. Is that the expected behavior?

pretty much. your worker is expecting additional information to be sent with the url, and since that information is missing it fails to the not found response. If I'm reading it right you might not have added the /update at the end of your worker, which would have failed every case in the switch.

Thank you for responding! I'm new to this, and trying to learn.
I did append 'update' to the string I entered into the server field of the dyndns setup on my UDM. Following the instructions, it looks like this:
xxxx.xxxx.workers.dev/update?ip=%i&hostname=%h

@andrew-davis, the behavior you're encountering when visiting the worker url in your browser, is expected as @Cohors1316 mentioned.  the worker does not serve website content like a traditional web server, it is only listening for a HTTP POST from your UniFi device.

authors: Cohors1316 andrew-davis willswire

repo: willswire/unifi-cloudflare-ddns


text:
How to binding a website in IIS

I tried to add SSL to IIS site by command: wacs --source iis --siteid 12
Also I tried wacs --source iis --siteid 12 --sslport 443
It create certificate but is not binding to site. Need manually in IIS add new record with port 443 and assign the created certificate from dropdown list.
How automatically create the SSL and binding (assign) to selected website (domain)?

Add --installation iis, that should do the trick

repo: win-acme/win-acme


text:
Error with SvelteKit

Describe the bug

On Windows:

Did pnpm init svelte@next
Followed the steps in this repo with import "virtual:windi.css" inside src/$layout.svelte
pnpm run dev gives the error

Minimal Reproductions

repository
Versions

vite-plugin-windicss: 0.8.3
vite: 2.1.0
framework(vue/react/svelte/etc): sveltejs/kit 1.0.0-next.49

Additonal Context
On pnpm run dev:
> Executing task: pnpm run dev <

> windinew@0.0.1 dev C:\Users\HP\Desktop\windinew
> svelte-kit dev

failed to load config from C:\Users\HP\Desktop\windinew\vite.config.js
> WindiCSS is not a function
TypeError: WindiCSS is not a function
    at file:///C:/Users/HP/Desktop/windinew/vite.config.js?t=1615900612482:14:3
    at ModuleJob.run (node:internal/modules/esm/module_job:154:23)
    at async Loader.import (node:internal/modules/esm/loader:166:24)
    at async loadConfigFromFile (C:\Users\HP\Desktop\windinew\node_modules\.pnpm\vite@2.1.0\node_modules\vite\dist\node\chunks\dep-6f1d3d8c.js:46129:31)
    at async resolveConfig (C:\Users\HP\Desktop\windinew\node_modules\.pnpm\vite@2.1.0\node_modules\vite\dist\node\chunks\dep-6f1d3d8c.js:45783:28)
    at async Object.createServer (C:\Users\HP\Desktop\windinew\node_modules\.pnpm\vite@2.1.0\node_modules\vite\dist\node\chunks\dep-6f1d3d8c.js:68984:20)
    at async Watcher.init_server (file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/chunks/index.js:3225:24)
    at async Watcher.init (file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/chunks/index.js:3195:3)
    at async file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/cli.js:474:20
file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/chunks/index.js:3488
                this.viteDevServer.close();
                                   ^

TypeError: Cannot read property 'close' of undefined
    at Watcher.close (file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/chunks/index.js:3488:22)
    at process.<anonymous> (file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/chunks/index.js:3185:9)
    at process.emit (node:events:379:20)
    at process.EventEmitter.emit (node:domain:470:12)
    at process.exit (node:internal/process/per_thread:178:15)
    at handle_error (file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/cli.js:451:10)
    at file:///C:/Users/HP/Desktop/windinew/node_modules/.pnpm/@sveltejs/kit@1.0.0-next.49_d563d1e4217ff8882402c11be2b46d5a/node_modules/@sveltejs/kit/dist/cli.js:487:4
 ERROR  Command failed with exit code 1.

Try
import { default as WindiCSS } from 'vite-plugin-windicss';

but if you remove the type: "module", it works.

This works. Thank you.

import { default as WindiCSS } from 'vite-plugin-windicss';

Could not get this to work.
Also could you tell if using svelte-windicss-preprocess or this one is better with SvelteKit?

@NoelJacob This worked for me without removing type: "module" :
import WindiCSS from 'vite-plugin-windicss'

export default {
  plugins: [WindiCSS.default()],
  // other kit stuff ...
}

Using vite.config.ts could be another option as well.
Close as this is more like a Node/ESM problem than the project itself. Thanks.

I've also ran into this with "type": "module" (I load my vite config on the server and one of my server deps is esm-only so I have to use "type": "module" on both the client and the server).
A fix that seems to work perfectly is going into the plugin's package.json and adding this:
"exports": {
  ".": {
    "import": "./dist/index.mjs",
    "require": "./dist/index.js"
  }
}

Which seems odd and redundant but hey, my editor doesn't complain anymore and it seems to work fine in the vite dev server.
So is there a possibility of this fix getting added? Is there any drawback to adding it? Should I open a PR?

@ohmree  you should do a PR for that. I added that to the package.json file and it fixed the import issue. I am keeping my version static with that change until this comes through . @antfu  accept PR please

You need to import it like import * as WindiCSS from "vite-plugin-windicss" instead of import WindiCSS from "vite-plugin-windicss" otherwise you get this error:
Error: Property 'default' does not exist on type '(userOptions?: UserOptions | undefined, utilsOptions?: WindiPluginUtilsOptions | undefined) => Plugin[]'.
      },
      plugins: [WindiCSS.default()]
    }

====================================
svelte-check found 1 error, 0 warnings, and 0 hints

@ohmree @joshua1 @antfu What happened to the PR?

Perhaps it would be reasonable to add a similar fix to the one in unplugin-icons in this package?
It would be really cool if tsup supported this behavior out of the box, it would make it seamless to use Vite plugins in projects with or without "type": "module".

authors: ElMassimo JustinVoitel NoelJacob antfu joaopaulobdac joshua1 ohmree

repo: windicss/vite-plugin-windicss


text:
An extension to use pack and buildpacks to build container images

First pass at an extension for using pack. There are a few arguments on pack that would be useful to expose here as well, but this covers the main use case I think.
@victorwuky as mentioned in the docs.

Thanks @garethr !
@landism can you please review? Thanks!

@kvedurmu thanks for the review. Fixed. Much appreciated. I was going to post in Slack when this got merged.

@landism thanks for the review, I've address the comments. Anything else let me know.

LGTM, thanks!

authors: garethr landism victorwuky

repo: windmilleng/tilt-extensions


text:
Update main.yml

Fix for https://jira.wingcon.com/browse/WSP5-206

fixed in a better way with 4d14484

repo: wingcon/ansible-role-zookeeper


text:
Automatic course subscription

Every new user has to be automatically subscribed to specific courses. To achieve that, we have to use autoenrol plugin:
Possible plugins to use:
https://moodle.org/plugins/enrol_autoenrol (last version for M2.8)
https://moodle.org/plugins/enrol_auto (last version for M3.0)
Although there aren't new version for recent Moodle releases, the plugins could work properly. Testing needed.

https://moodle.org/plugins/enrol_auto only working in Browser (Moodle 3.3)
Possible solution: Observe other events in plugin db/events.php

Sadly Mobile Web Service does not trigger events like user_loggedin.
enrol_self_enrol_user might work.
https://docs.moodle.org/dev/Web_service_API_functions

We do not need this event. The event we need is user_created.

authors: dasistwas winnidat


text:
[Bug]: Getting info and error in different formats not in text format, getting error as a key value pair

🔎 Search Terms
winston logger error wrong format
The problem
When we log info or error, getting wrong format which in not in text
ERROR {"0":"P","1":"l","10":"e","11":"r","12":"s","13":"i","14":"o","15":"n","16":" ","17":"I","18":"n","19":"v","2":"a","20":"a","21":"l","22":"i","23":"d","3":"t","4":"f","5":"o","6":"r","7":"m","8":" ","9":"V","service":"log","timestamp":"2022-10-31 13:19:31.6777"}
INFO {"0":"{","1":"}","service":"log","timestamp":"2022-10-31 13:19:31.0931"}
What version of Winston presents the issue?
v3.8.1
What version of Node are you using?
v16.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response

You don't share the code which allows reproduction here, but it looks like you're probably accidentally converting the string "Platform Version: Invalid" to an array and having that converted to an object. Closing for lack of attempt at a minimal verifiable example.

repo: winstonjs/winston


text:
Usage should be installed for completions to work

https://usage.jdx.dev/ has to be installed first for completions to work now. Would be good to include in readme.
mise use -g usage

Thanks @inventfossil will update the README to reflect the need to install usage.

Plugin updated accordingly.

authors: inventfossil wintermi

repo: wintermi/zsh-mise


text:
Add PHP7 with travis

All is in the title.

You should also add sudo: false to use container based platform architure on travis and make cache directories properly works ;)

Thanks @ProPheT777 I made the change.

Thanks @blazarecki!

authors: ProPheT777 blazarecki winzou

repo: winzou/state-machine

license: mit

license_source: bigquery


text:
Attempt to fix delay tests

Attempt to fix unit tests introduced by #31 which can now be exercised by #34.

Stopwatch.elapsed(TimeUnit) loses precision if there are fractional units. From the Stopwatch.elapsed(TimeUnit) docs:
Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, with any fraction rounded down.

Note: the overhead of measurement can be more than a microsecond, so it is generally not useful to specify TimeUnit.NANOSECONDS precision here.

It is generally not a good idea to use an ambiguous, unitless long to represent elapsed time. Therefore, we recommend using elapsed() instead, which returns a strongly-typed Duration instance.

repo: wiremock/wiremock-grpc-extension


text:
Add WireMock Spring Boot to the Solutions page

Apparently I forgot to do it in May @maciejwalkowiak

Submitter checklist

[ ] The PR request is well described and justified, including the body and the references
[ ] The PR title represents the desired changelog entry
[ ] If the change against WireMock 2 functionality (incompatible with WireMock 3),
it is submitted against the 2.x branch
[ ] The repository's code style is followed (see the contributing guide)

Details: Contributor Guide

Yay thank you!

authors: maciejwalkowiak oleg-nenashev


text:
Replace net.jockx:littleproxy by JDK

Replace net.jockx:littleproxy by JDK

Great stuff, thanks for the PR. Looks great

repo: wiremock/wiremock


text:
Skip congrats bot action on [ci] format commits

What kind of changes does this PR include?

Something else!

Description
#1199 added a CI task to automatically format our source code with Prettier after each commit merges into main. This PR adds a check to our congrats bot action so that when a [ci] format commit lands, we don’t congratulate the bot on Discord.

Aww... just when we were leaning into Fred K Bot, Official Mascot... 😂  LGTM!

😂 I was afraid everyone’s PRs IMMEDIATELY followed by a format commits could be a little passive aggressive.
congratsbot: WELL DONE 🎉
fredkbot: format 🤖

repo: withastro/docs


text:
Add html to RSS guide

What kind of changes does this PR include?

New or updated content

Description

Recommend html helper for rendering Markdown contents https://github.com/withastro/astro/pull/6097
Add MDX caution banner to make instructions more explicit. Felt like we were hiding this caveat before

Hi @bholmesdev - I think this idea was scrapped, and so this PR can be closed now. Please reopen if that's not the case! (There were actually two open Docs PRs associated with this, one from you and one from @bluwy , but only that one was closed alongside the Astro PR.)


text:
i18n(pt-BR): Add api-reference.md translation

What kind of changes does this PR include?

[ ] Minor content fixes (broken links, typos, etc.)
[ ] New or updated content
[X] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description
Add api-reference.md pt-BR translation. Special 100th contribution edition :tada:

@Yan-Thomas, great work here!!!

Thanks @victor0x16!!


text:
i18n(zh-cn): Update images.mdx

Description (required)
Update images.mdx
Related issues & labels (optional)

#6797
#6799

Thank you for the update. The check link CI failed.

Sorry. Withdrawn LGTM. The missing-image-dimension.mdx also has outdated content that needs updating.
See: https://github.com/withastro/docs/pull/6895

authors: huyikai liruifengv


text:
docs: Add more plugins & tools

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description
Following the release of Starlight v0.19.0, starlight-blog and starlight-openapi have now been refactored to Starlight plugins. This PR moves them to the appropriate section in the docs site.
The PR also adds starlight-obsidian to the plugin list and starlight-i18n to the tools list.

LGTM 👍

authors: HiDeoo at-the-vr

repo: withastro/starlight


text:
Add folksrouter.io to showcase

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description
Add folksrouter.io to showcase

Thanks for noticing, I guess Figma tricked me.


text:
Feat: Add CELO/EUR to Celo networks

Closes #29, #30 and https://github.com/witnet/data-feed-app/issues/97.

@guidiaz Merge and close so that we can keep our burndown as linear as possible!

authors: aesedepece guidiaz

repo: witnet/witnet-price-feed-examples


text:
Taps Not Working on Simulator

Describe the bug
When the tap method is called, Detox attempts to tap the button (as the circle shows up) but nothing happens. If instead of tap I use multiTap(2) the button works correctly. If I click on the button on the simulator the button works correctly so tap should as well.
To Reproduce

[x] I have tested this issue on the latest Detox release and it still reproduces

Environment (please complete the following information):

Detox: 12.11.0
React Native: 0.59.8
Node: 10.15.3
Device: iPhone 7
Xcode: 10.2.1
iOS: 12.2
macOS: 10.14.3

Not sure what you expects us to do here. This is most likely a problem on your end, rather than Detox. Create a new, clean project, try to reproduce it, and if you can, please attach that project here.

@LeoNatan doesn't the tap function mimic the same thing as when I press on a button through the simulator? Why would one work but not the other?
It's not the problem of getting the wrong element because multiTap is able to replace tap and work.

Touch events are generated using the same low-level system API as normal events are reported to the app. Since you mentioned that the touch indicator circle shows up when you tap(), that means the system has correctly sent the touch events. This is why I suspect a problem on your end, rather than in Detox.

@LeoNatan Could it have anything to do with it being the second instance of the button on the screen?
    await element(by.text('LOG IN')).tap(); // navigates to log in screen
    await logIn('autotest', 'autotest'); // function to fill out form
    await element(by.text('LOG IN')).atIndex(1).multiTap(2); // just tap doesn't work
    await element(by.id(AppMenu.MenuButton.ProfilePhoto)).tap(); // works

If not, since tap seems to work with other elements I'll just leave multiTap.

Why not add a testID and match by.id()?

@LeoNatan I tried switching it to id and tap still doesn't work.

If you see the circle touch indicator, the tap works. Your app doesn't respond to it.

I will please direct you to Stack Overflow for more assistance, as there is not much else we can do here.

authors: LeoNatan ReshmiCode

repo: wix/Detox


text:
expect(...).toBeVisible is not a function

Description
After upgrading to jest@26.5.x and jest-circus@26.5.x, all Detox tests began failing with:
TypeError: expect(...).toBeVisible is not a function

Expected behavior
Detox should initialize its global variables correctly, i.e.: Jest's expect should not shadow the Detox's expect.
Actual behavior
CustomDetoxEnvironment sets Detox globals and matchers including this.global.expect, but then, a few moments later the Detox's expect gets overwritten with Jest's one.
Screenshots

See: https://github.com/facebook/jest/pull/10484

Temporary solution
Lock your jest and jest-circus dependencies to 26.4.x, like demonstrated here:

Can we catch this and throw an error?

Catch what and which error do you want to throw, could you elaborate pls? I'll check in the morning

If jest is above the version we support.

authors: LeoNatan noomorph


text:
Count all elements in a scrollview

Description
Hi !
First of all, thanks for Detox, it's awesome !
I'm having troubles understanding how the by.id works.
I thought it matched all elements (not only visible ones) so matchers as toExist could be applied.
But it seems it doesn't work that way: I have a scrollview with n elements, and i'm using the following function to try and count them:
export async function elementCount(matcher) {
  let attributes = { elements: [] }
  try {
    attributes = await element(matcher)?.getAttributes()
  } catch (e) {
    return 0
  }
  if ("elements" in attributes) {
    return attributes.elements.length
  } else {
    return 1
  }
}

I'm trying to test an element deletion, so the test expects the new count to be equal to the old count - 1, but it seems count is always 0
Any ideas on how to achieve what i'm trying to do ?
Your environment
Detox version: 19.5.1
React Native version: 0.67
Node version: 14.19.1
Device model: Samsung Galaxy A
OS: Android
Test-runner: jest-circus

not stale

Hi @Alaa-Ben, this is a very interesting case, however, without reproduction, it will be very hard for us to investigate that. Can you please provide a small reproduction code (or project) for such view and test? this would be very helpful!

@asafkorem Well as I said, it's a pretty standard case.
Take a classic Scrollview, put like a view or text element with a testID, then copy then element n times (as long as the scrollview becomes scrollable), then query the elements. And you'll notice only the visible elements are queried.

@Alaa-Ben wouldn't it be enough to assert that the element exists before the deletion and that it does not after it? Having it switched instead to somewhere outside the list's rendered area is very unlikely 😅

Also, could you share the error you get in -
catch (e) {
    return 0
}

?

FWIW This is likely a duplicate of #3196, and probably works well on iOS (and will work well on Android once fixed).

authors: Alaa-Ben asafkorem d4vidi pradeipp


text:
Profiler framework incompatible with RN 0.64.1 / Xcode 12.5

Description
Just reproduced this on 2 machines. Trying to build a project with the profiler framework using RN 0.64.1 and Xcode 12.5 causes the app to pause on a breakpoint and crash later.
Steps to Reproduce
Steps to reproduce the behavior:

Build an app with the profiler framework in Xcode 12.5 / RN 0.64.1
Only way to fix is to remove profiler framework

Environment

Model: Any MacBook
OS: latest Big Sur
Xcode: 12.5

iOS Device (please complete the following information):

Model: Any simulator
OS: 14.5

Hi, I'm facing the same problem, Macbook M1, Big Sure, RN 0.65.1...

Looks like DetoxInstruments don’t have support more..

Unable to run it on M1 at all

It looks like there are several issues in the current version.
The crash is probably related to this traceback:
* thread #3, queue = 'com.apple.activity.stream.78406', stop reason = EXC_BAD_ACCESS (code=1, address=0x70)
  * frame #0: 0x00007ff833e2e6b2 libsystem_platform.dylib`_platform_strlen + 18
    frame #1: 0x00007ff800c6b54e Foundation`+[NSString stringWithUTF8String:] + 29
    frame #2: 0x0000000107bda65c DTXProfiler`__46-[DTXLiveLogStreamer startLoggingWithHandler:]_block_invoke(.block_descriptor=<unavailable>, entry=<unavailable>, error=<unavailable>) + 431 [opt]
    frame #3: 0x00007ff816e4f1a4 LoggingSupport`___os_activity_stream_resume_with_filter_block_invoke + 235
    frame #4: 0x00007ff8000859b4 libxpc.dylib`_xpc_connection_call_event_handler + 56
    frame #5: 0x00007ff800085dd4 libxpc.dylib`_xpc_connection_mach_event + 1015

I've tried to troubleshoot the issue ending up with the final conclusion that late/current versions of LoggingSupport.framework are buggy.  Disabling the DTXLiveLogStreamer logic depending on ActivityStreamSPI.h fixes the crash, allowing the profiller to initialize.
Nevertheless, there is an apparently new -second- issue: the UI shows the application in the "Select application to profile" list only during some seconds in a disabled way before disappearing again, therefore, it definitively looks like there is additional work to be done in the UI for compatibility with current SDKs and Xcode.
I will try to troubleshoot this again when I have more some time.

authors: jduarter thibmaek virgule-xyz vlanemcev whalemare

repo: wix/DetoxInstruments


text:
Can not dismiss all modals at once

In case when I open a modal on top of another modal and then do:
this.props.navigator.dismissModal({animationType: 'none'});
this.props.navigator.dismissModal({animationType: 'none'});

second modal does not get closed. However this closes both modals:
this.props.navigator.dismissModal({animationType: 'none'});
setTimeout(() => {
  this.props.navigator.dismissModal({animationType: 'slide-down'});
})

If I were to use sliding animation in dismissing first modal the setTimeout would not help.
I would like to have navigator.dismissAllModals method, that animates only last modal dismissal and silently dismisses everything else too

This sparked an interesting discussion between @artald and myself..
It's possible that to dismiss two modals quickly isn't supported out of the box on iOS, because the modal doesn't stop being the presentedViewController until the dismiss animation is over.
If we have modal B over modal A, what we originally wanted to support was dismissModal(B) with animation and immediately dismissModal(A) without animation. Hopefully this would have gotten the wanted result of B (the topmost) animating away and revealing the original content. We'll need to play with this and see if it's possible to do.
We should also add support for dismissAllModals. It's probable that we'll need to use the same approach as setController animated and take a snapshot of the screen and do the animation manually.

@talkol I added support for dismissing all presented view controller. see here: b41e5ad.
I think it's a solution we can live with for now and in this case we can close this issue (after you tell me that it works for you..)

Great job! released in 1.3.1

authors: artald talkol tautvilas

repo: wix/react-native-controllers


text:
FlatList Pull to refresh not working inside Interactable.View in Android

I have used FlatList inside Interactable.View with Pull to Refresh feature. I used Interactable.View to intergrate drag action to open Navigation Menu Drawer.
<View style={styles.container}>
                <Menu
                    onItemSelected={this.onItemSelected}
                    navigation={this.props.navigation}
                />
                <Interactable.View
                    style={styles.interactable}
                    ref={component => this.interactableView = component}
                    horizontalOnly={true}
                    animatedNativeDriver={true}
                    snapPoints={[{ x: 0, y: 0, damping: 0.8 }, { x: SideMenuWidth, y: 0, damping: 0.8 }]}
                    boundaries={{ left: 0, right: SideMenuWidth, top: 0 }}
                    initialPosition={{ x: 0, y: 0 }}
                    onSnap={this.onSnapInteractable}
                    startOnFront={true}
                >
                    <Home
                        ref={component => this.home = component}
                        onToggleBurger={this.toggleMenu}
                        navigation={this.props.navigation} />
                </Interactable.View>
                <Loading isLoading={this.props.isLogining} />
</View>

In Home:
           <FlatList
                style={{zIndex: 10}}
                refreshing={this.state.isRefreshing}
                onRefresh={this._refreshData}
                initialNumToRender={5}
                maxToRenderPerBatch={5}
                data={this.state.sections}
                getItem={(data, index) => data.get(index)}
                getItemCount={(data) => data.size}
                onEndReachedThreshold={0.5}
                keyExtractor={this._getKeyExtractor}
                renderItem={this._renderItem}
                ListEmptyComponent={this._renderEmpty}
                ListFooterComponent={footerView}
                removeClippedSubviews={true}
            />

Pull to refresh feature working fine in iOS but in Android it's not working or hard to pull.
Have any suggest to solve this isssue?

@sinhpn92 I didn't manage to reproduce it as you suggested. Can you provide a small reproducible project that demonstrates this bug?

repo: wix/react-native-interactable


text:
노하우 창 이전 버튼 오류

노하우 창에서 이전 버튼을 구현하였지만, 이전의 창으로 넘어가는 것이 아닌 창이 닫히는 현상이 생겼습니다.

수정 완료


text:
How to reproduce visualization results in README?

Thanks for your wonderful work!
I'd like to reproduce the visualization results in your README.
I tried to add following 2 lines before demo/demo.py#L29:
from detectron2.projects.idol import add_idol_config
    add_idol_config(cfg)

But it returrn this:
appuser@0916140fb4f2:~/VNext/demo$ python demo.py --config-file ../projects/IDOL/configs/ytvis19_swinL.yaml --video-input ../0b6db1c6fd.mp4 --output ../out --opts MODEL.WEIGHTS ../YTVIS19_SWINL_643AP.pth
[08/05 06:23:21 detectron2]: Arguments: Namespace(confidence_threshold=0.5, config_file='../projects/IDOL/configs/ytvis19_swinL.yaml', input=None, opts=['MODEL.WEIGHTS', '../YTVIS19_SWINL_643AP.pth'], output='../out', video_input='../0b6db1c6fd.mp4', webcam=False)
/home/appuser/.local/lib/python3.7/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  ../aten/src/ATen/native/TensorShape.cpp:2157.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
[08/05 06:23:28 fvcore.common.checkpoint]: [Checkpointer] Loading from ../YTVIS19_SWINL_643AP.pth ...
[ERROR:0@10.023] global /io/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp (2927) open Could not find encoder for codec_id=27, error: Encoder not found
[ERROR:0@10.023] global /io/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp (3002) open VIDEOIO/FFMPEG: Failed to initialize VideoWriter
[ERROR:0@10.036] global /io/opencv/modules/videoio/src/cap.cpp (595) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.6.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /tmp/video_format_test3zylu0ek/test_file.mkv in function 'icvExtractPattern'

  0%|                                                                                | 0/20 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "demo.py", line 178, in <module>
    for vis_frame in tqdm.tqdm(demo.run_on_video(video), total=num_frames):
  File "/home/appuser/.local/lib/python3.7/site-packages/tqdm/std.py", line 1195, in __iter__
    for obj in iterable:
  File "~/VNext/demo/predictor.py", line 129, in run_on_video
    yield process_predictions(frame, self.predictor(frame))
  File "~/VNext/detectron2/engine/defaults.py", line 317, in __call__
    predictions = self.model([inputs])[0]
  File "/home/appuser/.local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "~/VNext/projects/IDOL/idol/idol.py", line 249, in forward
    video_len = len(batched_inputs[0]['file_names'])
KeyError: 'file_names'

Could you give me some hint about how to pass right batched_inputs to forward function?

same error

Same error. Please can you help us?

I am using ytvis19_swinL.yaml  and YTVIS19_SWINL_643AP.pth as model weights. We can skip the 'file_names' error by removing ['file_names'] from this command: video_len = len(batched_inputs[0]['file_names']). But it remains a problem related to the predictions outputted by the model. It contains these keys: dict_keys(['image_size', 'pred_scores', 'pred_labels', 'pred_masks']) and not any of the detectron expected ones: "panoptic_seg", "instances" or "sem_seg" used for formatting qualitatively the output. Do we have to modify the detectron2 functions somehow for the IDOL configuration?
Thanks a lot

Did you find any solution for that?

I'm struggling with the some error:
video_len = len(batched_inputs[0]['file_names']) KeyError: 'file_names'
Did you find a solution please?

Not yet solved. Can the authors help here?!
Thanks

If you did training, did you get AP results after evaluation in the log.txt file?!
I'm trying to get somewhere with this repository, but even though I manage the train the code, I couldn't see results and I couldn't able to test that results with demo either.
Please help!!

Hi, I have the same problem, have you solved it ?

https://github.com/wjf5203/VNext/issues/11#issuecomment-1348089140

Hi, I have the same problem, have you solved it ? thanks

I'm struggling with the some error: video_len = len(batched_inputs[0]['file_names']) KeyError: 'file_names'  Did you find a solution please?

Hi, I have the same problem, have you solved it ? thanks

@unihornWwan  sadly not yet.  @aylinaydincs  can you give us more detail on how you menage to train, which model , config file did you use and the parameters please. I'm struggling to launch the training.

@unihornWwan sadly not yet. @aylinaydincs can you give us more detail on how you menage to train, which model , config file did you use and the parameters please. I'm struggling to launch the training.

I simply create a conda environmetn follow the INSTALL.md, after that I did what they say in IDOL.md

@unihornWwan  thanks for answering.

@assia855 @unihornWwan I have the same issue to run the demo.py on a video. Have you solved it?

@Mamatharun Hi, have you managed to run the demo.py on a video?
This is the error I'm trying to address:
OpenCV(4.7.0) /tmp/pip-install-vfgn61sf/opencv-python_0e92223a8fb94f898aa6f1cb2444dc3e/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /tmp/video_format_testu6cdg5yz/test_file.mkv in function 'icvExtractPattern'

@assia855 @unihornWwan I have the same issue to run the demo.py on a video. Have you solved it?

I've updated the demo_idol.py and predictor.py to visualize on videos. Currently I can draw the bounding boxes and the IDs. But not sure how to match the labels and confidence levels to IDs , since there are more labels and confidences returned than IDs.
My forked repo is over here https://github.com/reno77/VNext .
Cmd to infer on videos is : python projects/IDOL/demo_idol.py --config-file projects/IDOL/configs/ovis_swin.yaml --video-input input.mp4 --output output1.mp4

@assia855 @unihornWwan I have the same issue to run the demo.py on a video. Have you solved it?

I've updated the demo_idol.py from lalalafloat to visualize on videos. I've set is_multi_cls to False to match the IDs to the pred_scores. My forked repo is over here https://github.com/reno77/VNext . Cmd to infer on videos is : python projects/IDOL/demo_idol.py --config-file projects/IDOL/configs/ovis_swin.yaml --video-input input.mp4 --output output1.mp4

你好，我直接推理可视化结果到了视频帧上，但目前还没不知道怎么得到mAP这些指标，可以一起交流下么，qq2211733735

Hi, currently there's no mAP output since only a video is passed in. You'll need to provide the ground truth bounding boxes json file and implement your own function in demo_idol.py to read the file in and generate mAP by finding out the IOU between the ground truth and the inferred bboxes.

@reno77 wan I have the same issue to run the demo.py on a video. Have you solved it?

I've updated the demo_idol.py from lalalafloat to visualize on videos. I've set is_multi_cls to False to match the IDs to the pred_scores. My forked repo is over here https://github.com/reno77/VNext . Cmd to infer on videos is : python projects/IDOL/demo_idol.py --config-file projects/IDOL/configs/ovis_swin.yaml --video-input input.mp4 --output output1.mp4

你好，我直接推理可视化结果到了视频帧上，但目前还没不知道怎么得到mAP这些指标，可以一起交流下么，qq2211733735

Hi, currently there's no mAP output since only a video is passed in. You'll need to provide the ground truth bounding boxes json file and implement your own function in demo_idol.py to read the file in and generate mAP by finding out the IOU between the ground truth and the inferred bboxes.


text:
大神https://github.com/wjz304/arpl-i18n是不是关闭了？

大神https://github.com/wjz304/arpl-i18n是不是关闭了？

真是遗憾

宫廷玉液酒

可以了，我还在找更新呢

刚跟着指导到这一步 就gg了

作者: Ing

QQ群1: 21609194 点击链接加入QQ群
QQ群2: 73119176 点击链接加入QQ群
QQ群3: 51929774 点击链接加入QQ群
QQ群4: 49756829 点击链接加入QQ群
QQ频道: RR Org 点击链接加入QQ频道
TG频道: RR Org 点击链接加入TG频道


text:
Option to restore system as before --up was called

Your script is used in https://github.com/nstinus/nordvpn.
In our use case, people could want to use vpnfailsafe to ensure that an active service having a dropping connection is still safe but also having the option to stop the openvpn service in which case, they might want to come back to how it was before and still be able to connect to the internet. That means doing some things the documentation explicitly mentions as not being done (removal of firewall rules a.s.o.).
Is it reasonable? Is there a reason why it is not implemented?

Hi @nstinus. I will publish a "reset" script this week.

Hi @nstinus. I added the extras/ directory with some helpers, including vpnfailsafe_reset.sh, which does what you asked for.
The AUR package installs these files under /usr/share/doc/vpnfailsafe/ , without executable permissions.
I need to work on the AUR package anyway, so I'll look into whether this location, or permissions should be changed.

@wknapik I confirm it works. Thank you!
Until you fix the package, I'll set up a workaround. Any issues with just setting x permissions on these scripts?

Hi @nstinus. I don't think scripts should be run from /usr/share/doc. That's a place for documentation. At the same time I don't want to put them in /usr/bin, or /etc/openvpn/client, because most people probably don't want them there. They're meant as examples, that a few will choose to copy to some other location, maybe customize to their needs and use. As for vpnfailsafe_reset.sh specifically, I'm guessing the vast majority will be satisfied by systemctl restart iptables.service, or some such standard method of restoring iptables rules and won't care much about the /etc/hosts entries.
If your script wants to call vpnfailsafe_reset.sh for instance, it seems reasonable for that script to copy it so, say, /etc/openvpn/client and +x it. At the moment it seems to me like the best way to handle this.
I said I was planning to work on the Arch package, because OpenVPN 2.4 made /etc/openvpn/client a more suitable location for vpnfailsafe.sh, than /etc/openvpn, but I also don't want to break existing installations, where people already have /etc/openvpn/vpnfailsafe.sh hardcoded in their configs. I'll have to figure out a way to make this transition painless, when I have the spare time.
Thanks for the report.

authors: nstinus wknapik

repo: wknapik/vpnfailsafe


text:
First delivery

In this delivery, I made just the basic tests;
The tests  are in a directory named tests;

In this delivery, I fixed the basic tests;
Add some intermediate tests;
Created a GitHub Action to run the tests;

In this delivery:

Fixed the previous tests;
Add the advanced tests;
Add the ESLint to the project;


text:
Error response from daemon, wait until the container is running

I follow the instruction. I changed domains and mail in init-letsencrypt.sh and app.conf.
When I run ./init-letsencrypt.sh, I get error:
### Creating dummy certificate for kosyachniy.com ...
Generating a RSA private key
.....+++++
.............................+++++
writing new private key to '/etc/letsencrypt/live/kosyachniy.com/privkey.pem'
-----

### Starting nginx ...
Recreating nginx-certbot_nginx_1 ... done

### Deleting dummy certificate for kosyachniy.com ...

### Requesting Let's Encrypt certificate for kosyachniy.com ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for kosyachniy.com
Using the webroot path /var/www/certbot for all unmatched domains.
Waiting for verification...
Challenge failed for domain kosyachniy.com
http-01 challenge for kosyachniy.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: kosyachniy.com
   Type:   connection
   Detail: Fetching
   http://kosyachniy.com/.well-known/acme-challenge/BMxxYdv7natNOi8C6C29sGc9Y7SUY9OFmlhaGxA_R2o:
   Connection refused

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.

### Reloading nginx ...
Error response from daemon: Container d91885e4419fed65d3539f8ec9f0ed880b3a4f2eb82f1468e3f825349dde727d is restarting, wait until the container is running

How can I fix it?

Happened to me, I had not changed the domain properly, so the path to the certificated was invalid, preventing nginx from starting

I'm not sure if this is your issue, but I was running into the same issue. In init-letsencrypt.sh I removed the -d from the docker-compose command that starts nginx after creating the dummy certificate so I could see any logs and sure enough it was complaining about the dummy certificate and it said something like "ee key too small" and nginx wouldn't start.
I fixed it by changing rsa:1024 to rsa:2048 in the openssl command (then re-adding the -d I had removed) and then everything worked.

authors: BenoitRanque kosyachniy sheodox

repo: wmnnd/nginx-certbot


text:
如何进行分布式部署？

请问此平台如何进行分布式部署？

集成了zookeeper，先配置好zookeeper，然后修改参数文件，见：http://wiki.osgi.help/pages/viewpage.action?pageId=22054931
然后，多个JXADF实例，每个实例可以自己定义启动哪些bundle。

authors: wmzsoft xiemn

repo: wmzsoft/JXADF


text:
dist file cannot be minified with babili

In the dist/element-resize-detector.js, it runs var browserDetector = require("../browser-detector");.
I tracked this down because when minifying with babili, it fails here with something like Uncaught ReferenceError: G is not defined.
This correlates to source in detection-strategy/object.js.
I'm unfamiliar with browserify, otherwise I would submit a PR.  It's certainly possible I'm wrong here, but I have tracked it to this package via obfuscated code:
        , function(V) {
            "use strict";
            var Y = V.exports = {};
            Y.getOption = G            // Uncaught ReferenceError: G is not defined
        }
        , function(V, Q, G) {
            "use strict";
            var Y = G(1);
            V.exports = function(X) {
                function ee(le) {
                    return ne(le).object
                }
                X = X || {};
                var oe = X.reporter
                  , ae = X.batchProcessor
                  , ne = X.stateHandler.getState;
                if (!oe)
                    throw Error("Missing required dependency: reporter.");
                return {
                    makeDetectable: Z,
                    addListener: J,
                    uninstall: function(le) {
                        Y.isIE(8) ? le.detachEvent("onresize", ne(le).object.proxy) : le.removeChild(ee(le)),
                        delete ne(le).object
                    }
                }
            }
        }

This is a show-stopper for my production code, I hope someone can look at this soon.  If not, please let me know.

This code from the dist file may be what it is referring to, it's the only *.getOption =
{"./utils":2}],2:[function(require,module,exports){
"use strict";

var utils = module.exports = {};

utils.getOption = getOption;

function getOption(options, name, defaultValue) {
    var value = options[name];

    if((value === undefined || value === null) && defaultValue !== undefined) {
        return defaultValue;
    }

    return value;
}

Just found something strange, function getOption is found twice in the dist file.  Once in the ./utils above and once in global scope.

So it seems that getOption is something injected by browserify.  In keeping this code explicit, I'm trying to rename the local function to see if that works with babili.  Quite strange.

So, in my experiment, I renamed the local getOption to resolveOption and imported it from another file just so it was easier to see the separation in the obfuscated output.
The code still fails to minify with babili on the same spot, which I take it refers to the injected browserify code:
        , function(V) {
            "use strict";
            var Y = V.exports = {};
            Y.getOption = G                 // Uncaught ReferenceError: G is not defined
        }

@wnr any thoughts about updating dependencies (they are pretty old) and perhaps transitioning this to a simple babel library build?

Hi @rosskevin and thank you for the awesome issue! Sorry that I'm responding so late. I'll start experimenting myself, and read through your findings more in detail later tonight :)
I'm very interested in updating the dependencies, and would love some help with that 👍

FYI - this does minify with Uglify, so not sure if this is an actual bug with the dist file or not, but I have linked the issue with babili so we can figure it out.  The response there will probably dictate what I do from here as I'd rather use babili, but uglify is so far working.

Okay, thanks for the input. I'll start working on updating the build step in the mean time.

I'm going to close this. Please reopen if your the conclusion is that there's something wrong at this end.

authors: rosskevin wnr

repo: wnr/element-resize-detector


text:
Autoplay feature?

Would you mind adding an autoplay feature?
We're considering using your component in a setting where autoplay is preferrable, but due to Chrome's (and most other browsers') new demands to not autoplay on pages where the user hasn't interacted, we'll need a nice-looking non-autoplay look as well. Yours seems to solve this.

Not able to add this feature :( but in the meantime, you can manualy call warmConnections and addIframe methods on your end:
<script setup>
import { ref } from 'vue'
import LiteYouTubeEmbed from 'vue-lite-youtube-embed'
import 'vue-lite-youtube-embed/style.css'

const iframe = ref(null)

onMounted(() => {
  iframe.value.warmConnections()
  iframe.value.addIframe()
})
</script>

<template>
  <LiteYouTubeEmbed
    id="dQw4w9WgXcQ"
    ref="iframe"
    title="Rick Astley - Never Gonna Give You Up (Official Music Video)"
  />
</template>

thanks!
On Mon, Feb 6, 2023 at 5:20 PM Robert Soriano @.***>
wrote:

Not able to add this feature :( but in the meantime, you can manualy call
warmConnections and addIframe methods on your end:

—
Reply to this email directly, view it on GitHub
https://github.com/wobsoriano/vue-lite-youtube-embed/issues/6#issuecomment-1419355393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5E2WL5ELAWDCIRCQCU4PYLWWEQFXANCNFSM5MEINGLA
.
You are receiving this because you commented.Message ID:
@.***>

Hey wobsoriano, I was looking for this feature too, the solution you provided works but when you say "Not able to add this feature" do you mean that its not possible code-side or that you don't have time to implement it?

authors: NicoIsapro kendrick-fnw sebastianvitterso wobsoriano

repo: wobsoriano/vue-lite-youtube-embed


text:
Fix indentation of the proof environment

Proof environment is redefined, however, when a proof is the first thing in the solution, the \noindent command applies the negative indentation on top of the same applied by the section configuration. The effect is that the "Proof" label, as well as the section label, are moved a bit to the left. (See example in C.5-2.)
Also, find a proper way to apply a vertical skip after the proof, so there is no need to put it explicitly after the proof last paragraph.

Proof environment redefined according to amsthm recommendations. The indentation is fixed, but the first proof in a section has a vertical skip, similar to dispay styles that start a section, see: #1565

Fixed by wrapping the proof in a minipage. The disadvantage of such solution is the fact that minipage is a single box that can't be split into multiple pages in case it ends up in a bottom of a page.


text:
Fix typos

Found via codespell -L datas

Haha, those are silly. Thank you :)

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:

authors: kianmeng wolph

repo: wolph/python-progressbar


text:
add an optional max_size argument to encode() for speed & convenience

Providing max_size to encode() will first resize the image to max_size (by creating an Image thumbnail), and will then create the blurhash. Resizing first will achieve much faster hashing for large images.

Hello @m4hmmd, thank you for the pull request!

Resizing first will achieve much faster hashing for large images.

This is interesting. I wonder if it would make sense to resize always to improve performance. I think the resulting blurhash shouldn't change much if the image is resized first. Do you have more details on this? I'd be interested in the image size, max_size you've found effective, and difference in speed. Anyway, I'll have to test this.
There's one improvement needed to the code changes you've suggested. New tests should be added since you've added a new parameter to the public interface. The new tests should at least verify that the encode function works with the default value () like all tests do now, and also with some valid non-default value. It may be a good idea to test invalid parameter values as well, although the Pillow library should handle those and raise appropriate exceptions. One minor change I'd suggest is to think if the max_size parameter could be renamed as something more descriptive, but it might not be easy to find one if resizing the image primarily affects performance and not the resulting blurhash. That's why I'm thinking about resizing by default.

Hello @m4hmmd, thank you for the pull request!

Resizing first will achieve much faster hashing for large images.

This is interesting. I wonder if it would make sense to resize always to improve performance. I think the resulting blurhash shouldn't change much if the image is resized first. Do you have more details on this? I'd be interested in the image size, max_size you've found effective, and difference in speed. Anyway, I'll have to test this.
There's one improvement needed to the code changes you've suggested. New tests should be added since you've added a new parameter to the public interface. The new tests should at least verify that the encode function works with the default value () like all tests do now, and also with some valid non-default value. It may be a good idea to test invalid parameter values as well, although the Pillow library should handle those and raise appropriate exceptions. One minor change I'd suggest is to think if the max_size parameter could be renamed as something more descriptive, but it might not be easy to find one if resizing the image primarily affects performance and not the resulting blurhash. That's why I'm thinking about resizing by default.

Hello @lautat !
Here is a brief test I ran on some images (size in Bytes, times in seconds):

Note: images 1-5 were illustrations, whereas 6 was a photo.
I resize to 50x50, and the resulting blurhashes are for all intents and purposes indistinguishable. In particular, I compute blurhash on images sent via chat in my app, so I'd want to have the hash computation time <1s at the very worst. I agree that resizing by default might be better. About the name, max_size can be indeed confusing, maybe it can be renamed as resize_to.

Hello @lautat !
Here is a brief test I ran on some images (size in Bytes, times in seconds):

Note: images 1-5 were illustrations, whereas 6 was a photo.
I resize to 50x50, and the resulting blurhashes are for all intents and purposes indistinguishable. In particular, I compute blurhash on images sent via chat in my app, so I'd want to have the hash computation time <1s at the very worst. I agree that resizing by default might be better. About the name, max_size can be indeed confusing, maybe it can be renamed as resize_to.

Apologies, I completely forgot to get back to this. Since #17, encode can be called with an image object. It is possible to get the same result by loading the image with Pillow and resizing the image before passing it to encode. README contains the following example:
import blurhash
from PIL import Image

with Image.open("image.jpg") as image:
    image.thumbnail((100, 100))
    hash = blurhash.encode(image, x_components=4, y_components=3)

Thus, I'll close this pull request.

repo: woltapp/blurhash-python


text:
Run cargo-fmt

Depends on #75. Splitting this up to as this is pretty noisy.

Travis build is broken for Unrecognized option: 'write-mode' in the format command line. This was the cargo +nightly fmt -- --write-mode=diff bit added to ensure the code was correctly formatted or to cause a build break otherwise.

authors: daithiocrualaoich passy

repo: woofwoofinc/cargo-sphinx


text:
Add function to generate deterministic UUIDs and use it when creating devices

Whenever an application using the library gets restarted, it generates new UUIDs for devices. This annoys control points that now report a new device has popped out, while the old device is disconnected and might come back online at some other time (hint: it will never come back). If the same UUID gets generated for the device, everyone will be happier.
One thing to note is that if the library creates multiple devices of the same type (e.g. multiple MediaServers), each one of those needs its own deterministic UUID, so we might need to update the API to have the user provide a name for the device.
Try using the uuid_create_from_name function from https://github.com/pupnp/pupnp/blob/master/upnp/src/uuid/uuid.c#L232. Using any other function from uuid.c is impossible because they're not exported, and therefore not callable.
See section 4.3 of https://www.ietf.org/rfc/rfc4122.txt for assistance.
For best results, fill in the node field of upnp_uuid with the MAC address, however don't expect that to be easy.

Passing of UDNs is now mandatory, so the user can choose which UUID to use. Nevertheless, a function to create deterministic UUIDs is still very useful.

repo: wooky/zupnp


text:
Getting wrong text direction when having a mix of languages

I have a text where I have a mix of 2 languages.
For example:
test  זהו סעיף בעברית.
זהו סעיף בעברית alone is RTL and test alone is LTR.
However when having :  test  זהו סעיף בעברית I get LTR.
I believe it's a bug somehow or a feature to add as I think it should know in percentage how much RTL exists over LTR in a text then format it correctly.

The algorithm checks the first character that is either LTR or RTL.
If you want percentages, create your own algorithm on top of direction.

authors: HamzaLJ wooorm

repo: wooorm/direction


text:
Add language name to class in inline code

Support language name for inlineCode type as well as code block so that we can highlight its syntax with renderer like remark-react for the custom inline code parsed with a plugin such as remark-inline-math.

Why not used node.data.hProperties = {className: ['language-math']}?
More info here.

Thought about this again, and I really think you (or the plugin itself) should patch hProperties!

ok!

authors: noradaiko wooorm

repo: wooorm/mdast-util-to-hast


text:
Bazel Cache Issue for Build and Test

Issue: Some issue with bazel caching causing tests to fail.
Details:
For this PR (https://github.com/world-federation-of-advertisers/panel-exchange-client/pull/13) (and a couple other branches), the builds inconsistently fail even when just adding comments. See the commit history for plenty of examples when it switches from failing to passing.
Solution:
It appears to have been resolved after removing world-federation-of-advertisers/actions/bazel-build-test@v1 from that repo. See this commit that appears to have resolved the issue:
https://github.com/world-federation-of-advertisers/panel-exchange-client/pull/13/commits/fc15b7bb58983498ed0ac6ba8e974e0c0b6bc861
It could also be that there is some other transient issue causing the problem.

Sample failing run: https://github.com/world-federation-of-advertisers/panel-exchange-client/runs/2623308247
This appears to show a segfault in the Java Runtime Environment. The fact that this seems to be resolved by using a manual workflow with a different cache key construction implies that the issue may have been a poisoned cache. This can occur when there's been an incompatible change to the build environment that's not accounted for by neither the cache key construction nor Bazel's caching mechanisms, such as changing the C++ compiler. If that is indeed what's causing the segfault, then the solution is to specify a new cache-version parameter to the action. See #8.

authors: SanjayVas stevenwarejones

repo: world-federation-of-advertisers/actions


text:
Handle nextLink for Playbooks

Summary of the Pull Request
When retrieving playbooks not all are being returned and sometimes resulting in playbook failing to be added.
Issue #35 is the one we copied code from to allow details of all Playbooks to be retrieved

References
...

PR Checklist
By submitting this pull request, I confirm the following:
please fill any appropriate checkboxes, e.g: [X]

[ ] Closes #xxx
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx
[ ] I have made only one major change in my proposed changes.
[ ] I have commented my proposed changes within the code.
[ ] I have tested my proposed changes, and have included unit tests where possible.
[ ] It is compatible with the MIT License
[ ] I have squashed any insignificant commits. (git rebase)

Detailed Description of the Pull Request / Additional comments
A detailed description, screenshots (if necessary), as well as links to any relevant issues

Validation Steps Performed
A detailed description of thew validation steps
How does this PR accomplish the above
A detailed description (such as a changelog) and screenshots (if necessary) of the implemented fix
What documentation changes (if any) are needed to support this PR
A detailed list of any necessary changes

You must follow the template instructions. Failure to do so will result in your pull request being closed.

hi @stehod thanks for the contribution! The issue that you are referring to is for the Azure Sentinel incidents and not related to the playbook configuration as far as I can see. are you having issues with the return results for playbooks? because I can't find any bugs related to that.

Hi @pkhabazi, yes we were finding that the assignment of playbook was failing (Unable to find LogicApp XXXX) which was due to the REST call only returning a partial list of the Logic Apps in the Subscription.
Sorry for confusion the issue I referenced was where we'd seen a similar issue fixed previously.

authors: pkhabazi stehod

repo: wortell/AZSentinel


text:
[docs] improve logo in navbar

i can't find anywhere that
main_menu:
  show_logo: true

needs a logo.png image in assets/media/logo.png

i can't find anywhere that
main_menu:
  show_logo: true

needs a logo.png image in assets/media/logo.png

The logo image is documented in Step 3 of the Getting Started guide: http://localhost/docs/getting-started/get-started/

authors: StefanoCecere gcushen

repo: wowchemy/wowchemy-hugo-modules


text:
docs(core): :memo: corefilepicker has documentation has been updated

Description
CoreFilePicker documentation has been updated to new format
Ref: #331
Related Issues

Testing

Checklist

[ ] I have performed a thorough self-review of my code.
[ ] I have added or updated relevant tests for my changes.
[ ] My code follows the project's style guidelines and best practices.
[ ] I have updated the documentation if necessary.
[ ] I have added or updated relevant comments in my code.
[ ] I have resolved any merge conflicts of my branch.

Screenshots (if applicable)

Additional Notes

Reviewers

Maintainer Notes

[ ] Has this change been tested in a staging environment?
[ ] Does this change introduce any breaking changes or deprecations?

good to go

🤡

authors: anantakumarghosh arkaprota

repo: wrappid/guide-module


text:
bug: axios missing from package/package.json

Describe the bug
axios is being used. it is present in package.json, but not in package/package.json. hence service not starting
To Reproduce

Build wrappid service.
Start build artifact

Expected behavior
service starting
Stack Trace
The stack trace of the bug if any.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Closing as done.

repo: wrappid/service-core


text:
network support

Does Wren have the ability to make network requests? For example, given a string URL, it would return a string or byte array of the response body.

Wren itself is pretty bare as your supposed to embed it into a program and create its API.
so it doesn't really have any network tools by itself

AS @CrazyInfin8 mentions, wren is a scripting language and is meant to be embedded. It won't be able to provide networking.
If anything, the Wren CLI project could get some, but that's about it.

repo: wren-lang/wren


text:
[Feature] Automated Animation or More Customizable and improvement of FFG Star Wars Enhancement

Hi :) . I really like the module FFG Star Wars Enhancement but, it seems to bad that i can't customize the effects and sounds for each weapon. For example, there is a sound for light weapons, lightsabers, heavy weapons, brawl, etc... But an artillery weapon like rocket launcher doing "pew pew pew" like a Tie Fighter is not... really immersive. The existing things are really good but something is missing, and sometimes the distance reduce the original size of the animation (less thick/large than expect, less long). Could it be possible, please, to have the means to do it ? I'm aware that the module Automated Animation didn't work with Star Wars FFG but it could be really nice to have some effects and sounds full customizable for better immersion. As far as i could see, you use JB2A Animation for animation. Thanks by advance. Your work is really amazing.

You can customize on a per-actor basis.  To do this, click the Enhancements image on a scene and then click the attack icon.

This opens up a menu with actors and their items, allowing you to overwrite the default values on a per-actor / item basis.

Oh ok my thanks ^^. It could be pretty good if you'll do a feature with Otigon from Animated Animation, his work gain us a lot of time with a super friendly UI to automatize these sounds and animation. But i can understand if you don't want it. Thanks for your work it is already amazing :)

I've personally found that most of it works quite well by default.  Looking at that module, it appears to map item / spell names to animations. Sadly, we don't have a star wars library of animations / sounds, so this isn't really possible for our use case.
Thanks for the feedback, though! Please feel free to open a new issue if you have other thoughts.

Okay i understand it ^^. There is a lot of animation already existing to fit some Star Wars effects. I don't ask the perfect one but something close to it :). Other thing, it could be good if you allow us to create new categories of weapon with type of animation in it, because it took pretty much time to set each customizable animation and sound for each object or actor when a type of weapon doesn't fit in the preset. I totally understand if you sent me away because you don't have the time for this ^^. Being able for us to create new categories will gain us a lot of time. And also if you have a Patreon i would like to support your work because even if it needs a little bit of improvments (no offense), your work is super amazing.

authors: Thorshko wrycu

repo: wrycu/StarWarsFFG-Enhancements


text:
Update VoidWSL links

The glibc and musl variants have been consolidated into the VoidWSL repo 🎉

Thank you!

repo: wsldl-pg/docs


text:
API level policy support for API Manager

Problem
From APIM 4.1.0 onwards, we have increased the granularity of the mediation policies feature from API level to operation level. Influences for this decision were,

Providing flexibility to have different policies for different resources than one policy for the entire API.
Ability to apply policies one by one and verify them during the design time.

However, this design would be a bit problematic if customized policies per resource are not expected and the resource count is higher. This will add extra overhead during the design time as well as for the pipelines.
Solution
It was decided to implement API level policies support for the API.
The feature will be designed as such,

Will include the existing operation level features such as multiple policies support, policy ordering support.
At a given time, a single API can have only operation level policies or API level policies and If the API project included both, API level policies will be given prominence.

Affected Component
APIM
Version
No response
Implementation
No response
Related Issues
No response
Suggested Labels
No response

Update: 10th April
API schema Publisher rest api apis/{apiId} will include a new section to input the API level policies mapping.
name: PizzaShackAPI
	. . . .
   apiPolicies:
     request:
      -
       policyName: addLogMessage
       policyVersion: v1
       policyId: 1bc149df-d150-45bc-8baf-4cdc632994f1
       parameters: {}
      -
       policyName: addHeader
       policyVersion: v1
       policyId: 1606f9dc-5da7-4681-a8c8-b230a5c2997f
       parameters:
         headerName: TestHeader
         headerValue: TestValue
     response:
      -
       policyName: addLogMessage
       policyVersion: v1
       policyId: 1bc149df-d150-45bc-8baf-4cdc632994f1
       parameters: {}
      -
       policyName: jsonToXML
       policyVersion: v1
       policyId: 4d43d54f-985a-4f20-a295-f60f00eee80f
       parameters: {}
     fault:
      -
       policyName: removeHeader
       policyVersion: v1
       policyId: 7d914d75-e70a-4b58-a6a3-6538cd995ee9
       parameters:
         headerName: TestHeader
      -
       policyName: debugJsonFault
       policyVersion: v1
       policyId: 27b613e0-c4b2-4ca9-96ea-bde6af6d9afd
       parameters: {}

Mapped policies will be same as before which includes common API policies and API level policies.
We had a couple of discussions on the subject and two implementations were carried out to see the feasibility.
Option 1: Use API policies as a collection of operation policies within the data persistence layer.
At the mapping layer, all the API-level policies will be copied to the operation level. There will be a parameter at the operation level to decide whether these policies were API level or operation level.
Persisting the API level or operation level in the database can be done either using the existing db schema (Store under parameters column in AM_OPERATION_POLICY_MAPPING table or adding a new column to the table.
Implementation: https://github.com/wso2/carbon-apimgt/pull/11953
Pros:
This approach will have minimal impact on the current implementation and would be ideal for backporting to APIM 4.2.0 and 4.1.0.
Cons:
If the number of operations in the API is n,

AM_OPERATION_POLICY_MAPPING table will grow with 3*n if there is one policy for request,response and fault flows. If policies are stored in API level, on 3 db entried will be store.
To retrieve the API, a 3*n number of DB calls will be sent to populate the API where if policies are stored in API level, only 3 db calls is sufficient.

Option2: Handle API level policies as a different flow and persist with a new table
Instead of using operation policies, there will be separate database operations for API-level policy mappings.
Even though this would include different flows, we have decided to proceed with this approach. This will introduce a new data table.

Update: 24th April
Completed the draft backend implementation as per : https://github.com/wso2/carbon-apimgt/pull/11977
A new datatable is introduced to persist the API level mapping status.
Table structure
CREATE TABLE IF NOT EXISTS AM_API_POLICY_MAPPING (
   API_POLICY_MAPPING_ID INTEGER AUTO_INCREMENT,
   API_UUID VARCHAR(45) NOT NULL,
   REVISION_UUID VARCHAR(45),
   POLICY_UUID VARCHAR(45) NOT NULL,
   POLICY_ORDER INTEGER NOT NULL,
   DIRECTION VARCHAR(10) NOT NULL,
   PARAMETERS VARCHAR(1024) NOT NULL,
   FOREIGN KEY (API_UUID) REFERENCES AM_API(API_UUID) ON DELETE CASCADE,
   FOREIGN KEY (POLICY_UUID) REFERENCES AM_OPERATION_POLICY(POLICY_UUID) ON DELETE CASCADE,
   PRIMARY KEY(API_POLICY_MAPPING_ID)
)ENGINE INNODB;

Operation level policy template at the gateway is changed as
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<sequence xmlns=\"http://ws.apache.org/ns/synapse\" name=\"{{sequence_name}}\">
{% if apiPolicies is defined %}
{% for policy in apiPolicies %}
    {{policy}}
{% endfor %}
{% endif %}
{% if case_list is defined %}
    <property name="switchExpression" expression="fn:concat($ctx:REST_METHOD,'_',$ctx:API_ELECTED_RESOURCE)" />
    <switch source=\"$ctx:switchExpression\">
    {% for case in case_list %}
        <case regex=\"{{case.case_regex}}\">
        {% for policy in case.policy_sequence %}
            {{policy}}
        {% endfor %}
        </case>
    {% endfor %}
    </switch>
{% endif %}
{% if fault_sequence %}
    <sequence xmlns="http://ws.apache.org/ns/synapse" name="fault"/>
{% endif %}
</sequence>

Implemented the flows related to

Add/Update API level policies
Add/Update/delete both API level and Operation level policies
Create/Restore/Delete Revisions
Create/Update/Revision/Restore/Delete API Products
Deploy APIs/API products with API and operation level policies
Import APIs with API and Operation level policies

Remaining Tasks

User Interface
Migration testing


text:
Add an icon for the MMM pom editor

Description:
Change the default icon in the MMM project pom editor.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fixed with https://github.com/wso2/devstudio-tooling-platform/pull/366


text:
[Datasource][Transport settings]Validation for mandatory fields.

Description:
We need to add validations(before saving), at least mark the mandatory fields or provide a warning message to the user when saving. Otherwise, user is allowed to save with parameters. In the end, the added data is lost and the user has to re-add the things.
Steps to reproduce:

Create a Data Service project and add a new Data Service.
In Transport Settings, in Authorization Provider Configuration, without adding Authorization Provider Class, add parameters and Save.

Expected: A warning message needs to be displayed in UI before saving them.
Actual: No warning message or no text can be seen what are mandatory fields. After saving it, once it is switched back to the source view and design view, the added parameters are not saved. Therefore, the user at this point needs to do the rework.

Fixed in - https://github.com/wso2/devstudio-tooling-dss/pull/138


text:
Doc Feedback: Outdated content

Location : https://apim.docs.wso2.com/en/latest/consume/manage-application/generate-keys/revoke-oauth2-application/

Developer Portal makes a call to the Key Manager to create an OAuth client and obtain an access token.

@isharac , can you please provide more information in this regard. Is the entire content outdated or just a part? If only a section which section is it?

Not the whole content. But we need to replace
the Developer Portal makes a call to the API Gateway, which in turn connects with the Key Manager to create an OAuth client and obtain an access token. Similarly, to validate a token, the API Gateway calls the Key Manager, which fetches and validates the token details from the database.
with
Developer Portal makes a call to the Key Manager to create an OAuth client and obtain an access token. Token validation happens in the gateway itnself using the in0-memory data store.

authors: Mariangela isharac


text:
Add changes related to PAT support in APICTL

Purpose
Add changes related to https://github.com/wso2/api-manager/issues/2754

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Naduni Pamudika seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant npamudika


text:
FHIR connector doc improvements

Description:
The following message builder should be added to EI/MI axis.xml configuring FHIR configurations.
<messageBuilder contentType="application/fhir+json"                                                                 class="org.wso2.carbon.integrator.core.json.JsonStreamBuilder"/>
Affected Product Version:
All EI/MI products

This is already present in https://mi.docs.wso2.com/en/latest/reference/connectors/fhir-connector/fhir-connector-example/


text:
Bump Dependencies #357

Bumps dependencies for ${REPOSITORY}.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant jenkins-is-staging


text:
Improve Data Mapper Expression Editor

Description:
Using the enter key to select an item from the dropdown menu is more intuitive. Should we modify the functionality to allow the enter key for item selection in the screenshot?

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


text:
API Creators can delete Published APIs

Description:
API Creators should not be allowed to delete Published APIs.
Steps to reproduce:
Login to Publisher as a admin (or creator + publisher)
Create an API and Publish
Login to Publisher as a creator user.
Delete the API above. It is sucessful.

This issue is in progress

authors: YasasRangika malinthaprasan


text:
Improvements for API Security UI

Describe your problem(s)

Transport Level Security and Application Level Security seems like separated. Though error message is common to both sections it doesn't look like.
Describe your solution

Show two sections under one collapsible panel "API Security"
If OAuth2 is selected validate if subscriptions are available and notify if not.

How will you implement it

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

At the moment disabling security is done through Resource page per operation.

We can introduce a toggle to disable security per API from Runtime Configurations page itself.

Fixed in latest


text:
"Invalid input" error message when trying to blacklist a user in admin portal

Description:
In wso2am-2.1.0 when a secondary user is added to the blacklist in the admin portal, just below the textbox where we entered the user name we get "Invalid Input".

Steps to reproduce:

Create a secondary user store (domain) and add a user to it(DOMAIN/user)
Create an API in the publisher and add application subscription to it
Generate a token for the mentioned user in the secondary user store.
Invoke the API with the token generated.
In the admin portal navigate to Throttling Policies --> Black List --> Add Item --> Provide the secondary user store details --> Click on Blacklist.
You will be able to see the above-stated error.

Affected Product Version:
wso2am-2.1.0
Optional Fields
Related Issues:
https://github.com/wso2/product-apim/issues/6285

I believe #6285 is the same issue. Please correct me if i'm wrong.

Duplicate of #6285

authors: praminda saranki


text:
Query Parameters Element doesn't set initial values to state

Describe the Issue:
If we didn't edit the query params element, it submits empty when the form submits. The initial values get lost on the way.

This issue has been resolved in 5.11.0-Beta3 SNAPSHOT.

authors: thivi vihanga-liyanage


text:
Passive STS based authentication for .net applications fail due to namespace issue in AppliesTo element

Describe the issue:
With the changes done in https://github.com/wso2/product-is/issues/8350, the passive STS response includes the ResponseTo tag in it. But the .net application are not accpeting the namespace included with it. Those apps expect the old namespace and that namespace is still hardcoded in the .net framwork [1],[2]
Fails, new namespace [3] (>= IS 5.11.0)
        <wsp:AppliesTo xmlns:wsp="http://www.w3.org/ns/ws-policy">
            <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
                <wsa:Address>http://localhost:8080</wsa:Address>
            </wsa:EndpointReference>
        </wsp:AppliesTo>

Works, old namespace (< IS 5.11.0)
        <wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
            <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
                <wsa:Address>http://localhost:8080</wsa:Address>
            </wsa:EndpointReference>
        </wsp:AppliesTo>

How to reproduce:
Implement a .net application to use WSO2 IS for authentication via passive STS using WSFederationAuthenticationModule. The authentication will fail with the following error.
"System.IdentityModel.Protocols.WSTrust.WSTrustSerializationException: ID3007: The element 'AppliesTo' with namespace 'http://www.w3.org/ns/ws-policy' is unrecognized"

Expected behavior:
.net framework should support the latest namespaces, but until then, the IDP has to make workarounds to keep supporting the .net applications.
However, the AppliesTo element is optional according to specification [4]. Therefore, this can be execluded in the responses.
[1] https://github.com/microsoft/referencesource/blob/master/System.IdentityModel/System/IdentityModel/Protocols/WSTrust/WSPolicyConstants.cs
[2] https://github.com/microsoft/referencesource/blob/51cf7850defa8a17d815b4700b67116e3fa283c2/System.IdentityModel/System/IdentityModel/Protocols/WSTrust/WSTrustSerializationHelper.cs#L108
[3] https://www.w3.org/ns/ws-policy
[4] http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/errata01/os/ws-trust-1.4-errata01-os-complete.html#_Toc325658947:~:text=4.4.1-,wsp%3AAppliesTo in RST and RSTR,-Both the requestor
Environment information

Product Version: IS 5.11 and later

The following config can be used to disable the AppliesTo element in the Passive STS response.
[passive_sts]
disable_applies_to_in_response = true

authors: Yoshani rksk


text:
[Bug] User must notfiy to update there email in user profile when using TOTP

Environment
IS 5.4.0
Steps
When Enable TOTP according [1]  set 1 step as Basic and step  2 as TOTP
Create a new user and update user information without email.
Login , give Username and Password  for basic authenticator and redirect  to TOTP page.
Issue
As the email is not update in user profile user is not receiving email.  In the back-end below cane be seen.
But end user should notify that email is not set to send the verification code
[2017-12-20 15:04:18,546] ERROR {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} -  Failed Sending Email
org.apache.axis2.AxisFault: Error generating mail message
	at org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)
	at org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:184)
	at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
	at org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:511)
	at org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:488)
	at org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule.sendEmail(DefaultEmailSendingModule.java:116)
	at org.wso2.carbon.identity.mgt.mail.AbstractEmailSendingModule.notifyUser(AbstractEmailSendingModule.java:59)
	at org.wso2.carbon.identity.mgt.NotificationSendingModule.run(NotificationSendingModule.java:33)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.axis2.AxisFault: Error creating mail message or sending it to the configured server
	at org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)
	at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:505)
	at org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:175)
	... 14 more
Caused by: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
	com.sun.mail.smtp.SMTPAddressFailedException: 553 5.1.2 The recipient address <null> is not a valid RFC-5321 address. j14sm37081718pfj.93 - gsmtp

	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
	at javax.mail.Transport.send0(Transport.java:169)
	at javax.mail.Transport.send(Transport.java:98)
	at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:494)
	... 15 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 5.1.2 The recipient address <null> is not a valid RFC-5321 address. j14sm37081718pfj.93 - gsmtp

	at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
	... 19 more

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.

authors: Chankami isharak


text:
Error while retreiving the certificate with an alias which contains "#" symbol

Describe the issue:
It is allowed to add a certificate with an alias which contains "#" symbol, via console app / REST API (/keystores/certs) successfully. It will return in the certificate list also, but viewing the particular certificate gives an error as follows. GET /keystores/certs/{alias} request doesn't take the correct alias because "#" is considered as a termination in the URI.
In the following image, I have added a cert with the alias "b#$2", when click on that eye icon to view the certificate it gives an error as "There exists no certificate with alias: b".

How to reproduce:

Add a new certificate with an alias which contains "#"symbol via console app or REST API (/keystores/certs) (for non super tenant).
Retrieve all certificates GET /keystores/certs or list out all certificate using console app.
Try to get the added certificate.

in postman:  GET /keystores/certs/{alias}
in console app: click on the eye icon of the specific cert

Expected behavior:
Validate the alias before adding a certificate.
If special characters are allowed use URL encoded alias name when retrieving the cert by alias.
If the certificate is listed and unable to view the certificate is not expected.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.11.)-Alpha3
OS: Windows
Database: Postgresql
Userstore: JDBC

The special characters such as # should be allowed in the alias because when adding a cert from the management console, the alias will the the file name. Hence this need to be handled from the console side by encoding the alias so that it is safe in URL.

authors: AnuradhaSK DinikaSen


text:
Creating a new user with groups and roles assigned in one go fails

Describe the issue:

$subject generates an issue in the UI as in the above screen.
The issue is not reproducible in a local environment but in a cloud environment.
It seems a slight delay in user creation can fail the role or group assignment.
No errors are logged.
@DimalChandrasiri please add if you have more information.

Group assignment to an existing user is also not working properly in remotely hosted environments.

Even though no errors are shown the group is not assigned to the user in the UI.
/cc @DimalChandrasiri

For scim group patch operation in the network tab, ccould see the response as the user is not in the user store. But when listing could able to see the user. This is not reproducible in 5.12.0 latest milestones. Only could able to reproduce in cloud environment.

For scim group patch operation in the network tab, ccould see the response as the user is not in the user store. But when listing could able to see the user. This is not reproducible in 5.12.0 latest milestones. Only could able to reproduce in cloud environment.

authors: Pushpalanka brionmario nilasini


text:
Bump carbon.kernel.version and carbon.identity.framework.version

Bump carbon.kernel.version to v4.9.2 and carbon.identity.framework.version to v5.25.115

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4240799405

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/4240799405
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4240933497

authors: Thisara-Welmilla jenkins-is-staging


text:
Bump identity.apps.console.version version to 2.9.8

Bump identity.apps.console.version to v2.9.8

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6939488292

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6939488258

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6939488292
Status: cancelled

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6939488258
Status: failure

authors: brionmario jenkins-is-staging


text:
Use java.nio.Paths instead of String file locations

Description:
Use java.nio.Paths instead of String file locations
Suggested Labels:
code refactor

Please change the label to Type/Improvement

authors: azinneera sameerawickramasekara


text:
Adapt bitcoin-standup-scripts to automate deploy

Task description
The goal of the issue is to have a shell script, that will simplify putting a8 new BGL node online simple and fast.
There is a solution available for BTC at https://github.com/BlockchainCommons/Bitcoin-Standup-Scripts
So the solution direction looks like following:

Get the scripts from the repo to work with BGL Core;
Test with a clean Debian installation;
Place modified scripts in the tools/standup-scripts section;

BGL Core command-line arguments are as of now fully compatible with Bitcoin Core arguments.
Packages and installation notes can be found in the 'releases' section on GitHub
https://github.com/wu-emma/bitgesell/releases/tag/0.1.2
Acceptance criteria:

On a VM with clean image of Ubuntu 18.04 (e.g. in popular cloud services like GCloud)
the script could be downloaded with wget tool and ran with required parameters,
making the VM a full BGL Core node with autorestart of the service (particular cloud
firewall configuration is out of scope);

@van-orton @wu-emma
If this issue is still open , I would like to work on it.

This is replaced by issue #21 to reassign bounty (as it did not have workers approval and wasn't completed)

authors: janus van-orton wu-emma

repo: wu-emma/bitgesell


text:
Capture iOS Screen like in Quicktime

Any plans to allow Kap to capture the video of a connected iphone the way that quicktime does? This would be killer for recording screencast tutorials of iphone apps.

@abreckler I didn't know that's a thing 😅 I don't have an iPhone to test it, so I don't know how we'd proceed with this 😰

We do want to support this though, so I will add planned. Might be able to use my girlfriend's iPhone to test.

Cool, good to hear. I think people will definitely find this useful. @matheuss I would lend you my old iphone if you were closer ;)

First needs to be implemented in Aperture: https://github.com/wulkano/aperture/issues/25
Then it needs some custom UI in Kap for selecting the iOS screen.

This is beautiful. I can't wait, as I was just asking about this on Stack Overflow! <3

https://github.com/wulkano/Aperture/issues/25is currently in progress at https://github.com/wulkano/Aperture/pull/69

authors: CodeTheory ELLIOTTCABLE abreckler matheuss sindresorhus skllcrn

repo: wulkano/kap


text:
fix(terraform): remove static ips

Summary
次の PR で追加した Egress Static IP を、コストの観点から削除する。

#449

Details
サーバーレス VPC アクセスコネクタのランニングコストだけで $13 強かかっている。

memo: VPC を削除するためには VPC コネクタが設定されている Cloud Run Revision の手動での削除も必要。


text:
Need to uncheck selected radio button

Right now I am using radio button to select services but whenever user select service he might need to uncheck those service
I tried with active prop but got no success
Can you provide me any solution related to this?

radio btn it self does not provide such function. you can add a additional btn to achive this by setting the v-model value to empty, which should uncheck them.

authors: RushabhJoshi wxsms

repo: wxsms/uiv