align view button with project title in projects list

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
You can see in the image that the title of the project and the view button is not aligned properly in a line.

Steps To Reproduce

Go to circuitverse.org/search?resource=Projects&q=jk&button=Submit
You can find the issue in that page itself

Expected Behavior

The button should be properly aligned with the project title.
The project title has a limit of height 40px. Update that to force text in one line and hide the text-overflow

Are you working on this issue?
No

Hi, I will love to work on this issue can you assign this to me.

please assign it to me i can fix this as I have knowledge of responsive design

Hey, can I work on this issue ?

please wait a bit until the pending triage label removed

hi can u pls assign me this issue

@tanmoysrt @vedant-jain03 @VaibhavUpreti Can i work on this issue?
Solution ScreenShot:

Hi I am trying to set up the environment locally via the Docker-Mac method but I'm getting the following error while doing so

I guess this issue is because apt-get is not a command on Mac OS, please help me solve it.

Hi I am trying to set up the environment locally via the Docker-Mac method but I'm getting the following error while doing so

I guess this issue is because apt-get is not a command on Mac OS, please help me solve it.

It's due to the unavailability of Ubuntu repositories or firewall blocks. Just retry after 10~15 minutes, probably you will not face this. If you face still, try to switch to a different network

Hi @tushar1-000 any update?

Hey, @tanmoysrt  can you please assign this issue to me as there is no response from @tushar1-000 . I would be grateful. 🙏🙏🙏

Hey, @tanmoysrt can you please assign this issue to me as there is no response from @tushar1-000 . I would be grateful. 🙏🙏🙏

@tushar1-000, you have been unassigned as there is no PR against this issue.
@Shivgithub007  you have been assigned & start working on that !

hey @tanmoysrt  i want to work on this issue please assigned me

hey @tanmoysrt i want to work on this issue please assigned me

Hi @souravgope
One person is already assigned and raised a PR as well.
So , please check other issues !

Ok Sir
On Sun, Nov 12, 2023, 4:31 PM Tanmoy Sarkar @.***>
wrote:

hey @tanmoysrt https://github.com/tanmoysrt i want to work on this
issue please assigned me
Hi @souravgope https://github.com/souravgope
One person is already assigned and raised a PR as well.
So , please check other issues !
—
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/4107#issuecomment-1807091929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BA3BS7MAK3V2KGM7MPPR4RTYECT7BAVCNFSM6AAAAAA5P5ZV76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGA4TCOJSHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

hey @tanmoysrt, since I'm new to open-source I would like to solve this issue would you please consider assigning me this issue.

hey @tanmoysrt, since I'm new to open-source I would like to solve this issue would you please consider assigning me this issue.

This issue already resolved and had a PR to merge, comment here #4206 , I am assigning you that issue

Hi ! I would like to work on this issue. I am new to open source and would be very helpful for me to start this journey.

"Hello, I am eager to address this issue and embark on my journey in the open-source community. As a newcomer, I am looking forward to gaining valuable experience through this opportunity."

I would like to work on the issue if it is still there, could you please assign it to me.

Is the issue still open? @tanmoysrt @vedant-jain03 , i would like to take up this issue

I’m starting work on this issue and will update with progress.

Is there an existing issue for this?

[x]  I have searched the existing issues

Describe the bug
You can see in the image that the title of the project and the view button is not aligned properly in a line.

Steps To Reproduce

Go to circuitverse.org/search?resource=Projects&q=jk&button=Submit
You can find the issue in that page itself

Expected Behavior

The button should be properly aligned with the project title.
The project title has a limit of height 40px. Update that to force text in one line and hide the text-overflow

Are you working on this issue?
No

I am working on this

"I’m interested in working on this issue. If it’s still open, could you please assign it to me? Thank you!"


Ability to add image when expanded

Somewhat like whatsapp when we expand we can see a picture in the toolbar and on collapsing the image goes away and image with its pallete color is shown.

Are you talking about this?

No not that. Like WhatsApp. Let me put screenshots.

Sadly I don't time to implement this right now,
I would gladly accept a merge request if anyone is interested in doing this.
I guess you could either set the toolbar's background with your image, or add an ImageView in the morphy toolbar layout file to match the view dimensions

thanks for this its very good .
how can i colapse this with scroll Like Telegram??


Add shell extension support for the right click context menu on drives in the sidebar

Describe the bug
A clear and concise description of what the bug is and why it is more urgent than other issue reports. Can't answer this? Please return to the previous page and file a regular bug/feature report.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 10 1903 18362.175]
App version: [v0.11.0]

Additional context
Add any other context about the problem here. For instance, are you building from source or using a precompiled build/snapshot?
Log file
Please post the log file here so that we can understand your problem better. You can access it from Settings->About->Open log location.

Put all these option of the original Windows 10 File Explorer when I click with the right mouse bhutan on a device and drive as my USB STICK to have this in The UWP Files - Preview when I click with the right-click bhutan on a Device or drive in The UWP Files - Preview like for example this my USB Pendrive from Print Screen and appear all these option in The UWP Files - Preview please

@AngelZeur Can you please fill out the issue template to better help us understand the feature proposal?

This issue should be resolved with #5836.


Update problem

My VS Code can't update after restarting the programm.
This is the error message I get:

It says I should upload a .log file:
vscode-inno-updater-1542443308.log
Please write me back ASAP; email address is at my profile.
Thank you

Die Datei oder das Verzeichnis ist beschädigt und nicht lesbar.

@blueberrycodegithub Can you fully reinstall VS Code?

Maybe it could be some extentions installed in VS Code, don't know

BTW Uninstall says some files could not be removed, and any attempt to install fails saying that Code.exe is in use. Even after reboots.

Okay - as I mentioned I uninstalled all extensions. I had C++, Java and Python extensions installed. As a test I just uninstalled VS Code and it was successful. So @blueberrycodegithub you are right - it is one of those extensions that is causing an issue. Maybe it is running in the background?

@dibyendumajumdar  It might be the local PHP server or HTTP server extension, is that possible?

@dibyendumajumdar You have #47841
@blueberrycodegithub Can you fully reinstall VS Code?


Makeup Maven

Makeup Maven provides personalized makeup recommendations from the most popular products based on user preferences. Fast and Fashionable.

Merged


