Convert UserAction logging to use signals

NetBox records use activity as UserAction objects. Currently, these are created explicitly inside views. In order to standardize their creation and integrate with the new API, we NetBox should utilize Django's signals to control the creation of UserActions.

I like this approach a lot. It will tie nicely into #81.

This should solve #403

Actually, I'm not sure this is feasible. Django's post_save and post_delete signals unfortunately don't pass the request context, so we have no way of determining the user responsible for an action (which we need to record in the UserAction). We might just have to keep handling this in the views.

Could we not create our own signals to handle this? I agree, it would be more elegant if post_save and post_delete were feasible, but I think there is still a way to do this and set it up for future extension via #81

The django-audit-log project has a really clever way of handling this. It uses process_request in middleware to create a curried function which has been passed request data (the user) and connect it to the pre_save signal.

Folding this into #1898


Window::onMove not fired on AIR target

When I use appWnd.onMove.add(...) the callback is never called on AIR target. I was able to listen to MOVE events using NativeWindow directly like this:
cast(appWnd.stage, Stage).nativeWindow.addEventListener(NativeWindowBoundsEvent.MOVE, ...)
but it would be nice to be able to use standard Window::onMove so the code could be platform independent.

Thanks for noticing this!
Could you try the above fix and see if it fixes it for you?

Sorry for late response, I had some difficulties building lime from source. Yes, the above fix works for me, thank you! But I noticed that onResize event is also not fired. Should I create new issue?

I'm getting resize events here, but perhaps AIR behaves differently with certain window modes?
I just used the following test code in a new OpenFL project:
package;

import openfl.display.Sprite;

class Main extends Sprite
{
	public function new()
	{
		super();

		stage.window.onResize.add(function(w, h) {
			trace ("RESIZE: " + w + ", " + h);
		});
	}
}

Oh, my bad, It actually works correctly, sorry for bothering you. Thanks again for the above fix, much obliged!


Mobile menu

Mobile Menu
In this branch, I used Javascript and DOM manipulation to make the hamburger menu of the mobile version interactive. I did this by:

Modifying the HTML and CSS of the navigation menu and adding transitions to activate them on a click event.
Adding and linking a myscript.js file to contain the event listeners.
Creating event listeners to activate and deactivate the menu on any click event.
Modifying the HTML and CSS to closely mimic figma template three design.
Fixing linter errors to ensure the code is clean and in line with HTML, CSS, and JS best practices.

Hi @Thoth1111 and @HanaSabih, kindly update your app's key features and futures features in your readme

I've updated the ReadMe.md file in the master branch. I had set up the Javascript linters prior but assumed that the linters.yml file was similar to what I had before. I have replaced it with the Javascript one since I can't have two files with the same name. EsLint is now included in the last check.

Hi @Thoth1111 please update the readme in this current branch you are requesting review for, please use the Html, CSS and javascript linters

I've changed the readme on the current branch and set up all linters now.


Train gui glitch

Description
With Train Groups mod installed the locomotive gui has a glitch on the bottom that overlaps some button in schedule when the schedule is longer. It happens on every save I have. Testet it with vanilla 1.1.76, flib 0.12..4 and Train Groups 1.3.3 on windows 10
Reproduction

Thanks for the report. This is actually a bug in the base game, and has been fixed for the next version of the game.


How to connect to boot2docker?

Hi,
I'm curious about how to connect to the boot2docker VM in Windows?
I've already tried using the boot2docker IP but it hasn't work for me. Ideas?

It is a very common use case.
Check your network settings at the virtualization layer. (virtualbox, etc)
Just test it with a telnet from the Windows box (host).


refactor: documentation

What does this pull request change?

Restructure documentation
Change documentation tool to https://docusaurus.io/
Rename @dmt/common to @data-modelling-tool/core

Why is this pull request needed?

It is the first step to improving the quality of documentation

Issues related to this change

got an error when trying to start the app

Here is what I tried:

yarn install from web folder
run docker-compose up --build

got an error when trying to start the app
Here is what I tried:

yarn install from web folder
run docker-compose up --build

This was wrong and should now be fixed. Updated wrong place.

Looks good. But agree with @KristianKjerstad. Should not reintroduce any unnecessary ts-ignore

All newly introduced @ts-ignore's have been removed


WFLY-5571 Intermittent failure in ModelPersistenceTestCase.testSimple…

…Operation
It should fix the problem, in worst case it will give us some better info what is going on.
Also moved test from full to core.

Core - Full Integration Build 2158 outcome was FAILURE using a merge of ff92923f7ac1c4d773ea0dc9122e15fdaf77fa62
Summary: Tests failed: 1 (1 new), passed: 3282, ignored: 363 Build time: 00:51:44
Failed tests
org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs: java.lang.AssertionError: Reply message was null on reply queue: ActiveMQQueue[ejb2x/replyQueueB]
	at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs(MDB20TopicTestCase.java:119)
