text:
Cannot find svelte inspector when running dev server

Describe the bug
Recently had to reinstall Windows and am trying to pick my svelte-kit project back up again. I get the following issue when trying to run the dev server:
error when starting dev server:
file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/@sveltejs+vite-plugin-svelte@3.1.1_svelte@4.2.18_vite@5.3.4/node_modules/@sveltejs/vite-plugin-svelte/src/index.js:3
import { svelteInspector } from '@sveltejs/vite-plugin-svelte-inspector';
         ^^^^^^^^^^^^^^^
SyntaxError: Named export 'svelteInspector' not found. The requested module '@sveltejs/vite-plugin-svelte-inspector' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@sveltejs/vite-plugin-svelte-inspector';
const { svelteInspector } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:171:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
    at async load_config (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/@sveltejs+kit@2.5.18_@sveltejs+vite-plugin-svelte@3.1.1_svelte@4.2.18_vite@5.3.4__svelte@4.2.18_vite@5.3.4/node_modules/@sveltejs/kit/src/core/config/index.js:70:17)
    at async sveltekit (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/@sveltejs+kit@2.5.18_@sveltejs+vite-plugin-svelte@3.1.1_svelte@4.2.18_vite@5.3.4__svelte@4.2.18_vite@5.3.4/node_modules/@sveltejs/kit/src/exports/vite/index.js:130:24)
    at async Promise.all (index 0)
    at async asyncFlatten (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/vite@5.3.4/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:17369:12)
    at async resolveConfig (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/vite@5.3.4/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:66463:27)
    at async _createServer (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/vite@5.3.4/node_modules/vite/dist/node/chunks/dep-D8YhmIY-.js:63050:18)
    at async CAC.<anonymous> (file:///C:/Users/llewe/Documents/web/projects/reg-message/reg-message-frontend/node_modules/.pnpm/vite@5.3.4/node_modules/vite/dist/node/cli.js:735:20)

When creating a new sveltekit project using the same package versions, the issue is not present.
Reproduction

Install git bash for windows (v2.45.2) here
Install pnpm v9.6.0 with npm install -g pnpm@9.6.0
Clone the repo found here: f-llewellyn/reg-message-frontend
Navigate to the cloned repo
Run pnpm i to install the packages
Run pnpm dev to run the dev server

Logs
No response
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 5600 6-Core Processor
    Memory: 18.20 GB / 31.91 GB
  Binaries:
    Node: 22.3.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.6.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (126.0.2592.113)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @sveltejs/adapter-auto: ^3.2.2 => 3.2.2
    @sveltejs/kit: ^2.5.18 => 2.5.18
    @sveltejs/vite-plugin-svelte: ^3.1.1 => 3.1.1
    svelte: ^4.2.18 => 4.2.18
    vite: ^5.3.4 => 5.3.4

Severity
blocking all usage of SvelteKit
Additional Information
No response

duplicate of https://github.com/sveltejs/vite-plugin-svelte/issues/922
this seems to be caused by pnpm on windows , try reinstalling it and  clearing its cache

yep, pnpm issue.

authors: dominikg f-llewellyn rrrrigel


text:
update peer dependencies

This is so that npm doesnt complain when using react 0.14

Thanks :)

source: gharchive/pull-request

authors: svenanders tikotzky

repo: svenanders/react-iframe

license: isc

license_type: permissive

license_source: bigquery


text:
Non-zero exit status 3

Using  pdf-sign file.pdf, I receive the error below. I haven't run into this before the new version (maybe when pdftk was used?). Seems to be for only some files.
WARNING: file.pdf, object 52 0 at offset 395659: this widget annotation is not reachable from /AcroForm in the document catalog
WARNING: file.pdf, object 55 0 at offset 387012: this widget annotation is not reachable from /AcroForm in the document catalog
WARNING: file.pdf, object 58 0 at offset 378362: this widget annotation is not reachable from /AcroForm in the document catalog
WARNING: file.pdf (object 10 0): object has offset 0
WARNING: file.pdf (object 15 0): object has offset 0
WARNING: file.pdf (object 414 0): object has offset 0
WARNING: file.pdf, object 52 0 at offset 395659: this widget annotation is not reachable from /AcroForm in the document catalog
WARNING: file.pdf, object 55 0 at offset 387012: this widget annotation is not reachable from /AcroForm in the document catalog
WARNING: file.pdf, object 58 0 at offset 378362: this widget annotation is not reachable from /AcroForm in the document catalog
qpdf: operation succeeded with warnings; resulting file may have some problems
Traceback (most recent call last):
  File "/nix/store/ic3q5cr8jx5ghwhw2k8sccvn6dhd2jzj-pdf-sign-git/bin/.pdf-sign-wrapped", line 755, in <module>
    main(parser.parse_args(sys.argv[1:] or ['-h']))
  File "/nix/store/ic3q5cr8jx5ghwhw2k8sccvn6dhd2jzj-pdf-sign-git/bin/.pdf-sign-wrapped", line 38, in main
    qpdfOrPdftk([
  File "/nix/store/ic3q5cr8jx5ghwhw2k8sccvn6dhd2jzj-pdf-sign-git/bin/.pdf-sign-wrapped", line 487, in qpdfOrPdftk
    subprocess.run(cmd, check=True)
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['qpdf', '--flatten-annotations=all', '--generate-appearances', 'file.pdf', '/tmp/tmpmu_7ot87/input.pdf']' returned non-zero exit status 3.

@GregorySchwartz Would be great if you could provide 1) An example problematic file without sensitive content and 2) The nix flake producing ic3q5cr8jx5ghwhw2k8sccvn6dhd2jzj or versions for pdf-sign and qpdf.

@GregorySchwartz Bump. An example file might be enough.

Unfortunately the only files I could reproduce this with have sensitive information...

@GregorySchwartz Could you please test branch dev?

Executing as before, you should see the same warnings, but no traceback. pdf-sign should print qpdf exited with code 3, indicating warnings. Use --continue-on-warnings to ignore. and exit with code 1.
Adding --continue-on-warnings to the invocation should cause pdf-sign to function normally, except the warnings should still be printed.

source: gharchive/issue

authors: GregorySchwartz svenssonaxel

repo: svenssonaxel/pdf-sign

license: MIT

license_source: github-api


text:
RoadRunner integration

[x] #29
[x] #30
[ ] #31
[x] #36

Ryan is working on this

repo: svhsrobotics/FtcRobotController


