GetX 5 Migrate Guide (Draft).

This is a guide that aims to provide assistance with changes and break changes that occurred in version 5.
You can use this issue for immediate support if you experience any problems.
1. Bindings
We are adding some scope to the bindings. This is important, because when we use Flutter web and navigate directly through the url to the address: /products/home for example, we expect the /products bings to be loaded. In version 4 this may generate unwanted red screens. In version 5, we have a parent and child relationship between GetPages, and between Bindings.
You will probably be able to make your code start without errors (just with a deprecated warning), but if you want to update your code to the new standard, just change the "void" function to a Bind List.
Previous:
class Foo extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => Bar());
  }
}

Now:
class Foo extends Bindings {
  @override
  List<Bind> dependencies() => [
    Bind.lazyPut(() => Bar());
  ]
}

2. Immutable state manager.
Although not very well known, GetX has an immutable data manager. In version 5 it has a completely new look.
Previously we could change the immutable state and its status as follows:
 change(data, status: RxStatus.success());

Now, you don't need pass a status, rather than, you can inherit a state class:
 change(SuccessStatus(data));

Or, if you prefer, you can use the GetState classe to get all available states:
 change(GetStatus.success(data));

Or a better and clean way:
setSuccess(data)

It's important to remember, this is for if you want to manage each state individually, but GetX can take care of all of this for you through the futurize function. It allows all statuses, error, loading, and success to be done automatically, and best of all, you need just one line of code:
onInit(){
   futurize(youAsyncFunction);
}

3. Navigator 2:
GetX 5 only uses Navigator 2 under the hood, so you no longer need to use something like: Get.rootDelegate.toNamed to access navigator 2. Get.toNamed will do that.
It is important to remember that now everything that applies to Flutter's Navigator 2 applies to GetX. WillPopScope no longer works, should not be used, and BackButtonListener is the new method that does the work.
If you need a custom RootDelegate, is a good idea to extend GetDelegate.
4. Get.back
Get.back is used everywhere. This was like that until GetX 4, you could close snackbars, dialogs, pages, everything. However, at the same time as this seemed magical, it had a problem: it was not possible to know what that method was closing, and that was bad. When I created this, I thought it was great, but as I matured as a programmer, I started to prefer security over anything else.
From now on, Get.back() only returns one page in the Stack (as its name suggests).
Get.close() no longer returns a certain number of pages in the stack (that didn't even make sense given the name), it now closes Overlays (snackbars, dialogs, bottomsheets, etc). The function name is now self-descriptive. Do you want to close something? Use Get.close(), do you want to go back to a previous page? Use Get.back().
Furthermore, in GetX we can do something incredible, which is to close only the overlay we want (I'm not sure if this can be done with Flutter Vanilla, as I had to make deep modifications to it). I worked on some apps, and I've used many apps in Flutter, which has a chronic problem, when you open an overlay on top of another, you can only close the last one or none at all. Navigator.pop(context) has no idea what it's doing, just like Get.back() did. Now you can use Get.closeSnackbar() and that's it, only your snackbar will be closed. The same goes for dialogs, bottomsheets, etc.
However, GetX 5 is much better than GetX 4 in everything. I strongly recommend you migrate. There are more than 500 bug fixes, new features, and a framework rebuilt from scratch.
However, it could be challenging on large projects to redo everything from scratch, so I added some functions that maintain the previous behavior (as far as possible). Get.backLegacy() has the same behavior as Get.back() from version 4, so if you want to test version 5 now, and have no Nested routes, no StateMixin classes (where breaking changes occurred), you can simply replace o Get.back() by Get.backLegacy(). Test your app thoroughly after that, and if you have any bugs, I'll be happy to do an emergency update. It worked for me in my production applications, I hope it works for you.
5. BuildContext
Something new: The Observer(builder: (context){}) widget can be used to get the context (since Obx doesn't do it), and GetX 5 also has a SuperInheritedWidget. BuildContext is there for anyone who wants to use it, and the shortcuts (Obx, GetX) will be kept as is. GetBuilder will also be maintained, for compatibility reasons, but perhaps I will add some version of it with BuildContext.
There are many new Widgets, which are part of the refactoring. The responsibilities were better divided, merging GetBuilder with reactive programming under the hood (it doesn't change anything for you, but I eliminated a ton of code)

can you migrate example project to GetX version 5 when new version released?

There is a nice syntax in riverpod. Is it available in getx5 getbuilder?
final boredSuggestion = ref.watch(boredSuggestionProvider);
    // Perform a switch-case on the result to handle loading/error states
    return switch (boredSuggestion) {
      AsyncData(:final value) => Text('data: $value'),
      AsyncError(:final error) => Text('error: $error'),
      _ => const Text('loading'),
    };
  }

Now that Get.close() no longer returns A certain number of pages in the stack, how do I go back a few pages in get5, A>B>C>D>E, from E to B or C

Now Get.close() no longer returns a certain number of pages in the stack. How should we roll back several pages in get5, A>B>C>D>E, and how to go back to B or C from E?

Get.back(times:3)
Everything is still there, the difference now you should think of as version 5. If you are closing something, the name will always be "close", if you are returning, the name will always be "back".

Oh, I understand, closing the bottom sheet snackbar... will become close, and returning to the page will become back, which is more semantic.

There is a nice syntax in riverpod. Is it available in getx5 getbuilder?
final boredSuggestion = ref.watch(boredSuggestionProvider);
    // Perform a switch-case on the result to handle loading/error states
    return switch (boredSuggestion) {
      AsyncData(:final value) => Text('data: $value'),
      AsyncError(:final error) => Text('error: $error'),
      _ => const Text('loading'),
    };
  }

In fact, this looks a lot like the StateMixin syntax, from version 3 that was released about 3 years ago.
I don't know about using the dart 3 switch, but you can always with GetX observe a state and have the loading, success, error, etc. state. In fact, futurize does all this too. Look at StateMixin docs.
But, FYI, here is a sample of the code.
class HomeController extends GetxController with StateMixin<String>{
  void onInit(){
     futurize(yourAsyncMethod)
  }
}

in your view
class OtherClass extends GetView<HomeController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: controller.obx(
        (state)=>Text(state.name),

        // here you can put your custom loading indicator, but
        // by default would be Center(child:CircularProgressIndicator())
        onLoading: CustomLoadingIndicator(),
        onEmpty: Text('No data found'),

        // here also you can set your own error widget, but by
        // default will be an Center(child:Text(error))
        onError: (error)=>Text(error),
      ),
    );
}

Is it convenient to ask the specific release date of getx5? I am very much looking forward to it and using it in the project，After the release of getx5, will you watch the dynamic and fix it urgently? If so, I will refactor my current project to choose getx5

Is it convenient to ask the specific release date of getx5? I am very much looking forward to it and using it in the project，After the release of getx5, will you watch the dynamic and fix it urgently? If so, I will refactor my current project to choose getx5

I recommend you test the latest release candidate. If there is nothing that completely breaks any user's code, it will be released tomorrow. I mentioned this in the other post.
For my projects, everything is fine, but as each person uses GetX in a different way, I would like to know if GetX 5 will work well without so many modifications in most projects. However, I will spend the entire weekend online, so if any problems occur, I will update it immediately.

Okay, I'll give it a try. I saw it discussed before that getx5 will be subcontracted. Is there any documentation on this, or is there a specific name for each package?

Hopefully, the authors will document the migration considerations in as much detail as possible while providing the ability to split getx into multiple packages

@jonataslaw  Great news of clearing out the Get.back concept. Also since we have the closeAllSnackbars method & closeCurrentSnackbar, can we get closeAllDialogs - closeCurrentDialog & closeAllModalSheets - closeCurrentModalSheeet  methods ?
Will make the code much clearer alongiside with  Get.isDialogOpen & Get.isBottomSheetOpen  checks.

Is it convenient to ask the specific release date of getx5? I am very much looking forward to it and using it in the project，After the release of getx5, will you watch the dynamic and fix it urgently? If so, I will refactor my current project to choose getx5

I recommend you test the latest release candidate. If there is nothing that completely breaks any user's code, it will be released tomorrow. I mentioned this in the other post. For my projects, everything is fine, but as each person uses GetX in a different way, I would like to know if GetX 5 will work well without so many modifications in most projects. However, I will spend the entire weekend online, so if any problems occur, I will update it immediately.

There is an issue on one of my codebases where the controller is getting disposed in release mode on moving to next page, works fine in debug mode, unfortunately i can't make the code public, And not able to replicate same in a small project with single controller,
I am using middleware with permanent controller as a workaround for the issue

The issue happens when i am initing a controller on a page and trying to use it in a child page using get.find

Are you using nested navigation?
Are you initializing the code using GetBuilder?

Are you using nested navigation? Are you initializing the code using GetBuilder?

I am not using nested navigation, just named routing, also i tried using normal Get.to but it was still the same, i tried initializing controller using Getbuilder as well as using Get.put in initstate, but it was same.
GetMaterialApp

Routes

Screen

The page animations are also messed up in Get5,  the down to up transition shows a black screen in background
https://github.com/jonataslaw/getx/assets/51997260/9f9b318d-596d-4af8-9cb6-fa4679cc4dad

I'm going to try to redo this animation, deactivating the cupertino animation on the previous page.
About your controller being disposed, this is strange, since inserting a middleware does practically the same thing that GetX does by default, however, there could be someone stealing the owner of the route. Is there a bottomsheet? Dialogue? Where is this happening on this route?
Well, if you have time, we can do a discord call to check this out and you can share your screen, because this is very unusual.

@jonataslaw  How is the function of getx5 split into multiple feature packs

I'm going to try to redo this animation, deactivating the cupertino animation on the previous page.
About your controller being disposed, this is strange, since inserting a middleware does practically the same thing that GetX does by default, however, there could be someone stealing the owner of the route. Is there a bottomsheet? Dialogue? Where is this happening on this route? Well, if you have time, we can do a discord call to check this out and you can share your screen, because this is very unusual.

inserting a middleware does practically the same thing
Please note that the controller is also getting disposed while using in middleware, its only working when I am making the controller permanent in middleware.