Cache-Manager gives undefined values on ENABLE-CACHING=false

To Reproduce:

When caching-enabled is false and database is started fresh, we will see memoryStore is undefined

QA: @danoswaltCL

I set CACHING ENABLED to false and cleared the db in dev environment. I then rebooted instances. I see no undefined errors or anything like that, so I guess that passes?


Adding custom animations

Expected behaviour
(Running react-native-router-flux 3.1.6, on react-native 0.22.2)
Is there any way to customize a transition animation (ie one other than 'push'/'replace'/etc)? I tried adding an applyAnimation function, but it seems to only allow me to control duration of animation -- and that doesn't actually work as expected; setting the duration, to whatever value, seems to slow the animation down.
If custom animations are possible, is there an example somewhere of how to make one? I can't find one (in examples, issues, etc), and haven't been able to approximate one by using applyAnimation and looking around the source code.
I'm specifically looking for a swipe-style animation, where one page shifts in while the other shifts out.
Thanks!

Curious about this applyAnimation can you show an example of it's body, I have no clue what should it return!
I'm also looking for having a custom Animation.

As I understand custom animations are introduces only within RN0.24, but that version introduce more serious bugs, see #557
You may also check branch 3.24, but it contains bugs described within #557

Is this now possible with 0.26? Is there any example for a custom animation? Thanks!

@aksonov any updates on this one?

updates?

+1 looking for updates

Trying out for custom animations. If I get a hang of it I might try to contribute support of different animation styles. No luck yet. Anybody with a good example of how to apply animations in between on screen transitions. @aksonov


Zoom on double tap

onDoubleTap = { position ->
    when (zoomState.scale) {
        in 1f..<5f -> {
            zoomState.changeScale(5f, position)
        }
        in 5f..<10f -> {
            zoomState.changeScale(10f, position)
        }
        else -> {
            zoomState.changeScale(1f, position)
        }
    }
}

if there will be parameter level, then it will be easeir to manage, like
onDoubleTap = { position, level ->
    when (level) {
        ZoomLevel.Min -> {
            zoomState.changeScale(1f, position)
        }
        ZoomLevel.Mid-> {
            zoomState.changeScale(5f, position)
        }
        ZoomLevel.Max-> {
            zoomState.changeScale(10f, position)
        }
    }
}

Like this, but zoomState need to expand its internal maxZoom parameter and also include minZoom one

@T8RIN
I do not think it is a good idea to fix the number of steps of level to 3.
Different apps have different requirements for double-tap behavior.
Therefore, Zoomable provides a double-tap handler without enforcing a specific number of steps.
In fact, many apps, such as Google Photo and X, change scale in two steps with a double tap.
This is why Zoomable's default double-tap handler is implemented in two steps.

Hm, with this implementation add two leveled way easier, maybe just add additional modifier?

Okay, i will remove it, and create additional zoom handler param

Done @usuiat


[TC-BC-2.1] Need YAML support for following Scenario

Summary:
Need YAML support for following scenarios
Scenario 1: How do we make sure the devices are with same node id but different endpoints
Scenario 2: How do we make sure endpoints and node ids are different
Scenario 3: How do we have multiple TH devices on different fabric
Testplan screenshot:

This issue was created by me using a account that i had to delete due to access issues, I will continue to follow these issues with my current id.


Li-Ion NMC battery lifetime

@dguittet Here's the new battery lifetime model @rchintala13 wrote, and all the lifetime refactor work you did.
Changes:

Added lithium ion nmc capacity degradation model (Q_li, and Q_neg)
Added lithium ion nmc states to allow for complex cycling in computing charge degradation. The complex cycling method for computing capacity degradation is based on one of the NREL's teams work and published in the applied energies paper “Analysis of degradation in residential battery energy storage systems for rate-based use-cases.” They use the same Kandler Smith model.
Updated thermal_t class to incorporate Kandler Smith's NMC model to update capacity as a function of temperature (analytical model).
Ran tests to check for state initialization, and accuracy of functions.

close #521

Looks like cmod_battery_stateful wasn't updated to use the new logic for the new thermal analytical calculation. I'm happy to add that in later today, unless @rchintala13 would like to?

Thank you so much for the review @dguittet.   I will go through all the comments and start working on incorporating the recommended changes. I hope to finish them by Wednesday EOD.

In this implementation, we derive the instantaneous derivative of the global model and then every day (day is the time unit for the model), we integrate over that discrete timestep by determining the values for each parameter at that timestep. The parameter's coefficients are found by taking the average across the timesteps that make a day.
A weakness to this implementation of the dynamic / "complex cycling method" model is that for cycles that last longer than a day, the coefficients from the days prior to the completion of the cycle are lost. For a two-day cycle, the loss term is computed on the second day when it completes, and the parameter's coefficients are the average of the second day only, ignoring those of the first day.
A more rigorous implementation would choose the integration steps separately for the calendar and the cycle model. For the calendar model, the integration should be performed every day; for the cycle model, the integration should be performed with the completion of each cycle.


Any changes made in onHidden, doesn't re-trigger recomposition.

How to reproduce
Scenerio

A graph should have persistent maker at a default position
When the user drags the finger, the persistent marker should hide and the normal marker should be visible
When the user release the finger, the persistent marker should be displayed again at the default position.

    val marker = rememberMarker2()
    var persistedMarker = rememberMarker2()

    var persistentMarkerIndex by remember {
        mutableIntStateOf(5)
    }

    var showPersistentMarker by remember {
        mutableStateOf(true)
    }

    CartesianChartHost(
        chart = rememberCartesianChart(
            rememberLineCartesianLayer(
                LineCartesianLayer.LineProvider.series(
                    chartColors.mapIndexed { index, color ->
                        LineCartesianLayer.rememberLine(
                            fill = remember {
                                LineCartesianLayer.LineFill.single(fill(color))
                            },
                            areaFill = remember(color) {
                                LineCartesianLayer.AreaFill.single(
                                    fill = fill(areaColors[index])
                                )
                            },
                            cap = StrokeCap.Round
                        )
                    }
                )
            ),
            marker = marker,
            markerVisibilityListener = object : CartesianMarkerVisibilityListener {

                override fun onHidden(marker: CartesianMarker) {
                    showPersistentMarker = true
                }

                override fun onShown(
                    marker: CartesianMarker,
                    targets: List<CartesianMarker.Target>
                ) {
                    showPersistentMarker = false
                }
            },
            persistentMarkers = remember(showPersistentMarker) {
                if (showPersistentMarker) {
                    { persistedMarker at persistentMarkerIndex }
                } else {
                    null
                }
            }
        ),
        modelProducer = modelProducer,
        modifier = modifier.padding(4.dp)
    )