text:
MethodError:  |(::Pattern, ::SubstitutionString{ASCIIString})

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.2 (2015-12-06 21:47 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> using Lisp
ERROR: LoadError: LoadError: MethodError: `|` has no method matching |(::ParserCombinator.Pattern, ::Base.SubstitutionString{ASCIIString})
Closest candidates are:
  |(::Any, ::Any, ::Any, ::Any...)
  |(::ParserCombinator.Matcher, ::ParserCombinator.Alt)
  |(::ParserCombinator.Matcher, ::ParserCombinator.Matcher)
 in include at boot.jl:261
 in include_from_node1 at loading.jl:304
 in include at boot.jl:261
 in include_from_node1 at loading.jl:304
 in require at loading.jl:243
while loading C:\Users\Peter\.julia\v0.4\Lisp\src\parser.jl, in expression starting on line 9
while loading C:\Users\Peter\.julia\v0.4\Lisp\src\Lisp.jl, in expression starting on line 2

julia>

This is the line: https://github.com/swadey/Lisp.jl/blob/master/src/parser.jl#L9

This was due to a change in ParserCombinator's API.  Should be fixed now.  I also updated everything to support 0.4 and higher.

Thank you very much!

authors: Ismael-VC swadey

license: mit


text:
"oneOf" property in @Schema annotation ignored in resource response

Q
A

Bug or feature request?
Unknown

Which Swagger-Core version?
v2.0.0-rc2

Which Java version?
1.8.0_131

Which JAX-RS framework & version?
2.0.1

I try to annotate my jaxrs class in order to generate an open api 3.0.0 spec that supports inheritance / polymorphism. For some reason I'm not able to generate a responses object that reflects the semantic of "oneOf" in order to show the user that different "subtypes" of the response type may be returned.
In detail, I want to achieve the following result
{
    "openapi": "3.0.0",
    "paths": {
        "/test/bean": {
            "get": {
                "summary": "Test inheritance / polymorphism",
                "operationId": "getBean",
                "parameters": [
                    {
                        "name": "number",
                        "in": "query",
                        "description": "Test inheritance / polymorphism",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "int32"
                        },
                        "example": 1
                    }
                ],
                "responses": {
                    "200": {
                        "description": "bean answer",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "$ref": "#/components/schemas/MultipleSub1Bean"
                                        },
                                        {
                                            "$ref": "#/components/schemas/MultipleSub2Bean"
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "MultipleSub2Bean": {
                "type": "object",
                "properties": {
                    "d": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "description": "MultipleSub2Bean",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MultipleBaseBean"
                    }
                ]
            },
            "MultipleBaseBean": {
                "type": "object",
                "properties": {
                    "beanType": {
                        "type": "string"
                    },
                    "a": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "b": {
                        "type": "string"
                    }
                },
                "description": "MultipleBaseBean",
                "example": {
                    "a": 0,
                    "b": "test"
                }
            },
            "MultipleSub1Bean": {
                "type": "object",
                "properties": {
                    "c": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "description": "MultipleSub1Bean",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MultipleBaseBean"
                    }
                ]
            }
        }
    }
}

At present I use the following java code:
@Path("/test")
public class TestSwaggerApi {
    @GET
    @Path("/bean")
    @Operation(summary = "Test inheritance / polymorphism",
    responses = {
        @ApiResponse(description = "bean answer",
            responseCode = "200",
            content = @Content(
                mediaType = MediaType.APPLICATION_JSON,
                schema = @Schema(
                    oneOf = { MultipleSub1Bean.class, MultipleSub2Bean.class }
                )
            )
        )
    })
    @Produces({ MediaType.APPLICATION_JSON })
    public MultipleBaseBean getBean(
        @Context HttpServletRequest req,
        @Parameter(description = "Test inheritance / polymorphism",
        required = true,
        example = "1")
        @QueryParam("number") final int beanNumber) {

        // do something...
        ...
    }
}

@io.swagger.v3.oas.annotations.media.Schema(
    description = "MultipleBaseBean",
    subTypes = { MultipleSub1Bean.class, MultipleSub2Bean.class }
)
public class MultipleBaseBean {
    public String beanType;
    public int a;
    public String b;
}

@io.swagger.v3.oas.annotations.media.Schema(
    description = "MultipleSub1Bean"
)
public class MultipleSub1Bean extends MultipleBaseBean {
    public int c;
}

@io.swagger.v3.oas.annotations.media.Schema(
    description = "MultipleSub2Bean"
)
public class MultipleSub2Bean extends MultipleBaseBean {
    public int d;
}

But the generated api holds not the expected responses object:
{
    "openapi": "3.0.0",
    "paths": {
        "/test/bean": {
            "get": {
                "summary": "Test inheritance / polymorphism",
                "operationId": "getBean",
                "parameters": [
                    {
                        "name": "number",
                        "in": "query",
                        "description": "Test inheritance / polymorphism",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "int32"
                        },
                        "example": 1
                    }
                ],
                "responses": {
                    "200": {
                        "description": "bean answer",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "MultipleSub2Bean": {
                "type": "object",
                "properties": {
                    "d": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "description": "MultipleSub2Bean",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MultipleBaseBean"
                    }
                ]
            },
            "MultipleBaseBean": {
                "type": "object",
                "properties": {
                    "beanType": {
                        "type": "string"
                    },
                    "a": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "b": {
                        "type": "string"
                    }
                },
                "description": "MultipleBaseBean",
                "example": {
                    "a": 0,
                    "b": "test"
                }
            },
            "MultipleSub1Bean": {
                "type": "object",
                "properties": {
                    "c": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "description": "MultipleSub1Bean",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MultipleBaseBean"
                    }
                ]
            }
        }
    }
}

I played around with the swagger test classes code, but I was not able to produce the requested result. I also tried to use the "implementation" property, but by doing so my "oneOf" property definition gets completely ignored.
Am I doing something wrong, or is this a missing feature?

It was indeed a missing feature / bug; correct support has been added in #2585, and is part of latest 2.0.0-SNAPSHOT version available on sonatype, and will be part of next release; closing ticket, please reopen if your issue isn't fixed.

Appreciate your work! Thank you very much!!!

authors: duerrm frantuma

repo: swagger-api/swagger-core


text:
Improved footer

Issue resolved: #630
Pull Request Format
PR Title
Issue #0 : ISSUE NAME solved
Type of PR

Add X in the box to specify the improvement type.
[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to [briefly describe what the pull request does, e.g., "add a new feature," "fix a bug," "improve documentation," etc.].
Screenshots / Videos (if applicable)
Before:

[Describe the state before the changes, e.g., "The section headings in the footer were misaligned, leading to an inconsistent and cluttered appearance."]

After:

[Describe the state after the changes, e.g., "The section headings in the footer are now properly aligned, providing a clean and professional look."]

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Provide any additional context about the changes, such as specific challenges you faced or decisions you made. This can help reviewers understand the rationale behind your changes.]
Thank you for reviewing my pull request!

@Kajalmehta29 Too poor footer. If you can make it better. Not need separate page for feedback.

repo: swaraj-das/Collect-your-GamingTools


text:
exportToExcel getting Call to undefined method EDL::isGroup() on v2.1.27

Before we get into the details, a quick question: does v2.1.27 require a newer PHP version?
I'm still running PHP v8.3.11.
Also, my installed older version was showing as 2.1.25 but I think it was a bugfix dev release that rolled into v2.1.26 if I remember correctly (could be wrong).
Describe the bug
I ran a command that worked fine the last time I used it (then-current-release or possibly dev release v2.1.25 downloaded 2 Sep 2024), but after upgrading to v2.1.27 latest release today I get the error in the title.
Expected behavior
Normal output per previous versions.
Current behavior
> php -r "require_once 'C:/tools/pan/pan-os-php/utils/pan-os-php.php';" type=rule in=api://panorama.domain.com location=any ruletype=security 'actions=exportToExcel:DevQA-Rules.xls' 'filter=(src has.recursive network1) or (src has.recursive host1) or (src has.recursive host2) or (src has.recursive host3) or (src has.recursive host4) or (dst has.recursive network1) or (dst has.recursive host1) or (dst has.recursive host2) or (dst has.recursive host3) or (dst has.recursive host4)'

***********************************************
*********** pan-os-php.php type=rule UTILITY **************

 - PAN-OS-PHP version: 2.1.27 [WIN] [8.3.11]
 - Downloading config from API...
 - Detected platform type is 'panorama'
 - No 'template' provided so using default ='any'
 - filter after sanitization : (src has.recursive network1) or (src has.recursive host1) or (src has.recursive host2) or (src has.recursive host3) or (src has.recursive host4) or (dst has.recursive network1) or (dst has.recursive host1) or (dst has.recursive host2) or (dst has.recursive host3) or (dst has.recursive host4)
 - Loading configuration through PAN-OS-PHP library...
   (0.97 seconds, 52.43 mb memory)
 - PAN-OS-PHP APP-ID version: 8902-9003

 - PAN-OS APP-ID version: 8904-9011
 - PAN-OS AV version: 4974-5492
 - PAN-OS WF version: 515890-518890
 - PAN-OS THREAT version: 8904-9011
 - PAN-OS version: 110
 - PAN-OS Device timezone: US/Pacific is used. actual time: 2024/10/17 13:09:44
   - action 'exportToExcel' has tasks to process before start.
   - action 'exportToExcel' has tasks to process before start.
   - action 'exportToExcel' has tasks to process before start.

* processing ruleset 'PanoramaConf: / RuleStore:Security' that holds 454 rules
PHP Fatal error:  Uncaught Error: Call to undefined method EDL::isGroup() in C:\tools\pan\pan-os-php\lib\container-classes\AddressRuleContainer.php:555
Stack trace:
#0 C:\tools\pan\pan-os-php\lib\misc-classes\RQuery.php(199) : eval()'d code(1): AddressRuleContainer->hasObjectRecursive()
#1 C:\tools\pan\pan-os-php\lib\misc-classes\RQuery.php(199): eval()
#2 C:\tools\pan\pan-os-php\lib\misc-classes\RQuery.php(331): RQuery->matchSingleObject()
#3 C:\tools\pan\pan-os-php\utils\lib\RULEUTIL.php(371): RQuery->matchSingleObject()
#4 C:\tools\pan\pan-os-php\utils\lib\RULEUTIL.php(37): RULEUTIL->time_to_process_objects()
#5 C:\tools\pan\pan-os-php\utils\lib\UTIL.php(215): RULEUTIL->utilStart()
#6 C:\tools\pan\pan-os-php\lib\misc-classes\PH.php(1060): UTIL->__construct()
#7 C:\tools\pan\pan-os-php\utils\pan-os-php.php(118): PH::callPANOSPHP()
#8 Command line code(1): require_once('...')
#9 {main}
  thrown in C:\tools\pan\pan-os-php\lib\container-classes\AddressRuleContainer.php on line 555

Possible solution
On v2.1.25 (again, not sure if this was the stable or dev release from my last issue report), I get this:
> php -r "require_once 'C:/tools/pan/pan-os-php/utils/pan-os-php.php';" type=rule in=api://panorama.domain.com location=any ruletype=security 'actions=exportToExcel:DevQA-Rules.xls' 'filter=(src has.recursive network1) or (src has.recursive host1) or (src has.recursive host2) or (src has.recursive host3) or (src has.recursive host4) or (dst has.recursive network1) or (dst has.recursive host1) or (dst has.recursive host2) or (dst has.recursive host3) or (dst has.recursive host4)'

***********************************************
*********** pan-os-php.php type=rule UTILITY **************

 - PAN-OS-PHP version: 2.1.25 [WIN] [8.3.11]
 - Downloading config from API...
 - Detected platform type is 'panorama'
 - No 'template' provided so using default ='any'
 - filter after sanitization : (src has.recursive network1) or (src has.recursive host1) or (src has.recursive host2) or (src has.recursive host3) or (src has.recursive host4) or (dst has.recursive network1) or (dst has.recursive host1) or (dst has.recursive host2) or (dst has.recursive host3) or (dst has.recursive host4)
 - Loading configuration through PAN-OS-PHP library...
   (1.20 seconds, 52.43 mb memory)
 - PAN-OS-PHP APP-ID version: 8867-8824

 - PAN-OS APP-ID version: 8904-9011
 - PAN-OS AV version: 4974-5492
 - PAN-OS WF version: 515890-518890
 - PAN-OS THREAT version: 8904-9011
 - PAN-OS version: 110
 - PAN-OS Device timezone: US/Pacific is used. actual time: 2024/10/17 13:14:09
   - action 'exportToExcel' has tasks to process before start.
   - action 'exportToExcel' has tasks to process before start.
   - action 'exportToExcel' has tasks to process before start.

* processing ruleset 'PanoramaConf: / RuleStore:Security' that holds 454 rules
   - object 'rule001'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'File-Sharing-01'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'File-Sharing-02'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule002'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule003'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule004'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule005'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule006'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule007'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule008'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule009'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

* objects processed in DG/Vsys '' : 11 filtered over 454 available

* processing ruleset 'PanoramaConf: / DeviceGroup:FW1 / RuleStore:Security' that holds 950 rules
   - object 'rule010'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule011'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule012'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule013'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014b'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule015'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule016'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule017'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule018'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule018a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule019'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule019a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule020'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule021'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule021a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule022'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule023'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule024'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule025'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule025a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule026'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule027'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule028'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule029'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule030'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

* objects processed in DG/Vsys 'FW1' : 28 filtered over 950 available

* processing ruleset 'PanoramaConf: / DeviceGroup:FW2 / RuleStore:Security' that holds 1469 rules
   - object 'rule011'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule010'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule015'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule016'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule012'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule029'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule030'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule018'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule018a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule013'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule017'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule019'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule014b'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule020'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule021'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule021a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule023'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule024'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule025'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule025a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule026'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule031'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule028'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule019a'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule013-1'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule012b'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'rule013-2'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

   - object 'File-Sharing-01-T2'  passing through Action='exportToExcel' Args: filename=DevQA-Rules.xls, additionalFields=,

* objects processed in DG/Vsys 'FW2' : 30 filtered over 1469 available

   - action 'exportToExcel' has tasks to process before shutdown.

 **** PROCESSED 69 objects over 2873 available ****

************* END OF SCRIPT pan-os-php.php type=rule ************

Your Environment

Environment name and version: PowerShell v5.1
Operating System and version (desktop or mobile): Windows 10

Thanks for sharing this.
Sorry I did not saw your ticket.
This bug is now fixed in latest develop container, and it will be published in the next few week to latest container.
in your case please use:
https://github.com/swaschkut/pan-os-php/tree/develop_2-1-X

No worries - I just assumed you were busy or on holiday.  Thanks for getting to it.
I'll check out the dev build in a few hours.

Sorry, I was doing some punishing PANOS upgrades that did not go well (nice 16 hour day).  I'll check it out later today (Wednesday).

My apologies for the delay - I finally was able to test the dev build and it worked fine.
Thanks!

version 2.1.28 is now published and include this fix
#30

authors: bethatasitmay swaschkut

repo: swaschkut/pan-os-php

license: ISC


text:
doc: add @swc/core dependency to usage example

On a fresh repo, running the previous example would result in a Error: Cannot find module '@swc/core' otherwise.
I think it'd also be good to add @swc/core as a peer dependency to @swc-node/register, so that @swc/core will be installed automatically when missing.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@swc/core in peerDependencies works as expected

I see it: https://github.com/swc-project/swc-node/blob/a1098be19a37077c419e42a60cf81889c5c94704/packages/register/package.json#L51
I guess my npm is not set up to automatically install peer dependencies.

Found the reason why npm did not install @swc/core: I had legacy-peer-deps=true in my .npmrc. Removing it made it install the peer dep.

authors: CLAassistant silverwind yeliex

repo: swc-project/swc-node


text:
Unicode character U+309B not accepted in identifiers

Describe the bug
Some unicode character not accepted in identifiers.
If using unicode character, it will get the error “”Invalid character in identifier"
If using encoded character, it will get the error: Unexpected character '゛'
Input code
var ゛; // U+309B
var \u309B;
var \u309C;
var a\u309B;
var a\u309C;

Config
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript"
    },
    "target": "es5"
  },
  "module": {
    "type": "commonjs"
  },
  "isModule": false
}