------- Stdout: -------
 [0m16:00:51,713 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment mdb.jar (runtime-name: mdb.jar) in 51ms
 [0m [0m16:00:51,720 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /opt/buildAgent/work/db872761b443af46/full/testsuite/integration/basic/target/jbossas/standalone/data/content/26/1b8e1f8c8d9583fa40610965cc39b2c97a4958/content
 [0m [0m16:00:51,720 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "mdb.jar" (runtime-name: "mdb.jar")
 [0m16:00:51,734 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "remove",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "ejb2x/queue")
    ]
}
16:00:51,747 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "remove",
    "address" => [
        ("subsystem" => "messaging-activemq"),
        ("server" => "default"),
        ("jms-queue" => "ejb2x/replyQueue")
    ]
}
16:00:51,752 INFO  [org.jboss.as.test.integration.ejb.mdb.ejb2x.AbstractMDB2xTestCase] (main) MDB20TopicTestCase.jar:
/org/
/org/jboss/
/org/jboss/as/
/org/jboss/as/test/
/org/jboss/as/test/integration/
/org/jboss/as/test/integration/ejb/
/org/jboss/as/test/integration/ejb/mdb/
/org/jboss/as/test/integration/ejb/mdb/ejb2x/
/org/jboss/as/test/integration/ejb/mdb/ejb2x/MDB20TopicTestCase$JmsQueueSetup.class
/org/jboss/as/test/integration/ejb/mdb/ejb2x/EJB2xMDB.class
/org/jboss/as/test/integration/ejb/mdb/ejb2x/AbstractMDB2xTestCase.class
/org/jboss/as/test/integration/common/
/org/jboss/as/test/integration/common/jms/
/org/jboss/as/test/integration/common/jms/JMSOperations.class
/org/jboss/as/test/integration/common/jms/JMSOperationsProvider.class
/org/jboss/as/test/integration/common/jms/ActiveMQProviderJMSOperations.class
/org/jboss/as/test/integration/common/jms/JMSOperationsException.class
/org/jboss/as/test/shared/
/org/jboss/as/test/shared/TimeoutUtil.class
/META-INF/
/META-INF/MANIFEST.MF
/META-INF/ejb-jar.xml
/META-INF/jboss-ejb3.xml
 [0m16:00:51,764 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 65) AMQ221003: trying to deploy queue jms.topic.ejb2x/topic
 [0m16:00:51,776 INFO  [org.jboss.as.test.integration.common.jms.JMSOperationsProvider] (main) Operation successful for update = {
    "operation" => "add",
    "address" => [
        ("subsystem" => "messaging-activemq"),

unrelated failure

retest this please


Simple action to add a comment with preview link to the PR

This PR adds an action to make a comment in each newly opened PR giving a link to a preview of the rendered book.
The preview machinery itself is not in this PR, I'm working on it over in #7, but I need this action to be merged first so it can run from main (otherwise it won't run at all and we can't test it).

@mgrover1 I will merge this one now just to facilitate some testing of the preview infrastructure.

Sounds good @brian-rose ! Thanks!


Release tests are failing on format
@maobaolong

@maobaolong the related failed logs when trying to format the HDFS
2020-12-14 10:24:04,839 INFO  UfsJournal - Formatting hdfs://master_adress/alluxio_journal/BlockMaster/v1
2020-12-14 10:24:04,847 ERROR Format - Failed to format
java.io.IOException: Failed to create hdfs://master_adress/alluxio_journal/BlockMaster/v1
at alluxio.master.journal.ufs.UfsJournal.format(UfsJournal.java:439)
at alluxio.master.journal.ufs.UfsJournalSystem.format(UfsJournalSystem.java:205)
at alluxio.cli.Format.format(Format.java:124)
at alluxio.cli.Format.main(Format.java:98)

alluxio-bot, merge this please

@LuQQiu @apc999 Thank you for revert the problem commit, and sorry for the affect.
After a quick look at the related code, I found some following possible problem.

  public void format() throws IOException {
    URI location = getLocation();
    LOG.info("Formatting {}", location);
    if (mUfs.isDirectory(location.toString())) {
      for (UfsStatus status : mUfs.listStatus(location.toString())) {
        String childPath = URIUtils.appendPathOrDie(location, status.getName()).toString();
        if (status.isDirectory()
            && !mUfs.deleteDirectory(childPath, DeleteOptions.defaults().setRecursive(true))
            || status.isFile() && !mUfs.deleteFile(childPath)) {
          throw new IOException(String.format("Failed to delete %s", childPath));
        }
      }
    } else if (!mUfs.mkdirs(location.toString())) {
      throw new IOException(String.format("Failed to create %s", location));
    }

The mUfs in the above format method, I think it wasn't the hdfs UnderFilesystem, it maybe local UnderFilesystem.
Because the following method

  @Override
  public UfsClient getJournal() {
    synchronized (this) {
      if (mJournalUfsClient == null) {
        addMount(IdUtils.UFS_JOURNAL_MOUNT_ID, new AlluxioURI("/dummy_journal_mount_point"),
            UfsJournal.getJournalUfsConf());
        try {
          mJournalUfsClient = get(IdUtils.UFS_JOURNAL_MOUNT_ID);
        } catch (NotFoundException | UnavailableException e) {
          throw new RuntimeException("We should never reach here", e);
        }
      }
      return mJournalUfsClient;
    }
  }

The ufsUri is /dummy_journal_mount_point, so the UnderFilesystem cannot be HdfsUnderFilesystem.

Seems we cannot use master.getMasterContext().getUfsManager().getJournal().acquireUfsResource().get() to replace UnderFileSystem.Factory.create(location.toString(), getJournalUfsConf() simply.

@maobaolong  thanks for getting to the root cause, mind creating a new PR with test covered?

@apc999 Now, I have no idea to fix this PR, let me think about it 🤔

@LuQQiu  can you help Baolong on more details? e.g., command we run? or more logs?

@apc999 @LuQQiu A new fix PR just created, Hope to fix this issue, if you have a test, I'd like to run it on local.


fix log to standard out

According to this post it is required to use -logfile - to output to standard out.
We could also consider adding an options parameter for logfile so it could be outputted to a file and perhaps default the option to - ? 🤔

Thank you! It would be nice to have that option. I will add and test it later.


Space separated features not working from command line

When I add it in the Cargo.toml, it works, but when trying to use multiple features from command line I get an "Invalid arguments" error. It works with a single feature.
https://github.com/bvssvni/start_piston
$ cargo build --features include_gfx include_sdl2
Invalid arguments.

Usage:
    cargo build [options]

$ cargo -V
cargo 0.0.1-pre-nightly (a58ffd7 2015-02-27) (built 2015-02-27)

Right now that's being parsed as include_gfx as the argument to --features and include_sdl2 as an argument to cargo build I think you may want to change your invocation to:
cargo build --features "include_gfx include_sdl2"

@alexcrichton Thanks!


Merge item_background.gd into item.gd

Fixes #16.
See test/merge_item_scripts for updated test scene with TextureFrames and an Area2D using the same item.gd script.
This PR also fixes the path to terrain.gd.

CC @StraToN. Looks like a good simplification.

All good indeed, that's just what we needed actually. item.gd can now be applied on both Area2D nodes and also TextureFrame nodes.


boot.loader.grub: add extraInstallCommands option

Motivation for this change
We might want to execute some commands after the bootloader has been installed along with its menu entires, eg for signature checks. This option adds an easy way to do that for GRUB.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-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)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/is-it-possible-to-have-a-config-system-overlay/10783/4

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/is-it-possible-to-have-a-config-system-overlay/10783/4

@otavio @Mic92 Is there any news on the review of this patch?

@otavio @Mic92 Is there any news on the review of this patch?

For me it's fine. I cannot merge it so I think someone else needs to review it.

For me it's fine. I cannot merge it so I think someone else needs to review it.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/450

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/450

@GrahamcOfBorg test installer

@GrahamcOfBorg test installer

@GrahamcOfBorg test grub

@GrahamcOfBorg test grub


cli: add "cilium bpf config list"

This PR introduces the possibility to list the content of the BPF map cilium_runtime_config via the cilium cli command cilium bpf config list.
In addition, these information are dumped during sysdump with the bugtool.

removed review-request for @aditighag - as @dylandreimerink covered sig-datapath. L2Announcement (by dylan) is also using the runtime config map.

rebased to main to get rid of jenkins checks :)

/test


Feat/raft transport comp (#180)

I have completed the initial implementation of the raft transport. Can you review it and let me know if there are any issues or if it looks good? Thank you.

Can you directly submit the code to the branch of the main project ByteStorage/FlyDB in the later stage, so that we can switch branches for viewing, which will be more convenient!

If all the components of the raft are implemented, we can test whether they can be used normally in this way:

Start three store nodes through grpc and create one new raft node each

Obtain the number of peers in the store cluster and the leader of cluster, observing if they can be successfully obtained

Close one of the store nodes

Observe again whether the number of peers in the store cluster and the leader of cluster can be successfully obtained

Restart the recently closed store node

Observe whether the number of peers in the store cluster has returned to normal

Can you share your opinion?


Columns of references are wrong when using tabs

Ideally, tabs would be stored as 1 column instead of 8 columns in references, as said in this internal issue.
If that isn't fixed, then perhaps this could be fixed by making middleware for getting references, creating a lexer for each file, counting the preceding tabs on the line, and adjusting the output column with a tab size of 8. That would be more complicated at runtime.

Fix: the references should have a length of 0, no matter what.

Fixed in https://github.com/stinb/sti/commit/41dcd5d2260bce7be80e428224475dbae1a7c3d2

What it looks like now:

What it could look like if improved:

This improvement will be available in the release of Understand 7.0.


Wouldn't be nice to have a @switch directive in Blade?

Something like this:
@switch($var)
    @case('value')
    // html
    @break
@endswich

This will be much better than a lot of @if statements.

I'd rather @if or if the html blocks are huge, use an @include("template.$var") which pulls the right template. Seems shorter and easier to understand IMO.

@BrandonSurowiec nice aproach. Thanks!

@marcoskubis My pleasure.


Append rows to an "AllTransactData_DO_NOT_EDIT" .csv file in the app's working directory.

Currently, a spreadsheet report is created in the folder where the photos are pulled from. If a report already exists there, the existing report is renamed to a hidden "/.backup_transactData.csv" file.
We want to also create a report in the folder where WildSort is run, called "allTransactData_DO_NOT_EDIT.csv", if it does not already exist. If the file already exists, we want to append the data rows onto the end of the file.
The idea is that the file will act as a "central database" that does not require any experience with databases.

The reason for the "DO_NOT_EDIT" is that users should be using save-as to create a copy, before doing any visualization work.
It would be a good idea to add a README file to the same directory, with those instructions.


Rescue Psych::DisallowedClass in YamlSyntax

This improves the output for errors safe loading disallowed classes with psych 5.0
It would be nice to offer a way to specify permitted_classes somewhere. https://ruby-doc.org/3.2.0/exts/psych/Psych.html

Thanks for this. The failures seem unrelated to your change (I get the same failures without your changes). Will go ahead and merge.


Allow to delete / restart stuck generations

Sometime a generation fails (see https://www.vue0.dev/t/xdnyiqmc31a2). Therefore it would be nice to restart a generation or allow to simply delete it.

currently we have delete version/delete generation

In this case I can not delete it as its still running, so maybe that check needs to be removed.

If the generation stuck after 5 minutes, it can be regenerate with a new button added (only shown when stucked). Also allow deletion of generation/version when it is running


pass previous metadata to validate

Why + What changed

session no longer contains previous metadata info so passing it to validate doesn't make sense
let's just pass the metadata directly (this is the only thing in session we check in web anyways)
added a test for this

Versioning

[ ] Breaking protocol change
[x] Breaking ts/js API change

I forgot why we added in the first place, but looks good.

i think specifically to handle cases where you may reconnect with a token that says you are someone else (though i think this risk is mostly a non-issue)
in any case, this helps us disambiguate connect vs reconnect in the validation


Component Presentations using templates from the same region are always collapsed into a single region

If I have a page with the following CPS:
Teaser (2-column)
Teaser (2-column)
Article
Teaser (2-column)
Teaser (2-column)
When the page is rendered, the 2 groups of 2-col teasers will be collapsed into a single 2-col region, whereas what I expected, as an editor is for the article to appear between two separate 2-col regions.

If you want to have two Regions which use the 2-Column Region View, you should ensure that you define two Regions with distinct names. For that purpose, we introduced a Region Name metadata field next to Region View Name in DXA 1.2.

This sounds like I would need to duplicate all my component templates - so not an ideal solution - or do I misunderstand?

No, that's correct; you will need to have CTs for each distinct Region; the CTs don't represent much more than the MVC metadata.  In general, the currently solution for using CT metadata to indicate Region is not ideal, but a necessary evil until we get full Region support in SDL Web itself (which might happen this year :-))

I created a PR with what I think is a better solution. https://github.com/sdl/dxa-web-application-dotnet/pull/27

Second this as an improvement. Would be a big improvement if this functionality was enabled

+1

+1

+1

+1 (component presentation metadata would be the best solution)

TSI-1945 (internal issue ID for tracking purposes)

+1


changes made

Add the new branch for the code reviewer.

Highlights:
-Your functions have a good name.
-You had separate all your functions in different js files.
Requirement changes:
-Please, separate the logic from the UI management.
-Change the name index for a more descriptive name for an object.


Fixes to fs promises so that an electron built version runs

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes

This replaces fs-extra with fs and uses the fs.promises versions for the async calls
This fixes the issue that causes electron to fail to run complaining about Unhandled promise rejection.
In draft as tests now fail... need to discuss if it's the tests that need fixing or the code...
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[ ] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

/easycla

/easycla

Coverage remained the same at 67.632% when pulling 2fe78cf971c301d580896b51c57b31c20e38a386 on fs-promises into 17f98294980daed82d16e2bdcfacc030492f61fd on master.


epiphany: https won't work

It writes:

TLS/SSL support not available; install glib-networking

All versions I've found are affected, even on 15.09. Noticed here: https://github.com/NixOS/nixpkgs/issues/12298#issuecomment-173410110
First I thought adding the GIO module would help:
diff --git a/pkgs/desktops/gnome-3/3.18/core/epiphany/default.nix b/pkgs/desktops/gnome-3/3.18/core/epiphany/default.nix
index 5a98770..a620eb5 100644
--- a/pkgs/desktops/gnome-3/3.18/core/epiphany/default.nix
+++ b/pkgs/desktops/gnome-3/3.18/core/epiphany/default.nix
@@ -1,6 +1,6 @@
 { stdenv, intltool, fetchurl, pkgconfig, gtk3, glib, nspr, icu
 , bash, makeWrapper, gnome3, libwnck3, libxml2, libxslt, libtool
-, webkitgtk, libsoup, libsecret, gnome_desktop, libnotify, p11_kit
+, webkitgtk, libsoup, glib_networking, libsecret, gnome_desktop, libnotify, p11_kit
 , sqlite, gcr, avahi, nss, isocodes, itstool, file, which
 , gdk_pixbuf, librsvg, gnome_common }:

@@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
     for f in $out/bin/* $out/libexec/*; do
       wrapProgram "$f" \
         --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
+        --prefix GIO_EXTA_MODULES : "${glib_networking}/lib/gio/modules" \
         --prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
     done
   '';

but it didn't seem to change anything. @lethalman: any ideas what's missing?

I'm able to load https pages with epiphany 3.18 just fine.

So it's likely about something gnome3 is putting into environment? (I tested it without running gnome3.)

Your code has a typo, GIO_EXTA_MODULES instead of GIO_EXTRA_MODULES :)

And yes, gnome puts glib_networking by default in extra modules, that's why it works for me.

Ah, thanks! Fixing the typo fixed it for me :-)

Well, it fixed https but there are those bad certificates on google as reported originally.

@vcunat that depends on the cert bundle, which has to be set globally like for any other app. I don't think it's an issue with epiphany.

I don't know... curl and firefox are fine with the same URL.

glib networking uses /etc/ssl/certs/ca-certificates.crt, do you have that?

Yes, I do have those two symlinks. NixOS sets them up.

So it's an upstream issue, it happens only with google and some other sites, not with everything: https://bugzilla.redhat.com/show_bug.cgi?id=1284655

I think this update #12414 already includes an upstream fix. I'll test that.

Confirmed!

15.09 has fixes for both of these problems. Master will have after staging is merged, which should be in a couple days at most.

Now that staging is merged, I'm closing.


new feature: quota management system extend

Coverage decreased (-0.08%) to 65.282% when pulling bce0005218e47070503c87354fcdd727f517c4b5 on tianxiaoliang:master into 4802699eaae51ced4d1f5223b19ff3acd9039752 on go-chassis:master.


[SPARK-5648][SQL] support "alter ... unset tblproperties("key")"

make hivecontext support "alter ... unset tblproperties("key")"
like :
alter view viewName unset tblproperties("k")
alter table tableName unset tblproperties("k")

Can one of the admins verify this patch?

ok to test

Test build #26938 has started for   PR 4424 at commit 6dd8bee.

This patch merges cleanly.

Test build #26938 has finished for   PR 4424 at commit 6dd8bee.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26938/
Test PASSed.

ping marmbrus

@marmbrus  Could you merge it?


Upgrade httpoison to 1.7.0

New httpoison version includes fix of TLS failure that occurs when using OTP/23, which has been described in #105

Thanks for the p-r! I'll publish a new version later.

published 0.7.0 :)


docs(): minor typo fix

Checklist

Issue number for this PR: none
Docs included?: yes
Test units included?: ni
In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description
This pull request fixes a typo in CHANGELOG.md.

Thanks for the fix :)


Analysis scripts more fix

More fix/modification for processing script for data to be used as time-series input to e3sm_diags. Note that the default cfg files needs to be modified accordingly to reflect these changes, i.e. GPCP and Hadlsst data

@zshaheen Yes. The one with the bad time-bounds is HadlSST data. After using cdms2 to do sea ice masking, The time bounds was fixed simultaneously.


font fallback is stripped from .import file when importing fontdata

Tested versions

Reproducible in Godot 4.3-dev6
Reproducible in Godot 4.2.2

System information
Godot v4.3.dev6 - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU () - 12th Gen Intel(R) Core(TM) i7-12700H (14 Threads)
Issue description
The Advanced Import Settings for otf and ttf files allows you to specify fallback fonts, but whenever you load the project they will be deleted.
$ ~/bin/Godot_v4.3-dev6_linux.x86_64 -e --path fontfile_fallback/
Godot Engine v4.3.dev6.official.64520fe67 - https://godotengine.org
Vulkan 1.3.242 - Forward+ - Using Device #2: NVIDIA - NVIDIA GeForce RTX 3050 Laptop GPU

ERROR: Cannot open file 'res://.godot/imported/NotoSansCJKjp-Regular.otf-a610d2c3227669d49989938924363884.fontdata'.
   at: load (core/io/resource_format_binary.cpp:1189)
ERROR: Failed loading resource: res://.godot/imported/NotoSansCJKjp-Regular.otf-a610d2c3227669d49989938924363884.fontdata. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:281)
ERROR: Failed loading resource: res://NotoSansCJKjp-Regular.otf. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:281)
ERROR: ConfigFile parse error at res://Lato-Regular.ttf.import:27: Can't load resource at path: 'res://NotoSansCJKjp-Regular.otf'..
   at: _parse (core/io/config_file.cpp:304)
WARNING: res://font_variation.tres:3 - ext_resource, invalid UID: uid://v80au4dacx41 - using text path instead: res://Lato-Regular.ttf
     at: load (scene/resources/resource_format_text.cpp:457)
WARNING: res://font_variation.tres:3 - ext_resource, invalid UID: uid://v80au4dacx41 - using text path instead: res://Lato-Regular.ttf
     at: load (scene/resources/resource_format_text.cpp:457)

Seems like it's due to a dependency created by adding fonts to the fallbacks array... if the other font resources haven't been imported yet they are removed from the fallbacks array?
Some properties in godot4 are being saved this way, rather than fallbacks/0 = ExtResource(...) which I think is causing a bunch of issues. (the scene.gltf.import _subresources property also fails to be updated across renames!)
Steps to reproduce
Load the reproduction project. Lato-Regular.ttf.import will be modified and it's fallbacks set to []
it should remain as
fallbacks=[Resource("res://NotoSansCJKjp-Regular.otf"), Resource("res://DroidSansFallback.ttf")]
Minimal reproduction project (MRP)
fontfile_fallback.zip

Likely related, even when the fallback is valid, Godot complains that it has an invalid UID (while showing the correct UID).
WARNING: res://visual/fonts/FontMono.ttf: In external resource #0, invalid UID: uid://clpf84p1lfwlp - using text path instead: res://visual/fonts/Font.ttf

The main font has this: fallbacks=[Resource("res://visual/fonts/Font.ttf")]
The res://visual/fonts/Font.ttf file has this: uid="uid://clpf84p1lfwlp"

Closed by #92667


Compiling from OSX

Hello,
compiling the branch "v2.x" in OSX i get the following errors:
modules/editor_server/editor_server.h:88:43: error: a space is required between consecutive right angle brackets (use '> >')
                std::map<String, Ref<EditorServerService>> services;
                                                        ^~
                                                        > >
modules/editor_server/editor_server.cpp:4:10: fatal error: 'tools/editor/editor_settings.h' file not found
#include "tools/editor/editor_settings.h"
         ^

Best regards,
Daniele

Try add a space here std::map<String, Ref<EditorServerService> >


Test non-determinism

Seeing a test fail somewhat non-deterministically on the CI:
   Failed Dapr.Actors.Test.ApiTokenTests.CreateProxyWithRemoting_WithApiToken [7 ms]
  Error Message:
   System.Runtime.Serialization.SerializationException : Type 'Dapr.Actors.Test.ITestActor_.actorV1.mt.SetCountAsyncReqBody' with data contract name 'SetCountAsyncReqBody:urn:actors' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.
  Stack Trace:
     at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerializeWithSurrogate(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteWrappedMsgBodyToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)
   at Dapr.Actors.Communication.ActorMessageBodyDataContractSerializationProvider.MemoryStreamMessageBodySerializer`2.Dapr.Actors.Communication.IActorRequestMessageBodySerializer.Serialize(IActorRequestMessageBody actorRequestMessageBody) in /home/runner/work/dotnet-sdk/dotnet-sdk/src/Dapr.Actors/Communication/ActorMessageBodyDataContractSerializationProvider.cs:line 174
   at Dapr.Actors.DaprHttpInteractor.InvokeActorMethodWithRemotingAsync(ActorMessageSerializersManager serializersManager, IActorRequestMessage remotingRequestRequestMessage, CancellationToken cancellationToken) in /home/runner/work/dotnet-sdk/dotnet-sdk/src/Dapr.Actors/DaprHttpInteractor.cs:line 98
   at Dapr.Actors.Communication.Client.ActorRemotingClient.InvokeAsync(IActorRequestMessage remotingRequestMessage, CancellationToken cancellationToken) in /home/runner/work/dotnet-sdk/dotnet-sdk/src/Dapr.Actors/Communication/Client/ActorRemotingClient.cs:line 39
   at Dapr.Actors.Client.ActorProxy.InvokeMethodAsync(Int32 interfaceId, Int32 methodId, String methodName, IActorRequestMessageBody requestMsgBodyValue, CancellationToken cancellationToken) in /home/runner/work/dotnet-sdk/dotnet-sdk/src/Dapr.Actors/Client/ActorProxy.cs:line 219
   at Dapr.Actors.Test.ApiTokenTests.<>c__DisplayClass0_0.<<CreateProxyWithRemoting_WithApiToken>b__0>d.MoveNext() in /home/runner/work/dotnet-sdk/dotnet-sdk/test/Dapr.Actors.Test/ApiTokenTests.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
   at Dapr.TestClient`1.CaptureHttpRequestMessageAsync(Func`2 operation) in /home/runner/work/dotnet-sdk/dotnet-sdk/test/Shared/TestClient.cs:line 384
   at Dapr.TestClient`1.CaptureHttpRequestAsync(Func`2 operation) in /home/runner/work/dotnet-sdk/dotnet-sdk/test/Shared/TestClient.cs:line 355
   at Dapr.Actors.Test.ApiTokenTests.CreateProxyWithRemoting_WithApiToken() in /home/runner/work/dotnet-sdk/dotnet-sdk/test/Dapr.Actors.Test/ApiTokenTests.cs:line 28
   at Dapr.Actors.Test.ApiTokenTests.CreateProxyWithRemoting_WithApiToken() in /home/runner/work/dotnet-sdk/dotnet-sdk/test/Dapr.Actors.Test/ApiTokenTests.cs:line 38
--- End of stack trace from previous location where exception was thrown ---

Keeping this issue around as a reminder in case we see it again. Haven't seen it repro again or any issues reported in production.

This happened again here: https://github.com/dapr/dotnet-sdk/runs/2034727454


SPFx Solution as Teams Tab - Error: This call is only allowed in following contexts: ["settings"]. Current context: "content".

What type of issue is this?
other
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[X] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[X] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version 1.18.1
Node.js version  -16.19.0\
Teams Manifest - 1.16 (Tried also with 1.14)

Issue description
Trying to deploy SPFx solution to Teams, Outlook, and Apps...  When adding  Teams - it gives the below error, removed everything and added just simple div in component still same error.
Error details: Error: Error initializing application. Error: Error: Error initializing teams environment: Error: This call is only allowed in following contexts: ["settings"]. Current context: "content".

Below is manifest file
{
  "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
  "manifestVersion": "1.16",
  "packageName": "mypackage",
  "showLoadingIndicator": false,
  "id": "245296-345e-489c-1234-280455b23d",
  "version": "1.0",
  "developer": {
    "name": "meetroo",
    "websiteUrl": "",
    "privacyUrl": "",
    "termsOfUseUrl": ""
  },
  "name": {
    "short": "mypackage",
    "full": "mypackage"
  },
  "description": {
    "short": "mypackage name.",
    "full": "my package description"
  },
  "icons": {
    "outline": "app_outline.png",
    "color": "app_color.png"
  },
  "accentColor": "#004578",
  "staticTabs": [
    {
      "contentUrl": "
https://{teamSiteDomain}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26componentId=<webpartcomponetid>"
,
      "scopes": ["personal"],
      "entityId": "100001",
      "name": "mypackage"
    }
  ],
  "permissions": ["identity"],
  "validDomains": [
    "*.login.microsoftonline.com",
    "*.sharepoint-df.com",
    "spoppe-a.akamaihd.net",
    "spoprod-a.akamaihd.net",
    "resourceseng.blob.core.windows.net",
    "msft.spoppe.com"
  ]
}

Issue is resolved, problem was with url in teams manifest file where I missed to add locale parameters so if anyone facing similar issue...please double check the url is correct in teams manifest file.


Add support for the OAuth2TwoFactorEnable and Oauth2TwoFactorEnableCo…

…mplete templates
These new templates were added in version 1.42.0

Which version of github.com/FusionAuth/go-client does this work with?   Seems to work with 1.42.0 but not 1.43.0

I'm not sure how to verify if this works in go-client 1.43 but I do believe the 1.43.1 version of Fusion Auth API is expecting these fields when not using a source_theme_id:

Error: unexpected status code: 400(Bad Request) Errors: theme.templates.oauth2TwoFactorEnable: You must specify the [theme.templates.oauth2TwoFactorEnable] property. During a POST request this field may be omitted if you provide a sourceThemeId. theme.templates.oauth2TwoFactorEnableComplete: You must specify the [theme.templates.oauth2TwoFactorEnableComplete] property. During a POST request this field may be omitted if you provide a sourceThemeId.


Link in Github page text does not work

The "Getting Started" link in the front page description leads to a 404 error.

(I know this is not a code error so apologies if I have put this in the wrong place)

Yes, indeed, the link seems to be outdated.
Here is the correct URL: https://dialogic-docs.coppolaemilio.com/getting-started.html#1-installation--activation


Logger injection issue

Description
I went through all the steps to configure the dependencies.
When I run my application I got an exception:
System.MissingMethodException: Method not found: 'Void Telegram.Bot.TelegramBotClient..ctor(System.String, System.Net.Http.HttpClient, System.String)'.    at X.Extensions.Logging.Telegram.TelegramLogWriter..ctor(String accessToken, String chatId)    at X.Extensions.Logging.Telegram.TelegramLoggerExtensions.AddTelegram(ILoggingBuilder builder, TelegramLoggerOptions options)    at X.Extensions.Logging.Telegram.TelegramLoggerExtensions.AddTelegram(ILoggingBuilder builder, IConfiguration configuration)    at Program.<Main>$(String[] args) in C:\Users\avane\RiderProjects\api\src\LingoPractices.Api\Program.cs:line 39
I tried to add this project as project to my solution and this case works perfectly, but as nuget package does not.
Screenshots
Exception:

appsettings.json logger configuration

What version of .NET are you using?
Have you tried running the examples from this repository?

I use .NET 7
Yes, I have tried and it works as we expect.

Looks like the issue is fixed, thanks!


Consul health check path is not working

Describe the bug
Consul health check path is not working
Steps to reproduce
Steps to reproduce the behavior:

Add Consul:Discovery:HealthCheckPath configuration

Expected behavior
Health check endpoint should be added to service instance on consul portal but it only shows the default TTL check.

Environment

Steeltoe Version: NuGet package Steeltoe.Discovery.Consul 3.2.1
Platform: Local test / Azure
OS: Windows
.NET Version: .NET 5

Hi @sergiojrdotnet,
Thank you for reporting the bug, and I'm sorry for the delayed response! I've done some basic testing and can confirm that I'm seeing the same results even with an updated Consul nuget package and also with Consul server versions as old as 1.8, so it does not seem likely to me that this particular feature ever worked completely correctly. Unfortunately, the core Steeltoe team has a lot of work in flight already, so aside from confirming the bug report I'm not sure when we'll be able to make progress on a fix. Is this an issue important enough to you that you would consider tracking it down and contributing a fix?

I've had a glance at the code and found this block (IsHeartBeatEnabled is defined here) is the reason that setting isn't working as expected.
Adding this to appsettings looks weird and wrong, but (as a quick hack) does appear to result in an enabled HTTP health check on the custom path:
  "Consul": {
    "Discovery": {
      "HealthCheckPath": "/my/custom/health",
      "HeartBeat": {
        "Enabled": false
      }
    }
  }

I've had a glance at the code and found this block (IsHeartBeatEnabled is defined here) is the reason that setting isn't working as expected.
Adding this to appsettings looks weird and wrong, but (as a quick hack) does appear to result in an enabled HTTP health check on the custom path:
  "Consul": {
    "Discovery": {
      "HealthCheckPath": "/my/custom/health",
      "HeartBeat": {
        "Enabled": false
      }
    }
  }

It turns out our version of "As expected" was based on a assumptions due to missing detail in the documentation around TTL/HeartBeat checks and HTTP/Health Checks. The requirement to disable HeartBeat is actually "as designed" and not a hack.
I've added an issue to improve the docs and open to more input on improving how this works - especially with #1245 still open


[6.0.0-beta.6] ng serve --aot=true throws error

Versions
Angular CLI: 6.0.0-beta.6
Node: 9.7.1
OS: darwin x64
Angular: 6.0.0-beta.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Repro steps

npm install -g @angular/cli@next
set es2015 in tsconfig.json
use (required because of es2015) --aot=true with ng serve

Observed behavior
$ ng serve --aot
Schema validation failed with the following errors:
  Data path "" should NOT have additional properties (aot).
Error: Schema validation failed with the following errors:
  Data path "" should NOT have additional properties (aot).
    at MergeMapSubscriber.registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (/Users/benneq/Development/ng6/node_modules/@angular-devkit/architect/src/architect.js:218:39)
    at MergeMapSubscriber._tryNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:122:27)
    at MergeMapSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:112:18)
    at MergeMapSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
    at MergeMapSubscriber.notifyNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:145:30)
    at InnerSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/InnerSubscriber.js:23:21)
    at InnerSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
    at MapSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/operators/map.js:85:26)
    at MapSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
    at SwitchMapSubscriber.notifyNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/switchMap.js:126:30)

Desired behavior
aot should work with ng serve, because else es2015 will not work.
Mention any other details that might be useful (optional)

Possible duplicate of #9994

Why is my issue a duplicate, if it was there before #9994 :D
But yes, seems to be the same issue: Serve / Dev Properties are broken.

@benneq sorry I didn't pay attention to this. I'm just trying to help :)
Check my reply in the other issue it might help you till this gets fixed

I'll close this issue, and will add a comment to the other one.

Hey sorry about that @benneq! I had searched the issues here before opening my issue, but didn't find this in my results.


Add instructions on how to update parser

Also include the schema for JunOS 18.1R3-S9. It seems the schema is
not equipment specific as we only specify a version on Juniper
website.
Fix #16

Thank you for your great documentation!
I didn't know that .xsd is available on https://support.juniper.net/support/downloads/. How different is it from that you can get by NETCONF?
I usually download .xsd from JUNOS device by NETCONF as you did at #16, but I'm also afraid it can be platform specific. If schema from Juniper web looks more generic, it should be better for this project.

The ones I got from netconf didn't have the namespaces and it seemed that nokogiri is therefore confused. Did you get your XML schema with the same client as I show in #16? If it's possible to download directly from the equipment, I think this would be easier. Juniper is difficult when giving access to downloads. For some reason, I was authorized on my personal account, but not with the shared team account.

ssh + awk works for me.
ssh -sp 830 YOUR_JUNOS netconf < get-schema.xml | awk 'BEGIN{p=0}/<xsd:schema/{p=1}p{print;}/<\/xsd:schema/{p=0;}' > junos-system.xsd

# get-schema.xml

<?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <capabilities>
    <capability>urn:ietf:params:netconf:base:1.0</capability>
  </capabilities>
</hello>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <get-xnm-information>
    <type>xml-schema</type>
    <namespace>junos-configuration</namespace>
  </get-xnm-information>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2">
  <close-session/>
</rpc>

I have tried your method and there are many differences. Additions and deletions. So, it's a bit unknown what Juniper provides on its website. I have added a commit to explain your method as well. For some reason, in my case, the generated parser.rb doesn't parse correctly (syntax error, unexpected end-of-input, expecting 'end'). I'll try to investigate a bit.

Is the parser.rb generated from example/junos-18.1R3-S9.rb in your topic branch?
I'd like to reproduce it to get the point of #18.

It is, but I have already fixed the issue. It's easy to reproduce from any XSD. Just spot a xsd:documentation tag and add a new line somewhere in its content. In mine, I have:
        <!-- </connectivity-association> -->
        <xsd:element name="aes-gcm-revert-flag" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>Flag to fall back to previous AES_GCM_256
           cipher suite implementation</xsd:documentation>
            <xsd:appinfo>
              <flag>current-product-support</flag>
            </xsd:appinfo>
          </xsd:annotation>
          <xsd:complexType/>
        </xsd:element>

Thanks, I could reproduce the problem. Let me look into it.

I have confirmed that #18 fixes the problem. Thanks!


Unable to connect

I'm trying to connect to the device through the API using the cast.dll. I am unable to connect and there does not seem to be any diagnostics on how to solve the problem.
I've created the caster instance by calling cusCastInit. I then call cusCastConnect with the IP and port of the device. Both calls return SUCCESS. When I call cusCastIsConnected afterwards it returns as No Connection (0).
When I initialize the caster I get a message stating WARNING: QApplication was not created in the main() thread and when destroying the handle I get QEventDispatcherWin32::wakeUp: Failed to post a message (Invalid window handle.)

which version of the App and Libs do you have, we're close to releasing a 9.1 App, and there's a pre-release of the API already available, so it's important versions match up.

I got the .dll from clarius-cast-v860-windows and the app version is 8.6.0-4524+322482c4c0

I was able to get the caster example working.

The callback ClariusReturnFn is not being called after cusCastConnect. Is that proper functionality?


License script is unreasonably slow

It takes around 25 minutes to run the license script on my machine. Updating the expectation files after a roll requires running this twice, then waiting for a third run on Travis to go green. I can build the engine from scratch in only 2 minutes; merely checking the licenses should be faster than that.

I agree that this is an extremely frustrating part of working on the engine. The situation is worse if there are multiple PRs in flight. There is no way to update the licenses for each of them simultaneously such that the Travis jobs pass, and, have the commits be readily mergeable (because the first one to land causes merge conflicts in the rest of the patches). I also need to have a dedicated Ubiquity instance just to update the licenses because the tree needs to be clean. And, if someone else commits an update to the licenses file after I update the PR to make Travis pass but before I land the commit, there is a merge conflict and I have to start again.
A few possible solutions:

Maintain a separate list of licenses per GN target. Then run something like gn desc directory :build to obtain the list of targets being actually built and generate the licenses file for those targets. If we add a new target without adding a license for it, flutter/tools/gn itself can quit with an error. I don't know if we need to check every file in each target to see if its header contains a license block that matches what its targets LICENSE file says.
Run the license script fewer times. Maybe on every engine roll into the framework. That way, multiple PRs can be under review and be mergeable simultaneously.
Make the license script faster. Assumes that the only thing wrong with our current brute force approach is that we are not applying enough of said force. #NotSwoleEnough.

I think @jason-simmons already attempted this too. He may have some ideas that make the entire process fast enough to not be noticeable.

Any more ideas?

We could skip running the script on files in //flutter.  That would make it easier to have changes in flight to that directory (but probably won't speed it up too much).

We could produce subdirectory summaries with some sort of key.  For example, we could avoid crawling the whole Android SDK if the version hash of the SDK is the same as what we crawled last time.

(Same with other third_party dependendencies)

The script itself is ridiculously poorly written. It just applies literally hundreds of absurdly complicated regular expressions to tens of thousands of files, all in one thread. A more clever approach could certainly make things better. Furthermore, since we have the "correct answer" now, one could write a new script and easily verify that it is correct by just running it against the repo and seeing if it gets exactly the same results.
Any approach that works by splitting the work would need a secondary merge step that takes the various subparts and creates a new output file. (That should be fine, I'm just making sure y'all are aware!)
We do need to run it on files in //flutter. There's dozens of different copyrights in there.

Jason checked in a change that should dramatically help with this, so I'm closing this bug.


Enable Hubble metrics

Ref: https://github.com/cilium/hubble/tree/v0.5/tutorials/deploy-hubble-and-grafana

moved back to calico, closing this guy.

moved back to calico, closing this guy.


Update dependencies.

/CC @jugglinmike

Coverage remained the same when pulling 433d0d28aaef046f9eac7002c3e5d5e2b49c7b52 on XhmikosR:deps into f46fe408d4e0084cd7704a9cc7ba5d28407f7ef4 on jshint:master.

Coverage remained the same when pulling 504882472d2ce1814bd4095edf22032b52c46a72 on XhmikosR:deps into f7494c84554241d068cbe899730a119272f2329b on jshint:master.


Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse() in WebPush.php line 185

NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This
helps with diagnosing problems quicker.

Please confirm the following:

[x] I have read the README entirely
[x] I have verified in the issues that my problem hasn't already been resolved

Setup

Please provide the following details, the more info you can provide the
better.

Operating System: Linux
PHP Version: 7.4
web-push-php Version: 6.0.2

Please check that you have installed and enabled these PHP extensions :

[x] gmp
[x] mbstring
[x] curl
[x] openssl

Please select any browsers that you are experiencing problems with:

[ ] Chrome
[ ] Firefox
[ ] Firefox for Mobile
[ ] Opera for Android
[ ] Samsung Internet Browser
[x] Other

Please specify the versions (i.e. Chrome Beta, Firefox Beta etc).

Problem

Please explain what behaviour you are seeing.

Exception
Expected

Please explain what you expected to happen

No exception
Features Used

[x] VAPID Support
[x] Sending with Payload

Example / Reproduce Case

Please provide a code sample that reproduces the issue. If there is a
repository that reproduces the issue please put the link here.

Other

Please put any remaining notes here.

It never happened before v6.0.2 but it could be because HTTP request never failed.
Also as I can see - RequestException was expected but ConnectException received.

Getting this issue too.

Uncaught Error [0]: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()
at vendor/minishlink/web-push/src/WebPush.php(185)
Stack trace:
#0 vendor/guzzlehttp/promises/src/Promise.php(204): Minishlink\WebPush\WebPush->Minishlink\WebPush{closure}(Object(GuzzleHttp\Exception\ConnectException))
#1 vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(2, Object(GuzzleHttp\Exception\ConnectException), NULL)
#2 vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()
#3 vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(158): GuzzleHttp\Promise\TaskQueue->run()
#4 vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(183): GuzzleHttp\Handler\CurlMultiHandler->tick()
#5 vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Handler\CurlMultiHandler->execute(true)
#6 vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#7 vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#8 vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#9 vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#10 vendor/minishlink/web-push/src/WebPush.php(190): GuzzleHttp\Promise\Promise->wait()
#11 myfile.php(125): Minishlink\WebPush\WebPush->flush()
#12 {main}

I am getting the same error in both Firefox and Chrome
Minishlink\WebPush\WebPush::Minishlink\WebPush{closure}
vendor/minishlink/web-push/src/WebPush.php:185

I had the same issue but when I added the following code, the error went away and the logs say successful but I didn't see a notification (which might be a seperate issue)
$auth = [
    'VAPID' => [
        'subject' =><EMAIL_ADDRESS>// can be a mailto: or your website address
        'publicKey' => '~88 chars', // (recommended) uncompressed public key P-256 encoded in Base64-URL
        'privateKey' => '~44 chars', // (recommended) in fact the secret multiplier of the private key encoded in Base64-URL
    ],
];

$webPush = new WebPush($auth);

Related #299

I have the same issue. I am using the latest version v6.0.3.

same problem here

Same problem here, looks like it's affecting v6.0.3

In my case it's related to the number of notifications I process in a flush operation (I don't change the default limit to 1.000). If I send 800 that error occurred, however with 200 it's fine. Could this be related to a transitional error caused by out of memory or a network error as in https://github.com/web-push-libs/web-push-php/pull/203 ?

Hi @tbyte80, the idea you propose is good, this clears the error, but the notifications are not delivered to the devices, my project was working fine, then I started with the error and now I have no errors, but the notifications are not delivered. Any suggestion?

Is there any working solution yet? I am having exactly same issue.
even downgrading guzzlehttp/guzzle": "^6.5 did not work. the notifications are not delivered with ^6.5

There might be another issue, in /minishlink/web-push/src/Encryption.php on line 390 they are trying to pass a GMP instance to PrivateKey::create which  expects BigInteger only.
This prevents my messages to be sent.

@Minishlink, are you still interested in maintaining your code?

Addressed in #299, root cause is https://github.com/web-push-libs/web-push-php/issues/300#issuecomment-795077718

Besides taking 6 months to approve the pull request, I think everything went very well!
(thanks btw)


Junk bytes

Hello. Is that possible to add junk bytes into the injector source code?
I used rando injector before csgo update. There was a lot of bytes, it was always undetected because just me used that.
Any ideas?
Have a nice day! 😊

Just use junkcode generator
https://junkcode.gehaxelt.in/
https://www.unknowncheats.me/forum/c-and-c-/231044-junk-code-generator.html

Hey!
It's 100% possible. Check how bytes in rando-injector works, and paste them if want, you can also use generators, that @kvetinkavole already sent.
Have a nice day :)

Hey!
It's 100% possible. Check how bytes in rando-injector works, and paste them if want, you can also use generators, that @kvetinkavole already sent.
Have a nice day :)

what do you mean? could you help me with that please?

Closed due to user's brain issue.


Error in Moss submission

I'm still getting an error on this line: https://github.com/BilalZaib/AutoGrader/blob/master/AutoGrade/models.py#L131
I still don't see how submission == None in the previous line would work. Since within the if body, submission is None, calling a function on that is bound to throw an exception ...

Er... that will be != not == :)

Updated that.


Updated the version of Sv443/JokeAPI

My API, JokeAPI was updated and got a new root URL so people could migrate over to the new version. In this PR I have changed the root URL so new people will be sent to the new version instead of the old version which will be completely deprecated in two months.
Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Uhh why is the check failing help


Member Actions on the Fly - Bulkable? ignored

So was converting my action to a member action on the fly and the bulkable? is now ignored for member actions.    I put up my set up at https://gist.github.com/1761304

This is not very intuitive... Maybe we can fix that in config engine.


Not working in ubuntu container

Describe the bug
`secimport interactive
Welcome to secimport!

A python code can be traced using  "secimport trace"  or using  "secimport shell"
All the function calls and system calls will be recorded to  ./trace.log.

Continue? (y): y
Tracing using  ['/home/lukas/venv/lib/python3.10/site-packages/secimport/profiles/trace.bt', '-c', '/home/lukas/venv/bin/python', '-o', 'trace.log', '/home/lukas/venv/bin/python']
Press CTRL+D or CTRL+C to stop the trace gracefully.
ERROR: Unknown error -1: couldn't set RLIMIT_MEMLOCK for bpftrace. If your program is not loading, you can try "ulimit -l 8192" to fix the problem
/home/lukas/venv/lib/python3.10/site-packages/secimport/profiles/trace.bt:703-705: ERROR: tracepoint not found: raw_syscalls:sys_enter
The trace log is at  ./trace.log
Running "secimport build"; it compiles ./trace.log which is the trace log to ./sandbox.bt
syscalls:
nsjail sandbox: nsjail -Ml -Mo  --chroot / --port 8000 --user 99999 --group 99999 --seccomp_string 'ALLOW {  } DEFAULT KILL' -- /home/lukas/venv/bin/python -i
Policy is ready:  policy.yaml policy.json
[info] Creating profile for  general_requirements
[debug]  adding syscall vfork to blocklist for module general_requirements
[debug]  adding syscall clone to blocklist for module general_requirements
[debug]  adding syscall access to blocklist for module general_requirements
[debug]  adding syscall chdir to blocklist for module general_requirements
[debug]  adding syscall creat to blocklist for module general_requirements
[debug]  adding syscall dup to blocklist for module general_requirements
[debug]  adding syscall dup2 to blocklist for module general_requirements
[debug]  adding syscall execve to blocklist for module general_requirements
[debug]  adding syscall faccessat to blocklist for module general_requirements
[debug]  adding syscall fcntl to blocklist for module general_requirements
[debug]  adding syscall fdatasync to blocklist for module general_requirements
[debug]  adding syscall fork to blocklist for module general_requirements
[debug]  adding syscall fstat to blocklist for module general_requirements
[debug]  adding syscall fsync to blocklist for module general_requirements
[debug]  adding syscall getegid to blocklist for module general_requirements
[debug]  adding syscall geteuid to blocklist for module general_requirements
[debug]  adding syscall getgid to blocklist for module general_requirements
[debug]  adding syscall getgroups to blocklist for module general_requirements
[debug]  adding syscall getpid to blocklist for module general_requirements
[debug]  adding syscall getppid to blocklist for module general_requirements
[debug]  adding syscall getrlimit to blocklist for module general_requirements
[debug]  adding syscall getsockname to blocklist for module general_requirements
[debug]  adding syscall getsid to blocklist for module general_requirements
[debug]  adding syscall getuid to blocklist for module general_requirements
[debug]  adding syscall ioctl to blocklist for module general_requirements
[debug]  adding syscall link to blocklist for module general_requirements
[debug]  adding syscall lseek to blocklist for module general_requirements
[debug]  adding syscall lstat to blocklist for module general_requirements
[debug]  adding syscall mkdir to blocklist for module general_requirements
[debug]  adding syscall mknod to blocklist for module general_requirements
[debug]  adding syscall open to blocklist for module general_requirements
[debug]  adding syscall openat to blocklist for module general_requirements
[debug]  adding syscall pipe to blocklist for module general_requirements
[debug]  adding syscall poll to blocklist for module general_requirements
[debug]  adding syscall read to blocklist for module general_requirements
[debug]  adding syscall readlink to blocklist for module general_requirements
[debug]  adding syscall readv to blocklist for module general_requirements
[debug]  adding syscall recvfrom to blocklist for module general_requirements
[debug]  adding syscall recvmsg to blocklist for module general_requirements
[debug]  adding syscall rename to blocklist for module general_requirements
[debug]  adding syscall rmdir to blocklist for module general_requirements
[debug]  adding syscall select to blocklist for module general_requirements
[debug]  adding syscall sendmsg to blocklist for module general_requirements
[debug]  adding syscall sendto to blocklist for module general_requirements
[debug]  adding syscall setgid to blocklist for module general_requirements
[debug]  adding syscall setgroups to blocklist for module general_requirements
[debug]  adding syscall setpgid to blocklist for module general_requirements
[debug]  adding syscall setpriority to blocklist for module general_requirements
[debug]  adding syscall setregid to blocklist for module general_requirements
[debug]  adding syscall setreuid to blocklist for module general_requirements
[debug]  adding syscall setrlimit to blocklist for module general_requirements
[debug]  adding syscall setsid to blocklist for module general_requirements
[debug]  adding syscall setsockopt to blocklist for module general_requirements
[debug]  adding syscall stat to blocklist for module general_requirements
[debug]  adding syscall symlink to blocklist for module general_requirements
[debug]  adding syscall truncate to blocklist for module general_requirements
[debug]  adding syscall umask to blocklist for module general_requirements
[debug]  adding syscall utime to blocklist for module general_requirements
[debug]  adding syscall utimes to blocklist for module general_requirements
[debug]  adding syscall write to blocklist for module general_requirements
[debug]  adding syscall writev to blocklist for module general_requirements
The profile does not contain any modules: policy.yaml
Traceback (most recent call last):
File "/home/lukas/venv/bin/secimport", line 8, in
sys.exit(main())
File "/home/lukas/venv/lib/python3.10/site-packages/secimport/cli.py", line 424, in main
fire.Fire(SecImportCLI())
File "/home/lukas/venv/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/lukas/venv/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/lukas/venv/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/lukas/venv/lib/python3.10/site-packages/secimport/cli.py", line 399, in interactive
SecImportCLI.build()
File "/home/lukas/venv/lib/python3.10/site-packages/secimport/cli.py", line 292, in build
bpftrace_sandbox_filename = SecImportCLI.compile_sandbox_from_profile(
File "/home/lukas/venv/lib/python3.10/site-packages/secimport/cli.py", line 165, in compile_sandbox_from_profile
raise AssertionError(
AssertionError: The trace file 'policy.yaml' has 0 modules. A valid policy should include at least 1 module.`
To Reproduce
Steps to reproduce the behavior:

build a docker container
`FROM ubuntu:latest

RUN apt update
&& apt -y upgrade
RUN apt -y install build-essential git bpftrace vim python3.10-venv`

in the container, as root, build and activate venv
python3 -m venv venv
source venv/bin/activate

install secimport
python -m pip install secimport

verify --with-dtrace, success
readelf -n $(which python) | grep -i function__entry
output:    Name: function__entry

run secimport
secimport interactive

Hi, thanks for sharing!
First, do you use the docker container in this repository?
I am asking because it sets up /sys/kernel/debug and other things required for bpftrace to work in a container properly.
Your dockerfile is missing some important things:
RUN apt update
&& apt -y upgrade

RUN apt -y install build-essential git bpftrace vim python3.10-venv`

You can use secimport's docker here

Another thing worth checking is the bpftrace version. Reinstalling with --devmode seems to fix this issue:
https://github.com/iovisor/bpftrace/issues/1100#issuecomment-577492993

ERROR: Unknown error -1: couldn't set RLIMIT_MEMLOCK for bpftrace. If your program is not loading, you can try "ulimit -l 8192" to fix the problem
/home/lukas/venv/lib/python3.10/site-packages/secimport/profiles/trace.bt:703-705: ERROR: tracepoint not found: raw_syscalls:sys_enter

Looks like bpftrace could not find the sys_enter tracepoint, or the container does not match your kernel's version.
What is the output of cat /proc/kallsyms | grep sys_enter?
Let me know if it helped.

First, do you use the docker container in this repository?

This is the link on your github  / first page mentioning your Docker container. It is 404, thus i did not use the Docker container.

Thank you for providing the correct link to your container.
Please document minimum versions of dependencies in the installation instructions.

What is the output of cat /proc/kallsyms | grep sys_enter?

cat /proc/kallsyms | grep sys_enter<PHONE_NUMBER>000000 t trace_raw_output_sys_enter<PHONE_NUMBER>000000 t __bpf_trace_sys_enter<PHONE_NUMBER>000000 t trace_event_raw_event_sys_enter<PHONE_NUMBER>000000 t perf_trace_sys_enter<PHONE_NUMBER>000000 r __tracepoint_ptr_sys_enter<PHONE_NUMBER>000000 r __tpstrtab_sys_enter<PHONE_NUMBER>000000 d print_fmt_sys_enter<PHONE_NUMBER>000000 d trace_event_type_funcs_sys_enter<PHONE_NUMBER>000000 d event_sys_enter<PHONE_NUMBER>000000 d event_class_sys_enter<PHONE_NUMBER>000000 D __tracepoint_sys_enter<PHONE_NUMBER>000000 d __bpf_trace_tp_map_sys_enter<PHONE_NUMBER>000000 t trace_init_flags_sys_enter<PHONE_NUMBER>000000 t trace_event_define_fields_sys_enter<PHONE_NUMBER>000000 t __event_sys_enter<PHONE_NUMBER>000000 t __initcall_trace_init_flags_sys_enterearly

Fixed the docker link, thanks.
Let me know if that worked out with the repo's dockerfile.


Combining local and remote schema example doesn't work

Cloning the repo, executing the start script, i get the following output:
[storefronts] [INFO] 10:18:08 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 5.3.2)
[products] [INFO] 10:18:08 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 5.3.2)
[gateway] [INFO] 10:18:08 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 5.3.2)
[products] products running at http://localhost:4001/graphql
[storefronts] storefronts  running at http://localhost:4001/graphql
[gateway] gateway running at http://localhost:4000/graphql
[gateway] TypeError: Cannot use 'in' operator to search for '_sdl' in null
[gateway]     at fetchRemoteSDL (/Users/marco/Documents/code/experimentation/schema-stitching/examples/combining-local-and-remote-schemas/src/gateway.ts:99:33)
[gateway]     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[gateway]     at makeGatewaySchema (/Users/marco/Documents/code/experimentation/schema-stitching/examples/combining-local-and-remote-schemas/src/gateway.ts:47:29)
[gateway] [ERROR] 10:18:10 TypeError: Cannot use 'in' operator to search for '_sdl' in null

Ideally it would be great if the example works :)

It seems to be working fine on CodeSandbox;
https://codesandbox.io/embed/github/ardatan/schema-stitching/tree/master/examples/combining-local-and-remote-schemas
Feel free to create a reproduction if it doesn't work :)


Create Problem Analyzers

As part of the goal of becoming a Rimworld IDE, one of the key feature is going to the ability to highlight problems with our XML. We're going to have to consider which items are worth highlighting as warnings, which are worth highlighting as errors and which are worth ignoring. One example is the fact that Rimworld Defs can do some custom XML passing, so even if we think some XML has been declared for something we can't match up to, that doesn't mean it's invalid.
Beacuse of some peculiarities of how Problem Analyzers work in Rider, they're disabled for XML. To get around this, we can create an implementation of an IDaemonStage and XmlDaemonStageProcessBase in which we can add our highlighting. A quick proof-of-concept is already working in the problem-analyzers branch.
To begin with, we want to only highlight errors when we know what the type of an XML Value should be, and the value is wrong. For starters, we should implement the following highlighters:

[x] Incorrect Enum Values
[x] Incorrect Struct Values (Like Rot4)
[x] Incorrect Boolean Values
[x] Incorrect IntRange Values
[x] Incorrent int Values
[x] Incorrect Vector2 Values
[x] Incorrect Vector3 Values

This feature has been completed and will be released with 2023.3


[UI] Remove the hardcoding of edge in edge-latest

Current Behavior
The edge- is hardcoded with edge-latest in the navigator.

Desired Behavior
Remove the hardcoded edge-
Screenshots/Logs

Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

well, I checked the Navigator file but I didnt find any hardcoded thing,
 if (release_channel === "edge") return `${release_channel}-latest`;

can you confirm @Chadha93 ?

Another spot to check: http://localhost:9081/api/system/version

{"build":"v0.6.0-rc.6f","latest":"v0.6.0-rc.6f","outdated":false,"commitsha":"9489a9ae","release_channel":"stable"}

so for me its returning the stable version automatically, is there a way to run the edge version manually?

Yes - https://docs.meshery.io/reference/mesheryctl/system/channel

thanks @leecalcote for that link , @Chadha93 please review.


run get_commit_info.py occurs "File uniAndroidCSV_split.csv does not exist: 'uniAndroidCSV_split.csv'"

Thanks for your excellent work! However, when I run the scripts, some errors occurred. There seem to miss some files or folders.
For running scrape_all_the_cve,py, there seems to miss "./Logs/main_log_all.log".
For running get_commit_info.py, there seems to miss "uniAndroidCSV_split.csv".
Please check if there are missing folders or files. Thanks.

For running scrape_all_the_cve,py, there seems to miss "./Logs/main_log_all.log".

Thanks for your interest!
You will need to create any file directory to store this kind of error message.


AWS client error: Authorization header requires 'Signature' parameter

hello, i'm trying to deploy fluentd with this plugin using this install in a kubernetes 1.7 cluster, and the AWS user i use for this has the following IAM policies attached
AmazonAPIGatewayPushToCloudWatchLogs
CloudWatchFullAccess
CloudWatchLogsReadOnlyAccess
CloudWatchLogsFullAccess
AmazonDMSCloudWatchLogsRole
AWSOpsWorksCloudWatchLogs

unfortunately, nothing shows up in cloudwatch logs, and when looking at the pod logs, i get these warnings from the aws client:
2017-10-11 09:15:31 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2017-10-11 09:15:31 +0000 error_class="Aws::CloudWatchLogs::Errors::IncompleteSignatureException" error="Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization=AWS4-HMAC-SHA256 Credential=AKIAIIFLVF4YM3PVXQUA" plugin_id="object:b0cb3c9ac"
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/aws-sdk-core/plugins/idempotency_token.rb:18:in `call'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/aws-sdk-core/plugins/param_converter.rb:20:in `call'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/aws-sdk-core/plugins/response_paging.rb:26:in `call'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/seahorse/client/plugins/response_target.rb:21:in `call'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/seahorse/client/request.rb:70:in `send_request'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/aws-sdk-core-2.7.15/lib/seahorse/client/base.rb:207:in `block (2 levels) in define_operation_methods'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/fluent-plugin-cloudwatch-logs-0.4.0/lib/fluent/plugin/out_cloudwatch_logs.rb:298:in `log_group_exists?'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/fluent-plugin-cloudwatch-logs-0.4.0/lib/fluent/plugin/out_cloudwatch_logs.rb:121:in `block in write'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/fluent-plugin-cloudwatch-logs-0.4.0/lib/fluent/plugin/out_cloudwatch_logs.rb:113:in `each'
  2017-10-11 09:15:31 +0000 [warn]: /home/fluent/.gem/ruby/2.3.0/gems/fluent-plugin-cloudwatch-logs-0.4.0/lib/fluent/plugin/out_cloudwatch_logs.rb:113:in `write'
  2017-10-11 09:15:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.12.32/lib/fluent/buffer.rb:354:in `write_chunk'
  2017-10-11 09:15:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.12.32/lib/fluent/buffer.rb:333:in `pop'
  2017-10-11 09:15:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.12.32/lib/fluent/output.rb:342:in `try_flush'
  2017-10-11 09:15:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.12.32/lib/fluent/output.rb:149:in `run'
2017-10-11 09:15:32 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2017-10-11 09:15:34 +0000 error_class="Aws::CloudWatchLogs::Errors::IncompleteSignatureException" error="Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization=AWS4-HMAC-SHA256 Credential=AKIAIIFLVF4YM3PVXQUA" plugin_id="object:b0cb3c9ac"
  2017-10-11 09:15:32 +0000 [warn]: suppressed same stacktrace

has anybody encountered & solved this issue ? it seems to be related to the version of the cloudwatch api that the client used by this plugin talks
thank you

my bad, i misconfigured the deployment in kubernetes. that is not an issue of the plugin. closing


Can't delete and create auth category at same time

Describe the bug
I'm playing around with adding an auth category. Ended up pushing one, but need to change some immutable attributes so deleted it and creating a new one, so now queued up, I have one create and one delete to be pushed to aws.
Running amplify push fails however with the following:
CREATE_FAILED      amplify-... AWS::CloudFormation::Stack Wed May 06 2020 12:15:34 GMT-0600 (Mountain Daylight Time) The following resource(s) failed to create: [SNSRole].
CREATE_FAILED      SNSRole                                                           AWS::IAM::Role             Wed May 06 2020 12:15:34 GMT-0600 (Mountain Daylight Time) snshishamdev-hishamdev already exists in stack arn:aws:cloudformation:us-east-1:9142...:stack/amplify-...

Amplify CLI Version
4.18.1
Expected behavior
Should just work. To workaround, I had to delete and add in two separate pushes.

@hisham This should be fixed in the release 4.20


[AVOCADO-232] Make move_to_* scripts rename artifacts.

Resolves #232. Added avocado pattern to move_to_spark2.sh and added Scala 2.10 suffixes to artifact names in POMs.

Coverage remained the same at 84.055% when pulling bd726d26e9962e62d4aaa3fd2fcbfef067cc1fdf on fnothaft:issues/232-artifact-rename into fb20657172d2ce38e5dcd5542b0915db4de7eaa0 on bigdatagenomics:master.

Coverage remained the same at 84.055% when pulling bd726d26e9962e62d4aaa3fd2fcbfef067cc1fdf on fnothaft:issues/232-artifact-rename into fb20657172d2ce38e5dcd5542b0915db4de7eaa0 on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/avocado-prb/180/
Test PASSed.


Swift "Control transfer" typo fix

Hi!, it says I can't reopen this pr, since the original repo doesn't exist.
If you like you could open a new pr since this example is incorrect, but I think something like this could make a bit more sense:
count = 1
repeat {
  count += 1
  if count == 4 { continue }
  print(count)
} while count < 6

prints:
2
3
5
6

rather than:
2
3
4
5
6


Update cards.md

The _ is a catch-all. But putting ANY identifier inside the Err will "catch all" errors. The important thing about the underscore is the fact that it does not bind the value that it is matched to.

Fixed some typos and merged. Thanks for your help!


Reduce LinearBatch size of CircularProgress

The previous setting assumes it would ever be batched, but in practice this basically never happens. Minimising batch size seems like a better short-term option until we have a better method of deciding and managing batch sizes.

@peppy check comment plz


Baseline "limited availability" for ESM?

Originally reported in mdn/browser-compat-data.

Articles for Modules and import both claim "limited availability", but the article for export has "widely available".
I guess it's something to do with support for typed imports using with and the legacy assert, but I don't think those are what people would understand by "support for modules" or "support for import statements".

I had a look in js-modules.yml in the current repo, but all the features cited there are widely supported — even nomodule looks to be supported in Safari 11 (Sep 2017), according to MDN.

I think the problem is that javascript.statements.import is part of both CSS modules and JS modules. When yari finds a web feature by compat key, it probably finds CSS modules first because it comes first alphabetically. And CSS modules is only supported in Chromium browsers.
This fix should be to remove javascript.statements.import from CSS modules in web-features.

When yari finds a web feature by compat key, it probably finds CSS modules first because it comes first alphabetically.

I didn't know how yari mapped MDN pages to web-features, but this way sounds prone to bugs.

This fix should be to remove javascript.statements.import from CSS modules in web-features.

Ensuring that we use BCD keys just once in the repo feels like an arbitrary limitation that will be a problem for us in the future.
I'm not apposed to doing this as a quick fix if this unblocks MDN. But would this work long term:
MDN optionally associates articles with web-features (probably by adding a webFeaturesId: js-modules entry in the front matter). For articles that have this association, that's how the right web-features dist file is pulled. For others, they continue doing what they do now.
As a bonus: we get MDN links for free, for some of our features.


docs: ✏ Escape @ in README to correctly render Github pages

Description
Fix ReadME to allow proper rendering of github pages
Breaking Changes
NA
JIRA Link
NA
Checklist

[ ] Updated the Readme.md (if required) ?

Maybe we can put this into alpha? The branches are all up to date and we are going to be releasing soonish I think.
This is docs only, and been like this for awhile. Seems like a small change to clutter up the git history imo

:tada: This PR is included in version 19.0.0-beta.5 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 19.0.0-alpha.15 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs: update instructions for multi-ternimal access

Description
Updated readme and added docker file to build a new image
Pre-review checklist for the PR author
PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
Reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has the write access can merge the PR.

Will fix this once wordlist is updated.

Actually, since spell-check is an optional workflow, you don't have to wait for that.

Actually, since spell-check is an optional workflow, you don't have to wait for that.

Oops, I just noticed it was not required. Thanks


Fix for WFCORE-2926. Disable error-on-interract for CLI.connect.

CLI class connect method should set ignoreOnInteract to false.
In addition I added a connect method to allow to provide a CommandContextConfiguration. This class is in an impl package but has already been exposed as a public API in the CommandContextFactory. I wanted to move it to public API, but being already exposed we can't change its location.

Core - Full Integration Build 5173 outcome was FAILURE using a merge of b8311bd02bf100394c1bc886de8451c2141d8dbe
Summary: Tests passed: 3879, ignored: 130; exit code 137 (new) Build time: 00:52:05

Full integration - Windows Build 3582 outcome was FAILURE using a merge of b8311bd02bf100394c1bc886de8451c2141d8dbe
Summary: Tests failed: 1 (1 new), passed: 4020, ignored: 132 Build time: 01:36:16
Failed tests
org.jboss.as.test.integration.domain.mixed.eap700.MixedDomainDeploymentOverlay700TestCase.testInstallAndOverlayDeploymentOnDC: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:209)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at org.jboss.as.test.integration.domain.mixed.MixedDeploymentOverlayTestCase.performHttpCall(MixedDeploymentOverlayTestCase.java:293)
	at org.jboss.as.test.integration.domain.mixed.MixedDeploymentOverlayTestCase.testInstallAndOverlayDeploymentOnDC(MixedDeploymentOverlayTestCase.java:164)
------- Stdout: -------
17:22:27,604 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta9
17:22:27,942 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 17:22:28,509 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta9
[Host Controller] 17:22:28,951 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
[Host Controller] 17:22:29,006 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) starting
[Host Controller] 17:22:29,610 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,611 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,696 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,696 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:29,738 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 17:22:29,742 INFO  [org.xnio] (MSC service thread 1-8) XNIO version 3.5.0.Beta7
[Host Controller] 17:22:29,752 INFO  [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.5.0.Beta7
[Host Controller] 17:22:29,790 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 5.0.0.Beta25
[Host Controller] 17:22:29,796 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 17:22:29,805 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-3) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomainOverlay700TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 17:22:29,875 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 17:22:31,265 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.1.0.Beta51
[Host Controller] 17:22:31,275 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=default/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,314 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,349 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,383 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:31,910 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://[::1]:9990/management and https://[::1]:-1/management
[Host Controller] 17:22:31,911 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 17:22:31,911 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) (Host Controller) started in 3857ms - Started 49 of 53 services (18 services are lazy, passive or on-demand)
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 4977 ms
[Host Controller] 17:22:33,540 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) stopped in 23ms
[Host Controller] 17:22:33,544 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 11.0.0.Beta1-SNAPSHOT (WildFly Core 3.0.0.Beta26-SNAPSHOT) starting
[Host Controller] 17:22:33,594 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,595 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,605 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,605 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 17:22:33,610 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 17:22:33,621 INFO  [org.jboss.as.patching] (MSC service thread 1-5) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 17:22:33,626 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomainOverlay700TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 17:22:33,675 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 17:22:33,899 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-one

Core - Full Integration Build 5174 outcome was FAILURE using a merge of b8311bd02bf100394c1bc886de8451c2141d8dbe
Summary: Tests passed: 3879, ignored: 130; exit code 137 Build time: 01:02:02

retest this please!!

Core - Full Integration Build 5176 outcome was FAILURE using a merge of b8311bd02bf100394c1bc886de8451c2141d8dbe
Summary: Tests passed: 3879, ignored: 130; exit code 137 Build time: 00:54:07


Add transient to cached hashCode

Found the problem in #231 , where when serialize EqualsClauseInTrigger instance using Gson, hashCode is put into result json.
In these classes, use hashCode attribute to cached the calculated hashCode by hashCode method. However, this attribute is not part of business model, should not be serialized. Add transient keyword to hashCode attribute to ignore it when serializing the instances of these classes.

@yongping LGTM!


Add referrer policy security header

This PR closes #435
It allows for setting the Referrer-Policy security header.
I've tried to follow the code style, let me know if I missed anything.
I've cleaned some trailing white spaces in the edited files. I would recommend that you did this on all files on wards, just to keep the diffs cleaner. Mist IDEs and editors have the options of doing it automatically.
Thank you for a great "fixed" plugin. This effectively fixed my needs for additional configuration and modification when setting the security headers.

Thanks ;)

Please add it to the readme's changelog.

I make it https://github.com/szepeviktor/w3-total-cache-fixed/issues/437