Observed behavior
As soon as user release figure CartesianMarkerVisibilityListener callback onHidden is called which change the state. However, the graph doesn't recompose itself and the persistentMarkers  doesn't reset.
i.e After the last state change, the view should recompose itself
Expected behavior
The  state change in onShown method works as expected, however state change in onHidden doesn't trigger recomposition.
Solutions tries so far

I have even tried rememberExtraLambda(showPersistentMarker) instead of remember(showPersistentMarker). Same result
Instead of using a Boolean state, I tried to update the persistentMarkerIndex  as well. Same result and behaviour.

Vico version(s)
3.0.0-alpha.28
Android version(s)
13
Additional information
No response

This explain this issue even better. Notice persistentMarkerIndex = 5 is never reflected
@Composable
fun LineGraphChart(modelProducer: CartesianChartModelProducer, modifier: Modifier) {

    val marker = rememberMarker2()
    var persistedMarker = rememberMarker2()

    var persistentMarkerIndex by remember {
        mutableIntStateOf(5)
    }

    // Create a remembered instance of the listener
    val markerVisibilityListener = remember {
        object : CartesianMarkerVisibilityListener {

            override fun onHidden(marker: CartesianMarker) {
                persistentMarkerIndex = 5
                super.onHidden(marker)
            }

            override fun onUpdated(marker: CartesianMarker, targets: List<CartesianMarker.Target>) {
                super.onUpdated(marker, targets)
                val x = targets.first().x.toInt()
                persistentMarkerIndex = x
            }

            override fun onShown(
                marker: CartesianMarker,
                targets: List<CartesianMarker.Target>
            ) {
                persistentMarkerIndex = -1
            }
        }
    }

    // Use `remember` for the `persistentMarkers` to recompute based on `persistentMarkerIndex`
    CartesianChartHost(
        chart = rememberCartesianChart(
            rememberLineCartesianLayer(
                LineCartesianLayer.LineProvider.series(
                    chartColors.mapIndexed { index, color ->
                        LineCartesianLayer.rememberLine(
                            fill = remember {
                                LineCartesianLayer.LineFill.single(fill(color))
                            },
                            areaFill = remember(color) {
                                LineCartesianLayer.AreaFill.single(
                                    fill = fill(areaColors[index])
                                )
                            },
                            cap = StrokeCap.Round
                        )
                    }
                )
            ),
            marker = marker,
            markerVisibilityListener = markerVisibilityListener,
            persistentMarkers = remember(persistentMarkerIndex) {
                { persistedMarker at persistentMarkerIndex }
            }
        ),
        modelProducer = modelProducer,
        modifier = modifier.padding(4.dp)
    )

}

Hello, @ankitfromcodefy. This isn't specific to markers — it generally relates to calling rememberCartesianChart and similar with changed arguments.
The CartesianChart instance is mutated, but it's the same instance, so there's no reason to expect a recomposition. Neither is there a way for us to make a recomposition occur. This is how Jetpack Compose works.
persistentMarkers is an ExtraStore lambda, and you can use extras to dynamically add or remove persistent markers. This ensures that the chart is redrawn to reflect the changes. Replacing the lambda to add or remove persistent markers (as in your code) is incorrect.
However, it's not entirely possible to achieve your desired behavior via extras. This means that the library doesn't support implementing such behavior at the moment. We will consider adding an API that makes this possible — I'm converting the issue to a discussion in "Ideas."


Trigger external authentication under Resource Owner Password grant

Issue / Steps to reproduce the problem
Sorry if this is really basic; but what's the url for redirecting to the external authentication when using resource owner password grant? Following the doc, I am trying to add Google and then localhost:5001/signin-google returns an error. I did register localhost:5001 in the Google console Authorized JavaScript origins.
This is my config:
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
                .AddIdentityServerAuthentication(options =>
                {
                    options.Authority = _authority;
                    options.ApiName = "badders-rank-api";
                    options.RequireHttpsMetadata = false;
                    //options.ApiSecret = "dragonfly";
                    options.SupportedTokens = SupportedTokens.Both;
                });

            // add google
            services.AddAuthentication()
                .AddGoogle("Google", options =>
                {
                    options.SignInScheme = IdentityServerConstants.ExternalCookieAuthenticationScheme;
                    options.ClientId = "myClientId";
                    options.ClientSecret = "myClientSecret";
                });

Relevant parts of the log file
2017-12-30 21:43:45.783 +00:00 [INF] You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
2017-12-30 21:43:45.824 +00:00 [DBG] Using Bearer as default scheme for authentication
2017-12-30 21:43:45.825 +00:00 [DBG] Using Bearer as default scheme for sign-in
2017-12-30 21:43:45.825 +00:00 [DBG] Using Bearer as default scheme for sign-out
2017-12-30 21:43:45.826 +00:00 [DBG] Using Bearer as default scheme for challenge
2017-12-30 21:43:45.826 +00:00 [DBG] Using Bearer as default scheme for forbid
2017-12-30 21:43:50.641 +00:00 [INF] Error from RemoteAuthentication: The oauth state was missing or invalid..
2017-12-30 21:43:50.646 +00:00 [ERR] An unhandled exception has occurred while executing the request
System.Exception: The oauth state was missing or invalid.
   at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.<HandleRequestAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.FederatedSignOut.AuthenticationRequestHandlerWrapper.<HandleRequestAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!

Reported here https://stackoverflow.com/questions/48038353/resource-owner-password-grant-with-external-authentication
Thanks.


HELMv3 support

First, thanks for this awesome software!
Second:
Do you have any plans to support Helm version 3 (currently beta) ?
It has slightly different command line syntax for a few operations and, also, does not use configMaps for store release information, which makes it not usable with helmfile 😄 as far as I can see.

There are two issues to track the Helm 3 work:

https://github.com/roboll/helmfile/issues/122#issuecomment-499310848
https://github.com/roboll/helmfile/issues/668