Playground link
https://play.swc.rs/?version=1.2.148&code=H4sIAAAAAAAAAytLLFJ43DTbWkFfXyFU29jA0gkAY3O%2FZhIAAAA%3D&config=H4sIAAAAAAAAAy2LQQqAMAwE%2F5KzVy%2F9g48INUpL05YkgkX6dw142t0Z9oGsEcIDHUVJvOmohjcEoMioUVI3mAsYyknmWFff3ParkB9s9C8hNuZWs7pMuv36wKI0X3tLUmhnAAAA
https://play.swc.rs/?version=1.2.148&code=H4sIAAAAAAAAAytLLFKIKTU2sHSy5iqDsZ0h7ERkiUSoDAASLisXMQAAAA%3D%3D&config=H4sIAAAAAAAAAy2LQQqAMAwE%2F5KzVy%2F9g48INUpL05YkgkX6dw142t0Z9oGsEcIDHUVJvOmohjcEoMioUVI3mAsYyknmWFff3ParkB9s9C8hNuZWs7pMuv36wKI0X3tLUmhnAAAA
Expected behavior
SWC should properly parse these unicode as these code are valid identifiers.
Actual behavior
error: Unexpected character '゛'
 --> input.js:1:5
  |
1 | var ゛; // U+309B
  |     ^
Caused by:
    0: failed to process js file
    1: failed to process js file
    2: Syntax Error

error: Invalid character in identifier
 --> input.js:1:5
  |
1 | var \u309B;
  |     ^^^^^^

Version
1.2.148
Additional context
I run swc use cmd as follows
npx swc --config-file=.swcrc poc.js -o poc.js

The environment is ubuntu 20.04 amd64.

Isn't this same as https://github.com/swc-project/swc/issues/3341 except charpoint?

@kwonoj Sounds like yes, maybe we can union them

It's an identical issue iff U+309B unicode id and not unicode xid.
I didn't close this as a duplicate as I need to check it.

I found https://github.com/Boshen/unicode-id
I'll patch it.

authors: alexander-akait clhiker kdy1 kwonoj

repo: swc-project/swc


text:
JSX automatic contains classic output when jsx spread comes before other props

Describe the bug
It seems the emit output contains the classic output when a jsx spread comes before other props.
Input code
const TabButton = (tab) => {
  const props = { className: tab };

  return (
    <button {...props} key={tab}>
      {tab}
    </button>
  )
}
const TabButton2 = (tab) => {
  const props = { className: tab };

  return (
    <button key={tab} {...props}>
      {tab}
    </button>
  )
}

Config
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": true
    },
    "target": "es2022",
    "loose": false,
    "minify": {
      "compress": false,
      "mangle": false
    },
    "transform": {
      "react": {
        "importSource": "npm:react",
        "runtime": "automatic"
      }
    }
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.96-nightly-20231103.1&code=H4sIAAAAAAAAA0vOzysuUQhJTHIqLSnJz1OwVdAoSUzSVLC1U6jmUlBIBksXFOUXFAOlqhWScxKLi%2F0Sc1OtFIDKFGqtuYCKilJLSovyFDSATAUFmySIQdV6enpgfbUK2amVttVA5bV2YBUKCmAORLU%2BRDlIRpOrlisZ1TlG1HMP3BFILiPoHgB6b3fKHgEAAA%3D%3D&config=H4sIAAAAAAAAA1WQPQ7CMAyFd05ReWZAHRi4AxMnsIJbBdVJZDsSFerdSdMfyhIl33vPjv05NQ281MGt%2BZRreSQUJdnfhegYDN%2BFADlGdeKTwXlTXzpLJpkqmRYBDKUnqyFtL227BmCIUangDgellbEPvhuPLV3kJKT6b5ytGPphz%2F93FAzaReFjISF0dgAFeU5R7BGzuLkQhMS3xXb%2BmSQH81x1zBYZzTtY5em0nbU1cHzm%2Bqd1gzYmWga%2Fws%2B0zbjPA17vW7Kub%2FoCEngkRo0BAAA%3D
SWC Info output
No response
Expected behavior
Should use jsx automatic for everything.
Actual behavior
import { jsx as _jsx } from "npm:react/jsx-runtime";
import { createElement as _createElement } from "npm:react";
const TabButton = (tab)=>{
    const props = {
        className: tab
    };
    return /*#__PURE__*/ _createElement("button", {
        ...props,
        key: tab
    }, tab);
};
const TabButton2 = (tab)=>{
    const props = {
        className: tab
    };
    return /*#__PURE__*/ _jsx("button", {
        ...props,
        children: tab
    }, tab);
};

Version
1.3.96-nightly-20261103.1
Additional context
No response

This is intentional and the source code has comments for this

