Add time tag to the date and change some date format to YYYY-MM-DD

What this PR does / why we need it:
For solving some existing todos, add time tag to the date so as to provides semantic meaning to the content. The date attribute within the  tag allows you to provide a machine-readable format of the date and time, which can be useful for search engine optimization (SEO), calendar integration, and other purposes. Also, in order to keep constant with JSF, we need change some date format to YYYY-MM-DD as well.
Which issue(s) this PR closes:

Closes #533

Special notes for your reviewer:
Suggestions on how to test this:
Step 1: Run the Development Environment

Execute npm i.
Navigate with cd packages/design-system && npm run build.
Return with cd ../../.
Ensure you have a .env file similar to .env.example, with the variable VITE_DATAVERSE_BACKEND_URL=http://localhost:8000/.
Navigate with cd dev-env.
Start the environment using ./run-env.sh unstable.
To verify the environment, visit http://localhost:8000/ and check your local Dataverse installation.

Step 2: check if the date run well and in a right format YYYY-MM-DD

log in to the dataverseAdmin account, so you could publish a dataset
create a new dataset by http://localhost:8000/spa/datasets/root/create
click into the new dataset just created
upload a random file
under "File Metadata", click the file title, "Deposit Date" should be shown in YYYY-MM-DD format.
publish the dataset
7.under "File Metadata", click the file title, the filed "Deposit Date","Metadata Release Date", and "Publication Date" should be shown in YYYY-MM-DD format.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation:

coverage: 98.403% (+1.0%) from 97.388%
when pulling 149d1cf91e5dfbc594ae660d4e30feb9def6792f on 533-use-time-tag-with-datetime-and-remove-hardcoded-format
into 110d6963fe8d97c187665a1f182a4ba96589f478 on develop.

Hi @ChengShi-1 , leave some comments on test files and we are missing datetime attribute on all the <time /> tags. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time

Hi German! Thank you a lot for reviewing it! I submit a couple of fix here. The earliest fix included most of the adjustments, but the dateHelper in utcTime couldn't pass the e2e so I had next two fix commits for recovering the code. Sorry for messed commits, hope you are not confused.

@ChengShi-1  It looks like file uploading is broken with this PR 😫.

Go to http://localhost:8000/
Login
Add dataset and add a file to upload (i tried several file types all of them failed)
Result: Once you upload the file, the file disappears and is not displayed on the UI. See video below

I was thinking it might be a local issue but wanted to check with you guys first.
https://github.com/user-attachments/assets/685f32e4-05a2-41d9-8147-a0ce6bd86599

@ChengShi-1 It looks like file uploading is broken with this PR 😫.

Go to http://localhost:8000/
Login
Add dataset and add a file to upload (i tried several file types all of them failed)
Result: Once you upload the file, the file disappears and is not displayed on the UI. See video below

I was thinking it might be a local issue but wanted to check with you guys first.
Screen.Recording.2024-11-12.at.3.15.20.PM.mov

Hi, Omer! Sorry, it should be for http://localhost:8000/spa instead of JSF(http://localhost:8000). Can you try
http://localhost:8000/spa/datasets/root/create to create, and then click into the dataset you just create, and "Upload Files" button here.

@ChengShi-1 The file upload is still failing, see recording below:
https://github.com/user-attachments/assets/d464f8d0-4810-4ef8-9a7a-a1de0b28156a

@ChengShi-1 The file upload is still failing, see recording below:

Login, Created new dataset in SPA
Saved
Add an image file to dataset
Issue: When trying to upload the image, file appears red and is not uploaded to system

Screen.Recording.2024-11-13.at.1.53.35.PM.mov

@ofahimIQSS Hi Omer, I don't meet the same uploading error on my end. Since I don't think this PR changes the code about uploading, could you try upload files in other branch to see if the uploading failure happens globally, and rebuild docker to try upload again as well? Ty!


Telegram X not work

"Secure only" not work on Telegram X

I have no problem

This function is still not working with the client TgX

Could you please recheck


Deadlock with pending older transactions

Describe the bug
https://rinkeby.gnosis-safe.io/app/#/safes/0x5A92CCae38d921F8500FeDbFBE1E2E8CE9D8a0Fc

I can't execute any new proposals because 'There are older transactions that need to be executed first', but there are no older transactions.
To Reproduce
Create and confirm proposals.
Expected behavior
I can always execute new proposals when there are no pending older transactions.

Hi! This bug is related to we interface, I'm moving it to https://github.com/gnosis/safe-react


docs(storybook-theme): adjust colors

adjust colors which suits to the mumble project

:tada: This PR is included in version 3.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


'dict object' has no attribute 'stdout'

I'm new to this project and just trying it now.  errors come out from a few of my servers.
my inventory file:
[cluster_nodes]
adcb-zk-1.vm.elenet.me consul_node_role=bootstrap
adcb-zk-[2:3].vm.elenet.me consul_node_role=server
adcb-mesos-[18:23].vm.elenet.me consul_node_role=client

my playbook:
---
- name: Assemble Consul cluster
  hosts: cluster_nodes
  remote_user: root
  roles:
    - { role: brianshumate.consul }

error log:
TASK [brianshumate.consul : Save encryption key] *******************************
skipping: [adcb-mesos-18.vm.elenet.me] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
fatal: [adcb-mesos-18.vm.elenet.me]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/etc/ansible/roles/brianshumate.consul/tasks/main.yml': line 89, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n      run_once: true\n    - name: Save encryption key\n      ^ here\n"}

my starting code:
ansible-playbook -i ./hosts consul.yml --extra-vars "consul_iface={{ansible_default_ipv4.alias}}" -v

any help would be appreciated :)

BTW, is there any way to roll back this playbook?

Thanks for the report; this is an odd issue and I'll look into it. There is no rollback mechanism in this playbook.

Hi,
Can you try this again with the latest version (1.9.0) and let me know if you still see the error?
Thanks!

@brianshumate  ok, I will try it later.