Thank you @manics !
Closing this 😄


Allegheny County Jail provisional detention

Someone has requested help on a data project:
Submission notes
What are the most common reasons why inmates are on pre-trial detention, probation holds, etc.
Location
Allegheny County Jail
Requirements
Jail records
How to help
Leave a comment if you'd like to help. Do you have ideas, questions, or need any more information to get started?

This dashboard contains the answers: https://data-sources.pdap.io/data-sources/recn5peRrGMNEksXI


Atomic Endpoints - Standardize query parameters (for example in Collections)

Some resources function like an endpoint: they accept (optional) query parameters which modify the response. A Collection, for example, might use a page parameter and a sortedBy parameter. These available query parameters and their datatypes might be standardized.
How should the client know if a certain resource has query parameters available? How do we communicate this?
One approach is to make all query parameters available as nested resources in an array, under some new property. Each parameter needs a shortname, a datatype (perhaps default to string), bool whether its optional...
We could also have to property URLs: requiredParams and optionalParams.

In Atomic, I have some logic named "Extended Resources", which deals with the logic above. When fetching any resource, the Classes are checked. If any of these match, a special function is called.
For example, if /classes is requested, the class Collection is matched and the construct_collection is called, which paginates the resource and gets the actual underlying values (the items for the Collection)

Approaches:
Have endpoint-specific properties
Say we open /versions in the browser. It defaults to a collection of the most recently made changes to all resources. It

Approaches:
Have endpoint-specific properties
Say we open /versions in the browser. It defaults to a collection of the most recently made changes to all resources. It

Since posting the comments from above, I've actually implemented some endpoints and they can easily be used in the new front-end app. Here's how they work:

Fetching an endpoint without any query parameters always returns an Endpoint resource.
This resource has a bunch of Parameters, which provide the information to the client about how the endpoint works
The client sets the parameters as query parameters, and gets that URL
The server responds with... something that should make sense.

I've implemented a path endpoint, a version endpoint, and an all-versions endpoint.
There were also a couple of Endpoints that I wanted to do, but didn't because of the current limitations:

I don't handle POSTS at this moment, which means that I can't handle bodies. This means that the /commit endpoint is not actually an Atomic Endpoint.
I can't browse the pages on the all-versions endpoint, and fixing that seems both hard and hacky.
The UX of responses is always kind of... Funky. I feel like the controls that I'm offered as an end user are not enough, and the fact that the form completely disappears after getting the response is also weird.

How can this be improved upon?
Always return Endpoints
Imagine gettings /all-versions&subject=somesubject. Instead of returning a collection, we could return the endpoint itself, which then has a reference to a result. That result can then contain the actual response, in this case a list of versions. In a different endpoint, in /path for example, result could be a Resource or an Atom Resource.


Emoji characters cannot display colors correctly under win10/win11

I display some text on the Frame component, including emoji symbols, which can correctly display emoji symbols and colors in the DeepIn Linux v20.9 environment. However, in the win10/win11 environment, only the appearance of symbols can be displayed, and symbol colors cannot be displayed correctly, and some special characters cannot be displayed. However, the code editor of Intellij IDEA can correctly display emoji symbols and colors.
The code is the same, but no additional processing was done on the font when the app started, using the default font of fltk.
In DeepIn Linux v20.9, the default font is "Noto Sans Simplified Chinese", while in win10/win11, the default font may be "Microsoft Yahei".
May I ask if I need to make special settings in the Windows environment? Or does FLTK currently not support emoji character colors on the Windows platform? If FLTK does not yet support colored emoji characters on the Windows platform, we hope that future versions of FLTK on the Windows platform can support them. Thank you!
Screenshot under Linux:

Screenshot in Windows:

I think it depends on what the default system font supports.
You can try bundling the noto font on windows and check whether it works on windows as well:

        if let Ok(f) = enums::Font::load_font("fontfile.ttf") {
            enums::Font::set_font(Font::Helvetica, &f);
        }

I think it depends on what the default system font supports. You can try bundling the noto font on windows and check whether it works on windows as well:
        if let Ok(f) = enums::Font::load_font("fontfile.ttf") {
            enums::Font::set_font(Font::Helvetica, &f);
        }

Thank you for your prompt response. I tried replacing other fonts when the application started, but it did not achieve the expected effect.
// if let Ok(font) = Font::load_font("res/NotoSansSC-Regular.ttf") {
    if let Ok(font) = Font::load_font("res/JetBrainsMono-Regular.ttf") {
        println!("Loaded font: {:?}", font);
        Font::set_font(Font::Helvetica, &font);
    }

This time, Noto font and JetBrains font were used, and lower versions of Linux environment and Win11 environment were attempted, but the color of emoji characters could not be displayed correctly.
The following image is a representation of a lower version of Linux:

The following figure shows the emoji character effect displayed by the IDEA editor in the Win11 system, as well as the effect displayed by the app after using the same font:

The following figure shows the emoji character effect displayed when Edge Browser uses the default Microsoft Yahei font in the Win11 system:

From the above comparison, it can be seen that fonts only affect whether characters can be displayed, but whether emoji character colors can be displayed is not a problem with fonts. In the same Win11 environment, both IntelliJ IDEA and Edge can display emoji character colors correctly, but fltk applications cannot. Additionally, in earlier versions of Linux, character colors cannot be displayed correctly. Is it related to the underlying implementation of FLTK?

Looking for similar issues, it seems that since you have the noto font family installed on Linux, the pango library correctly finds the related noto-color-emoji font file and whenever it encounters an emoji, it will load it from the font file.
On windows, it should also similarly do so however it wouldn't be enough to just bundle a single font file, you would need to have the font family installed on your system.
Similar issues:

https://discussion.fedoraproject.org/t/qt-based-apps-use-low-quality-black-and-white-emoji/81017
https://bugreports.qt.io/browse/QTBUG-85744


[Bug] Don't need to verify board again if I didn't change board information

Version
1.1.1
Summary
Don't need to verify board again if I didn't change board information
Steps to Reproduce

verify the board
change the collection date

Current Behavior
I need to verify board again
Expected Behavior
don't need to verify board if I didn't change anything
Environment
- OS:
- Browser:

Any additional comments?
No response

Tracked in ADM-612

Hey,
There is no more conversation, so we close it, and reopen it if you still have Q