I'm going to try to redo this animation, deactivating the cupertino animation on the previous page.
About your controller being disposed, this is strange, since inserting a middleware does practically the same thing that GetX does by default, however, there could be someone stealing the owner of the route. Is there a bottomsheet? Dialogue? Where is this happening on this route? Well, if you have time, we can do a discord call to check this out and you can share your screen, because this is very unusual.

inserting a middleware does practically the same thing
Please note that the controller is also getting disposed while using in middleware, its only working when I am making the controller permanent in middleware.
I am showing a loading dialog when page is opened

Closing it like this

I have invited you as a collaborator to access the code please check once you get time. The issue is replicable in getx_controller branch
https://github.com/jonataslaw/getx/assets/51997260/ca5a04fa-ba8b-4250-bf57-4e2aeffffad3

@jonataslaw  Separate GetxController and GetBuilder from GetX without needing anything else

@jonataslaw Separate GetxController and GetBuilder from GetX without needing anything else

Create a standalone plugin by separating GetxController and GetBuilder from GetX without requiring any routing, animations, GetMaterialApp, or any other dependencies

@jonataslaw Hello, thanks for this update. I recently update my code to v5. Now I have a situation where I need nested navigation but navigation between pages it's not working, the only page generated is the initialRoute declared in the Navigator widget. I see several changes in the code regarding this, specially that now the keys are a list of GetDelegate. The id is being saved correctly and then toNamed is exectude with the resulting delegate but debugging I realized route is null here in get_router_delegate.dart:
final route = _getRouteDecoder(args);
So the push is never executed.
Also I would like to know if there is a way to send arguments to the initial route, I tried overriding the RouteSettings in onGenerateRoute function but I still receiving null arguments in the child. Thanks in advance

1. Bindings
We are adding some scope to the bindings. This is important, because when we use Flutter web and navigate directly through the url to the address: /products/home for example, we expect the /products bings to be loaded. In version 4 this may generate unwanted red screens. In version 5, we have a parent and child relationship between GetPages, and between Bindings.
You will probably be able to make your code start without errors (just with a deprecated warning), but if you want to update your code to the new standard, just change the "void" function to a Bind List.
Previous:
class Foo extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => Bar());
  }
}

Now:
class Foo extends Bindings {
  @override
  List<Bind> dependencies() => [
    Bind.lazyPut(() => Bar());
  ]
}

The example for the new binding is incorrect

Can you provide instructions on how to migrate the binding controller syntax in Getx 5?
Get.to(
      () => const SecondScreen(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => SecondController());
      }),
    );

Can you provide instructions on how to migrate the binding controller syntax in Getx 5?
Get.to(
      () => const SecondScreen(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => SecondController());
      }),
    );

Please see https://github.com/jonataslaw/getx/issues/2966#issuecomment-1826432699

@jonataslaw
Hi, thank You for guide.
How can I use Get.to(SecondPage()) ?
In version 5, I getthis message "The argument type 'SecondPage' can't be assigned to the parameter type 'Widget Function()"

@jonataslaw
Hi, thank You for guide.
How can I use Get.to(SecondPage()) ?
In version 5, I getthis message "The argument type 'SecondPage' can't be assigned to the parameter type 'Widget Function()"

Get.to(() => SecondPage())

Is it possible to do deep linking only with getx routing? (without any packages like unilink)

@jonataslaw
getx 5 routing for flutter web working well in run debug, but not working after release compile
In debug mode I can enter an url in the address bar and / or refreshing the web page. But in compile release if I refresh the web page  or directly enter an url in browser address bar, it entering to 404 route (not found)

https://pub.dev/packages/refreshed

I used statemixin and futurize but to trigger onEmpty it doesn't work properly. For Widgets that appear in a successful position, onLoading and onError are running properly but onEmpty is not running properly even with the help of change(GetStatus.isEmpty)...
Could you please provide a simple example for onEmpty (i use list of object)

Getx 5 swiping left to close the page conflicts with the photo_view plug-in

The latest get 5 uses update to update objects to report errors, such as:
class User { String name, last; int age; User({required this.name, required this.last, required this.age}); }
final user = User(name: 'John', last: 'Doe', age: 33).obs;
user.update((value) { value?.name='Roi'; });
Then an error message is displayed
The body might complete normally, causing 'null' to be returned, but the return type, 'User', is a potentially non-nullable type.
How can I correct the code in get 5 and fix this problem

How did you fix this?

I have migrated my (small) project to 5.0.
Here is what I have found so far: https://medium.com/@yurinovicow/flutter-getx-5-0-breaking-changes-28f381931c96

The latest get 5 uses update to update objects to report errors, such as:
class User { String name, last; int age; User({required this.name, required this.last, required this.age}); }
final user = User(name: 'John', last: 'Doe', age: 33).obs;
user.update((value) { value?.name='Roi'; });
Then an error message is displayed
The body might complete normally, causing 'null' to be returned, but the return type, 'User', is a potentially non-nullable type.
How can I correct the code in get 5 and fix this problem

How did you fix this?

https://medium.com/@yurinovicow/flutter-getx-5-0-breaking-changes-28f381931c96

1. Bindings
We are adding some scope to the bindings. This is important, because when we use Flutter web and navigate directly through the url to the address: /products/home for example, we expect the /products bings to be loaded. In version 4 this may generate unwanted red screens. In version 5, we have a parent and child relationship between GetPages, and between Bindings.
You will probably be able to make your code start without errors (just with a deprecated warning), but if you want to update your code to the new standard, just change the "void" function to a Bind List.
Previous:
class Foo extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => Bar());
  }
}

Now:
class Foo extends Bindings {
  @override
  List<Bind> dependencies() => [
    Bind.lazyPut(() => Bar());
  ]
}

The example for the new binding is incorrect
It should be:
class Foo extends Binding {
  @override
  List<Bind> dependencies() => [Bind.lazyPut(() => Bar())];
}

Thanks!

Can you provide instructions on how to migrate the binding controller syntax in Getx 5?
Get.to(
      () => const SecondScreen(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => SecondController());
      }),
    );

Please see #2966 (comment)

I couldn't understand. Could you share the code for this? Thanks.

最新的get5使用update更新对象报错，如：
class User { String name, last; int age; User({required this.name, required this.last, required this.age}); }
final user = User(name: 'John', last: 'Doe', age: 33).obs;
user.update((value) { value?.name='Roi'; });
然后显示一条错误消息
主体可能正常完成，导致返回“null”，但返回类型“User”是潜在的非可空类型。
我该如何修正 get 5 中的代码并解决这个问题

我也是同样的问题，你怎么解决的呢？

5.0版本手指拖动返回上个整个页面都可以？ 会和其他手势造成冲突。
4.0只是在界面边缘手指拖动才可以返回。

In GetX5, the compiled web package is not in hash routing mode. How can this be handled?

Hey @jonataslaw ,
Thanks for the amazing work coming in with version 5.0.
I was wondering if we could introduce sending the result down the stack when we need to call until or back with times != 1
Reference: https://github.com/jonataslaw/getx/blob/cbb8c6cb4fe3e3eac47e1b8a62eb64a91f97b6be/lib/get_navigation/src/extension_navigation.dart#L820

The latest get 5 uses update to update objects to report errors, such as:
class User { String name, last; int age; User({required this.name, required this.last, required this.age}); }
final user = User(name: 'John', last: 'Doe', age: 33).obs;
user.update((value) { value?.name='Roi'; });
Then an error message is displayed
The body might complete normally, causing 'null' to be returned, but the return type, 'User', is a potentially non-nullable type.
How can I correct the code in get 5 and fix this problem

How did you fix this?

https://medium.com/@yurinovicow/flutter-getx-5-0-breaking-changes-28f381931c96

This don't work as well. it dont refresh the object and don't hit the obx.... If i do the oldest method model.value = newvalue; model.refresh(), shows me the error of using the refresh for the "lists only" and refresh my obs. but the new Function of update never update the view


Feature.cleanup err code

What this PR does / why we need it:
This PR adds a new error code ERR_CLEANUP_CLUSTER_RESOURCES which indicates that resources in the shoot cluster are stuck in deletion.
This allows Gardener users to react accordingly, e.g. the Gardener-Dashboard can show this kind of error as an user related error.
Special notes for your reviewer:

Error wrapping feature of Golang 1.13 is used, see https://blog.golang.org/go1.13-errors.
If a resource of extensions.gardener.cloud already contains a known error code then this one is reused rather than re-matching the Regex. I see that we need a clear error code contract between Gardener and related extensions but don't want to introduce it in this PR. I'll create an issue and will implement it in further PRs.

Release note:

If a cluster is stuck in deletion because its content cannot be removed right away, the shoot resource will now contain the error code `ERR_CLEANUP_CLUSTER_RESOURCES` in `.status.lastErrors`

cc @gardener/dashboard-maintainers


Feat/single content types support

Ticket
https://github.com/VirtusLab/strapi-plugin-navigation/issues/-<your-ticket-#>
Summary
What does this PR do/solve?

PRs should be as small as they need to be, if this section starts becoming a novel you should seriously consider breaking it up into multiple PRs

Test Plan
How are you testing the work you're submitting?

Codecov Report

Merging #34 (edf66c5) into master (92563cb) will decrease coverage by 0.85%.
The diff coverage is 23.80%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
- Coverage   14.38%   13.53%   -0.86%
==========================================
  Files           5        6       +1
  Lines         292      303      +11
  Branches       95       98       +3
==========================================
- Hits           42       41       -1
- Misses        206      216      +10
- Partials       44       46       +2

Flag
Coverage Δ