@brianshumate
It may be not correct but I download 1.9.0 from release tab in this repo, and substitute content in /etc/ansible/role/brianshumate.consul/*, rerun playbook, error still occurs:

TASK [brianshumate.consul : Save encryption key] *******************************
skipping: [adcb-zk-2.vm.elenet.me]
skipping: [adcb-zk-3.vm.elenet.me]
skipping: [adcb-zk-1.vm.elenet.me]
fatal: [adcb-mesos-19.vm.elenet.me]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/etc/ansible/roles/brianshumate.consul/tasks/main.yml': line 90, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Save encryption key\n      ^ here\n"}
fatal: [adcb-mesos-18.vm.elenet.me]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/etc/ansible/roles/brianshumate.consul/tasks/main.yml': line 90, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Save encryption key\n      ^ here\n"}
fatal: [adcb-mesos-20.vm.elenet.me]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/etc/ansible/roles/brianshumate.consul/tasks/main.yml': line 90, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Save encryption key\n      ^ here\n"}

In the meantime, I found something weird that may be some help.
all error hosts share common network config with "ip a" like below:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master dockermesos state UP qlen 1000
link/ether 00:16:3e:1a:2a:9b brd ff:ff:ff:ff:ff:ff
3: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN
link/ether 26:6f:de:f1:4a:d5 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/15 scope global flannel.1
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 02:42:0d:b3:f5:0e brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/28 scope global docker0
valid_lft forever preferred_lft forever
5: dockermesos: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:16:3e:1a:2a:9b brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/19 brd <IP_ADDRESS> scope global dockermesos
valid_lft forever preferred_lft forever

In a quick review, we create a bridge named dockermesos using eth0's IP, and eth0 as a interface binding to bridge dockermesos. Maybe interface name isn't eth0 would cause problem in this role, I don't know, but just a hint for u.

I just tried again with several new provisioned servers, there is no error. It seems related to our network cfgs. Even so, this role's error msg confused me :(

That's quite odd indeed since the error indicates a part of the play that is calling consul keygen and attempting to save the resulting gossip encryption key; it should not involve network interfaces.
There is a consul_iface variable that you can set to control the interface name. It's also settable by an environment variable CONSUL_IFACE. I need to document the variables a little better.
Glad you got it working. I'll go ahead and close this now since I can't reproduce it in my test environments.


Add a one minute timeout around rpm exec() in rpm.Version()

Add a one minute timeout around rpm exec() in rpm.Version() allowing docker to start even if rpm cannot obtain the lock.
Signed-off-by: Jhon Honce<EMAIL_ADDRESS>

I assume this patch originated from some downstream bug report?  If it's public it'd be worth linking to it.
Agree with @rhatdan - let's not timeout.
(Side note: rpm-ostree based systems won't ever be subject to this since we construct a new rpmdb in a new root rather than doing mutation-in-place, hence to callers, /usr/share/rpm is never locked)

@cgwalters I believe they are seeing an issue with OpenShift Online, which calls repeatedly to see if docker is running by calling docker info, at some point the call rpm -qf /usr/bin/docker, hangs.

Why isnt' that systemctl is-active docker?  It'd be more reliable and not subject to this issue.

@cgwalters I think the reason is that OpenShift Node wants to test the docker API is actually responding.  It uses this to decide if the node's container runtime is OK, and goes NotReady if not.
Since the check is done every few minutes, if rpm hangs (corrupt DB or deadlock/livelock, I don't know), docker version/info become non-responsive, OpenShift Node considers its container runtime as failed and goes NotReady and we end up with an increasing pile of 'rpm' processes hanging off Docker over time.
If you want further details let me know (though I have recovered the system I got this on now, but I can supply all the info I collected).
Thanks!

BTW, discussing this with @lhuard1A, we thought that one way to get the package version info without invoking rpm at runtime would be to embed this information at build time.
WDYT?

@EricMountain-1A Your email was forwarded to me, did you ever submit a bugzilla or open a case on this issue?

@jwhonce I opened case 01812834 earlier today.

Seems like a good idea to embed it at build time.

+1 to embed it at runtime(allowing us to reduce a patch we are carrying)

See https://github.com/projectatomic/docker/pull/232


Update GIG Service to migrate it from azure to Choreo

Purpose
Migrate gig service (backend) deployment from currently deployed azure to Choreo
Changes made

Add Component config to deploy on choreo
Update Init to get secrets from environment variables
Update app config with dummy values
Add dummy OpenApi spec
Update Dockerfile with non root user and set permission for necessary paths
Update swagger docs
Fixed auth issues

Addressed issues fixed in Remove unnecessory files and remove logs added for debigging

Unnecessary logs removed in
Remove unecessory logs


Unable to run cell due to error Failed to find a kernelspec to use for ipykernel launch

Issue Type: Bug
When trying to create a python interactive window with ctrl-shift-p, it doesn't launch. The error is "Failed to find a kernelspec to use for ipykernel launch". The python kernel can be connected in the notebook editor with no issues.
Also tried to enable/disable the flag "Show Kernel Selection On Interactive Window" in Python extension, but still get the same error either way.
Extension version: 2020.9.106814-dev
VS Code version: Code - Insiders 1.49.0-insider (e4256dd1a02339bb1d56647ecd9134bf38bc7c03, 2020-09-04T18:49:12.955Z)
OS version: Windows_NT x64 10.0.19041

This is a bug in the insiders version of the python extension, it has been fixed and the fix will make its way into a new insider version release by the end of the day.
If you do not get the fix by tomorrow, please uninstall/re-install the extnsion or change the update frequency of the python insider extension to daily.

Hello, could you help me?

VSCode Version: 1.49.0
VSCode Insider Version: 1.50.0
OS Version: Windows_NT x64 10.0.18363

Two days ago I updated my VS Code to version 1.49. and started to have an issue with creating/opening Jupiter notebook files (.ipynb) (similar to https://github.com/microsoft/vscode/issues/106547).
Steps to Reproduce:

Python: Create New Blank Jupiter Notebook
This pops up: "Unable to open 'Untitled-1.ipynb': [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character."

The solution indicated was to:

uninstall VSCode
press win + R, type in %appdata%
find the Code folder and delete it
install the VSCode Insider

And now I'm having the "Failed to find a kernelspec to use for ipykernel launch", even with the python extension set to be updated daily.
If I install the VS code

Hello, could you help me?
Two days ago I updated my VSCode to version 1.49.0.
Then the VSCode started to present an issue with creating/opening Jupiter notebook files (.ipynb).
In order to correct the problem, I addressed to this link https://github.com/microsoft/vscode/issues/106547
Where the problem was solved following:

uninstall VSCode
press win + R, type in %appdata%
find the Code folder and delete it
install the VSCode Insider

I made all the steps and set the python extension to be updated daily (since the "Failed to find a kernelspec to use for ipykernel launch" error started to appear).
In a first moment, it worked, however the previous error reurned: "Unable to open 'Untitled-1.ipynb': [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character."

@DominguesPH, what you're describing is a separate issue which we're working with the vscode team to resolve. Please track microsoft/vscode#106547 for resolution on the bug with opening jupyter notebook files, and sorry for the trouble.

Hello. I am using version v2020.9.114305 and I am experiencing the same error. Is there any way around? This is my system data:
Version: 1.50.1 (user setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.17763

@vherasme
Please could you open a new issue and provide the information on the issue template (logs, etc)


Submit maily_herald to codetriage

Hi, would be good idea send this repo to code http://www.codetriage.com in order to attract more contributors.

Sorry opened the thread in the wrong repo, close this please

no issues :smile:


add hungarian language

we got hungarian translations
hungarian_yawik_0.35.tar.gz
they have to be imported

https://yawik.org/demo/hu
translations are online. But there's an error
Plural rule of merging text domain is not compatible with the current one

https://yawik.org/demo/hu
translations are online. But there's an error
Plural rule of merging text domain is not compatible with the current one

should be fixed in https://github.com/cross-solution/YAWIK/commit/0a4722bc7740b663d11f123fcbbaddce5b13e271

should be fixed in https://github.com/cross-solution/YAWIK/commit/0a4722bc7740b663d11f123fcbbaddce5b13e271


A DatabaseBackup is linked to a region via it's ID range.

It's not required to link them explicitly since the region's ID range will tell us what region a DatabaseBackup resides.
Fixes:
DEPRECATION WARNING: You're trying to create an attribute miq_region_id'. Writing arbitrary attributes on a model is deprecated. Please just use attr_writer` etc. (called from backup at ...app/models/database_backup.rb:23)
See also b79c8d203b23a91847f019930c3251ef9b005286

Nice.  Thanks @jrafanie


Update http4s-circe, http4s-dsl to 0.23.14

Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.33 to 0.23.14.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Scalafix Migrations

org.http4s:http4s-.*:0.22.0

github:http4s/http4s/v0_22?sha=series/0.22

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-major, semver-spec-minor, scalafix-migrations, commit-count:n:2

Superseded by #225.


Re-Entrant Problem in Monorepo that causes Staged Changes to be Lost

Description
I thought I was sly when I set up lint-staged like this in my monorepo with yarn workspaces:
root ./package.json:
    "lint-staged": {
        "applications/app1/**/*.*": [
            "yarn workspace @my/app1 precommit"
        ],
        "applications/app2/**/*.*": [
            "yarn workspace @my/app2 precommit"
        ]
    },

./applications/app1/package.json:
    "scripts": {
        "precommit": "lint-staged"
    },
    "lint-staged": {
        "*.{ts,tsx,js,json,css,html,md}": [
            "prettier --write"
        ],
        "*.{js,ts,tsx}": [
            "eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js"
        ],
        "*.{tsx}": [
            "stylelint"
        ]
    },

./applications/app2/package.json looks the same as the one from app1.
Now when I execute lint-staged in my pre-commit-hook via husky, and there is no linting error, it works fine. But when there is a linting error, it fails like this:
[STARTED] Applying modifications...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
[FAILED] lint-staged automatic backup is missing!
[STARTED] Cleaning up...
[SKIPPED]
[SKIPPED]   ✖ lint-staged failed due to a git error.

And the result is that all changes that I had staged are completely gone and reset 😱
I guess the problem is that my setup calls lint-staged from within lint-staged, and both try to modify the git stage.
Could lint-staged be made re-entrant compatible to support such a use case?
Note that I had a different setup previously where I always ran lint-staged in each app workspace, but I noted that when one app did not have any changes in the git stage, this would still take some time to run, and this does not really scale when having many app workspaces.
Steps to reproduce
Create nested projects with the package.json contents as described above. Then make and stage some change in one of the apps' source files and execute lint-staged.
Debug Logs

expand to view
npx lint-staged --debug
  lint-staged:bin Running<EMAIL_ADDRESS>+0ms
  lint-staged:bin Options parsed from command-line: {
  allowEmpty: false,
  concurrent: true,
  configPath: undefined,
  debug: true,
  maxArgLength: 131072,
  stash: true,
  quiet: false,
  relative: false,
  shell: false,
  verbose: false
} +3ms
  lint-staged Loading config using `cosmiconfig` +0ms
  lint-staged Successfully loaded config from `/dev/package.json`:
  lint-staged {
  lint-staged   'applications/app1/**/*.*': [ 'yarn workspace @my/app1 precommit' ],
  lint-staged   'applications/app2/**/*.*': [ 'yarn workspace @my/app2 precommit' ],
  lint-staged   'applications/app3/**/*.*': [ 'yarn workspace @my/app3 precommit' ]
  lint-staged } +58ms
  lint-staged:cfg Validating config +0ms