Build a Decklist Object

The name "Decklist" isn't great compared to "Deck".  There is a notion of "published" vs. "unpublished" vs. "private" decks that might be worth using.
We can start with a decklist object and see if there is a better design to use as we iterate.

initial version of this is done.


Guide: Create a Template for Tutorials

We want to create a template/guide for tutorials (like the guide sections)
Acceptance

[x] We have a reusable template for the guides.

Tasks

[x] Tutorial Template

Define what type of documentation you will be writing. Tutorial? Explanation?
Who is the audience?
What do they want to achieve?

[x] Write a template for these pages, where the answers for the previous sections are explicit.

[title]
[paragraph saying who's the intended audience]
[assumptions about previous knowledge of the audience]
[introduction paragraph]
[why 1-2 paragraphs]
[code snippet in javascript]
[link to libraries]
[reference list]

DONE. Template linked here https://docs.google.com/document/d/1toi8Fk-HCM_93J6LZ3fcZ373RaqskVP9eYTRZ5JDwc4/edit#heading=h.81ipn3c0jg0e


Allow simultaneous execution of several workflows

At the moment (in the dev-parsl branch, soon to be pushed to main), fractal_cmd.py writes and uses at least two auxiliary files: dictionary_tasks.py (a mapping from task names to Python functions) and fractal.json (which stores details on projects, tasks, users, groups). If two workflow creations/executions are launched at the same time, there may (and will) be conflicts on what is expected to be in these files, especially fractal.json.
We should better isolate what is workflow-specific and what is global, and guarantee a proper access to the global properties.

This issue is superseeded with the new server/client architecture (tested after PR https://github.com/fractal-analytics-platform/fractal/pull/141, by registering two users and running a worfklow per user).
Closing.


Add a '.noinherit' modifier

What problem does this feature solve?
Vue always tries to make a child element's root element auto-inherit an attribute or event listener if it's not explicitly defined in the child with props or emits.  There should be a .noinherit modifier which prevents this behaviour, in case the parent doesn't want the child to inherit the attribute/listener and only wants it to apply if the child explicitly deals with it.
In addition, if the child has multiple root-level nodes, this will prevent the "Extraneous non-emits event listeners" warning from appearing.  This is particularly useful when applying an event listener to a router-view, which becomes one of many different rendered routes, some of which may emit a particular event and some of which may not.  Without a .noinherit, every single component with multiple root nodes that may be rendered by the router needs to be examined for every event listened to and either given inheritAttrs:false or explicitly defined as emitting that event, even if the component actually has no intention of emitting the event, in order to avoid the warning.  For instance, in the following App.vue template:
<template>
    <router-view @displaymodal="handleDisplayModal" @displaypopup="handleDisplayPopup"></router-view>
</template>

... every child component that might get rendered by the router-view would have to explicitly not inherit attributes, or explicitly define displaymodal and displaypopup as emits, to avoid the warning.  What App.vue really wants to say is "if the child emits this event, handle, but if not, do nothing, and don't give a spurious warning".
What does the proposed API look like?
    <router-view @displaymodal.noinherit="handleDisplayModal" @displaypopup.noinherit="handleDisplayPopup"></router-view>

This is an annoying little thing that keeps cluttering the console during debugging. Hope someone could look into it soon.


Support Cron/Scheduled Workflows

Allow users to schedule workflows to run as a "cron job". For example, we can support similar semantics as https://www.npmjs.com/package/node-cron
To guarantee OAOO, we can use the workflow name + scheduled timestamp as the idempotency key.

A summary of our internal discussion about how to support this:
We will have a decorator on a workflow function to execute; that decorator will specify the schedule in crontab form.
We will run each workflow exactly once per scheduled time.
It will be easy to tell if another instance is running on the vm/cluster.  So if there is a requirement to avoid concurrent invocations, just return from the workflow quickly if there is an outstanding workflow.
Implementation based on that functionality is in progress.

Close this issue as we support scheduled workflows now!


Add comments about critical CSS

Can't do it on Github Pages because server-side, but see A fully-configured head setup for EnhanceJS.

Also see: http://fourword.fourkitchens.com/article/use-gulp-automate-your-critical-path-css


Automatically generate A* grid from .tmx data

Possibly by using type data of each entity?

Currently AStarGrid.fromWorld( ... ) can be used to automatically generate A* grid


Fix Typos

Original Issue Link
Fixes #169
Fixed multiple typos.

Good @Aadityajoshi151  and thank you.


Add TCA9548A symbol

@dbrgn @ubruhin @rnestler

Thanks for creating all the new library elements @mwit-a, finally I have time to start reviewing them :smiley:
In addition to the comments from @dbrgn:

Swap SDA and SCL pins to make the order consistent with the SDx and SCx pins on the right side (would be strange to have different order). Other I2C symbols in our libraries also have SDA first, so let's follow this convention.
Rename "RST" to "NRESET" to make clear that it's inverted (or "NRST", but then it's less consistent with the datasheet which doesn't abbreviate).

@ubruhin
Ok, I added the changes.

The order of VIN and GND pins was still very uncommon (@dbrgn already suggested to fix it in https://github.com/LibrePCB-Libraries/Texas_Instruments.lplib/pull/3#discussion_r298140363), so I quickly fixed it by myself ;)
Now it looks good, thanks!


[PE-D][Tester B] Name cannot handle special characters

add n/Jenny-Chen p/91234567<EMAIL_ADDRESS>a/688, Yio Chu Kang Ave 5, #04-25 m/2024-10-12 14:00
edit 1 n/jenny,chen
Running these 2 commands will result in the same warning: Names should only contain alphanumeric characters and spaces, and it should not be blank. However it is not documented in the user guide that names can only be alphanumeric.
Moreover, symbols with , or / are not uncommon in names, especially in countries such as hong kong.

Labels: type.FeatureFlaw severity.Low
original: Ryan-Reno/ped#5

Shall we allow any name that isn't whitespace? I'm not sure what characters to allow for names 🤔

Not fixing.
Clearly state that name should be alphanumeric characters only in UG. Also mention that names like "al-Assad" can be input as "al Assad" (not a perfect workaround, but as long as the user can identify the client, it should be ok). Can mention that we are working to allow special characters in future release versions.
Justification: If we allow special characters, which ones should we allow? Some names might have very uncommon special characters. If we allow all special characters, names such as "@#*$" will be allowed, which is unintended behavior.


Search for a font

First of all, thanks for your work, this is a great addon!
My main struggle is the huge amount of fonts, and I feel like having a way to search for one would be awesome.
Are you still working on it? If not, do you want me to help?

Hey MrEliptik! Thanks!
I understand and agree with your point. I even started making the search functionality but then "real life work" got in the way. If you wish to try your hands on it, PRs are very welcome! If no external help come, I'll likely do the search functionality whenever I use the addon again (it should be one or to months before then, though).


Use SBT 1.0

@LukaJCB  Just rebased on master. After a successful test run, this can be merged.

Thanks, I was going to do this, but it was really slow, probably due to https://github.com/sbt/sbt/issues/3527. So I'd rather wait until that is resolved.

The new sbt version 1.0.3 now support falling back to polling watch-mode: https://github.com/sbt/sbt/releases/tag/v1.0.3
Maybe interesting for macos, an sbt plugin which enables a native file-watcher: https://www.reddit.com/r/scala/comments/79wcew/native_dropin_replacement_for_slow_sbt_10/

Apple people, are there still any issues?

Merging this :)


Cannot accesd private project hosted by an institution

I am attempting to upload several large files to a project affiliated with an institution (Virginia Commonwealth University). When I launch an upload command via CLI, I am met with a password prompt and after inputing my password I am told I am not an authorized user of this project. I can sign in and access this project via a web browser without issue. Additionally, I tested uploads of directories and files to my personal account using osfclient and it worked. I have a sneaking suspicion that the universities Duo-mobile authentication may be causing the issue.
Any help in solving this issue would be greatly appreciated!

Hey, Kobe.  Just so we can narrow down what might be happening, I am
copying OSF support as well.
Eric
--
Eric Olson
Product Manager, Center for Open Science
@.***
(757) 817-0608
he/him/his
https://osf.io/tx3fb/ ❘ https://github.com/CenterForOpenScience ❘
https://orcid.org/0000-0002-5989-8244 ❘ https://twitter.com/OSFramework
On Tue, Jan 23, 2024 at 10:43 AM Kobe Ikegami @.***>
wrote:

I am attempting to upload several large files to a project affiliated with
an institution (Virginia Commonwealth University). When I launch an upload
command via CLI, I am met with a password prompt and after inputing my
password I am told I am not an authorized user of this project. I can sign
in and access this project via a web browser without issue. Additionally, I
tested uploads of directories and files to my personal account using
osfclient and it worked. I have a sneaking suspicion that the universities
Duo-mobile authentication may be causing the issue.
Any help in solving this issue would be greatly appreciated!
—
Reply to this email directly, view it on GitHub
https://github.com/osfclient/osfclient/issues/205, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZE6KCVHVBRSXLXFCVUIPLYP7LDHAVCNFSM6AAAAABCHG6VXKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TMMZYGE4DKMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks Eric,
Additionally, I am not the creator/owner of the project. I generated a personal access token and tried using it when prompted with a password and that did not work either.
Kobe

-- Please reply above this line --
        Hello,

Thank you for reaching out to the OSF support team! Could you please
let me know which project you are referring in below and what's your
OSF profile? I need this information to be able to assist you better
with your below request.
Best,
I am attempting to upload several large files to a project affiliated
with an institution (Virginia Commonwealth University). When I launch
an upload command via CLI, I am met with a password prompt and after
inputing my password I am told I am not an authorized user of this
project. I can sign in and access this project via a web browser
without issue. Additionally, I tested uploads of directories and files
to my personal account using osfclient and it worked. I have a
sneaking suspicion that the universities Duo-mobile authentication may
be causing the issue.
Any help in solving this issue would be greatly appreciated!
How would you rate my reply?
Great [1]    Okay [2]    Not Good [3]
--
Support
@.***
Links:
[1]
https://secure.helpscout.net/satisfaction/677165899/record/7469279419/1/
[2]
https://secure.helpscout.net/satisfaction/677165899/record/7469279419/2/
[3]
https://secure.helpscout.net/satisfaction/677165899/record/7469279419/3/

Hello,
OSF Profile: nkjz5
Project: 3tvkz
I am also having trouble accessing my test project: unf9j on the same institutional account.
Questionnaire response: [1]


Fix ISO 8601 timezone format in downstream documents

Documents returned from the content-store have inconsistant date formats. Some use the trailing modifier Z to signify UTC, whereas others are represented using the +00:00 time zone offset.
For consistency, and because the publishing-platform has standardised on the former, this changes datetime strings in rendered JSON to use the Z notation to represent the timezone.

@gpeng I understood the +00:00 format was the preferred one?

@fofr @gpeng Literally the first format example I looked at to check uses UTC, GMT + 0 and BST in its first three datetime objects. Personally, I think UTC (via the Z suffix is the least ambiguous spec to follow.

I think firstly started checking with the +00:00 format as that matches Publishing API was setting for first_published_at.  On having a look through the JSON schema spec the 'correct' date format is rfc3339` like we check here but our schemas appear to be valid with any format. JSON Schema Spec
So... I think we should standardise to that but there will be work to do through the pipeline to get that to happen.

@gpeng @fofr Thanks for the feedback. PR updated accordingly to standardise on rfc3339

👍


Extend let beyond relations

This works:
let some = 5

from employees
take some

But this does not:
let some = 5 + 5

from employees
take some

Yes, currently let needs to resolve to a table / relation.
Relaxing this would be good! It's not trivial in the compiler; and it would be less frequently used than for relations, but it would be an elegant generalization.
I'm going to adjust the title slightly if that's OK @vanillajonathan

I had a look at implementing this. It's not obvious how to do it.
When we lower the expressions, we need to create a table instance, since that's the only thing that RQ can hold.
Currently we do that here: https://github.com/PRQL/prql/blob/9b21e945282130fea5619d994ff1568b4ea46f0d/prql-compiler/src/semantic/lowering.rs#L198
Just above that line, we do allow a Literal in RelationKind: https://github.com/PRQL/prql/blob/9b21e945282130fea5619d994ff1568b4ea46f0d/prql-compiler/src/ast/rq/mod.rs#L41-L46
But should we also allow other types like expressions? Or should we resolve those first?
@aljazerzen if you have thoughts...


Add simple test & binary release CI

Validated CI workflow using act
Validate Release CI using goreleaser release --snapshot --clean locally

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Animated Gif Demo?

The component sounds interesting, and I think I can imagine what it does... but it would be nice if you added an animated GIF so that we could see it before installing it.

@geirman Thank you for your suggestion. I will add it ASAP 😉

Cool, please let me know when it's up

@geirman Now the demo is up 😉


django-shop breaks my project's testsuite

Traceback below.
The problem seems to be that we are calling connection.cursor() in shop/models/fields.py at module level, and that uses the connection to the default database, not the test database. I will investigate this ASAP.
Traceback (most recent call last):
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
    self.connect()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 171, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 175, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  database "acceed-shop" does not exist

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/py/test.py", line 4, in <module>
    sys.exit(pytest.main())
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/config.py", line 47, in main
    config = _prepareconfig(args, plugins)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/config.py", line 132, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 249, in _wrapped_call
    wrap_controller.send(call_outcome)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/helpconfig.py", line 32, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 278, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
    self.result = func()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
    res = hook_impl.function(*args)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/config.py", line 882, in pytest_cmdline_parse
    self.parse(args)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/config.py", line 1032, in parse
    self._preparse(args, addopts=addopts)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/config.py", line 1003, in _preparse
    args=args, parser=self._parser)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 724, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 595, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 253, in _wrapped_call
    return call_outcome.get_result()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 278, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 264, in __init__
    self.result = func()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
    res = hook_impl.function(*args)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/pytest_django/plugin.py", line 245, in pytest_load_initial_conftests
    _setup_django()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/pytest_django/plugin.py", line 148, in _setup_django
    django.setup()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/apps/config.py", line 202, in import_models
    self.models_module = import_module(models_module_name)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 662, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/rene/acceed2/acceed/models.py", line 15, in <module>
    from shop.models.defaults.address import BillingAddress, ShippingAddress  # noqa
  File "/home/rene/django-shop/shop/models/__init__.py", line 2, in <module>
    from .notification import Notification, NotificationAttachment
  File "/home/rene/django-shop/shop/models/notification.py", line 18, in <module>
    from .customer import CustomerModel
  File "/home/rene/django-shop/shop/models/customer.py", line 18, in <module>
    from shop.models.fields import JSONField
  File "/home/rene/django-shop/shop/models/fields.py", line 13, in <module>
    with connection.cursor() as cursor:
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 231, in cursor
    cursor = self.make_debug_cursor(self._cursor())
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 204, in _cursor
    self.ensure_connection()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
    self.connect()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/utils.py", line 95, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
    self.connect()
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/base/base.py", line 171, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/django/db/backends/postgresql/base.py", line 175, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/home/rene/.virtualenvs/acceed-shop/lib/python3.5/site-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: FATAL:  database "acceed-shop" does not exist

Hi @rfleschenberg , Could you please share your failing tests in order to try to fix it. Thanks

@khchine5: I'd have to share the whole project, which I can't right now. But I will create a reproducible test case ASAP.

BTW, you should be able to reproduce this with any testcase that uses a model with a JSONField, I think. But I will try to send a testcase tomorrow.

To reproduce the issue:

Activate the django-shop virtualenv
pip install psycopg2

Change your settings:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'djangoshop',
    }
}

You should get this:
django.db.utils.OperationalError: FATAL:  database "djangoshop" does not exist

This is wrong, because it refers to the default database, not the test database. The tests should not rely on the default database being present.

Can we just document that we require Postgres >= 9.4 and psycopg >= 2.5.4? This would make the code much simpler.

Yes, I think it could be a good idea. but in the other hand ,it could be more complicated for the end developer and to run demo projects.

An other point about testing with a postgres database , Django offers the possibility to specify the database's name when testing. We need also to grand to the database user write access to our testing database.
See :
https://docs.djangoproject.com/es/1.10/topics/testing/overview/#the-test-database

We can hande this on travis, so we don't have to change anything for our users. We just need to use an environment var or a separate settings module and modify .travis-ci.yml :)


Feature request: output list of sent messages

I just used this to send a batch of messages and got a failure. I have no clue how many of the emails were actually sent. It'd be great if this output the status as messages were sent so you could identify failures.
$ CSV=oss-alley.csv TEMPLATE=oss-alley.txt ./mailmerge
/Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/protocol.rb:176:in `rbuf_fill': Net::ReadTimeout (Net::ReadTimeout)
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/protocol.rb:154:in `readuntil'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/protocol.rb:164:in `readline'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/smtp.rb:950:in `recv_response'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/smtp.rb:553:in `block in do_start'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/smtp.rb:960:in `critical'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/smtp.rb:553:in `do_start'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/smtp.rb:518:in `start'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/mail-2.6.4/lib/mail/message.rb:253:in `deliver!'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/pony-1.11/lib/pony.rb:176:in `deliver'
	from /Users/bkeepers/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/pony-1.11/lib/pony.rb:166:in `mail'
	from /Users/bkeepers/projects/mailmerge/lib/email.rb:8:in `dispatch'
	from ./mailmerge:19:in `block in <main>'

added in https://github.com/kytrinyx/mailmerge/commit/b64a3236157b6cd825bada3311c56e69a3ec99be


Using the Directus sdk

Hi Eike,
not really an issue, more a question. I read your two part blog on the directus site and you mention in part one that it is better to use the sdk over sveltekit's fetch. But then in part two, for login (and register) you use fetch.
Is there any particular reason for not using the directus login(email, passwd) api?
Regards,
John

hey john, i think i mentioned it in the article, but the more elaborate version was cut in the review phase by directus ;)

The Directus SDK is not saving Cookies with the HTTP-only Option enabled and we want to set the Cookie on the server, thus we need to access the Directus API directly from SvelteKit ourself and save the tokens in a secure cookie via SvelteKit's cookie handler.

in order to save the http-only cookie we need to use the SK fetch method. directus's sdk login function is not saving both cookies (i think they are only saving the access token if i remember correctly).

Certainly I am having problems with sveltekit and directus. In order to use named actions, it must be in a server file and so run on the server and though login works (and returns access and refresh tokens) these are, as you say, not available to the browser or even on the server, as a subsequent call to readMe fails with invalid credentials.
I am coming to this from a svelte / svelte-navigator project which I felt I had to migrate to sveltekit after svelte-navigator was no longer supported. I have tried to update navigator to svelte 4 but I can't get it to pass the cypress tests. I know where it is failing; I just can't work out why. My javascript just isn't good enough.
But thanks for this, it was just something that stood out for me as to why login wasn't being used.

i am currently on vacation so please take my remarks with a little bit grain of salt as i cannot confirm them 100%

run on the server and though login works (and returns access and refresh tokens) these are, as you say, not available to the browser or even on the server, as a subsequent call to readMe fails with invalid credentials.

i think that must have to do with some cookie policy. sounds like the browser is not saving them. look into the console. and follow the cookies, if they are returned by the directus API at some point you seem to "loose" them. if everything looks good until the moment you refresh and they are not in the browser, then it seems to be that the cookie domain or something is not correct. also on localhost you have to have ssl enabled if secure is true. the request after login should return a SET-COOKIE header. if not that is the first problem. if it does, then it have to be something with the cookie why the browser is not saving it.

I now feel quite guilty about chatting about such unimportant things when you are on holiday - hopefully somewhere warm but not hot (FYI - we have two hot days in coming in London!!).
I think the problem is that page.server.js is running on the server, not in the browser, and though there are server cookies, they are not available to the authentication composable.
The frustration is that the sdk authentication composable handles tokens and refresh automatically yet with sveltekit you are have written all of the extra code to do it manually.
This may be heresy, but I am not convinced that sveltekit is making life easier. I do really like svelte and I stumbled across directus last year and am very impressed (though rewriting the sdk was a bit strange) but sveltekit ....

hehe no problem don't feel guilty. if i don't respond i am back on the hike :P

The frustration is that the sdk authentication composable handles tokens and refresh automatically yet with sveltekit you are have written all of the extra code to do it manually.

Yes unfortunately that is true.
page.server.js should run on the server. the server is setting the cookie, hence the name http-only cookie. again please have a look at the request in the developer console, you will very likely find your answer what is wrong there.
i get your frustration, i totally do. but the complexity comes mainly from sveltekits power (excellent SSR) and the fact that i opted for the most secure form of session persistence (http-only cookies). maybe try to relax the cookie by using the https://github.com/eikaramba/directus-sveltekit-starter/blob/main/frontend/src/lib/directus.js#L36 samesite: 'lax"
but it is nevertheless strange that it is not working for you locally with this repo cloned 100%. i tested it just 2 weeks ago i think.

A bit of a misunderstanding
What is not working is my code, not your code. I have not run that.

Hi Eike,
just a followup. I noticed that you do not use the composable client for your calls to Directus. eg client.login(email, pw) or client.logout().
Is there any reason for that? Such as the problems with sveltekit running on the server for api calls and therefore not being able to allow directus sdk to handle background stuff?

yes actually there was a good reason for it. it used to be that the Directus SDK is not saving both the access_token and refresh_token in cookie mode. it was only setting one of the tokens (i think the access_token?)
so i needed to do the actual cookie handling myself.
HOWEVER, directus does now support a session cookie which is basically both token combined. i haven't looked into it yet but i believe one could now simplify the code and actually use the Directus SDK and would still have access to tokens on server side.
If you are able to find out if that is working let me know for sure! I will not be able to find the time currently, but hopefully in a few months as i then have another directus/svelte project coming up.

Hi Eike,
so I eventually got help on how to use the composable authentication and it now works.
There is a cut down example on github under norricorp/sdauthtest. The key files are LoginModal.svelte (for login) and Header.svelte for logout. It's ugly but it demonstrates it. logout() works because a single instance of directus is used. So take a look at directus.js for that.
Regards,
John


[Crash] Emberwake + items which grant chance to ignite

Such combinations will always display an error when mousing over some of the items in the items tab. They will also sometimes crash the app, only leaving the option to Restart.

I've noticed this one myself; the fix will be in the next update, which should be out soon.


fix: remove extra space in remote URL

Why:
I found an extra space in remote URL from this topic: Switching remote URLs from HTTPS to SSH in getting started docs.
This is the snippet:
$ git remote -v
# Verify new remote URL
> origin<EMAIL_ADDRESS>OWNER/REPOSITORY.git (fetch) <-- extra space
> origin<EMAIL_ADDRESS>OWNER/REPOSITORY.git (push)  <-- extra space

Closes: https://github.com/github/docs/issues/26625

What's being changed (if available, include any code snippets, screenshots, or gifs):
Those spaces should be removed from those URLs. This is what I have commited

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@cmwilson21 Thank you so much for your quick response! I am so glad for it  :smile:
Again thanks!


WebStyle: ping handler to return 200

When queried by a load-balancer (such as haproxy) have the /ping
web handler to return HTTP status code 200, even e.g. if
ACCESS_CONTROL_LEVEL_SITE is set to 1 (which implies returning
HTTP error status code 503 for any other web handler so that
crawlers don't register these requests).

Signed-off-by: Samuele Kaplun<EMAIL_ADDRESS>

Reviewed-by: Tibor Simko<EMAIL_ADDRESS>Thanks, amended commit log message and merged as 28cf7d105cda1a7f081e165971ed379d0ae729be.


add (hidden) spin crater subcommand

This command is useful for testing Spin changes (e.g. the recent componentization work) against a large set of apps stored in a Bindle repository.  The "test" in this case is simply pre-instantiating each component of each app, which serves to verify that spin-componentize can generate a valid Component Model component from each model and that linking succeeds.  We don't actually instantiate and call into those components since they may do arbitrary things at runtime, and there's no way to verify an arbitrary app "behaves correctly" given that each app will have its own notion of "correctness".

Is the intention that Spin application developers use this?  If so, maybe give it a more meaningful name?  If not, could it be a plugin?

It would be nice if we could merge this as is so we can continue to improve it in parallel. I've had to create a PR on @dicej's fork in order to push my latest improvements: https://github.com/dicej/spin/pull/1

@dicej can you close this one?


[predicate-search-core] Remove Cloneable from Predicate class hierarchy.

This patch removes the clone property of Predicates so that we do not
suffer from its design flaws. That method is not used internally at the
moment and if need be should be replaced by copy-constructor in the
future.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile: