[wrzuta.pl - playlist] wrzuta playlist extraction

I've extended wrzuta extractor by adding playlist extraction capability.

One more thing is that mocking makes little sense here at all since there is no contract between the parties. Tests should be performed on real data to be able to detect breakages and format changes by remote party immediately.

You're right. Usually, these are long ones, so I add only few of them. Nevertheless, I'll add them as well 😄

OK, I've applied agreed changes. What's next?

Please put all tests in _TESTS and modify test/test_download.py if needed.

OK

Changes applied

Guys, is it good or shall I correct something?

Changes applied.

Is there anything else, what should I correct?

Not all changed applied.

Cherry-picked in fea55ef4a95d226668bd63742c4731832de93a79, thanks.

Thanks guys 😀 Next time will be quicker 😜


docs: update platforms in properties tab

Summary
Update the platform compatibility in properties.
Changes
Created the component for displaying platforms in mdx file.

This branch has conflicts that must be resolved ...

Hey @DominikDanielewicz, how about we add this also to: DRM, Events, Methods 😄

Hey @DominikDanielewicz, how about we add this also to: DRM, Events, Methods 😄

Hey @KrzysztofMoch, just updated platforms inside DRM, Events and Methods tab


#asJson

I would like to see support for #asJson{...} to transform a string to json.
Same concept as the already existing #asLong{...} and #asDouble{...}

Merged #211


Change the default ORT configuration file format from Hocon to YAML

Please see the commit messages for details.

IMO the fact that ORT main config file has its own format was putting the emphasis about how central this file was.
Additionally, this file was often called ort.conf because, hey, this is the central ORT config file. Now we cannot call it ort.yml otherwise everyone will be confused with .ort.yml and we will need to come up with a new name.
So yeah, this commit is for alignment. Any other benefits of such format change ? If yes, can you list them in the commit message ?

IMO the fact that ORT main config file has its own format was putting the emphasis about how central this file was. Additionally, this file was often called ort.conf because, hey, this is the central ORT config file. Now we cannot call it ort.yml otherwise everyone will be confused with .ort.yml and we will need to come up with a new name.

The new proposed default name is config.yml, I think that's still specific enough because the file will by default be in a folder called .ort/config.

So yeah, this commit is for alignment. Any other benefits of such format change ? If yes, can you list them in the commit message ?

The main benefit is of course usability, for example some parts of the global configuration can be overwritten in the .ort.yml and it is inconvenient that both files use different formats. But this would also unblock #5516 which depends on preserving the order of maps in the configuration which the HOCON parser does not (and likely never will).


Material emission "importance" property in wrong group?

Hi,
The material emission importance property does not use the "emission." prefix - is this intended?
https://github.com/LuxCoreRender/LuxCore/blob/master/src/slg/scene/parsematerials.cpp#L439
# So you have to use this:
scene.materials.test.importance = 2
# Instead of (more logical?)
scene.materials.test.emission.importance = 2

Since the other light emission related properties are grouped there, I would have expected it.

It is probably the result of a cut&paste from light sources properties (where there is no ".emission" prefix).
Anyway, I renamed the material ".importance"  property to  ".emission.importance".

Thanks.


[FEAT]: Create Issue forms and make the issue options more visually appealing

Currently, there is an issue template for this repo, but no issue form which will help users in contributing.

I will add Issue Forms to the respective issues to make it easier for the contributor to raise it.

Here is an example of how a Bug Issue Form will look like 👇

and issue templates:

I want to work on this issue. So, kindly assign this issue to me ( GSSOC'24 ).

Hi @TonyStark-47,
I think there are plenty of issue templates here and the templates are quite explanatory.
Thankyou for your concern, but unfortunately I don't want this change in the repo.

@jatiinyadav, But what about the "issue forms" which will feel easy when filling up and looks very arranged.


New line charts don't paint in Firefox

Nothing draws in firefox.
@gabe-heim , could this be fixed in your branch, but needing to be merged?

Chrome understands when hex values are given without the "#" symbol, Firefox does not so it did not know what color to paint the lines, I just fixed this and will push soon.


Implement Authentication for the Tetragon gRPC endpoint similar to Hubble

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I am currently working in a multi-tenant Kubernetes environment and want to ensure that only authorized Kubernetes workloads have access to the Tetragon GRPC endpoint. I am collecting Tetragon events from a different pod running on the same node. While deploying Tetragon, I expose the gRPC endpoint on the network by passing --set=tetragon.grpc.address=":54321". I have a daemonset that collects Tetragon events from the local Tetragon pod instance using the gRPC endpoint. Is there a way to enforce authentication/authorization at the network level? For example, Hubble supports TLS mutual authentication.
Tetragon Version
All versions
Kernel Version
All versions
Kubernetes Version
All versions
Bugtool
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

Hi,
TLS support would definitely be a useful feature, but it is not currently supported.


Console error on resource's relation edit/view

Package
filament/filament
Package Version
v2.13.21
Laravel Version
v9.19.0
Livewire Version
v2.10.6
PHP Version
PHP 8.1
Bug description
I have a weird bug and I would like to know if it's a known one : in a resource's relation when I click on edit, it's fine. then I click on view it's fine and then if I click again on edit I have a console error :
Uncaught TypeError: Cannot read properties of undefined (reading 'value')
    at Proxy.getTabs (eval at <anonymous> (module.esm.js:471:14), <anonymous>:12:51)
    at Proxy.init (eval at <anonymous> (module.esm.js:471:14), <anonymous>:8:29)
    at module.esm.js:457:23
    at H (module.esm.js:434:3)
    at module.esm.js:2622:27
    at Function.<anonymous> (module.esm.js:1152:55)
    at a (module.esm.js:582:95)
    at module.esm.js:720:47
    at Array.forEach (<anonymous>)
    at module.esm.js:720:27

The form is empty. It happens on every resource's relations whatever I have in the form
Please see video
https://user-images.githubusercontent.com/604907/177570436-b43a19e0-6114-46e8-b8b4-7a3245371766.mp4
Steps to reproduce
No response
Relevant log output
VM15318:12 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
    at Proxy.getTabs (eval at <anonymous> (module.esm.js:471:14), <anonymous>:12:51)
    at Proxy.init (eval at <anonymous> (module.esm.js:471:14), <anonymous>:8:29)
    at module.esm.js:457:23
    at H (module.esm.js:434:3)
    at module.esm.js:2622:27
    at Function.<anonymous> (module.esm.js:1152:55)
    at a (module.esm.js:582:95)
    at module.esm.js:720:47
    at Array.forEach (<anonymous>)
    at module.esm.js:720:27
getTabs @ VM15318:12
init @ VM15318:8
(anonymous) @ module.esm.js:457
H @ module.esm.js:434
(anonymous) @ module.esm.js:2622
(anonymous) @ module.esm.js:1152
a @ module.esm.js:582
(anonymous) @ module.esm.js:720
(anonymous) @ module.esm.js:720
(anonymous) @ module.esm.js:211
(anonymous) @ module.esm.js:211
S @ module.esm.js:210
(anonymous) @ module.esm.js:146
module.esm.js:416 Alpine Expression Error: tab is not defined

Expression: "tab === '-general-tab'"

It also happens with view buttons and then create. It occurs also on a simple form with select inputs

Can you provide us a reproduction repository URL and then we'll look at your issue?
That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to give us some instructions on where to find the bug, and include a database seeder with everything we need to set it up quickly.

Hey, I think this is just a Livewire dom-diffing conflict with Alpine unfortunately, but luckily I don't think it affects the functionality of Filament. Thanks for the report.

@danharrin any particular remedy available?


Console error message every hours

Hi, I got theses messages every hours on the server, I just put it here
https://pastebin.com/GT3W3JJ9

Your MySQL connection seems to have died and the plugin didn't create a new one. Should be fixed with 78384eb.


Surface purge_info history via HTTP

Summary
Back about 15 months ago, @kocolosk said:
https://github.com/apache/couchdb/pull/1370#issuecomment-397138672

Historically one could think about external consumers of _changes and internal consumers of the sequence index as being on equal footing, and there's something appealing about that. The latter group has some efficiency advantages but fundamentally an external process could go and do everything that the internal consumers do using the node-local HTTP interface. The lack of HTTP access to the purge index breaks that. An external indexer, for example, has no way of knowing revisions have been purged from the main database short of checking the individual shard's purge sequence and rebuilding the entire index if it changes, whereas the internal consumers can be smarter.

Desired Behaviour and Additional Context
As an external consumer (PouchDB or other system implementing a CouchDB compatible replicator), I would like to be able to access the purge_info data so that I can avoid reintroducing documents that have been previously purged.
I am aware that the upper bound on those numbers of revisions (by default, 1000 I think?) means I need to access this endpoint often.
For reference:
https://cloud.ibm.com/docs/services/Cloudant/api?topic=cloudant-documents#purge

_purged_infos API is now implemented by @jiahuili430!
Closing as completed.


logger not working if it's set from config

What steps will reproduce the problem?
Inside any controller, put this:
public function actionIndex()
{
        Yii::info('Hello World');
        return $this->render('index');
}

inside the config:
'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'logger' => Yii::createObject('yii\log\Logger'),
            'targets' => [
                [
                    'class' => 'yii\log\FileTarget',
                    'levels' => ['error', 'warning', 'info'],
                ],
            ],
],