Running lint-staged with the following config:
{
  'applications/app1/**/*.*': [
    'yarn workspace @my/app1 precommit'
  ],
  'applications/app2/**/*.*': [
    'yarn workspace @my/app2 precommit'
  ],
  'applications/app3/**/*.*': [
    'yarn workspace @my/app3 precommit'
  ]
}
  lint-staged Unset GIT_LITERAL_PATHSPECS (was `undefined`) +2ms
  lint-staged:run Running all linter scripts +0ms
  lint-staged:resolveGitRepo Resolving git repo from `/dev` +0ms
  lint-staged:resolveGitRepo Unset GIT_DIR (was `undefined`) +0ms
  lint-staged:resolveGitRepo Unset GIT_WORK_TREE (was `undefined`) +0ms
  lint-staged:git Running git command [ 'rev-parse', '--show-toplevel' ] +0ms
  lint-staged:resolveGitRepo Resolved git directory to be `/dev` +34ms
  lint-staged:resolveGitRepo Resolved git config directory to be `/dev/.git` +1ms
  lint-staged:git Running git command [ 'log', '-1' ] +35ms
  lint-staged:git Running git command [ 'diff', '--staged', '--diff-filter=ACMR', '--name-only', '-z' ] +46ms
  lint-staged:run Loaded list of staged files in git:
  lint-staged:run [
  lint-staged:run   'applications/app1/package.json',
  lint-staged:run   'applications/app1/pages/help/index.tsx',
  lint-staged:run   'applications/app2/components.tsx',
  lint-staged:run   'applications/app2/package.json'
  lint-staged:run ] +116ms
  lint-staged:chunkFiles Resolved an argument string length of 284 characters from 4 files +0ms
  lint-staged:chunkFiles Creating 1 chunks for maxArgLength of 131072 +0ms
  lint-staged:gen-tasks Generating linter tasks +0ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks {
  lint-staged:gen-tasks   pattern: 'applications/app1/**/*.*',
  lint-staged:gen-tasks   commands: [ 'yarn workspace @my/app1 precommit' ],
  lint-staged:gen-tasks   fileList: [
  lint-staged:gen-tasks     '/dev/applications/app1/package.json',
  lint-staged:gen-tasks     '/dev/applications/app1/pages/help/index.tsx'
  lint-staged:gen-tasks   ]
  lint-staged:gen-tasks } +4ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks {
  lint-staged:gen-tasks   pattern: 'applications/app2/**/*.*',
  lint-staged:gen-tasks   commands: [ 'yarn workspace @my/app2 precommit' ],
  lint-staged:gen-tasks   fileList: [
  lint-staged:gen-tasks     '/dev/applications/app2/components.tsx',
  lint-staged:gen-tasks     '/dev/applications/app2/package.json'
  lint-staged:gen-tasks   ]
  lint-staged:gen-tasks } +1ms
  lint-staged:gen-tasks Generated task:
  lint-staged:gen-tasks {
  lint-staged:gen-tasks   pattern: 'applications/app3/**/*.*',
  lint-staged:gen-tasks   commands: [ 'yarn workspace @my/app3 precommit' ],
  lint-staged:gen-tasks   fileList: []
  lint-staged:gen-tasks } +0ms
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'yarn workspace @my/app1 precommit' ] +0ms
  lint-staged:task cmd: yarn +0ms
  lint-staged:task args: [ 'workspace', '@my/app1', 'precommit' ] +1ms
  lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +1ms
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'yarn workspace @my/app2 precommit' ] +11ms
  lint-staged:task cmd: yarn +1ms
  lint-staged:task args: [ 'workspace', '@my/app2', 'precommit' ] +0ms
  lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +0ms
  lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'yarn workspace @my/app3 precommit' ] +0ms
  lint-staged:task cmd: yarn +0ms
  lint-staged:task args: [ 'workspace', '@my/app3', 'precommit' ] +0ms
  lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false } +1ms
  lint-staged:chunkFiles Resolved an argument string length of 284 characters from 4 files +22ms
  lint-staged:chunkFiles Creating 1 chunks for maxArgLength of 131072 +1ms
[STARTED] Preparing...
  lint-staged:git Backing up original state... +0ms
  lint-staged:git Getting partially staged files... +0ms
  lint-staged:git Running git command [ 'status', '-z' ] +66ms
  lint-staged:git Found partially staged files: [] +82ms
  lint-staged:git Backing up merge state... +1ms
  lint-staged:file Reading file `/dev/.git/MERGE_HEAD` +0ms
  lint-staged:file Reading file `/dev/.git/MERGE_MODE` +6ms
  lint-staged:file Reading file `/dev/.git/MERGE_MSG` +8ms
  lint-staged:file File `/dev/.git/MERGE_HEAD` doesn't exist, ignoring... +1ms
  lint-staged:file File `/dev/.git/MERGE_MODE` doesn't exist, ignoring... +1ms
  lint-staged:file File `/dev/.git/MERGE_MSG` doesn't exist, ignoring... +0ms
  lint-staged:git Done backing up merge state! +16ms
  lint-staged:git Getting deleted files... +0ms
  lint-staged:git Running git command [ 'ls-files', '--deleted' ] +98ms
  lint-staged:git Found deleted files: [] +45ms
  lint-staged:git Running git command [ 'stash', 'create' ] +45ms
  lint-staged:git Running git command [
  'stash',
  'store',
  '--quiet',
  '--message',
  'lint-staged automatic backup',
  '7aa18b25ec18c7d969347d158310da982c9c2de8'
] +91ms
  lint-staged:git Done backing up original state! +127ms
[SUCCESS] Preparing...
[STARTED] Running tasks...
[STARTED] Running tasks for applications/app1/**/*.*
[STARTED] Running tasks for applications/app2/**/*.*
[STARTED] Running tasks for applications/app3/**/*.*
[SKIPPED] No staged files match applications/app3/**/*.*
[STARTED] yarn workspace @my/app1 precommit
[STARTED] yarn workspace @my/app2 precommit
[FAILED] yarn workspace @my/app2 precommit [FAILED]
[FAILED] yarn workspace @my/app2 precommit [FAILED]
[SUCCESS] yarn workspace @my/app1 precommit
[SUCCESS] Running tasks for applications/app1/**/*.*
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
  lint-staged:git Restoring original state... +9s
  lint-staged:git Running git command [ 'reset', '--hard', 'HEAD' ] +9s
  lint-staged:git Running git command [ 'stash', 'list' ] +51ms
[FAILED] lint-staged automatic backup is missing!
[STARTED] Cleaning up...
[SKIPPED]
[SKIPPED]   ✖ lint-staged failed due to a git error.

✖ yarn workspace @my/app2 precommit:
2020-07-14T14:42:36.787Z lint-staged:bin Running<EMAIL_ADDRESS>2020-07-14T14:42:36.791Z lint-staged:bin Options parsed from command-line: {
  allowEmpty: false,
  concurrent: true,
  configPath: undefined,
  debug: true,
  maxArgLength: 131072,
  stash: true,
  quiet: false,
  relative: false,
  shell: false,
  verbose: false
}
2020-07-14T14:42:36.793Z lint-staged Loading config using `cosmiconfig`
2020-07-14T14:42:36.856Z lint-staged Successfully loaded config from `/dev/applications/app2/package.json`:
{
  '*.{ts,tsx,js,json,css,html,md}': [ 'prettier --write' ],
  '*.{js,ts,tsx}': [ 'eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js' ],
  '*.{tsx}': [ 'stylelint' ]
}
2020-07-14T14:42:36.857Z lint-staged:cfg Validating config
2020-07-14T14:42:36.858Z lint-staged Unset GIT_LITERAL_PATHSPECS (was `undefined`)
2020-07-14T14:42:36.859Z lint-staged:run Running all linter scripts
2020-07-14T14:42:36.859Z lint-staged:resolveGitRepo Resolving git repo from `/dev/applications/app2`
2020-07-14T14:42:36.859Z lint-staged:resolveGitRepo Unset GIT_DIR (was `undefined`)
2020-07-14T14:42:36.859Z lint-staged:resolveGitRepo Unset GIT_WORK_TREE (was `undefined`)
2020-07-14T14:42:36.859Z lint-staged:git Running git command [ 'rev-parse', '--show-toplevel' ]
2020-07-14T14:42:36.907Z lint-staged:resolveGitRepo Resolved git directory to be `/dev`
2020-07-14T14:42:36.907Z lint-staged:resolveGitRepo Resolved git config directory to be `/dev/.git`
2020-07-14T14:42:36.907Z lint-staged:git Running git command [ 'log', '-1' ]
2020-07-14T14:42:36.958Z lint-staged:git Running git command [ 'diff', '--staged', '--diff-filter=ACMR', '--name-only', '-z' ]
2020-07-14T14:42:37.006Z lint-staged:run Loaded list of staged files in git:
[
  'applications/app1/package.json',
  'applications/app1/pages/help/index.tsx',
  'applications/app2/components.tsx',
  'applications/app2/package.json'
]
2020-07-14T14:42:37.006Z lint-staged:chunkFiles Resolved an argument string length of 284 characters from 4 files
2020-07-14T14:42:37.006Z lint-staged:chunkFiles Creating 1 chunks for maxArgLength of 131072
2020-07-14T14:42:37.007Z lint-staged:gen-tasks Generating linter tasks
2020-07-14T14:42:37.012Z lint-staged:gen-tasks Generated task:
{
  pattern: '*.{ts,tsx,js,json,css,html,md}',
  commands: [ 'prettier --write' ],
  fileList: [
    '/dev/applications/app2/components.tsx',
    '/dev/applications/app2/package.json'
  ]
}
2020-07-14T14:42:37.012Z lint-staged:gen-tasks Generated task:
{
  pattern: '*.{js,ts,tsx}',
  commands: [ 'eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js' ],
  fileList: [
    '/dev/applications/app2/components.tsx'
  ]
}
2020-07-14T14:42:37.012Z lint-staged:gen-tasks Generated task:
{ pattern: '*.{tsx}', commands: [ 'stylelint' ], fileList: [] }
2020-07-14T14:42:37.013Z lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'prettier --write' ]
2020-07-14T14:42:37.015Z lint-staged:task cmd: prettier
2020-07-14T14:42:37.015Z lint-staged:task args: [ '--write' ]
2020-07-14T14:42:37.016Z lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false }
2020-07-14T14:42:37.016Z lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js' ]
2020-07-14T14:42:37.016Z lint-staged:task cmd: eslint
2020-07-14T14:42:37.016Z lint-staged:task args: [ '--fix', '--ext', 'js,ts,tsx', '-c', '.eslintrc.githook.js' ]
2020-07-14T14:42:37.016Z lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false }
2020-07-14T14:42:37.016Z lint-staged:make-cmd-tasks Creating listr tasks for commands [ 'stylelint' ]
2020-07-14T14:42:37.016Z lint-staged:task cmd: stylelint
2020-07-14T14:42:37.016Z lint-staged:task args: []
2020-07-14T14:42:37.016Z lint-staged:task execaOptions: { preferLocal: true, reject: false, shell: false }
2020-07-14T14:42:37.016Z lint-staged:chunkFiles Resolved an argument string length of 131 characters from 2 files
2020-07-14T14:42:37.016Z lint-staged:chunkFiles Creating 1 chunks for maxArgLength of 131072
2020-07-14T14:42:37.023Z lint-staged:git Backing up original state...
2020-07-14T14:42:37.023Z lint-staged:git Getting partially staged files...
2020-07-14T14:42:37.023Z lint-staged:git Running git command [ 'status', '-z' ]
2020-07-14T14:42:37.154Z lint-staged:git Found partially staged files: []
2020-07-14T14:42:37.155Z lint-staged:git Backing up merge state...
2020-07-14T14:42:37.159Z lint-staged:file Reading file `/dev/.git/MERGE_HEAD`
2020-07-14T14:42:37.159Z lint-staged:file Reading file `/dev/.git/MERGE_MODE`
2020-07-14T14:42:37.159Z lint-staged:file Reading file `/dev/.git/MERGE_MSG`
2020-07-14T14:42:37.160Z lint-staged:file File `/dev/.git/MERGE_HEAD` doesn't exist, ignoring...
2020-07-14T14:42:37.160Z lint-staged:file File `/dev/.git/MERGE_MODE` doesn't exist, ignoring...
2020-07-14T14:42:37.160Z lint-staged:file File `/dev/.git/MERGE_MSG` doesn't exist, ignoring...
2020-07-14T14:42:37.160Z lint-staged:git Done backing up merge state!
2020-07-14T14:42:37.161Z lint-staged:git Getting deleted files...
2020-07-14T14:42:37.161Z lint-staged:git Running git command [ 'ls-files', '--deleted' ]
2020-07-14T14:42:37.253Z lint-staged:git Found deleted files: []
2020-07-14T14:42:37.260Z lint-staged:git Running git command [ 'stash', 'create' ]
2020-07-14T14:42:37.345Z lint-staged:git Running git command [
  'stash',
  'store',
  '--quiet',
  '--message',
  'lint-staged automatic backup',
  'f1f2caeff7f085e1a3774d7a322b4f074c29dbae'
]
2020-07-14T14:42:37.401Z lint-staged:git Done backing up original state!
[FAILED] prettier --write [FAILED]
[FAILED] prettier --write [FAILED]
[FAILED] eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js [FAILED]
[FAILED] eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js [FAILED]
2020-07-14T14:42:42.400Z lint-staged:git Restoring original state...
2020-07-14T14:42:42.400Z lint-staged:git Running git command [ 'reset', '--hard', 'HEAD' ]
2020-07-14T14:42:42.461Z lint-staged:git Running git command [ 'stash', 'list' ]
2020-07-14T14:42:42.522Z lint-staged:git Running git command [ 'stash', 'apply', '--quiet', '--index', 'stash@{0}' ]
2020-07-14T14:42:42.678Z lint-staged:git Restoring merge state...
2020-07-14T14:42:42.678Z lint-staged:git Done restoring merge state!
2020-07-14T14:42:42.678Z lint-staged:file Removing file `/dev/.git/lint-staged_unstaged.patch`
2020-07-14T14:42:42.679Z lint-staged:file File `/dev/.git/lint-staged_unstaged.patch` doesn't exist, ignoring...
2020-07-14T14:42:42.679Z lint-staged:git Done restoring original state!
2020-07-14T14:42:42.680Z lint-staged:git Dropping backup stash...
2020-07-14T14:42:42.680Z lint-staged:git Running git command [ 'stash', 'list' ]
2020-07-14T14:42:42.752Z lint-staged:git Running git command [ 'stash', 'drop', '--quiet', 'stash@{0}' ]
2020-07-14T14:42:42.825Z lint-staged:git Done dropping backup stash!