unittest
13.53% <23.80%> (-0.86%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

services/utils/functions.js
7.01% <7.01%> (ø)

services/navigation.js
13.80% <42.55%> (+0.47%)
:arrow_up:

services/utils/constant.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Jenkins build stuck during analysing dependencies

This is very weird, but my builds are getting stuck during analysis phase (was working yesterday fine, what has changed is new plugin was installed (OWASP ZAP Proxy) and plugin Durable Task Plugin was updated (however downgrading back had no result). Anyone else with same issue? My builds are running on Docker containers, I attached output from OWASP logger as well. Will play more with ZAP plugin to check if it causes issues.
GIST link

We are having the same issue, it stucks forever at "[DependencyCheck] Analyzing Dependencies". It started to happen today.

I had the same problem, but then I waited some more and got this error message : [WARNING] Download Failed for NVD CVE - 2006
Seems like something is down somewhere.
Full output from the plugin

The issue is gone after I upgrade "OWASP Dependency-Check Plugin" in Jenkins to version 3.3.0

Well, for me it introduces another bug #1394, so it's not really solution, plus it's been working just fine prior to today, it's not ZAP plugin that interferes though, checked that.

We have seen issues when one of the external vulnerability repositories has availability issues in the past. This is one of the reason I recommend using a centralized database with a single update node. A great example is https://hub.docker.com/r/stefanneuhaus/dependencycheck-central-mysql/

Thanks for suggestion, will test it through, closing issue then.


on damage enchants don't seem to work

I used the default source code to specifically test if it was my version of the plugin failing, and even on the default version, enchants that activate upon being attacked seem not to work :P

I'll look into it.

well rather enchants that apply effects to other players don't work either.

So only the ones that passively grant effects work. I tested this by using the default plugin and config, then 2 customenchantments that I made myself. I gave one player prot IV unb III armour, and used the other to hit him with a CE filled sword. Nothing triggered. However, as soon as I used the custom made enchantment in customenchantment.yml, the potion effects started triggering. By not working I mean nothing after hundreds of hits. No errors in console either. I'm not sure about previous versions, but this problem seems to have been around since 1.5.2, maybe even 1.5.1

Also could you maybe livestream your coding sessions someday? I would be very interested to watch :D

Also thanks for the fast reply :D

I mite livestream some time. I'll look into this problem soon. I haven't been getting any other reports of this.

Hmm maybe I'll record this problem, would help more huh

wait molten does seem to work :P

I only tested it with zombies though, I'll use a player, see what happens

yep it doesn't work with players :P

https://www.youtube.com/watch?v=ljMpMnWKDvc&feature=youtu.be
https://www.youtube.com/watch?v=H0IuZrcXgkg&feature=youtu.be

This was with default settings btw :P

I only changed the messages I believe

Yep, on-damage apply potion effect enchants also only work on mobs for me.

Yep, my own coded enchantments work too, as long as its a mob triggering it :P

Thanks ill have to look into that.

Thanks :D

I'll test this problem again soon, hope it works :smile: . If it does I'll close the thread :smile: good work as usual :+1:

Oh god there are issues with my server, the bungee server was taking up too much CPU so it was shut down. I'll test another time. I'll close this issue for now. If the problem persists I'll open another thread :smile: Big thanks!


Added support extend the metadata information with the WebKit bugzilla

Related to https://github.com/web-platform-tests/wpt-pr-bot/issues/100

Added webkit metadata library
Added bugs-webkit library for WebKit's Bugzilla
Added pullRequestPuller() in the main index.js. This function pulls
the "Webkit export" open PR and updates the metadata info verifiying
the PR against the Bugzilla
getMedatada() extended to include WebKit related items:

For WebKit's Bugzilla flags: in_queue and reviewed
For WebKit's Bugzilla see_also link reference

I was bit stuck whit the tests but I think I got it now.

Sorry for the delay. I think we're getting there! :)

Nevermind. Thanks for the review. I just update the PR with the suggested changes. I feel we are pretty close.


AMQ-9552: Add metric lastMessageTimestamp to StatisticsBroker based o…

Add metric lastMessageTimestamp to StatisticsBroker based on modification time of metric enqueues:
// NOTICE: Client-side, you may get the broker "now" Timestamp by msg.getJMSTimestamp()
// This allows for calculating inactivity.
statsMessage.setLong("lastMessageTimestamp", stats.getEnqueues().getLastSampleTime());

Some examples per threshold of this metric from real life implementation:


Package subpath './peer-job-queue' is not defined by "exports" for circuit-relay

I'm in the dark here, you could use some work on your git docs!
I found defaults https://github.com/ipfs/helia/blob/main/packages/helia/src/utils/libp2p-defaults.ts for libp2p cause I could not find it here.
used https://www.npmjs.com/package/@libp2p/circuit-relay-v2 because 'libp2p/circuit-relay' doesn't exist
got this error
(node:1675237) UnhandledPromiseRejectionWarning: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './peer-job-queue' is not defined by "exports" in<EMAIL_ADDRESS>imported from<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:399:5)
    at exportsNotFound (node:internal/modules/esm/resolve:361:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:697:9)
    at packageResolve (node:internal/modules/esm/resolve:878:14)
    at moduleResolve (node:internal/modules/esm/resolve:944:20)
    at defaultResolve (node:internal/modules/esm/resolve:1159:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:1675237) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

The npm package put this main repo as where to report bugs, and they look like part of your team, so if you get mad at me for posting this here go ask why they did that in the first place.

Version:
the latest

Platform:
inux benz-iMac 5.15.0-88-generic 98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Subsystem:
libp2p

Severity:
boom
Description:
loaded libp2p
Steps to reproduce the error:
// this should be deleted after it is called
  //const { MemoryDatastore } = await import('datastore-core')
  //const { MemoryBlockstore } = await import('blockstore-core')
  const { circuitRelayTransport, circuitRelayServer } = await import('@libp2p/circuit-relay-v2')
  const { tcp } = await import('@libp2p/tcp')
  const { webRTC, webRTCDirect } = await import('@libp2p/webrtc')
  const { webSockets } = await import('@libp2p/websockets')
  const { mdns } = await import('@libp2p/mdns')
  const { noise } = await import('@chainsafe/libp2p-noise')
  const { yamux } = await import('@chainsafe/libp2p-yamux')
  const { identify } = await import('@libp2p/identify')
  const { autoNAT } = await import('@libp2p/autonat')
  const { uPnPNAT } = await import('@libp2p/upnp-nat')
  const { dcutr } = await import('@libp2p/dcutr')
  const { kadDHT } = await import('@libp2p/kad-dht')
  const { ping } = await import('@libp2p/ping')
  const { gossipsub } = await import('@chainsafe/libp2p-gossipsub') // https://github.com/ChainSafe/js-libp2p-gossipsub
  const IPFS = await import('ipfs-core')
  //const { createOrbitDB, IPFSAccessController } = await import('@orbitdb/core')
  const { createLibp2p } = await import('libp2p')
  const Room = require('ipfs-pubsub-room')

  //const datastore = new MemoryDatastore()
  //const blockstore = new MemoryBlockstore()

  const libp2p = await createLibp2p({
    //datastore,
    addresses: {
      listen: ['/ip4/<IP_ADDRESS>/tcp/0', '/ip6/::/tcp/0', '/webrtc'],
      swarm: ['/ip4/<IP_ADDRESS>/tcp/9090/ws']
    },
    transports: [
      circuitRelayTransport({
        discoverRelays: 1
      }),
      tcp(),
      webRTC(),
      webRTCDirect(),
      webSockets()
    ],
    peerDiscovery: [mdns()],
    connectionEncryption: [noise()],
    streamMuxers: [yamux()],
    services: {
      identify: identify(),
      autoNAT: autoNAT(),
      upnpNAT: uPnPNAT(),
      dcutr: dcutr(),
      circuitRelay: circuitRelayServer({
        advertise: true
      }),
      dht: kadDHT(),
      ping: ping(),
      pubsub: gossipsub()
    }
  })

Sorry about this 😓 this will be fixed once @libp2p/circuit-relay-v2 v5.0.0 is released. We have some breaking changes which included moving circuit-relay to it's own module
Our docs do need to be updated, we have a issues related to that under good first issues if you're interested 😉
We also do have an issue to create some libp2p defaults as well

used npmjs.com/package/@libp2p/circuit-relay-v2 because 'libp2p/circuit-relay' doesn't exist

It should exist within v0.46.21 of libp2p, could you try the following code snippet?

  const { circuitRelayTransport, circuitRelayServer } = await import('libp2p/circuit-relay')
  const { tcp } = await import('@libp2p/tcp')
  const { webRTC, webRTCDirect } = await import('@libp2p/webrtc')
  const { webSockets } = await import('@libp2p/websockets')
  const { mdns } = await import('@libp2p/mdns')
  const { noise } = await import('@chainsafe/libp2p-noise')
  const { yamux } = await import('@chainsafe/libp2p-yamux')
  const { identifyService } = await import('libp2p/identify')
  const { autoNATService } = await import('libp2p/autonat')
  const { uPnPNATService } = await import('libp2p/upnp-nat')
  const { dcutrService } = await import('libp2p/dcutr')
  const { kadDHT } = await import('@libp2p/kad-dht')
  const { pingService } = await import('libp2p/ping')
  const { gossipsub } = await import('@chainsafe/libp2p-gossipsub') // https://github.com/ChainSafe/js-libp2p-gossipsub
  const IPFS = await import('ipfs-core')
  //const { createOrbitDB, IPFSAccessController } = await import('@orbitdb/core')
  const { createLibp2p } = await import('libp2p')

  //const datastore = new MemoryDatastore()
  //const blockstore = new MemoryBlockstore()

  const libp2p = await createLibp2p({
    //datastore,
    addresses: {
      listen: ['/ip4/<IP_ADDRESS>/tcp/0', '/ip6/::/tcp/0', '/webrtc'],
      swarm: ['/ip4/<IP_ADDRESS>/tcp/9090/ws']
    },
    transports: [
      circuitRelayTransport({
        discoverRelays: 1
      }),
      tcp(),
      webRTC(),
      webRTCDirect(),
      webSockets()
    ],
    peerDiscovery: [mdns()],
    connectionEncryption: [noise()],
    streamMuxers: [yamux()],
    services: {
      identify: identifyService(),
      autoNAT: autoNATService(),
      upnpNAT: uPnPNATService(),
      dcutr: dcutrService(),
      circuitRelay: circuitRelayServer({
        advertise: true
      }),
      dht: kadDHT(),
      ping: pingService(),
      pubsub: gossipsub()
    }
  })


AnalogIn corrupted after MeshInterface::get_default_instance();

Description of defect
Adding an AnalogIn object to mbed-os-example-mesh-minimal results in corrupted AnalogIn measurement values.
If the AnalogIn measurement is placed before mesh = MeshInterface::get_default_instance(); (or if that line is commented out), then the correct measurements are printed out.
Expected behavior (with get_default_instance() is commented out).
Full scale uint16 (0 to 65,536) measurements as expected.
61978
61986
61984
61994

Actual behavior (with get_default_instance() called before the measurement)
Results limited to 1 decimal digit. Sometimes in different situations the measurements are 2 or 3 digits consistently but they are always random instead of related to the actual analog value.
0
8
1
3
7

Target(s) affected by this defect ?
K64F
NUCLEO_F429ZI
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM
What version of Mbed-os are you using (tag or sha) ?
Mbed 5.15 (b114a9c)
Mbed OS 6.5 (f227856)
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
N/A
How is this defect reproduced ?
Plug in any analog sensor or voltage value (0-3.3V) to an analog input such as A1.
Add the following code to the mbed-os-example-mesh-minimal main.cpp.
AnalogIn water_sensor(A1);
uint16_t water_sensor_value = 0;

First commend out this part:
    mesh = MeshInterface::get_default_instance();
    if (!mesh) {
        printf("Error! MeshInterface not found!\n");
        return -1;
    }

And then add this part:
    while(1){
        water_sensor_value = water_sensor.read_u16();
        printf("%d\r\n",water_sensor_value);
        ThisThread::sleep_for(2000);
    }

Lastly, to recreate the problem, uncomment the section with get_default_instance().

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3389


Return string from a function seems to be corrupted

disk.zip

Fixed. Thanks for reporting!

Fixed. Thanks for reporting!


Class 'Iamstuartwilson\Exception' not found

PHP Fatal error:  Class 'Iamstuartwilson\Exception' not found in /var/www/html/libraries/iamstuartwilson/strava/src/Iamstuartwilson/StravaApi.php on line 112

Hi,
Thank you for your useful library.
I got this error.

Hi,
the bug was just fixed! (see pull request #12)
Just update your StravaApi library to version 1.1.2 to get the fixed version.
Marcus


Adding new sheet

Submission Checklist
Required

[ x] The pull request title clearly contains the name of the sheet I am editing.
[x ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x ] The pull request makes changes to files in only one sub-folder.
[ x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: < Forge >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: < Ricky Martinez  > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: < Forge > (i.e. Dungeons & Dragons, FATE)

[ x] I have followed the Character Sheets Standards when building this sheet.

[x ] This sheet has been made on behalf of, or by, the game's publisher.
[ x] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at:    < ForgeRPS.com  >
[x ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Adding new Forge character sheet

Character Sheet Info Roll20 Internal Use only.

Hey there @momentumx, just to double check: This is the official sheet for the game, right?

Yes it is.
On Mon, Feb 20, 2023, 1:57 PM Miguel Peres @.***> wrote:

Hey there @momentumx https://github.com/momentumx, just to double
check: This is the official sheet for the game, right?
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/11490#issuecomment-1437488914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLLNFTHA6N65TBBSFWDABDWYPECLANCNFSM6AAAAAAVAAO2YA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi y'all! Just wanted to make sure everything was alright. I think I read something about Tuesdays being the review for most pull requests, and I see a red x on mine, so I wasn't sure if y'all were waiting on me. No rush, just wanted to check in

Hi @momentumx
Apologies for the slow response; the preview image for the character sheet needs to be a screenshot of the character sheet.
Once this is corrected, we can merge the sheet.
Thanks!

Ok, I updated the photo, pulled in master and pushed my branch. Should I
make a new pull request or is the old 1 still good?
On Thu, Feb 23, 2023, 11:48 AM Nic Bradley @.***> wrote:

Hi @momentumx https://github.com/momentumx
Apologies for the slow response; the preview image for the character sheet
needs to be a screenshot of the character sheet.
Once this is corrected, we can merge the sheet.
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/11490#issuecomment-1442188949,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLLNFV5EZKBMBBL7P6USBLWY6PHPANCNFSM6AAAAAAVAAO2YA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @momentumx it seems your pull request contains changes to multiples sheets (folders) at once. If that was intentional, please break the change into one PR per sheet. Otherwise check for files that were modified by mistake and remove them from your original PR.


Add more profilerecorder unit tests

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Adding the BPF related unit tests to the profilerecorder logic.
Which issue(s) this PR fixes:

None
Does this PR have test?
Yes

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/lgtm
yay!! More tests!!

Codecov Report

Merging #710 (a87c9ed) into main (e979472) will increase coverage by 5.54%.
The diff coverage is 48.64%.

@@            Coverage Diff             @@
##             main     #710      +/-   ##
==========================================
+ Coverage   39.36%   44.90%   +5.54%
==========================================
  Files          41       41
  Lines        3028     3044      +16
==========================================
+ Hits         1192     1367     +175
+ Misses       1783     1614     -169
- Partials       53       63      +10


Is there a way to get a smaller version of this library?

I'm using webpack to build my project and I included this as my library. However this library add over 500+ KB to my project and that's a considerable size:
[526] ./~/phoneformat.js/dist/phone-format-exports.js 507 kB {0} [built]
Is there a way to shrink the size of this library?

Not really, the bloat is from the google libraries, which are 478kb, even compressed they are still about 414kb.


Cant connect to Server ATM10

Describe the problem
Server appears to be online but u cant connect to it
Container definition
docker container setup using portainer
Container logs
[12:30:49] [Worker-Main-6/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 51%
[12:30:49] [Worker-Main-7/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 51%
[12:30:50] [Worker-Main-6/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 51%
[12:30:50] [Worker-Main-7/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 53%
[12:30:51] [Server thread/INFO] [minecraft/LoggerChunkProgressListener]: Time elapsed: 20889 ms
[12:30:51] [Server thread/INFO] [minecraft/DedicatedServer]: Done (41.514s)! For help, type "help"
[12:30:51] [Server thread/INFO] [minecraft/DedicatedServer]: Starting remote control listener
[12:30:51] [Server thread/INFO] [minecraft/GenericThread]: Thread RCON Listener started
[12:30:51] [Server thread/INFO] [minecraft/RconThread]: RCON running on <IP_ADDRESS>:25575
[12:30:51] [LanServerPinger #1/WARN] [minecraft/LanServerPinger]: LanServerPinger: Network is unreachable
[12:30:51] [Server thread/INFO] [ne.ne.ne.se.pe.PermissionAPI/]: Successfully initialized permission handler neoforge:default_handler
[12:30:51] [Server thread/INFO] [journeymap/]: Loaded null for service interface journeymap.api.services.WebMapService
[12:30:51] [Server thread/INFO] [journeymap/]: Loaded journeymap.common.helpers.NeoForgeClientHooks@20a662a for service interface journeymap.api.services.ClientPlatformService
[12:30:51] [Server thread/INFO] [journeymap/]: Loaded journeymap.common.helpers.NeoForgeHooks@2202c36d for service interface journeymap.api.services.CommonPlatformService
[12:30:51] [Server thread/INFO] [journeymap/]: global (FirstLoaded) Setting config file to version "6.0.0-beta.27": journeymap.server.global.config
[12:30:51] [Server thread/INFO] [journeymap/]: global (Valid) Creating config file: journeymap/server/6.0/journeymap.server.global.config
[12:30:51] [Server thread/INFO] [journeymap/]: default (FirstLoaded) Setting config file to version "6.0.0-beta.27": journeymap.server.default.config
[12:30:51] [Server thread/INFO] [journeymap/]: default (Valid) Creating config file: journeymap/server/6.0/journeymap.server.default.config
[12:30:51] [Server thread/INFO] [journeymap/]: minecraft~overworld (Valid) Creating config file: journeymap/server/6.0/journeymap.server.minecraft~overworld.config
[12:30:51] [Server thread/INFO] [journeymap/]: undergarden~undergarden (Valid) Creating config file: journeymap/server/6.0/journeymap.server.undergarden~undergarden.config
[12:30:51] [Server thread/INFO] [journeymap/]: allthemodium~the_beyond (Valid) Creating config file: journeymap/server/6.0/journeymap.server.allthemodium~the_beyond.config
[12:30:51] [Server thread/INFO] [journeymap/]: minecraft~the_end (Valid) Creating config file: journeymap/server/6.0/journeymap.server.minecraft~the_end.config
[12:30:51] [Server thread/INFO] [journeymap/]: allthemodium~the_other (Valid) Creating config file: journeymap/server/6.0/journeymap.server.allthemodium~the_other.config
[12:30:51] [Server thread/INFO] [journeymap/]: minecraft~the_nether (Valid) Creating config file: journeymap/server/6.0/journeymap.server.minecraft~the_nether.config
[12:30:51] [Server thread/INFO] [journeymap/]: allthemodium~mining (Valid) Creating config file: journeymap/server/6.0/journeymap.server.allthemodium~mining.config
[12:30:51] [Server thread/INFO] [journeymap/]: mahoutsukai~reality_marble (Valid) Creating config file: journeymap/server/6.0/journeymap.server.mahoutsukai~reality_marble.config
[12:30:51] [Server thread/INFO] [journeymap/]: deeperdarker~otherside (Valid) Creating config file: journeymap/server/6.0/journeymap.server.deeperdarker~otherside.config
[12:30:51] [Server thread/INFO] [journeymap/]: the_bumblezone~the_bumblezone (Valid) Creating config file: journeymap/server/6.0/journeymap.server.the_bumblezone~the_bumblezone.config
[12:30:51] [Server thread/INFO] [journeymap/]: eternal_starlight~starlight (Valid) Creating config file: journeymap/server/6.0/journeymap.server.eternal_starlight~starlight.config
[12:30:51] [Server thread/INFO] [journeymap/]: ae2~spatial_storage (Valid) Creating config file: journeymap/server/6.0/journeymap.server.ae2~spatial_storage.config
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.InscriberTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.ItemP2PTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.SubnetPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.QnbTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.InterfaceTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.MemoryCardTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.InvalidPatternTestPlot for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.GuidebookPlot for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.AnnihilationPlaneTests for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.TestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.SpatialTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.SpawnExtraGridTestTools for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.CrystalResonanceGeneratorTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.P2PTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.ExternalEnergyTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.PatternProviderPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.PatternProviderLockModePlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class appeng.server.testplots.AutoCraftingTestPlots for plots
[12:30:51] [Server thread/INFO] [AE2:S/]: Scanning class de.mari_023.ae2wtlib.AE2wtlibTestPlots for plots
[12:30:51] [Server thread/INFO] [Observable/]: Registered thread Server thread
[12:30:51] [Server thread/INFO] [FTB Quests/]: Loading quests from /data/config/ftbquests/quests
[12:30:51] [Server thread/INFO] [FTB Quests/]: loaded translation tables for 6 language(s)
[12:30:51] [Server thread/INFO] [FTB Quests/]: Loaded 9 chapter groups, 34 chapters, 2218 quests, 36 reward tables
[12:30:51] [Server thread/INFO] [FTB Ranks/]: Loaded 3 ranks
[12:30:51] [Server thread/INFO] [evilcraft/]: Loading infobook /data/evilcraft/info/book.xml
[12:30:51] [Server thread/WARN] [evilcraft/]: Invalid appendix info_book.evilcraft.second_age.tools.broom from mod evilcraft in an infobook: The broom modifier evilcraft:witherer has no valid items
[12:30:51] [Server thread/WARN] [evilcraft/]: Invalid appendix info_book.evilcraft.second_age.tools.broom from mod evilcraft in an infobook: The broom modifier evilcraft:hungerer has no valid items
[12:30:51] [Server thread/WARN] [evilcraft/]: Invalid appendix info_book.evilcraft.second_age.tools.broom from mod evilcraft in an infobook: The broom modifier evilcraft:kamikaze has no valid items
[12:30:51] [Server thread/WARN] [evilcraft/]: Invalid appendix info_book.evilcraft.second_age.tools.broom from mod evilcraft in an infobook: The broom modifier evilcraft:withershield has no valid items
[12:30:54] [Server thread/INFO] [cyclopscore/]: Loading infobook /data/cyclopscore/info/test.xml
[12:30:54] [Server thread/INFO] [integrateddynamics/]: Loading infobook /data/integrateddynamics/info/on_the_dynamics_of_integration.xml
[12:30:55] [Server thread/INFO] [ne.ne.co.Co.apothic_enchanting/COREMODLOG]: Replaced 1 calls to Enchantment#getMaxLevel() in net/minecraft/world/item/enchantment/EnchantmentHelper
[12:30:57] [Server thread/WARN] [zerocore/service_loader]: Invalid service definition for it.zerono.mods.zerocore.lib.compat.patchouli.IPatchouliService. Using fallback implementation.
[12:30:59] [Server thread/INFO] [patchouli/]: Sending reload packet to clients
[12:30:59] [Server thread/WARN] [ModernFix/]: Dedicated server took 133.444 seconds to load
[12:30:59] [Server thread/WARN] [minecolonies/]: Starting Compat Discovery
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering Ores 227 166
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering saplings 300
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering plantables 19
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering food 636 717
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering fuel 7000
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering flowers 174
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering items 33472
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering lucky oreBlocks 6
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering recruitment costs
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering diseases
[12:31:00] [Server thread/INFO] [minecolonies/]: Finished discovering compostables 2113
[12:31:00] [Server thread/ERROR] [minecolonies/]: Couldnt analyze animal
java.lang.IllegalArgumentException: Duplicate id value for 17!
at TRANSFORMER/minecraft@1.21.1/net.minecraft.network.syncher.SynchedEntityData$Builder.define(SynchedEntityData.java:155) ~[server-1.21.1-20240808.144430-srg.jar%23401!/:?] {re:mixin,re:classloading}
at TRANSFORMER/ars_elemental@1.21.0-<IP_ADDRESS>/alexthw.ars_elemental.common.entity.familiars.FirenandoFamiliar.defineSynchedData(FirenandoFamiliar.java:100) ~[ars_elemental-1.21.0-<IP_ADDRESS>.jar%23432!/:1.21.0-<IP_ADDRESS>] {re:classloading}

From the logs, it looks like it's still starting up. Modpacks greatly increase the time before the server can accept connections.


Same epub file appearing multiple times as adding next epub files for the same container.

Hi Mahavir,I customized the folio activity as per my requirement,but I am getting one issue,whenever I adding the epub file to the activity,its appending the same epub multiple times.First time it showing one epub and for second time add its showing 2 same epub files in same.Please suggest or guide me how can I fix this issue.
I asked this one in the same issue which i have raised previously.But I did not get any response.So I am raising this on as new one.
please guide me,its helpful for me.
Thanks in Advance.

@techvedikasolutions please share your code and the screenshot for us to understand the issue. also if possible the epub file.

Hi, I am using the same folio activity in my code,I just modified initbook method and activity xml UI according to my requirement.Below is the initbook method and attaching the screenshots.
int portNumber = getIntent().getIntExtra(Config.INTENT_PORT, com.folioreader.Constants.PORT_NUMBER);
mEpubServer = EpubServerSingleton.getEpubServerInstance(portNumber);
//added by sai
if (mEpubServer.wasStarted()) {
mEpubServer.stop();
}
mEpubServer.start();
String path = FileUtil.saveEpubFileAndLoadLazyBook(AudioPlayer.this, mEpubSourceType, mEpubFilePath,
mEpubRawId, mEpubFileName);
addEpub(path);
        String urlString = com.folioreader.Constants.LOCALHOST + bookFileName + "/manifest";
        new MainPresenter(this).parseManifest(urlString);

To attach epub file the issue tracker not allowed that type of file.so I am giving s3 url which i am using to load the epub. https://vidyat-qa.s3.amazonaws.com/Collections/d7b1a11bf4c92738b493bf1376e03344/e6022106e60a129650126bfe838a658f/08aa95c850f46562e8c75e7a2053d677/8bb6d3109a614671249ed8025757428a/8bb6d3109a614671249ed8025757428a.epub

Hi,I fixed this issue by clearing the mSpineReferenceList on adding new epub to the container.Thank you for your support.


GRID 504: Mulit-grid demo reset bug

The "proper" solution would be to make the grid renderers objects to contain their reset and rebundle flag states. Instead, this simple solution moves those from the function objects to the gridRenderers hash in renderer/index.js.
@Dwaynekj, what to do you think? Either way requires changes to all grid renderers (paintCells functions). The solution that would recast them as objects would perhaps be clearer, but it's a heavier solution (more edits, more memory, more code).

Reference issue https://github.com/openfin/fin-hypergrid/issues/530

@joneit LMK When you have tested it. We can plan on reviewing it Monday


update LinearGradientView

Should fix #48 and #49

@brentvatne mind merging this in? Or maybe give more people access to this repo if you are not planning to maintain it.

can we expect a new release with these fixes?


SDK rewrites SAS timestamps if they aren't in an exact format, which breaks signature verification

Which version of the SDK was used?
0.7.0 (via AzCopy/Storage Explorer), also 0.8.0
Which platform are you using? (ex: Windows, Linux, Debian)
Windows, though I'd expect this issue to be platform-independent
What problem was encountered?
The Go SDK's SAS handling code rewrites the SAS timestamps, which causes signature verification on the server side to fail.
How can we reproduce the problem in the simplest way?
The List Service SAS endpoint (https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/listservicesas), as well as probably others, currently generate timestamps with sub-second precision.  Even if you pass an expiration date without sub-second precision to the API, the service generates the signature with a timestamp that uses sub-second precision.  This SAS is then unusable with the Go SDK (and by proxy, AzCopy and Azure Storage Explorer)
Have you found a mitigation/solution?
No mitigation, but I will be opening a PR to resolve this shortly.  The original timestamp string needs to be retained, instead of expecting a Time to roundtrip cleanly.
I found my way here via azure/azure-storage-azcopy#122!

Thanks @AtOMiCNebula for the contribution!


Where's my first issue?

[x] Need to create my first issue
[x] Learn more about Git

Created first issue, closed!


Pass kwargs through to truncate in Dense factorizations

Description
In NDTensors/src/linearalgebra.jl, changed the calls to truncate! to pass kwargs.... The reason for this is flexibility if a user wants to change the behavior of truncate! without editing the library code, as a user recently did here: https://itensor.discourse.group/t/cutoff-relative-to-maximum-singular-value/274
The downside might be if extra keyword args are passed to truncate which cause a bug, but I don't think we've seen many examples of this happening with the kwargs... pattern? (Also note that the BlockSparse version does  pass kwargs... without any problem.)

[X] My code follows the style guidelines of this project. Please run using JuliaFormatter; format(".") in the base directory of the repository (~/.julia/dev/ITensors) to format your code according to our style guidelines.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have added tests that verify the behavior of the changes I made.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] Any dependent changes have been merged and published in downstream modules.

Codecov Report

Merging #958 (ea2eb18) into main (22f6950) will not change coverage.
 Consider uploading reports for the commit 01fc443 to get more accurate results

@@           Coverage Diff           @@
##             main     #958   +/-   ##
=======================================
  Coverage   67.14%   67.14%
=======================================
  Files          88       88
  Lines        9395     9395
=======================================
  Hits         6308     6308
  Misses       3087     3087

Continue to review full report at Codecov.

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


Test out browserifying request

Using standard fetch() instead: https://github.com/eklem/crawler-in-browser/commit/e26eee1c9f523199b6d9010518e49a8daa7b867b


Dev plan member roles

Define and document members roles from an administrative perspective based on meeting discussions.
See https://github.com/r-yeh/grocery-spending-tracker/issues/4 for meeting details

PR: https://github.com/r-yeh/grocery-spending-tracker/pull/6


docs(README): replaced Rule.loader with Rule.use in single loader examples

This PR contains a:

[ ] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[x] metadata update

Motivation / Use-Case
Ref: issue #314
This PR aims to update the doc to reflect use of Rule.loader and Rule.use in the case of using single (rather than multiple) loaders. This being said, Webpack official docs only deprecated the use of Rule.loaders rather than Rule.loader. In particular, it pointed out that Rule.loader can be used as a shortcut to Rule.use: [ { loader } ] (as seen in the following screenshot):

However most loaders have updated their docs to consistently use Rule.use rather than Rule.loader even in the case of using a single loader:
https://webpack.js.org/loaders/babel-loader/
https://webpack.js.org/loaders/babel-loader/
Breaking Changes
No breaking changes
Additional Info
N/A

@alanyinjs Thanks for PR, need accept CLA

Also please use commit message not more 72 characters :+1:


Expunge Make from the build system

i.e. taking https://github.com/wellcomecollection/storage-service/pull/864 and doing it everywhere

Done!


Cannot select in grid for copying using mouse

Tried the demo site and my own project (3.9.10). I cannot select any text in a grid such as NorthWind Customer grid.

Hi
Check https://serenity.is/demo/BasicSamples/EnablingRowSelection

write code grid ts file
protected getSlickOptions(): Slick.GridOptions {
var opt = super.getSlickOptions();
opt.enableTextSelectionOnCells = true;
opt.selectedCellCssClass = "slick-row-selected";
opt.enableCellNavigation = true;
return opt;
}
    protected createSlickGrid(): Slick.Grid {
        var grid = super.createSlickGrid();
        grid.setSelectionModel(new Slick.RowSelectionModel());
        return grid;
    }

i was about to create an issue for this as well.
@arunkumar12712  i have done this and while i can highlight the text as soon as i let go the highlight disappears as the row selection event seems to cancel my cell value highlight.
you can see this behavior in the link @choss21  shared. try to highlight a value from a cell and copy it...

Override getSlickOptions and set enableTextSelectionOnCells to true


Typo correction

Hi, I'm RoboFont user and I'm using font libraries like defcon. I found a typo in docstrings while referencing defcon. So I fixed the typo but didn't read all the files, so I'm not sure if all the typos have been fixed.
I hope this will help you. :)

thanks!


Document visibility AABB caveats with decals, reflection probes and lights

This is required in rendering methods that don't use clustering to check which meshes should be affected by decals, reflection probes and lights. (These situations were tested using the MRP provided in #72614.)
This closes https://github.com/godotengine/godot/issues/72614.

Thanks!


Fix Handling Of Empty Collections

What does this change?
Paired with @alexduf on this work.
TL;DR It fixes a bug where the parser would incorrectly read the end of a given collection input, which caused problems attempting to parse empty collections.
Background
Thrift is a binary protocol. Decoders operate by working their way through a buffer of binary data and attempting to parse that into language-specific data types.
The bug we discovered exists in the code generated to read structs. The code generated by this project goes through a common process to read each field in the struct.

It reads the preamble for each field to figure out what type and id (number) it is
It checks that the type matches the expected type for the field with that id
Depending on whether the type matches:

If yes, it reads the amount of data from the buffer corresponding to the expected type
If no, it skips over that field

The bug existed when step 3 was applied for collections. When parsing a collection you need to:

Parse the start of the collection
Parse the entries within the collection
Parse the end of the collection

We discovered the issue for collections where the content didn't match the type that was expected, either because the collection was empty (in which case Thrift doesn't provide a type for the content) or because the type simply didn't match (e.g. list<string> rather than list<i32>). In these situations the parsing code would perform step 1, discover that the content types didn't match, and proceed to skip an amount of data equivalent to the collection size. There are two problems with this approach: a) it doesn't parse the end of the collection, and b) it may skip the wrong mount of data because the start of the collection has already been parsed.
The fix is to always parse the end of a collection, and not attempt to skip it, once we have parsed the start.
Note: We've also added TypeScript as a dev dependency. Previously the tests assumed a globally installed copy of tsc, which isn't always available.
Changes

Added package.json and package-lock.json to make TypeScript a dev dependency
Updated tests to use locally installed version of tsc
Ignored node_modules
Update read_field templates to always read collections/maps to end
Added test cases for empty maps and empty lists

How to test
Use it against some data with empty collections, or where the types within a collection don't match those expected. You can also run the tests that we've added.
How can we measure success?
It's able to parse empty collections in future.

Hey David,
I've tried adding a test case for schemas not aligning and I couldn't quite prove that it fails. It does seem to ignore all further fields which isn't great.
But I think I want to address that in a different PR. It's linked to ensuring required fields are provided and throwing an exception if they aren't. This currently isn't implemented.
So I think it's more likely we'll have empty collections in prod than misaligned types, do you see an issue with us merging this change first to unblock the mobile team, then we'll address the other issues in a separate PR?

Yes, that sounds fine to me.  Can you edit the PR description to make it clear that it is only fixing the empty collection case? It makes lots of references to fixing the "type simply didn't match" issue which is misleading.  Maybe also open an issue to track the required-fields and schema-mismatch work.
BTW- this is the first time I've really looked at this project.  It is very impressive!

Can you edit the PR description to make it clear that it is only fixing the empty collection case

Updated.

Thanks David! I've created an issue here: https://github.com/guardian/scrooge-extras/issues/15
Feel free to weigh in if you have an opinion


feat: Initial support for Swift Plugins

Closes https://github.com/evilmartians/lefthook/issues/544

:zap: Summary

Updated the hooks.tmpl file to support executing lefthook from a Swift Plugin. Additionally, added a note into docs/installation.md with a link to the plugin repository.
:ballot_box_with_check: Checklist

[ ] Check locally
[ ] Add tests
[x] Add documentation

@mrexox what would be the next release version for lefthook? I'm assuming 1.5.1 and would want to update the documentation to reflect that.

@csjones , yes, probably 1.5.1. But don't worry, I'll keep an eye on it :)


Error from loading a Keras model

Hi, dear developers:
When I was opening the following notebook in colab:
https://colab.research.google.com/github/ImagingDataCommons/IDC-Examples/blob/master/notebooks/lung_nodules_demo.ipynb
I wasn't able to load the model based on the json file: dp_arch.json
The error message is:
TypeError: init() missing 2 required positional arguments: 'filters' and 'kernel_size'
There are some instruction that relates to this. However, I am confused with the wording "change all the layers" at this time
"""
N.B. any warnings are due to the fact that the model was developed for
Keras 1, and the config file has been converted in a Keras-2-compatible file
Nonetheless, Keras 2 uses different naming conventions/def.s, so in order to
get rid of the warnings one should change all the layers def.s in the JSON file
"""
May I get some help from you?
Thanks!

@denbonte Can you provide guidance here?

Dear Peter,
TypeError: init() missing 2 required positional arguments: 'filters' and 'kernel_size'

We know about this error and discussed about it (and how to fix it!) in this thread on the IDC forum. Unfortunately, Google removed native support for TensorFlow 1.x from Colab - so there is nothing we can do besides manually downgrade the TensorFlow version. This will affect ALL the models developed with TF 1.x running on Colab - not only the one we are using!
If you have any more questions, feel free to continue the thread here or join the discussion on the IDC forum!


cargo release --continue

If publishing one crate in a workspace fails for any reason, it halts the cargo release process. It would be nice if there were a way to run something like cargo release --continue or cargo release --from-package=<the one that failed> to have it continue the release process from where it left off. Right now I think the best option is to manually specify crates to exclude, but in a project with a lot of crates, that can be pretty annoying.

What kind of failures do you commonly see?  I'm wondering if I can tailor some other changes I'm working on to help make recovery easier.

Currently, we run through all the release steps on a given crate before moving on.  I'm looking at switching us to performing a step on all crates before moving on.  I was hoping it would help but I'm unsure.  I think it'll at least make a --continue easier to implement.  One challenge is knowing where we left off when bumping.  With my change, all version bumping will be completed so we won't have that problem.  --continue would just skip that step and try to publish the crates if they weren't already published.

I ran into this:
$ cargo release minor
Release physx-sys 0.3.0? [y/N]
y
[2020-03-04T10:56:25Z INFO ] Update physx-sys to version 0.3.0
[2020-03-04T10:56:25Z INFO ] Fixing physx's dependency on physx-sys to `^0.3` (from `^0.2`)
warning: LF will be replaced by CRLF in physx-sys/Cargo.toml.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in physx/Cargo.toml.
The file will have its original line endings in your working directory
[master a81236d] (cargo-release) version 0.3.0
 2 files changed, 2 insertions(+), 2 deletions(-)
[2020-03-04T10:56:25Z INFO ] Running cargo publish on physx-sys
    Updating crates.io index
   Packaging physx-sys v0.3.0 (C:\dev\physx-rs\physx-sys)
   Verifying physx-sys v0.3.0 (C:\dev\physx-rs\physx-sys)
   Compiling cc v1.0.50
   Compiling cmake v0.1.42
   Compiling physx-sys v0.3.0 (C:\dev\physx-rs\target\package\physx-sys-0.3.0)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 08s
   Uploading physx-sys v0.3.0 (C:\dev\physx-rs\physx-sys)
[2020-03-04T11:00:10Z WARN ] Fatal: Timeout waiting for crate to be published.

The crate was actually published, though. I just now want cargo-release to perform the last few steps after that step, but can't.

I'm seeing the same timeout error, on OSX.
Uploading stream_multiplexer v0.10.0 (/Users/bhalsted/src/stream_multiplexer)
[2020-03-13T03:11:32Z INFO ] Waiting for publish to complete...
[2020-03-13T03:12:03Z WARN ] Fatal: Timeout waiting for crate to be published.

I'm seeing the Waiting for publish to complete... error on linux while publishing to cloudsmith.

#393 will allow a cargo release (no level / target version) will now resume the release and not re-publish previously published crates.
I believe this now resolves the needs for a --continue (though its only in master for now, hoping to release soon).  If this doesn't work out for people, please file new issues about your specific errors and how cargo release didn't fix it.


Add cla checks

Add CLA checks to this repository.
Solve task 4 in issue https://github.com/brackets-cont/contributor-license-agreement/issues/22#issue-1221753274.

LGTM Merging. Thanks for contributing @psdhanesh7


Exposes syntaxColouring.

I'll count in this instead of #53, which I'll close.

Although I didn't do it, maybe not a bad idea to expose the gutter view, too. As long as the scroll view is exposed, too, this would make all of the major configuration direct instead of properties. I've not added it, but generally looking down the property setters in MGSFragaria.m, only a few of them have setter side affects (e.g., hasVerticalScroller). Most of these can be moved to setters in the appropriate classes.
Looking at setTextInvisibleCharactersColour, for example, might move to SMLTextView.
I'll take a look at appending this commit/PR throughout the day with the above.


Fix worker enterprise API behavior

Workers have a separate API for enterprise customers that supports multi-script functionality https://developers.cloudflare.com/workers/api/config-api-for-enterprise/
This PR addresses 2 issues with using the enterprise API

Currently if an enterprise user tries to set a ScriptName but forgets to set their organizationID, calls to create/update/delete a worker will just silently ignore their ScriptName parameter which is probably not what they want. This PR changes it so that if a ScriptName is provided, it will return an error unless the organizationID is also set
The enterprise API has different endpoints for setting routes that allows for mapping routes to a particular script. This PR will use those endpoints (/routes/) instead of the non-enterprise endpoints (/filters/) when an organizationID is set

This PR changes it so that if a ScriptName is provided, it will return an error unless the organizationID is also set

I don't see any changes to that effect in the PR. Did you miss this one or are you relying on the API itself to return the error?

@avidal those errors are already returned in the deleteWorkerWithName, uploadWorkerWithName and downloadWorkerWithName functions, but without this PR, it will only call those functions if ScriptName is set AND organizationID is set. This PR changes it to call those functions whenever ScriptName is set

@jamesog can you help take a look?


Authentication

The created User Type and added the create user mutation and the resolver for it commits are showing twice because last night I had pushed up those commits but then this morning when merging with PR #23, there were conflicts in those folders and I had to correct them by accepting PR #23's changes and it had me re-commit any changes to those two files

Some lines of code are commented out because they won't work until the tokens are attached to the Authorization header on the front-end. Once that functionality has been added, then those comments can be removed.


[kube2iam] Add node flag to limit relevant pods

what
kube2iam 0.10 introduced a new CLI arg --node that instructs it to only monitor pods on the same node. This PR enables this flag
why
I enabled the flag by default because I can see no reason to not have it enabled, and kube2iam documents it as the recommended default behavior
See https://github.com/jtblin/kube2iam/pull/108

/assign @prydonius

I bumped the minor version for you, since it is a new feature.

/assign

/lgtm


Switch CI to use centralized Jenkins code

Math CI is trying to move to a centralized strategy, where all Jenkins code is stored in one location. Removing the Jenkins folder from the library should switch it to use the centralized code instead.

@lawruble13 where would we see the current CI results. As this is no longer available.

@lawruble13 let us discuss this PR in our bi-weekly meeting.


Raw view - enhance or remove

Upgrades to the table in the UI have identified the raw view as the new bottleneck when it comes to dealing with large volumes of data (10000+  results).
Work needs to be done to improve it's handling of large volumes or it could be removed from the UI altogether.
To remove the raw view from the UI, there needs to be a mechanism in place to re-visit, edit and delete previous queries

The UI fails to meet our Accessibility policy. It is unmaintainable and will be removed shortly.


14150 apply primarytable alias (include case manual set alias) in validators

Q
A

Is bugfix?
yes

New feature?
yes

Breaks BC?
no

Fixed issues
#14161, #14150

what is the difference to #14161? you do not need to open a new PR to make changes to an existing one, you can just push new commits to the same branch.

Seems to fail: https://travis-ci.org/yiisoft/yii2/jobs/232464830

what is the difference to #14161?

@samdark is vote for private method in validators.
But i think we need discuss about method to automated assign alias to condition (i.e. in multiply joinWith)

Merged. Thank you!


When count is zero

The bit about "When count is zero" is incomplete.  It will only work as described if also 'buffer' is NULL, at least as far as _vsnwprintf() is concerned on VS 2017.

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

ID: eb683ba2-c8e8-9f2d-e265-f08b10495462
Version Independent ID: 8b57f003-a4d3-48f1-e514-8a35b53d0bc7
Content: vsnprintf, _vsnprintf, _vsnprintf_l, _vsnwprintf, _vsnwprintf_l
Content Source: docs/c-runtime-library/reference/vsnprintf-vsnprintf-vsnprintf-l-vsnwprintf-vsnwprintf-l.md
Product: visual-cpp
Technology: cpp-ucrt
GitHub Login: @corob-msft
Microsoft Alias: corob

@Snuff-Daddy , quite right. Thank you for catching that. Should be live by tomorrow (6/25)
I have updated the doc to reflect:

If count is zero and buffer is NULL, the value returned is the number of characters the functions would write, not including any terminating null. You can use this result to allocate sufficient buffer space for the string and its terminating null, and then call the function again to fill the buffer.
If count is zero but buffer is not NULL, nothing is written and the function returns -1.


fix binary operator match problem

Description
The binary operator is recognized in some places that should not be recognized, just like the “in” keyword in test case, which is recognized from “minValue”。
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Can you avoid adding new JAR for testing, and also the big test class avoid implementing an empty dummy camel context extension.

Any advice ? there has no test in this modual, so i import juit. And to avoid import other modual, i create the dummy camel context.  So, if move the testcase to other modual to avoid this? any suggested modual?

tests are in core/camel-core

This PR causes many new test failures in camel-core

This PR causes many new test failures in camel-core

Okay, I'll test it locally

This PR causes many new test failures in camel-core

All test cases in core have passed


docs: format note so that it's rendered nicely

https://github.com/orgs/community/discussions/16925

Codecov Report
Patch coverage: 57.41% and project coverage change: +0.44 :tada:

Comparison is base (2a1036d) 60.73% compared to head (c722ab7) 61.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #201      +/-   ##
==========================================
+ Coverage   60.73%   61.18%   +0.44%
==========================================
  Files          83       85       +2
  Lines        4246     6737    +2491
==========================================
+ Hits         2579     4122    +1543
- Misses       1136     2066     +930
- Partials      531      549      +18

Impacted Files
Coverage Δ

github/resource_repository.go
85.05% <0.00%> (+0.25%)
:arrow_up:

stash/resource_repository.go
61.95% <0.00%> (-0.84%)
:arrow_down:

gitlab/client_repository_deploytoken.go
46.96% <46.96%> (ø)

gitlab/resource_deploytoken.go
58.66% <58.66%> (ø)

gitlab/util.go
62.04% <60.00%> (+6.25%)
:arrow_up:

gitlab/gitlabclient.go
66.43% <68.42%> (-0.05%)
:arrow_down:

gitprovider/types_repository.go
84.48% <70.00%> (-4.41%)
:arrow_down:

gitlab/resource_repository.go
79.51% <100.00%> (+0.27%)
:arrow_up:

... and 77 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[tests-only] [full-ci] Refactor scenario related to checking json response

Description
This PR separate step regarding successful JSON response and failure JSON response. Currently, we fetch spaces detail with the help of API and assert the specific space attribute.
In follow-up, PR refactoring of this step
And for user "Alice" the JSON response should contain space called "Project Jupiter" and match
Related Issue

https://github.com/owncloud/ocis/issues/5792

Motivation and Context

How Has This Been Tested?

Locally.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

E2E tests failed: https://drone.owncloud.com/owncloud/ocis/21730/88/1
:boom: To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/ocis/21730/tracing/space-members-can-be-invited-with-an-expiration-date-alice-2023-4-25-06-02-06.zip


B 19167 disable shipment type selection

B-19167
Summary
MAIN
This PR introduces feature flags to show/hide specific shipment types on the customer application side. It is in preparation for the upcoming production release of Milmove in early April. Dan Shuester wants to only enable HHG for the production release and disable PPM, NTS, NTSR. Note: this is only achieved via UI and NOT on the server side because CreateMtoShipments API is still opened to creating PPM, NTS, NTSR from the Prime/Office side. Dan Shuester says this is acceptable.  Specific shipment types will be shown/hidden on the "Add Shipment" view per configuration.
Feature Flag
.envrc
export FEATURE_FLAG_PPM=true
export FEATURE_FLAG_NTS=true
export FEATURE_FLAG_NTSR=true
Note: no configuration for HHG
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test
By default  all shipment types are enabled via  .envrc:
export FEATURE_FLAG_PPM=true
export FEATURE_FLAG_NTS=true
export FEATURE_FLAG_NTSR=true
Note: no configuration for HHG

Update .envrc to hide/show specific shipment type
Start app and login into customer
Start adding shipments ..etc...
Verify INFO modal popups are consistent with what are enabled/disabled. ie...It should not reference PPM if PPM is disabled ..etc...

If everything is enabled it should should display the following:

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against 96f04589667731af062ef5a5a19b0e4160732830


[Transforms] Leading trivia of first statement in constructor is before parameter properties.

Expected:
var Event = (function () {
    function Event() {
        // TODO: remove
        this._listeners = [];
        this._listeners = [];
    }

Actual:
var Event = (function () {
    function Event() {
        this._listeners = [];
        // TODO: remove
        this._listeners = [];
    }

Failed tests:

tests/cases/compiler/lambdaArgCrash.ts

The original source was (trimmed for brevity):
class Event {
  private _listeners = [];
  constructor() {
    // TODO: remove

    this._listeners = [];
  }
}

Note the whitespace between the comment and the assignment. The issue was with the fact that the generated statement lists for the final function didn't have any position information, so it could not emit the detached comment at the top of the constructor.

Fixed in #7951.


Features of MiniTwit template

This issue will list the features of MiniTwit that needs to be converted from python to the new application language.
Status for each web framework will be kept in issues #5 and #6
Web Framework and templating
Serving includes mapping of Jinja and Flask specific function calls like flash(), gavatar() and get_flashed_messages()
Mark sub tasks completed with: ✔

[ ] Serve "/"
❌ Redirect to /public if no cookie or username in cookie is empty
❌ Serve My timeline
[ ] Serve "/public"
❌ Show top 30 latest messages that aren't flagged
[ ] Serve "/login"
❌ Read urlencodedform data
❌ Check user against password hash in database
❌ Redirect user to "/" if successful login
❌ Redirect user to /login if login did not match
❌ Show flash message of what went wrong
[ ] Serve "/logout"
❌ Overwrite cookie UserId
❌ Send message of logout
❌ Redirect to /public
[ ] Serve "/register"
❌ Serve the GET request
❌ Create user in database
❌ Error handling
❌ Redirection to /login on success
[ ] Serve "/username"
❌ Show the users Twits
[ ] Serve "/username/follow"
❌ Add the current user as a follower of the given user
❌ Error handling
[ ] Serve "/username/unfollow"
❌ Remove the current user as a follower of the given user
❌ Error handling
[ ] Serve "/add_message"
❌ Register a new message for the user
❌ Error handling
[ ] Serve "static/style.css"
[ ] Get cookies
[ ] Set cookies
[ ] Access urlencodedforms and their data
[ ] make flash() alternative #9

Database

[ ] Database connection
[ ] GetPublicTimelie
[ ] GetUsersTimeLine
[ ] GetPrivateTimeline
[ ] GetUserId
[ ] GetUser
[ ] SaveUser
[ ] SaveMessage

Misc

[ ] Verification of passwords
[ ] Generation of password
[ ] Generate Gavatar links
[ ] Cookie management handeling
[ ] Format epoch time to correct timestamp format

MiniTwit has been moved to go, so ticket is closed.


Add azure identity providers with Microsoft Graph defaults

Similar to https://github.com/microsoftgraph/msgraph-sdk-go-core/tree/main/authentication

once done, update the import paths on the readme


Add a renderSheet option to Document.createDialog

Currently createDialog always renders the sheet of the created document, but there are times when this may not be desirable, such as then calling it via a sheet. Accepting a renderSheet option and passing it to the cls.create call would be an easy solution to this.

Oops can this be redirected to the core Foundry repo please 🤣


Lost all channels... Can't recover funds

Hi guys,
Since I updated a few months ago to Taproot upgrade, I lost all my channels on my Raspiblitz.
I tried to recover but i have no rescue file apparently and only onchain funds are showing.
Without the recovery file how can I recover my channels and then my BTC?
My pubkey is:
035bddb48a2b891a8e2a704234cb13405d63c62fcd8aa1c6f5ea10c4c027654af7

I dont think it was "taproot" that made all your channel go away. Maybe they got (force) closed by your channel partners? I mean what do you see if you for example check with the App RideTheLightning under Lightning > Channels ? Are there any listed under pending/closed?
As of backup ... did you at any point downloaded a StaticChannelBackup file (its called like channel.backup). Because with just the seed words you have no access to any channel funds.

Hi and thanks for your reply.
There are no channels in pending/closed like nothing ever was there...
I just have the seed words no other backup file is available.
Am I screwed...? :(

I see no evidence of any channels ever having been built to pubkey 035bddb48a2b891a8e2a704234cb13405d63c62fcd8aa1c6f5ea10c4c027654af7 in any of the LN explorers that I checked.
I am certain that you have the wrong pubkey somehow.  Where did you get that pubkey from?
I did the same thing once when I used the wrong hardware- I tried to set it up on 2 different RasPi's.  Set it up on 1 successfully.  Forgot about it for a few months.  Then figured out that I was looking later at my 2nd Pi that I was trying to get it set up on.

It is not clear what do you mean by upgrading to Taoroot. Did you only uodate your bitcoind version or what you did exactly?

I updated my Raspiblitz to the latest Bitcoin core version after Taproot upgrade (as was explained to do in the Github), once I did that all my channels were lost.

Same thing happened to me but thanks to Blackhathacker111 who helped me message him on telegram his telegram username is https://t.me/Blackhathacker111

You must have done something different  from just upgrading Bitcoin Core.
Lacking the old lnd directory what you need is the channel.backup (SCB) file to recover.
Is
lncli getinfo

working?
Did you update LND to a recent version? It would not even work under v0.15.4. Best to be on v0.16.2. You can upgrade in the menu.

I only have one wallet that was setup when I installed Raspiblitz, I'm sure it is the one because there are still 100,000 sats onchain which correspond to that wallet. I recovered it after I upgraded to Taproot with the only seedphrase that I have...
I don't understand how the upgrade wiped out all the channel data but I can assure you that I had at least 0.1 BTC alltogether in those channels.

Same thing happened to me but thanks to Blackhathacker111 who helped me recover all my funds,message him on telegram his telegram username is  https://t.me/Blackhathacker111


Don't build on ios

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report

OS:  (check one with "x")

[ ] Android
[x] iOS
[ ] Browser

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 3.9.0 "Google Maps SDK for iOS"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
cordova-plugin-app-version 0.1.14 "AppVersion"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.1.0 "Device"
cordova-plugin-file 7.0.0 "File"
cordova-plugin-firebasex 16.1.0 "Google Firebase Plugin"
cordova-plugin-geolocation-permission-status 1.0.0 "Cordova Plugin Geolocation Permission Status"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 4.1.0 "InAppBrowser"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-splashscreen 6.0.2 "Splashscreen"
cordova-plugin-statusbar 3.0.0 "StatusBar"
cordova-plugin-wkwebview-engine 1.2.2 "Cordova WKWebView Engine"
cordova-plugin-wkwebviewxhrfix 0.1.0 "WKWebView XHR Fix"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
@ionic-native/core :
@ionic-native/google-maps :

Current behavior:
"'Cordova/CDVCommandDelegateImpl.h' file not found " when building to run on the simulator or when archiving
Expected behavior:
When running the build in xcode, generating the app and running in the simulator
Screen capture or video record:

Related code, data or error log (please format your code or data):
cordova-ios: ^7.0.0
cordova: 12.0.0<EMAIL_ADDRESS>
Support this plugin activity
I appreicate if you give me a beer :beer: from here

Same here, any updates?

This issue is because of Cordova iOS 7+. CDVCommandDelegateImpl.h has been removed from public API

Hi guys, a new version (7.2.3) has been released.


Document lnd-itest for running quick end-to-end integration tests

I'm working on a LN app that uses ephemeral lnd nodes for end-to-end testing.
We originally had issues spinning up lnd nodes quickly, but eventually found the lnd-itest binary that starts extremely quickly.
It might be a good idea to document how to build lnd-itest, I suspect that lnd-itest would be useful for other LN app developers who want to run end-to-end tests quickly.

PRs are welcome to document this!
One can build the binary using make build-itest (see https://github.com/lightningnetwork/lnd/blob/master/Makefile#L141).
The main reason why this starts much faster is because of the rpctest build tag which causes the underlying wallet and aezeed libraries to use fast scrypt operations which take a few milliseconds instead of whole seconds (see https://github.com/lightningnetwork/lnd/pull/3924). Obviously this reduces the security a lot and such binaries should never be used for mainnet!


Provide a means to configure simple signature lookaside storage.

If the registry used does not have support the simple signing registry extension then the signatures will need to be pulled from another store.
Portieris does not support host configuration files so we need another way to identify defined signature storage.

We need to be able to do the equivalent of installing a file in /etc/containers/registries.d similar to:
docker:
  target-registry-domain.com:
    sigstore: https://$USER<EMAIL_ADDRESS>

We want to do this in a kube native way, given that we will do so dynamically 'docker' is constant, the target domaiin is that of the image, we may be able to think of a way to hide the credentials, and map from the domain the the rest of the path. In which case having it live in the policy structure may be sensible.

one way to support this would be to allow "sigstore:" under the "simple:" object in the polcy yaml
attempting to reuse the pull-secret may be a little obscure and complex so we could also allow a sigstore-secret:   attribute
assuming the sigstore can be used for multiple repo/digest then it works well, if the sigstore can only be used per repo then it would mandate a policy per repo which would suggest we find another syntax

What does the simple client do with the sigstore setting? Does it expect to find the same extension API just underneath the specified URL? So for the example would it expect to find the data at loosely-associated-with-target-registry.com/folder/or-other as specified, or loosely-associated-with-target-registry.com/folder/or-other/extensions/v2/whatever?
I think for the former then that would greatly affect your ability to use wildcard policies. For the latter assuming all repos covered by the wildcard have signatures in the same signature store that's probably fine.

We confirmed that the url is a base url and is extended by repository and signature number object names so it should not badly affect the ability to wildcard policies, although it does add another component to the set of things defined by the policy entry.
Looking that the implementation it does look like we will have to manufacture a configuration file for the container/image library to read since that is the only interface for it to accept that config. We will need to take care of the concurrency and resource consumption aspects of this.

It is not the repo specific registry extension API at the sigstore location.

planning to manfacture a file looking like:
docker-default:
    sigstore: <url from config>

work in progres https://github.com/IBM/portieris/pull/111

In order to keep the policy entries self container we need to make a breaking change to the policy definitioon, trust type unchnaged, since these were only introduced iin 0.6.0 we think this is reasonable, we will bump the versioon to 0.7.0


feat: Use favicon on header

This is just a modification to the style. Please feel free to close it if not needed.

Thanks for your contributions! However, we have other plans for the logo and icon. And currently we still love the shiny block as the default logo. So I’m not going to merge this PR. Sorry :(


Better a11y defaults in error handling docs

Small improvements to the docs about error handling could have a great positive a11y impact on many future SvelteKit Superform sites.
Sections to improve:

Validation Summary should have links to the formfields and should be focused

https://superforms.vercel.app/concepts/error-handling#listing-errors
https://www.w3.org/WAI/tutorials/forms/notifications/#listing-errors

User notification of form field error (aria-described-by + aria-live)

https://superforms.vercel.app/concepts/error-handling#usage-client
https://www.w3.org/WAI/tutorials/forms/notifications/#on-focus-change

Belongs to the web repo 🤦♂
https://github.com/ciscoheat/superforms-web/issues/10


Initial Varis Triggers

Couldn't quite get down Loaded Gunshield since it has varying timers.

This looks nice! Good to see this get taken care of so quickly. I was more looking at using the 21 log line values to determine trigger points for the Gunshields, but I think you're right, just adding a fixed delay is probably good enough.
It might also be worth adding a trigger warning of the clone dashes. I think that's Terminus Est, 4CB4.

Should have resolved most of the issues I believe, and just added an approximate trigger to avoid the Loaded spread.

Fixed a few things mentioned and figured out a way to do the Terminus Est clone callout.

I have nothing to contribute but I just wanted to say I appreciate all the hard work you guys put into this, just know you are all appreciated very much. It makes learning fights so much easier and honestly funner in some respects because it gives you the feel of confidence when in parties and you have only just started learning the fight (toxicity reducer if you will haha)

Thank you so much for this!  It's super appreciated, and lots of people have been asking for it.