Huh, interesting. Thanks! Seems like both TypeScript and Babel also do this:
https://www.typescriptlang.org/play?jsx=4#code/MYewdgzgLgBAKgQwEYCECuUrhgXhgCimQEpcA+GAbwFgAoGGUSWABwCcQWJcrGAbBBAgA5BAFsApgC4YRJDAC+Abjp0GbCVDRswBNQxgAeJBiy7KAOivtOEBTADWEgJ45KchWX0GqH70YB6E0xwL3oYYjoFOiZoeGR0ELAAJh5CEnIqfVjWDi4eSn5BEXFpWWRFFVp9DS0dPXCGY1NsJ1d3ZHtLazy7MJ8GDqRoxsDgs36IqKA
https://babeljs.io/repl#?browsers=&build=&builtIns=false&corejs=3.6&spec=false&loose=false&code_lz=MYewdgzgLgBAKgQwEYCECuUrhgXhgCimQEpcA-GAbwCgYZRJYAHAJxCYlyvoBsEIIAOQQBbAKYAuGESQwAvgG5qtGCzFQ0LMARV0APEgxZtlAHTnW7CHJgBrMQE8clGXLK66VVx70B6Q5jg7nTE1HLUDNDwyOiBYABMXIQk5FQqkcxsHFyUvPxCopLSyPJKKmoaWjqeMAZG2PZOLsg2ZhZZ1sE1Xi0-_vVgXaFyQA&debug=false&forceAllTransforms=false&modules=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=es2015%2Creact%2Cstage-2&prettier=false&targets=&version=7.23.2&externalPlugins=&assumptions={}


text:
fix(node-swc/types): add missing es6 config type(#2633)

Closes #2633

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Should I rebase it?

No, I rebased it.

authors: CLAassistant kdy1 magic-akari


text:
feat(es/compat): impl pure_getters for optional_chaining

Description:

BREAKING CHANGE:

Related issue (if exists):
Closes #7921

I don't believe it would be easy. Both are referenced many times.


text:
fixes branch ref

currently refs
    ref: 912/merge

which is incorrect branch name.

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

authors: adrian-kong swiftnav-travis

repo: swift-nav/swift-toolbox


text:
Use Dockerfile.template as root source of truth.

This commit takes the lead from
docker-node, separating
supported versions into their own folders, using Dockerfiles generated
from template. This commit closes #92 by backporting Clang 3.8 into 3.1.
I have also removed two soon to expire PGP keys from the file and added the new automation key.

@swizzlr i wanted to do this forever!!!! redis, ruby, and a bunch of other docker images are doing the same thing! I think i mentioned this in some discussion earlier Thank you!

I've smoke tested both 3 and 4 with two separate Swift 3 and 4 codebases respectively.

authors: hamin swizzlr

repo: swiftdocker/docker-swift


text:
Tests can’t jump to generated interface of stdlib

I needed to disable a few tests in SwiftInterfaceTests because they can’t jump to generated interfaces of the stdlib. Investigate why.

Synced to Apple’s issue tracker as rdar://138210215

repo: swiftlang/sourcekit-lsp


text:
Long cache retrieval when resolving dependencies

Description
SPM dependency resolution takes a very long time to extract. Each packet takes on average ~1 second to extract.
As I understand it, the problem is that the cache is stored in a compressed form and takes time to extract. But it seems to me that this is of less practical use than a faster resolution.
I would like the user cache to store the original artifacts (the same as in the local .build directory)

I assume you mean "package" not "packet". But yes, it's actually doing a git clone and checkout from the cache which is a very expensive operation.

I think we're probably at the point where we're doing the best we can. SwiftPM does a complete git clone into the user cache under .swiftpm/cache/repositories. We need that so we have all the versions available during dependency resolution and allows you to have multiple projects using different versions. We then do a shallow clone of the selected revision over to the package scratch directory. One second to do is about as fast as git can go.
The solution we're hoping for is the previous work with package registries where the registry would have the metadata we need and a source archive for each available version. Then we can cache those which would be much faster. But I'm not sure when a community wide solution for that will happen.

repo: swiftlang/swift-package-manager


text:
[DO NOT MERGE] Check the codepage used on Windows in Jenkins

[One line description of your change]
Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications:
[Describe the modifications you've done.]
Result:
[After your change, what will change.]
Checklist:

[ ] Code and documentation should follow the style of the Style Guide.
[ ] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci test Windows

@swift-ci test

*** CODEPAGE IN CI: 1252 -- CONSOLE: 65001

repo: swiftlang/swift-testing


text:
[Macros] Remove SwiftOperators dependency

Looks like this got missed by #74502

@swift-ci please test

repo: swiftlang/swift


text:
[Concurrency] Add missing Sendable conformances to nested value types in Async{Throwing}Stream.

Termination, BufferingPolicy, and YieldResult all have trivial conformances to Sendable. The conformance on YieldResult is conditional on Element: Sendable because one of the enum cases stores an element in its associated value.

@swift-ci please smoke test


text:
scan-deps-deterministic-check-windows

Test commit to see the test failure on windows.

@swift-ci please smoke test windows platform

Closing as I have an idea what is going on.


text:
[Diagnostics] Add -print-diagnostic-groups flag

This change adds the -print-diagnostic-groups flag as described by SE-0443.

@DougGregor please take a look
I've also added the flag to many relevant tests. This way we test that the messages we're getting are expected and belong to the expected group. IMO it's nice to have some extra coverage so we can be sure we don't change the group of a warning accidentally. But let me know if you think otherwise.
Also, there's a use of DiagnosticOptions and DiagnosticEngine in LLDB so I've opened a PR there as well https://github.com/swiftlang/llvm-project/pull/9240

Only a small comment and a question, this looks good!

@swift-ci please smoke test

@DougGregor Since there are changes in the public members of DiagnosticOptions and DiagnosticEngine LLDB won't build without this patch https://github.com/swiftlang/llvm-project/pull/9240
I don't know how to deal with it, both of these PRs depend on each other and should be tested and merged together.
Can you rerun the tests here with that PR?

https://github.com/swiftlang/llvm-project/pull/9240
@swift-ci please smoke test

I don't know how to deal with it, both of these PRs depend on each other and should be tested and merged together.
Can you rerun the tests here with that PR?

Yes, of course. I've kicked off the multi-PR test, sorry I missed that earlier.

@DougGregor The windows tests failed because of the missing quote marks in ucrt.swift. https://github.com/swiftlang/swift/pull/76363/files#diff-b68568b1ae0d461890b6f117d611184202d92a42af3a9caad91e666d6e542415

https://github.com/swiftlang/llvm-project/pull/9240
@swift-ci please smoke test


text:
Always register the swift-lldb debug adapter provider

Issue: #848
We can always register this and that way the user does not need to reload the window when use change to using lldb-dap. Now they can use the updated debug configurations right away

@adam-fowler the debug session does nothing if the path does not exist or cannot find in toolchain, so added a check to verify that the the debug adapter does exist so the user gets an error message instead of silently failing. I see that we are already listening to changes to swift.debugger.useDebugAdapterFromToolchain and swift.debugger.path settings, else where so seemed a little more complex than necessary to listen to this again to register the debug provider

repo: swiftlang/vscode-swift


text:
Brackets in SetFrom are missing

Q
A

Bug report?
yes

Feature request?
no

RFC?
no

How used?
in Yii 2

Swiftmailer version
5.4.3

PHP version
7.1.1

Observed behaviour
$mailer->setFrom(["name@mail.com" => "Name (Something in Brackets) xxx"])
generates this header information:
From: Name (Something in Brackets) xxx <name@mail.com>
But the received mail has this header information:
From: Name
xxx <name@mail.com>

The brackets are replaced with a line break.
Expected behaviour
The received message should have this header information:
From: Name (Something in Brackets) xxx <name@mail.com>
or
From: "Name (Something in Brackets) xxx" <name@mail.com>
Example
Yii::$app->mailer->setTextBody("This is a test mail.")
  ->setFrom(["name@mail.com" => "Name (Something in Brackets) xxx"])
  ->setTo("receiver@mail.com")
  ->setSubject('test mail')
  ->setHtmlBody('<b>This is a test mail.</b>')
  ->send();

@cech12 Please add which transport you used. (Maybe the brackets filtered for security reasons.)

@Rotzbua Sorry, but I don't know, what you mean with "transport". :/
I tested the normal php mail function on 2 different web servers
mail("receiver@mail.com", "test mail", "This is a test mail.", "From: Name (Something in Brackets) xxx <name@mail.com>");

and the result is the same.
The received message had this header information:
From: Name
xxx <name@mail.com>

Maybe there are some security mechanisms. How can I test it?

I asked for the sending method: mail(), sendmail or smtp. Swiftm. calls them Swift_SmtpTransport, Swift_SendmailTransport, Swift_MailTransport.
I suggest your swiftmailer use phps mail(), because it shows the same behaviour. mail() is just a proxy function in php. It is processed very different on different computer systems. That's the reason why Swift_MailTransport is removed in v6.
Try smtp?
By the way: I tested your code on my webspace (php7.0) and the brackets are not removed. Seems that my provider has a different setup than your provider.

Ah okay! Yes I use the mail transport Swift_MailTransport.
If this function is removed in the new swiftmailer version, in the future nobody will have this problem. I reached that I wanted to reach. :D
I will try the SMTP mail transport and if there is a Problem I will open a new Issue.
So this Issue can be closed. :)
Thanks for your help! :)

repo: swiftmailer/swiftmailer


text:
Swiftmailer 6.2.5 serialize for asyncSending doesn't work anymore

Q
A

Bug report?
yes

Feature request?
no

RFC?
no

How used?
Standalone

Swiftmailer version
6.2.5

PHP version
7.4.9

Observed behaviour
after the Swiftmailer 6.2.5 update the PHP-function serialize cannot be used anymore the write the mail in a text file for sending later by unserialize the content of the text file.
Expected behaviour
__sleep() und __wakeup() shouldn't throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
Solution
revert the change or suggest/implement another solution for serializing an email mit swiftmailer and send it later async (mail queue).

/cc @nicolas-grekas @jderusse

/cc @nicolas-grekas @jderusse

@markusramsak could you please tell us the name of the class that throw the exception?

@markusramsak could you please tell us the name of the class that throw the exception?

vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
and
vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/TemporaryFileByteStream.php

vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
and
vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/TemporaryFileByteStream.php

Hmm, I don't see why php is trying to serialize a class that belongs to the Transport, while it should only serialize the Message.
Same for TemporaryFileByteStream this class create a temporary file and delete it on __destruct, serializing it does not  make sens.
Could you please provide me a reproducer?

Hmm, I don't see why php is trying to serialize a class that belongs to the Transport, while it should only serialize the Message.
Same for TemporaryFileByteStream this class create a temporary file and delete it on __destruct, serializing it does not  make sens.
Could you please provide me a reproducer?

I serialize the whole mailer class with transport and message so I don't have to know anything when unserialize the Swiftmailer.
class ImdSwiftMail
{
    protected $_sender = 'default';
    protected $_config = [];
    protected $_transportConfig = [];
    protected $_layout = 'default';
    protected $_viewVars = [];
    protected $_client = 'localhost';
    protected array $_dkimConfig = [];
    protected ?Swift_Mailer $_mailer = null;
    protected ?Swift_Message $_message = null;
    protected array $_ignoreHeaders = [];

    /**
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @return \App\Mailer\ImdSwiftMail
     */
    public static function init(string $template, string $subject, $to, $params = [])
    {
        return new ImdSwiftMail($template, $subject, $to, $params);
    }

    public function __construct(string $template, string $subject, $to, $params = [])
    {
        TableRegistry::getTableLocator()->get('MailAccounts')->setMailConfig();

        $this->_sender = 'default';
        if (!empty($params['sender'])) {
            $this->_sender = $params['sender'];
        }
        $this->_config = Mailer::getConfig($this->_sender);
        $this->_transportConfig = TransportFactory::getConfig($this->_config['transport']);

        $this->_viewVars = [];
        if (!empty($params['viewVars'])) {
            $this->_viewVars = $params['viewVars'];
        }

        $this->_layout = 'default';
        if (!empty($params['layout'])) {
            $this->_layout = $params['layout'];
        }

        $this->_client = 'localhost';
        if (!IS_LOCAL) {
            if (isset($this->_transportConfig['client'])) {
                $this->_client = $this->_transportConfig['client'];
            } else {
                $httpHost = env('HTTP_HOST');
                if ($httpHost) {
                    [$this->_client] = explode(':', $httpHost);
                }
            }
        }

        $viewClass = 'App\View\AppView';
        $templateFolderPath = 'email' . DS;
        $helpers = ['Html', 'HtmlEmail'];

        $encryption = $this->_transportConfig['tls'] ? 'tls' : null;
        if (strpos($this->_transportConfig['host'], 'ssl://') === 0) {
            $encryption = 'ssl';
            $this->_transportConfig['host'] = substr($this->_transportConfig['host'], strlen('ssl://'));
        }

        $transport = (new Swift_SmtpTransport())
            ->setHost($this->_transportConfig['host'])
            ->setPort($this->_transportConfig['port'])
            ->setEncryption($encryption)
            ->setTimeout($this->_transportConfig['timeout'])
            ->setLocalDomain($this->_client)
            ->setUsername($this->_transportConfig['username'])
            ->setPassword($this->_transportConfig['password']);

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'html')
            ->setTemplatePath($templateFolderPath . 'html');

        $view = $viewBuilder->build($this->_viewVars);

        $html = $view->render();
        $html = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $html));

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'text')
            ->setTemplatePath($templateFolderPath . 'text');

        $view = $viewBuilder->build($this->_viewVars);

        $plain = $view->render();
        $plain = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $plain));

        $this->_mailer = new Swift_Mailer($transport);

        $this->_message = new Swift_Message();
        $this->_message
            ->setSubject($subject)
            ->setFrom($this->_config['from'])
            ->setTo($to)
            ->setBoundary('wowDAS-Mail-' . date('Y-m-d_H_i_s'))
            ->setBody($html, 'text/html')
            ->addPart($plain, 'text/plain');

        if (!empty($params['messageId'])) {
            $this->setMessageId($params['messageId']);
        }

        if (!empty($params['cc'])) {
            $this->setCc($params['cc']);
        }

        if (!empty($params['bcc'])) {
            $this->setBcc($params['bcc']);
        }

        $this->_ignoreHeaders = ['Subject', 'To', 'Content-Type'];

        if (!empty($params['headers'])) {
            foreach ($params['headers'] as $name => $value) {
                $this->addTextHeader($name, $value);
            }
        }

        if (isset($this->_config['headers'])) {
            foreach ($this->_config['headers'] as $name => $value) {
                if (empty($params['headers']) or !isset($params['headers'][$name])) {
                    // Header noch nicht hinzugefügt
                    $this->addTextHeader($name, $value);
                }
            }
        }

        if (!empty($params['requestReadReceipt'])) {
            $this->_message->setReadReceiptTo($this->_config['from']);
            $this->addTextHeader('X-Confirm-reading-to', key($this->_config['from']));
            $this->addTextHeader('Return-Receipt-To', key($this->_config['from']));
        }

        if (!empty($params['signMessage'])) {
            $this->sign();
        }
    }

    /**
     * @return $this
     * @throws \Swift_SwiftException
     */
    public function sign()
    {
        $domain = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'domain.txt'));
        $privateKey = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'private.key'));
        $selector = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'selector.txt'));

        $this->_dkimConfig = [
            'domain' => $domain,
            'privateKey' => $privateKey,
            'selector' => $selector,
        ];

        $signer = (new Swift_Signers_DKIMSigner($this->_dkimConfig['privateKey'], $this->_dkimConfig['domain'], $this->_dkimConfig['selector']))
            ->setHashAlgorithm('rsa-sha256')
            ->setBodyCanon('relaxed')
            ->setHeaderCanon('relaxed');

        foreach ($this->_ignoreHeaders as $ignoreHeader) {
            $signer->ignoreHeader($ignoreHeader);
        }

        $this->_message->attachSigner($signer);

        return $this;
    }

    public function sendAsync()
    {
        (new ImdSwiftMailQueue())->addMail($this);

        ImdConfig::callAsyncCronjob('process_mailqueue');
    }

    /**
     * @return int
     * @throws \Exception
     */
    public function send()
    {
        $failedRecipients = [];
        $sent = $this->_mailer->send($this->_message, $failedRecipients);
        if ($sent === 0) {
            imdLogDebug($failedRecipients);
            throw new Exception('E-Mail konnte nicht versendet werden.');
        }

        if (!empty($failedRecipients)) {
            imdLogDebug($failedRecipients);
            throw new Exception('E-Mail konnte nicht an alle erfolgreich versendet werden.');
        }

        return $sent;
    }
}

I serialize the whole mailer class with transport and message so I don't have to know anything when unserialize the Swiftmailer.
class ImdSwiftMail
{
    protected $_sender = 'default';
    protected $_config = [];
    protected $_transportConfig = [];
    protected $_layout = 'default';
    protected $_viewVars = [];
    protected $_client = 'localhost';
    protected array $_dkimConfig = [];
    protected ?Swift_Mailer $_mailer = null;
    protected ?Swift_Message $_message = null;
    protected array $_ignoreHeaders = [];

    /**
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @return \App\Mailer\ImdSwiftMail
     */
    public static function init(string $template, string $subject, $to, $params = [])
    {
        return new ImdSwiftMail($template, $subject, $to, $params);
    }

    public function __construct(string $template, string $subject, $to, $params = [])
    {
        TableRegistry::getTableLocator()->get('MailAccounts')->setMailConfig();

        $this->_sender = 'default';
        if (!empty($params['sender'])) {
            $this->_sender = $params['sender'];
        }
        $this->_config = Mailer::getConfig($this->_sender);
        $this->_transportConfig = TransportFactory::getConfig($this->_config['transport']);

        $this->_viewVars = [];
        if (!empty($params['viewVars'])) {
            $this->_viewVars = $params['viewVars'];
        }

        $this->_layout = 'default';
        if (!empty($params['layout'])) {
            $this->_layout = $params['layout'];
        }

        $this->_client = 'localhost';
        if (!IS_LOCAL) {
            if (isset($this->_transportConfig['client'])) {
                $this->_client = $this->_transportConfig['client'];
            } else {
                $httpHost = env('HTTP_HOST');
                if ($httpHost) {
                    [$this->_client] = explode(':', $httpHost);
                }
            }
        }

        $viewClass = 'App\View\AppView';
        $templateFolderPath = 'email' . DS;
        $helpers = ['Html', 'HtmlEmail'];

        $encryption = $this->_transportConfig['tls'] ? 'tls' : null;
        if (strpos($this->_transportConfig['host'], 'ssl://') === 0) {
            $encryption = 'ssl';
            $this->_transportConfig['host'] = substr($this->_transportConfig['host'], strlen('ssl://'));
        }

        $transport = (new Swift_SmtpTransport())
            ->setHost($this->_transportConfig['host'])
            ->setPort($this->_transportConfig['port'])
            ->setEncryption($encryption)
            ->setTimeout($this->_transportConfig['timeout'])
            ->setLocalDomain($this->_client)
            ->setUsername($this->_transportConfig['username'])
            ->setPassword($this->_transportConfig['password']);

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'html')
            ->setTemplatePath($templateFolderPath . 'html');