What is the expected result?
Log inside the runtime/logs/app.log
What do you get instead?
Nothing in runtime/logs/app.log
Additional info
It'll work if  'logger' => Yii::createObject('yii\log\Logger'), is removed
I have found location from where it's misbehaving.
Class : yii\log\Logger
public function __construct($config = [])
    {
        // ensure logger gets set before any other config option
        if (isset($config['logger'])) {
            $this->setLogger($config['logger']);
            unset($config['logger']);
        }
        // connect logger and dispatcher
        $this->getLogger();

        parent::__construct($config);
    }

and
/**
     * Gets the connected logger.
     * If not set, [[\Yii::getLogger()]] will be used.
     * @property Logger the logger. If not set, [[\Yii::getLogger()]] will be used.
     * @return Logger the logger.
     */
    public function getLogger()
    {
        if ($this->_logger === null) {
            $this->setLogger(Yii::getLogger());
        }

        return $this->_logger;
    }

    /**
     * Sets the connected logger.
     * @param Logger|string|array $value the logger to be used. This can either be a logger instance
     * or a configuration that will be used to create one using [[Yii::createObject()]].
     */
    public function setLogger($value)
    {
        if (is_string($value) || is_array($value)) {
            $value = Yii::createObject($value);
        }
        $this->_logger = $value;
        $this->_logger->dispatcher = $this;
    }

Q
A

Yii version
2.0.23

PHP version
7.3.7-1+ubuntu16.04.1+deb.sury.org+1

Operating system
ubuntu16.04.1+deb.sury.org+1

It's by design. If you are passing pre-configred logger instance, no configuration is applied.

It's by design. If you are passing pre-configred logger instance, no configuration is applied.

This sounds good. But it's not working even if I pass non-instance configuration like:
'logger' => ['class' => 'yii\log\Logger'],

What's your use case for replacing standard logger?

I want to add my custom Logger class inherited from yii\log\Logger.  My project is a hybrid of yii1 and yii2, and I want to implement my own custom logic for handling situation from both version. BTW, I haven't implemented it yet. It's not working without my custom code even with the core class (yii\log\Logger)

Hello!
Reproducing for me in Yii 2.0.40.
PHP 7.3.26.


⚠ Bofrost.fr has degraded performance

In c2637bb, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 966 ms

Resolved: Bofrost.fr performance has improved in 540870f after 3 hours, 19 minutes.


No cookiecutter icons on VS 15

For some reason the icons don't appear.
Needs further investigation.

We need to:

move the imagemanifest file up one folder level (remove the Resources folder)
force our assembly to load early enough that icons appear in menus


Demo doesn't work

I wanted to see how pagination works but found that demo doesn't work.
https://jsfiddle.net/gurghet/xpp80yx0/2/

Thanks, it's fixed now https://jsfiddle.net/gurghet/xpp80yx0/8/


TimeoutError: Waiting for selector #__next .btn-primary failed: Waiting failed: 180000ms exceeded

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
v18.13.0 node
Debian GNU/Linux 10 (buster)
Describe the Bug
npx tsx demo-google-auth.ts
TimeoutError: Waiting for selector #__next .btn-primary failed: Waiting failed: 180000ms exceeded
at Timeout. (/var/www/hr.logistic-people.de/htdocs/APIs/chatgpt-api-js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:64:32)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)

Im having this same issue. It works locally but doesnt when running on docker.
I don't know if this can be a issue but I set headless to true

I also set headless to true but it doesn't work

Try upgrading to the latest version; we're now using the official API, which no longer uses puppeteer so problems like this should go away completely: https://github.com/transitive-bullshit/chatgpt-api/releases/tag/v4.0.0


pulseaudio.nix: user and group are now pulseaudio

pulseaudio couldn't start in system mode because it was complaining:
"Failed to find user 'pulseaudio'."
"Failed to find group 'pulseaudio'."

We can change it back to pulse by modifying the pulseaudio build. I think
that would be preferred in this instance so that we dont have extra users
in /etc/passwd.
On Tue, May 5, 2015, 5:14 PM Lassulus<EMAIL_ADDRESS>wrote:

Lassulus wants to merge 1 commit into NixOS:master from
Lassulus:my-15.05pre61665.4c01e6d:
pulseaudio couldn't start in system mode because it was complaining:
"Failed to find user 'pulseaudio'."
"Failed to find group 'pulseaudio'."
You can view, comment on, or merge this pull request online at:
https://github.com/NixOS/nixpkgs/pull/7718
Commit Summary

pulseaudio.nix: user and group are now pulseaudio

File Changes

M nixos/modules/config/pulseaudio.nix
https://github.com/NixOS/nixpkgs/pull/7718/files#diff-0 (6)

Patch Links:

https://github.com/NixOS/nixpkgs/pull/7718.patch
https://github.com/NixOS/nixpkgs/pull/7718.diff

—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/7718.

alright, i will try to fix it in there.


[GAIA-IR] Fix compiling warnings in v6d_ffi

What do these changes do?

As titled.
Related issue number

Fixes #1779

Codecov Report

Merging #1780 (ee36971) into main (e0166e7) will decrease coverage by 3.72%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1780      +/-   ##
==========================================
- Coverage   43.86%   40.14%   -3.73%
==========================================
  Files          89       89
  Lines        9798     9798
==========================================
- Hits         4298     3933     -365
- Misses       5500     5865     +365

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/deploy/hosts/cluster.py
31.64% <0.00%> (-55.70%)
:arrow_down:

python/graphscope/analytical/app/java_app.py
24.24% <0.00%> (-44.95%)
:arrow_down:

python/graphscope/framework/utils.py
40.10% <0.00%> (-14.85%)
:arrow_down:

python/graphscope/framework/app.py
69.95% <0.00%> (-10.33%)
:arrow_down:

python/graphscope/framework/graph_schema.py
52.45% <0.00%> (-7.11%)
:arrow_down:

python/graphscope/tests/conftest.py
48.21% <0.00%> (-4.65%)
:arrow_down:

python/graphscope/client/rpc.py
86.11% <0.00%> (-3.71%)
:arrow_down:

python/graphscope/client/session.py
63.75% <0.00%> (-3.22%)
:arrow_down:

python/graphscope/analytical/udf/utils.py
36.17% <0.00%> (-3.20%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


Hide delete action

Description

Created a listener in ChecklistAdapter to listen for the change in the checkbox and then hide/show Action delete if a completed item is there in the list.

Fixes #367
Type of change
Just put an x in the [] which are valid.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

[ ] ./gradlew assembleDebug assembleRelease
[x] ./gradlew checkstyle

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Looks good @nitinnatural 👍


[BUG] fvm use failed for custom version

Before creating a bug report please make check the following

[x] You have read our FAQ
[x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
[x] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
[x] Run fvm doctor if possible and add the output to the issue.

Describe the bug
when i use a custom version, fvm will delete all versions and create a soft link file to self
To Reproduce
Steps to reproduce the behavior:

Go to terminal..
fvm global stable # wait for download flutter sdk
flutter doctor # wait for download dart sdk
fvm list
cd ~/.fvm/versions
git clone https://gitee.com/openharmony-sig/flutter_flutter.git custom_ohos
fvm list
cd ~
fvm use custom_xxx

➜  ~ fvm list
[WARN] Version ohos is not a valid semver
Cache directory:  /Users/xxx/.fvm/versions
Directory Size: 2.54 GB
┌─────────────┬─────────┬─────────────────┬──────────────┬──────────────┬────────┬───────┐
│ Version     │ Channel │ Flutter Version │ Dart Version │ Release Date │ Global │ Local │
├─────────────┼─────────┼─────────────────┼──────────────┼──────────────┼────────┼───────┤
│ stable      │ stable  │ 3.22.2          │ 3.4.3        │ Jun 6, 2024  │ ●      │       │
├─────────────┼─────────┼─────────────────┼──────────────┼──────────────┼────────┼───────┤
│ custom_ohos │         │ Need setup      │              │              │        │ ●     │
└─────────────┴─────────┴─────────────────┴──────────────┴──────────────┴────────┴───────┘

➜  ~ fvm use custom_ohos
[WARN] Not checking for version mismatch as custom version is being used.
Setting up Flutter SDK: custom_ohos

[WARN] Version ohos is not a valid semver
Downloading Darwin arm64 Dart SDK from Flutter engine 1a65d409c7a1438a34d21b60bf30a6fd5db59314...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  217M  100  217M    0     0  9283k      0  0:00:24  0:00:24 --:--:-- 10.1M
Building flutter tool...
Flutter 3.7.12-ohos • channel dev • https://gitee.com/openharmony-sig/flutter_flutter.git
Framework • revision cff6c95108 (4 days ago) • 2024-06-29 07:43:22 +0000
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1

✓ Flutter SDK: SDK Version : custom_ohos is setup
Skipping "pub get" because no pubspec.yaml found.

✓ Project now uses Flutter SDK : SDK Version : custom_ohos

➜  ~ fvm list
No SDKs have been installed yet. Flutter. SDKs
installed outside of fvm will not be displayed.

➜  versions ls -l
total 0
lrwxr-xr-x   1 xxx  staff   37  7  3 23:07 custom_ohos -> /Users/xxx/.fvm/versions/custom_ohos

Expected behavior
A clear and concise description of what you expected to happen.
Logs
Please provide the verbose logs by running --verbose after the command.
Desktop (please complete the following information):

OS: [Mac Os 14.5]
FVM Version [3.1.7]

Additional context
Add any other context about the problem here.
none

use default cache path, everything is ok.
:(
Cache directory:  /Users/xxx/fvm/versions


how to change default port number for SeleniumBasic?

is there in vbscipt ,config file or method ?

Hello.
I use:
oWD.addArgument('--proxy-server=http=<IP_ADDRESS>:pppp;https=<IP_ADDRESS>:pppp')
where pppp is the desired port.
El viernes, 25 de diciembre de 2020 14:20:35 ART, iisboy<EMAIL_ADDRESS>escribió:
is there in vbscipt ,config file or method ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Example:
`' This module contains examples on how to work with
' a browser installed on another station.
'
' Selenium Standalone Server:
'  http://www.seleniumhq.org/download/
'
' Command line to start the server:
'  java -jar selenium-server-standalone-2.47.1.jar
'
Const SERVER = "http://<IP_ADDRESS>:4444/wd/hub"
Private Sub Take_ScreenShot_Remotely()
Dim driver As New WebDriver
driver.StartRemotely SERVER, "safari"
'open the page with the URL in Sheet3 in cell A2
driver.Get [Sheet3!A4]
'Take the screenshoot
driver.TakeScreenshot().ToExcel [Sheet3!A7]
driver.Quit
End Sub
`

Example:
`' This module contains examples on how to work with
' a browser installed on another station.
'
' Selenium Standalone Server:
'  http://www.seleniumhq.org/download/
'
' Command line to start the server:
'  java -jar selenium-server-standalone-2.47.1.jar
'
Const SERVER = "http://<IP_ADDRESS>:4444/wd/hub"
Private Sub Take_ScreenShot_Remotely()
Dim driver As New WebDriver
driver.StartRemotely SERVER, "safari"
'open the page with the URL in Sheet3 in cell A2
driver.Get [Sheet3!A4]
'Take the screenshoot
driver.TakeScreenshot().ToExcel [Sheet3!A7]
driver.Quit
End Sub
`


Allow Phoenix LiveView 1.0-rc

The current mix.exs only permits LV 0.20.x, and now 1.0-rc is out.
There's only one breaking change for LV 1.0-rc, and it doesn't affect anything AshPhoenix does - only how errors should be rendered in a form.
From my testing (adding LV 1.0-rc with override: true) there should be no issues with loosening the version restriction to support 1.0-rc (and then probably 1.0.x).

So I haven't allowed for the release candidate, but I did allow for 1.0. This at least signals to folks that we're compatible, and when its out of release candidacy folks can upgrade without override: true


Random Desync

Product and Version [VS/VSCode]:
OS Version [macOS/Windows/Linux]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
What were you doing when you encountered the desync?
How often have you encountered desyncs?

Thanks for reporting the issue @ruthylevi.  Can you please provide the logs in order to investigate the issue? You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.


Underscores are replaced with hyphens in header names

connection:request_uri("....", {
    method = "POST",
    body = "....",
    headers = {
      sso_token = "...."
    }
})

This code results in this request header

"sso-token: ...."

because http_headers.lua forces hyphened header name to be stored:
rawset(t, k_hyphened, v)
Expected result: underscore is a legal symbol in HTTP header name in accordance with HTTP specification and must not be transformed into hyphens.

Hmm, yes, you're correct technically speaking. Practically speaking, both Nginx and Apache require non-default configuration to handle header field names with underscores in them (e.g. underscores_in_headers for Nginx defaults to Off), and the default OpenResty behaviour is to normalise these so that underscores / hyphens can be treated equally in Lua tables: https://github.com/openresty/lua-nginx-module#ngxreqget_headers
So if we're to make a change here, it should be along the lines of non-default "raw" mode, which was also added to the lua-nginx-module functions at some point. I'm actually thinking of refactoring the headers stuff out into a separate headers module (with field value token parsing etc), so I'm reluctant to just throw a quick (potentially breaking) fix in for this.
Can I suggest you use hyphens for your custom header field names? It really is very unusual to opt for underscores.
If you can't adjust or translate the header names that your backend is expecting, perhaps it's best for now to fork this repo, and comment out this line: https://github.com/pintsized/lua-resty-http/blob/master/lib/resty/http.lua#L606
Be sure to test the behaviour, but it should essentially give you the "raw" headers mode you're looking for. You'll need to make sure your headers table is exactly how you want it (taking case insensitivity into consideration for example).

Yes, I am aware of this old underscored headers war (Apache2, Nginx.. and even IIS :D).
But current module's behavior makes no sense, IMHO. When I put some header into request this means that someone expects this particular header on the other side of the connection. There is no reason to replace '_' with '-' because it does no any good but breaks the things. It would be better to raise an error to make it clear. Or to have it configurable.
To my regret I have to communicate with some third party SSO server and it expects 'sso_token' header - I cannot change this.
The fastest work-around for me was to go to this SSO server via the same Nginx instance while restoring header during proxying.
  server {
    listen 9080;

    location / {
      proxy_set_header sso_token $http_sso_token;

      set $sso_server ${SSO_SERVER_URL};
      proxy_pass $sso_server;
    }
  }

UGH!  :D


Restructure the flow in which we apply infractions

Currently, the flow with which we register infractions may take up to four requests to our API. I'd like to propose some changes that should bring this number of API requests down to one in most situations. This is especially handy in situations where a lot of infractions are issued in a really short time frame, such as during a raid, to not overload our API.
Note: The changes proposed in this issue also require changes to our API endpoints
Background
Let's take a "mute" infraction, for instance. Issuing a single mute infraction may take up to 4 requests to our API:

We first poll if the member already has an active "mute" infraction
If not, we then try to register the infraction with an API request
If the API replies that it doesn't know the user yet, we register the user using users endpoint
We then try to register the infraction again

For a "ban" infraction, a similar flow exists, except that we occasionally need to fetch the user from Discord for step 3 if the user has never been a member of our server (or otherwise not registered in our database). A permanent "ban" infraction may also require an additional request to our API to inactivate a current tempban.
Even if we ignoring the race condition that rarely happens (except during raids) where multiple near-simultaneously issued infractions make it past step 1 (verifying if there's no active infraction of that type) and then all, except one, fail on step 2, I think we can decrease the number of requests we need to register a infraction with our own API by making a few changes.
1. Asking for forgiveness instead of permission
Instead of polling the API for active infractions of the type we're trying to issue, we just try to set the infraction. This avoids the rare race condition mentioned before and we can still handle "double" infractions by looking at the exception we'd get for a non-OK response.
Alternatively, we could decide that a more severe infraction (longer duration/permanent) should replace a shorter infraction automatically. My suggestion would be to do that at the very least for when the new infraction is permanent while a temporary infraction was already active. This wouldn't be a change in behavior, just a change in how this is achieved; we do it with a single request instead of three requests.
Additionally, if the second infraction has a later expiry date, we could also make that one automatically "replace" the infraction with a closer expiry date. To prevent moderators accidentally overwriting another infraction "just" given by another moderator in another channel, we could add a requirement that the second infraction has to have been issued a "substantial" time period after the first infraction (say, 2 hours). (We can always decide to undo the first to set a more severe one or to edit the existing one.)
Regardless, this reduces the two/three requests to one request.
2. Providing enough user information to register "unknown" users
Our API occasionally complains about users that have not yet been registered to the API. One situation in which this may happen is if we issue an infraction on a user that has never been a member of our guild. I've also observed it when raid bots got themselves auto-muted so quickly after joining the server that the on_member_join syncer hadn't caught up yet. (And the latter is precisely a moment in which API requests are precious.)
To prevent this, we could send enough information along with the infraction to register the user in the database in a new, optional API endpoint field. If provided, rather than returning an error for the unknown user, the API simply registers the user and then sets the infraction.
Obviously, we can only do this if know that we haven't made a mistake with the ID (e.g., message id instead of user id). That's why I'm suggesting that the field is optional: If the infraction is issued with a Member or User instance, we know that it should belong to a "real" user and we can safely register them.
That means that instead of issuing a request to set the infraction, getting an error for "missing user", sending a second request to register the user, and then finally sending a third request to try the infraction another time, there's typically only one request.
Limitations
There's is one catch for proposal 2: If we try to ban a user that is not a member of our guild, we don't have easy access to a Member or User instance for that user to provide enough information for the proposed "auto-registration feature". We also can't determine if registering the user is needed without making a request, as we'd have to poll the API first to know if the user is "known" (e.g., a former member of the server).
However, this isn't a huge problem, considering the roughly two situations that may occur:

We're issuing a ban to a former member of the server; the API already "knows" them
We're issuing a ban to a completely unknown user; the API needs info to register them

It's nearly always the case that we're in situation 1, where registering the user isn't required. We often ban people after they have already left the server on their own; we rarely ban users that have never been a member in the first place.
This means that the best option is just to not fetch the User object from the heavily rate-limited Discord endpoint to fetch "non-guild users". We just assume that the user is already known, we don't provide additional registration information, and only if the request fails do we "fetch the user from Discord". We can then make a second infraction request with the user information attached.

Since it seems related, I'll also tack on that infractions should only be posted after the action has been taken on the user (e.g. mute role added, nickname changed, etc.). This order allows for the infraction to not be posted if the action fails.

I generally agree with all of your proposals. However, I have some questions below. I also worry that the features I will quote also increase complexity of the API (more so its behaviour than its interface).

Alternatively, we could decide that a more severe infraction (longer duration/permanent) should replace a shorter infraction automatically.

Additionally, if the second infraction has a later expiry date, we could also make that one automatically "replace" the infraction with a closer expiry date.

How do you propose to achieve this? You say it'd be one request, which makes me think that this would need to be handled on the Django side.


use call invite in redirect and fix tests

refactored createCall using CallInvite
use CallInvite in redirectCall
updated tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Android InAppReview Not Popping Up

Bug
Version Number of Plugin: 3.1.0 and 3.2.0-beta
Device Tested On: Samsung S10 (Android 11)
Expected Behavior
Android In App Review pops up when calling await CrossStoreReview.Current.RequestReview(false);
Actual Behavior
I am not being able to make this work. Android In App Review is not popping up.
Issue Info

Xamarin Essentials is setup correctly. I am calling the correct method and I added a pop up just to show that we are hitting that line:
https://user-images.githubusercontent.com/38107971/125111047-a4415180-e0a2-11eb-98d8-735d8bc8d150.mov

This is how I created the internal Test. Is there any specific configuration needed? Or is this enough?
Part 1:
https://user-images.githubusercontent.com/38107971/125111233-e4083900-e0a2-11eb-8b84-4260bf175935.mov
Part 2:
https://user-images.githubusercontent.com/38107971/125111244-e79bc000-e0a2-11eb-99e1-0f7e9f0222b5.mov

The following video shows the app store and app behavior on an actual device. The RequestReview line is being hit, since the pop up show up:
https://user-images.githubusercontent.com/38107971/125114533-51b66400-e0a7-11eb-92dd-268be42c6a7d.mp4

Logs using the following commands:
adb shell
logcat | grep com.marcetown.myapp
logcat2.docx

Also, I am not sure if this is relevant, but no code shrinker is being used:

Request:
I don't believe this is an actual bug on this library, I just need some help to fix this issue. I followed the suggestions on the other post, but I was not able to fix it. Here is a couple things I tried:

I tried different accounts.
Neither accounts reviewed the app yet.

Did you test on a device running Android 10 vs Android 11 ? We are experiencing the same behavior on devices running Android 11.

Guys could you try to download this game and win the game once to see the popup on your android 11?
https://play.google.com/store/apps/details?id=com.tfp.numberbomb
The app uses v3.1 of this package, with target SDK version 30 and target framework v11.0
Most likely you have not read the README completely (I know it's boring) are not using Internal App Sharing to test or you have not setup the pro guard correctly

@marceloarchiza

Please use a pastebin for your logcat (I had to upload your file to Google Drive to open the file)
Also, I noticed in the logs you got this error Unexpected response code 404 for https://play-fe.googleapis.com/fdfe/allowInAppReview?doc=com.marcetown.myapp, and I haven't seen anyone else get a similar error

@saamerm I tried your Numberbomb app on Android 11 and it worked as expected. Although I did read the entire read me file multiple times and I am using Internal App Sharing, I assumed I did not need to create the proguard file, since I have no code shrinker and "Link SDK assemblies only".
My bad for sending a docx, first time submitting a large error like that haha Thank you so much for finding this 404 error. Here are the errors I am getting:
07-09 10:36:19.834  8532 11374 I Finsky  : [27174] fki.<init>(18): com.marcetown.myapp is installed but certificate mismatch
07-09 10:36:19.962  8532 11214 E Volley  : [27115] doi.a: Unexpected response code 404 for https://play-fe.googleapis.com/fdfe/allowInAppReview?doc=com.marcetown.myapp

I believe I am getting this certificate mismatch error due to the way I uploaded the app on the AppStore. I will be testing this directly in prod. I am closing this issue. Thanks for your help!

Yes @marceloarchiza, it's not about the code shrinking, it's the 'Link SDK assemblies only' that requires the pro guard file

Just an update, this was because I was not using internal app testing, but internal test. I had no idea they were different. I got it to work. Thank you again @saamerm!!! Arif and Suchita said hi! Again, thanks for the great work and for your positive impact on MSA even after you left Charter! You are the best!

🎉🎉🎉🎉

Try to clear the cache of your app.


[main] Update actions

Cron -knative-prow-robot
/cc we don't use Prow
/assign we don't use Prow
Produced by: knative-sandbox/knobots/actions/update-actions
Details:

Codecov Report

Merging #354 (df669cb) into main (738b299) will decrease coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #354      +/-   ##
==========================================
- Coverage   80.57%   80.31%   -0.27%
==========================================
  Files          20       20
  Lines         767      767
==========================================
- Hits          618      616       -2
- Misses        135      137       +2
  Partials       14       14

Impacted Files
Coverage Δ

pkg/vsphere/adapter.go
62.59% <0.00%> (-1.53%)
:arrow_down:

Continue to review full report at Codecov.

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


feat: Add vscode settings for GitHub issues queries and branch naming

Missing:

[x] Document the workflow

Only linting is important in this case


Invalid C# array construction in code example

Change var productIds = [345, 789, 135, 689]; to var productIds = new[] { 345, 789, 135, 689 };

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

ID: 35474d24-8039-f04a-de14-1530b8e8506c
Version Independent ID: b6cb2574-6326-a40d-0b6c-d1661328e828
Content: ASP.NET Core Blazor routing and navigation
Content Source: aspnetcore/blazor/fundamentals/routing.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

Thanks @yv989c ... I'll take a look at this first thing Tuesday morning.

Happy to help Mr. 🦖


Add build/ose4.4 job + corresponding scheduled builds

List of Jenkins jobs introduced by this PR

aos-cd-builds > build/ose4.4
scheduled-builds > ocp-4.4-full
scheduled-builds > ocp-4.4-incremental
scheduled-builds > reposync for 4.4

Related ticket: https://jira.coreos.com/browse/ART-1140

/lgtm

@vfreex thanks for the review, just wasn't sure if that should have been merged already ... let's ask @jupierce or @sosiouxme


Check if Bluetooth Adapter available

Hello,
I was wondering if there is an easy way in blessed-bluez to check if there is a Bluetooth Adapter available prior to initializing a BluetoothCentralManager? I am running into a NullPointerException "no bluez adapter provided", which I would like to check for before trying to create the BluetoothCentralManager.
I have tried checking a BluezAdapter prior to creating the BluetoothCentralManager, but regardless on if I have the adapter enabled or not it is always a null value.
Any assistance would be greatly appreciated.

I figured it out by using the DBus library to see if a "getRemoteObject" request to the org.bluez bus and /org/bluez/hci0 object path returns a string containing the bluez adapter. Not sure if this is the correct way to do this, but it worked for me. Example code below (very happy for suggestions/improvements!)
`
import org.freedesktop.dbus.connections.impl.DBusConnection;
import org.freedesktop.dbus.exceptions.DBusException;
import org.freedesktop.dbus.interfaces.Introspectable;
try {
// Creates a new DBus connection, attempts to get a remote object of org.bluez
DBusConnection dbus = DBusConnection.getConnection(DBusConnection.DEFAULT_SYSTEM_BUS_ADDRESS);
// This returns an introspectable string (???) which defines how the bluez dbus connection can be used
// if it has no method definitions, then likely there is no bluetooth module connected!
String introspect = dbus.getRemoteObject("org.bluez", "/org/bluez/hci0", Introspectable.class).Introspect();
// Check if introspect string contains the bluez Adapter
if (introspect.contains("org.bluez.Adapter1")) {
	System.out.println("Adapter Available! :)");
	// Do something !
}
else {
	System.out.println("Adapter Not Available! :(");
	// Do something else !
}

} catch (DBusException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
`

Solved as per last comment


Unable to see Oracle Materialized views wtih DBeaverEE Ver 24.3

Description
Am using the latest DBeaver EE ver 24.3. Am having a visibility issue seeing oracle materialized views in my left-hand window. I see my schema and subfolders (e.g., Tables, Views, Indexes, Procedures, and Data Types only). Even if I switch to Advanced View, I am unable to see Materialized Views.
DBeaver Version
EE 24.3
Operating System
Windows 10
Database and driver
Oracle 19c
JDBC = ojdbc6.jar (64 bit 12.1.0)
Steps to reproduce

In DBeaver EE, open Driver Manager, create a new generic connection
Define Class Name: oracle.jdbc.OracleDriver
Define URL Template=jdbc:oracle:oci:@
Click ok to save
Exit Driver Manager
Create new database connection using new generic connection
JDCB URL: jdbc:oracle:oci:@
Authentication: Database Native
Use Username and PW
Click ok.
Connects successfully to oracle db environment.
Change Connection View to Advanced or Custom:

Scroll to defined schema.
Can only see Tables, Views, Indexes, Procedures, and Data Types only

Additional context
No response

Please use Oracle connection type, not Generic


Krumeich/musl 214

The first development snapshot of 2.14 for Linux-MUSL is up on SourceForge. Kindly take a look at the changes to build.sh for the Linux-MUSL build.
These are the changes necessary to build the dev version. Since Alpine Linux doesn't provide packages for Perl 5.30, I had to compile Perl myself. That resulted in a slightly altered directory structure. There are also updated versions for libssl and libcrypto.

Looks good, many thanks for doing this so rapidly.


Add another dotnet runtime detector

When running /path/to/dotnet /path/to/analyzers-cli.dll, the $PATH and so forth need not be set up to contain a .NET installation. We can still ask the runtime what's executing it, though.
I checked manually, and with PublishAot RuntimeEnvironment.GetRuntimeDirectory() just returns the directory which contains the binary, rather than throwing or anything like that. I think that's probably the most pathological case we'll have to deal with.

OK, things break further on if the SDK isn't on the path.
Unhandled exception. System.ArgumentException: The input sequence was empty. (Parameter 'source')
   at Microsoft.FSharp.Collections.SeqModule.Head[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1688
   at Ionide.ProjInfo.SdkDiscovery.versionAt(DirectoryInfo cwd, FileInfo dotnetBinaryPath) in /_//src/Ionide.ProjInfo/Library.fs:line 118
   at Ionide.ProjInfo.Init.init(DirectoryInfo workingDirectory, FSharpOption`1 dotnetExe) in /_//src/Ionide.ProjInfo/Library.fs:line 298
   at Program.main(String[] argv) in /_//src/FSharp.Analyzers.Cli/Program.fs:line 461

We likely wouldn't take this, as most other tooling expects dotnet to be set via one of these mechanisms. The spec around this is here: https://github.com/dotnet/designs/blob/main/accepted%2F2021%2Finstall-location-per-architecture.md
IMO Nix should do one of these methods to align better with tooling - the most correct in my opinion is the /etc/.dotnet/install_location method.

This isn't a Nix problem per se, it's just that Nix is an easy way to get hold of a very empty environment.
(I do greatly object to things requiring global mutation of the system they're installed into, but of course we can't do anything about that if .NET demands it!)


Add 'home' parameter in cli

#71

+1

With the exception of the advertising, 👍

I can confirm that the change works and custom home folders work as expected.
@thomasalrin you could remove "https://console.megam.io" from the README.md for merging. Or use a more generic URL e.g. https://pkgr.example.org. Nitpicking me would also remove the change on 'homepage' completely from this PR because it is not related to the 'home' parameter.

@ctrabold done.

@benlangfeld ready to :ship:?

@ctrabold @thomasalrin This PR was closed, and I'm not sure why, but it looks good to me.

@thomasalrin I wonder if you did close #72 by accident? Your patch looks good and should be merged. Rather close #71 as @benlangfeld suggested in his comment there.

@ctrabold Ohh... that was an accident.

@benlangfeld re-opened. looks 💯  to me. Let's try 🚢  again? 😉

I like this, but only @crohr can merge it.

@crohr done rebase the commits.
Thank you:-)


[Improve] Use avro 1.11.4 due to CVE-2024-47561

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

Thanks @caicancai ! Could you follow the guide to open github actioin on your fork repository? https://github.com/apache/seatunnel/pull/8075/checks?check_run_id=33103257441

Close/Reopen will lost our CI status. Please try open github action on your fork repository, then push an empty commit to re-trigger CI.

Close/Reopen will lost our CI status. Please try open github action on your fork repository, then push an empty commit to re-trigger CI.

Thanks

Hi @caicancai , please fix ci or retrigger failed ci.

I tried to fix it over the weekend

@Hisoka-X It seems to be some specification issues. I may need to familiarize myself with the seatunnel specifications.

@Hisoka-X It seems to be some specification issues. I may need to familiarize myself with the seatunnel specifications.

Please update https://github.com/apache/seatunnel/blob/e1010dceae9b71d00bad0971ce803131d2cf134b/tools/dependencies/known-dependencies.txt#L47 to 1.11.4 to fix it.

@Hisoka-X It seems to be some specification issues. I may need to familiarize myself with the seatunnel specifications.

Please update
https://github.com/apache/seatunnel/blob/e1010dceae9b71d00bad0971ce803131d2cf134b/tools/dependencies/known-dependencies.txt#L47
to 1.11.4 to fix it.

done

Hi @caicancai , why closed this PR?


Unicode column names fix

Fixes #280
@kformanowicz-dotdata would you mind testing this on your end to see if it fixes the program you were having at large?

@fdosani Thanks, I confirm it solves the issue I was facing.

@fdosani When do you plan to release v. 0.11.2 with the fix?

Just need someone to review the PR and I can cut a release asap.

@kformanowicz-dotdata FYI: https://pypi.org/project/datacompy/0.11.2/


[question] Running karma tests programmatically using open-wc setup

I have a use case (in custom CI pipeline) to run karma tests for my components. I imagined that if I run karma as it is described in their docs and by providing configuration from component's karma.conf.js I will be able to run the tests as just running karma start. Sadly this is not the case.
The output I see is close to this:
START:
23 07 2019 23:21:27.677:WARN [filelist]: Pattern "/tmp/tmp-82898PM7NbYRZPf4/star-rating/__snapshots__/**/*.md" does not match any file.
23 07 2019 23:21:27.775:ERROR [preprocessor.esm]:

/tmp/tmp-82898PM7NbYRZPf4/star-rating/test/star-rating.test.js: Could not resolve '@open-wc/testing'.
> 1 | import { fixture, assert, aTimeout } from '@open-wc/testing';
    | ^
  2 | import { a11ySuite } from<EMAIL_ADDRESS>  3 | import sinon from 'sinon/pkg/sinon-esm.js';
  4 | import { click, keyDownOn } from<EMAIL_ADDRESS> at /tmp/tmp-82898PM7NbYRZPf4/star-rating/test/star-rating.test.js

23 07 2019 23:21:27.784:INFO [karma-server]: Karma v4.2.0 server started at http://<IP_ADDRESS>:9876/
23 07 2019 23:21:27.784:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox with concurrency unlimited
23 07 2019 23:21:27.787:INFO [launcher]: Starting browser ChromeHeadless
23 07 2019 23:21:28.098:INFO [HeadlessChrome 77.0.3854 (Linux 0.0.0)]: Connected on socket 47zMS4O-i-Ele7ZpAAAA with id 32221475

....

Uncaught TypeError: Failed to resolve module specifier "@open-wc/testing". Relative references must start with either "/", "./", or "../".
at http://localhost:9876/context.html:0:0

The dependencies are installed correctly and I can read the files from node_models directory.
I understand that the right module is not executed. So the question is how to run the test programmatically? So far I came up with the following script:
// Base class downloads git repo, installs dependencies
// and calls `_run()`. Nothing related to test itself.
class KarmaTestRunner extends BaseTestRunner {
  async _run() {
    const opts = this.createConfig();
    this.server = new Server(opts, (exitCode) => {
      logging.verbose(`Karma has exited with ${exitCode}`);
    });
    this._addListeners(this.server);
    this.server.start();
  }

  createConfig() {
    // this.componentDir is where temporary files were cloned to
    return config.parseConfig(path.join(this.componentDir, 'karma.conf.js'), {
      basePath: this.componentDir
    } );
  }

  _addListeners(srv) {
    srv.on('browser_complete', this._browserComplete.bind(this));
    srv.on('browser_error', this._browserError.bind(this));
    srv.on('run_complete', this._runComplete.bind(this));
  }

  _browserComplete(browser, result) {
    console.log('_browserComplete');
    console.log(browser, result);
  }

  _browserError(browser, error) {
    console.log('_browserError');
    console.log(browser, error);
  }

  _runComplete(browsers, results) {
    console.log('_runComplete');
    console.log(browsers, results);
  }
}

The configuration object looks correct. It has configuration read from component's karma.conf.js file and paths resolved to the tmp location. However it still fails. This is how the final config object looks like:
Config {
  LOG_DISABLE: 'OFF',
  LOG_ERROR: 'ERROR',
  LOG_WARN: 'WARN',
  LOG_INFO: 'INFO',
  LOG_DEBUG: 'DEBUG',
  frameworks:
   [ 'mocha',
     'snapshot',
     'mocha-snapshot',
     'source-map-support',
     'esm' ],
  protocol: 'http:',
  port: 9876,
  listenAddress: '<IP_ADDRESS>',
  hostname: 'localhost',
  httpsServerConfig: {},
  basePath: '/tmp/tmp-82898PM7NbYRZPf4/star-rating',
  files:
   [ Pattern {
       pattern:
        '/tmp/tmp-82898PM7NbYRZPf4/star-rating/__snapshots__/**/*.md',
       served: true,
       included: true,
       watched: true,
       nocache: false,
       weight: [Array],
       type: undefined },
     Pattern {
       pattern:
        '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/axe-core/axe.min.js',
       served: true,
       included: true,
       watched: true,
       nocache: false,
       weight: [Array],
       type: undefined },
     Pattern {
       pattern: '/tmp/tmp-82898PM7NbYRZPf4/star-rating/test/**/*.test.js',
       served: true,
       included: true,
       watched: true,
       nocache: false,
       weight: [Array],
       type: 'module' } ],
  browserConsoleLogOptions: { level: 'debug', format: '%b %T: %m', terminal: true },
  customContextFile: null,
  customDebugFile: null,
  customClientContextFile: null,
  exclude: [ '/tmp/tmp-82898PM7NbYRZPf4/star-rating/karma.conf.js' ],
  logLevel: 'INFO',
  colors: true,
  autoWatch: false,
  autoWatchBatchDelay: 250,
  restartOnFileChange: true,
  usePolling: true,
  reporters: [ 'mocha' ],
  singleRun: true,
  browsers: [ 'ChromeHeadlessNoSandbox' ],
  captureTimeout: 60000,
  proxies: {},
  proxyValidateSSL: true,
  preprocessors:
   [Object: null prototype] {
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/**/__snapshots__/**/*.md': [ 'snapshot', 'snapshot-filename' ],
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/**/*.test.js': [ 'esm' ],
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/**/*.spec.js': [ 'esm' ] },
  urlRoot: '/',
  upstreamProxy: undefined,
  reportSlowerThan: 0,
  loggers: [ { type: 'console', layout: [Object] } ],
  transports: [ 'polling', 'websocket' ],
  forceJSONP: false,
  plugins:
   [ '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-mocha/lib/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-mocha-reporter/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-source-map-support/lib/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-coverage-istanbul-reporter/src/reporter.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-static/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-snapshot/lib/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-mocha-snapshot/lib/index.js',
     '/tmp/tmp-82898PM7NbYRZPf4/star-rating/node_modules/karma-chrome-launcher/index.js',
<EMAIL_ADDRESS>     'karma-*',
<EMAIL_ADDRESS>     [Object: null prototype] { 'launcher:ChromeHeadlessNoSandbox': [Array] } ],
  client:
   { args: [],
     useIframe: true,
     runInParent: false,
     captureConsole: true,
     clearContext: true,
     mocha: { reporter: 'html' } },
  defaultClient:
   { args: [],
     useIframe: true,
     runInParent: false,
     captureConsole: true,
     clearContext: true,
     mocha: { reporter: 'html' } },
  browserDisconnectTimeout: 2000,
  browserDisconnectTolerance: 0,
  browserNoActivityTimeout: 30000,
  processKillTimeout: 2000,
  concurrency: Infinity,
  failOnEmptyTestSuite: true,
  retryLimit: 2,
  detached: false,
  crossOriginAttribute: true,
  browserSocketTimeout: 20000,
  customLaunchers:
   { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', flags: [Array] } },
  middleware: [ 'static', 'esm' ],
  static:
   { path:
      '/home/pawel/workspace/advanced-rest-client/api-components-apps/ci-app' },
  mochaReporter: { showDiff: true },
  formatError: [Function: formatError],
  coverageIstanbulReporter:
   { reports: [ 'html', 'lcovonly', 'text-summary' ],
     dir: 'coverage',
     combineBrowserReports: true,
     skipFilesWithNoCoverage: false,
     thresholds: { global: [Object] } },
  snapshot:
   { update: undefined,
     prune: undefined,
     limitUnusedSnapshotsInWarning: -1,
     pathResolver: [Function: pathResolver] },
  esm: { coverage: undefined, babel: { exclude: [Array] } } }

When I run test command in the directory it works as expected:
pawel@pawel-pc-ubuntu:/tmp/tmp-9049xD899ZGWHntL/star-rating$ ./node_modules/.bin/karma start

Any idea how can I make this work?

Sounds like an issue with your CI or karma. Are you sure it's installing your dependencies? You could temporarily try to use the absolute path to @open-wc/testing to rule out there isn't any issue with the module resolving.

I've checked if paths exists and all of them are absolute and correct.
What intrigues me is this fragment of the configuration:
static:
   { path:
      '/home/pawel/workspace/advanced-rest-client/api-components-apps/ci-app' },

This is not right as this is from where the scrip is executed. It might be an issue with karma but I am not sure.
I tried something else instead. Before reading configuration and running the server I change script directory to component's location and then is is actually working. I was hoping that the basePath in configuration do the trick. I think this is on karma. Because I made this work and apparently it is not open-wc's issues I am closing this.

Ah I see. this part is configurable in the latest version of karma-esm (there are some breaking changes). You can set the basePath to handle this correctly

For reference we use karma from the command in our CI: https://github.com/open-wc/open-wc/blob/master/.circleci/config.yml#L37


[WIP] Move to CircleCI 2.0

Resolves #3288.

Is this based off another Weaveworks project?  I've tended to use pre-build build images for speed.
E.g. https://github.com/weaveworks/weave/pull/3270/files , https://github.com/weaveworks/service-conf/blob/master/.circleci/config.yml

I'm closing this one as it's quite low on my priority list right now and I don't want to block others from giving it a try :)


if the source dir for an mdbook contains the build output dir(?) we recurse infinitely

failed to copy
./book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/FontAwesome/fonts/fontawesome-webfont.svg
to
book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/FontAwesome/fonts/fontawesome-webfont.svg

Reported to me over discord. I haven't looked fully into it and i'm not sure which copy is freaking out, but clearly something somewhere is trying to recursively copy a directory, and it's recursing into the directory where things are getting copied, so it just keeps digging itself deeper and deeper until something explodes. Apparently mdbook proper has some logic to avoid this.

nearly-minimal repro: https://gitlab.com/bssf/wiki/-/tree/oranda-repro
oranda build
↪ >o_o< INFO: Building components: changelog, mdbook
  × Couldn't build your mdbook at
  ├─▶ Rendering failed
  ├─▶ failed to copy `./book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/FontAwesome/fonts/fontawesome-
  │   webfont.svg` to `book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/
  │   book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/book/FontAwesome/fonts/fontawesome-
  │   webfont.svg`
  ╰─▶ File name too long (os error 63)


AAAAAAAA Bad mod code

Description
Dimension threading uses bad native code
Additional Notes (if applicable)
### Max I despise you.

Can you please refrain from offending the reviewers within this PR, also please fill in the template correctly for PR and stating what changes were made.

No.

Offensive comments directed toward the reviewer violate the established CTS server rules.
The deletion of this file violates the "Griefing rule":
Griefing
We consider the following as griefing. Stealing, destroying other people's property, or constant stalking of players.
By deleting the personal property of the mod creator and the CTS team.

You will need to do the necessary changes for us to merge the PR.

The name for this PR does not follow the established naming scheme: "AAAAAAAA Bad mod code #2"
You will need to do the complete the necessary changes for us to merge the PR.

Please follow the established contribution guidelines.

no

Kill yourself

This PR will be closed if the necessary changes won't be made, trolling is not allowed.

This PR will be closed if the necessary changes won't be made, trolling is not allowed.

Please follow standard contribution guidelines.

This repository has to be SOX compliant with UK law, hence you will need two reviewers to approve this repository for your information.

To increase the reach of our contributors to the United States Military and Air Force, we enforce the use of the Buddy System. Learn more at the Air Force website: https://www.airforce.com/frequently-asked-questions?q=military-training

PLEASE for the LOVE OF GOD shut UP im trying to SLEEP

PLEASE for the LOVE OF GOD shut UP im trying to SLEEP
Ratio

https://github.com/polartt/CTS/assets/79741806/390ac331-c0f3-49f6-afc9-840d3dab8f66

As per the Portland Cement Concrete Pavement specification (P-501, 501-3.1)
This mix design (of file removal and addition) does not follow the procedures contained in Chapter 7 of the Portland Cement Association's Manual, "Design and Control of Concrete Mixtures."
As such, this PR is unsafe for the tensile needs of Airport-Construction grade concrete, and cannot be used on Create The Server.
Sources Listed:
Specification P-501. Portland Cement Concrete Pavement, wisconsindot.gov/Documents/doing-bus/aeronautics/airports/part6.pdf. Accessed 17 July 2023.

Im ending it all

Thank you for making the changes, can you please the PR title and I will give you a LGTM

Please though for further notice ensure to use proper commit messages as its important to our developer guidelines.


fix: forward ref with nested models and optional fields

Change Summary
PR #1712 introduced a regression for forward refs in ModelField.prepare
as it would not return early for forward refs anymore.
Optional fields would hence have required set to True.
Related issue number
closes #1736
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

great, thank you. Sorry it's taken me so long to get to this.
Does this need a patch release or can it wait until 1.7?

@samuelcolvin I guess it can wait as no issue has been opened since then for this issue


Can we Zoom and Rotate at the same time in one drag event ?

If you have tried Google Photos's editing feature.. in that we can Zoom and Rotate at the same time. Can we create something like that using cropper.js.
I have tried one demo code but its not working smoothly also zoom + rotate not working as expected. it will be helpful if you can help me out with any demo solution or code.
Please refer attached image.

@fengyuanchen

if any one can help me in this.

I would like to update few code.
I have somehow achieved the smoothness on Rotation + Zoom like asked above.. this i have achieved using rotateTo function and scale to below mention code
function getTransforms(_ref) {
    var rotate = _ref.rotate,
        **scale = Math.abs(1 + (Math.abs(_ref.rotate) * 0.030)),**
        scaleX = _ref.scaleX,
        scaleY = _ref.scaleY,
        translateX = _ref.translateX,
        translateY = _ref.translateY;
    var values = [];

    if (isNumber(translateX) && translateX !== 0) {
        values.push("translateX(".concat(translateX, "px)"));
    }

    if (isNumber(translateY) && translateY !== 0) {
        values.push("translateY(".concat(translateY, "px)"));
    } // Rotate should come first before scale to match orientation transform

    if (isNumber(rotate) && rotate !== 0) {
        values.push("rotate(".concat(rotate, "deg)"));
    }

    //if (isNumber(scale) && scale !== 0) {
    //    values.push("scale(".concat(scale, ")"));
    //}

    if (isNumber(scaleX) && scaleX !== 1) {
        values.push("scaleX(".concat(scaleX, ")"));
    }

    if (isNumber(scaleY) && scaleY !== 1) {
        values.push("scaleY(".concat(scaleY, ")"));
    }

    var transform = values.length ? values.join(' ') : 'none';
    return {
        WebkitTransform: transform,
        msTransform: transform,
        transform: transform
    };
}

But now the problem is when i am calling getCroppedCanvas function it is giving me wrong cropped image. Cropped image's size is too different and also it is not taking the space of that crop area.
Please refer image link mentioned below. and would be very helpful if anybody can help me in this.
https://user-images.githubusercontent.com/36665887/64017778-190ee080-cb48-11e9-8dd2-37cec6a62f71.png

@fengyuanchen if you can help me in this please.

Not support that. You may need to refactor the Cropper.js if you are interested in this.


Clean-Up Scheduler

We could add a function to the notification scheduler that will do the following:

remove events from groups that don't exist
remove groups that have no members
remove groups whose joinId was not generated (The function will set the joinId to "" if it cannot create an id within 50 attempts)

I think it would be better if we didn't use a scheduler for this.
For example, when a request is sent to the backend for a user to be removed from a group, we can check if there are no users in the group after the user is removed, and then call the function to delete the group itself.

Maybe we can:
This will make it so that the existing IDs are only gathered ONCE from database, as opposed to each iteration.
Furthermore, if it cannot generate an un-used code within 10 tries, it will add an extra character slot until a code is found within 10 tries.
Pseudocode:
function createUnusedId() {      //returns a code
const existingIds = getAllExistingIds();
let idLength = 7;
let attempts = 1;
let unusedIdToReturn = null;
loop until  unusedIdToReturn != null
{
  let attemptId = generateId(idLength);
  for existingIds (id)
    {
    if (id == attemptId) then { attemptId = null; break out of inner loop }
    }
  unusedIdToReturn = attemptId
  attempts ++;
  if (attempts >= 10) { idLength ++;}
}

}


Add a tabindex of -1 to the resize-sensor element

This is to prevent the resize sensor from hijacking the tabindex of other elements. Fixes #142

Thanks @Carnewal!