getDecimals/getBalance doesn't need to depend on the signer

I was trying to use transfer to bridge xcToken from hydraDX to moonbeam.
In this case, we don't need to depend on the evm decimals/balance.
Another thing is if we have to depend on the evm decimals/balance, can we use ethers JSONRpcProvider instead of signer?
We have the RPC. We can use JSONRpcProvider to get these two data. They don't require an ethers signer. In other words, when I'm trying to transfer xcToken to Moonbeam, I don't need to ask my users to install the metamask wallet or any evm wallet.
getDecimals:
https://github.com/PureStake/xcm-sdk/blob/159ce9ae8f7890a6ef9f0971310ca03b6d3c5495/packages/sdk/src/getTransferData/getTransferData.utils.ts#L41
getBalance:
https://github.com/PureStake/xcm-sdk/blob/159ce9ae8f7890a6ef9f0971310ca03b6d3c5495/packages/sdk/src/getTransferData/getTransferData.utils.ts#L17

Hey @duxiaofeng-github, thanks for your feedback. I think it's a valid point. We will try to put the change in our schedule or you are welcome to create a PR.

No activity here, so I'm closing it.


Create closed deals per month

Closed Deals Count Per Month
Summary:
A new endpoint _/dashboard/closed-deals-per-month_ has been created to calculate and return the count of closed deals per month, broken down into:

Closed Won deals per month

Closed Lost deals per month

Total closed deals per month

To achieve this, a new column real_close_date was added to the Deal model. This column stores the actual date when the deal's stage changed to either "CLOSED WON" or "CLOSED LOST" (as opposed to the expected close date). Using real_close_date, the closed deals are grouped by month to generate the count.
How to Test:

Apply migrations:

Option 1: Run the following command in your terminal to restart the containers and apply migrations:
docker-compose -f docker/docker-compose.yml up
Option 2: If the app is already running, exec into the crm-app container and manually apply the migrations:
python3 manage.py makemigrations
python3 manage.py migrate

Test the new endpoint:

Open your browser and go to the Swagger UI: http://localhost:8000/swagger-ui/#/Dashboard/dashboard_closed_deals_per_month_retrieve.
Log in using your authentication token.
Enter your organization_id (from the organization table, column id) as a parameter.
The endpoint will return the counts of closed deals (won, lost, and total) for each existing month.