        $view = $viewBuilder->build($this->_viewVars);

        $html = $view->render();
        $html = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $html));

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'text')
            ->setTemplatePath($templateFolderPath . 'text');

        $view = $viewBuilder->build($this->_viewVars);

        $plain = $view->render();
        $plain = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $plain));

        $this->_mailer = new Swift_Mailer($transport);

        $this->_message = new Swift_Message();
        $this->_message
            ->setSubject($subject)
            ->setFrom($this->_config['from'])
            ->setTo($to)
            ->setBoundary('wowDAS-Mail-' . date('Y-m-d_H_i_s'))
            ->setBody($html, 'text/html')
            ->addPart($plain, 'text/plain');

        if (!empty($params['messageId'])) {
            $this->setMessageId($params['messageId']);
        }

        if (!empty($params['cc'])) {
            $this->setCc($params['cc']);
        }

        if (!empty($params['bcc'])) {
            $this->setBcc($params['bcc']);
        }

        $this->_ignoreHeaders = ['Subject', 'To', 'Content-Type'];

        if (!empty($params['headers'])) {
            foreach ($params['headers'] as $name => $value) {
                $this->addTextHeader($name, $value);
            }
        }

        if (isset($this->_config['headers'])) {
            foreach ($this->_config['headers'] as $name => $value) {
                if (empty($params['headers']) or !isset($params['headers'][$name])) {
                    // Header noch nicht hinzugefügt
                    $this->addTextHeader($name, $value);
                }
            }
        }

        if (!empty($params['requestReadReceipt'])) {
            $this->_message->setReadReceiptTo($this->_config['from']);
            $this->addTextHeader('X-Confirm-reading-to', key($this->_config['from']));
            $this->addTextHeader('Return-Receipt-To', key($this->_config['from']));
        }

        if (!empty($params['signMessage'])) {
            $this->sign();
        }
    }

    /**
     * @return $this
     * @throws \Swift_SwiftException
     */
    public function sign()
    {
        $domain = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'domain.txt'));
        $privateKey = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'private.key'));
        $selector = trimWhitespace(file_get_contents(PRIVATE_PATH . 'dkim' . DS . 'current' . DS . 'selector.txt'));

        $this->_dkimConfig = [
            'domain' => $domain,
            'privateKey' => $privateKey,
            'selector' => $selector,
        ];

        $signer = (new Swift_Signers_DKIMSigner($this->_dkimConfig['privateKey'], $this->_dkimConfig['domain'], $this->_dkimConfig['selector']))
            ->setHashAlgorithm('rsa-sha256')
            ->setBodyCanon('relaxed')
            ->setHeaderCanon('relaxed');

        foreach ($this->_ignoreHeaders as $ignoreHeader) {
            $signer->ignoreHeader($ignoreHeader);
        }

        $this->_message->attachSigner($signer);

        return $this;
    }

    public function sendAsync()
    {
        (new ImdSwiftMailQueue())->addMail($this);

        ImdConfig::callAsyncCronjob('process_mailqueue');
    }

    /**
     * @return int
     * @throws \Exception
     */
    public function send()
    {
        $failedRecipients = [];
        $sent = $this->_mailer->send($this->_message, $failedRecipients);
        if ($sent === 0) {
            imdLogDebug($failedRecipients);
            throw new Exception('E-Mail konnte nicht versendet werden.');
        }

        if (!empty($failedRecipients)) {
            imdLogDebug($failedRecipients);
            throw new Exception('E-Mail konnte nicht an alle erfolgreich versendet werden.');
        }

        return $sent;
    }
}

Thank you for the reproducer.
You have the issue because the class contains the Mailer (which contains the transport).
You should not serialize this instance, this is not needed (the class does not contains contextual information), but most of all: by serializing it, you'll have unexpected behavior (see the TemporaryFileByteStream that delete generated files on __destruct).
Instead, I recommend you injecting the Mailer in the service in charge of unserializing contextual data, and sending the Email.
IMHO the exception \BadMethodCallException('Cannot serialize '.__CLASS__) is legit here. You cannot/shouldnt serialize this class.
I'm voting for closing the issue.
But if needed (we wan't to avoid the BC Break), I can provide a patch that trigger deprecation (without compromising the security)

Thank you for the reproducer.
You have the issue because the class contains the Mailer (which contains the transport).
You should not serialize this instance, this is not needed (the class does not contains contextual information), but most of all: by serializing it, you'll have unexpected behavior (see the TemporaryFileByteStream that delete generated files on __destruct).
Instead, I recommend you injecting the Mailer in the service in charge of unserializing contextual data, and sending the Email.
IMHO the exception \BadMethodCallException('Cannot serialize '.__CLASS__) is legit here. You cannot/shouldnt serialize this class.
I'm voting for closing the issue.
But if needed (we wan't to avoid the BC Break), I can provide a patch that trigger deprecation (without compromising the security)

@jderusse I know that serializing the message only would work but this is a regression to the previous version where it is possible. I serialize the object and deserialize it some seconds or minutes later to send the mail via cronjob and not directly only for performance reasons.

@jderusse I know that serializing the message only would work but this is a regression to the previous version where it is possible. I serialize the object and deserialize it some seconds or minutes later to send the mail via cronjob and not directly only for performance reasons.

My updated mailer works now with the newest version:
namespace App\Mailer;

use Cake\Http\Exception\BadRequestException;
use Cake\Mailer\Mailer;
use Cake\Mailer\TransportFactory;
use Cake\ORM\TableRegistry;
use Cake\View\ViewBuilder;
use Exception;
use Swift_Attachment;
use Swift_Mailer;
use Swift_Message;
use Swift_Signers_DKIMSigner;
use Swift_SmtpTransport;

class ImdSwiftMail
{
    protected string $_sender = 'default';
    protected array $_config = [];
    protected array $_transportConfig = [];
    protected string $_encryption = '';
    protected string $_layout = 'default';
    protected array $_viewVars = [];
    protected string $_client = 'localhost';
    protected array $_ignoreHeaders = [];
    protected ?Swift_Message $_message = null;

    /**
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @return \App\Mailer\ImdSwiftMail
     * @throws \Swift_RfcComplianceException
     * @throws \Swift_SwiftException
     */
    public static function init(string $template, string $subject, $to, array $params = []) : ImdSwiftMail
    {
        return new ImdSwiftMail($template, $subject, $to, $params);
    }

    /**
     * ImdSwiftMail constructor.
     *
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @throws \Swift_RfcComplianceException
     * @throws \Swift_SwiftException
     */
    public function __construct(string $template, string $subject, $to, array $params = [])
    {
        $this->_sender = 'default';
        if (!empty($params['sender'])) {
            $this->_sender = $params['sender'];
        }

        $config = Mailer::getConfig($this->_sender);
        if (!is_array($config)) {
            throw new BadRequestException('E-Mail-Konfiguration ' . $this->_sender . ' nicht gefunden.');
        }
        $this->_config = $config;

        $transportConfig = TransportFactory::getConfig($this->_config['transport']);

        $this->_transportConfig = $transportConfig;

        $this->_viewVars = [];
        if (!empty($params['viewVars'])) {
            $this->_viewVars = $params['viewVars'];
        }

        $this->_layout = 'default';
        if (!empty($params['layout'])) {
            $this->_layout = $params['layout'];
        }

        $this->_client = 'localhost';
        if (!IS_LOCAL) {
            if (isset($this->_transportConfig['client'])) {
                $this->_client = $this->_transportConfig['client'];
            } else {
                $httpHost = env('HTTP_HOST');
                if ($httpHost) {
                    [$this->_client] = explode(':', $httpHost);
                }
            }
        }

        $viewClass = 'App\View\AppView';
        $templateFolderPath = 'email' . DS;
        $helpers = ['Html', 'HtmlEmail'];

        $this->_encryption = $this->_transportConfig['tls'] ? 'tls' : '';
        if (strpos($this->_transportConfig['host'], 'ssl://') === 0) {
            $this->_encryption = 'ssl';
            $this->_transportConfig['host'] = substr($this->_transportConfig['host'], strlen('ssl://'));
        }

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'html')
            ->setTemplatePath($templateFolderPath . 'html');

        $view = $viewBuilder->build($this->_viewVars);

        $html = $view->render();
        $html = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $html));

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'text')
            ->setTemplatePath($templateFolderPath . 'text');

        $view = $viewBuilder->build($this->_viewVars);

        $plain = $view->render();
        $plain = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $plain));

        $this->_message = new Swift_Message();
        $this->_message
            ->setSubject($subject)
            ->setFrom($this->_config['from'])
            ->setTo($to)
            ->setBoundary('Mail-' . date('Y-m-d_H_i_s'))
            ->setBody($html, 'text/html')
            ->addPart($plain, 'text/plain');

        if (!empty($params['messageId'])) {
            $this->setMessageId($params['messageId']);
        }

        if (!empty($params['cc'])) {
            $this->setCc($params['cc']);
        }

        if (!empty($params['bcc'])) {
            $this->setBcc($params['bcc']);
        }

        $this->_ignoreHeaders = ['Subject', 'To', 'Content-Type'];

        if (!empty($params['headers'])) {
            foreach ($params['headers'] as $name => $value) {
                $this->addTextHeader($name, $value);
            }
        }

        if (isset($this->_config['headers'])) {
            foreach ($this->_config['headers'] as $name => $value) {
                if (empty($params['headers']) or !isset($params['headers'][$name])) {
                    // Header noch nicht hinzugefügt
                    $this->addTextHeader($name, $value);
                }
            }
        }
    }

    public function sendAsync() : void
    {
        (new ImdSwiftMailQueue())->addMail($this);

        callAsyncCronjob('process_mailqueue');
    }

    /**
     * @return int
     * @throws \Exception
     */
    public function send() : int
    {
        $failedRecipients = [];

        $transport = (new Swift_SmtpTransport())
            ->setHost($this->_transportConfig['host'])
            ->setPort($this->_transportConfig['port'])
            ->setEncryption($this->_encryption)
            ->setTimeout($this->_transportConfig['timeout'])
            ->setLocalDomain($this->_client)
            ->setUsername($this->_transportConfig['username'])
            ->setPassword($this->_transportConfig['password']);

        $mailer = new Swift_Mailer($transport);
        $sent = $mailer->send($this->_message, $failedRecipients);

        return $sent;
    }
}