✖ prettier --write:
[error] components.tsx: SyntaxError: ')' expected. (14:45)
[error]   12 | `
[error]   13 |
[error] > 14 | export const Layout = ({ heading, children }: { heading: strin children: React.ReactNode } => (
[error]      |                                             ^
[error]   15 |     <Main>
[error]   16 |         <Heading>{heading}</Heading>
[error]   17 |         {children}

package.json 89ms

✖ eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js:

/dev/applications/app2/components.tsx
  14:44  error  Parsing error: ')' expected

✖ 1 problem (1 error, 0 warnings)

error Command failed with exit code 1.
error Command failed.
Exit code: 1
Command: /me/.nvm/versions/node/v12.18.0/bin/node
Arguments: /me/.nvm/versions/node/v12.18.0/lib/node_modules/yarn/lib/cli.js precommit /dev/applications/app2/components.tsx /dev/applications/app2/package.json
Directory: /dev/applications/app2
Output:

yarn workspace v1.22.4
yarn run v1.22.4
$ lint-staged --debug /dev/applications/app2/components.tsx /dev/applications/app2/package.json
Running lint-staged with the following config:
{
  '*.{ts,tsx,js,json,css,html,md}': [
    'prettier --write'
  ],
  '*.{js,ts,tsx}': [
    'eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js'
  ],
  '*.{tsx}': [
    'stylelint'
  ]
}
[STARTED] Preparing...
[SUCCESS] Preparing...
[STARTED] Running tasks...
[STARTED] Running tasks for *.{ts,tsx,js,json,css,html,md}
[STARTED] Running tasks for *.{js,ts,tsx}
[STARTED] Running tasks for *.{tsx}
[SKIPPED] No staged files match *.{tsx}
[STARTED] prettier --write
[STARTED] eslint --fix --ext js,ts,tsx -c .eslintrc.githook.js
[SUCCESS] Running tasks...
[STARTED] Applying modifications...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
[SUCCESS] Reverting to original state because of errors...
[STARTED] Cleaning up...
[SUCCESS] Cleaning up...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.

Environment

OS: macOS 10.15.5
Node.js: 12.18.0
lint-staged: 10.2.11

Hello,
This is a "known issue" because git operations are locking. There's not really anything we can do about it, unless we introduce something like retrying when the git lock exists.
I would suggest setting up lint-staged to run scripts with explicit configurations based on the subdirectory.
You can typically do something like eslint -c app1/.eslintrc.json <file1> <file2>.

Ok thanks. I tried to push down as much as possible from the main package.json to the application‘s package.jsons since they will be edited by different teams. Seems like I need to make a compromise here.
Another solution would be to not execute lint-staged in the root package.json but check for each application if there are files in the git stage, and execute precommit in the according applications which would execute lint-staged there. Probably too complicated though (and to make it compatible with Windows too 😅).

I have experienced this too 🤦

My temporary solution since git doesn't support running lint-staged in parallel with lerna:
# .husky/precommit

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

rootDir=$(pwd)

# lint-staged cannot run in parallel cuz git, so we manually loop over
# each package and run the precommit command
for package in $(ls packages);
do
    cd "$rootDir/packages/$package"
    yarn lint-staged
done

# other commands...

Obviously runs slower, but now I can move my lint-staged commands out and still do parallel tasks afterwards like normal.

You could add this command to your scripts:
yarn workspaces foreach -t run lint-staged

You could add this command to your scripts:
yarn workspaces foreach -t run lint-staged

Thanks! Setting this as the pre-commit script at the root level works. Requires the workspace-tools plugin to run:
yarn plugin import workspace-tools


Rover overshoots waypoints

Rovers will occasionally shoot past their waypoints. This overshoot could be fixed by expanding the tolerance zone but only as a last resort. The minimum tolerance is desirable for accuracy of reaching locations.
This behavior can be observed by watching a rover repeatedly drive forward a short distance then turn 180 until it gets to the point.

This is because of the way we detect that the target was reached when in skid steer mode, which inherently requires overshooting the target. I have a potential fix where we also check the distance from that target implemented and tested, but need to do more testing to ensure it covers all corner cases and actually improves performance.

Fixed in #114


Presence Channel not working

PHP v7.3.10
Laravel v6.6.2
Everything else is working just presence channel are not working.

@aliadhillon Is there any errors? Or are messages from presence channels just not arriving?

Haven't heard back so we're closing this. If anyone has reproduction steps we'd love to dig into this!

I too can't get the presence channel working. I have two clients, they can connect to the same channel, but in each case they only see themselves.
Is the presence channel working for you?

@chris-allison-achiive Ably support is now built into Laravel itself (after version 7 or 8 I believe)


Object spread operator does not get transpiled properly.

Laravel mix: v0.12.1
Node: 6.10
NPM: 3.10.10
I am using the webpack.config.js in laravel-mix directly to compile my javascript resources directly.
I notice that the spread operator does not work (doesn't get compiled at all, the page will simply show an error and fail to load).
Is the spread operator supposed to work? Or do I need to add some extra configurations?
This works.
function k([one, two, ...rest]) {
    console.log(rest);
}
k([1,2,3,4,5,6]);

But this doesn't.
var one = {a: 3, b: 4};
var two = {...one};

Is this expected? What do I need to add so that it will work?

Install babel-plugin-transform-object-rest-spread package as dev dependency, using Yarn or NPM.

Add a .babelrc file in your project root, to configure Babel:

{
  "presets": [
    ["env", {
      "modules": false,
      "targets": {
          "browsers": ["> 2%"],
          "uglify": true
      }
    }]
  ],
  "plugins": ["transform-object-rest-spread"]
}

Ahh ok! tyty

@jbruni After I made changes you suggested, I get this error
ERROR  Failed to compile with 1 errors                              11:13:37 AM
 error  in ./resources/assets/js/helper/constants.js

Syntax Error: Unexpected token (8:9)

  6 |
  7 | let k = {a: 3};
> 8 | let w = {...k};
    |          ^

Are there some other stuff that I need to add?
I am using the webpack.config.js imbedded in laravel-mix. Do i need to extend it to make it aware of this .babelrc?

Usually, no. So, you are not using the webpack.mix.js which comes from a Laravel framework project setup. Instead, you have copied the webpack.config.js from laravel-mix setup folder to your project root and you are using it. I do not have such experience.
Try inspecting the value of rules.options.loaders.js. You can do it inserting a console.log(rules); process.exit() at line 250 of webpack.config.js
This way you will see how babel-loader is being configured. Anyway, it should be using the .babelrc configuration.
Maybe you have old version of the "env" preset or the "object-rest-spread" plugin installed: https://github.com/babel/babel-preset-env#caveats


CICD: Update macOS (x86) runner image

See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
Thanks @ubgk for pointing this out :+1:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.568%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
2507

Relevant Lines:
2799

💛  - Coveralls


Can this library work in Expo? (EAS build with development client)

Hi there, can this library work with Expo's latest development client and EAS build?

@TrustyTechSG hello! Unfortunately I haven’t added any code to make lib compatible with  expo SDK.

https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/EXPO.md

https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/EXPO.md

Thank you for the update.


chore: update readme

[ ] Put strings in views in lang/fr.json and any other languages files
[ ] 100% unit tests
[ ] 100% front end tests
[ ] API for any new service
[ ] Documentation


Can't Pass Options to Action

I am using v3 & can't seem to pass any options to Mypy. The README says to use mypy_flags.
      - name: Mypy action
        uses: jashparekh/mypy-action@v3
        id: mypy
        with:
          path: "src/*.py"
          mypy_flags: '--allow-untyped-globals'

Result:
Warning: Unexpected input(s) 'mypy_flags', valid inputs are ['path', 'mypy_version', 'mypy_config_file', 'mypy_options', 'requirements', 'requirement_files', 'python_version']
...
...
+ mypy_args=
+ output_file=/tmp/mypy.out
+ lint_path='src/*.py'
+ mypy_version=
+ mypy_config_file=
+ flags=
+ requirements=
+ requirements_files=
...
...
+ mypy --version
mypy 0.971 (compiled: yes)
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ mypy --show-column-numbers --hide-error-context src/bin2header.py
+ tee /tmp/mypy.out
src/bin2header.py:29:1: error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
Found 1 error in 1 file (checked 1 source file)
+ exit_code=1
+ python /github.py /tmp/mypy.out
Error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
+ exit 1
Error: Process completed with exit code 1.

So I tried the following:
      - name: Mypy action
        uses: jashparekh/mypy-action@v3
        id: mypy
        with:
          path: "src/*.py"
          mypy_options: '--allow-untyped-globals'

Result:
+ mypy_args=
+ output_file=/tmp/mypy.out
+ lint_path='src/*.py'
+ mypy_version=
+ mypy_config_file=
+ flags=--allow-untyped-globals
+ requirements=
+ requirements_files=
...
...
+ mypy --version
mypy 0.971 (compiled: yes)
+ '[' '!' -z '' ']'
+ '[' '!' -z --allow-untyped-globals ']'
+ mypy_args += ' --allow-untyped-globals'
/entrypoint.sh: line 44: mypy_args: command not found
+ mypy --show-column-numbers --hide-error-context src/bin2header.py
+ tee /tmp/mypy.out
src/bin2header.py:29:1: error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
Found 1 error in 1 file (checked 1 source file)
+ exit_code=1
+ python /github.py /tmp/mypy.out
Error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
+ exit 1
Error: Process completed with exit code 1.

I also tried downgrading to v2 but got same result.
I am able to use the flag on my local system:
$ mypy --version
mypy 0.971 (compiled: no)

$ mypy --allow-untyped-globals src/*.py
Success: no issues found in 1 source file

I am going to try setting mypy_version & will update this with the result.
Edit:
I realized that v3 uses the same Mypy version as my system & v2 uses 0.910. So doesn't seems to be an issue with the Mypy version.
Edit:
Tried downgrading to v1 but problem persists:
      - name: Mypy action
        uses: jashparekh/mypy-action@v1
        id: mypy
        with:
          path: "src/*.py"
          mypy_flags: '--allow-untyped-globals'

Result:
+ mypy_args=
+ output_file=/tmp/mypy.out
+ lint_path='src/*.py'
+ mypy_version=0.910
+ mypy_config_file=
+ flags=--allow-untyped-globals
+ pip install mypy==0.910
...
...
+ mypy --version
mypy 0.910
+ '[' ']'
+ '[' --allow-untyped-globals ']'
+ mypy_args += ' --allow-untyped-globals'
/entrypoint.sh: line 28: mypy_args: command not found
+ tee /tmp/mypy.out
+ mypy --show-column-numbers --hide-error-context src/bin2header.py
src/bin2header.py:29:1: error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
Found 1 error in 1 file (checked 1 source file)
+ exit_code=1
+ python /github.py /tmp/mypy.out
Error: Need type annotation for "options" (hint: "options: Dict[<type>, <type>] = ...")
+ exit 1

I have switched to jpetrucciani/mypy-check & that is working for me.


fix: improve missing React provider error

Closes #1391

Codecov Report

Merging #1452 (2e8f73d) into main (378a668) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1452   +/-   ##
=======================================
  Coverage   85.92%   85.92%
=======================================
  Files          83       83
  Lines        9236     9236
  Branches      498      498
=======================================
  Hits         7936     7936
  Misses       1300     1300

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@elitan please let me know if it solves your initial problem: I did not get the same error as you.

Johan's error seems to be related to React missing as a dependency or something like that as createContext is only called inside packages/react/src/provider.tsx.


Looks very good

Hi Rainer
This looks very good and also worked very quick, but i have 2 questions:
First:
I had already paired my devices by using the cnetronic-py from ole and it worked from terminal directly.
Then I copied the db to the location, where your component will reuse it.
But now only 2 Covers work and the strangest thing is, that sending a command to one Cover a second cover also gets the same command.
Second:
Do you also have implemented the "Reset Counter" function from ole?
https://github.com/ole1986/centronic-py/blob/master/TECHNICAL.md

assuming the channel unit "2" has been used
reset the increment to zero minus 5
./centronic-stick.py --mod 1737c:65530:1
repeat HALT command 3 times to force reset the blinds incremental
for i in {1..3}; do ./centronic-stick.py --send HALT --channel 2:1; done
reset the increment to zero
./centronic-stick.py --mod 1737c:0:1

Hopefully you can follow my questions.
If you are german, than maybe I can explain it better in german
greets
Norbert

Hi Rainer
Thanks for your quick reply.
debug mode was already on, and it did not show any strange things.
but your hint, that you automatically do the counter-reset did the trick.
I deleted my db and after a reboot, a new one was created and then all units and channels worked.
Thanks for your great work

Sorry, nearly all looks good.
One Unit/Channel does control 2 covers at the same time.
But the Log looks normal:
2022-03-04 14:41:25 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737C, channel: 2, command: UP, argument: 0, packet: b'\x020000000002010B00200000001737C0210102002083\x03'
2022-03-04 14:41:40 DEBUG (MainThread) [custom_components.becker.cover] Fenster Stiege is travelling from position 0 to 100 in 0.0 seconds
2022-03-04 14:41:40 DEBUG (MainThread) [custom_components.becker.cover] Fenster Stiege update ha-state now
2022-03-04 14:41:40 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737C, channel: 1, command: UP, argument: 0, packet: b'\x020000000002010B00210000001737C0210101002083\x03'
2022-03-04 14:42:04 DEBUG (MainThread) [custom_components.becker.cover] Fenster Stiege is travelling from position 100 to 0 in 0.0 seconds
2022-03-04 14:42:04 DEBUG (MainThread) [custom_components.becker.cover] Fenster Stiege update ha-state now
2022-03-04 14:42:04 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737C, channel: 1, command: DOWN, argument: 0, packet: b'\x020000000002010B00220000001737C0210101004062\x03'
It did work in the past already, but maybe I will try to repair all units/channels

Maybe you could send the Becker part of your configuration.yaml as well.

cover:

platform: becker
covers:
kueche:
friendly_name: "Rollo Kueche"
channel: "1"
remote_id: "2974D:0"
bad:
friendly_name: "Rollo Bad"
channel: "2"
remote_id: "2ABE9:0"
stgfenster:
friendly_name: "Fenster Stiege"
channel: "2:1"
remote_id: "28BF0:0"
stgrollo:
friendly_name: "Rollo Stiege"
channel: "2:2"
remote_id: "2844F:0"

channel "1" and channel "2:1" are triggered at the same time, when i send the command to "2:1"

Looks good so far. I do not see any wrong things here.
Could you send the DEBUG log for channel 1 to verify, that it uses the right unit_id and channel.
Could it be, that kueche has both: 1:1 and 2:1 trained? If so, you just need to reset all remotes for kueche beside your master remote (Alle Sender löschen (außer Mastersender)) and train channel 1 again.

No, it was never trained on channel 2, but maybe i will try again with the pybecker from Ole, if there is maybe something wrong paired.
2022-03-04 14:40:47 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche is travelling from position 100 to 0 in 0.0 seconds
2022-03-04 14:40:47 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche update ha-state now
2022-03-04 14:40:47 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737B, channel: 1, command: DOWN, argument: 0, packet: b'\x020000000002010B00220000001737B0210101004072\x03'
2022-03-04 14:41:01 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche stopped at position 50
2022-03-04 14:41:01 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche update ha-state now
2022-03-04 14:41:01 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737B, channel: 1, command: HALT, argument: 0, packet: b'\x020000000002010B00230000001737B02101010010A1\x03'
2022-03-04 14:41:03 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche is travelling from position 50 to 100 in 0.0 seconds
2022-03-04 14:41:03 DEBUG (MainThread) [custom_components.becker.cover] Rollo Kueche update ha-state now
2022-03-04 14:41:03 DEBUG (Thread-4) [custom_components.becker.pybecker.becker_helper] Sent packet: unit_id: 1737B, channel: 1, command: UP, argument: 0, packet: b'\x020000000002010B00240000001737B0210101002090\x03'

how can I do it with the centronic-stick.py?

kueche looks good as well. I don't see any mistake in the data send.
I would recommend to follow "Alle Sender löschen (außer Mastersender)" and perform the training for kueche channel 1 again. You should be able to perform this without access to your cover motor by using the Mastersender.

Do you require centronic-stick.py for Windows?
I also used my Windows notebook with the centronic stick and centronic-stick.py for training ;)

ok, didn't know that there is one for windows. I always trained the stick directly on the RPi with Home Assistant

There's no one for windows available. But there is only a small change necessary to make it work for windows as well. I will provide the change later

I was wrong with centronic-stick.py. I used pybecker for training. The latest version 1.1.0 runs on windows.

Is it now working?

Hi
I have cleared all senders from 1:1 and paired the centronic stick and I think it works now. Hopefully I have tested all combinations and orders of sending commands to the different covers. But I think so.
That does the "remote_id" offer in funcionality? Should HA then recognise, when a cover gets closed/opened by the original sender instead by HA?

Thanks for that info. But I think the status on HA does not change, when I open/close the covers with the original remote
Holen Sie sich Outlook für iOShttps://aka.ms/o0ukef

Von: Rainer @.>
Gesendet: Tuesday, March 8, 2022 4:08:23 PM
An: RainerStaude/hass-becker-component-plus-pybecker @.>
Cc: NorbertBauer @.>; State change @.>
Betreff: Re: [RainerStaude/hass-becker-component-plus-pybecker] Looks very good (Issue #5)
Hi Norbert,
Good to know that's working now.
Yes, with remote_id HA will receive commands and gets closed/open from your original sender.
Don't forget to set the travelling_time. With this you will be able to track and set the position of the cover. For example set cover position to 50% when sun is shining and room temperature is too hot.
—
Reply to this email directly, view it on GitHubhttps://github.com/RainerStaude/hass-becker-component-plus-pybecker/issues/5#issuecomment-1061877888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOR7FLWDM5BEAUDQKIME43U65UOPANCNFSM5PXKC4LA.
You are receiving this because you modified the open/close state.Message ID: @.***>

I have seen it in the past where I got the id’s from, but now there no log entries anymore
Holen Sie sich Outlook für iOShttps://aka.ms/o0ukef

Von: Rainer @.>
Gesendet: Tuesday, March 8, 2022 5:21:22 PM
An: RainerStaude/hass-becker-component-plus-pybecker @.>
Cc: NorbertBauer @.>; State change @.>
Betreff: Re: [RainerStaude/hass-becker-component-plus-pybecker] Looks very good (Issue #5)
Do you see the received packet whenever you press a key at your original remote in the log?
—
Reply to this email directly, view it on GitHubhttps://github.com/RainerStaude/hass-becker-component-plus-pybecker/issues/5#issuecomment-1061956955, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOR7FM2UIE57WIYADLGHTDU655AFANCNFSM5PXKC4LA.
You are receiving this because you modified the open/close state.Message ID: @.***>


Correction in the article

There is a correction needed in the article, under the section 'Templates'. In the table where its listing the entities the last one 'CDS Address roles' is incorrect. it should be 'CDS location roles'

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

ID: 28c9f029-f84b-7ae9-b0a0-257a1cb70683
Version Independent ID: 7218e9bc-56df-da30-509e-1e9ac08ec6eb
Content: Party and global address book - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/data-entities/dual-write/party-gab.md
Service: dynamics-365-cross-app
GitHub Login: @RamaKrishnamoorthy
Microsoft Alias: ramasri

Reached out to PM for guidance.


[HotFix] reorganize ipynb

Codecov Report

Merging #545 into 2.0-dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           2.0-dev     #545   +/-   ##
========================================
  Coverage    93.15%   93.15%
========================================
  Files           59       59
  Lines         2044     2044
========================================
  Hits          1904     1904
  Misses         140      140

Continue to review full report at Codecov.

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


Overhaul: TL;DR content missing on some pages

Like this one.

Can you list all the pages where you've seen this?

Can't find it anywhere else.

Fixed in #1879


after is not called with route params

How come the after method isn't called with the route params?
For instance, I would expect the after method of my /documents/:id handler to be called with id as an argument so I could call clean-up code with the id.

I have the same question

I decide to use this method to slove the problem. Storage the route and get it in after method


Add support for etcd authentication

Starting with version 2.1, etcd supports username/password based authentication. We would really like to use this feature (in order to use a hosted etcd cluster) and I'd like to discuss how to do that with libkv.
Currently, libkv supports etcd >= 2.0. In order to use authentication, we'd have to change that requirement to etcd >= 2.1. Would this be an option for you? If so, I'm happy to provide a PR with the implementation.

Hi @abronan, thanks for your comment!
Regarding the backward compatibility: I was just concerned about people using the 2.0 client library which does not yet have those attribute in their Config struct. However, people have probably upgraded until now, what do you think?


Host aliases not being deleted on update

I updated my Vagrantfile changing the hostname. Checked /etc/hosts and noticed that the previous alias is still there:
## vagrant-hostmanager-start id: 99d40a63-852e-4be9-a3bc-d81a253c45cb
<IP_ADDRESS>	default.vagrant default.localdomain, default.dev
## vagrant-hostmanager-end

## vagrant-hostmanager-start id: a239ca5f-75ff-45a3-b0f5-15426ed77b94
<IP_ADDRESS>	largeformatphotography.vagrant default.localdomain, default.dev
## vagrant-hostmanager-end

Can confirm that the guest alias has been removed. This is Hostmanager 1.5.0 on OSX. It's not a critical issue but one probably worth looking at at some point!
Thanks!

I was having this problem as well. Flushing the DNS (ie., $ sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder) did not help.  I had to delete the extra entries before the new mappings started to work for me on OSX Mavericks 10.9.5.

What version of OSX were you using here?
As of 10.10 the correct command to flush dns is:
sudo discoveryutil udnsflushcaches


[BUG]: The versions of deployments made for the beta version should not lag the main versions

Issue description

Open the "Releases" section

Review the current situation:

We have already released version v3.1.0
However, our next branch is still following the 3.0-beta-x versioning pattern

Action required:

Update the next branch versioning to align with the latest release
The new versioning should follow the 3.1-beta-x pattern or prepare for 3.2-beta-x, depending on your versioning strategy

Ensure that future beta versions are always aligned with or ahead of the main release versions
Media & Screenshots
No response
Baklava Version
No response
Operating system
No response
Priority this issue should have
High (immediate attention needed)
Please review the checkboxes that are applicable.

[ ] This issue is directly related to React

You just need to merge main branch to next just after every stable releases. Then stable release tag will be included in next branch as well, so semantic-release can see the latest release when generating beta release tag on next branch ;)


Enable dependency resource watching but be able to turn off reconciliation in case of emergency

You can turn off the operator reconciliation by setting the hidden/undocumented skip_reconciliation
value to "true" in the Kiali CR.
fixes: https://github.com/kiali/kiali/issues/3324
backport PR: https://github.com/kiali/kiali-operator/pull/169

molecule tests pass on minikube and openshift

skip_reconciliation value to "true"

I think you mean, True.  Try to avoid quotes because, well you know why :)


How to change the line color

Is there a way to change the hair line color that I can't see?

TintColor was the answer. Thanks.


TypeError: 'NoneType' object is not iterable

Rasa CORE version: 0.14.0a9
Rasa NLU version: 0.15.0a4
Rasa CORE SDK version: 0.13.0a1
** Tracker Store**: Redis
Python version: Python 3.6.8
Operating system DOCKER Desktop Comunity 18.09.2 running on Windows 10 PRO 1803 build 17134.648
Issue: TypeError: 'NoneType' object is not iterable
Content of configuration file (nlu_config.yml):
language: "pt"

pipeline:
- name: "SpacyNLP"
- name: "SpacyTokenizer"
- name: "RegexFeaturizer"
- name: "SpacyFeaturizer"
- name: "CRFEntityExtractor"
- name: "EntitySynonymMapper"
- name: "SklearnIntentClassifier"
- name: "DucklingHTTPExtractor"
  url: "http://duckling:8000"

Content of domain file (domain.yml) (if used & relevant):
intents:
  - oi
actions:
  - bom_dia_boa_tarde_boa_noite
  - utter_com_quem_falo
templates:
  utter_default:
    - text: "Desculpa, mas não lhe entendi."
  utter_com_quem_falo:
    - text: "Com quem falo?"

Tracking:
rasa_core_1       | 2019-03-24 16:39:19 ERROR    sanic.root  - Exception occurred while handling uri: 'http://localhost:5005/conversations/'
rasa_core_1       | Traceback (most recent call last):
rasa_core_1       |   File "/usr/local/lib/python3.6/site-packages/sanic/app.py", line 750, in handle_request
rasa_core_1       |     response = await response
rasa_core_1       |   File "/app/rasa/core/server.py", line 148, in decorated
rasa_core_1       |     result = await result
rasa_core_1       |   File "/app/rasa/core/server.py", line 363, in list_trackers
rasa_core_1       |     keys = list(app.agent.tracker_store.keys())
rasa_core_1       | TypeError: 'NoneType' object is not iterable
rasa_core_1       | [2019-03-24 16:39:19 +0000] [1] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/conversations/'
rasa_core_1       | Traceback (most recent call last):
rasa_core_1       |   File "/usr/local/lib/python3.6/site-packages/sanic/app.py", line 750, in handle_request
rasa_core_1       |     response = await response
rasa_core_1       |   File "/app/rasa/core/server.py", line 148, in decorated
rasa_core_1       |     result = await result
rasa_core_1       |   File "/app/rasa/core/server.py", line 363, in list_trackers
rasa_core_1       |     keys = list(app.agent.tracker_store.keys())
rasa_core_1       | TypeError: 'NoneType' object is not iterable

That happens when i got http://localhost:5005/conversations/

So i cant se a list of my conversations. But when i got some conversation tracking, is working, like http://localhost:5005/conversations/25b9b0455fa5475b886c0231e9e1ee5a/tracker
I'm using socket.io connector, using session_persistence: true in credentials.

Thanks for raising this issue, @wochinge  will get back to you about it soon.

@Alexeijn Thanks for raising the issue! It was actually a bug which I have now fixed. Please note that the /conversations endpoint is also deprecated (in case you plan to use that in the future)

Thanks.
I can't remember the suggested for replacing /conversations behavior.
Actually, is dificult to deal with RASA vanilla, forcing me to use other soaftware like RASA UI, Articulate or RASA Talk. Both of them are incomplete or ugly (UX speaking).

Did you have a look at Rasa X? https://rasa.com/docs/rasa-x/


[LAB-746] Pay for compute credits

From SyncLinear.com | LAB-746

Operation Questions

Does Bacalhau track job execution start and job end?
Not counting queue time
Compute (GPU count, memory GB, CPU)
Storage
Duration
Average cost of current compute

Implementation Questions

Stripe integration
Transaction table


Can not template overriding

This is my folder structure

docs.html and base.html is blank
urls.py

views.py

I think it have to render nothing.
But when i runserver, render this page

Thanks for read my write

I resolved this
I rename docs.html to custom.html and template_name=custom.html in my custom view


chore(main): release 1.4.0

:robot: I have created a release beep boop
1.4.0 (2024-09-30)
Features

server mode (35d060c)
server mode (#50) (7b16f19)

Bug Fixes

just get once the deps (717d9d1)
poll at the beginning too (e3ae011)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.4.0
:sunflower:


fix(bot) : Fixed 'or' issue in help embed for standup

Addresses #351.

Could you post a screenshot of this change? I'd like to see how it looks :smile:

Sure @AllanRegush .
Unfortunately, I am not familiar with the deployment of the bot.
However, I feel this issue was caused due to an error in the string formatting.
Original Issue[#351] Image:

To test the issue,

The output was as follow:

The split function was intended to be used to separate based on the keyword 'or'.
The lack of spaces caused the 'or' in the 'for' keyword to trigger the issue.
I believe, on specifying the ' or ' keyword, the string formatting won't have any issues in the embed.
I'd appreciate any feedback.

oh yah I broke this in #331

I've pulled down this PR and have tested to make sure this PR works with all other ^help commands as intended.

Sure @AllanRegush .
Unfortunately, I am not familiar with the deployment of the bot.
However, I feel this issue was caused due to an error in the string formatting.
Original Issue[#351] Image:

To test the issue,

The output was as follow:

The split function was intended to be used to separate based on the keyword 'or'.
The lack of spaces caused the 'or' in the 'for' keyword to trigger the issue.
I believe, on specifying the ' or ' keyword, the string formatting won't have any issues in the embed.
I'd appreciate any feedback.

Look over the documentation for setting up the bot - if there is anything that doesn't make sense let us know, let's make the documentation better.

Sure @AllanRegush .
Unfortunately, I am not familiar with the deployment of the bot.
However, I feel this issue was caused due to an error in the string formatting.
Original Issue[#351] Image:

To test the issue,

The output was as follow:

The split function was intended to be used to separate based on the keyword 'or'.
The lack of spaces caused the 'or' in the 'for' keyword to trigger the issue.
I believe, on specifying the ' or ' keyword, the string formatting won't have any issues in the embed.
I'd appreciate any feedback.

Look over the documentation for setting up the bot - if there is anything that doesn't make sense let us know, let's make the documentation better.

Yup. I'll look into that. Thank you.

Good team effort, thank you all 👍


Merging the tx-dft-frontend to eclipse-tractusx

Merging code from tx-dft-frontend to eclipse.
Modified the helm charts to pass the QG requirements.


Another random crash, related to colors(?)

[11:12:26] [Client-Main] java.lang.RuntimeException: Failed to load colors from image: /misc/colors_flag.png
[11:12:26] [Client-Main] 	at net.minecraft.core.util.helper.Colors.fillColorArray(Colors.java:36)
[11:12:26] [Client-Main] 	at net.minecraft.core.util.helper.Colors.loadColors(Colors.java:25)
[11:12:26] [Client-Main] 	at net.minecraft.client.render.RenderEngine.refreshTextures(RenderEngine.java:609)
[11:12:26] [Client-Main] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:364)
[11:12:26] [Client-Main] 	at net.minecraft.client.Minecraft.run(Minecraft.java:2879)
[11:12:26] [Client-Main] 	at java.base/java.lang.Thread.run(Thread.java:833)

Actually nvm, seems to be maybe a BTA issue?


[Investigation] Improve help docs

Look into other documentation generators, but only ones that can consume Doxygen-style comments - we're not making extensive changes to the source to accommodate this.
If none suitable are found, then at least improve the CSS styling used for the HTML output.

The two popular ones I've come across are:

hdoc, which seems to have poor Windows support and very large dependencies (e.g. all of Clang...)
Sphinx, which looks good but requires a painful toolchain of Doxygen->Breathe->Sphinx in order to use the existing Doxygen comments

The part that puts me off the most is that neither of solutions greatly improve on the features Doxygen provides, they're mostly cosmetic.  Which puts us back to finding an improved Doxygen theme.


Build on osx sdk 10.14

Closes #46

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


europeantour.com support

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
No response
Example URLs

Single video: https://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/

Description
Generic extractor fails to fetch the hls urls.
Verbose log
[debug] Command-line config: ['--no-config', '-v', 'https://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.7.3 (CPython 64bit) - Linux-4.19.0-18-amd64-x86_64-with-debian-10.11
[debug] exe versions: ffmpeg 4.1.8-0, ffprobe 4.1.8-0, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Crypto, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/
[generic] the-best-shots-of-the-2021-seasons: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] the-best-shots-of-the-2021-seasons: Downloading webpage
[generic] the-best-shots-of-the-2021-seasons: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/
Traceback (most recent call last):
  File "/opt/yt-dlp/yt_dlp/YoutubeDL.py", line 1355, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/yt-dlp/yt_dlp/YoutubeDL.py", line 1425, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/yt-dlp/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/opt/yt-dlp/yt_dlp/extractor/generic.py", line 3829, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/

For devs:
This is a typical brightcove based extractor.


Unable to override default wrappers 'description' and 'validation-messages'

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior
When defining the wrappers a custom field type, I am unable to override the defaults:
FormlyModule.forRoot({
    types: [
        {
            name: 'address',
            component: AddressFieldComponent,
            wrappers: ['fieldset', 'label']
        },
    ],
})

This will append the following wrappers: ["fieldset", "label", "description", "validation-message"]
Expected behavior
My expectation is that only the 'fieldset' and 'label' wrappers should be appended. The wrappers polute the DOM and have no use in this scenario.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/ngx-formly-ui-bootstrap-wpcoap?file=app%2Faddress-field.component.ts
This example logs 4 wrappers instead of two. This problem doesn't seem to occur in v3.0.0.

Angular version: 6.0.0

This seems to be a design decision added here: https://github.com/formly-js/ngx-formly/pull/826/commits/81a0ad2f81bbebe7d8b87bddd6814089c6613cb6

@aitboudad Thanks a lot for the quick solution, this should do the job!
@samtsai I'm basically defining a custom formly control by creating a reactive form group. Formly implements its controls in a similar fashion. It works pretty good as it will validate the user input, and output an object:
address: {
    city: "Foo"
    houseNumber: "86"
    houseNumberExtension: null
    street: "Bar"
    zipCode: "2020AB"
}

I've edited the StackBlitz  to demonstrate how it works (check the console).


New Section Suggestion: Open Learning

I'm not sure if something like this would fit into the vision for the Open Resource Exchange, but I found it quite interesting.  I follow Creative Commons and was recommended a fantastic free resource from Ryerson University.
Ryerson University Pressbooks hosts several eBooks in multiple formats, most of which are licenced under the "open friendly" Creative Commons Attribution ShareAlike licence.
It's not really Code or Software or Standards, but it is an "open resource" that Canadian public administrations could benefit from.  I plan on sharing the Understanding Document Accessibility eBook with some colleagues in hopes of starting a positive conversation.

Looks like this is now a thing.  GCShare.
https://csps-efpc.ecampusontario.ca/
Thanks for the consideration.


Diffuse model subtraction

Subtracting the FHD diffuse model appears to significantly improve the power spectrum, but the normalization is off (known issue). This issue is to track the status of fixing those bugs.

This appears to have been fixed last year. There is currently not a problem.


Remove explicit location assignments from examples

We want to steer users away from hard-coding locations in their programs, so we remove those from our own examples

@lukehoban done


Add ARIA Live Regions to chat to facilitate accessibility

See resources at http://www.w3.org/WAI/PF/aria-practices/#liveprops
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions
Will issue PR if time permits

Hi,
I just ran a bunch on testing on the chat POC @karlgroves put together. First thank you much, very helpful.
I am running into an issue, I need the screen reader to announce when the new chat message includes a link or a button element ( ) within the aria-live region. So far I haven't found a solution and I was wondering if you have a recommendation:   http://chat.karlgroves-sandbox.com
-Carlos


Get error while opening protein files

Hi,
When I try to open a protein file, I get this error popping up in the python shell:
ERROR ***************
Traceback (most recent call last):
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\ViewerFramework\VF.py", line 941, in tryto
result = command( *args, **kw )
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\Pmv\fileCommands.py", line 810, in doit
newparser = PdbParser(filename,modelsAs=modelsAs)
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\MolKit\pdbParser.py", line 105, in init
MoleculeParser.init(self, filename, allLines)
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\MolKit\moleculeParser.py", line 36, in init
self.filename = str(filename)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-8: ordinal not in range(128)
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\lib-tk\Tkinter.py", line 1410, in call
return self.func(*args)
File "D:\Program Files (x86)\MGLTools-1.5.7\lib\site-packages\Pmv\fileCommands.py", line 614, in guiCallback
mols.data.extend(mol.data)
AttributeError: 'str' object has no attribute 'data'.
I have the latest version of python installed on my pc.

Hi, this is a MGLTools issue, not Vina, you could try the mailing list. In any case, you could try the approach described in the docs.

Hi, this is a MGLTools issue, not Vina, you could try the mailing list. In any case, you could try the approach described in the docs.

Hi sir; thanks for your response. 🙏

Hi, this is a MGLTools issue, not Vina, you could try the mailing list. In any case, you could try the approach described in the docs.

Hi sir. I installed MGLTools v 1.5.6 instead of v 1.5.7, and the problem got solved. Thanks for your advice.

That's good news, thank you for reporting it.


fix: Disturbed canvas due to css transition in chrome

Description
This PR changes the CSS transitions  on different components so that it prevents the Disturbed canvas issue on chrome..
PR fixes following issue(s)
Fixes #25697
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?
This fix has been tested manually. Since the issue is inconsistent automated tests cannot be added
Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview env=release

@kavitasmoolya could you please verify with the above dp?

@kavitasmoolya could you please verify with the above dp?

Looks good to me @rahulramesha

/ok-to-test


Add test & gas benchmark for Marketplace contract to gasreport.txt

Hey @kien-ngo! I would love to help with this issue. I've setup the project locally and I'm going through the marketplace contract and all the related code. I see that there's already some tests written for the marketplace contract. Can you help me with what would be a good place to start, and what functions we're looking to add tests for? I'm also on the discord channel if that's a better place to talk about this. Thanks

Hey @SonuBardai, thanks for reaching out. Let me tag @nkrishang here since I'm not the one in charge so I'm not sure what the team have in mind in terms of current road map.
Feel free to reach out on Discord anyway ^

Hey 👋🏽 I'll figure out an easier way to view all our contract benchmarks.
In the meantime, you can run any of the MarketplaceV3 tests using the forge test command with -vvvv tag to get the full gas consumption profile of any contract calls involved. Example:
forge test --mc MarketplaceEnglishAuctionsTest --mt test_state_createAuction -vvvv`


