Plyr + React

Hi folks! The player looks great - thank you for your work on this.
I am not sure if this is appropriate to create an issue for (so feel free to close it) but I was curious if anyone has made this work in the React world and/or if there are things/gotchas to be aware of while integrating? I am trying to assess if this would work in an existing project which currently just uses native HTML5 players.

This works fine with React. I created a Plyr component and passed in source and options as props. I used css and file loaders along with react-css-modules to make the styles available.
Things to keep in mind: plyr.setup() returns an array, even if you only passed in one HTMLElement.

I have a similar problem with Riotjs. My guess would be the Virtual Dom library goes against the current architecture which mutate the elements to add plyr instance and its events.
I feel it would be better to emit the events from the plyr instance itself so i could listen to it in javascript.
var myPlyr = Plyr.setup();
myPlyr.on('canPlay',...);
myPlyr.on('seeking',...);
etc.
In riotJs the dom Element gets modified back to previous without Plyr states most likely on the dom object comparison when its time to make the diff/match/patch.
going back to pure youtube api, Nice player otherwise. Thanks for the great work.

@drwlrsn Possible to share snippet/code for your component? Curious to see how you dealt or bypassed React VDOM.

Would it be better for you guys if setup() returned the HTMLElement (single or array if multiple) that Plyr was setup on, for you? Totally happy to do that.

@SamPotts I don't really have any strong feelings either way.
@oyeanuj something like this:
import React, { PropTypes } from 'react';
import ReactDOM from 'react-dom';
import plyr from 'plyr';
import styles from 'plyr/dist/plyr.css';

class PlyrComponent extends React.Component {
  static propTypes = {
    'options': PropTypes.object,  // this is an options object from the docs
    'source': PropTypes.object  // this is a source object from the docs
  }

  componentDidMount () {
    this.player = plyr.setup(ReactDOM.findDOMNode(this), this.props.options)[0];
    this.player.source(this.props.source);
  }

  componentWillUnmount () {
    this.player.destroy();
  }

  render () {
    return (

    );
  }
}

export default PlyrComponent;

