text:
🛑 Australia Sydney (Opera House) is down

In a877506, Australia Sydney (Opera House) (https://au-015.whiskergalaxy.com:6363/latency) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Australia Sydney (Opera House) is back up in 5f2e800 after 20 minutes.


text:
File transport: lazy file creation

This change tries to address the issue #1494.

Thank you so much for looking into this!  I left a few comments for your consideration.

Thanks for the review! I will work on that.

Closing this for now due to inactivity but please feel free to re-open anytime.

https://github.com/winstonjs/winston/pull/2317
I have crerated a pull request the issue.
Please review it.

source: gharchive/pull-request

repo: winstonjs/winston

license: MIT

license_type: permissive

license_source: github-api


text:
Update docs on the Amazon SNS transport

We've updated the SNS transport to take advantage of the features available in the Amazon AWS SDK for JavaScript. These document changes reflect those updates.

Thanks!

authors: MattCBowman indexzero


text:
Lacks codec version

[Advanced Duplicator 2] lua/advdupe2/sh_codec.lua:476: this install lacks the codec version to parse the dupe (have rev 4, need rev 5)

error - [C]:-1
Decode - lua/advdupe2/sh_codec.lua:476
3. unknown - lua/weapons/gmod_tool/stools/advdupe2.lua:578
4. unknown - lua/includes/modules/concommand.lua:54

Happens when I create a dupe on a multiplayer server and then try to open it in singleplayer. Subscrubed to the workshop version, and the files, after failing to open in singleplayer, still open fine on the server I'm playing on.
I've seen previous issues but they didn't solve my problem.

Make sure you don't also have the old version installed somewhere.

Make sure you don't also have the old version installed somewhere. Like your addons folder.

It was a clean Gmod install. I don't have an older version anywhere.

Sounds like a job for @Anticept

Our license doesn't permit taking down 'unofficial addons'. At best we could have it removed for using our name, but that's even a shot in the dark.

understandable

source: gharchive/issue

authors: Anticept EluWriter thegrb93

license_source: bigquery


text:
Styles/table

Table now has a nice styles and is responsive

It remains the checkbox icon
it's ready 🔥


text:
aruba ports

Please describe the motivation for this PR and provide enough
information so that others can review it.
Please mark with X for applicable areas.

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests / CI System      [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

http://172.16.10.205/logfiles/vivek1601736632141/testlog

authors: fredstanley vivek-vijaykumar

repo: witesand/osm


text:
Remove "imports on top" warning

What kind of changes does this PR include?

New or updated content

Description

Removes tips/warnings that import statements must go on top of your .astro files!
Replaces old debugging tip with new "unexpected export" tip
Blocked by https://github.com/withastro/compiler/pull/463

Does this change also affect the layout property in Markdown files? When translating https://docs.astro.build/en/core-concepts/layouts/#markdown-layouts I was wondering why it said this:

Markdown files can use a special layout property at the top of the frontmatter to specify which .astro component to use as a page layout.

Does this change also affect the layout property in Markdown files?

I don’t think that was ever impacted by order in the frontmatter? Or if it was it isn’t anymore.

I don’t think that was ever impacted by order in the frontmatter? Or if it was, it hasn’t been like that for quite a while.

It absolutely affected me, not that long ago, tbh, fwiw!

It absolutely affected me, not that long ago, tbh, fwiw!

Oh, interesting! Just tried it and definitely doesn’t seem to be the case here: https://stackblitz.com/edit/github-cjkpls?file=src/pages/index.md
Or was this with import inside setup in frontmatter maybe?

I think this LGTM, Nate!

authors: delucis hippotastic natemoo-re sarah11918

repo: withastro/docs


text:
i18n(ko-KR): update configuring-astro.mdx

Description (required)

update configuring-astro.mdx
#9240

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/guides/configuring-astro.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

authors: astrobot-houston jsparkdev


text:
i18n(zh-cn): translate guides/integrations-guide/preact.mdx

What kind of changes does this PR include?

Translated content

Description

Translate guides/integrations-guide/preact.mdx to Chinese.

@liruifengv

Thanks for the PR, here are some suggested changes to merge once the changes are complete.

Thanks for the review!

Thanks @lu-sd! I can see there are a few suggestions in "Files changed" that still show up as not addressed, could you take a look at these in case you missed applying them?

oops.  Updated. Thanks!

authors: Yan-Thomas liruifengv lu-sd


text:
i18n(pt-br): added missing options of Experimental Flags

Description (required)
Added missing options of Experimental Flags for pt-br locale:

experimental.clientPrerender
experimental.globalRoutePriority
experimental.i18nDomains

Discord user: jeff_drumgod

Thanks @jeffdrumgod, in case of outdated translations like this we like to have the entire page updated in the PR (vs. a few sections) so we have a predictable way to track its outdated/updated status using Lunaria. Would you be up to the task? https://github.com/withastro/docs/commits/main/src/content/docs/en/reference/configuration-reference.mdx?since=2024-01-08T19:08:58.000Z

Sure @Yan-Thomas ! I can try.
But before proceeding, I wonder if there is any mechanism in place to indicate who may have already undertaken the task of translating a page, to prevent duplication of effort by multiple people. Translating an entire page requires considerable effort, and it would be disheartening to discover that someone else has completed the same work just minutes before your submission.

I wonder if there is any mechanism in place to indicate who may have already undertaken the task of translating a page

The Portuguese translation thread on Discord is where you can coordinate your efforts with others

But before proceeding, I wonder if there is any mechanism in place to indicate who may have already undertaken the task of translating a page, to prevent duplication of effort by multiple people. Translating an entire page requires considerable effort, and it would be disheartening to discover that someone else has completed the same work just minutes before your submission.

As Fryuni said above, the best place is our Discord, there we have an #docs-i18n channel with threads for each language available for translation where people coordinate their effort. No one has claimed this page before yet, so you're free to proceed with no worry. 🙌

Great! I will prepare the mission to help translate all the pages :) Please ignore this PR, I will send a new one as soon

authors: Fryuni Yan-Thomas jeffdrumgod


text:
i18n(pt-BR): Update cli-reference.mdx translation

Update cli-reference.mdx translation
Description (required)
Update the cli-reference.mdx with the latest changes.

Sorry for the delay @yanthomasdev, applied your suggestions!

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note
Locale

src/content/docs/pt-br/reference/cli-reference.mdx
Localization changed, will be marked as complete. 🔄
pt-br

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

authors: Egpereira astrobot-houston


text:
New: astro add support instructions for integrations and adapters

What kind of changes does this PR include?

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

Description

Add "installation via astro add" instructions for integration authors
Add "installation via astro add" instructions for adapter authors

@delucis That's because we don't update your config for third party adapters! As noted at the end, users are instructed to update their config manually.


text:
Update getting-started.mdx

Description

Closes #
What does this PR change? Give us a brief description.
Did you change something visual? A before/after screenshot can be helpful.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
getting-started.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Hello! Thank you for opening your first PR to Starlight! ✨
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any issues you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🤩

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Thanks for your contribution.
I don't think adding the "asap" abbreviation is necessary in this specific case and something that we would want to change in this part of the documentation.
If you have any questions or feel like this section could be improved in any way, I think starting a discussion in the Astro Discord server would be a good starting point to get feedback from the community and discuss the potential changes before submitting a PR.

authors: HiDeoo adepauldami astrobot-houston

repo: withastro/starlight


text:
i18n(it): Updates guides/sidebar.mdx

Description
Updates guides/sidebar.mdx

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

it
guides/sidebar.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

authors: astrobot-houston casungo


text:
i18n(zh-cn): Update overriding-components.mdx

Description

Update overriding-components.mdx
#2417

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/overriding-components.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


text:
thrown: "Exceeded timeout of 120000 ms for a hook.

Description
When running the tests locally on my machine, the test work as expected. However on CircleCI I receive the described errors.
It seems like the app is being installed and uninstalled in a loop, very strange.

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

Reproduction
I'm not 100% sure how to reproduce this since this is only happening on CircleCI and Travis too.
I've tried to set the environment running on CircleCI to be as identical to my machine as possible. Both have the same Node, Xcode and Homebrew versions. The only difference is I'm running on M1 12.1 and CircleCI uses macOS 11.6.2
Expected behavior
The tests should initiate and run on both environments.
Environment

Detox: ^19.4.5
React Native: 0.67.2
Node: 14.19
Device: iPhone 12
Xcode: 12.5.1
iOS: Probably 12
macOS: 11.6.2
Test-runner (select one): jest-circus

Logs
If you are experiencing a timeout in your test

[x] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much, I have read synchronization debug documentation and am providing the relevant synchronization debug output below:

If you are seeing a Detox build problem (e.g. during npm install, not detox build)

[ ] I am providing the npm install log below:

Npm logs

 (paste logs here)

Device and verbose Detox logs

[ ] I have run my tests using the --loglevel trace argument and am providing the verbose log below:

Detox logs

GitHub doesn't allow me to upload such a large file (maximum body exceeded, 65536 chars). Full logs can be found here: https://drive.google.com/file/d/1ZSdd-nIGv1dWgua2lsu4tqhLcZvfNos6/view?usp=sharing

Device logs

I'm not sure how to get these from CircleCI. Can someone help me with that?

I am currently experiencing the same issue in Detox: ^19.4.5

I am currently experiencing the same issue in Detox: ^19.4.5

Your tests seems to hang trying to run this command:
14:36:54.747 detox[12679] DEBUG: [EXEC_CMD, #56] applesimutils --byId 1B18C8F5-57C4-47EE-B349-EA33FEFA9FDD --bundle is.timatorg.debug --restartSB --setPermissions calendar=YES,notifications=YES,location=inuse,camera=YES,photos=YES

Is it possible that AppleSimUtils isn't properly installed on the agent you get on circle CI? Note: it does not come preinstalled on their agents -- you have to set it up yourself by adding it to the beginning on the buildscript.

It looks like I'm already installing AppleSimUtils. Here is my CircleCI config:
version: 2.1

orbs:
  node: circleci/node@5.0.0

jobs:
  build:
    macos:
      xcode: '13.2.1'

    working_directory: ~/repo

    steps:
      - checkout

      - node/install:
          node-version: '14.19'
          install-yarn: true

      - run: brew update
      - run: brew reinstall cocoapods
      - run: brew tap wix/brew
      - run: brew install applesimutils
      - run: sudo gem install cocoapods
      - run: gem install CFPropertyList

      # Set up environment
      - run: npm install -g react-native-cli
      - run: npm install -g detox-cli

      # # run unit tests
      # - run: yarn install
      # - run: yarn test

      # Install dependencies
      - run: cd ~/repo
      - run: echo $NOONA_MOBILE_ENV > .env
      - run: yarn
      - run: cd ios && pod install && cd ..

      # run E2E tests
      - run: RN_SRC_EXT=e2e.ts detox build --configuration ios.sim.debug
      - run: RN_SRC_EXT=e2e.ts detox test --configuration ios.sim.debug --cleanup  --loglevel trace

workflows:
  deploy-dev:
    jobs:
      - build:
          context:
            - noona-dev
          filters:
            branches:
              only:
                - dev
                - detox2

I SSH'ed into the pipeline machine and ran:
applesimutils --byId 7B63FC91-8483-4E8E-A755-A8060449EC8D --bundle is.timatorg.debug --restartSB --setPermissions calendar=YES,notifications=YES,location=inuse,camera=YES,photos=YES
Got error:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
The operation couldn’t be completed. No such file or directory
No such file or directory

I got the ID from the output Detox printed:
"dataPath" : "\/Users\/distiller\/Library\/Developer\/CoreSimulator\/Devices\/7B63FC91-8483-4E8E-A755-A8060449EC8D\/data",
"dataPathSize" : 13312000,
"logPath" : "\/Users\/distiller\/Library\/Logs\/CoreSimulator\/7B63FC91-8483-4E8E-A755-A8060449EC8D",
"udid" : "7B63FC91-8483-4E8E-A755-A8060449EC8D",
"isAvailable" : true,
"deviceType" : {
  "minRuntimeVersion" : 917760,
  "bundlePath" : "\/Applications\/Xcode-13.2.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 12.simdevicetype",
  "maxRuntimeVersion" : 4294967295,
  "name" : "iPhone 12",
  "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
  "productFamily" : "iPhone"
},
"deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12",
"state" : "Shutdown",
"name" : "iPhone 12-Detox"

I think the ID is correct (or the error would have been different). Is it possible that your applesimutils in not in your path? Could you try to run applesimutils -v and paste the result here?
@asafkorem anything else you can advise?

Thanks for the quick responses, really appreciate it.
Here's the output from the build machine:
static:repo distiller$ applesimutils -v
applesimutils -v
applesimutils version 0.9.5

Hi @gunnartorfis!

I SSH'ed into the pipeline machine and ran: ...

This error makes sense in case you are running this command without the app being installed.

Oh, of course. It was a bit hectic interacting with the build machine so I wasn't able to play around with it too much.
This is probably not something related to my OP then.

@gunnartorfis can you please execute:
cat ~/Library/Detox/device.registry.state.loc

in your machine?

@gunnartorfis can you please execute: cat ~/Library/Detox/device.registry.state.loc in your CI agent?
(and paste the output here)

static:repo distiller$ cat ~/Library/Detox/device.registry.state.lock
[{"id":"A8176C67-F1D0-4517-A6B5-A3495829BB1D"},{"id":"1B1C0426-C8CF-404A-B7B9-3619666F5900"},{"id":"6BB8402D-1A75-4E11-AD26-1ED496506DA0"},{"id":"6C49C4D3-AB91-4124-B147-1085ECCBFB28"}]
I had to run the build again to SSH into it, leaving me with different IDs than in the OP I assume.

It's still behaving a bit weird, like it's constantly restarting the simulator or something, eventually reaching an error thrown: "Exceeded timeout of 120000 ms for a hook.     Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test.".
It also might be worth mentioning that when running the tests locally, Detox spins up a new simulator. For example, if I declare "iPhone 12" in my `.detoxrc.json', that one will fire up but tests will run on "iPhone 12-Detox". Not sure if that's normal but wanted to mention that.
Here's a link to the output logs: https://drive.google.com/file/d/1Fcfyy_wGZfsrAF5vHBCqRFOOhQSwec7s/view?usp=sharing
Here's my Detox config.json:
{
    "maxWorkers": 1,
    "testEnvironment": "./environment",
    "testRunner": "jest-circus/runner",
    "testTimeout": 120000,
    "testRegex": "\\.e2e\\.js$",
    "reporters": [
        "detox/runners/jest/streamlineReporter"
    ],
    "verbose": true,
    "setupFilesAfterEnv": [
        "<rootDir>/init.js"
    ]
}

environment.js:
const {
  DetoxCircusEnvironment,
  SpecReporter,
  WorkerAssignReporter,
} = require('detox/runners/jest-circus');

class CustomDetoxEnvironment extends DetoxCircusEnvironment {
  constructor(config, context) {
    super(config, context);

    // Can be safely removed, if you are content with the default value (=300000ms)
    this.initTimeout = 300000;

    // This takes care of generating status logs on a per-spec basis. By default, Jest only reports at file-level.
    // This is strictly optional.
    this.registerListeners({
      SpecReporter,
      WorkerAssignReporter,
    });
  }
}

module.exports = CustomDetoxEnvironment;

init.js:
const detox = require('detox');
const config = './config.json';

beforeAll(async () => {
  await detox.init(config);
  await device.launchApp();
});

afterAll(async () => {
  await detox.cleanup();
});

.detoxrc.json
{
  "testRunner": "jest",
  "runnerConfig": "e2e/config.json",
  "skipLegacyWorkersInjection": true,
  "apps": {
    "ios.debug": {
      "type": "ios.app",
      "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/NoonaDEV.app",
      "build": "xcodebuild -workspace ios/timatorgmobile.xcworkspace -scheme 'Noona Develop' -sdk iphonesimulator -derivedDataPath ios/build"
    },
    "ios.release": {
      "name": "Noona",
      "type": "ios.app",
      "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Noona.app",
      "build": "xcodebuild -workspace ios/timatorgmobile.xcworkspace -scheme 'Noona Release' -sdk iphonesimulator -derivedDataPath ios/build"
    },
    "android.DEV": {
      "type": "android.apk",
      "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
      "build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=DEV && cd .."
    },
    "android.release": {
      "type": "android.apk",
      "binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
      "build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd .."
    }
  },
  "devices": {
    "simulator": {
      "type": "ios.simulator",
      "device": {
        "type": "iPhone 12"
      }
    },
    "emulator": {
      "type": "android.emulator",
      "device": {
        "avdName": "Pixel_3a_API_30_x86"
      }
    }
  },
  "configurations": {
    "ios.sim.debug": {
      "device": "simulator",
      "app": "ios.debug"
    },
    "ios.sim.release": {
      "device": "simulator",
      "app": "ios.release"
    },
    "android.emu.DEV": {
      "device": "emulator",
      "app": "android.DEV"
    },
    "android.emu.release": {
      "device": "emulator",
      "app": "android.release"
    }
  }
}

@gunnartorfis I'm not sure why your init.js is required. Detox init and cleanup is done automatically in a jest-circus environment, such as yourself. That alone might be a source of some of the issues 🤔

any solution?

authors: Zakyyy andreupifarre asafkorem d4vidi gunnartorfis

repo: wix/Detox


text:
fbsimctl installation issues

Description

fbsimctl has installation issues when installing from brew. I noticed this when our ci tests started failing (for fructose). Initially I tried fixing it with brew install fbsimctl --HEAD. This worked for about a day after which it would no longer build.
I know detox will face a similar issue when a CI build gets triggered.
Steps to Reproduce

On a machine that doesn't have fbsimctl:
brew tap facebook/fb
export CODE_SIGNING_REQUIRED=NO && brew install fbsimctl

Fix
Use the following to install fbsimctl
export CODE_SIGNING_REQUIRED=NO
git clone https://github.com/facebook/FBSimulatorControl.git
cd FBSimulatorControl
git checkout 4a3a339ca325ae2ac0b34fef92605204b79e0c09
./build.sh fbsimctl build output
PATH=$PATH:$(pwd)/output/bin
cd ..

Node, Device, Xcode and macOS Versions

Xcode: 8.3, 9
macOS: Sierra

I'm getting the same problem

We are working on removing fbsimctl as a dependency, @DanielZlotin is working on that currently 👍

This is a Facebook issue where they can't keep fbsimctl stable on HEAD, but also can't be bothered with to use releases like any other normal project.
https://github.com/facebook/FBSimulatorControl/issues/429
https://github.com/facebook/FBSimulatorControl/issues/437
And so on...
The sooner we remove the fbsimctl dependency, the better.
@DanielZlotin @rotemmiz

I'm on it
On Sep 19, 2017 12:52, "Leo Natan" notifications@github.com wrote:

This is a Facebook issue where they can't keep fbsimctl stable on HEAD,
but also can't be bothered with to use releases like any other normal
project.
facebook/FBSimulatorControl#429
https://github.com/facebook/FBSimulatorControl/issues/429
facebook/FBSimulatorControl#437
https://github.com/facebook/FBSimulatorControl/issues/437
And so on...
The sooner we remove the fbsimctl dependency, the better.
@DanielZlotin https://github.com/danielzlotin @rotemmiz
https://github.com/rotemmiz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wix/detox/issues/280#issuecomment-330489301, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGWgj4yVMwTBOXtY5SXv6S6CIBf0kRuNks5sj47BgaJpZM4PZFqW
.

@DanielZlotin Nope, in ObjC, here: https://github.com/wix/AppleSimulatorUtils/blob/master/applesimutils/applesimutils/main.m#L281

authors: DanielMSchmidt DanielZlotin LeoNatan calclavia rjanjua

repo: wix/detox


text:
No conversion actions in the displayed lightbulb

While trying to convert my classes to hooks, I cannot find options of the extension displayed in the light bulb
Please find code which i am trying to convert: https://gist.github.com/RamyEl-basyouni/804880469617e68557fbcba2142419db
And the the gif indicating the steps of producing issue:
https://giphy.com/gifs/RhSeDbDzInlaE3uHGC/fullscreen
Info:
OS: 10.15.4
VSCode Version: 1.46.1
Glean Version: 5.0.1

Hi Guys,
Any updates regarding this?

I can't see this option too

Same, no updates?

Same, no updates?

same here, not working, any context menu on lightbulb or right click.

+1

+1

authors: KiligFei RamyEl-basyouni VictorioMolina amingomezd filipef101 mayconmesquita

repo: wix/vscode-glean


text:
Labels don't handle colons properly

After a report from zumzum, I tested a few code samples against BYOND. All three are valid and produce identical behavior. Zumzum reported that labels beginning with a colon will error in OpenDream.
/proc/main()
  world.log << "A"
  var/thing = 2
  :weirdness
    if(thing % 2 == 0)
      thing = 3
      goto weirdness
  world.log << "B"
  world.log << thing

/proc/main()
  world.log << "A"
  var/thing = 2
  weirdness
    if(thing % 2 == 0)
      thing = 3
      goto weirdness
  world.log << "B"
  world.log << thing

/proc/main()
  world.log << "A"
  var/thing = 2
  weirdness:
    if(thing % 2 == 0)
      thing = 3
      goto weirdness
  world.log << "B"
  world.log << thing

You can also have a label with colons on both sides (:weirdness:)

Hi, I've tested this a bit. While a label beginning with a colon is indeed valid BYOND, a goto statement with a label like that is not. OpenDream does not replicate BYOND's behavior exactly here, but since you can't compile code that relies on labels starting with colons I figure it's not worth gutting the identifier code.
made an issue report on the forums: http://www.byond.com/forum/post/2721976

While a label beginning with a colon is indeed valid BYOND, a goto statement with a label like that is not.

A goto statement can use a label beginning with a colon. It cannot be written like goto :label (strange considering goto label: is valid), and instead has to be goto label.
The colon in goto label: also appears to be completely ignored, since you can do this:
goto label:
world.log << "A"
:label
world.log << "B"

You're right, I got my test cases mixed up. This is indeed an issue.
I've deleted the BYOND issue because it's invalid.

authors: FlattestGuitar ike709 wixoaGit

repo: wixoaGit/OpenDream


text:
GUI: display a list of addresses.

We've now merged the listaddresses RPC command (thanks @pythcoiner!). It would be nice to leverage it to display a list of addresses in the GUI.
I don't want to display it just for the sake of it. So first of all we should answer this question: what purpose would it serve?
Once we've answered that, where do we want this list? On the "receive" screen? (Bit awkward if we display change addresses too.) On a new "Addresses" screen? (Seems overkill.) Do we want it displayed by default? What do we want to be part of the list?
Related to #680.

I personally use this feature on sparrow a lot, instead of using the new address button, I directly got to the address list and reserve some address by labelling it:

i just find 2 purposes , lets say i run a business, and every time i create a new invoice i want to assign it a new adress:

I need to can label the address, at the invoice creation time (before my customer pay me)
I need to can find later this 'reserved' address if my customer call me to double check this adress (before payment also)

can i take this one @darosior ?

authors: darosior pythcoiner

repo: wizardsardine/liana


text:
Add CloudFormation Rollback Alarms/Triggers

CloudFormation should automatically roll back when the 5xx alarms fire.

Documentation here https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RollbackConfiguration.html
RollbackConfiguration:
  MonitoringTimeInMinutes: 30
  RollbackTriggers:
  - Arn: !GetAtt MyAlarm.Arn
    Type: AWS::CloudWatch::Alarm
  - Arn: !GetAtt MySecondAlarm.Arn
    Type: AWS::CloudWatch::Alarm

We have some basic alarms defined using a Serverless Framework Plugin https://github.com/wizeline/serverless-fullstack/blob/master/serverless.yaml#L118. You'll need to look at the generated CloudFormation template to discover the correct names of the AWS::CloudWatch::Alarm Resources

repo: wizeline/serverless-fullstack


text:
Adds link to reactor-ui.

Adds link to reactor-ui in readme file.

Im closing this now as the 2.0 of the SideNav component is released

authors: OKNoah wmira

repo: wmira/react-sidenav

license: mit


text:
Composer update takes 15 minutes

Using the php 7.2 image (or 7.3 / 7.4) and noticed that composer update takes forever.
After much digging around I baked a new image for drupal-php with the latest composer version.
Composer version 1.10.10 2020-08-03 11:35:19 | 15 minutes
Composer version 1.10.13 2020-09-09 11:46:34 | 3 minutes
Thought I let you know this. So others should not also spend a lot of time waiting behind their terminals.
Bye!

https://blog.packagist.com/composer-2-0-is-now-available/

composer + mutagen 2.0 should solve this problem

authors: csandanov johandenhollander

repo: wodby/drupal-php


text:
getting values from fifo takes long

Hello, thank you for developing this library. I've been searching extensively online, and your library is the only one I've been able to get working with the esp32c3.
Unfortunately, this specific part of the code, which you can see here:

takes approximately 1 millisecond for both calls to finish. As a result, when I need to collect 40 samples it adds up to about 40 milliseconds.
Is there any way to optimize these calls for faster execution? Your assistance would be greatly appreciated!

Hi, some comments:

are you using I2C or SPI? SPI is much faster.

For both I2C and SPI you can increase the clock speed (setClock() / setSPIClockSpeed();) to a certain extend. I don't know where the limit is for an esp32c3.

Don't use Serial.print() after every getGValuesFromFiFo or getGyrValuesFromFifo or after requesting in pairs. You could store them in an array. Serial.print is quite slow. In your code snippet I can see you measure the time need with the variable f. I assume that you have somewhere in your code something like requestTime = millis() - f; or so. That should be placed before Serial.println("Both commands took: ") otherwise you include the time needed for the Serial.println().

If you have done all that and it is still not fast enough I could in theory an option to read the FIFO data in a burst read and store it  in an array. What holds me back is that this array would counsume 512 Bytes of SRAM. Not a problem for an ESP32 but would be for AVR based Arduino boards or AVR MCUs.

Thank you for your response.
I am currently using I2C and i am unable to switch to SPI given my current hardware configuration.
The maximum clock speed is set to 400 kHz, which is the MPU's specification.
I implemented bulk read of a dataset which results in 11 ms read time for all 42 samples.
(fetching one dataset at a time (consisting of 12 bytes))
This speed is good enough for what I need, so I'm going to keep using this setup.
PS: thanks again for the quick response and the whole library!

Hi, great that it is OK now. I close this issue.

authors: MichaelQun wollewald


text:
Multiple faces

Can I detect multiple faces in the camera? If so, please tell me how?

not supported

Thanks!

Supports

authors: LightQniX wongfei


text:
Detect if docker deamon is to old/new for agent and show error message acordingly

https://github.com/woodpecker-ci/woodpecker/issues/387#issuecomment-997461974
the agent should check that on start in the first place and fail

linking #806

repo: woodpecker-ci/woodpecker


text:
Crash after read bin-file from ipa

Hi. I read bin file from IPA bild
MachO::MachOFile.new("/path/to/Payload/BuildTest.app/BuildTest")
and don't initialize, having exeption -
"MachO::FatBinaryError: Fat binaries must be loaded with MachO::FatFile"
I'm using Ubuntu 14 and ruby 1.9.3/2.2.1

Hi @ablazhey,
I assumed you closed it because you solved your problem - "fat" binaries currently have to be opened with MachO::FatFile and not MachO::MachOFile. This is a design deficiency, and I'll be fixing it soon.

authors: ablazhey woodruffw

repo: woodruffw/ruby-macho


text:
🛑 jjambot-website is down

In d4733b4, jjambot-website (https://jjambot.wookingwoo.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: jjambot-website is back up in 25b3b36 after 14 minutes.

repo: wookingwoo/upptime


text:
Suggestion: add a command line switch to use 0 as exit code even if there is any warning.

Or it would be hard for me to survive https://www.reddit.com/r/programming/comments/25y6yt/use_the_unofficial_bash_strict_mode_unless_you/ when using alex to check my files.

I’ll accept a PR for this.

authors: jiegec wooorm

repo: wooorm/alex


text:
Add authenticate_user_password method to UserManagement module

Description
Adds authenticate_user_password as well as AuthenticationResponse object to handle nested user object.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Codecov Report

Merging #221 (310bd8b) into main (f74c62f) will decrease coverage by 0.05%.
The diff coverage is 94.11%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
- Coverage   97.09%   97.05%   -0.05%
==========================================
  Files          52       53       +1
  Lines        1171     1188      +17
==========================================
+ Hits         1137     1153      +16
- Misses         34       35       +1

Files Changed
Coverage Δ

lib/workos/authentication_response.rb
90.90% <90.90%> (ø)

lib/workos.rb
92.98% <100.00%> (+0.12%)
:arrow_up:

lib/workos/user_management.rb
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: adamzinder codecov-commenter

repo: workos/workos-ruby


text:
IME bug when typing after an inline element in Edge Browser

Description
When I finish typing Chinese after an inline element, the composition characters would not be deleted.
Record

Environment
Mac OS 13
Microsoft Edge 107.0.1418.35

I‘ve opened a PR to solved this issue. #220
@pubuzhixing8

@donaldxdonald Thanks

repo: worktile/slate-angular


text:
Change Site Name & Site URL screen

Related Issue > dashboard-layout #10

The new screen /edit-site uses the same layout and elements from /add-site
Note: Buttons in /edit-site are disabled until user inputs something.
disabled -> active

In my opinion name first and URL second feels more natural.
On Thu, 20 Oct 2016 at 20:51, Pablo Postigo notifications@github.com
wrote:

The new screen /edit-site
https://worona.github.io/worona-dashboard-layout/sites/edit-site-disabled.html
uses the same layout and elements from /add-site
https://worona.github.io/worona-dashboard-layout/sites/add-site.html
Note: Buttons in /edit-site are disabled until user inputs something.
disabled
https://worona.github.io/worona-dashboard-layout/sites/edit-site-disabled.html
-> active
https://worona.github.io/worona-dashboard-layout/sites/edit-site.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/worona/worona-dashboard/issues/60#issuecomment-255194977,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJvuvGhK0gHew378xOcSH971CEW06rcks5q17hOgaJpZM4Kccym
.

authors: Poliuk luisherranz

repo: worona/worona-dashboard


text:
Remove the Non-ThreadSafe Sbt.i

I am not sure this is really needed and just allows users to do bad things, I understand the convenience but I think it just allows badness.
If its going to stick around some runtime checking should be added to make sure its never being used on a different thread.

Not to allocate memory every operation , I have to put "Sbt" Object on static field.
So I implements this interface.
But as you said , I don't expect that users do bad things.
I changed the code.Before access to Sbt.i , thread check logic runs.

authors: andrews-unity wotakuro

repo: wotakuro/StringBuilderTemporary


text:
Warlock 225 tier pieces are not counting toward the set bonus

Describe the bug
Only the 232 items are counting toward the set bonus for Warlocks
The 225 items dont become yellow or "active"
To Reproduce
Steps to reproduce the behavior:

Go to Warlock
Equip any combo of 225 and 232 tier items and see what it shows as equipped

Expected behavior
225 tier items should still count toward the set bonus
Sim Links and Screenshots
[If applicable, add links to your sim settings or screenshots to help explain your problem.]
(https://wowsims.github.io/wotlk/warlock/#eJzjUuBgEmAyYLJg9GCMYCxgamBknMDIuIGR6QAj4wVGxheMjE78HIwKTAaMDowBjAWMKxgZhRikjrE2MbIF5CRWphZxsAhwSG1l5OIXOLGFSeKNrBLb0UNM+3YwcXEKfL3DpMR8C8jkEXixm0nikawSM0iCXeAqkNclC9Sy8wWTxA+gFqDwZ6AMl8Dth0wSc4SUGBm4eAVeP2KSmCKjxAKUZACa9u8JE0Q/v8AboEw7RBvEwFNAbdNkuFgETj9mApL9+0Dkq70gcv8ukI59z5gk+uSU2G5BdDAAJRZsY1Li4mA0YLRgDGCNYF3EdJaJawYTwyjACoQMSNVRxcHBKMAkwVTAmCUGTAEsEsBUpAEKbiYpNqAMkN/FGGxkbGpgYGBkYAwkjE0NDYxMQQLGxoaGpoa6BriBrqkpmAZqQQePGAU4bj5lEpjbzixx+SmTwt9LTC8YWT4wcs9iZOiExq+lwy1GhllMDEqPmTjBAg1pDoIQKREHyVkzQeCkvSVE5IK9YhoYXLM32sykECzBqkXjdPKh0YEaxjScPEIVc0gBkDDb+97BEcL/YZ/AGIQ1Z1WLrHN/WNViz3V9cYEt13F7j4dVIBF7iOwHe5i6w181YvoPvbX/BqK+PrB/E7hDrvX1S3t084YqID1nAQCiKpvH)
For instance in this link you can see a combo of T7 ilvl gear showing the set bonus. 200 head and 213 shoulders
However, the hands and legs which are 225 down count toward the T8 set bonus but the 232 chest does
Desktop (please complete the following information):
Firefox Windows 11

It's just a visual bug.

This is a visual bug with wowhead tooltips, there's nothing we can do about it, see also #2431.

repo: wowsims/wotlk


text:
fix: set NOT_FALSY to ..._not_falsy.

Before they were set to _is_falsy. Now they're correctly set to _not_falsy.

Careful about #15, it's what derailed me trying to break my fork into committable PRs back to main, (though I'm hoping to have some time soon)

repo: wp-graphql/wp-graphql-testcase


text:
Post request to /send-message, it returns the error: n.match is not a function

Description
When sending a post request to /send-message, it returns the error: n.match is not a function, only for the send message, the other functions do not exhibit this behavior, such as send-file-base64.
Environment

**WhatsApp version: 2.2331.x
WA-JS version(s): 2.25.0
Browser: Brave 1.57.53 / Chromium 115.0.5790.170 Alpine Linux
OS: Windows 10/ WSL 2 Ubuntu 20.04
MultiDevice (BETA): yes

Steps to Reproduce

Send a post request to wppconnect-server using the wppconnect-laravel-client

Log Output
error: 2023-08-29T22:06:37.87
8Z n.match is not a function - Error: n.match is not a function
at /usr/src/wpp-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:107:31
at step (/usr/src/wpp-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:49:23)
at Object.next (/usr/src/wpp-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:30:53)
at fulfilled (/usr/src/wpp-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:21:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
JS Stack: TypeError: n.match is not a function
at t.prepareRawMessage (/usr/src/wpp-server/node_modules/@wppconnect/wa-js/dist/wppconnect-wa.js:2:168316)
at async t.sendRawMessage (/usr/src/wpp-server/node_modules/@wppconnect/wa-js/dist/wppconnect-wa.js:2:177395)
at async t.sendTextMessage (/usr/src/wpp-server/node_modules/@wppconnect/wa-js/dist/wppconnect-wa.js:2:178679)
at async pptr:evaluate;%2Fusr%2Fsrc%2Fwpp-server%2Fnode_modules%2F%40wppconnect-team%2Fwppconnect%2Fdist%2Fapi%2Fhelpers%2Fevaluate-and-return.js%3A99%3A56:56:26
Function: function (_a) {
var to = _a.to, content = _a.content, options = _a.options;
return WPP.chat.sendTextMessage(to, content, __assign(__assign({}, options), { waitForAck: true }));
}
Your Code
                      Wppconnect::make($this->url);
                       $response = Wppconnect::to('/api/' . $this->session . '/send-message')->withBody([
                            'phone' => $serializedId,
                            'message' => $messagesToSend,
                            'isGroup' => true
                        ])->withHeaders([
                            'Content-Type' => 'application/json',
                            'Authorization' => 'Bearer ' . $sessionToken->token
                        ])->asJson()->post();

Additional context / Screenshot

An attempt was made to reproduce the problem reported in the current version and the problem was not found.

repo: wppconnect-team/wppconnect-server


text:
Support departments for receipts printing

Rename parameter TableNo to DepartmentNo on IDeviceProtocol.StartReceipt function and impl it on receipt row printing for all protocols.

Leave TableNo in StartReceipt method.
Add DepartmentNo parameter to AddPLU methof.

repo: wqweto/UcsFiscalPrinters


text:
bugfix: fix components validProps

Description
#346
Related Issues

Testing

Checklist

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

Screenshots (if applicable)

Additional Notes

Reviewers

Maintainer Notes

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

closing as invalid

repo: wrappid/core


text:
🛑 Account is down

In 00a8fee, Account (https://account.wrk.com/health) was down:

HTTP code: 502
Response time: 184 ms

Resolved: Account is back up in 4cd8d14.

repo: wrktech/status-page


text:
Make food flex a weekly competition

Change Food Flex to be a weekly competition rather than daily.
Timeline:

Submissions: Monday 10am to Saturday mid day
Voting: Saturday mid day to Sunday 10pm
Results: Sunday 10pm

Changes needed:

Make times work over a week
Allow users to overwrite their submission
Allow users to overwrite their vote
Make voting more intuitive and make it work with https://github.com/wrussell1999/food-flex-discord/issues/19

Timeline is fixed here: https://github.com/wrussell1999/food-flex-discord/commit/acff51d2763e550e42090fbff02bba82e608324b


text:
Implementation of Custom Mapping For Avro Mapper

Purpose
Implement custom mapping for Avro source and sink mapper.
Implement different avro schema generation methods.
Goals
This will allow user to send custom Avro messages to siddhi, and they will be converted to siddhi events for further processing.
Approach
Get the attribute mappings from stream definition and convert the the Avro messages to Siddhi events. Implement methods for retrieving schema from schema registry and schema generation.
User stories
Custom Avro Mapping with known Avro schema for input
Custom Avro Mapping with known Avro schema for output
Avro Mapping with generated schema from stream definition
Avro Mapping schema registry for input
Avro Mapping schema registry for output
Release note

N/A

Documentation

N/A

Automation tests

Unit tests

SinkMapper
Class - 100%
Method - 100%
Line - 77%

SourceMapper
Class - 100%
Method - 86%
Line - 64%

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

As per the checkstyle rules, java files should end with a new line. But in you PR, I could see there are some files are not ends with new line. Whether checkstyle is disabled here? Please check that before merging this.

authors: mohanvive shafanaS


text:
An error occurs when a user with an 'internal/publisher' role trying to publish an API product

Description
Following error occurs when a user with an internal/publisher role trying to publish an API product.

No server logs are generated for the issue.
Steps to Reproduce

Login to publisher portal from a user with 'internal/publisher' role
Navigate to the left menu and select API products
Add details and click on 'Next'
Add resources
Click on 'Create & publish' button

Affected Component
APIM
Version
4.2.0 , 4.3.0-M1
Environment Details (with versions)
Local Environment
Mac OS

Seems there are some additional behaviours noticed while going through the issue

After the issue happens, go to the deployment section and manually create a deployment and you could publish the product
After that, above issue is not happening for any other newly created api products using the wizard
Error again happens if you log out and login


text:
MI - Use Cases/Examples section (Specific REST use cases doc)

Validate/Update content in [1].
[1] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/use-cases/examples/rest_api_examples/specific-rest-use-cases.md

The content is organized into separate 'examples'. To proceed with this document, we need to validate if all the examples are required, and whether the synapse configurations used in each example is accurate.
@isudana - Could you kindly review. Thanks!

Done[1]
[1] https://ei.docs.wso2.com/en/latest/micro-integrator/use-cases/examples/rest_api_examples/introduction-rest-api/


text:
[Admin Portal] Data does not visualize correctly when user switch selections on Date Range Picker

##Description:
Data does not visualize/refresh correctly when user switch options on Date Range Picker in the ACCESS TOKEN ERRORS section under LOG ANALYZER in Admin Portal.
OS, DB, other environment details and versions:
JDK.1.8, macOS
Steps to reproduce:

Access the Admin Portal >> LOG ANALYZER >> ACCESS TOKEN ERRORS section when there is applicable data for last 30 days. See the screen below.

Then switch the Data Range Picker selection to Yesterday or any custom range where applicable data is not available. See the screen below.

Then switch back to previous selection(last 30 days) where data were exist.

Actual Result
User is still getting the same view as in step3 and cannot see the data as in step1.
Expected Result
The page/gadgets should dynamically sync and visualized data when user switch different options.

This feature has been deprecated from APIM 2.2.0 and this is not available in APIM 3.0.0 m35

authors: chaminda tgtshanika


text:
Issue when starting the key manager profile after optimizing in apim 3.0.0

Description:
There is an OSGI bundle deploying issue when starting the key manager profile after optimizing the key manager profile.
Steps to reproduce:

Run the sh profileSetup.sh -Dprofile=api-key-manager to optimize the profile
Change the configs in the deployment.toml with relevant DB connection details
Start the profile using sh wso2server.sh -Dprofile=api-key-manager
Error stacktrace
[2020-02-11 14:22:25,436] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items:
[2020-02-11 14:22:25,438] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.apimgt.impl-6.5.349
[2020-02-11 14:22:25,438] WARN - CarbonServerManager Waiting for required OSGiAxis2Service: org.wso2.carbon.identity.recovery-1.3.15

Affected Product Version:
APIM 3.0.0

fixed with /wso2-support/product-apim/pull/502
Need to do the same fix to public branch as well

No need to fix it in public, since the vanilla pack doesn't have the issue.

authors: Meruja selakap


text:
Missing Image in the Monetization Setup Page APIM 3.1.0

Description:
At[1] in the "Step 1 - Create a subscription policy" there is a broken image:

[1]https://apim.docs.wso2.com/en/latest/learn/api-monetization/monetizing-an-api/#step-1-create-a-subscription-policy

closing the issue since the issue is not reproducing


text:
IS 5.10.0 documentation is not found

Is your suggestion related to a missing or misleading document? Please describe.

Link is missing  for 5.10.0 version in this page
https://is.docs.wso2.com/en/versions/
After clicking clicking the 5.10.0 documentation, it goes to blank page

documentation is not load for 5.10.0 for in the right corner drop down list in here ex: https://is.docs.wso2.com/en/5.11.0/learn/configuring-ws-federation-single-sign-on/#!

Resolved with https://github.com/wso2/docs-is/pull/2235.

authors: anusharp gomathyk


text:
Role creation in sub organization search role name availability in super org

Describe the issue:

Log into console by admin
Create a sub-organization
Switch to the created sub org
Go to roles and try to create a role name admin.
You will get an error saying name already exists  even though the role name does not exist in that org
Reason: https://localhost:9443/scim2/Roles/.search SCIM Roles API is invoked against super org.
Expected: Invoke organization mgt role endpoint against the switched org

Fixed in https://github.com/wso2/identity-apps/pull/3236


text:
Getting a retrieval error when navigating to admin Active sessions inside a sub organization

Describe the issue:

Getting a retrieval error when navigating to admin Active sessions inside a sub-organization
https://github.com/wso2/product-is/assets/40081059/e9107006-0356-46f5-8ea4-2f1a00432151
How to reproduce:

1.Login to the console
2.Create a sub organization
3.Go to the created suborganization
4.Go to users and then select the admin user
5.Navigate to Active session tab
Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Will be tracked with https://github.com/wso2/product-is/issues/18023
Will update once completed

authors: asekawa sadilchamishka


text:
[DOC] It is better if we can add  a brief description(purpose) about the REST API

Suggested Labels
Affected/IS5.9.0
REST API- OAuth2 Authorized Apps API v1
Ref: https://is.docs.wso2.com/en/5.9.0/develop/authorized-apps-rest-api/#/me/listLoggedInUserAuthorizedApps

Move to doc-is repo


text:
Unique ID read only Ldap backend error found in scenario POST/ Search Users SCIM 2

For the SCIM 2  POST/ Search Users scenarios, found and errors in UniqueID read only Ldap logs
Steps to re create:

Get two wso2is packs and change the off set  (1)of server1 and start. Then create users.
Change the server2 toml configuration to unique ID  read only Ldap by configuring  server1 Ldap as unique ID read only Ldap (Primary)

[user_store]
type = "read_only_ldap_unique_id"
connection_url = "ldap://localhost:10390"
connection_name = "uid=admin,ou=system"
connection_password = "admin"
base_dn = "dc=wso2,dc=org"

Start the server2 as well.
Execute  POST/ Search user scenario .
Request:

curl -v -k --user admin:admin --data '{"schemas": ["urn:ietf:params:scim:api:messages:2.0:SearchRequest"],"attributes": ["name.familyName", "userName"],"filter":"userName sw ki and name.familyName co ack","domain":"PRIMARY","startIndex": 1,"count": 10}' --header "Content-Type:application/scim+json"  'https://localhost:9443/scim2/Users/.search'
Response :
{"totalResults":1,"startIndex":1,"itemsPerPage":1,"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"Resources":[{"name":{"familyName":"jackson"},"id":"c8c821ba-1200-495e-a775-79b260e717bd","userName":"kim"}]}
Error log at ldap server logs:
[2020-01-17 13:50:50,576] [] ERROR {org.apache.directory.server.ldap.LdapSession} - ERR_172 Failing on cursor close : ERR_538 RecordManager has been closed

[2020-01-17 13:50:56,800] [] ERROR {org.apache.directory.server.ldap.handlers.request.UnbindRequestHandler} - ERR_169 failed to unbind session properly java.lang.IllegalStateException: ERR_538 RecordManager has been closed
	at jdbm.recman.BaseRecordManager.checkIfClosed(BaseRecordManager.java:607)
	at jdbm.recman.BaseRecordManager.close(BaseRecordManager.java:267)
	at org.apache.directory.server.core.shared.SortedEntryCursor.deleteFile(SortedEntryCursor.java:272)
	at org.apache.directory.server.core.shared.SortedEntryCursor.close(SortedEntryCursor.java:222)
	at org.apache.directory.server.ldap.LdapSession.closeAllPagedSearches(LdapSession.java:568)
	at org.apache.directory.server.ldap.handlers.request.UnbindRequestHandler.handle(UnbindRequestHandler.java:49)
	at org.apache.directory.server.ldap.handlers.request.UnbindRequestHandler.handle(UnbindRequestHandler.java:38)
	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:243)
	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:223)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:997)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:641)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1114)
	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:87)
	at org.apache.mina.core.session.IoEvent.run(IoEvent.java:88)
	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:541)
	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:493)
	at java.lang.Thread.run(Thread.java:748)

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: aaujayasena isharak


text:
Integration with E-commerce platforms

Integration with E-commerce platforms

Shopify
Magneto
Oracle Micros

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: isharak omindu


text:
Wrong OpenID Provider Issuer location when using tenant qualified endpoint

Describe the issue:
In [1] Obtaining the OpenID Provider Issuer location request doesn't work with tenant qualified mode.
[1] https://is.docs.wso2.com/en/latest/learn/openid-connect-discovery/
How to reproduce:

Send the following request
curl -v -k  https://localhost:9443/.well-known/webfinger?resource='acct:admin%40wso2.com@localhost&rel=http://openid.net/specs/connect/1.0/issuer'

response will be
{"subject":"acct:admin@wso2.com@localhost","links":[{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://localhost:9443/oauth2/token"}]}
Here tenant qualified URL should be return
Following tenant qualified request is not working.
curl -v -k  https://localhost:9443/t/wso2.com/.well-known/webfinger?resource='acct:admin%40wso2.com@localhost&rel=http://openid.net/specs/connect/1.0/issuer'
Getting response as 401.
Expected behavior:
Tenant qualified url should be returned for the first request, request 2 should work without 401.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [IS 5.11.0]
OS: [Linux]
Database: [Postgres]
Userstore: [JDBC]

By default the issuer mentioned in the resident idp of the tenant gets returned. By default this config is not tenanted and this can be changed from the resident IDP config of the tenant.
When tenanted url mode is enabled using the following config it will send the issuer based on the request url path.
[tenant_context]
enable_tenant_qualified_urls = true

e.i
When the tenant url mode is enabled since we are calling a tenant path if the url used is the super tenant url then the issuer of the super tenant is received.
The following PR fixes the 401 response when calling tenant path.
https://github.com/wso2/carbon-identity-framework/pull/3161

Due to this https://github.com/wso2/product-is/issues/8528 the webfinger is not expected to be called in a tenant-specific way.

authors: janakamarasena nilasini


text:
Add log level for axis2-description

Partial fix for https://github.com/wso2/product-is/issues/10201.
This PR is to  get rid of the below warn logs.
WARN {org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} - We don't support method overloading. Ignoring [doSingleLogout]
Since there are two overloaded methods in SAMLSSOService component, the below warn logs are getting printed. Need to deprecate on method.   https://github.com/wso2-extensions/identity-inbound-auth-saml/pull/312
With this PR, a new log level is introduced. After we remove one of the overloaded method, we can revert this change back.

Builder is running here https://github.com/wso2/product-is/actions/runs/361384569


text:
Add correlationID tests

This PR add check for Correlation ID header in responses.

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

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

authors: VivekVinushanth jenkins-is-staging


text:
Bump Dependencies #4055383373

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/4055383373

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

authors: CLAassistant jenkins-is-staging


text:
Bump Dependencies #4787882812

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/4787882812

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


text:
Rendering error for BaseForm fields

Actual Behavior
Rendering a field in a BaseForm raise an AttributeError:
>>> f = wtforms.form.BaseForm({'foo': wtforms.StringField()})
>>> f["foo"]()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/eloi/dev/wtforms/wtforms/.tox/py39/lib/python3.9/site-packages/wtforms/fields/core.py", line 198, in __call__
    return self.meta.render_field(self, kwargs)
  File "/home/eloi/dev/wtforms/wtforms/.tox/py39/lib/python3.9/site-packages/wtforms/meta.py", line 64, in render_field
    return field.widget(field, **render_kw)
  File "/home/eloi/dev/wtforms/wtforms/.tox/py39/lib/python3.9/site-packages/wtforms/widgets/core.py", line 174, in __call__
    kwargs["value"] = field._value()
  File "/home/eloi/dev/wtforms/wtforms/.tox/py39/lib/python3.9/site-packages/wtforms/fields/core.py", line 660, in _value
    return str(self.data) if self.data is not None else ""
AttributeError: 'StringField' object has no attribute 'data'

Expected Behavior
>>> f = wtforms.form.BaseForm({'foo':wtforms.StringField()})
>>> f["foo"]()
Markup('<input id="foo" name="foo" type="text" value="">')

Environment

Python version: 3.9.0
wtforms version: 2.3.3 and master

In this snippet, the BaseForm.process method has not been called, and this explains the error. However there is no BaseForm.__call__ method, so that may be another issue.

repo: wtforms/wtforms


text:
Kap kepps updating from 1.0.1 to 2.x

Fairly sure I'm not imagining this.
Case:  I do not want Kap 2.0.  I want to keep using 1.0.1 which does everything I want it to (saves as MP4 without crashing) and has the tear-off control panel that's been removed from 2.x/
But this is the third time I've launched Kap only to find that 2.x has been installed, which I then have to bin and reinstall my 1.0.1 that I keep to close by.
Is there a way of stopping this happening?  I couldn't find any "automatically update me" option inside Kap 1.0.1. I know there's the notification telling me an update is available but I never click it.
Thanks,
Steve

First of all, you're mentioning several separate issues here, some of which are already open (even ones that you've opened yourself and voiced extensively). Remember that you are free to contribute, or fork Kap to create a version that suits you better. This is one of the great advantages of open-source software.
We do not support older versions of Kap and do not advice using them, as they don't have the latest security patches and performance improvements. However, this comment from @albinekb offers a workaround which will stop automatic updates: https://github.com/wulkano/kap/issues/367#issuecomment-365176584

Sure, mentioning other issues as explanation to why I stick with 1.x in case anyone needed to know - I'm not attempting to raise them again.
You assume quite a bit in suggesting I fork Kap or create a different version aren't you?  Who said I was a developer?
I'll look into #367 - thanks.

authors: skllcrn steveharman

repo: wulkano/kap


text:
Add Getting Started section to README

README Update
Please add a getting started section to the README so folks know how to start with this project.

Added Getting Started section in README file.

repo: wvahey/website


text:
Upgrade to ProGuard 6

Message through mail:

Are you planning to roll the plugin over to use Proguard 6?
Currently the log tells me:  [proguard] ProGuard, version 5.2.1

And later today:

I renamed the Proguard installation in my .m2 to use the Proguard 6 jar instead. This works fine.
However, I did get the following issue:  Java 9 attempts to use StringConcatFactory:
I added -dontwarn java.lang.invoke.StringConcatFactory to my Proguard Conf file, and my game now runs fine.
I also had to access some stubbed files from a JDK 8 installation:
<proguardInclude>${basedir}/proguard.conf</proguardInclude>
  <libs>
    <lib>C:/Program Files/Java/jdk1.8.0_144/jre/lib/rt.jar</lib>
    <lib>C:/Program Files/Java/jdk1.8.0_144/jre/lib/jsse.jar</lib>
    <lib>C:/Program Files/Java/jdk1.8.0_144/jre/lib/ext/jfxrt.jar</lib>
    (etc)
  </libs>

It seems this could break something.

I expect you've long known this, but just to let you know: you're plugin is working fine with Java 9. The trick was all in the proguard.conf file - in Java 9, this has obviously changed a lot: I got this working using proguard via the GUI. Then all issues were solved for me.

I get the following error with the current release 2.0.14 which still uses proguard 5.2.1:

Can't process class [someclass.class] (Unsupported class version number [53.0] (maximum 52.0, Java 1.8))

Changing the proguard-maven-plugin dependency to proguard 6.0.3 fixes this.
Thus I'd like to see this updated in the upcoming 2.0.15 release.

Are there any plans to upgrade to proguard 6 ?
At some point this needs to be done anyway, doesn't it?
FYI:
since a few months we are using a locally modified plugin version that utilizes proguard 6.
No problems so far.

@fdrueke Could you please create a pull-request. All maintainers are note really using this plugin anymore and are maintaining it for completely altruistic reasons. -> Thus there will be no proguard 6 unless you or someone else takes care of it. :)

Done

An example of using @simlu 's workaround:
      <plugin>
        <groupId>com.github.wvengen</groupId>
        <artifactId>proguard-maven-plugin</artifactId>
        <version>2.0.14</version>
        <dependencies>
          <dependency>
            <groupId>net.sf.proguard</groupId>
            <artifactId>proguard-base</artifactId>
            <version>6.1.0beta2</version>
          </dependency>
        </dependencies>

Proguard 6.1.0 was just released: https://sourceforge.net/p/proguard/discussion/182455/thread/8718d2cea2/
It would probably make sense to upgrade to this and bump the version to 2.1.0.

Bumped the version first to 6.0.3 via https://github.com/wvengen/proguard-maven-plugin/pull/78. The version is anyway configurable in the plugin, but for now 6.0.3 is a bit safer option than 6.1.0.

6.1.1 has now been available for a bit more than a year.
Bugs (https://sourceforge.net/p/proguard/bugs/) don't list anything new and high priority, so it should be safe to bump the default version to 6.1.1 in this issue.

authors: cmorty fdrueke lasselindqvist r0bnewt0n wvengen

repo: wvengen/proguard-maven-plugin


text:
Sorry for posting this as issue.

Hi, I'm new to swift.
In this project, i just created a subclass for HTTPClient, hit a remote from there and added that client to spine's networkclient. Spine onsuccess closure gives me resources ---> is it correct/process?
And there is no data{[]} in the relationship of the model from my REMOTE API(one to many concept - parent have data and child doesn't have. it has only self links - related and resource link in my case) - Is it possible to get child model's data using those remote links in spine.
Thanks in advance

If Spine returns the resources, you've probably done it correctly. You only need to subclass HTTPClient if you have specific networking requirements. Usually this is not the case.
Yes, you can get the related resources with a Query by using this initialiser: public init(resourceType: T.Type, resourceCollection: ResourceCollection)

You are the man, thanks dude.
Let me working on them.
cheers.

Hi Wvteijlingen,
The word 'Persisting' makes me confuse. Spine manages any DB/file writing ?
Shall I store them in my DB? if I store them in the DB means, how can I get related resources with a Query.
I should convert my DB model into resourcecollection. Please advice me if i'm wrong.
Thanks in advance.

No, Spine doesn’t save anything locally. With “persisting" I mean POSTing or PUTting the resource to the server. The Resource class implements NSCoding so you could store the resources locally if you’d like (as a cache for example). But that is something you’d have to do yourself.

On 28 Sep 2016, at 06:30, sachin-sat notifications@github.com wrote:
Hi Wvteijlingen,
The word 'Persisting' makes me confuse. Spine manages any DB/file writing ?
Shall I store them in my DB? if I store them in the DB means, how can I get related resources with a Query.
I should convert my DB model into resourcecollection. Please advice me if i'm wrong.
Thanks in advance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/wvteijlingen/Spine/issues/110#issuecomment-250069016, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZJN_0g_QlQ3nVMaBZMW3xM8-q4Evjkks5que1WgaJpZM4KEzyE.

Thanks dude.
The reason for asking about storing is that 'as it needs resourcecollection to make query to get related models, storing the resourcecollection in the db/file and converting them into resourcecollection seems not good, right?'
But I can get the related resources using init with PATH while making Query. it needs full URL Path(https://www.example.com/xx/yy/zz). Doesn't consider the URL path(the base URL while spine init).
Is it proper/seems good?
Please advice me since I'm new to swift.
Thanks in advance

You can store the entire ResourceCollection if you want. You can also store just the URL and use that to initialise a new Query. Storing just the URL takes up less storage space.

I have a attribute named 'description' in the JSON. As we know, 'description' is pre-defined name to get object's description. So i should use Field name formatters, right?
my code will look like this
public struct AllCapsKeyFormatter: KeyFormatter {
public func format(field: Field) -> String {
if(field.serializedName == "description")
return "description_property"          //My object's attribute name
else
return field.serializedName.uppercaseString
}
}
is this correct?
will it cause any slowness in run time as it applies for every fields?

You do not need to use a KeyFormatter for this. You can simply define a different serialized named as follows:
override class var fields: [Field] {
        return fieldsFromDictionary([
            "description_property": Attribute(). serializeAs("description")
        ])
    }

seems great. Thanks buddy.

authors: sachin-sat wvteijlingen

repo: wvteijlingen/Spine


text:
Maximum call stack size exceeded

latest chrome, react-tooltip@3.0.7

Should be fixed in 3.0.8

I've updated react-tooltip to v3.0.8, but Google Chrome still reported this error when dragging around some sortable widgets that contains the ReactTooltip component.

Source code:
https://github.com/cheton/cnc/blob/master/src/web/components/widgets/axes/Toolbar.jsx#L48

@cheton I did more tests, but looks I can't reproduce the bug, is it possible because of the cache?

I made a simple example on webpackbin but cannot reproduce this case with this example. Maybe it only happened in a complex scenario.
Example: http://www.webpackbin.com/E1Te-SJIZ

Previously, the bug is caused when re-calculating the position of the tooltip, for example, when the tooltip in the corner and will be out of the screen, and re-calculating will get the tooltip back to the inner. I don't know if your case relate to this kind of things.

When I tried to drag a sortable widget (w/ ReactTooltip component), Chrome browser will soon close the Developer Tool and terminate my browser session, it makes me hard to track what's going wrong. I may turn to use a workaround by disabling ReactTooltip component when the dragenter event is fired.

Now I'm using react-bootstrap tooltip and it works for me. Thank you, anyway.
https://react-bootstrap.github.io/components.html#tooltips

Hmm, okay, just thinking how to reproduce : )
Closing the ticket, will open if someone has the same problem and find the reason

authors: cheton suhaotian wwayne

repo: wwayne/react-tooltip


text:
Lien vers la charte cassé

Depuis cette page, merci.
https://app.wwoof.fr/users/new

On a déjà un bug pour ça. Voir #320

authors: alexxxxxxxxxxxxx gzurbach

repo: wwoof/webapp


text:
TypeError: 'undefined' is not a function (evaluating 'this._input.match(this.rules[rules[i]]')

This error is being thrown when trying to access Handlebars templates externally (via $.ajax()). I am using jQuery 1.7.1, doubtful that the version would be the cause, but adding for documentation purposes. The goal is to organize my templates in a subdirectory (i.e. /core/templates) vs. embedding them into the page for compiling, so that I can leverage jQueryMobile and Handlebars. No luck so far though.

Example:
$.setView = function($view) {
$viewPath = $pathToViews + $view.type + '/view.' + $view.id + '.handlebars';
$.ajax({
url: $viewPath,
cache: true,
success: function($data) {
$source = $data;
$template = Handlebars.compile($source);
$($view.container).html($template);
		$('#' + $activeView.view[0].id).page('destroy').page();
	},
	error: function() {
		alert('Error Completing Handlebars Request');
	}
});

};

Example:
$.setView = function($view) {
$viewPath = $pathToViews + $view.type + '/view.' + $view.id + '.handlebars';
$.ajax({
url: $viewPath,
cache: true,
success: function($data) {
$source = $data;
$template = Handlebars.compile($source);
$($view.container).html($template);
		if($view.type == 'dynamic') {
			$.setActivePageScrollParams($view.id);
		}
		$('#' + $activeView.view[0].id).page('destroy').page();
	},
	error: function() {
		alert('Error Completing Handlebars Request');
	}
});

};

Example:
$.setView = function($view) {
$viewPath = $pathToViews + $view.type + '/view.' + $view.id + '.handlebars';
$.ajax({
url: $viewPath,
cache: true,
success: function($data) {
$source = $data;
$template = Handlebars.compile($source);
// $($view.container).html($template);
		if($view.type == 'dynamic') {
			$.setActivePageScrollParams($view.id);
		}
		$('#' + $activeView.view[0].id).page('destroy').page();
	},
	error: function() {
		alert('Error Completing Handlebars Request');
	}
});

};

Example:
$.setView = function($view) {
$viewPath = $pathToViews + $view.type + '/view.' + $view.id + '.handlebars';
$.ajax({
url: $viewPath,
cache: true,
success: function($data) {
$source = $data;
$template = Handlebars.compile($source);
$($view.container).html($template);
		if($view.type == 'dynamic') {
			$.setActivePageScrollParams($view.id);
		}
		$('#' + $activeView.view[0].id).page('destroy').page();
	},
	error: function() {
		alert('Error Completing Handlebars Request');
	}
});

};

@thehive Can you put something together in jsfiddle.net?

Just realized it would be hard to do a jsfiddle since you're using ajax. However, it would be very helpful if you could put up a runnable example somewhere.

This bit looks wrong: $($view.container).html($template); The template is a function, you have to call it with a context.

@wagenet - thanks for the feedback. I was under the impression that if I compiled the template with Handlebars.compile($data), that I could use that output and stuff it into a container. Sounds like that is not the case. You mention a template context as it pertains to the output of the compile() method, what context are you referring to? Sorry that I am unclear on this, but logically, it seems that I should be able to request the template which might look like:

and then have Handlbars compile that result to an object in the DOM. Somewhere in the compile method though, this rules error is being fired off though. Thanks again for responding.
@OClement I have tinkered with the dataType as well and have seen the same results. Thanks for chiming in :)

Using "text" will yield the same results as "html"
More info about using "script":
Will not compile properly and outputs "pid  token", and obviously throw a Javascript error on "pid" being unidentified (as if trying to eval the string)
After a bit more fiddling, turns out I was being a bit stupid; Having a token placed right at the beginning of the template was the actual issue. Wrapping it in some html element solved the error completely (using dataType: "html"). While there is still a tiny chance of needing a token at the beginning of a template is small, it would be quite easy to wrap them in whatever element without affecting the layout.
So, in real world situation I doubt it should be considered an issue; Maybe just put a quick warning or something
Cheers

Thanks @wagenet - I got it working. Interesting, but working none-the-less. Here is the basics:
1.) I have a single index.html page that requests a template vial $.ajax
2.) I want the template to contain the view and corresponding calls to the controller, rather than muddying up the application.js file with the request to the template (view) and the controller
3.) I had been messing up(?) the order of compile and retrieval of the data I suppose, as well as invoking the template incorrectly (as you pointed out).
4.) The solution was:
application.js still calls the template, but the success callback just pushes the template into the DOM
$.setView = function($view) {
$viewPath = $pathToViews + $view.type + '/view.' + $view.id + '.js';
$.ajax({
url: $viewPath,
cache: true,
dataType: 'html',
success: function($data) {
$($view.container).html($data);
},
error: function() {
alert('Error Completing Handlebars Request');
}
});
};
Here is where things got interesting...
In the template, I have the template HTML, data feed (as I wanted -- static in this case) and compiling, which kicks back the result of the page to the ajax request:

		// Used Triple Slash here for Escaped HTML characters in the General Feed
		{{{general}}}

			{{#survey}}
				{{title}}
			{{/survey}}

{{link.title}}

So far, this seems to be working great. The trick was to get the template to compile itself, which is not what I had been doing previously. Thanks again for your help!

authors: OClement thehive wagenet


text:
Generate private and public key if they do not exist yet, in order to sign JWT

See

src/main/resources/jwt/README.txt
src/main/java/com/wyona/katie/services/JwtService.java#getPrivateKey()

Keys are now located outside of the package volume/config (previously src/main/resources/jwt)

repo: wyona/katie-backend


text:
collinearity file does not have any collinear genes

Hi,
I am trying to compare two snake genomes for identifying collinear genes but currently having some issues with MCScanX. Even I have generated the gff and blast files having exact same genes ids in both files, but the output collinearity file is empty.
############### Parameters ###############
MATCH_SCORE: 50
MATCH_SIZE: 2
GAP_PENALTY: -1
OVERLAP_WINDOW: 3
E_VALUE: 1e-10
MAX GAPS: 15
############### Statistics ###############
Number of collinear genes: 0, Percentage: -nan
Number of all genes: 0
##########################################
Can you please suggest, how can I fix this?
My blast and gff input files, have the following content types:
$ head nn_nk.blast
nn14A57224	nn14A57224	100.000	10294	0	0	1	10294	1	10294	0.0	18565
nn14A57224	nn14A57224	95.876	291	10	2	7740	8028	5213	4923	1.09e-127	464
nn14A57224	nn14A57224	95.876	291	10	2	4923	5213	8028	7740	1.09e-127	464
nn14A57224	nn14A57224	76.336	524	78	13	2697	3184	1623	2136	6.46e-99	369
nn14A57224	nn14A57224	76.336	524	78	13	1623	2136	2697	3184	6.46e-99	369
nn14A57224	nn14A57224	84.615	312	31	7	5818	6120	1833	2136	1.62e-87	331
nn14A57224	nn14A57224	84.615	312	31	7	1833	2136	5818	6120	1.62e-87	331
nn14A57224	nn14A57224	80.872	298	51	4	5819	6111	2879	3175	1.63e-68	268
nn14A57224	nn14A57224	80.872	298	51	4	2879	3175	5819	6111	1.63e-68	268
nn14A57224	nn14A57224	89.130	138	13	2	5677	5813	1997	2133	2.75e-40	174
$ head nn_nk.gff
nn14	nn14A57224	29426	39720
nn14	nn14A57225	41412	54382
nn14	nn14A57226	58913	65705
nn14	nn14A57227	70249	82715
nn14	nn14A57228	83915	85686
nn14	nn14A57229	93024	239710
nn14	nn14A57230	248031	267724
nn14	nn14A57231	267964	268794
nn14	nn14A57232	293986	419804
nn14	nn14A57233	422076	434387

Having the same issue!
Reading BLAST file and pre-processing
Generating BLAST list
0 matches imported (645901 discarded)
0 pairwise comparisons
0 alignments generated
Pairwise collinear blocks written to test/dt.collinearity [2.411 seconds elapsed]
Writing multiple syntenic blocks to HTML files
Done! [0.001 seconds elapsed]

$ head test.bed
mt0     28      2484    9_0
mt0     2411    3570    9_1
mt0     3825    5316    9_2
mt0     4245    6630    9_3
mt0     6633    6940    9_4
mt0     6942    7695    9_5
mt0     7699    8373    9_6
mt0     8482    9022    9_7
mt0     8941    10923   9_8
mt0     9024    12637   9_9

$ head test.blast
18_0    19_2516 93.3    119     8       0       1       119     330     448     8.0e-73 223.4
18_0    19_14053        93.3    119     8       0       1       119     343     461     1.1e-72 223.4
18_0    19_24   87.0    123     16      0       1       123     311     433     5.6e-70 215.7
18_0    19_6034 80.5    123     24      0       1       123     228     350     8.4e-68 207.6
18_0    19_8548 35.3    116     67      3       1       109     250     364     2.5e-14 67.4
18_0    19_2323 35.7    112     64      3       1       105     323     433     5.0e-14 66.6
18_0    19_5878 27.1    129     83      3       2       119     352     480     1.9e-09 53.5
18_0    19_8859 35.6    118     57      6       2       104     379     492     4.8e-09 52.4
18_0    19_23809        34.7    118     58      6       2       104     343     456     2.3e-08 50.4
18_1    19_2518 92.6    703     51      1       159     860     5       707     0.0e+00 1262.7

@holmrenser Does it help if you rename test.bed to test.gff and/or re-arrange the columns so that the name of the gene is second?
mt0         9_0      28      2484

@brkldj It did, took me a while to figure it out. The readme says input files should be in bed format, which has the name of the feature as 4th column (see https://genome.ucsc.edu/FAQ/FAQformat.html#format1).
I'll submit a PR to suggest a fix for the readme.

Thanks that just reallllly hurt my head for a good 45 minutes now...

I couldn't resolve the error as I am getting an empty collinearity file:
$head ACOp.blast
Eg01_t003090    Eg01_t003090    94.44   306     0       0       1       306     1       306     1.00E-170       597.8
Eg01_t003090    Eg01_t003100    93.53   309     2       1       1       306     1       309     2.00E-169       593.6
Eg01_t003090    Mba03_g02610    89.22   306     19      1       1       306     1       305     4.00E-161       565.8
Eg01_t003090    Mba03_g02600    89.22   306     19      1       1       306     1       305     1.00E-160       564.3
Eg01_t003090    Macma4_03_g02690        88.27   307     23      2       1       306     1       306     9.00E-159       558.1
Eg01_t003100    Eg01_t003100    94.5    309     0       0       1       309     1       309     2.00E-172       603.2
Eg01_t003100    Eg01_t003090    94.5    309     1       1       1       309     1       306     1.00E-170       597.8
Eg01_t003100    Mba03_g02610    89.32   309     20      2       1       309     1       305     4.00E-161       565.8
Eg01_t003100    Mba03_g02600    89.32   309     20      2       1       309     1       305     1.00E-160       564.3
Eg01_t003100    Macma4_03_g02690        88.67   309     23      2       1       309     1       306     5.00E-160       562.4
$ACOp.gff
eg1     Eg01_g041540    64809382        64809633
eg1     Eg01_g032580    58000588        58001354
eg1     Eg01_g035120    59901897        59902193
eg1     Eg01_g033980    59008312        59009282
eg1     Eg01_g038560    62452067        62462716
eg1     Eg01_g032630    58039041        58041069
eg1     Eg01_g031580    57283292        57284369
please help me to resolve this.

Hello,
I was having the same issue and none of the above solutions worked for me. My files are in the same format as @farhan-lab 's.
I finally realized that (surprise, surprise) my command was not quite right. Say my files are named dir.blast and dir.gff. Initially I was running MCScanX path/to/dir when I needed to specify the prefix of the .blast and .gff files as well: MCScanX path/to/dir/dir.
I both hope this works for someone and also apologize if it does because now I feel stupid :)

Hi,
Did you ever get this working @farhan-lab ? I have the same issue .. inputs seems to be correct (after a lot of confusion), but still MCscanX isnt running ..

hi. Yes It worked for me. I was giving blast output of my target genes
instead it should be the blast of protein and gff of the whole genome. Let
me know if you want to learn more
Kind regards
Ms. Tikshana Yadav
Project Associate-I
C/O Dr.Mehar Hasan Asif
Bioinformatics Lab (CPMB Division)
CSIR-National Botanical Research Institute
Lucknow-226001
Contact-+91-9993526798
On Mon, Jan 17, 2022 at 10:57 PM siv @.***> wrote:

Hi,
Did you ever get this working @farhan-lab https://github.com/farhan-lab
? I have the same issue .. inputs seems to be correct (after a lot of
confusion), but still MCscanX isnt running ..
—
Reply to this email directly, view it on GitHub
https://github.com/wyp1125/MCScanX/issues/35#issuecomment-1014759883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ3JK4QQWSYSE6C3LZIWB7TUWRGRVANCNFSM4XXZAC5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Hey @holmrenser and @siv-n,
It looks like I am having the same issue as you two did. In particular I am getting the message as @holmrenser that all matches have been discarded. Was only thing you did to get it to work changing the order of the .gff?
My .gff is already as described with gene coming in second place.
I can get the program to run on the test data, but not this data, which is the same in format as far as I have been able to discern, unfortunately.
Any pointers would be appreciated.
./MCScanX aa_at

Reading BLAST file and pre-processing
Generating BLAST list
0 matches imported (554113 discarded)
0 pairwise comparisons
0 alignments generated
Pairwise collinear blocks written to aa_at.collinearity [4.383 seconds elapsed]
Writing multiple syntenic blocks to HTML files
aa1.html
aa10.html
aa11.html
aa12.html
aa13.html
aa14.html
aa15.html
aa16.html
aa17.html
aa18.html
aa2.html
aa3.html
aa4.html
aa5.html
aa6.html
aa7.html
aa8.html
aa9.html
at1.html
at10.html
at11.html
at12.html
at2.html
at3.html
at4.html
at5.html
at6.html
at7.html
at8.html
at9.html
Done! [0.339 seconds elapsed]

head aa_at.gff
aa1     AA0000101       1       11347
aa1     AA0000201       19136   23567
aa1     AA0000301       81296   108098
aa1     AA0000401       157331  158227
aa1     AA0000501       183579  184807
aa1     AA0000601       188429  189500
aa1     AA0000701       191079  194975
aa1     AA0000801       198362  198840
aa1     AA0000901       203576  206430
aa1     AA0001001       213149  214163

head aa_at.blast
AA0000101       XP_021987606    72.73   484     60      6       1       413     1       483     0       628
AA0000101       XP_021987611    72.73   484     60      6       1       413     1       483     0       628
AA0000101       OTG38523        72.73   484     60      6       1       413     78      560     0       627
AA0000101       XP_021994914    72.33   459     71      7       1       409     1       453     0       617
AA0000101       OTG09514        72.33   459     71      7       1       409     83      535     0       617
AA0000101       XP_021994915    72.33   459     70      8       1       409     1       452     0       612
AA0000201       XP_021987587    94.33   353     18      2       6       358     5       355     0       671
AA0000201       XP_024983527    89.52   353     35      2       6       358     5       355     0       644
AA0000201       XP_023761470    84.92   358     52      2       1       358     1       356     0       624
AA0000201       XP_024985842    82.78   360     57      3       1       358     1       357     0       600

It is important to note that although the github says for the gff file that it should be 'ch#\tstart\tstop\tgeneID', this is incorrect. The geneID needs to be the second column.
Also, the geneID's in the gff file need to EXACTLY match the geneID's in the blast algorithm. Any difference will result in no matches.
I had this same issue. What solved mine (after changing the order of the geneID) was making sure the gff file was named '.gff' not '.gff3'
Hope this saves a headache.

Thanks @brysonab

authors: AFrolicOfFerns Botantisty Tikshana bmansfeld brkldj brysonab farhan-lab holmrenser siv-n


text:
缓存方案：非更新文章不拉取

[ ] 文章如果更新了就拉取，反之不拉取

具体：每次拉取文章都拉去更新日期，如果每次拉取都比对，如果拉取的文章，这个文章在本地也有，就进行比对更新日期，如果一直就跳过，如果更新日期不一样则进行更新。
不能执行yuque-hexo-lyrics clean命令。

先来给大佬star了，期待2.0的到来

72462568e1e9854d518f8bff78448ce1d8db07ac


text:
自定义表格复选框后，会导致checkbox-change和checkbox-all事件失效

可复现的链接：
https://jsrun.net/aYzKp/edit
问题描述与截图：
自定义表格复选框后，会导致checkbox-change和checkbox-all事件失效
期望的结果：
No response
操作系统：
windows 10
浏览器版本：
101.0.4951.54
vue 版本：
3.2.33
vxe-table 版本：
4.2.3

我想用 el-checkbox 自定义表格复选框，也遇到了同样的问题。可能需要仿照源码自己触发事件 https://github.com/x-extends/vxe-table/blob/ba9bc7c1f8c1747fb6082328a3e5109c7b5c6b09/packages/table/src/table.ts#L5785。不确定渲染器能不能有所帮助。最后我放弃了自定义。
如果可以，还是希望文档这里 https://vxetable.cn/#/table/advanced/customCheckbox 可以说明一下如何不让 checkbox-change 和 checkbox-all 事件失效。
感谢各位贡献者的付出。

请问你解决了吗

我这边使用是正常的
    function toggleAllCheckbox() {
      tableRef.value?.toggleAllCheckboxRow()
    }

    function toggleCheckbox(row) {
      tableRef.value?.toggleCheckboxRow(row)
    }

    return () => (
      <vxe-column
        type="checkbox"
        class={ns.b('checkbox')}
        width={50}
        fixed={props.column.fixed || 'left'}
        align={props.column.align || 'center'}
        resizable={false}
      >
        {{
          header: ({ checked, indeterminate }) => (
            <el-checkbox
              modelValue={checked}
              indeterminate={indeterminate}
              onChange={toggleAllCheckbox}
            ></el-checkbox>
          ),
          checkbox: ({ row, checked, indeterminate }) => (
            <el-checkbox
              modelValue={checked}
              onChange={() => toggleCheckbox(row)}
            ></el-checkbox>
          ),
        }}
      </vxe-column>
    )

authors: ModyQyW gdisk suImagine

repo: x-extends/vxe-table


text:
[MEDIUM] Missing validation in maxTokens can lead to some auction NFTs getting stuck in the contract when winner calls claim() in Auctions contract

Summary
The data type of maxTokens is uint256. When an auction is started using Auctions.startAuctionERC721() auction.tokenCount is set as auction.tokenCount = uint8(tokenIds.length);. Now, the tokenIds.length should be <= maxTokens. The default value of maxTokens is set as 50. But the owner can update the maxTokens. If the owner sets a value > 255 it'll be stored perfectly in maxTokens as maxTokens is of data type uint256. Now, when someone start an Auction with value > 255 the call doesn't revert. But the value of auction.tokenCount overflows.
Impact
As the auction.tokenCount overflows it is set to a value between 0 - 255. But _validateAuctionTokensERC721() locks all the NFTs. Now when the winner will claim() their NFTs only auction.tokenCount is taken into account. Rest of the NFTs will remain in the locked state.
Reproduction Steps

Owner sets maxTokens = 257
Alice startAuction() with tokenIds.length = 257. All the 257 tokenIds are locked.
Auction object auction.tokenCount overflows and get set as 1.
Auction ends and Alice claims(). Alice only receives 1 NFT. Rest of the 256 NFTs are still locked and Nobody can auction on them.

POC
Add the following test case in Auctions.t.sol
contract AuctionsTest is Test {
    Auctions public auctions;
    BidTicket public bidTicket;
    Mock721 public mock721;
    Mock1155 public mock1155;

    address public theBarn;
    address public theFarmer;
    address public user1;
    address public user2;

    uint256 public tokenCount = 10;
    uint256[] public tokenIds = [0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 ,21 ,22 ,23 ,24 ,25 ,26 ,27 ,28 ,29 ,30 ,31 ,32 ,33 ,34 ,35 ,36 ,37 ,38 ,39 ,40 ,41 ,42 ,43 ,44 ,45 ,46 ,47 ,48 ,49 ,50 ,51 ,52 ,53 ,54 ,55 ,56 ,57 ,58 ,59 ,60 ,61 ,62 ,63 ,64 ,65 ,66 ,67 ,68 ,69 ,70 ,71 ,72 ,73 ,74 ,75 ,76 ,77 ,78 ,79 ,80 ,81 ,82 ,83 ,84 ,85 ,86 ,87 ,88 ,89 ,90 ,91 ,92 ,93 ,94 ,95 ,96 ,97 ,98 ,99 ,100 ,101 ,102 ,103 ,104 ,105 ,106 ,107 ,108 ,109 ,110 ,111 ,112 ,113 ,114 ,115 ,116 ,117 ,118 ,119 ,120 ,121 ,122 ,123 ,124 ,125 ,126 ,127 ,128 ,129 ,130 ,131 ,132 ,133 ,134 ,135 ,136 ,137 ,138 ,139 ,140 ,141 ,142 ,143 ,144 ,145 ,146 ,147 ,148 ,149 ,150 ,151 ,152 ,153 ,154 ,155 ,156 ,157 ,158 ,159 ,160 ,161 ,162 ,163 ,164 ,165 ,166 ,167 ,168 ,169 ,170 ,171 ,172 ,173 ,174 ,175 ,176 ,177 ,178 ,179 ,180 ,181 ,182 ,183 ,184 ,185 ,186 ,187 ,188 ,189 ,190 ,191 ,192 ,193 ,194 ,195 ,196 ,197 ,198 ,199 ,200 ,201 ,202 ,203 ,204 ,205 ,206 ,207 ,208 ,209 ,210 ,211 ,212 ,213 ,214 ,215 ,216 ,217 ,218 ,219 ,220 ,221 ,222 ,223 ,224 ,225 ,226 ,227 ,228 ,229 ,230 ,231 ,232 ,233 ,234 ,235 ,236 ,237 ,238 ,239 ,240 ,241 ,242 ,243 ,244 ,245 ,246 ,247 ,248 ,249 ,250 ,251 ,252 ,253 ,254 ,255 ,256];
    uint256[] public tokenIds2 = [0,1,2];
    uint256[] public tokenIdsOther = [3, 4, 5];
    uint256[] public tokenIdAmounts = [10, 10, 10];
    uint256[] public amounts = [1, 1, 1];

    receive() external payable {}
    fallback() external payable {}

    function setUp() public {
        theBarn = vm.addr(1);
        theFarmer = vm.addr(123);

        bidTicket = new BidTicket(address(this));
        auctions = new Auctions(address(this), theBarn, theFarmer, address(bidTicket));
        mock721 = new Mock721();
        mock1155 = new Mock1155();

        user1 = vm.addr(2);
        user2 = vm.addr(3);

        bidTicket.setAuctionsContract(address(auctions));
        bidTicket.mint(user1, 1, 100);
        bidTicket.mint(user2, 1, 100);

        vm.deal(user1, 1 ether);
        vm.deal(user2, 1 ether);

        // mock721.mint(theBarn, tokenCount);
        mock721.mint(theBarn, 257);
        mock1155.mintBatch(theBarn, tokenIds2, tokenIdAmounts, "");

        vm.startPrank(theBarn);
        mock721.setApprovalForAll(address(auctions), true);
        mock1155.setApprovalForAll(address(auctions), true);
        vm.stopPrank();
    }

    //
    // startAuctionERC721()
    //

    function test_startAuctionERC721_Success_Max_Token_Vulnerability() public {
        auctions.setMaxTokens(257);
        vm.startPrank(user1);

        uint256 startBalance = user1.balance;
        assertEq(bidTicket.balanceOf(user1, 1), 100);

        auctions.startAuctionERC721{value: 0.05 ether}(0.05 ether, address(mock721), tokenIds);
        // assertEq(user1.balance, startBalance - 0.05 ether, "Balance should decrease by 0.05 ether");
        // assertEq(auctions.nextAuctionId(), 2, "nextAuctionId should be incremented");
        // assertEq(bidTicket.balanceOf(user1, 1), 99);

        (, address tokenAddress,,uint8 tokenCount,, address highestBidder, uint256 highestBid,,) = auctions.auctions(1);

        console.log("Total NFTS locked is 257 while auction.tokenCount", tokenCount);

        skip(60 * 60 * 24 * 7 + 1);
        auctions.claim(1);
        console.log("The winner was supposed to receive 257 NFTs but the no. of NFTs received: ", mock721.balanceOf(user1));

        // assertEq(tokenAddress, address(mock721));
        // assertEq(highestBidder, user1);
        // assertEq(highestBid, 0.05 ether);
    }

## Output

  Total NFTS locked is 257 while auction.tokenCount 1
  The winner was supposed to receive 257 NFTs but the no. of NFTs received:  1

Mitigation
If Auction.tokenCount can be max(uint8) then the data type of maxTokens should also be uint8 to maintain uniformity.

Thanks for being so thorough. Above was intentional gas optimization. Perhaps it would be minorly helpful to make our setters more idiot proof, but we have no intention of going beyond 50x, and are more likely to reduce over time rather than increase. Good eye, though.

authors: cpp-phoenix netdragonx


text:
add-pt-pt-language:

Added Portuguese to the list of languages

@all-contributors please add @jds1g14 for translation

repo: xEdziu/KeepMyPassword-Desktop


text:
Gui

Where is the gui?

Hydrazine doesn't have a GUI. It's a command line application. You can read how to use it here.

repo: xTACTIXzZ/Hydrazine


text:
是否可以增加一个事件，每次发调整后更新一下数据，可以嵌套到表单里使用

增加一个v-model设置默认值，增加change事件

最新版本已经支持

authors: phpjishu xaboy

repo: xaboy/form-create-designer