My updated mailer works now with the newest version:
namespace App\Mailer;

use Cake\Http\Exception\BadRequestException;
use Cake\Mailer\Mailer;
use Cake\Mailer\TransportFactory;
use Cake\ORM\TableRegistry;
use Cake\View\ViewBuilder;
use Exception;
use Swift_Attachment;
use Swift_Mailer;
use Swift_Message;
use Swift_Signers_DKIMSigner;
use Swift_SmtpTransport;

class ImdSwiftMail
{
    protected string $_sender = 'default';
    protected array $_config = [];
    protected array $_transportConfig = [];
    protected string $_encryption = '';
    protected string $_layout = 'default';
    protected array $_viewVars = [];
    protected string $_client = 'localhost';
    protected array $_ignoreHeaders = [];
    protected ?Swift_Message $_message = null;

    /**
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @return \App\Mailer\ImdSwiftMail
     * @throws \Swift_RfcComplianceException
     * @throws \Swift_SwiftException
     */
    public static function init(string $template, string $subject, $to, array $params = []) : ImdSwiftMail
    {
        return new ImdSwiftMail($template, $subject, $to, $params);
    }

    /**
     * ImdSwiftMail constructor.
     *
     * @param string $template Email template
     * @param string $subject Betreff
     * @param string|array $to Empfänger
     * @param array $params sender|viewVars|layout|client|cc|bcc
     *
     * @throws \Swift_RfcComplianceException
     * @throws \Swift_SwiftException
     */
    public function __construct(string $template, string $subject, $to, array $params = [])
    {
        $this->_sender = 'default';
        if (!empty($params['sender'])) {
            $this->_sender = $params['sender'];
        }

        $config = Mailer::getConfig($this->_sender);
        if (!is_array($config)) {
            throw new BadRequestException('E-Mail-Konfiguration ' . $this->_sender . ' nicht gefunden.');
        }
        $this->_config = $config;

        $transportConfig = TransportFactory::getConfig($this->_config['transport']);

        $this->_transportConfig = $transportConfig;

        $this->_viewVars = [];
        if (!empty($params['viewVars'])) {
            $this->_viewVars = $params['viewVars'];
        }

        $this->_layout = 'default';
        if (!empty($params['layout'])) {
            $this->_layout = $params['layout'];
        }

        $this->_client = 'localhost';
        if (!IS_LOCAL) {
            if (isset($this->_transportConfig['client'])) {
                $this->_client = $this->_transportConfig['client'];
            } else {
                $httpHost = env('HTTP_HOST');
                if ($httpHost) {
                    [$this->_client] = explode(':', $httpHost);
                }
            }
        }

        $viewClass = 'App\View\AppView';
        $templateFolderPath = 'email' . DS;
        $helpers = ['Html', 'HtmlEmail'];

        $this->_encryption = $this->_transportConfig['tls'] ? 'tls' : '';
        if (strpos($this->_transportConfig['host'], 'ssl://') === 0) {
            $this->_encryption = 'ssl';
            $this->_transportConfig['host'] = substr($this->_transportConfig['host'], strlen('ssl://'));
        }

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'html')
            ->setTemplatePath($templateFolderPath . 'html');

        $view = $viewBuilder->build($this->_viewVars);

        $html = $view->render();
        $html = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $html));

        $viewBuilder = new ViewBuilder();
        $viewBuilder->setClassName($viewClass)
            ->setHelpers($helpers)
            ->setTemplate($template)
            ->setLayout($this->_layout)
            ->setLayoutPath($templateFolderPath . 'text')
            ->setTemplatePath($templateFolderPath . 'text');

        $view = $viewBuilder->build($this->_viewVars);

        $plain = $view->render();
        $plain = trimWhitespace(str_replace(["\r\n", "\r"], "\n", $plain));

        $this->_message = new Swift_Message();
        $this->_message
            ->setSubject($subject)
            ->setFrom($this->_config['from'])
            ->setTo($to)
            ->setBoundary('Mail-' . date('Y-m-d_H_i_s'))
            ->setBody($html, 'text/html')
            ->addPart($plain, 'text/plain');

        if (!empty($params['messageId'])) {
            $this->setMessageId($params['messageId']);
        }

        if (!empty($params['cc'])) {
            $this->setCc($params['cc']);
        }

        if (!empty($params['bcc'])) {
            $this->setBcc($params['bcc']);
        }

        $this->_ignoreHeaders = ['Subject', 'To', 'Content-Type'];

        if (!empty($params['headers'])) {
            foreach ($params['headers'] as $name => $value) {
                $this->addTextHeader($name, $value);
            }
        }

        if (isset($this->_config['headers'])) {
            foreach ($this->_config['headers'] as $name => $value) {
                if (empty($params['headers']) or !isset($params['headers'][$name])) {
                    // Header noch nicht hinzugefügt
                    $this->addTextHeader($name, $value);
                }
            }
        }
    }

    public function sendAsync() : void
    {
        (new ImdSwiftMailQueue())->addMail($this);

        callAsyncCronjob('process_mailqueue');
    }

    /**
     * @return int
     * @throws \Exception
     */
    public function send() : int
    {
        $failedRecipients = [];

        $transport = (new Swift_SmtpTransport())
            ->setHost($this->_transportConfig['host'])
            ->setPort($this->_transportConfig['port'])
            ->setEncryption($this->_encryption)
            ->setTimeout($this->_transportConfig['timeout'])
            ->setLocalDomain($this->_client)
            ->setUsername($this->_transportConfig['username'])
            ->setPassword($this->_transportConfig['password']);

        $mailer = new Swift_Mailer($transport);
        $sent = $mailer->send($this->_message, $failedRecipients);

        return $sent;
    }
}

authors: fabpot jderusse markusramsak


text:
hope to support lyrics

my music folder like this:
/music/oldsong/song1-singer.mp3
/music/lightsong/songb-singer.mp3
/lyrics/oldsong/song1-singer.lrc
/lyrics/lightsong/songb-singer.lrc
I hope to be able to display the lyrics on the web interface

Hello @chainofhonor
The development of this project is currently on hold. (see pinned issue). However, lyric support is a planned feature.

Hello @chainofhonor
Lyrics supported has been added with v1.4.0 release.
Go To Release Page

I would really appreciate it if support for lyrics embedded in the music files could be provided.

@tokisak1kurum1
That does not work? I thought we had that. Maybe it's broken or something. I'll investigate that.

authors: chainofhonor cwilvx mungai-njoroge tokisak1kurum1

repo: swing-opensource/swingmusic


text:
add user option to list passed along to exec call

Parameter is "user" with the value equal to the in-container username.
Example:

docker_obj = Docker::Container.get("mycontainer")
cmd = { "/bin/sh", "ls", "/" }
opts = { :user => "nobody" }
docker_obj.exec(cmd,opts)

The Docker engine will use the default value for user if the parameter provided is an empty string, so this should be safe. Tested against Docker 1.7.1 (boot2docker).

@y3ddet this has been released in v1.22.2

repo: swipely/docker-api


text:
Initial version

Includes editor and runner
Todo:

[ ] Documentation
[ ] Checks

Should we have ./gradlew check run on Github Actions or another runner?

authors: SgiobairOg sabberworm

repo: swisscom/JCR-Hopper


text:
Spinner never stops in overlay of breadcrumb-buttons

When clicking on a breadcrumb-button ("Helps", "Contact"), a spinner is shown, but it has no condition to automatically be removed.

@imagoiq please re-check

authors: gfellerph imagoiq

repo: swisspost/design-system


text:
Bring component integration test in line with ember-cli

This PR to ember-cli will likely be done soon and has a few differences from our implementation:

It generates a component integration test by default when generating a new component (and allows generating a unit test by specifying --unit)
It has a different argument (they use --test-type)

  availableOptions: [
    {
      name: 'test-type',
      type: ['integration', 'unit'],
      default: 'integration',
      aliases:[
        { 'i': 'integration'},
        { 'u': 'unit'},
        { 'integration': 'integration' },
        { 'unit': 'unit' }
      ]
    }
  ]

Once the ember-cli PR is merged I propose we bring this project back in sync. I will gladly submit a PR for this change.

Thanks for keeping track and working on this @blimmer!

:+1:
@blimmer Thanks, and sorry for any crossed wires!

No problem. Happy to see this taking priority!

The dependency branch was merged this morning. This can be worked whenever - I might be able to get to it this week(end)

@blimmer - Thank you!

authors: blimmer rwjblue trabus

repo: switchfly/ember-cli-mocha