So v1.8.0 has changes that mean setup now returns the elements (it's still an array), rather than the plyr object itself. Also some other refactoring which improves how the setup works but only if multiple media elements are found inside the HTMLElement, NodeList or text selector passed to the method.
Let me know if this helps.

@drwlrsn How did you go about subscribing to plyr events?  For example I need to call a function any time a video is player.

Hey @magicspon you can use your component's methods as listeners. Here is a quick example: http://jsbin.com/qayaxokezu/1/edit?js,console,output

@drwlrsn amazing, thank you very much good sir...

@drwlrsn What did you add to your webpack config to expose document which is required by the plyr module?

My
this.player = plyr.setup('.js-plyr', this.props.options)[0];
returns undefined (I've tried it with many different selectors and if I remove the [0] it just returns false. I don't see anything about that in the setup what changed.
Either way thank you @drwlrsn !

@AndrewStobie can you share your PlyrComponent file?

@andrewstobie have you managed to fix the issue?

Yes sorry I finished this it was a rather dumb issue with something unrelated I honestly forget the fix thank you

I've avoided using findDOMNode due to: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md
If anyone else stumbles here attempting to implement plyr in their React App, here is my dead simple implementation:
import React, { Component } from 'react';
import plyr from 'plyr';

export default class VideoBlock extends Component {

  componentDidMount() {
    const options = {};
    this.player = plyr.setup('#plyr-player', options);
  }
  componentWillUnmount() {
    if (this.player.length > 0) {
      for (const playerEl of this.player) {
        playerEl.destroy();
      }
    }
  }
  render() {
    const { videoUrl, videoProvider } = this.props;
    return (

    );
  }
}

I'm Still facing same problem i initialize player in my react component
`import React, { Fragment } from 'react';
import { Helmet } from 'react-helmet';
import Plyr from 'plyr';
class Player extends React.Component {
componentDidMount() {
const { videoid } = this.props;
const options = {
captions: false,
controls: [
'play',
'progress',
'current-time',
'duration',
'mute',
'volume',
'pip',
'airplay',
'fullscreen'
]
};
this.player = new Plyr('#vimeoPlayer', {
  /* options */
  options
});

// this.player = plyr.setup('#vimeoPlayer', options);

this.player.source = {
  type: 'video',
  sources: [{ src: videoid, provider: 'vimeo' }]
};

}
componentWillUnmount() {
if (this.player) {
this.player[0].pause();
setTimeout(() => {
this.player[0].destroy();
}, 300);
}
}
render() {
// const { videoid } = this.props;
return (
  <Fragment>
    <Helmet>
      <link rel="stylesheet" href="https://cdn.plyr.io/3.4.4/plyr.css" />
    </Helmet>

    {/*
 */}

  </Fragment>
);

}
}
export default Player;`
I want to load video dynamically from props but no way found. Not be able to set src via Setter or not be able to unmount current instance. sampotts can you please help me. I don't know what i'm missing or doing wrong

Hi @AllanPooley
I've followed your implementation and it works great :) thanks
I'm still wondering how to handle Plyr events though.
How have you done this?
Cheers!

@AllanPooley does the options work for you with your implementation?
For the player settings, I can only see the speed even if I'm putting more things in the options.

Thank you for your answer Allan.
Yes, it looks the same for me.
But looking at the documentation, I think it should show more options by default, right?

I haven't been able to add more options yet... will keep trying!

@jvlobo
Hi
Here is my example .
The options work for me.
import React from 'react'
import PropTypes from 'prop-types'
import plyr from 'plyr'
import 'plyr/dist/plyr.css'

class PlyrComponent extends React.Component {
  componentDidMount() {
    this.player = new plyr('.js-plyr', this.props.options)
    this.player.source = this.props.sources
  }

  componentWillUnmount() {
    this.player.destroy()
  }

  render() {
    return (
      <video className='js-plyr plyr'>
      </video>
    )
  }
}

PlyrComponent.defaultProps = {
  options: {
    controls: [
      'rewind',
      'play',
      'fast-forward',
      'progress',
      'current-time',
      'duration',
      'mute',
      'volume',
      'settings',
      'fullscreen',
    ],
    i18n: {
      restart: 'Restart',
      rewind: 'Rewind {seektime}s',
      play: 'Play',
      pause: 'Pause',
      fastForward: 'Forward {seektime}s',
      seek: 'Seek',
      seekLabel: '{currentTime} of {duration}',
      played: 'Played',
      buffered: 'Buffered',
      currentTime: 'Current time',
      duration: 'Duration',
      volume: 'Volume',
      mute: 'Mute',
      unmute: 'Unmute',
      enableCaptions: 'Enable captions',
      disableCaptions: 'Disable captions',
      download: 'Download',
      enterFullscreen: 'Enter fullscreen',
      exitFullscreen: 'Exit fullscreen',
      frameTitle: 'Player for {title}',
      captions: 'Captions',
      settings: 'Settings',
      menuBack: 'Go back to previous menu',
      speed: 'Speed',
      normal: 'Normal',
      quality: 'Quality',
      loop: 'Loop',
    },
  },
  sources: {
    type: 'video',
    sources: [
      {
        src: '/path/to/movie.mp4',
        type: 'video/mp4',
        size: 720,
      },
      {
        src: '/path/to/movie.webm',
        type: 'video/webm',
        size: 1080,
      },
    ],
  }
}

PlyrComponent.propTypes = {
  options: PropTypes.object,
  sources: PropTypes.object,
  source: PropTypes.func,
  destroy: PropTypes.func
}

export default PlyrComponent

Hi @n0umankhan did you find any fix?
I am having some issues regarding unmounting player from memory.
And @jvlobo how can I pass audio urls dynamically in your example. Pardon me I am a beginner.
Also plyr not unloading properly
import React, { useEffect } from "react";
import PropTypes from "prop-types";
import plyr from "plyr";
import "plyr/dist/plyr.css";

const Plyr = (props) => {
  useEffect(() => {
    const player = new plyr(".js-plyr", props.options);
    const sources = {
      type: "audio",
      sources: [
        {
          src: props.audio,
          type: "audio/mp3",
          // size: 720,
        },
        {
          src: "/path/to/movie.webm",
          type: "video/webm",
          size: 1080,
        },
      ],
    };
    player.source = sources;
    return () => {
      player.destroy();
    };
  }, []);
  return <audio className="js-plyr plyr"></audio>;
};

Plyr.defaultProps = {
  options: {
    controls: [
      "rewind",
      "play",
      "fast-forward",
      "progress",
      "current-time",
      "duration",
      "mute",
      "volume",
      "settings",
      "fullscreen",
    ],
    i18n: {
      restart: "Restart",
      rewind: "Rewind {seektime}s",
      play: "Play",
      pause: "Pause",
      fastForward: "Forward {seektime}s",
      seek: "Seek",
      seekLabel: "{currentTime} of {duration}",
      played: "Played",
      buffered: "Buffered",
      currentTime: "Current time",
      duration: "Duration",
      volume: "Volume",
      mute: "Mute",
      unmute: "Unmute",
      enableCaptions: "Enable captions",
      disableCaptions: "Disable captions",
      download: "Download",
      enterFullscreen: "Enter fullscreen",
      exitFullscreen: "Exit fullscreen",
      frameTitle: "Player for {title}",
      captions: "Captions",
      settings: "Settings",
      menuBack: "Go back to previous menu",
      speed: "Speed",
      normal: "Normal",
      quality: "Quality",
      loop: "Loop",
    },
  },
};

Plyr.propTypes = {
  options: PropTypes.object,
  sources: PropTypes.object,
  source: PropTypes.func,
  destroy: PropTypes.func,
};

export default Plyr;

`
Using the code above I can play all audio files from first API call but then after fetching results the previously loaded audio is not unloading themselves. Same audio set is playing for next page in pagination.
`


recognize background music when there is speech and noise

Is it possible to adjust fingerprinting configurations in order to improve detection when the music is in the background and there is dialogue/noise simultaneously?
I have tested such scenarios (fingerprinting audio files), and noticed that detection drops significantly. Any suggestions?

This is how products like Shazam exist as products, it's not a easy thing to do. I'd look into the peak dection algorithm here. That's where you'll want to mess around


Any support for Lazarus, please?

Subject. I want to use it in CudaText app.

Does the author support lazarus plan

Does the author support lazarus plan

We've been getting a lot of requests to add support for Lazarus, and we're interested. However, it's not on our roadmap in the short term, there are other demands up front.


x/net/http2/h2c: support closure of all connections and graceful shutdown

Very happy to see h2c supported: https://github.com/golang/net/commit/c4299a1a0d8524c11563db160fbf9bddbceadb21
However, there is no way to enable graceful shutdown, or even close all h2c connections. We should support this.
You could use http2.ConfigureServer to configure a http2 server's graceful shutdown to be called when the http server is shutdown but the http server's shutdown method will not wait for the http2 connections to close because they have been hijacked.
I think it'd be simplest if we added a Shutdown and Close method to *http2.Server analogous to *http.Server's methods.

Is there a workaround possible for this? As far as I can see it's completely impossible to do at present, as the methods that need to be invoked to gracefully shutdown a connection (eg. serverConn.startGracefulShutdown) are unexported.

Is there a workaround possible for this? As far as I can see it's completely impossible to do at present, as the methods that need to be invoked to gracefully shutdown a connection (eg. serverConn.startGracefulShutdown) are unexported. cc. @bradfitz

That does not work as the Shutdown itself doesn't wait for the h2c connections.
See https://github.com/golang/go/blob/86ce1cb060446bcee2454080c7f55e754dbf7f82/src/net/http/server.go#L2631
It starts the graceful shutdown of h2c connections in a new goroutine but only wait for the unhijacked connections.

Sorry, h2c is super low on my priority list. I don't have time to investigate this enough to be helpful here.

Would the Go team be open to CLs that address this? (I see that there's a very old CL open, but it doesn't seem to have been reviewed.) h2c is particularly popular in the gRPC ecosystem, and it'd be nice for gRPC implementations built on net/http to support graceful shutdown. We've had a few Connect users complain about this 😢
Is @neild the right person to take a look at x/net/http and net/http issues?

Hi, how's this issue going so far?
will we take this problem into go stdlib? refer https://github.com/golang/go/issues/67810


modify annotations of data_format of average_pooling2d in file python/layers/pooling.py

Modified wrong annotation of data_format in average_pooling2d in file python/layers/pooling.py
from (batch, height, channels, width) to (batch, height, width, channels) when 'channels_last'

Can one of the admins verify this patch?

I signed it!
On Tue, Mar 21, 2017 at 8:02 PM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/8580#issuecomment-288057605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQxIANTW99YFpjPm26-2TeTbC1f8TJ6rks5rn7xvgaJpZM4MjssR
.

Jenkins, test this please.


Add Python Primer doc (2 themes)

Yes, I realize it's not ideal, but we needed these pages on GitHub for our current user studies, and it's blocking adding a link to the primer from the stand-alone version. Agree we can optimize later.

Ack.
There also seems to be an issue with travis. I'll look into it.

@rabidbit could you please merge master into this branch? I think that will fix the travis issues.


Update sbt-mima-plugin to 0.6.3

Updates com.typesafe:sbt-mima-plugin from 0.6.1 to 0.6.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #781 into develop will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #781      +/-   ##
===========================================
+ Coverage    89.26%   89.34%   +0.07%
===========================================
  Files          115      115
  Lines         9011     9011
  Branches       345      345
===========================================
+ Hits          8044     8051       +7
+ Misses         967      960       -7

Impacted Files
Coverage Δ

.../main/scala/com/twitter/algebird/Applicative.scala
55.88% <0%> (-5.89%)
:arrow_down:

...main/scala/com/twitter/algebird/monad/Reader.scala
50% <0%> (-5.56%)
:arrow_down:

.../main/scala/com/twitter/algebird/Successible.scala
87.5% <0%> (-4.17%)
:arrow_down:

.../main/scala/com/twitter/algebird/Approximate.scala
88.7% <0%> (-1.62%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
93.8% <0%> (ø)
:arrow_up:

...src/main/scala/com/twitter/algebird/Interval.scala
82.6% <0%> (+8.69%)
:arrow_up:

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
100% <0%> (+9.09%)
:arrow_up:

Continue to review full report at Codecov.

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


The best way to remove autocomplete route?

Hello,
What is the best way to remove/disable the default "autocomplete" route?
Thank you.

Currently, it is only possible to overwrite the standard autocomplete route by passing a custom autocomplete route to the constructor of ZF\Console\Application. The same issue exists for the standard help and version routes. Furthermore, it is not possible to remove a route from ZF\Console\RouteCollection once it was added.
It would need some refactoring to make it possible to turn of these standard routes.

Fixed with #18.


buddhabrot

The project doesn't start.
http://scratch.mit.edu/projects/1757713/
http://phosphorus.github.io/#1757713
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36

No 'Access-Control-Allow-Origin' header is present on the requested resource for this project.

That's because it's a Scratch 1.4 project

Right.


ci: docker entrypoint with port

Codecov Report

Merging #35 (84af4fc) into master (6e05fd1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          372       372
=========================================
  Hits           372       372

Continue to review full report at Codecov.

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


Sak 41122 - Couple of jsp pages were missing the jquery

This replaces the attempt in #6668.


Validate that all (public) classes, functions etc. are listed in the docs

The Doxygen -> Sphinx bridge breathe comes with a script breathe-apidoc to generate .rst files for all classes, structs, namespaces and files. This is useful to generate an API overview, but these files are then plainly added in alphabetical order, like:
.. toctree::
   :glob:

   class/*

Sean's approach is to use Sphinx directives for each unit, like:
.. doxygenfunction:: OpenColorIO::Baker::Create

https://github.com/scoopxyz/OpenColorIO-Docs/blob/master/docs/api/c_baker.rst
Functions etc. need to be added one by one, but with the advantage of being able to structure them in a meaningful way (including tabs for C++ and Python).
It's easy to miss something and it can get easily out of sync as the code changes, therefore some kind of checker script would be useful to validate that everything was added and is up-to-date. Some ideas:

Own parser / regex for code and docs (brittle), compare if the symmetric difference of both sets is empty
Hook into Sphinx/docutils to get access to its internal data structures / AST to get both sets
Subclass/replace the doxygen directives to get the docs set

Hey @Simran-B thanks for making this. I too am questioning the ability to keep on top of manually referenced API...
Doxygen has the concept of "groups" (https://www.doxygen.nl/manual/grouping.html) but I don't know if this carries over into Breathe...

@scoopxyz It does. I use it extensively in the OIIO docs.

Ah, good to know

So it is possible to declaratively group e.g. class methods in code instead of referencing individual members in the docs. Good to know indeed. But how would the tabs for C++ and Python then be done? Is it possible to combine with grouping in code, or would it mean to lose tabs and have separate areas in the docs for both APIs?


Hosted Binary

Hi...
I would like to use this library in another open source maven or maybe gradle project. Is the binary of this project hosted somewhere, so I can simply use it as a dependancy?

Hi, No, the binary is not currently hosted anywhere. I've not used this project in production. Mileage may vary. Please feel free to maintain a binary build if you find it useful.


Remove deprecation warnings from scikit-learn

The example in 'Using scikit-learn with RDKit' causes deprecation
warnings. The modification reshapes the fingerprint vector into an
array.

I close this pull request and submit a new one with your solution. That PR will also contain changes to the print statements to work with Python 2 and 3.


Add ST_LineMerge

Is this PR related to a proposed Issue?
Implement complete SQL/MM and PostGIS functions in GeoSparkSQL
What changes were proposed in this PR?
Added ST_LineMerge, a function that works on MultiLineStrings joining the component forming a single LineString if they match the appropriate condition.
How was this patch tested?
Unit Testing and Jar tested in Databricks environment
Did this PR include necessary documentation updates?
Yes.

@imdany Can you please fix the conflicting files?
I just merged a couple of pending PRs. So this PR seems to be conflicting with others.
Thank you very much!

@imdany Thanks for your contribution!


262 categorical features support for tf df

should fix #262

is this ready?

seems we fixed with a diff one right? Should I close?

Ah. fixed with https://github.com/parrt/dtreeviz/pull/265


[UI] Toolbar move to titlebar

I updated to recently insiders release, and find search bar & jump button move to titlebar. As below:

The toolbar still in tabbar, and it extrusion the tabbar, meanwhile titlbar has more space to place toolbar, so I suggest move toolbar to titlebar also.

I would consider this a duplicate of https://github.com/microsoft/vscode/issues/41309


add Web Browser as a Player entity

The native Media browser has the ability to play media files on the actual device (iPad,iPhone,PC etc) that Home Assistant is being displayed on as can be seen in this screenshot:

It would be great if MA was also able to use the Web browser option

Good suggestion.
TIP: You can already do that with this: https://github.com/thomasloven/hass-browser_mod
It has the option to use the browser as media_player

Moved to discussions, raise your votes!


Update go builder image to use 1.15.2 and go build flags

Adding -w to -ldflags and bumping go toolchain version decreases resulting binaries sizes:

stress-tester - from 8.2M to 6.0M
k8s-api-test - from 29.4M to 22.9M

What does the -w flag do?

What does the -w flag do?

It's in the comment ;)
# * -w to not include debug info

Basically you won't get stack traces when the binary would panic.


dev mode when serving

I'm not sure whether it is a bug or a feature... but "watching" or "serving" sets "dev" to true, regardless of any declaration of "dev" in _config.yml.
It seems to me that a more reasonable behavior would be that of respecting any declaration of "dev" in _config.yml and automatically set "dev" to true when serving or watching only when there is no "dev" key defined in _config.yml.
The more general issue I'm facing is being able to test a site with the minified javascripts and css before deploying it.

That is the intended behavior, but I like your "more reasonable" approach.  The problem is the way Jekyll regenerates the site.  If you make a change to a css file included in a bundle, the new bundle name and contents will not be (currently) generated and placed in the _site folder.

This behaviour makes the plugin useless (without source code modification), in an environment where jekyll runs as hosted application,.serving the files. In my case that's redhat's app hosting platform: openshift.
I understand the conflict with jekylls site regeneration, but i think the configuration option shouldn't be overwritten. In that way its in the hand of the user to apply the correct config for his environment and needs. For me it works by deleting the relevant lines of code, but i would prefer configuration over src code modification.


Release a version with Scala 2.13 Support

Please release a version with Scala 2.13 support.

@matsluni
released. Should take some time to appear in maven.

Awesome! Thanks a lot! :+1:


github: limit test runs if only Go test files have changed

Skip workflows that do not run Go tests if only Go test files have changed.
Glob syntax reference: https://github.com/dorny/paths-filter/issues/97

@brlbil Added another DO NOT MERGE commit to that effect :-)

ci-eks ran: https://github.com/cilium/cilium/actions/runs/4956081406/jobs/8866129043?pr=25363
ci-gke was skipped: https://github.com/cilium/cilium/actions/runs/4956081408/jobs/8866129984?pr=25363
So basically this works as expected :-)
@brlbil Could you also verify the above before I remove the DO_NOT_MERGE commits?

@jrajahalme seems to be working as expected 👍


Configurable gRPC port(s)

Currently, gRPC port = REST port + 1. Ideally, the gRPC port is also configurable. Once we switch from Artillery's SWIM  to another implementation/protocol that allows for advertising the ports of our services, this will be easily implementable.

Fixed by @evanxg852000


workaround for mountable Engines with Rails 4.2

By Using devise on mountable Engines with Rails 4.2, the scope_url method from FailureApp will return a wrong url/path. Concrete in this line: https://github.com/plataformatec/devise/blob/a93edc72fd9f6cc5839dd74107b215a81c16dc37/lib/devise/failure_app.rb#L119
By setting the script_name option to nil, it overrides the engine's prefix set on the routes.rb from the main_app. Example:
Rails.application.routes.draw do
  mount Admin::Engine, at: 'admin'
end

However until Rails 4.1 the returned path was correct. After this commit: https://github.com/rails/rails/commit/33d6e3be623d4dbcec077e62699272cbdcd23f37 by overriding the script_name option (it should be the engine_name), action_dispatch returns the path without the engine prefix and this ist wrong
In FailureApp this condition is always "true", although the option is not set:
Rails.application.config.respond_to?(:relative_url_root)) # true
# (...)
def scope_url
 # (...)
 opts[:script_name] = (config.relative_url_root if config.respond_to?(:relative_url_root))
 #(...)
end

We have run into this issue as well when mounting devise inside an isolated engine under Rails 4.2.0, and would appreciate this fix being merged into devise (in the meantime, we've registered a custom failure app just to override the scope_url method).
Not to be overly nitpicky, but the commit that introduced the changed behavior in rails was actually rails/rails@8cbcd19d7079db1b5df6ddb3b813fea57cd5cc38, which introduced an explicit check for the presence of a :script_name key in the options hash, instead of just testing for the value.

Great, thank you!

When is the release including this fix planned to happen? I need to use devise on a 4.2 rails mountable engine, and I can't use github dependencies in the gemspec =/ (sorry for bringing the issue back from the dead)


Webappupdates

THIS PROJECT IS IN MAINTENANCE MODE. We accept pull-requests for Bug Fixes ONLY. NO NEW FEATURES ACCEPTED!
I have made an option to run the program ith a single command with options given in said command.
Description
using the optparse library I added a way for a user to set the variables to run the email spammer in the same command where the file is executed, while retaining the original functionality of the program
Motivation and Context
This option is necessary so this program can run from a webapp, with out needing key presses while the program is running
How Has This Been Tested?
this program has been tested with the new functionality and the old, and for me they both worked perfectly.
see options with
python3 emailspam.py --help
Screenshots (if appropriate):

Branch has been created.
Closed.


Performance concern

I tried to produce a 3 minutes video with example/3.mp4 plus a 3 minutes wav audio, it took 20 minutes in step 6, i'm using 4090RTX, is this performance normal? Note: Cuda already enabled.

the same question.
i use 4090, a 13s video need 520s.


[FR]: DHCP Stats

Hey,
I would love to have dhcp stats as sensors..
similar to what is happening with OpenVPN.
E.g. number of total DHCP leases and such..
I started to take a look at the source code and saw that actually some dhcp things are in the source code, but commented out..
What's the story there?
And what do I need to do to bring them back?
thx, knom

Second for this. I would love to be able to show current DHCP leases.

Yes, this can likely be done.
I don't know what it used to look like, but what would you like to see?

The count of active DHCP leases?
Details on each active lease?

What details?
If so, how in HA would we show this?

that's great news!!
for sure the count of active leases
and ideally the leases with time, Mac & IP Adress & hostname
I just wonder, how is this different than the presence tracker though..
thanks!

Right but that is a lot of data.

Is there a separate sensor for each lease?
Is there one sensor with an attribute line for each lease with time, mac, ip, and hostname?
Other ideas?

an active leases sensor, with all data in attributes, otherwise it gets confused...
also, a reservations sensor (static leases) would be useful.

Agreed!
Ideally:
The sensor returns the count and has all the details as an array in the attributes.


Use original source and build  script(PR pending until this issue is closed)

Original Author requested to use original source and build script(Grunt).
We have to work based on the original source, so any PR will be pending.
Sorry for inconvenience.

what do you mean by 'use original source and build script'?
do you mean that now it's impossible to edit the core file like you guys want? even if it's improving the perfomance a lots?

We mean to start with orignal project layout and source.
We are started by Compiled source, so original author requested to start with original layout and source.

and Original Author accepted to rewrite original buildscripts to npm scripts, so we do it just now.

So, we can close this issue and continue to send PRs?

Yes! I'll close this issue.


only saves last chunk to google drive on linux system.

When i am uploading few  WAV files only last chunk of those files get uploaded to google drive, i have tried many wav, mp3 and other files but i am having issue with few files. Also when i try to test same files on my local machine everything works fine. but facing issue on my dev and live server.
I am using latest version 1.2.9
this is my  config (same for all 3 environment )
"chunk" => [
        // setup for the chunk naming setup to ensure same name upload at same time
        "name" => [
            "use" => [
                "session" => false, // should the chunk name use the session id? The uploader must send cookie!,
                "browser" => true // instead of session we can use the ip and browser?
            ]
        ]
    ]

i am using windows + nginx on local, And linux + apache for dev and live.

Hi @0Archish0 , what JS library do you use?
Also I've fixed a bug and added a support for Laravel 7 in v1.4.0
🎉 Finally a release for Laravel 7 support
⛑ Finally I've fixed problems with chunks (Dropzone/Resumable.js with parallel upload).
👍 Also I've found a solution how to get file data after upload for a Dropzone. Check WIKI.
Thank you for your patience.


Feedback: Map the matched recordings and transcripts from onlineMeeting APIs

Type of issue
Missing information
Feedback
I am trying to get recordings and transcripts on an onlineMeeting, I am getting responses but two major issue I found using the APIs are:
There is no way to map each recordings with its transcripts when recorded multiple times using same meeting link
There is no option to sort the response by createdtime
transcripts returns createdTime in descending order
recordings returns createdTime in ascending order
Page URL
https://learn.microsoft.com/en-us/graph/api/onlinemeeting-list-recordings?view=graph-rest-beta&tabs=http
Content source URL
https://learn.microsoft.com/en-us/graph/api/onlinemeeting-list-recordings?view=graph-rest-beta&tabs=http
Author
NA
Document Id
NA

Hello @author-spirit ,
Thanks for reporting your issue. We will test this and update you soon.

Hello @author-spirit, unfortunately there is nothing provided by Microsoft as per documentation.
We suggest you to give feedback here- Microsoft Graph | Support


Perform I/O asynchronously

Is your feature request related to a problem? Please describe.
ADIOS2 provides buffered I/O with option to enable an asynchronous thread. Currently pressure cannot be buffered as we interpolate to a work array which must be flushed for safe reuse. Also this will be critical for performance on GPUs.
Describe the solution you'd like
Test asynchronous I/O can be performed with ADIOS2 on CPU and GPU.

The issue should be clarified. Asynchronous MPI IO  is possible using mpi_file_iread_all and mpi_file_iwrite_all


bugfix(TDI-38263): fix NPE in Guess Schema feature

What is the current behavior? (You can also link to an open issue here)
NPE when run the job after Guess Schema feature used. There are no default date pattern, length and precision props.
What is the new behavior?
Added default date pattern, length and precision props
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
https://jira.talendforge.org/browse/TDI-38263

Pull request test result: success :star:


Channels data ranges and meaning

Please explain
10. channels_[roll/pitch/thrust/yaw] | 1 | int ∈[1000,2000] - what does this thrust means? [1000-2000] why? roll/pitch//yaw isn't like [-Pi-Pi]?

The data in the columns channels_[roll/pitch/thrust/yaw] are the Radio Controller's channels (i.e., the stick positions acted by the pilot). Betaflight (BF) convention uses 1000 as the minimum channel and 2000 as the maximum channel. The minimum channel for the thrust results in 0.5% thrust as per BF settings, and the maximum channel will result in the maximum thrust of ~40N. For the bodyrates, according to the BF rate profile (you can check the one used in the dataset in L108-L113 of BTFL_cli_backup.txt) they go from a minimum of 0 rad/s to a maximum of 8.02 rad/s.
Depending on your application, there may be more suitable data rather than the channels ones. Please refer to the companion paper (or the free pre-pint) for more information about the data.


libmodsecurity: 3.0.0 -> 3.0.2

Motivation for this change
Update version
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build libmodsecurity

Success on x86_64-darwin (full log)
Attempted: libmodsecurity
Partial log (click to expand)
make[2]: Entering directory '/private/tmp/nix-build-libmodsecurity-3.0.2.drv-0/source'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-libmodsecurity-3.0.2.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-libmodsecurity-3.0.2.drv-0/source'
post-installation fixup
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/zfpjy1gzq0rqv91yz4ljpx0my7pk5yqq-libmodsecurity-3.0.2/lib  /nix/store/zfpjy1gzq0rqv91yz4ljpx0my7pk5yqq-libmodsecurity-3.0.2/bin
patching script interpreter paths in /nix/store/zfpjy1gzq0rqv91yz4ljpx0my7pk5yqq-libmodsecurity-3.0.2
/nix/store/zfpjy1gzq0rqv91yz4ljpx0my7pk5yqq-libmodsecurity-3.0.2

Success on x86_64-linux (full log)
Attempted: libmodsecurity
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2
shrinking /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2/lib/libmodsecurity.so.3.0.2
shrinking /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2/bin/modsec-rules-check
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2/lib  /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2/bin
patching script interpreter paths in /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2
checking for references to /build in /nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2...
/nix/store/c8s7gdv2w0fcrp54pimbd379fd011rbg-libmodsecurity-3.0.2

Success on aarch64-linux (full log)
Attempted: libmodsecurity
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2
shrinking /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2/bin/modsec-rules-check
shrinking /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2/lib/libmodsecurity.so.3.0.2
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2/lib  /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2/bin
patching script interpreter paths in /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2
checking for references to /build in /nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2...
/nix/store/0041s23li8rk25h5yp589ad6hvmh0a99-libmodsecurity-3.0.2


[filegen] move NixpkgsInfo into filegen (no more plansdk)

Summary

Move NixpkgsInfo into package filegen.
Make its functions internal, since it is only used within filegen.
Move DefaultNixpkgsCommit to devconfig package, since it is only used there.

How was it tested?
compiles

Current dependencies on/for this PR:

main

PR #1187

PR #1188

PR #1189

PR #1190

PR #1191

PR #1192   👈

This comment was auto-generated by Graphite.


expected exactly 5 fields, found 6: [* * * * * ?]

See https://play.golang.org/p/_Yr1NUEoRte
package main

import (
	"fmt"
	cron "github.com/robfig/cron/v3"

)

func main() {
	c := cron.New()
	_, err := c.AddFunc("* * * * * ?", func() { fmt.Println("hello") })
	fmt.Println(err)
}

It works in test case https://github.com/robfig/cron/blob/master/cron_test.go#L121
What am I missing here?

Nevermind, secondParser was used, closing


Adding State Management

Hey, I was going to add some state management to the app. Are you ok with Bloc?

Cool, I fully support the idea.

Awesome. I ran out of time for it, but when i get back to it, I can start :)

Welcome. On the other hand, I am using Provider to refactor state management in provide branch.

Ah ok. We can use Provider with bloc.


feat: Add support for multiple VPCs when creating private hosted zones

Description
Currently the zones module only supports a single VPC. The aws_route53_zone resource supports multiple VPCs for private zones so I'm adding support for that.
Motivation and Context
I needed a private hosted zone with multiple VPCs. This module didn't support it, now it does.
Breaking Changes
Yes, we are changing vpc attribute from a map to a list(map) so if anyone us using a map, they'll need to wrap with [{..}]
How Has This Been Tested?
I just used it to create a private hosted zone for what I needed.
locals {}

terraform {
  # source = "git::git@github.com:terraform-aws-modules/terraform-aws-route53.git//modules/zones?ref=v1.6.0"
  source = "/Users/hnicholas/.local/tmp/terraform-aws-route53/modules/zones"
}

include {
  path = find_in_parent_folders()
}

dependency "us_gov_east_1_vpc" {
  config_path = "../../../us-gov-east-1/apps/vpc"
}

dependency "us_gov_west_1_vpc" {
  config_path = "../../../us-gov-west-1/apps/vpc"
}

inputs = {
  zones = {
    "govstg.local" = {
      comment = "Private Route53 Hosted Zone"

      vpc = [
        {
          vpc_id     = dependency.us_gov_east_1_vpc.outputs.vpc_id
          vpc_region = "us-gov-east-1"
        },
        {
          vpc_id     = dependency.us_gov_west_1_vpc.outputs.vpc_id
          vpc_region = "us-gov-west-1"
        },
      ]

      tags = {
        Name = "govstg.local"
      }
    }
  }
}

hnicholas@hnicholas-a01:~/Repositories/FR/terraform/live/staging/_global/resources/route53$ aws-vault exec govcloud-staging -- terragrunt apply
[INFO] Getting version from tgenv-version-name
[INFO] TGENV_VERSION is 0.27.1
[terragrunt] [/Users/hnicholas/Repositories/FR/terraform/live/staging/_global/resources/route53] 2021/02/09 17:02:35 Running command: terraform --version
[terragrunt] 2021/02/09 17:02:36 Terraform version: 0.14.4

...

Terraform will perform the following actions:

  # aws_route53_zone.this["govstg.local"] will be created
  + resource "aws_route53_zone" "this" {
      + comment       = "Private Route53 Hosted Zone"
      + force_destroy = false
      + id            = (known after apply)
      + name          = "govstg.local"
      + name_servers  = (known after apply)
      + tags          = {
          + "Name" = "govstg.local"
        }
      + zone_id       = (known after apply)

      + vpc {
          + vpc_id     = "vpc-foo"
          + vpc_region = "us-gov-west-1"
        }
      + vpc {
          + vpc_id     = "vpc-bar"
          + vpc_region = "us-gov-east-1"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + this_route53_zone_name_servers = {
      + govstg.local = (known after apply)
    }
  + this_route53_zone_zone_id      = {
      + govstg.local = (known after apply)
    }

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

...

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Releasing state lock. This may take a few moments...

Outputs:

...

Thanks @nshenry03 !
v1.8.0 has been just released.


When uploading multiple images with same timestamp, the redux fails

After this PR https://github.com/mattermost/mattermost-redux/pull/582 is merged we have problem in 5.2 if multiple images in same post are uploaded at the same timestamp

For some reason the original postid is "locale". I tried to debug this problem but could not find why the locale is postid. Anyways all images has locale = postid instead of real locale. The problem exists only if two images has exact same timestamp. Then it is trying to do localeCompare in https://github.com/mattermost/mattermost-redux/blob/master/src/utils/file_utils.js#L97 but fails because the locale variable is postid.

Hi @zetaab!
The Jira ticket for the PR you referenced has been re-opened as it needs some additional fixing, so I added a note in it about the bug you are seeing: https://mattermost.atlassian.net/browse/MM-10621.
I'll create a new ticket for this if our devs determine that it should be fixed separately.

@zetaab That's weird.  I can't see how it's being passed as postId instead of locale in sortFileInfos.  You'll notice that the said locale is a props of CreatePost and CreateComment which is basically from the selector getCurrentLocale.
Are you using the release version of 5.2?
If possible, could you give a repro steps/files for these?
Thanks for the report!

I tried to reproduce it myself as well, but I could not. Anyways the key thing is to upload many files at the same time. At least two files should have same timestamp.
The json for files is
[{"id":"83nry87b8trfudogkjt71344dw","user_id":"8fa9tyyk7jymzgbemhuy6ert9w","post_id":"ngkaqozwqtdtxgeykwsc84y11r","create_at":1535459022330,"update_at":1535459022330,"delete_at":0,"name":"Näyttökuva 2018-08-28 kello 15.19.20.png","extension":"png","size":205674,"mime_type":"image/png","width":1262,"height":1264,"has_preview_image":true},{"id":"iuk4ow81ppgmigzr8ugeahq7tr","user_id":"8fa9tyyk7jymzgbemhuy6ert9w","post_id":"ngkaqozwqtdtxgeykwsc84y11r","create_at":1535459022330,"update_at":1535459022330,"delete_at":0,"name":"Näyttökuva 2018-08-28 kello 15.18.52.png","extension":"png","size":161012,"mime_type":"image/png","width":1248,"height":1110,"has_preview_image":true},{"id":"bi97e1g1zbyh8qt513kss89hqw","user_id":"8fa9tyyk7jymzgbemhuy6ert9w","post_id":"ngkaqozwqtdtxgeykwsc84y11r","create_at":1535459022340,"update_at":1535459022340,"delete_at":0,"name":"Näyttökuva 2018-08-28 kello 15.21.12.png","extension":"png","size":272901,"mime_type":"image/png","width":1256,"height":1256,"has_preview_image":true},{"id":"1ajneqtocpy48cgpf36gux3g4w","user_id":"8fa9tyyk7jymzgbemhuy6ert9w","post_id":"ngkaqozwqtdtxgeykwsc84y11r","create_at":1535459022463,"update_at":1535459022463,"delete_at":0,"name":"Näyttökuva 2018-08-28 kello 15.21.55.png","extension":"png","size":212716,"mime_type":"image/png","width":1228,"height":1256,"has_preview_image":true}]

After this is requested from api, the user interface will crash.

Thanks!  Are you using release version of 5.2 (not modified)?

that part of the ui is default 5.2

Sorry @zetaab but I really couldn't repro this issue and can't see how to fix this.  I guess we'll revisit this case whenever we have reproducible steps.

@zetaab Can you still reproduce this issue?

it might be that this was fixed in https://github.com/mattermost/mattermost-redux/pull/685 but I cannot reproduce it anymore because we set now default language for all users.

Closing this one for now. Please open again @zetaab if you encounter this problem again.


[HUDI-6828] Fix wrong partitionToReplaceIds when insertOverwrite empty data into partitions

Change Logs
After Insert overwrite into a non-empty partition/table with empty datasets, the subsequent query results are incorrect
For example, current dataset of  partition dt=2021-07-17 is
| id   | name  |      dt               |
| 1    |    'a'     | '2021-07-17' |
Using the following SQL to overwrite partition dt=2021-07-17
insert overwrite table targetT partition(dt='2021-07-17') select id, name, price from sourceT where  dt=2021-07-17 and product='test'
If the input dataset is empty. We expect after insert overwrite, the partition of dt=2021-07-17 is empty.
However, the query result is still the old data.
This pr aims to fix this bug.
Impact
NA
Risk level (write none, low medium or high below)
NA
Documentation Update
NA
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@danny0405 Thanks for review. I've updated the PR.


SPIKE: Investigate if we can use Amazon Inspector

User Story
As a Modernisation Platform Engineer
I want to know of security vulnerabilities of AWS resources such as ECR, EC2 and lambda functions
So that it can be mitigated.
Value / Purpose
More secure MP estate.
Useful Contacts
No response
Additional Information
See this document: https://docs.aws.amazon.com/inspector/latest/user/getting_started_tutorial.html#tutorial_activate_scans
Proposal / Unknowns
Estimate how much work would be involved to implement it and propose a draft solution.
Definition of Done

[ ] Document your findings and a draft implementation plan
[ ] Present your findings to the team and agree on the outcome
[ ] Update ADR
[ ] If applicable, come up with user stories

we are using this - but not looking at results - that will be part of another ticket


unable to deploy sharing rules trought sfdx force:source:deploy command in version 7.82

Summary
Running sfdx force:source:deploy on a sandbox doesn't deploy sharing rules metadata
Steps To Reproduce:
have sharing criteria rules in your local repository

Run sfdx force:source:deploy --manifest path/to/manifest.xml

See no changes.

Expected result

Actual result

Additional informartion
Deployment of sharing rules is working with sfdx version 7.45

@dimitrimonge It might be an issue caused by an old version of sfdx. Try to update to the lates version: sfdx-cli/7.84.2-a2868a68d5 win32-x64 node-v12.18.3 and then verify if the bug persists.

Hey,
Same issue here using sfdx-cli/7.86.3 win32-x64 node-v15.5.1

=== Deployed Source
No results found

Files are here inside of the following files
-sharingRules
--Account.sharingRules-meta.xml
--Case.sharingRules-meta.xml
pacakge file is
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Account.CSSCZ_AccountSharingRule</members>
        <members>Case.CSSCZ_CaseSharingRule</members>
        <name>SharingCriteriaRule</name>
    </types>
    <version>51.0</version>
</Package>```

@dimitrimonge @DougMidgley could either of you provide a link to a github repo that contains the metadata that replicates this issue?
Thanks

@AllanOricil @DougMidgley @mdonnalley sorry for the delay, I was very busy by a go live last days.
I found out a work around to make it work.
You can add the following tag to your manifest :
    <types>
        <members>*</members>
        <name>SharingRules</name>
    </types>

You can have the same issue with matching rule that you can solve with same kind of tag :
    <types>
        <members>*</members>
        <name>MatchingRules</name>
    </types>

Hope will help
Best regards

So when using the SharingRules tag it works, but when using SharingCriteriaRule it does not, even though it is supported in the coverage report ( https://developer.salesforce.com/docs/metadata-coverage/51). The metadata docs (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sharingrules.htm)  are contradictory - they provide an example using the Subtype
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>ObjA__c.*</members>
        <name>SharingCriteriaRule</name>
    </types>
    <types>
        <members>ObjA__c.*</members>
        <name>SharingOwnerRule</name>
    </types>
    <version>51.0</version>
</Package>

but also say it cannot be used

You can’t retrieve, delete, or deploy manual sharing rules or sharing rules by their type (owner, criteria-based, territory, or guest user).

A further discussion can be found here - https://github.com/scolladon/sfdx-git-delta/issues/99 in detail

@DougMidgley
it seems working to retrieve metadatas but not to deploy them.
It used to work in version 7.81.
Hope Salesforce will solve this issue soon but at least we have a work arround :

I'm still getting this for SharingCriteriaRule:
sfdx-cli/7.82.1-0 linux-x64 node-v14.16.0
Ubuntu 20.04
The workaround will not work for me, since we build the package automatically as part of our CI/CD process.
Hope that someone in Salesforce can fix it soon...

I was able to display the sharing setting changes via SFDX, displaying exclusively the object that was required to modify the sharing setting. When displaying the object in the object's meta file, this information travels:

On lines 234 and 258 shown in the image is the configuration of the sharing setting within the object
Regards
Nerio Villalobos (DevOps Salesforce & SFI of LabsXD)
labsxd.com


⚠ TROJAN 🇺🇸 United States USO 1 has degraded performance

In e692a83, TROJAN 🇺🇸 United States USO 1 (https://ust-2.optnl.com/) experienced degraded performance:

HTTP code: 200
Response time: 5196 ms

Resolved: TROJAN 🇺🇸 United States USO 1 performance has improved in 6a69812.


Could not connect

I was curious about micro-panel, so I

cloned the repo
ran npm i, npm run deps and npm run build
uploaded the content of the resulting dist folder to https://www.svenknebel.de/temp/micro-panel

When I go there and click SIGN IN, I get an error "could not connect"
The console also shows
load { target: <iframe>, isTrusted: true, eventPhase: 0, bubbles: false, cancelable: false, defaultPrevented: false, composed: false, timeStamp: 2988.7918933333335, cancelBubble: false, originalTarget: <iframe>, explicitOriginalTarget: <iframe> }  micro-panel.js:24348:6
TypeError: links is null
Stack-Trace:
saveAuthParams@https://www.svenknebel.de/temp/micro-panel/src/micro-panel.js:24228:8
authStart/<@https://www.svenknebel.de/temp/micro-panel/src/micro-panel.js:24564:4
  micro-panel.js:24573

any ideas? (I'll keep it uploaded, so you can also test it "live", since the error happens before any actual auth)

Thanks a lot for your interest in this project :)

links is null

You don't have a Link header pointing to the micropub endpoint.

Oh, it has to be a header for micro-panel? Guess I can add that.

yeah I've only implemented that. You could also add code to micro-panel that reads html links :)

Closing, since the rewritten version does not support the iframe thing and has to be integrated directly into the site.


🐛 Recording video duration incorrect

What's happening?
I wanted video recording app with pause/resume.
Of course video recording is perfect.
But there is some issue on video recording duration.
For example,
start record
pause record after 1 second.
resume record after 5 seconds.
stop record after 2 seconds.
Expected video duration is 3 seonds.
But onRecordingFinished callback return video object with 8 seconds duration.
Reproduceable Code
const recordTest = async () => {
   console.log(cameraDevice);
   // Start
   let timeRecord = moment().unix();
   await _camera.current.startRecording({
      onRecordingError: () => {},
      onRecordingFinished: video => {
         console.log(video);
      },
   });
   console.log(`start record ${moment().unix() - timeRecord}s`);
   await timeout(1000);
   // Pause
   await _camera.current.pauseRecording();
   console.log(`pause record ${moment().unix() - timeRecord}s`);
   await timeout(5000);
   // Resume
   await _camera.current.resumeRecording();
   console.log(`resume record ${moment().unix() - timeRecord}s`);
   await timeout(2000);
   // Stop
   const video = await _camera.current.stopRecording();
   console.log(`finish record ${moment().unix() - timeRecord}s`);
};

Relevant log output
LOG  start record 0s
 LOG  pause record 1s
 LOG  resum record 7s
 LOG  {"duration": 8.74, "height": 960, "path": "/data/user/0/com.testvisioncamera.dev/cache/mrousavy3304552134792529569.mov", "width": 1280}
 LOG  finish record 10s

Camera Device
{
    "formats": [] //36,hardwareLevel:
    'hardwareLevel':limited',
    hasFlash: false
    hasTorch: false
    id:'0'
    isMultiCam: false
    maxExposure:9
    maxZoom: 10
    minExposure:-9
    minFocusDistance: NaN
    minZoom: 1
    name:'BACK (0)'
    neutralZoom: 1
    physicalDevices: (1) ['telephoto-camera']
    position: 'back'
    sensorOrientation: 'landscape-right'
    supportsFocus: true
    supportsLowLightBoost: false
}

Device
AVD emulator(api 33)
VisionCamera Version
3.8.2
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Hey! Thanks for the issue report.
You didn't put the native adb / Xcode logs in here so it's impossible for me to figure out when exactly the start/stop happened.
I need those logs. Maybe I need to do some timestamp correction, but not sure how that'd work on Android.
Can you also test on iOS please?
Also, unrelated but why is minFocusDistance NaN 🤨

Format your logs please. Three backticks (```)

I can't test on IOS, but I think that's same.

I doubt that. iOS is a completely different implementation in a completely different language and environment, it is not the same. If it's the same that'd honestly surprise me.

Video is correctly recorded, but only duration time(result of onFinishRecording callback) is problem.
So I think that's not considered.

We're also running into the same issue. During the pause, the full video includes the pause time with a still frame. I also found that the audio that gets captured after resuming gets overlayed onto the pause time still frames.

@stevenkang12 maybe related to #2790

Hey all!
I just spent a few days on thinking about a battleproof timestamp synchronization solution, and I came up with a great idea.
I built a TrackTimeline helper class which represents a video or audio track - it can be started & stopped, paused & resumed, and even supports nesting pauses without issues.

The total duration of the video is summed up from the difference between the first and the last actually written timestamps, minus the total duration of all pauses between a video. No more incorrect video.duration! 🥳
Whereas before I just had a 4 second timeout if no frames arrive, I now just wait twice the frame latency (a few milliseconds) to ensure no frames are left out at maximum! 🎉
A video can be stopped while it is paused without any issues, as a pause call is taken into consideration before stopping 💪
A video file's session now exactly starts at the start() timestamp, and ends at the exact timestamp of the last video frame - this ensures there can never be any blank frames in the video, even if the audio track is longer 🤩

This was really complex to built as I had to synchronize timestamps between capture sessions, and the entire thing is a producer model - a video buffer can come like a second or so later than the audio buffer, but I need to make sure the video track starts before the audio track starts, and ends after the audio track ends - that's a huge brainf*ck! 🤯😅
There's also no helper APIs for this on iOS, and it looks like no other Camera framework (not even native Swift/ObjC iOS Camera libraries) support this - they all break when timestamps have a delay (e.g. video stabilization enabled) (or dont even support delays at all) ; so I had to build the thing myself.
Check out this PR and try if it fixes the issue for you; https://github.com/mrousavy/react-native-vision-camera/pull/2948
Thanks! ❤


Random notifications with "documentColumnIndex cannot be greater than the line's maximum index"

Repro steps:
Really hard to tell what causes this specific issue as it seems fairly random.
I think it might happen when autocomplete suggestions are triggered. I use a smaller vscode window where it only takes half of my screen. My only guess is that perhaps there are some situations where the autocompletion menu might not have enough space to render?!
Although this notification happens fairly often, I have not been able to determine the exact steps that will reproduce it 100% of the time.
Action: provideCompletionItems
Error type: ERR_ASSERTION
Error Message: documentColumnIndex (27) cannot be greater than the line's maximum index (26)
Version: 0.5.0
OS: Arch linux
VS Code Version: 1.32.2

Call Stack
Function.fromDocumentLineAndColumnIndexes (dist/extension.bundle.js:127:96193)
DeploymentTemplate.getContextFromDocumentLineAndColumnIndexes (dist/extension.bundle.js:127:92640)
Object.<anonymous> (dist/extension.bundle.js:127:125835)
Generator.next (<anonymous>)
module.exports.n (dist/extension.bundle.js:127:117380)
new Promise (<anonymous>)
module.exports.n (dist/extension.bundle.js:127:117157)
Object.<anonymous> (dist/extension.bundle.js:127:125744)
Object.<anonymous> (dist/extension.bundle.js:1:182883)
Generator.next (<anonymous>)
module.exports.n (dist/extension.bundle.js:1:181258)
new Promise (<anonymous>)
module.exports.n (dist/extension.bundle.js:1:181035)
Object.module.exports.t.callWithTelemetryAndErrorHandling (dist/extension.bundle.js:1:182800)
AzureRMTools.<anonymous> (dist/extension.bundle.js:127:125667)
Generator.next (<anonymous>)
module.exports.n (dist/extension.bundle.js:127:117380)
new Promise (<anonymous>)
module.exports.n (dist/extension.bundle.js:127:117157)
AzureRMTools.onProvideCompletionItems (dist/extension.bundle.js:127:125562)
Object.provideCompletionItems (dist/extension.bundle.js:127:121876)
define.provideCompletionItems.a.asPromise (extensionHostProcess.js:569:293)
t.asPromise.Promise (extensionHostProcess.js:48:58)
new Promise (<anonymous>)
Object.t.asPromise (extensionHostProcess.js:48:32)
O.provideCompletionItems (extensionHostProcess.js:569:264)
define.$provideCompletionItems._withAdapter.e (extensionHostProcess.js:582:811)
$._withAdapter (extensionHostProcess.js:575:502)
$provideCompletionItems (extensionHostProcess.js:582:789)
h._doInvokeHandler (extensionHostProcess.js:593:118)
h._invokeHandler (extensionHostProcess.js:592:777)
h._receiveRequest (extensionHostProcess.js:591:383)
h._receiveOneMessage (extensionHostProcess.js:590:279)
define.constructor._protocol.onMessage.e (extensionHostProcess.js:588:565)
u.fire (extensionHostProcess.js:43:254)
e (extensionHostProcess.js:39:64)
u.fire (extensionHostProcess.js:43:254)
s (extensionHostProcess.js:168:754)
Socket.define.constructor._socketDataListener.e (extensionHostProcess.js:168:960)
Socket.emit (events.js:182:13)
addChunk (_stream_readable.js:279:12)
readableAddChunk (_stream_readable.js:264:11)
Socket.Readable.push (_stream_readable.js:219:10)
Pipe.onread (net.js:636:20)

Thanks for reporting this.  I saw this for the first time yesterday.  I'll try to track it down.

Haven't seen it again.

Seems to be only happening since 0.5.0, maybe related to callWithTelemetryAndErrorHandling{,Sync} calls?  It appears the line/col are out of sync with the state of the deployment template.
For now, suppressing the error display.

Caused by #221 which can happen while typing, which causes the parsed template to be out of sync with the sources, which causes this issue.

FYI, this was fixed in the 0.6.0 release on Thursday.  Thanks again for reporting.


updating with sc_pipeline_muon_dev

Taking everything from the sc_pipeline_muon dev branch and merging it into main

resolves #8

merging clustering pipeline changes


Event Calendar Section, Forum/Discussion Boards, Footer Structure #234

#234 Is your feature request related to a problem? Please describe.
I'm always frustrated when users cannot easily find information about upcoming events and community discussions on our website, leading to reduced engagement and missed opportunities.
Describe the solution you'd like
I would like to implement an "Upcoming Events" section on the homepage that clearly showcases our events, workshops, and meetups. Each event should include a title, date, time, location, and a registration link to make it easy for users to participate. Additionally, the Forum/Discussion Boards section should be repositioned to the footer for better visibility, encouraging users to engage in community discussions. This section should still include links to both our dedicated forum page and a third-party Discourse community, fostering greater interaction among members.
Describe alternatives you've considered
I considered keeping the Forum section in the main content area but found that moving it to the footer enhances the overall layout and highlights it as a resource for community engagement. Other alternatives included creating a separate events page, but I believe having it directly on the homepage increases visibility and participation.
Additional context
The "Upcoming Events" section will help users quickly find relevant activities and encourage them to engage with our community. By placing the Forum/Discussion Boards in the footer, we maintain a clean design while ensuring users can easily find ways to interact with others. This adjustment also includes keeping the copyright statement at the bottom for clarity. Screenshots of the new layout can be provided upon request for further illustration.

Please add lables Gssoc extd24 and hacktoberfest

Also i want to go ahead and add more stuff like Member Profiles , dark mode etc. it would be great if you assign me

what is you issue number

@Prerrna You have made changes directly in main branch. kindly create new branch for your features. and then push it.

i want to edit changes ... why have you closed??

is it good now?

@SaurabhS55 do i need to do anything else ?

@SaurabhS55 please check.

@Prerrna plzz resolve merge conflicts.

okay


Add support for L630 bulbs

The L630 bulb is basically the same bulb as the L530 but with a GU10 socket. Because the adapter doesn't know it yet it creates a L510E device, which doesn't support setColor. Adding it as L530 device makes setColor work.

Is it possible for someone to control a Tapo L630 lamp? I'm getting a bit stuck at the moment.

@nekphal Oh it finally got a release. After updating I had the same error. And also this ERPROTO warning/error. The instance of the adapter was showing a warning state (connected to device or service was not green). I tried to reload it until it changed to green and then the lamps started to work as expected again. Can you check in the instances section of iobroker if it's connected and try to reload the adapter?

I have deleted the adapter and the object tree several times and the adapter no longer turns green at all (warning state). The error messages are the same and objects for my Tapo lamps are also not created. After the message “Start first Update” nothing happens at all.


Failed to fetch articles

Hi,
I recently updated the Obsidian plugin to 1.3.0. Since then I'm not able to sync any articles at all. I just receive the generic error message Failed to fetch articles. I already tried to reinstall the plugin and also added a new API Key, but this didn't help.
Any ideas?

I am getting this problem too. A look at the inspector - this is the article title that is causing an issue:
plugin:obsidian-omnivore:8190 YAMLParseError: Nested mappings are not allowed in compact mappings at line 2, column 8:

title: In Memoriam: Mac | Get Hiroshima
       ^

I think the : and | characters are throwing it off - they are not valid YAML - there needs to be a way to clean these titles I think. In the past these characters would come in and I would clean up the title to make the YAML compliant. Now it looks like they are being blocked.

Here is another title throwing the import off: How to Be a Better Manager: The Theory of the Elephant and the Rider | Inc.com
You can edit the title in Omnivore on the web to remove those characters and then bring them in just fine - but I think there should be a way to substitute these characters programmatically.

still not work. same issue

still not work. same issue

Can confirm. Also getting fetch issue, even with the > implementation.

Hey @legend053 @trwolfe , sorry for the mess.
May I have a look at your template settings? If possible, could you also show me a screenshot of the developer console so I could have a better understanding of the error

Hey @legend053 @trwolfe , sorry for the mess.
May I have a look at your template settings? If possible, could you also show me a screenshot of the developer console so I could have a better understanding of the error

I only added the {{{content}}} at the end. Is that in the wrong spot?
`---
id: {{{id}}}
title: >
{{{title}}}
{{#author}}
author: >
{{{author}}}
{{/author}}
{{#labels.length}}
tags:
{{#labels}} - {{{name}}}
{{/labels}}
{{/labels.length}}
date_saved: {{{dateSaved}}}
{{#datePublished}}
date_published: {{{datePublished}}}
{{/datePublished}}
{{{title}}}
#Omnivore
Read on Omnivore
Read Original
{{#highlights.length}}
Highlights
{{#highlights}}

{{{text}}} ⤴ {{#labels}} #{{name}} {{/labels}}
{{#note}}

{{{note}}}
{{/note}}
{{/highlights}}
{{/highlights.length}}
{{{content}}}`

Ahhhh, so randomly, I just deleted my entire Omnivore folder from within Obsidian and re-ran the sync and it worked!

Hey @legend053 @trwolfe , sorry for the mess.
May I have a look at your template settings? If possible, could you also show me a screenshot of the developer console so I could have a better understanding of the error

I only added the {{{content}}} at the end. Is that in the wrong spot?
`---
id: {{{id}}}
title: >
{{{title}}}
{{#author}}
author: >
{{{author}}}
{{/author}}
{{#labels.length}}
tags:
{{#labels}} - {{{name}}}
{{/labels}}
{{/labels.length}}
date_saved: {{{dateSaved}}}
{{#datePublished}}
date_published: {{{datePublished}}}
{{/datePublished}}
{{{title}}}
#Omnivore
Read on Omnivore Read Original
{{#highlights.length}}
Highlights
{{#highlights}}

{{{text}}} ⤴ {{#labels}} #{{name}} {{/labels}}
{{#note}}

{{{note}}} {{/note}}
{{/highlights}} {{/highlights.length}}
{{{content}}} `

Hey @trwolfe , to use multiline string, we need to add two spaces before the {{{title}}} on the next line in the front matter.
This is invalid
title: >
{{{title}}}

And below is valid:
title: >
  {{{title}}}

Heyy All, also have the fetching problem. I have tried the above strategies without success.

I'm experiencing the same issue just today. I have already uninstalled and re-installed Omnivore but I'm still getting the same error. Also, prior to re-installing, I have completely deleted the Omnivore folder from Obsidian.

 Worked for me.

For now as a temporary solution, I'm using obsidian46 - BRAT with the add beta plugin with frozen version option version: 1.2.3 and it works fine again 😃

For now as a temporary solution, I'm using obsidian46 - BRAT with the add beta plugin with frozen version option version: 1.2.3 and it works fine again 😃

it works. version 1.2.3 works great. 👍

For now as a temporary solution, I'm using obsidian46 - BRAT with the add beta plugin with frozen version option version: 1.2.3 and it works fine again 😃

it works. version 1.2.3 works great. 👍

Confirmed this worked for me as well

For me deleting all of the imports in Obsidian and changing the config with this worked fine.
title: >
  {{{title}}}

Hey guys, sorry for the delay. I have fixed this error in the latest release 1.3.1.
It includes:
Bug Fixes

Fixed Failed to fetch articles error due to invalid YAML format in the front matter. Now you can define which variables to be used in the front matter

Feature

Added a reset template button to reset the template to default

Please let me know if it works for you guys and looking forward to your feedback

I don't like how the tags are coming in. It messes up all of my Dataview Queries.
I don't like:
tags:
- name: tag1
I want
tags: [tag1, tag2, tag3]
Or some other YAML-compliant multiple entry methods.

this would work - just remove "name:" for tags please:
tags:
- tag1
- tag2
- tag3

this would work - just remove "name:" for tags please:
tags: - tag1 - tag2 - tag3

Sorry for the breaking change. I'm working on a fix now

no worries. i appreciate the ability to bring Omnivore into Obsidian. Thank you for your hard work.

Hey @ms3056 , a new version 1.3.2 is released to use below format for the tags in the front matter.
tags:
  - tag1
  - tag2
  - tag3

Could you upgrade your plugin and try again?

This has worked for me - thanks!

Hey guys, sorry for the delay. I have fixed this error in the latest release 1.3.1.
It includes:
Bug Fixes

Fixed Failed to fetch articles error due to invalid YAML format in the front matter. Now you can define which variables to be used in the front matter

Feature

Added a reset template button to reset the template to default

Please let me know if it works for you guys and looking forward to your feedback

This does work. But unfortunatly it prevents you from setting your own keys in fronmatter, like:
created: {{{dateSaved}}}
As I use my own keys this is now unusable to me (Unless I did miss the correct way to do this).

Can you update the template under this link to include the multiline frontmatter fields?
Unfortunately, it still does not seem to be working for me on 1.3.3 after resetting the template to default.
I'm not getting an error, it just seems to be stuck syncing for ever.

I got some 5xx error with the generic error message Failed to fetch articles of the OP once, but that was over the course of hours, and I forgot making a screenshot or noting the stacktrace.
Switching to version 1.2.3 fixed the issue for me as well.

Template
# {{{title}}}
#Omnivore

[Read on Omnivore]({{{omnivoreUrl}}})
[Read Original]({{{originalUrl}}})

{{#highlights.length}}
## Highlights

{{#highlights}}
> {{{text}}} [⤴]({{{highlightUrl}}}) {{#labels}} #{{name}} {{/labels}}
{{#note}}

{{{note}}}
{{/note}}

{{/highlights}}
{{/highlights.length}}

version 1.3.3 does not work again on fetching whole articles. It worked before, but failed to fetch articles starting today.

version 1.3.3 does not work again on fetching whole articles. It worked before, but failed to fetch articles starting today.

I restore it back to 1.2.3. Everything works perfect.

Version 1.3.3 getting "Failed to fetch articles". I reinstalled plugin on Obsidian and generated a new API key but same result. Interestingly it brought across 3 files from archive folder but then same result on refresh. I'd be very grateful if you could find a fix.

Version 1.3.3 getting "Failed to fetch articles". I reinstalled plugin on Obsidian and generated a new API key but same result. Interestingly it brought across 3 files from archive folder but then same result on refresh. I'd be very grateful if you could find a fix.

Make sure even when you reinstall that you remove the value of Last Sync in the Omnivore plug-in settings. This tells the plug-in to not bring anything over that is older than that date.

Hey guys, Omnivore plugin 1.4.0 is out.
I hope it will solve all the issues with parsing YAML in the front matter and the sync will continue even if there was a parsing error.
Additionally, now you can create an alias for the metadata in the front matter in the format of metadata::alias. For example, state::status will create a metadata status to represent the state. The available metadata could be found here.
Screenshot:

Moreover, for users with the need to put hardcoded metadata in the front matter or some other advanced usage, we have added a "front matter template" section under the advanced settings. It will be override the "Front matter" if set. Sample template could be found here.
Screenshot:

Heyy All, great update!! such amazing developments!! works well on my iphone, but for some reason not on my windows machine
the thing i have done:

front matter template
API key
last sync
have put all the same settings as my iPhone
uninstall
reinstall

Looking forward to an answer

Hi All, for some reason I do not understand (on my windows machine) it still notifies failed to fetch articles
On my iPhone and iPad the obsidian plugin just works fine.
what I tried till now:

copied the obsidian vault folder of my iphone to my windows machine (with as result: it works shortly and then stops functioning)
use the exact same frontmatter template as my iphone obsidian vault
tried the standard template from the website
deleted the last sync
uninstalled and reinstalled

hope that anyone has some idea that can help

Hi All, for some reason I do not understand (on my windows machine) it still notifies failed to fetch articles On my iPhone and iPad the obsidian plugin just works fine.
what I tried till now:

copied the obsidian vault folder of my iphone to my windows machine (with as result: it works shortly and then stops functioning)
use the exact same frontmatter template as my iphone obsidian vault
tried the standard template from the website
deleted the last sync
uninstalled and reinstalled

hope that anyone has some idea that can help

Same here. 1.4.0 has this issue too. So far,1.2.3 works best without such issue. So, roll back to version 1.2.3.

I need to verify this on Windows, but I believe the issue I've seen is emoji's in titles causing invalid Window's file names.

Hey @w36zl @legend053 , thanks for reporting.
After some research, we found out that it's the control characters in the filename caused the error on Windows and it has be fixed in the latest version 1.4.1.
Could you please upgrade your plugin and let me know if it works for you?
Thank you!

That's great! Thank you will check when I returned home 🤩

Yeeeeey 😍😍😍 it's working! Such a joy!! Thank you

I'm experiencing an issue when trying to fetch files with Japanese characters in their filenames using the Omnivore plugin in Obsidian.
The error I encounter is:
Error: EINVAL: invalid argument, open 'H:\Omnivore\2023-06-20\ - Wikipedia.md'
It seems that the Japanese characters are not being included in the filenames.
Example of original file name
"'( Japanese characters ) - Wikipedia.md'
The Filename setting in the Omnivore plugin, which I've configured to use {{{title}}} for the file name, appears to be causing this issue. When I adjust this setting to {{{dateSaved}}}, the file fetch is successful, even for webpages with a Japanese title
This problem doesn't occur when the same Wikipedia article is in English.

@SAK59823 sorry, there is a bug with the current version and I'm fixing it now. Should be done pretty soon

@sywhb, is it possible to latinize titles for filenames? not for all, but optional, of course.

Hey @SAK59823 , I just released 1.5.1 to fix this bug ;)

@sywhb, is it possible to latinize titles for filenames? not for all, but optional, of course.

Hey @LightTemplar , currently we do not latinize titles for filenames but I will take at some libraries that we can use

Hey @SAK59823 , I just released 1.5.1 to fix this bug ;)

Thank you!!

I still face this problem, and my version is 1.5.3.
The only information is:
Failed to fetch articles

And I have set

API key
template as methioned in above discussion.
local save folder

Hey @wieniawski-lai , would you mind sharing with me your username so I can check in the backend?

Hey @wieniawski-lai , would you mind sharing with me your username so I can check in the backend?

My username is wieniawski in omnivore.

@wieniawski-lai Thank you! I have found the API call made by the plugin is successful and results have been returned so I guess the error comes from the plugin itself.
Would you mind sharing with me the article template config in your plugin settings?

@wieniawski-lai Thank you! I have found the API call made by the plugin is successful and results have been returned so I guess the error comes from the plugin itself.
Would you mind sharing with me the article template config in your plugin settings?

sure, pls see below
# {{{title}}}
#Omnivore

[Read on Omnivore]({{{omnivoreUrl}}})
[Read Original]({{{originalUrl}}})

{{#highlights.length}}
## Highlights

{{#highlights}}
> {{{text}}} [⤴]({{{highlightUrl}}}) {{#labels}} #{{name}} {{/labels}} ^{{{highlightID}}}
{{#note}}

{{{note}}}
{{/note}}

{{/highlights}}
{{/highlights.length}}

Hey @wieniawski-lai , sorry for the late reply. I have released 1.6.0 to address a few fetching issues.
Could you please kindly upgrade your plugin and re-sync all the articles?
We need to clear this "Last Sync" config in the plugin settings and then click on the sync icon again.

thx, @sywhb
I have updated to v1.6.0, and clear "Last Sync" as you said.
Besides, on windows, my folder to save synced data is
E:/backup/note/0.MISC/5.Omnivore/{{{date}}}

And at this time, there is not error happens. However, I still can not find any md file under E:/backup/note/0.MISC/5.Omnivore/{{{date}}}
Is there any log that I can see?

Thanks for the reply @wieniawski-lai .
I think the "Folder" and "Attachment Folder" should be relative path in the Vault.

We do not support saving notes to a different vault for now

thx, @sywhb
I have changed it into relative path in the Vault.
but some thing happens.

above message reported, but nothing is downloaded in to the folder I set.

@wieniawski-lai , did you also clear the lastSync timestamp before syncing? Or you could try to use command palette (Control + P), search for resync and click on the "Omnivore: Resync all articles"

I ran into this error just now and resolved it by closing & reopening Obsidian. I had made a lot of organizational changes with folder names, moving folders, etc. The plugin had the correct new folder for import but it didn't work until after restart.

@wieniawski-lai , did you also clear the lastSync timestamp before syncing? Or you could try to use command palette (Control + P), search for resync and click on the "Omnivore: Resync all articles" in Obsidian.

I also did you what you said to clear the lastSync before syncing. However, there is still nothing downloaded.
My question is that is there any log that I can see to debug the whole processing?

@wieniawski-lai , that is so weird.
To view the logs, you could Toggle the Developer Tools

@wieniawski-lai , that is so weird.
To view the logs, you could Toggle the Developer Tools

hmm,
I didnot see menu bar in my obsidian as yours:

Does it because of obsidian theme?

@wieniawski-lai , probably it's because I'm using MacOS.
If you would like to access developer tools, you can find it in the menu bar (View > Toggle Developer Tools) or use the hotkey (cmd+ option + i on Mac and ctrl + shift + i for Windows).

Hey @legend053 @trwolfe , sorry for the mess.
May I have a look at your template settings? If possible, could you also show me a screenshot of the developer console so I could have a better understanding of the error

I only added the {{{content}}} at the end. Is that in the wrong spot?
`---
id: {{{id}}}
title: >
{{{title}}}
{{#author}}
author: >
{{{author}}}
{{/author}}
{{#labels.length}}
tags:
{{#labels}} - {{{name}}}
{{/labels}}
{{/labels.length}}
date_saved: {{{dateSaved}}}
{{#datePublished}}
date_published: {{{datePublished}}}
{{/datePublished}}
{{{title}}}
#Omnivore
Read on Omnivore Read Original
{{#highlights.length}}
Highlights
{{#highlights}}

{{{text}}} ⤴ {{#labels}} #{{name}} {{/labels}}
{{#note}}

{{{note}}} {{/note}}
{{/highlights}} {{/highlights.length}}
{{{content}}} `

Hey @trwolfe , to use multiline string, we need to add two spaces before the {{{title}}} on the next line in the front matter.
This is invalid
title: >
{{{title}}}

And below is valid:
title: >
  {{{title}}}

Hi! I'm sorry but I don't know where I have to write down that so my file is named after the title without special characters.
I have the "Front Matter" field where I set the alias, date_saved, etc... and then the "Article template" where all the information goes on the file.
Thanks for the help!


When typing an update on Bastyon, edit box doesn't scroll into view

Describe the bug
When I type an update in Bastyon app on Android, edit box doesn't scroll into view and I end up not seeing the cursor or what I am typing.
To Reproduce

Open Bastyon app on android
Click on white cross in the blue icon to create a new post
Tap on the edit box that has "What's new?" placeholder
Expected: The edit box scrolls into view an I can see the cursor and what I am typing
Actual: The edit box doesn't scroll into view. I can however still type characters, it's just I don't see what I am typing.

Screenshots
Before tapping in the edit box

After tapping on the edit box

Smartphone (please complete the following information):

Device: Samsung Galaxy S20 FE 5G
OS: Android 12 with One UI version 4.1
Browser: Bastyon App
Version 1.7.17

Thank you for your response! Could you please move this issue to the repository https://github.com/pocketnetteam/pocketnet.gui

Closing since the issue got moved into https://github.com/pocketnetteam/pocketnet.gui/issues/783


(PUP-5938) Fix localized_domain test mocks

A new method localized_domains was introduced in 05d1ca2 to
Puppet::Util::Windows::ADSI::Shared to handle properly generating
URIs when the names BUILTIN and NT AUTHORITY are localized on
non-English versions of Windows.
At that time, the calls should have been mocked in:

provider/group/windows_adsi_spec.rb
provider/user/windows_adsi_spec.rb

The calls actually touch the system, and depending on test
ordering and how calls to name_to_sid_object are mocked, the code
execution path could produce failures.
Fix this oversight by simply mocking the return values for
localized_domains as they are not needed for these tests.

Paired-with: Daniel Lu<EMAIL_ADDRESS>

This has already passed as #5137 against master branch...

CLA signed by all contributors.


Webhook Doesn't send any data

What I'm trying to achieve
…
I have deployed saleor core 2.11.1 stable version to AWS EC2 Running Docker Container, The moment i create any object like customer or product. Though Webhook Should get triggered but its not sending any data .
Steps to reproduce the problem

What I expected to happen
…
Screenshots and logs

System information

Saleor version:

[ ] dev (current master)
[ ] 3.0
[X ] 2.11
[ ] 2.10

Operating system:

[ ] Windows
[ X] Linux
[ ] MacOS
[ ] Other

Webhook sending is done by worker instance. Have you deployed one?

Well below is my dockerrunaws.json for elasticbeanstalk , how i can add worker node there any idea, i dont see in documentation
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "codersudip/saleorcorestable:latest",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "8000"
}
]
}

This doesn't look like a relevant issue anymore, please reopen if there are any issues with webhook delivery in the newest version of Saleor.


vcd: add support for flatcar

Signed-off-by: Waleed Malik<EMAIL_ADDRESS>What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Optional Release Note:

VMware Cloud Director now supports flatcar

/test pull-machine-controller-e2e-vmware-cloud-director

/test pull-machine-controller-e2e-vmware-cloud-director

/test pull-machine-controller-e2e-vmware-cloud-director

/retest

/test pull-machine-controller-e2e-vmware-cloud-director

/test pull-machine-controller-e2e-vmware-cloud-director

/test pull-machine-controller-e2e-vmware-cloud-director


compiled dll?

is it possible for you to release a compiled dll?
the source doesn't compile.

Sorry, I don't know why I didn't get the notification email from GitHub.
The source has a dependency, namely IbWinCppLib. As shown at the end of Cpp.vcxproj, if you wish to compile the source, you must put IbWinCppLib in C:\L\C++\packages, or you will get a build error. If you don't want to do that, you could just merge IbWinCppLib into the project, and change the Cpp.vcxproj and #Include statements in the source properly. Here is a simple example, built successfully under VS 2019:
example.zip
This is surely a bad way to organize the project. I'm going to learn CMake to make the library easier to use.

If you need to use it in .NET, I can write a port/binding for .NET by C++/CLI.

If you need to use it in .NET, I can write a port/binding for .NET by C++/CLI.

that would be helpful if you don't mind, thanks.


STM32L0 loader run error

I'm using STM32L0538-DISCOVERY board. First flashing of st-flash is working correctly, but ERROR message is shown:
2014-10-02T12:30:28 ERROR src/stlink-common.c: flash loader run error
2014-10-02T12:30:28 WARN src/stlink-common.c: l1_run_flash_loader(0x8000000) failed! == -1
2014-10-02T12:30:28 WARN src/stlink-common.c:
write_half_pages failed == -1

Secondary run fails on verification:
2014-10-02T12:30:02 INFO src/stlink-common.c: Starting Half page flash write for STM32L core id
2014-10-02T12:30:02 INFO src/stlink-common.c: Successfully loaded flash loader in sram
  4/4 halfpages written
2014-10-02T12:30:02 INFO src/stlink-common.c: Starting verification of write complete
2014-10-02T12:30:02 ERROR src/stlink-common.c: Verification of flash failed at offset: 0
stlink_fwrite_flash() == -1

Note, that number of pages here are doubled, on first run there was only 2 pages. Unpluggins ST-LINK power, or running with --reset option solves the problem.
ST-LINK fw version (by win original tool): V2.J21.M5 STM32 Debug+Mass storage

I have the same problem.
I was finally able to blink a LED with the kit, repeatably, with following procedure:
1, Use external or internal ST-link of STM32L053 disco board, with e-paper display
2, hit reset button
3, run st-flash as usual
4, it finishes like this http://pastebin.com/PezEcf9b - FLASH content is not loaded, but FLASH is erased!
5, hit reset button
6, run st-flash again
7, now it finishes OK, like this http://pastebin.com/Gy30LEMs though with errors and warnings, not sure about it
8, hit reset button to run the application (usually the MCU is resetted after programming FLASH)
9, goto 2 (not 6! - it really needs one reset/run st-flash cycle before each FLASH programming step)
Strange is that at first it tries to reprogram 12 halfpages, then just 6. It also takes longer than I'm used to from STM32F0 of F4 - notice the 3 seconds delay after "Successfully loaded flash loader in sram" line.

I solved problem by switch from st-flash to openocd, which is fully supports also "connect after reset" and much faster actually.

Meh... good for you, but this is not solution of the reported issue.

Sorry, wrong button :)

i belive that loader code for L0 devices is broken
i prepared an alternative one while working on support for L073x (category 5) device
check out my repo
for now loader for category 3 (ie L053x) and category 5 (L073x) devices is separate
so if you want to check my loader make changes in stlink-common.c lines 1691-1692
i would be grateful if someone can test it so we can have just one loader for L0 family (i dont have access to L053x device)

I made a quick test with a custom board with a STM32L051K6T6 with the modified loader. With several
errors and warnings but finally st-util through gdb uploaded a code.
The first two pages are written without error. After errors were:

2016-03-27T21:53:14 ERROR src/stlink-common.c: flash loader run error
2016-03-27T21:53:14 WARN src/stlink-common.c: l1_run_flash_loader(0x8000b00) failed! == -1
2016-03-27T21:53:14 WARN src/stlink-common.c: write_half_pages failed == -1

But for same page the verification seems OK:

0/  1 pages written
2016-03-27T21:53:14 INFO src/stlink-common.c: Starting verification of write complete
2016-03-27T21:53:14 INFO src/stlink-common.c: Flash written and verified! jolly good!

After a board reset the very simple program works correctly

thanks for checking
i'm not sure if the errors are ok - i'm not observing any on L073x
if flashing using a loader fails the same data will by written word-by-word instead in half-pages
that is way slower
on the other hand there is a comment in stlink-common.c:1972 that states that writing half-page may fail on "blank" device, whatever that means

i got hold of L053R8 Nucleo board and verified that:

stock loader does not work for it either
loader for L073 works ok, transfers around 3KB/s
so i unified the loader for Category 3 and 5 devices

@kaliczp
as for L051 - i don't know what the differences are between L0x3 and L0x1 families, after quick glance at reference manual i could not find anything meaningful

@gluedig as you tested it, this seems to be fixed now right?

Should be fixed in current master. As there where still issues with STM32L0 after release of v1.2.0. Feel free to open a new issue when the problem still exists.

Lost track of this issue due to several occurrences and versions. Requires complete re-testing IMHO.

@alexeyk13 : I am currently reviewing old leftovers.
Is this resolved with Release v1.2.0? Please verify.


Add new file directory and pattern sample security policies

This PR also updates the multiubuntu Dockerfile.

Codecov Report

Merging #400 (faaa6be) into master (2489bcb) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #400      +/-   ##
==========================================
- Coverage   37.03%   36.98%   -0.05%
==========================================
  Files          21       21
  Lines        9057     9057
==========================================
- Hits         3354     3350       -4
- Misses       5338     5343       +5
+ Partials      365      364       -1

Impacted Files
Coverage Δ

KubeArmor/core/dockerHandler.go
53.30% <0.00%> (-10.51%)
:arrow_down:

KubeArmor/common/common.go
47.19% <0.00%> (-1.69%)
:arrow_down:

KubeArmor/monitor/systemMonitor.go
32.93% <0.00%> (-0.41%)
:arrow_down:

KubeArmor/feeder/policyMatcher.go
37.02% <0.00%> (+1.04%)
:arrow_up:

KubeArmor/enforcer/appArmorProfile.go
26.40% <0.00%> (+1.44%)
:arrow_up:

Continue to review full report at Codecov.

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