[fr] Add sestegra as an fr approver in dev-fr branch

Describe your changes
Cherry-pick commit from. main branch
Related issue number or link (ex: resolves #issue-number)
N/A
Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @sestegra
Since this PR is to update the latest codeowner in main branch by using cherry-picked commit, looks good to me as is.
I prefer updating the dev-fr branch entirely since there are many changes in main branch. (need to rebase and adjust merge conflicts manually)
Which method does your team prefer?

Hi @seokho-son,
Yes, you can proceed with your preference, as it's easier to manage.

Thanks @sestegra :)
Please open another PR to update dev-fr branch. I will merge the PR quickly. ;)
(most preferred way to update a dev branch is just creating a PR like https://github.com/cncf/glossary/compare/dev-fr...main , but we cannot use it this time because of merge conflicts).

@seokho-son
I pushed CODEOWNERS and .github/settings.yaml file from main branch on this PR.
Then, I created another PR to fix merge conflicts #2180 to use dev-fr..main merges in the future.


fix: Correct TypeScript type definition for wordList

@iuroc - Thanks for catching this error. Can you add two updates to this PR, please?

In reviewing the code, I noticed that the same typo exists in the export statement. Could you fix this?
Can you add a note about your fix to the CHANGELOG?
If you need any assistance with these changes, just let me know. Note that we haven't shipped this module since the last changes, so your note in the CHANGELOG would go under 'UNRELEASED'.
Thanks!

In the given tsconfig.json configuration, exporting should not be an issue, right?
{
    "compilerOptions": {
        "strict": true,
        "module": "NodeNext",
        "moduleResolution": "NodeNext"
    }
}

@iuroc To be honest, I'm not sure where your tsconfig.json code is coming from. I thought you were asking me if it was formed correctly. Looking at the code in this repo, there is a potential problem.
https://github.com/apostrophecms/random-words/blob/c4e5289ebbdbad843e3d7cb9957da48b02885b15/index.d.ts#L28
export { generate, count, wordsList };
This typo should be fixed as well.
Thanks!


Feat(WitnetProxy): adopt Etherscan supported patterns

Comply with EIP-1967 Transparent Proxy Pattern:

On WitnetProxy:

[x] Refactor:WitnetProxy.delegate() to WitnetProxy.implementation().
[x] Feat: read actual implementation address from storage slot 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc (obtained as bytes32(uint(keccak256('eip1967.proxy.implementation')) - 1)).
[x] Feat: emit Upgraded(address indexed implementation) whenever a new upgrade is fully accomplished.

Based in EIP-1967 Transparent Proxy Pattern:

On WintetBoardData:

[x] Chore: use keccak256(<bytes32_ascii>) for naming Witnet data storage slots.

Based in EIP-1822 Universal Upgradable Proxy Standard:

On Upgradable:

[x] Refactor: make Upgradable inherit from Proxiable

On WitnetBoard:

[x] Feat: set proxiableUUID() at the WitnetBoard level, in compilation time.

On WitnetProxy:

[x] Refactor: rename upgrade(address) to upgradeTo(address).
[x] Feat: before upgrading, assert proxiableUUID() match between old and new implementation.
[x] Chore: revisar revert messages:

"mismatch", if proxiableUUIDs differ.
"not compliant", if new implementation does not support Upgradable, Initializable or Proxiable basic methods.

Superseded by https://github.com/witnet/witnet-ethereum-bridge/pull/176


Add UI for toggling wether or not to use automatic ordering of browsers

When the option is off, as it stands, it will simply stop updating the counter.
Should we add UI to manage the order manually, or do it alphabetically?

The toggle UI has been added, but missing the manual ordering bit


Hitting a missle should destroy the enemy tank

I would like to start working on this issue. Is it ok for now to implement it like the tank only has one life?

Sure


page type add phpdoc

Need some documentation on this function really badly

Can we make this conform to either the PSR-6 working draft for hashes or to actually parsable php within that <code>..</code> block?

I'm going to merge this and adjust it myself


Insulin curve preferences

Gives a workaround (fixes #108) in form of a warning to not use a custom peak time below orefs minimal applicable insulinPeakTime for it's insulin curves.
Also reorders the parameters for insulin curves in the preference pane.

Please, don't change localized keys directly in code. Better change the value on https://crowdin.com/project/freeaps-x
And I prefer that custum insulin settings are not in the main section.


Updating 2024-11-01 managedBy

Updating the 2024-11-01 api-version to provide more detail about managedBy field for resource groups
Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.
Click here to open a PR for only SDK configuration.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Authorization


Token and Secret key

Hey i want to know where is the use of token and secret key
i want to get the data from the mux by using playback ids
please suggest me something

I don't understand your question. The package allows you to send data to mux. You can watch data in mux dashboard.


Documentation Improvement and Fix for Soroban DApp Setup

ODHack
This issue is part of ODHack:

Description
Guidelines

Description:
The current documentation lacks information about the dependencies required for setting up a Soroban DApp. Additionally, it does not provide clear instructions on the necessary environment configurations and script executions.
Tasks:

Update Documentation:

Include a section detailing all dependencies required, specifically mentioning Docker.
Provide step-by-step instructions on how to install these dependencies.

Script Execution Instructions:

After running the create-soroban-dapp npx script, instruct users to execute bash quickstart.sh standalone.

Environment Variables Configuration:

Add instructions to configure ADMIN_SECRET_KEY and MAINNET_RPC_URL as per the .env.example file.

Update preview_version.json:

Ensure preview_version.json contains "previewVersion": "21.0.1".

Update quickstart.sh

Update the quickstart.sh script to take both .env files into consideration when running.
expose port 3000. of soroban-preview image (to launch app on localhost:3000)

Tutorial Creation:

Create a tutorial for building the esteblock/soroban-preview-docker image (with version 21.0.1).
Include instructions on running the image using the quickstart.sh script.

Acceptance Criteria:

Users should be able to deploy a greeting contract to the testnet by following the updated documentation.

@chopan123  can i be assigned to work Task 1: Update Documentation

Hi @chopan123 , can I be assigned this issue? This is my first time contributing to paltalaba ecosystem and I will love to be given the opportunity to proof my skills, thank you 🙏🏾

hey @chopan123  Can I be assigned to this issue?

Hi @chopan123,  I am blockchain developer with over two years working experience, I have read the instructions here and gone through the repo. This is an issue I can handle easily. Kindly assign it to me.

GM @chopan123, here's my portfolio: https://www.jedshock.com/. I hope I am deemed fit enough to tackle on this issue?

@chopan123 Can I be assigned this issue? I am a Web3 developer and also a documentarian
Here are some documentation I’ve written https://hackmd.io/@xZ4BOZ5TTTy1I0ZQHXFOkg/SJRx_mkUA

hey @chopan123 Can I be assigned to this issue?

Hi am a Frontend Dev, Smart Contract Dev and Technical Writer. Am currently studying Smart Contract Auditing. I have written articles<EMAIL_ADDRESS>I have made successful documentation contribution for Starknet Scaffold in OD Hack project last month. I can do the same for you Sir. https://github.com/horuslabsio/Starknet-Scaffold/commits?author=mimiprosper
Thanks.

Thanks for assigning me this task.