text:
Added "keep image ratio" to Image plugin

Hi,
I believe this PR would help making the Image Plugin more usable.

Added "Keep original image ratio" to the Widget. When checked, the height is automatically adjust, both in "percent" and "pixel" mode. The user should only modify the Width whilst the Height is updated accordingly.

When changing the mode from "percent" to "pixel" and vice versa, the image size is preserved.

To be sure that no resize is introduced in step 2), I had to change the width and height type and QSpinBox to double and QDoubleSpinBox, and percend must have 1 decimal.

Cheers

https://vimeo.com/243268373

Does anyone at SWRI ever say "thanks for contributing"?

Some of us do at least: https://github.com/swri-robotics/mapviz/pull/539#issuecomment-345371749 https://github.com/swri-robotics/mapviz/pull/525#issuecomment-342520534
But regardless, thanks for contributing, we appreciate it and are glad you find the tool useful.

authors: facontidavide malban

repo: swri-robotics/mapviz


text:
boost::thread sleep not working

I update my ros driver, after that this driver not publishing any ros topics!
Then, I figure out that while loop in Spin() function execute only first time.
So I change the code:
(+) ros::Rate loop_rate(1000);
while(gps_.IsConnected() && ros::ok()) {
(-) boost::this_thread::sleep(boost::posix_time::microseconds(1));
(+) loop_rate.sleep();
}
Then it finally publish the topics again!
Please fix this errors.

When you say it only executes the first time, what happens after that?  Is something throwing an exception, or is it blocking somewhere?  Has anybody else seen this happen?
It seems especially odd that using ros::Rate there would make a difference; one of the differences in using a ROS timer is that it follows ROS's clock when running in a simulation, and, if anything, I would expect that to cause problems since the timer will stop running if the simulation is paused.  Normally that's not an issue for hardware drivers since you don't usually hardware drivers in simulation, though.

In my case after enter the command like this,
$ sudo apt-get update && sudo apt-get upgrade
I can see same problem in all my laptop and mini PC(NUC)
When I debugging the code, there was no execption but the code is block at below position.
-> boost::this_thread::sleep(boost::posix_time::microseconds(1));
Then, I launch the driver in real situation not with simulation.
My computer enviornment is: Ubuntu 18.04 && ROS Melodic

We also had this problem. I made that  change and it fixed it.

I also got same problem.
My computer environment is: Ubuntu 18.04 && ROS Melodic

How strange, I had never seen this problem before, but I tested it on a different computer and now I see it there.  Well, I merged in a change that should fix it everywhere.  Thanks!

authors: Kyungpyo-Kim cbradyas pjreed zang09


text:
feat: add option to enter directory on open command

This is another nice feature to have in my opinion, and it's something that almost any TUI file manager has.

That's intentional. See https://yazi-rs.github.io/docs/faq#why-cant-open-and-enter-be-a-single-command
You can use this Smart enter tip to impl it.

hat's intentional. See https://yazi-rs.github.io/docs/faq#why-cant-open-and-enter-be-a-single-command
You can use this Smart enter tip to impl it.

Oh, I see, I did not know that. But why can't we just add this simple flag to achieve it?

I want to keep it concise - one command should only do one thing.
Opening and entering are not essentially the same, and if we add it, we must also consider whether "entering should support opening" or "opening should support entering". In the end, we might need to add them for both commands.

Opening and entering are not essentially the same, and if we add it, we must also consider whether "entering should support opening" (many people want l to support opening, but l is by default bound to the enter command) or "opening should support entering". In the end, we might need to add them for both commands.

Well, I actually tried to implement enter --or-open before, but since enter is a member of Tab it was really unpractical to access open, which is a Manager member, so I did it the other way around.
As for the l binding, we could add a note in enter's documentation to use open --or-enter-dir for that use case...
Anyways, I understand your point here. Feel free to close PR if you don't see any value in this addition.

Okay let me close it, sorry.

repo: sxyazi/yazi


text:
Add WOL support

Add Wake-On-LAN support for VPin Studio hosts that go into sleep / stand by mode on a LAN.

Should work both from Windows and macOS Vpin Studio clients.
Should work for hosts configured in the connection launcher or with previously discovered clients via. broadcast.

nice idea!

I'd love to see Wake-on-LAN functionality added to VPin Studio in a future update.
My cabinet is located in my garage, and it would be incredibly convenient to be able to wake it up remotely using VPin Studio itself. Currently, I have to rely on a separate program to do this, which adds an extra step to my setup.
Integrating Wake-on-LAN would streamline the process and make VPin Studio an even more comprehensive solution for managing my virtual pinball setup.
Thanks for considering this request!

@karlsnyder0 I close this issue as fixed.
Let's create new tickets if there are follow-ups.


text:
🛑 The Great Gardens is down

In 59a0d6a, The Great Gardens (https://thegreatgardens.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: The Great Gardens is back up in 9cf8772 after 20 minutes.

repo: symapex/upsite


text:
🛑 Superior Surface is down

In c692561, Superior Surface (https://superior-surface.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Superior Surface is back up in 7ef5fe4 after 20 minutes.


text:
🛑 AZ Brick Frames is down

In df1095c, AZ Brick Frames (https://azbrickframes.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AZ Brick Frames is back up in 91644bf after 31 minutes.


text:
🛑 Absolute Landscape Solutions is down

In a8b4506, Absolute Landscape Solutions (https://absolutelandscapesolutions.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Absolute Landscape Solutions is back up in 21d45f6 after 52 minutes.


text:
🛑 AZ Brick Frames is down

In 308f802, AZ Brick Frames (https://azbrickframes.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AZ Brick Frames is back up in a72fa9c after 1 hour, 3 minutes.


text:
🛑 Hard Stack Pro is down

In 28f81e1, Hard Stack Pro (https://hardstackpro.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hard Stack Pro is back up in a4cb7c7 after 29 minutes.


text:
🛑 Pest Scout Pros is down

In 5b1847e, Pest Scout Pros (https://pestscoutpros.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pest Scout Pros is back up in e1c53d2 after 58 minutes.


text:
🛑 Absolute Landscape Solutions is down

In e25c5b8, Absolute Landscape Solutions (https://absolutelandscapesolutions.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Absolute Landscape Solutions is back up in e107a08 after 47 minutes.


text:
🛑 The Great Gardens is down

In 4bc63f3, The Great Gardens (https://thegreatgardens.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: The Great Gardens is back up in 00fed07 after 25 minutes.


text:
🛑 Pest Scout Pros is down

In f10b0fd, Pest Scout Pros (https://pestscoutpros.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pest Scout Pros is back up in d251cc7 after 10 minutes.


text:
🛑 Arborcare Ohio is down

In eabc7c5, Arborcare Ohio (https://arborcareohio.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Arborcare Ohio is back up in cba6d57 after 38 minutes.


text:
🛑 Garden Gate Fence is down

In 957e796, Garden Gate Fence (https://gardengate-fence.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Garden Gate Fence is back up in 39ea6b5 after 10 minutes.


text:
🛑 Pest Scout Pros is down

In d603a5b, Pest Scout Pros (https://pestscoutpros.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pest Scout Pros is back up in 2a49da5 after 42 minutes.


text:
🛑 Tidy Cleaners is down

In 940c4fe, Tidy Cleaners (https://tidycleanerstx.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tidy Cleaners is back up in e0abedf after 1 hour, 44 minutes.


text:
🛑 Well Repairman is down

In 02921b5, Well Repairman (https://wellrepairman.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Well Repairman is back up in 97f4ff9 after 1 hour, 5 minutes.


text:
🛑 Cleanwagon Ohio is down

In 5c12497, Cleanwagon Ohio (https://cleanwagonohio.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cleanwagon Ohio is back up in 407af42 after 10 minutes.


text:
🛑 Precise Word AZ is down

In ac8ceec, Precise Word AZ (https://precisewordaz.com/) was down:

HTTP code: 500
Response time: 399 ms

Resolved: Precise Word AZ is back up in 4c16df7.


text:
🛑 Alpha Landscaping is down

In c45a5ed, Alpha Landscaping (https://alpha-landscaping.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Alpha Landscaping is back up in 9dd25b2 after 20 minutes.


text:
🛑 AZ Brick Frames is down

In c3dabe5, AZ Brick Frames (https://azbrickframes.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AZ Brick Frames is back up in 2f915c1 after 1 hour, 10 minutes.


text:
Finish missing translations

Files remaining for translation process:

[x] sl_SI/Mage_Oauth.csv
[x] sl_SI/Mage_Eav.csv
[x] sl_SI/Mage_Install.csv
[x] sl_SI/Mage_GoogleCheckout.csv
[x] sl_SI/Mage_SalesRule.csv
[x] sl_SI/Mage_Newsletter.csv
[x] sl_SI/Mage_Payment.csv
[x] sl_SI/Mage_Tax.csv
[x] sl_SI/Mage_Api2.csv
[x] sl_SI/Mage_Checkout.csv
[x] sl_SI/Mage_Usa.csv
[x] sl_SI/Mage_Core.csv
[x] sl_SI/Mage_Customer.csv
[x] sl_SI/Mage_Paypal.csv
[x] sl_SI/Mage_Catalog.csv
[x] sl_SI/Mage_Sales.csv
[x] sl_SI/Mage_XmlConnect.csv
[x] sl_SI/Mage_Adminhtml.csv

Closing. Added via f1fe29d13764da1508565b503aa067c73e7a237b