Hi, welcome back!
Could you explain why you think that we need to change the database models for this?
As I understand  the only part needed is :
 # Get CLOSED WON and CLOSED LOST deals grouped by month
        closed_won_counts = (
            deals.filter(stage="CLOSED WON")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        closed_lost_counts = (
            deals.filter(stage="CLOSED LOST")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Combine counts for CLOSED WON and CLOSED LOST
        closed_combined_counts = (
            deals.filter(Q(stage="CLOSED WON") | Q(stage="CLOSED LOST"))
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Convert querysets to a more usable format (e.g., dictionaries of counts)
        context = {
            'closed_won_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_won_counts},
            'closed_lost_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_lost_counts},
            'closed_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_combined_counts},
        }

and we need to add this to the view.py in common under the class ApiHomeView(APIView)
Because we don't want a new endpoint, but just to get all the information needed via the "Dashboard" endpoint.

Hi, welcome back! Could you explain why you think that we need to change the database models for this?
As I understand the only part needed is :
 # Get CLOSED WON and CLOSED LOST deals grouped by month
        closed_won_counts = (
            deals.filter(stage="CLOSED WON")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        closed_lost_counts = (
            deals.filter(stage="CLOSED LOST")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Combine counts for CLOSED WON and CLOSED LOST
        closed_combined_counts = (
            deals.filter(Q(stage="CLOSED WON") | Q(stage="CLOSED LOST"))
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Convert querysets to a more usable format (e.g., dictionaries of counts)
        context = {
            'closed_won_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_won_counts},
            'closed_lost_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_lost_counts},
            'closed_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_combined_counts},
        }

and we need to add this to the views.py in common under the class ApiHomeView(APIView) Because we don't want a new endpoint, but just to get all the information needed via the "Dashboard" get endpoint.

Hi, welcome back! Could you explain why you think that we need to change the database models for this?
As I understand the only part needed is :
 # Get CLOSED WON and CLOSED LOST deals grouped by month
        closed_won_counts = (
            deals.filter(stage="CLOSED WON")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        closed_lost_counts = (
            deals.filter(stage="CLOSED LOST")
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Combine counts for CLOSED WON and CLOSED LOST
        closed_combined_counts = (
            deals.filter(Q(stage="CLOSED WON") | Q(stage="CLOSED LOST"))
            .annotate(month=TruncMonth('real_close_date'))
            .values('month')
            .annotate(count=Count('id'))
            .order_by('month')
        )

        # Convert querysets to a more usable format (e.g., dictionaries of counts)
        context = {
            'closed_won_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_won_counts},
            'closed_lost_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_lost_counts},
            'closed_count_per_month': {entry['month'].strftime('%Y-%m'): entry['count'] for entry in closed_combined_counts},
        }

and we need to add this to the views.py in common under the class ApiHomeView(APIView) Because we don't want a new endpoint, but just to get all the information needed via the "Dashboard" get endpoint.

Hi! I think that we need to update the model because we currently only have an expected close date, which is set when the deal is created. To track our expectations, this should remain unchanged, and we should add a new column for the real close date when the stage was changed to CLOSED.


Jjgriff93/199 seperate out bootstrap

Resolves #ISSUE
What is being addressed
Describe the current behavior you are modifying. Please also remember to update any impacted documentation.
How is this addressed

Describe the changes made, and if appropriate, why they are addressed this way
Note any pending work (with links to the issues that will address them)
Update documentation

Has the CIS document been consulted / updated?

Are you adding new resources, or modifying existing ones?
Have settings been set in line with the CIS recommendations?

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/Griff-Labs/FlowEHR/actions/runs/4628951026 (with refid 647cba26)
(in response to this comment from @jjgriff93)

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/Griff-Labs/FlowEHR/actions/runs/4629020209 (with refid 647cba26)
(in response to this comment from @jjgriff93)

/test

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/Griff-Labs/FlowEHR/actions/runs/4629590121 (with refid 647cba26)
(in response to this comment from @jjgriff93)


Fix broken graph.microsoft.io links #1084

Fix broken graph.microsoft.io links #1084

Docs Build status updates of commit 73ba1f6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/file-pickers/index.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

docs/rest-api/getting-started/app-registration.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

docs/rest-api/getting-started/authentication.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

docs/rest-api/getting-started/graph-oauth.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

docs/rest-api/getting-started/index.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

docs/rest-api/index.md
:white_check_mark:Succeeded
View (>= odsp-graph-online)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Flutter IOS only build failure, android works

Steps to Reproduce

Cloned successfully developed app for android from git
ran flutter clean
ran flutter pub get
also tried removing cache of pods and doing pod install
getting the build fail error only for this app, blank app works, this same app on android works

Logs

Logs

dilbe@MacBook-Pro millions_frontend % flutter run
The plugin video_thumbnail uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this
plugin supports the Android V2 embedding. Otherwise, consider removing it since a
future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the
V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running pod install...                                             11.6s
Running Xcode build...
Xcode build done.                                           22.0s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/mobilef
fmpeg.xcframework mobileffmpeg framework ios-arm64 ios-x86_64-simulator
ios-x86_64-maccatalyst' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libavco
dec.xcframework libavcodec framework ios-x86_64-simulator
ios-x86_64-maccatalyst ios-arm64' for the current build architectures (arm64
x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libavde
vice.xcframework libavdevice framework ios-arm64 ios-x86_64-maccatalyst
ios-x86_64-simulator' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libavfi
lter.xcframework libavfilter framework ios-x86_64-maccatalyst
ios-x86_64-simulator ios-arm64' for the current build architectures (arm64
x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libavfo
rmat.xcframework libavformat framework ios-arm64 ios-x86_64-maccatalyst
ios-x86_64-simulator' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libavut
il.xcframework libavutil framework ios-x86_64-simulator ios-arm64
ios-x86_64-maccatalyst' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libswre
sample.xcframework libswresample framework ios-x86_64-simulator
ios-x86_64-maccatalyst ios-arm64' for the current build architectures (arm64
x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libswsc
ale.xcframework libswscale framework ios-arm64 ios-x86_64-simulator
ios-x86_64-maccatalyst' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/gmp.xcf
ramework gmp framework ios-arm64 ios-x86_64-simulator ios-x86_64-maccatalyst'
for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/gnutls.
xcframework gnutls framework ios-x86_64-simulator ios-x86_64-maccatalyst
ios-arm64' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libhogw
eed.xcframework libhogweed framework ios-arm64 ios-x86_64-maccatalyst
ios-x86_64-simulator' for the current build architectures (arm64 x86_64).
warning: [CP] Unable to find matching .xcframework slice in
'/Users/dilbe/Downloads/millions_frontend/ios/Pods/mobile-ffmpeg-https/libnett
le.xcframework libnettle framework ios-x86_64-simulator ios-arm64
ios-x86_64-maccatalyst' for the current build architectures (arm64 x86_64).
In file included from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:5:
In file included from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.h:12:
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:34: warning: 'width' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:34: note: introduce a parameter name to
make 'width' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:39: note: or insert whitespace before
':' to use 'width' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:47: warning: 'height' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:47: note: introduce a parameter name to
make 'height' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:53: note: or insert whitespace before
':' to use 'height' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:179:64: warning: use of C-style
parameters in Objective-C method declarations is deprecated
[-Wdeprecated-declarations]
- (void) setupRemoteCommandNotification:(BetterPlayer*)player, NSString*
title, NSString* author , NSString* imageUrl{
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:238:52: warning: use of C-style
parameters in Objective-C method declarations is deprecated
[-Wdeprecated-declarations]
- (void) setupUpdateListener:(BetterPlayer*)player,NSString* title, NSString*
author,NSString* imageUrl  {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:60:12: warning: incompatible pointer
types returning 'BetterPlayerView *' from a function with result type
'NSObject * _Nonnull' [-Wincompatible-pointer-types]
return player;
^~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:136:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:148:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:155:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:165:37: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:166:56: warning: incompatible
pointer types initializing 'MPChangePlaybackPositionCommandEvent *' with an
expression of type 'MPChangePlaybackRateCommandEvent *'
[-Wincompatible-pointer-types]
MPChangePlaybackPositionCommandEvent * playbackEvent =
(MPChangePlaybackRateCommandEvent * ) event;
^
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:169:46: warning: implicit conversion
loses integer precision: 'int64_t' (aka 'long long') to 'int'
[-Wshorten-64-to-32]
[_notificationPlayer seekTo: millis];
~                            ^~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:191:18: warning: comparison of
distinct pointer types ('NSString *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (imageUrl != [NSNull null]){
~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:195:17: warning: comparison of
distinct pointer types ('NSString ' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (key != [NSNull null]){
~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:213:92: warning: 'initWithImage:' is
deprecated: first deprecated in iOS 10.0 - Use
-initWithBoundsSize:requestHandler: [-Wdeprecated-declarations]
MPMediaItemArtwork artworkImage =
[[MPMediaItemArtwork alloc] initWithImage:
tempArtworkImage];
^
In module 'MediaPlayer' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.h:13:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MediaPlayer.f
ramework/Headers/MPMediaItem.h:244:1: note: 'initWithImage:' has been
explicitly marked deprecated here
- (instancetype)initWithImage:(UIImage *)image MP_DEPRECATED("Use
-initWithBoundsSize:requestHandler:", ios(5.0, 10.0));
^
14 warnings generated.
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.m:32:21: warning:
comparison of distinct pointer types ('NSURL ' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_licenseURL != [NSNull null]){
~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.m:45:40: warning:
'sendSynchronousRequest:returningResponse:error:' is deprecated: first
deprecated in iOS 9.0 - Use [NSURLSession
dataTaskWithRequest:completionHandler:] (see NSURLSession.h
[-Wdeprecated-declarations]
decodedData = [NSURLConnection sendSynchronousRequest:request
returningResponse:&response error:nil];
^
In module 'Foundation' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.h:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.fr
amework/Headers/NSURLConnection.h:405:1: note:
'sendSynchronousRequest:returningResponse:error:' has been explicitly marked
deprecated here
+ (nullable NSData )sendSynchronousRequest:(NSURLRequest )request
returningResponse:(NSURLResponse * _Nullable * _Nullable)response
error:(NSError )error API_DEPRECATED("Use [NSURLSession
dataTaskWithRequest:completionHandler:] (see NSURLSession.h",
macos(10.3,10.11), ios(2.0,9.0), tvos(9.0,9.0)) API_UNAVAILABLE(watchos);
^
2 warnings generated.
In file included from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:5:
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:34: warning: 'width' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:34: note: introduce a parameter name to
make 'width' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:39: note: or insert whitespace before
':' to use 'width' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:47: warning: 'height' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:47: note: introduce a parameter name to
make 'height' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:52:53: note: or insert whitespace before
':' to use 'height' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:34: warning: 'width' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:34: note: introduce a parameter name
to make 'width' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:39: note: or insert whitespace before
':' to use 'width' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:47: warning: 'height' used as the name
of the previous parameter rather than as part of the selector
[-Wmissing-selector-name]
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:47: note: introduce a parameter name
to make 'height' part of the selector
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:571:53: note: or insert whitespace before
':' to use 'height' as parameter name and have an empty entry in the selector
- (void)setTrackParameters:(int) width: (int) height: (int)bitrate {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:197:17: warning: comparison of distinct
pointer types ('NSDictionary ' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (headers == [NSNull null]){
~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:209:46: warning: comparison of distinct
pointer types ('NSString ' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (certificateUrl && certificateUrl != [NSNull null] &&
[certificateUrl length] > 0) {
~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:216:47: warning: sending
'BetterPlayerEzDrmAssetsLoaderDelegate * _Nonnull __strong' to parameter of
incompatible type 'id _Nullable'
[asset.resourceLoader setDelegate:_loaderDelegate
queue:streamQueue];
^~~~~~~~~~~~~~~
In module 'AVFoundation' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/AVFoundation.
framework/Headers/AVAssetResourceLoader.h:51:66: note: passing argument to
parameter 'delegate' here
- (void)setDelegate:(nullable id )delegate
queue:(nullable dispatch_queue_t)delegateQueue;
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:221:9: warning: @available does not guard
availability here; use if (@available) instead
[-Wunsupported-availability-guard]
if (@available(iOS 10.0, ) && overriddenDuration > 0) {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:319:52: warning: comparison between
pointer and integer ('AVPlayerTimeControlStatus' (aka 'enum
AVPlayerTimeControlStatus') and 'NSNull * _Nonnull')
[-Wpointer-integer-compare]
if (_lastAvPlayerTimeControlStatus != [NSNull null] &&
_lastAvPlayerTimeControlStatus == _player.timeControlStatus){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:376:23: warning: format string is not a
string literal (potentially insecure) [-Wformat-security]
NSLog(item.error.debugDescription);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:376:23: note: treat the string as an
argument to avoid this
NSLog(item.error.debugDescription);
^
@"%@",
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:528:13: warning: block implicitly retains
'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
_player.rate = _playerRate;
^
self->
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:528:28: warning: block implicitly retains
'self'; explicitly mention 'self' to indicate this is intended behavior
[-Wimplicit-retain-self]
_player.rate = _playerRate;
^
self->
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:654:14: warning: null passed to a callee
that requires a non-null argument [-Wnonnull]
self._playerLayer = nil;
^              ~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:746:15: warning: format string is not a
string literal (potentially insecure) [-Wformat-security]
NSLog(exception.debugDescription);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:746:15: note: treat the string as an
argument to avoid this
NSLog(exception.debugDescription);
^
@"%@",
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:21:17: warning: method definition for
'FLTCMTimeToMillis:' not found [-Wincomplete-implementation]
@implementation BetterPlayer
^
In file included from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m:5:
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.h:57:1: note: method 'FLTCMTimeToMillis:'
declared here
- (int64_t) FLTCMTimeToMillis:(CMTime) time;
^
15 warnings generated.
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:179:64: warning: use of C-style
parameters in Objective-C method declarations is deprecated
[-Wdeprecated-declarations]
- (void) setupRemoteCommandNotification:(BetterPlayer)player, NSString
title, NSString author , NSString imageUrl{
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:238:52: warning: use of C-style
parameters in Objective-C method declarations is deprecated
[-Wdeprecated-declarations]
- (void) setupUpdateListener:(BetterPlayer)player,NSString title, NSString
author,NSString imageUrl  {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:60:12: warning: incompatible pointer
types returning 'BetterPlayerView *' from a function with result type
'NSObject * _Nonnull' [-Wincompatible-pointer-types]
return player;
^~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:136:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:148:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:155:33: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:165:37: warning: comparison of
distinct pointer types ('BetterPlayer *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_notificationPlayer != [NSNull null]){
~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:166:56: warning: incompatible
pointer types initializing 'MPChangePlaybackPositionCommandEvent *' with an
expression of type 'MPChangePlaybackRateCommandEvent *'
[-Wincompatible-pointer-types]
MPChangePlaybackPositionCommandEvent * playbackEvent =
(MPChangePlaybackRateCommandEvent * ) event;
^
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:169:46: warning: implicit conversion
loses integer precision: 'int64_t' (aka 'long long') to 'int'
[-Wshorten-64-to-32]
[_notificationPlayer seekTo: millis];
~                            ^~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:191:18: warning: comparison of
distinct pointer types ('NSString *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (imageUrl != [NSNull null]){
~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:195:17: warning: comparison of
distinct pointer types ('NSString ' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (key != [NSNull null]){
~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.m:213:92: warning: 'initWithImage:' is
deprecated: first deprecated in iOS 10.0 - Use
-initWithBoundsSize:requestHandler: [-Wdeprecated-declarations]
MPMediaItemArtwork artworkImage =
[[MPMediaItemArtwork alloc] initWithImage:
tempArtworkImage];
^
In module 'MediaPlayer' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerPlugin.h:13:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/MediaPlayer.f
ramework/Headers/MPMediaItem.h:244:1: note: 'initWithImage:' has been
explicitly marked deprecated here
- (instancetype)initWithImage:(UIImage *)image MP_DEPRECATED("Use
-initWithBoundsSize:requestHandler:", ios(5.0, 10.0));
^
14 warnings generated.
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.m:32:21: warning:
comparison of distinct pointer types ('NSURL *' and 'NSNull * _Nonnull')
[-Wcompare-distinct-pointer-types]
if (_licenseURL != [NSNull null]){
~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.m:45:40: warning:
'sendSynchronousRequest:returningResponse:error:' is deprecated: first
deprecated in iOS 9.0 - Use [NSURLSession
dataTaskWithRequest:completionHandler:] (see NSURLSession.h
[-Wdeprecated-declarations]
decodedData = [NSURLConnection sendSynchronousRequest:request
returningResponse:&response error:nil];
^
In module 'Foundation' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayerEzDrmAssetsLoaderDelegate.h:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.fr
amework/Headers/NSURLConnection.h:405:1: note:
'sendSynchronousRequest:returningResponse:error:' has been explicitly marked
deprecated here
+ (nullable NSData *)sendSynchronousRequest:(NSURLRequest *)request
returningResponse:(NSURLResponse * _Nullable * _Nullable)response
error:(NSError **)error API_DEPRECATED("Use [NSURLSession
dataTaskWithRequest:completionHandler:] (see NSURLSession.h",
macos(10.3,10.11), ios(2.0,9.0), tvos(9.0,9.0)) API_UNAVAILABLE(watchos);
^
2 warnings generated.
error: the following command failed with exit code 0 but produced no further
output
CompileC
/Users/dilbe/Library/Developer/Xcode/DerivedData/Runner-bmiljuznwadfaqeagnkuvv
vgmuaw/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/better_pla
yer.build/Objects-normal/arm64/BetterPlayer.o
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe
r-0.0.73/ios/Classes/BetterPlayer.m normal arm64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.m:17:44: warning:
'UIImagePickerControllerReferenceURL' is deprecated: first deprecated in iOS
11.0 - Will be removed in a future release, use PHPicker.
[-Wdeprecated-declarations]
NSURL *referenceURL = [info
objectForKey:UIImagePickerControllerReferenceURL];
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIImagePickerController.h:62:51: note:
'UIImagePickerControllerReferenceURL' has been explicitly marked deprecated
here
UIKIT_EXTERN UIImagePickerControllerInfoKey const
UIImagePickerControllerReferenceURL API_DEPRECATED("Will be removed in a
future release, use PHPicker.", ios(4.1, 11.0)) API_UNAVAILABLE(tvos); // an
NSURL that references an asset in the AssetsLibrary framework
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.m:21:47: warning:
'fetchAssetsWithALAssetURLs:options:' is deprecated: first deprecated in iOS
11 - Will be removed in a future release [-Wdeprecated-declarations]
PHFetchResult<PHAsset *> *result = [PHAsset fetchAssetsWithALAssetURLs:@[
referenceURL ]
^
In module 'Photos' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.h:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Photos.framew
ork/Headers/PHAsset.h:74:1: note: 'fetchAssetsWithALAssetURLs:options:' has
been explicitly marked deprecated here
+ (PHFetchResult<PHAsset *> *)fetchAssetsWithALAssetURLs:(NSArray<NSURL *>
*)assetURLs options:(nullable PHFetchOptions *)options API_DEPRECATED("Will be
removed in a future release", ios(8, 11), tvos(8, 11)) API_UNAVAILABLE(macos);
^
2 warnings generated.
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.m:17:44: warning:
'UIImagePickerControllerReferenceURL' is deprecated: first deprecated in iOS
11.0 - Will be removed in a future release, use PHPicker.
[-Wdeprecated-declarations]
NSURL *referenceURL = [info
objectForKey:UIImagePickerControllerReferenceURL];
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIImagePickerController.h:62:51: note:
'UIImagePickerControllerReferenceURL' has been explicitly marked deprecated
here
UIKIT_EXTERN UIImagePickerControllerInfoKey const
UIImagePickerControllerReferenceURL API_DEPRECATED("Will be removed in a
future release, use PHPicker.", ios(4.1, 11.0)) API_UNAVAILABLE(tvos); // an
NSURL that references an asset in the AssetsLibrary framework
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.m:21:47: warning:
'fetchAssetsWithALAssetURLs:options:' is deprecated: first deprecated in iOS
11 - Will be removed in a future release [-Wdeprecated-declarations]
PHFetchResult<PHAsset *> *result = [PHAsset fetchAssetsWithALAssetURLs:@[
referenceURL ]
^
In module 'Photos' imported from
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker
-0.7.5+4/ios/Classes/FLTImagePickerPhotoAssetUtil.h:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Photos.framew
ork/Headers/PHAsset.h:74:1: note: 'fetchAssetsWithALAssetURLs:options:' has
been explicitly marked deprecated here
+ (PHFetchResult<PHAsset *> *)fetchAssetsWithALAssetURLs:(NSArray<NSURL *>
*)assetURLs options:(nullable PHFetchOptions *)options API_DEPRECATED("Will be
removed in a future release", ios(8, 11), tvos(8, 11)) API_UNAVAILABLE(macos);
^
2 warnings generated.
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:13:5:
warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest
[-Wdeprecated-declarations]
UILocalNotification *_launchNotification;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:293:4:
warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest
[-Wdeprecated-declarations]
- (UILocalNotification *)buildStandardUILocalNotification:(NSDictionary
)arguments {
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:752:30:
warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest
[-Wdeprecated-declarations]
didReceiveLocalNotification:(UILocalNotification)notification {
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:182:64:
warning: 'scheduledLocalNotifications' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter
getPendingNotificationRequestsWithCompletionHandler:]
[-Wdeprecated-declarations]
NSArray *notifications = [UIApplication
sharedApplication].scheduledLocalNotifications;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIApplication.h:242:68: note: 'scheduledLocalNotifications' has
been explicitly marked deprecated here
@property(nullable,nonatomic,copy) NSArray<UILocalNotification *>
scheduledLocalNotifications API_DEPRECATED("Use UserNotifications Framework's
-[UNUserNotificationCenter
getPendingNotificationRequestsWithCompletionHandler:]", ios(4.0, 10.0))
API_UNAVAILABLE(tvos);
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:185:9:
warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest
[-Wdeprecated-declarations]
UILocalNotification localNotification = [notifications
objectAtIndex:i];
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:277:9:
warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0
- Use UserNotifications Framework's UNAuthorizationOptions
[-Wdeprecated-declarations]
UIUserNotificationType notificationTypes = 0;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType'
has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:279:34:
warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's UNAuthorizationOptions
[-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeSound;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType'
has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:282:34:
warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's UNAuthorizationOptions
[-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeAlert;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType'
has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:285:34:
warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's UNAuthorizationOptions
[-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeBadge;
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType'
has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:287:9:
warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's UNNotificationSettings
[-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings
settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:44:12: note:
'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:287:76:
warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS
10.0 - Use UserNotifications Framework's UNNotificationSettings
[-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings
settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from
/Users/dilbe/Downloads/millions_frontend/ios/Pods/Target Support
Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framewo
rk/Headers/UIUserNotificationSettings.h:44:12: note:
'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_loca
l_notifications-8.1.1+2/ios/Classes/FlutterLocalNotificationsPlugin.m:288:44:
warning: 'registerUserNotificationSettings:' is deprecated: first deprecated
in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter
requestAuthorizationWithOptions:completionHandler:] and
-[UNUserNotificationCenter setNotificationCategories:]
[-Wdeprecated-declarations]
[[UIApplication sharedApplication]
registerUserNotificationSettings:settings];
^
In module 'UIKit' imported from... (33 KB left)

dilbe@MacBook-Pro Downloads % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.4 20F71 darwin-x64, locale en-IN)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] Connected device (1 available)
! Doctor found issues in 3 categories.

I'm not testing android in this system so just deny log for android

What version flutter you are using ?
I have the same issue when update from 2.2.2 -> 2.5.0, and I think flutter 2.5.0 have issue.

yes using the same version
will try with 2.2 and let you know

same error after flutter run

@dilbersha
Most of the error log is pointing to 3rd party plugin:
/Users/dilbe/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/better_playe r-0.0.73/ios/Classes/BetterPlayerPlugin.m:60:12: warning: incompatible pointer types returning 'BetterPlayerView *' from a function with result type 'NSObject * _Nonnull' [-Wincompatible-pointer-types] return player; ^~~~~~
Check all of your 3rd party plugins and see if they are compatible or not.
Also, check this SO solution and see if it works for you.

SO solution has not helped
But how to check the 3rd party plugin compatibility?

@dilbersha
Can you try removing / commenting the 3rd party plugins and then run to see if you get same error ?
Also try deleting podfile.lock and then pod update and see if it helps.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Automated cherry pick of #2014: region: fix server create input params not correct when detach sub resource

Cherry pick of #2014 on release/2.10.0.
#2014: region: fix server create input params not correct when detach sub resource

/lgtm
/approve

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@5e6e00e). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #2016   +/-   ##
================================================
  Coverage                  ?   7.62%
================================================
  Files                     ?     410
  Lines                     ?   63186
  Branches                  ?       0
================================================
  Hits                      ?    4815
  Misses                    ?   57961
  Partials                  ?     410

Flag
Coverage Δ

#aFlag
7.62% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guests.go
0.69% <0%> (ø)

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 5e6e00e...4ebd7d7. Read the comment docs.


ESLint Plugin: Flat Config Support

Describe the bug
eslint-plugin-query does not yet support the new Flat Config format
Your minimal, reproducible example
https://github.com/davidjbng/eslint-plugin-query-v9-example
Steps to reproduce

Checkout https://github.com/davidjbng/eslint-plugin-query-v9-example
Follow https://eslint.org/docs/latest/use/configure/migration-guide to add Flat Config support

Expected behavior
eslint-plugin-query works with Flat Config
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
not relevant
Tanstack Query adapter
None
TanStack Query version
v5.40.1
TypeScript version
No response
Additional context
ESLint V9 support is adressed in https://github.com/TanStack/query/pull/7543
I did some inital work to export a flat/recommended config earlier which seemed to work, but a bit more testing was still needed. See https://github.com/TanStack/query/compare/main...davidjbng:query:eslint-v9-flat-config
Resources

https://eslint.org/docs/latest/use/configure/migration-guide
https://eslint.org/docs/latest/extend/plugin-migration-flat-config#migrating-rules-for-flat-config

Workaround, if people need it:
import { fixupPluginRules } from '@eslint/compat';
import * as eslintPluginTanstackQuery from '@tanstack/eslint-plugin-query';

export default [
  {
    plugins: {
      '@tanstack/query': fixupPluginRules(eslintPluginTanstackQuery),
    },
    rules: eslintPluginTanstackQuery.configs.recommended.rules,
  },
];

Fixed in #7663, see https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query for setup instructions


Migrate OpenAI Assistants API to v2

Feature request
Now the open_dart supports OpenAI-Beta: assistants=v1, Do you have plan to support OpenAI-Beta: assistants=v2? Thanks so much.
Motivation
OpenAI assistant upgraded to OpenAI-Beta: assistants=v2 in April. There are some some api changes and some upgrades.
Your contribution
Sorry, I am a fresh to OpenAI.

Hello @sherwinstar ,
Thanks for creating the issue.
Yes, I have it on my TODO list, but I haven't found the time to do it yet.
I'll try to do it this week, but cannot promise it.

@davidmigloz  not the creator of this issue, however I'm using your package to build something in Flutter using assistants API. it seems that there is a bug when using, the assistant tools "file_search" there is something that breaks, I'm trying to figure out what it is, but I have not worked with "freezed" yet, so.. in the mean time, just reporting it and attaching the error:
⛔ Error fetching data: CheckedFromJsonException
│ ⛔ Could not create `RunStepDeltaStepDetailsToolCalls`.
│ ⛔ There is a problem with "type".
│ ⛔ Invalid union type "file_search"!

Thanks for reporting! I'll take a look later today. Do you have a sample code that reproduces the issue? That will help me 🙂

Found the issue. It should be fixed in v0.3.1:
https://pub.dev/packages/openai_dart/changelog#031

Great work on this! @davidmigloz however after updated to v3.0.1 I'm still getting the same error.
I'm pasting here the code I'm running.
Future<void> fetchData() async {
    if (threadId.isEmpty) {
      log.e("Thread ID is empty");
      isLoading = false;
      notifyListeners();
      return;
    }

    try {
      final stream = client.createThreadRunStream(
        threadId: threadId,
        request: CreateRunRequest(
          assistantId: assistantId,
          additionalInstructions: "Update your memory before responding",
        ),
      );

      await for (var event in stream) {
        log.w("Event: $event");
        if (event.event == EventType.threadMessageCompleted ||
            event.event == EventType.threadMessageDelta) {
          handleEvent(event);
        } else {
          isLoading = text.isEmpty;
        }
        notifyListeners();
        if (event.event == EventType.threadMessageCompleted) break;
      }
    } catch (e) {
      log.e("Error fetching data: $e");
      text = "Error: $e";
      isLoading = false;
      notifyListeners();
    }
  }

  void handleEvent(AssistantStreamEvent event) {
    MessageObject message = event.data as MessageObject;
    text = message.content[0].text;
    isLoading = false;
  }

And the error shown in console is still:
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0   packages/aspiral_flutter_client/features/alert_detail/viewmodels/alert_detail_screen_viewmodel.dart 74:7  fetchData
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ Error fetching data: CheckedFromJsonException
│ ⛔ Could not create `RunStepDeltaStepDetailsToolCalls`.
│ ⛔ There is a problem with "type".
│ ⛔ Invalid union type "file_search"!
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

I ran a flutter cleanand then re build the app, but still failing.

oh hmm, thanks for trying it out. I'll dig deeper later today (thanks for the sample code).

Found the issue. Should be fixed by https://github.com/davidmigloz/langchain_dart/pull/412


bug: ion-tabs: Wrong tab is marked as "active"

Bug Report
Ionic version:

[x] 4.x
Current behavior:
The wrong tab is marked as active
Expected behavior:
The correct tab should be marked as the active tab
Steps to reproduce:
Create ion-tabs with angular router. One route should be: /some-route and the other one should be /some-route/page1
Related code:
<ion-tab-button tab="world">
            <ion-icon name="map"></ion-icon>
            <ion-label>World</ion-label>
        </ion-tab-button>

        <ion-tab-button tab="world/dungeons">
            <ion-icon name="flame"></ion-icon>
            <ion-label>Dungeons</ion-label>
        </ion-tab-button>

When clicking the "Dungeons" tab, the "World" tab is marked as active.
Ionic info:

Android SDK Tools : 26.1.1 (C:\Android\android-sdk)
   NodeJS            : v10.15.3 (C:\Program Files\nodejs\node.exe)
   npm               : 6.9.0
   OS                : Windows 10

Thanks for the issue. Is this still a bug in the latest version of Ionic Framework?


Kernel actions result in uncaught exception

I'm trying the various functions on the just_the_kernels branch, and kernel actions (restart or interrupt) seem to be throwing uncaught exceptions.  For example, hitting this endpoint:
http://<IP_ADDRESS>:8000/api/kernels/27535e31-6b5e-48f0-b493-e92dc5548ac9/restart
Throws this error:
[E 150111 01:57:17 web:931] Uncaught exception in write_error
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1332, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 212, in get
raise HTTPError(405)
tornado.web.HTTPError: HTTP 405: Method Not Allowed
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 929, in send_error
    self.write_error(status_code, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/IPython/html/base/handlers.py", line 293, in write_error
    html = self.render_template('%s.html' % status_code, **ns)
  File "/usr/local/lib/python3.4/dist-packages/IPython/html/base/handlers.py", line 234, in render_template
    template = self.get_template(name)
  File "/usr/local/lib/python3.4/dist-packages/IPython/html/base/handlers.py", line 230, in get_template
    return self.settings['jinja2_env'].get_template(name)
KeyError: 'jinja2_env'

I'm seeing this too, definitely looks like there is more to decouple if we want a pure kernels API.
$ python kernels.py --base-path=ew5
[I 150113 21:40:28 kernelmanager:85] Kernel started: 309d5a7b-83b5-4a3d-b390-7895c880f061
[I 150113 21:40:28 kernels:102] Serving at http://<IP_ADDRESS>:8000/ew5/api/kernels
[I 150113 21:40:43 web:1811] 200 GET /ew5/api/kernels (<IP_ADDRESS>) 1.12ms
[I 150113 21:40:51 web:1811] 200 GET /ew5/api/kernels/309d5a7b-83b5-4a3d-b390-7895c880f061 (<IP_ADDRESS>) 0.52ms
[E 150113 21:40:55 web:931] Uncaught exception in write_error
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/site-packages/tornado/web.py", line 929, in send_error
        self.write_error(status_code, **kwargs)
      File "/Users/kyle6475/code/ipython/IPython/html/base/handlers.py", line 293, in write_error
        html = self.render_template('%s.html' % status_code, **ns)
      File "/Users/kyle6475/code/ipython/IPython/html/base/handlers.py", line 234, in render_template
        template = self.get_template(name)
      File "/Users/kyle6475/code/ipython/IPython/html/base/handlers.py", line 230, in get_template
        return self.settings['jinja2_env'].get_template(name)
    KeyError: 'jinja2_env'
[W 150113 21:40:55 web:1811] 405 GET /ew5/api/kernels/309d5a7b-83b5-4a3d-b390-7895c880f061/restart (<IP_ADDRESS>) 2.23ms

Sure enough, it's trying to produce an error page but it wants to show a full HTML error page instead of JSON. This ends up needing templates. I'll submit a PR for this on the kernels service and then possibly submit another PR upstream to decouple the kernels a bit more.

The kernel actions should be a POST instead of a GET with IPython 3.0.


Improvements to Add Book form

Add book form uses Google Books API (https://developers.google.com/books) to fetch data In Bookform.tsx --> const fetchApi
This is not documented anywhere, I think it should be mentioned in the documentation.
Here are some improvements that could be made to the Add book form

move ISBN field to the top. Filling in the ISBN of an actual book will autocomplete author, title and year fields.
author field only shows one author, a book can have several authors... author: bookData.volumeInfo.authors[0], Do we want to show all authors or is one enough?
add language field? volumeInfo.language ("en" or "fi")
add description field? volumeInfo.description

Move ISBN field to the top. Filling in the ISBN of an actual book will autocomplete author, title and year fields. ✅
Author field shows all authors instead of one ✅
The Description field needs implementation by adding 'description' fields to all the necessary files in the backend.
Files that should be modified in the backend:

sql/01_EfiLibrary.sql
src/interfaces/book.interface.ts
src/queries/book.ts
src/queries/mocks/book.ts
src/routes/book.ts


Update using-the-xaml-hosting-api.md

We need to collect feedback given this is in preview and we believe this is a good place for it.

Thanks for contributing to these docs.


Fix functions affected by changing site metadata missing_samples to masked_samples

This was a deliberate change in #320 where we now track missing sites rather than masking (as we're not masking anymore). It's a bit messy with the different metadata versions lying around all right, which is unfortunate.


getduration returns wrong time

Hi there,
I'm using version 1.2.2 with aac on 'MediaElement'.
For some reason, Firefox returns the wrong time while chrome is acting ok.
On chrome, I get 177 seconds while ff will return 2052 seconds for the same file.
Any idea why this might happen?
Many thanks
mkariti

Hi @mkariti2 , maybe this link can be useful for you. I think that is a compatibility issue with specific browser..
https://support.mozilla.org/en-US/kb/html5-audio-and-video-firefox

@marizuccara thanks for the reply. when I'm using the default option of WebAudio all is fine so i guess it is not a compatibility option.

I'm using version 1.2.2

Right. This is an ancient version. Why are you using this?? Please try the latest version (3.x) and re-open if this issue still exists.

Hi there,
Many thanks for your quick reply.
Ive upgraded it to 3.3.3 and the issue is still persisted.
Same issue with the same browser.
Do I need to open a new bug or can you reopen the current one?

@marizuccara thanks for the reply. when I'm using the default option of WebAudio all is fine so i guess it is not a compatibility option.

Hi, WebAudio don't use HTML5 audio tag as source, but MediaElement or MediaElementWebAudio use it. So it is possible that is a compatibility issue with this MediaType.


--env-file should support anonymous named pipes

--env-file should support this kind of usage:
docker run -i -t --rm=true --env-file=<(systemctl show-environment) ubuntu:15.04 bash
output of "systemctl show-environment" goes into anonymous named pipe and FD is passed as value of --env-file . Docker CLI then sees something like "/dev/fd/63".
But running this kind of command results in:
docker: open /dev/fd/63: no such file or directory.
I think this is most likely due to the Docker daemon reading the file and not the CLI.
Examples where this works nicely:
wdiff <( echo hello; echo hello1 ) <( echo hello; echo hello2 )
cat <(sudo systemctl show-environment)

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

It seems the reported problem only occurs if launched with
sudo docker run -i -t --rm=true --env-file=<(systemctl show-environment) ubuntu:15.04 bash


Svg Inferred for Html

I was demoing Elm to a student and got confused by an error. Minimal code:
import Html exposing (p, text)
main = p
  text "Hello, World!"

Expected error:
As I infer the type of values flowing through your program, I see a conflict
between these two types:
    List Html.Html
    String

Actual error:
As I infer the type of values flowing through your program, I see a conflict
between these two types:
    List Svg.Svg
    String

Explicitly annotating main fixes one error but not another. I suspect there's an implicit import bungling inference.

Hmm, I guess we don't have a good tiebreaker when a value can be re-aliased in two ways or something. Thanks for the report, this is an important one!

Could the tie-breaker be based on which library is imported? For example, in this case, clearly Svg is nowhere to be seen in the code.

It's tricky and gets into deep details of type inference. Not sure what the fix is, or exactly why it's happening this way. I don't think there's a super simple solution, but I always think that when the type inferencer is involved :P

Much lower hanging fruit: I always forget which is the expected type and which was found in the message.

I agree with @dnalot , it should be made more clear what was the expected and what was the actual type, like haskell.


Switch to veracruz-v1 branch

@egrimley-arm:  this PR only updates .gitmodules to point to veracruz-v1 branch. I am not sure what other changes should be done.

@egrimley-arm: this PR only updates .gitmodules to point to veracruz-v1 branch. I am not sure what other changes should be done.

Hm. I don't know any more. My comment makes no sense!


docs: Add architecture abstraction

Fixes #1960
This PR is adding a section about how to meet architecture requirements in implementation.

Checklist

[ ] Update diagram links before merge

👍

@Sloox Thx for the corrections ❤. All applied


AAC-HE Live Streaming

Will AAC-HE Live Streaming be supported anytime soon? I have looked through the google group and there seems to be a lot of requests for it, but none successfull. I am actually looking to do it via flash fallback at the moment but that does not seem to work even though flash seems to support AAC-HE as mentioned here: https://groups.google.com/forum/#!msg/jplayer/5cSJWkgxqKs/oLtqW_INr34J
I have also tried the trick mentioned there to add a "?type=.flv" to the end of my stream url. jPlayer does start downloading the stream correctly and plays half a second and then goes silent, and never switches the 'play' icon.  There is no error message when adding  ?type=.flv" to the end of the stream url. Without it, I will get:
jPlayer 2.5.0 : id='player-container' : Error!
Media URL could not be loaded.
Check media URL is valid.
Can anyone reproduce this issue?

Our (SBSRadio's) current fix is mostly just a hack to get it working. It would be great if someone with better insight into the project could implement our fix in a more correct way.


ESM build has classes downleveled to functions, but CJS build does not

See files published on NPM:
ESM<EMAIL_ADDRESS>
ESM Build Source

var __extends = this && this.t || function() {
    var extendStatics = function(t, i) {
        extendStatics = Object.setPrototypeOf || {
            __proto__: []
        } instanceof Array && function(t, i) {
            t.__proto__ = i;
        } || function(t, i) {
            for (var n in i) if (Object.prototype.hasOwnProperty.call(i, n)) t[n] = i[n];
        };
        return extendStatics(t, i);
    };
    return function(t, i) {
        if (typeof i !== "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
        extendStatics(t, i);
        function __() {
            this.constructor = t;
        }
        t.prototype = i === null ? Object.create(i) : (__.prototype = i.prototype, new __);
    };
}();

import { Base } from "../ContainerBase";

var Queue = function(t) {
    __extends(Queue, t);
    function Queue(i) {
        if (i === void 0) {
            i = [];
        }
        var n = t.call(this) || this;
        n.A = 0;
        n.tt = [];
        var e = n;
        i.forEach((function(t) {
            e.push(t);
        }));
        return n;
    }
    Queue.prototype.clear = function() {
        this.tt = [];
        this.M = this.A = 0;
    };
    Queue.prototype.push = function(t) {
        var i = this.tt.length;
        if (this.A / i > .5 && this.A + this.M >= i && i > 4096) {
            var n = this.M;
            for (var e = 0; e < n; ++e) {
                this.tt[e] = this.tt[this.A + e];
            }
            this.A = 0;
            this.tt[this.M] = t;
        } else this.tt[this.A + this.M] = t;
        return ++this.M;
    };
    Queue.prototype.pop = function() {
        if (this.M === 0) return;
        var t = this.tt[this.A++];
        this.M -= 1;
        return t;
    };
    Queue.prototype.front = function() {
        if (this.M === 0) return;
        return this.tt[this.A];
    };
    return Queue;
}(Base);

export default Queue;
//# sourceMappingURL=Queue.js.map

CJS<EMAIL_ADDRESS>
CJS Build Source
"use strict";

Object.defineProperty(exports, "t", {
    value: true
});

exports.default = void 0;

var _ContainerBase = require("../ContainerBase");

class Queue extends _ContainerBase.Base {
    constructor(t = []) {
        super();
        this.j = 0;
        this.q = [];
        const s = this;
        t.forEach((function(t) {
            s.push(t);
        }));
    }
    clear() {
        this.q = [];
        this.i = this.j = 0;
    }
    push(t) {
        const s = this.q.length;
        if (this.j / s > .5 && this.j + this.i >= s && s > 4096) {
            const s = this.i;
            for (let t = 0; t < s; ++t) {
                this.q[t] = this.q[this.j + t];
            }
            this.j = 0;
            this.q[this.i] = t;
        } else this.q[this.j + this.i] = t;
        return ++this.i;
    }
    pop() {
        if (this.i === 0) return;
        const t = this.q[this.j++];
        this.i -= 1;
        return t;
    }
    front() {
        if (this.i === 0) return;
        return this.q[this.j];
    }
}

var _default = Queue;

exports.default = _default;
//# sourceMappingURL=Queue.js.map

If I had to guess it's because the ESM build is set to target ES5:
https://github.com/js-sdsl/js-sdsl/blob/28fe66c6cd2356b9b849ff0cd771050b679c3d32/gulpfile.ts#L27-L37
Whereas the CJS build does not:
https://github.com/js-sdsl/js-sdsl/blob/28fe66c6cd2356b9b849ff0cd771050b679c3d32/gulpfile.ts#L12-L21

Yes, We hope that Js-sdsl can be compatible with more browsers so we set target to ES5 for ES module.

All modern browsers support much higher than es5 though - esp if they truly support ESM.
For example every modern browser supports es6 classes https://caniuse.com/es6-class
Why not just leave it to the user to downlevel your code for their target environment? It's going to be very, very rare that anyone is going to consume your package on the web without passing it through a bundler first.
The issue is that anyone consuming your package from nodejs is stuck using your downleveled code if they import your package via ESM - which is a really backwards experience!

All modern browsers support much higher than es5 though - esp if they truly support ESM. For example every modern browser supports es6 classes https://caniuse.com/es6-class
Why not just leave it to the user to downlevel your code for their target environment? It's going to be very, very rare that anyone is going to consume your package on the web without passing it through a bundler first.
The issue is that anyone consuming your package from nodejs is stuck using your downleveled code if they import your package via ESM - which is a really backwards experience!

Sounds good, we might change the building target of ESM to ES6 at version 5.0.


settings: Clean up of tooltips for disabled personal and org settings.

Recently, a number of tooltips for disabled settings in both personal and organization settings were moved from info or question icons to the disabled button / input itself.
Follow-up from this pull request comment.

Changes:

1st commit: Combines a shared CSS rule for all the specific ids used for these tooltips.
2nd commit: Removes a class (name-input) that was being used as a div wrapper for the full name changes input and instead creates more clearly named id for the wrapper div element. The class was not shared or used for any CSS rules. The id is used to set / unset the disabled tooltip class.
3rd commit: Creates a shared disabled_setting_tooltip class that's used for shared CSS rules and for setting/unsetting the tooltips in combination with a specific wrapper element id.

Thoughts/Questions:

Another improvement I can imagine making is some sort of shared tippy instance for these tooltips because they differ only in the string that's being shown and the specific element id where it's applied. I can see at least one more tooltip being added for disabled settings in demo organizations without the owner's email address configured.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@sahil839 do you have any feedback here?

Looks good to me.

Merged, thanks @laurynmm!


switch case gives different results in debug and release mode

Found a similar (Flutter) issue which has been closed, but the issue persists https://github.com/flutter/flutter/issues/125625 when switching on an enum.
code sample to reproduce
enum MyEnum {
a,
b,
c
}
String MyString(MyEnum value) {
switch (value)
case MyEnum.a:
return "a";
case MyEnum.b:
return "b";
case MyEnum.c:
return "c";
default:
return 'default';
}
results
MyString(MyEnum.a) returns 'a' both in debug and release mode
MyString(MyEnum.b) returns 'b' both in debug mode - but 'a' in release mode
dart --version
Dart SDK version: 3.0.5 (stable) (Mon Jun 12 18:31:49 2023 +0000) on "macos_x64"
flutter doctor -v
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4 22F66 darwin-x64, locale en-GB)
• Flutter version 3.10.5 on channel stable at /Users/xxxx/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 796c8ef792 (8 days ago), 2023-06-13 15:51:02 -0700
• Engine revision 45f6e00911
• Dart version 3.0.5
• DevTools version 2.23.1
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.12.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] VS Code (version 1.79.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.66.0
[✓] Connected device (3 available)
• iPhone 13 (mobile) • 00008110-001E38E63EE2401E • ios            • iOS 16.5 20F66
• macOS (desktop)            • macos                     • darwin-x64     • macOS 13.4 22F66 darwin-x64
• Chrome (web)               • chrome                    • web-javascript • Google Chrome 114.0.5735.133
[✓] Network resources
• All expected network resources are available.

Related to https://github.com/dart-lang/sdk/issues/52214

/cc @alexmarkov

I'm not able to reproduce this on Dart 3.0.5.
Tried the following code (derived from the code snippet above):
enum MyEnum { a, b, c }

String MyString(MyEnum value) {
  switch (value) {
    case MyEnum.a:
      return "a";
    case MyEnum.b:
      return "b";
    case MyEnum.c:
      return "c";
    default:
      return 'default';
  }
}

main() {
  print(MyString(MyEnum.a));
  print(MyString(MyEnum.b));
}

dart foo.dart
a
b

dart compile exe foo.dart -o ./foo
./foo
a
b

@niksen75 Could you provide a complete code which reproduces the problem? Also, could you be more specific about how you build and run it?
This bug is unlikely to be related to https://github.com/dart-lang/sdk/issues/52214 / https://github.com/flutter/flutter/issues/125625, as that bug was related to the comparison of double values against int constants in the switch statements, and it didn't affect Enum values.

Built in VS Code for Mac. Run it on either Simulator App (debug only) or on a physical iPhone 13 (debug and release mode). Changed the Switch Case to an If Then structure, and then it works as expected., in the current project.
However, then I also tried to run the sample code above in a clean Flutter project, and then it works as expected.
So the issue must be somehow related to the current Flutter project's implementation of the Switch Case Enum. Will investigate further, to figure out what the reason is.
But since sample code runs on Dart 3.0.5, only fair to close this ticket.


Redesign landing page hero

@aeplay Ideally, this wouldn't be an image. For now I have 2 images for light and dark, and mobile is too squished. This is what I can finish today though. Up to you if you wanna merge or not. I think it's still an improvement.


Verify id token not access token

Title

Summary

Type
[x] Bug fix
[] Feature request
[] Enhancement
[] Docs
Why?

Requirements

How to try it?

Documentation

Additional Information

Checklist:

[x] My change requires a change to the documentation or CHANGELOG.
[ ] I have updated the documentation/CHANGELOG accordingly.

related to https://github.com/louketo/louketo-proxy/issues/675


Security alert in one of the dependencies

Describe the bug
Security alert in one of the dependencies: PyJWT
Key confusion through non-blocklisted public key formats.
CVE-2022-29217
Consider changing the version of the PyJWT dependency to 2.4.0
To Reproduce
None
Expected behavior
A clear and concise description of what you expected to happen.
Configuration
None
FastAPI Users configuration
None
Additional context
None

Thank you for reporting and making the PR. Much appreciated 👍
@all-contributors add @JimScope for security


on-select calls back too early.

Hi,
I've noticed that if you pass the value of the select using on-select, it passes the PREVIOUS value.
If this is expected behaviour, it's undocumented. If it's unexpected, it's broken.
Plunkr here: http://plnkr.co/edit/OHpI2UlnILBK4qdtT1PI?p=preview
I noticed that waiting a short while shows the value updated. Looks like the on-selected trigger is just too early:
setTimeout(function() { console.log(selectionValue.selected); }, 1000);

NB: report plunker uses ui-select v0.8.2; relevant code has changed a lot since then.

Closing due to age of issue - feel free to open a new issue with an up to date reproduction on Plunker using the latest release if this is still a problem.


authority Solr core is missing _version_ field and cannot be loaded

Describe the bug
The schema for the authority core does not define the required field _version_.  Solr refuses to load the core.
To Reproduce
Steps to reproduce the behavior:

Try to query the core.  (curl http://localhost:8983/solr/scholarworks-authority/select?q=*:*)  See that Solr says it is not loaded.

You should also find ERROR entries in log/dspace.log mentioning this core.
Expected behavior
The core should load normally.

I copied the field definition, and the fieldType definition for long, from the statistics core and now authority loads.

Here we are running Solr 8.11.2

Strange that the authority core was missing the _version field. Even so, mine is loaded:
$ curl 'http://localhost:8983/solr/authority/select?q=*:*'
{
  "responseHeader":{
    "status":0,
    "QTime":11,
    "params":{
      "q":"*:*"}},
  "response":{"numFound":0,"start":0,"numFoundExact":true,"docs":[]
  }}


Support for lightweight solution load

If you enable lightweight solution load in Visual Studio 2017 and you are in any code editor of an unloaded project, using one of the TSVN shortcuts will lead to an error message. The only way to get around this, is to load the project before, then it works as expected.
I guess the used APIs need to be updated to work with lightweight solutions.

Thanks for reporting! Should be fixed in the new release.


Double check on attention check logic - a few participants claimed they never saw the attention check pop-up (but they may not have been paying attention)

Same with the lobby transfer notification

Move to cloud functions / backend

Let's split this into two bugs - handle transfer timeout on backend and handle attention checks manually (as discussed offline).


Bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2 (#3398)

Cherry picking upstream pr https://github.com/google/trillian/pull/3398

I also ran go mod tidy as there where some issues

/approve