refactor: list booking(s) and booking(s) count

fetches the count of bookings that are there when fetching service requests

Review Checklist

Summary*

[ ] fix: Bug fix for Add the items tackled here as checklists
[x] feat: Completed task
[ ] chore: Incomplete task

[ ] test: Sub-task 1

Structure*

[ ] The Pull Request has a proper title that conforms to our MR title standards
[ ] The Pull Request has one commit, and if there are more than one, they should be squashed
[ ] The commit should have a proper title and a short description
[ ] The commit must be signed off
[ ] Unused imports are not present
[ ] Dead code is not present
[ ] Ensure dry running library to confirm changes

Tests

[ ] Proper and high quality unit, integration and acceptance(if applicable) tests have been written
[ ] The coverage threshold should not be lowered

Sign off*

[ ] All comments have been resolved by the reviewers
[ ] Approved by Czar {replace_with_czar_name}
[ ] Signed off by second reviewer {replace_with_name}
[ ] Ensure all checks are done before merging :warning:
[ ] All PRs needs to be signed before merging :warning:

N/B:

Add a checklist if more than one item is done.
Add screenshots and/or images where necessary
Indicate any breakages caused in the UI :exclamation:
Where necessary, indicate which issue the Pull Request solves (Closes #)
Any new files are updated in the folder structure in the README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 10 (80.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 82.981%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/mycarehub/infrastructure/database/postgres/gorm/query.go
5
7
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
17265

Relevant Lines:
20806

💛  - Coveralls


railway down not authorized github actions

Hello, I made a script that takes down the railway deployment on weekends and turns it back on during the week, but i have been encountering this error:
Run railway down -y
Unauthorized. Please login with `railway login`
Error: Process completed with exit code 1.

railway up works perfectly, just not railway down
here is my github action workflow file:
name: Stop deployment on saturdays

on:
    schedule:
    - cron: "0 0 * * 6"

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Use Node 18
        uses: actions/setup-node@v1
        with:
          node-version: 18.x

      - name: Install packages
        run: yarn install --frozen-lockfile

      - name: Install Railway
        run: npm i -g @railway/cli

      - name: Deploy
        run: railway down -y
        env:
          RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

@aleksrutins Idk which one, whatever the github action is importing

Sorry for taking so long to get back, is this still broken?

closing this for now. Happy to reopen if more information becomes available 👍


Deaths not counting correctly

I'm trying a no-death run (bad idea? bad idea) and any time I die I have to delete the file and restart. I noticed that so far, every time I've died (only in the first chapter thus far) and then exited to the title using "Save and Quit," it counts for two deaths instead of one. Not sure if that's intended or not, but figured I'd open an issue about it in case it isn't

"Save and Quit" counts as a death to avoid exploiting the menu in single-chapter runs (ex. if you're about to die, but save and quit and then resume, you could avoid the death and continue from where you were).


Design system website

At a high level overview, outlined on your Confluence document.
@james-nash - I'm putting this in as a placeholder. This can be the high level MVP epic, which we can subsequently break down into more distinct child issues.

Here's copy of my draft outline. These are some pages and content for each that I think we ought to consider. However, this is very much a starting point to spark discussions and be refined.
Homepage
Must clearly convey the following information to visitors:

What is this?

It's a design system for J.P. Morgan (JPM) Corporate & Investment Banking (CIB) business. Enables accessible, coherent, on-brand user experiences. Faster time to market. etc. etc. - the usual DS spiel.

Who is this for?

It's for JPM staff and external partners who are designing and/or building digital experiences that will be JPM-branded and used by CIB staff or clients (double-check this is correct)

How do I use it?

Links to: Overview, getting started, components, support, etc.

Overview
High-level overview of what this DS provides and how it hangs together

The key parts (what does it give you)

This docs site

React component lib
Figma lib (will this be public by December? If not, maybe omit it for now or say "coming soon"

Features (why should you care?)

Small footprint (due to minimal 3rd party deps)
4x densities + light/dark modes
Striving for WCAG 2.1 AA compliance
Theming
Strong pedigree (see history) & battle-hardened design (since it's basically the same as UITK's design - see next point)

History (trust us, we know what we're doing!)

Successor to JPM's internal-only "JPM UI Toolkit" (aka "UITK") - 4.5yrs old & used across 1200 apps

Getting started

As a team

How to pitch using Odyssey to your superiors
Advice on how design & dev are expected to collaborate using Odyssey?
Advocate regularly upgrading as new Odyssey versions come out?
How to keep up-to-date? (do we need an RSS feed or a public mailing list perhaps?)
Where to get help, request features, make contributions, raise bugs, etc. → link to help page

As a developer

Pre-requisites:

Know-how:
HTML, CSS & JS fundamentals.
React fundamentals.
Accessibility fundamentals.

Tech: Node vXX + your favourite IDE

Project setup
NPM packages to install
Setting up toolkit provider at root of your app
Example of importing some components and links to component docs for further reading

As a designer (unless this is just "coming soon")

Pre-requisites:

Familiarity with Figma
Interaction design fundamentals
Accessibility fundamentals

Library setup

How to find and use our library/-ies in Figma

Components
Link over to Storybook for now.
We probably need to tidy up the IA in Storybook though so that it doesn't overlap / conflict with what's in this site
Support
How & where to:

Ask for help
Report bugs
Suggest features
Discuss contributions

Likely all of these will link to various places on Github (e.g. specialised issue templates)
News
Some kind of feed for announcements (new releases, etc.) and blog posts. Could maybe use an external service like Medium for starters and integrate properly into our site at a later date?

This seems like a solid overview. We may need to pare down somewhat for initial alpha/beta release, but that's fine. We can consider a "fresh start" IA, using some of the research and metrics we already have available, as well as best in class examples in the public domain.
Of the above, I think we can likely minimize the "as a team" part of Getting Started initially (though it will become an important part of the content).

Must have configurable navigation - e.g. via gatsby-config file (https://www.gatsbyjs.com/docs/creating-dynamic-navigation/), or (as outlined by Carbon's Gatsby theme) with a .yaml file - https://gatsby.carbondesignsystem.com/guides/navigation/sidebar/.

All tasks listed here have been completed and the V1 site is now live 🎉


Allow Updating and Deleting all Pricing Definitions in Tenant's settings

Allow Updating and Deleting all Pricing Definitions in Tenant's settings
Enhanced CSS
Fixed wrong i18n keys

@Ramzay : Just merge changes to allow editing/deleting the tariffs while viewing them all!
This is maybe in conflict with some other changes on your side!

@ClaudeROSSI too bad that I already migrated pricing definition with the added bonus of enabling the edit/delete of all tariffs.


TextField multiline selection mismatch in rtl mode

Steps to reproduce
flutter version 3.24.3

add widget

TextField(
    textDirection: TextDirection.rtl,
    maxLines: null,
    textAlign: TextAlign.center,
)

add some Arabic text like: "مرحباً فلاتر" then click enter

select all text then you will notice empty space (I think it's \n character)

move cursor to first line in start and try to select the first char or delete it

Expected results
select and edit text normally like LTR mode
Actual results
didn't work correctly like in picture
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter text TextField rtl',
      home: MyHomePage(title: 'Flutter text TextField rtl'),
      debugShowCheckedModeBanner: false,
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;
  const MyHomePage({super.key, required this.title});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.black,
        title: Text(widget.title, style: const TextStyle(color: Colors.white)),
      ),
      body: const Center(
        child: TextField(
          maxLines: null,
          textAlign: TextAlign.center,
          textDirection: TextDirection.rtl,
        ),
      ),
    );
  }
}

Screenshots or Video

Logs
No response
Flutter Doctor output
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22000.3197], locale en-US)
    • Flutter version 3.24.3 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (2 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\abd\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 32.1.0-rc1
    • ANDROID_HOME = C:\Users\abd\AppData\Local\Android\Sdk
    • ANDROID_SDK_ROOT = C:\Users\abd\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.1.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32328.378
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[√] VS Code (version 1.93.1)
    • VS Code at C:\Users\abd\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.96.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.3197]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 129.0.6668.60
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 126.0.2592.102

[√] Network resources
    • All expected network resources are available.

• No issues found!

this issue happen only in RTL mode
in LTR mode everything works fine

Thanks for the report!
This is a known issue being tracked at https://github.com/flutter/flutter/issues/117139. Closing this issue as a duplicate, so please follow up on it for further updates.


Fullsupport for the Energy Tab

I only could use a few of the Sensors for the Energy Tab.
Non from my Inverter only from the AC meter.
this is the Issue HA pointed me to https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Next week I should have some time to look into this issue.

The only sensors that will work with the energy tab are energy sensors (Wh or kWh). Most inverters have an energy counter that you should be able to use for the energy tab. When you say AC meter, do you mean a device created by this integration? In that case everything is normal.


Expand documentation on contents of repository

I'm opening this issue based on a couple docs-related thoughts I had while reviewing #284. That PR was the first time I had opened/thought about build-index.nf, as a newer contributor to scpca-nf. Before looking at any code, I went to look for specific docs about how this workflow differs from the main workflow, but couldn't find any. When I went to look at the code, I got a sense of what the workflow does on my own (or did I?), but it got me thinking about some areas we can expand docs in this repo:

A Workflows in this repository section in the main README.md (or elsewhere?) would be helpful. I envision some very quick bullet points introducing the (now 3!) different nextflow files (and maybe also nextflow.config?) this repo holds.
Along those lines, currently there do not appear to be any docs about build-index.nf. It looks like in the past (#106) there was a decision (or the discussion didn't really get wrapped up?) to not include this in external-instructions.md, but it really should be documented somewhere. Documenting it via the first bullet point about (workflows in this repo docs) could get the job done, but I think some info in internal-instructions.md (perhaps CONTRIBUTING.md?) would be helpful.
A README.md in the config/ directory giving a quick explanation for what type of information is expected in each config. How do their intended roles differ? Some of this is cooked into their names, but some more formal docs on it would be helpful too. This comment is what made me think such docs are important: https://github.com/AlexsLemonade/scpca-nf/pull/284#discussion_r1123085241
A README.md in the bin/ directory could indicate which workflow(s) use which script(s). Right now this would not be terribly interesting, but as we build up the integration and celltyping code, I imagine this will become increasingly useful.

Noting some aspects of this got added as part of #500


Feature/145/about content on mobile

✨ Issue: https://github.com/LaurierHawkHacks/Landing/issues/145
🔀 Branch: feature/145/about-content-on-mobile
✏ What was changed?

Update SVG for mobile
Change text color to match Hero section (hopefully its more readable)

Let me know what you guys think about the text color. It matches the Hero section now and I think its a little more readable. I don't know how I feel about the About Title and Content being different colors though.
See the last screenshot to see the possible alternative for text-color.
📜 Screenshots
Width: 390px

Width: 650px

Possible alternative?

Looks better with the gradient:

and I feel like the about section paragraphs' color can be darker to make the text more obvious.
I have run the color choices in the web accessibility color contrast checker, and it suggests that as well.

I also find that the spacing of the content is weird in desktop view.
I know it is not under your scope of your pr, we can make an issue for that after we have addressed this one first.

but besides that, I think it is better!

Got one question: Why do we have repeated images in the assets/hero-about?

I was gonna remove that :) just waiting to see if everyone was happy with the final design. I didn't want to get rid of it until we all came to an agreement on the styling. Sorry about that, I should've said said that 😅

and I feel like the about section paragraphs' color can be darker to make the text more obvious. I have run the color choices in the web accessibility color contrast checker, and it suggests that as well.

@teoh4770 do you have a color suggestion? What do you think of this (#1D4549)

I also find that the spacing of the content is weird in desktop view. I know it is not under your scope of your pr, we can make an issue for that after we have addressed this one first.

You are right, its totally weird LOL.. I just fixed it. Should look a lot better now for all breakpoints.

and I feel like the about section paragraphs' color can be darker to make the text more obvious. I have run the color choices in the web accessibility color contrast checker, and it suggests that as well.

@teoh4770 do you have a color suggestion? What do you think of this (#1D4549)

As long as it's clear to see, and the colour is aligned with the title like the one you have. Others can suggest the colour as well

Got one question: Why do we have repeated images in the assets/hero-about?

I was gonna remove that :) just waiting to see if everyone was happy with the final design. I didn't want to get rid of it until we all came to an agreement on the styling. Sorry about that, I should've said said that 😅
We can always revert back to the change if we want to get back the original pic👍
And no worries though

We'll talk about this tonight


Add section for Incidence Management Guidance

We are not moving the content wiki into the Developers docs,
as there are plans to standardize this information before
making it public.
We have decided to add a link to the docs, so developers,
which are usually incident leads, can find easily this
information.

@pmanrubia sorry just saw the URL - should it read incident-management-guidance?

Yes @tijmenb: I have created this: https://github.com/alphagov/govuk-developer-docs/pull/560


P300 does not recover from "nack, comm error"

if that error was triggered once, e.g. by an read attempt to a wrong address, it does not recover from it. All consecutive read requests quit with error 3 without even attempting to send something.

here are some of the changes I made. Sorry for the screenshot, somehow github wouldn't let me push to my own repo and create a pull from there.

It works now even if you try to poll invalid data points. What I didn't check is what happens if a real communications error occurs.

Before you're able to push, you have to fork. On your own fork you'll be able to push (after creating a bugfix branch?) and from there you can open a pull request to this repo.
I'll be happy to assist (although I'm absolutely no expert either!)

I'm currently testing with this branch. I removed the retries so VitoWifi just moves on to the next DP and returns the error code.

Sounds reasonable as this is no recoverable communications error.
Will try, just not this week...

No worries, I'm busy the following week with other priorities...

Ah, just found the remove-retry branch. Seems to work. nack message appears but reading resumes.

One thing to do: VitoWifi doesn't recover when the connection is lost/never has been made.

Optolink still didn't recover from all errors, but I think I got it covered in the latest commit. (033b09feecc8417e455f88b747ee1af565a009a6)

My setup is running for 20+ hours now with a poorly connected optolink (= lot's of errors) but is running smoothly.
Only possible issue is that the queue could grow when the optolink is not connected and refresh rate < ( timout * number of DPs  ). But I would solve that by setting a max size of the queue and rejecting requests when full.

My setup is running for 20+ hours now with a poorly connected optolink (= lot's of errors) but is running smoothly.
Only possible issue is that the queue could grow when the optolink is not connected and refresh rate < ( timout * number of DPs ). But I would solve that by setting a max size of the queue and rejecting requests when full.

I get checksum errors, fault code returns, lenght errors and timeouts (on connection, data and acks).

Sounds great.

Did you had any chance to test the new version (branch).

Not yet. There was too much sunshine over the weekend.

:smile: I totally understand. I was busy firing up the BBQ myself.

Looking forward to that raw point. Some thoughts on that:

it should use the number of transmitted bytes as advertised by the protocol
it should do all sorts of meaningful conversions (e.g. 4 data bytes - may be an int32 or uint32) and put them into a struct.
Log output: showing all converted numbers. Usually a human can spot whats meaningful and what not.

Let us continue that discussion in #10


Give Will permission to edit issue statuses across all relevant repos

@will-freshworks now has "maintain" access to this repo. Happy to do so for https://github.com/bcgov/learningcurator as well but will wait for planning meeting to discuss further.

@allanhaggett could I get access to update issue statuses etc. (I think "write" is sufficient) on all three projects please? I am doing some devops scrum-mastering and it would be very helpful to be able to update the board in our meetings.

@will-freshworks I've updated you to "write" here, and added you with "write" on https://github.com/bcgov/learningcurator as well, but I don't know which 3rd project you are referring to?

Thanks @allanhaggett . That seems to be working.
The 3rd project I'm working with Warren and Kunal on is https://github.com/bcgov/performance

@will-freshworks I don't have access to the performance project; you'll have to ask Warren about it :)

@warrenchristian1telus are you able to grant me "write" perms on https://github.com/bcgov/performance?

Sorry @will-freshworks but I only have admin on this repo. I can't help with performance or learningcurator.

So who is the admin on performance 👀?

Not sure @will-freshworks - I can only see contributors. Kousthubha, Kunal, Jared and Dennis are on there. Not sure if they're admins. I would think Kunal has admin to be able to run / approve actions and such.

@will-freshworks I was able to provide you write access to performance repository

All access is working. Thanks all


Port eslint formatters & custom formatter loader

We've been depending upon the eslint formatters for a long time now, this causes a few issues.

We become dependent on a eslint verison which in v1 blocked a lot of our users from using us as they had to use a more recent eslint
All eslint specific mentions in formatters couldn't be customised to point at our docs etc
We allowed all formats that eslint offered even if they made no sense to us

I've ported across most of the eslint formatters and tests (why reinvent the wheel?) with correct credits and license information. A few of the formatters I don't think made sense or were very specifically js focused so they've not moved.
This PR also gives a user the ability to specify a path to a custom formatter too so in theory any formatters we don't port a user can just point at their eslint install anyways.
Some of the tests look for a fatal flag too which we currently don't (but should!) support for things where a fatal error is thrown. This will need a bit more core work in sass-lint to achieve but definitely something we should look to achieve.
Tasks

[x]  Port formatters
[x] Port tests
[x] Port format loader
[x] Port license
[x] Add documentation
[x] Update cwd logic to specify a cwd in config

Fixes #1052
helps out with #735
fixes #521
fixes #1070
<DCO 1.1 Signed-off-by: Dan Purdy<EMAIL_ADDRESS>

Coverage increased (+0.2%) to 97.748% when pulling 2919a99984c7318201c47986610c32c4be83fa10 on feature_add-formatters into e3d0d9aeb994c591381a763764f44a04dd6a3da1 on develop.

Coverage increased (+0.2%) to 97.748% when pulling e55fb0c9d6c7ee18a36318d5c13e7c88d543ab71 on feature_add-formatters into e3d0d9aeb994c591381a763764f44a04dd6a3da1 on develop.

Coverage increased (+0.2%) to 97.748% when pulling 46467c4919055422ec77bda3c68152d70507d14c on feature_add-formatters into e3d0d9aeb994c591381a763764f44a04dd6a3da1 on develop.

Coverage increased (+0.2%) to 97.736% when pulling b88cd3702d8500cc0015c28feb16d2775ed94e06 on feature_add-formatters into e3d0d9aeb994c591381a763764f44a04dd6a3da1 on develop.

Hi Guys,
Are this merge conflict going to be merged any time soon?  Do we know the turnaround for this kind of tasks

@Zelig880 I'm hoping to get this done in the next week or so, time is scarce at the moment. This will form a v2 update as we're dropping support for a few things and change a few bits and pieces around. I would expect us to start working on v3 straight away once this is out as we want to make quite a few breaking changes but obviously holding them and releasing in one go is annoying for everyone.

Coverage increased (+0.2%) to 97.792% when pulling 540ea6601437a097795e3229ede460a944386bc2 on feature_add-formatters into cf935247a96ed887895ed26db4f3313d063525fa on develop.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Evaluate selectors

This may be an interesting feature, however we will need to parse the pages and maybe should consider using some additional HTTP client in addition to the one provided by 'request'.
Currently crawler is not quite a browser, neither it uses one to load the pages it crawls. But this can interesting to research further. For example, by default the crawler can use the present lightweight non-browser mode but when needed switch to full-fledged browsing. I imagine this can be useful in, for example, discovering JavaScript errors on the crawled pages during testing.

Thanks for the answer.

Thanks for a good idea, would be nice to try it out some time in the future.


C-u to cycle thru input history

Denite keeps the history of input and you retrieve previously inputted queries with C-u.
I'm wondering if you could implement the same feature in ddu too.
https://user-images.githubusercontent.com/1695538/158012092-2386da9c-f296-46e6-b286-e8969d0919b9.mov

Sorry, just realized that C-u works perfectly in ddu as it is.


how does it work?

Is there a YouTube tutorial ?
thanks.

No youtube tutorial.. just read readme page you will get every instructions here.. if you don't know python and you're on windows then download zip file from release section..there will be exe which you can use without installing python


Example deployment of the patterns in k8s

What is your issue?
Why is it issue?
How do you expect to be?

Currently working on developing some serving patterns for k8s, using FastAPI, ONNX, Tensorflow Serving and other libraries, mainly Python.
Planning to make public around the end of August.

Some samples in Python with Docker-compose and Kubernetes manifests.
https://github.com/shibuiwilliam/ml-system-in-action

done
https://github.com/shibuiwilliam/ml-system-in-actions


PLEASE VOTE: Symbolic Names For Parameters, Variables, Resources, Modules & Outputs

As documented in our Contributing wiki page (also shown in the table below) we follow the Hungarian notation naming pattern for our symbolic names in all our code and modules.
Current Naming Pattern - Hungarian Notation

Element Type
Naming Prefix
Example

Parameters
par
parLocation, parManagementGroupsNamePrefix

Variables
var
varConditionExpression, varIntermediateRootManagementGroupName

Resources
res
resIntermediateRootManagementGroup, resResourceGroupLogAnalytics

Modules
mod
modManagementGroups, modLogAnalytics

Outputs
out
outIntermediateRootManagementGroupID, outLogAnalyticsWorkspaceID

Reasons why we did this

Easier for those new to Infra-as-Code the understand where to find things and navigate the links/dependencies/references in the code base
Doesn't require any tooling or extensions to be installed to navigate code

Useful in things like Pull Request reviews where no IDE and tooling is generally used

Bicep language does not state we shouldn't use this pattern
Keeps it close to ARM where you would have the type defined in references like "[parameter('region')]"
Better than having no naming standard at all 😎

** WE WANT YOU TO HELP US DECIDE THE FUTURE AND VOTE (SEE BELOW) **
Whether you agree and like the use of Hungarian notation or not, we want you to vote on this form to let us know either way: https://forms.office.com/r/Ppu2z6kfvq
(make sure you log your vote even if you are a fan and do like the use of Hungarian notation. As if we only get responses from users who don't like it or poll will be unfairly biased 😊)
Also feel free to leave comments below if you want to 👍

I like this as can be easy to scan code to understand context as per this issue that I raised in Bicep (albeit with additonal .)
And like you say it's notsaid it shouldn't/can't be used in bicep code

Congrats with the first release 🍾, @jtracey93 and the team. I am planning to test it in my sandbox today ;)
I also voted in the poll. As this is a highly opinionated topic, I feel a lot of people will vote about the notation itself and not necessarily in the context of this project. But I guess this is expected ;)

Thanks to everyone who has voted, the results are in!

With this data we will keep using Hungarian notation here for the foreseeable future 👍


Non clear error messages

Hi there!
Are there any docs (besides those that are in Yandex.Cloud docs) covering the creation of datasets and possible error codes? I'm trying to create a dataset with an SQL query for a connected Postgres connection, but I'm stuck with this:
Relation requires at least one condition
ERR.DS_API.FORMULA
{
    "title": "ERR.DS_API.FORMULA",
    "description": "Relation requires at least one condition"
}

ERR.DS_API.VALIDATION.ERROR
[
    {
        "id": "340a4261-635d-11ee-85cb-db624a6af76d",
        "type": "avatar_relation",
        "errors": [
            {
                "level": "error",
                "code": "ERR.DS_API",
                "message": "Relation requires at least one condition",
                "details": {}
            }
        ]
    }
]

Unfortunately, nothing was found on the Internet, except this page, but it doesn't help :(
The query works independently and it has conditions.
Thanks!

Here is documentation for Open Source Project https://datalens.tech/docs/en/troubleshooting/errors/all.html . But for now its very similar to Cloud.
Regarding your error. What kind of SQL are you using? Could you please also provide screenshot of dataset UI?

Hey Pavel,
Thanks for the link! Disregard my error, please; the reason was that I added both aggregated and non-aggregated datasets and messed up the tables. Thanks to all the Arkadies for open-sourcing DataLens!


111 - Update Helper Functions To Use Default Exports

Issue Number
#111
The initial commit of this PR starts at 4621776.
Purpose/Implementation Notes

All helper functions will be updated to use the default export with arrow function expressions and adjust the codebase accordingly.

Updated helper functions to use the default export with arrow functions and modified helper import statements in the codebase to reflect these changes.
No UI review required for this PR,  thank you!
Types of changes
New feature (non-breaking change which adds functionality)
Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist

[x] Lint and unit tests pass locally with my changes

@davidsmejia as requested today's 1:1, I prepared the PRs for you to review tomorrow during the time you allocated time for PR review.
2 of 3
This is trivial and iterative but safe PR to merge into dev, since it's the export update for helpers. Also this is one of the common causes for merge conflicts in the new PRs, so it's good to take care of it. Let me know if you have any questions!

Looking good, please update to flatten the helpers. They should be named generically and if they are tied to the context they probably belong in the hook. You can rename the helpers/search helpers to describe what they are doing more generically.

Looking good, please update to flatten the helpers. They should be named generically and if they are tied to the context they probably belong in the hook. You can rename the helpers/search helpers to describe what they are doing more generically.

Those helpers for /dataset and /search will be removed, flattened, or moved to managers in the later PRs 👍

Closing this PR w/o merge since it's simply to format the helper files (this change is already included in dev), thank you.


[Bug]: Part of app window is showing on second monitor

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.8.0
Operating System
Windows 11 x64
Mattermost Server Version
No response
Steps to reproduce

Run application
Align to same size where second monitor is located
Do some restarts, reopening of window, make pc to sleep/hybernation and back.

Expected behavior
Application window to keep it position
Observed behavior
It shifts a little to right (in my case) and appears on second screen.

Log Output
[2024-05-21 00:00:33.147] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 01:00:32.565] [info]  [UpdateManager] Checking for update
[2024-05-21 01:00:33.146] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 02:00:32.572] [info]  [UpdateManager] Checking for update
[2024-05-21 02:00:33.115] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 02:13:37.054] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] TypeError: Failed to fetch
[2024-05-21 02:13:37.092] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch
[2024-05-21 02:13:37.097] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch
[2024-05-21 09:58:46.591] [info]  [UpdateManager] Checking for update
[2024-05-21 09:58:46.871] [error] [UpdateManager] Error: Error: net::ERR_NETWORK_IO_SUSPENDED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109791)
    at SimpleURLLoaderWrapper.emit (node:events:514:28)
[2024-05-21 09:58:46.873] [error] [UpdateManager] There was an error while trying to update Error: net::ERR_NETWORK_IO_SUSPENDED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109791)
    at SimpleURLLoaderWrapper.emit (node:events:514:28)
[2024-05-21 09:58:46.876] [error] [UpdateManager] Failed to check for updates: Error: net::ERR_NETWORK_IO_SUSPENDED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109791)
    at SimpleURLLoaderWrapper.emit (node:events:514:28)
[2024-05-21 09:58:47.794] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] TypeError: Failed to fetch
[2024-05-21 09:58:48.567] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch
[2024-05-21 09:58:49.664] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch
[2024-05-21 10:58:46.874] [info]  [UpdateManager] Checking for update
[2024-05-21 10:58:47.459] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 11:58:48.471] [info]  [UpdateManager] Checking for update
[2024-05-21 11:58:48.733] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 12:58:48.483] [info]  [UpdateManager] Checking for update
[2024-05-21 12:58:49.038] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 13:58:48.494] [info]  [UpdateManager] Checking for update
[2024-05-21 13:58:49.054] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 14:49:24.168] [error] Logger Log level set to: info
[2024-05-21 14:49:24.369] [warn]  [App.Initialize] Current working directory is C:\Windows\system32, changing into C:\Users\prof\AppData\Local\Programs\mattermost-desktop
[2024-05-21 14:49:24.470] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 14:49:24.555] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 14:49:24.800] [info]  [ServerDropdownView] init
[2024-05-21 14:49:24.859] [info]  [i18nManager] Set new language ru
[2024-05-21 14:49:24.890] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 14:49:24.934] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 14:49:25.483] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 14:49:29.677] [info]  [UpdateManager] Checking for update
[2024-05-21 14:49:29.940] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 15:37:11.289] [error] Logger Log level set to: info
[2024-05-21 15:37:11.534] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:11.577] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:11.756] [info]  [ServerDropdownView] init
[2024-05-21 15:37:11.796] [info]  [i18nManager] Set new language ru
[2024-05-21 15:37:11.821] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:11.863] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:12.276] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:16.723] [info]  [UpdateManager] Checking for update
[2024-05-21 15:37:17.321] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 15:37:38.229] [error] Logger Log level set to: info
[2024-05-21 15:37:38.404] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:38.457] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:38.618] [info]  [ServerDropdownView] init
[2024-05-21 15:37:38.661] [info]  [i18nManager] Set new language ru
[2024-05-21 15:37:38.685] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:38.731] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:39.120] [info]  [App.Config] config.autostart has been configured: true
[2024-05-21 15:37:43.583] [info]  [UpdateManager] Checking for update
[2024-05-21 15:37:44.128] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-21 15:44:52.268] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] TypeError: Failed to fetch
[2024-05-21 15:44:52.296] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch
[2024-05-21 15:44:52.509] [error] [WebContentsEventM...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: TypeError: Failed to fetch

Additional Information
It is not reproduces in 100% cases, but somehow randomly and almost every day. It is very annoying to fix it every time. Any other applications do not have this issue, they just works as is keeping their position.

[2024-05-22 16:41:17.086] [error] Logger Log level set to: info
[2024-05-22 16:41:17.225] [error] Logger Log level set to: debug
[2024-05-22 16:41:17.226] [debug] [App.Config] handleConfigUpdate
[2024-05-22 16:41:17.234] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:17.236] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.236] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.241] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.289] [debug] [App.Config] Config.handleUpdateTheme
[2024-05-22 16:41:17.290] [debug] [Config] set
[2024-05-22 16:41:17.290] [debug] [Config] setMultiple { darkMode: false }
[2024-05-22 16:41:17.291] [verbose] [Config] Saving config data to file...
[2024-05-22 16:41:17.345] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.347] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList'
}
[2024-05-22 16:41:17.353] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.354] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList'
}
[2024-05-22 16:41:17.360] [info]  [App.Config] config.autostart has been configured: true
[2024-05-22 16:41:17.372] [debug] [App.Config] handleConfigUpdate
[2024-05-22 16:41:17.373] [debug] [MainWindow] Can't send reload-config, will retry
[2024-05-22 16:41:17.379] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] ()=>!(Boolean(!1)||m.A.hasServers())',
  showNewServerModal: '[function] ()=>!m.A.hasServers()',
  mainWindow: false
}
[2024-05-22 16:41:17.381] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:17.381] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.382] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.384] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.395] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.396] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.410] [info]  [App.Config] config.autostart has been configured: true
[2024-05-22 16:41:17.438] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.439] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement'
}
[2024-05-22 16:41:17.446] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.447] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement'
}
[2024-05-22 16:41:17.464] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.470] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.509] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.510] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater'
}
[2024-05-22 16:41:17.514] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: true
} x: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1417500)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1419861)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12)
[2024-05-22 16:41:17.515] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater'
}
[2024-05-22 16:41:17.535] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.539] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: false
} x: QUERY command exited with code 1:

�訡��: �� 㤠���� ���� 㪠����� ࠧ��� ��� ��ࠬ��� � ॥���.
    at D (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1425158)
    at ChildProcess.<anonymous> (C:\Users\prof\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:2:1427300)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
[2024-05-22 16:41:17.540] [debug] [Config] loadRegistry { registryData: { servers: [] } }
[2024-05-22 16:41:17.542] [debug] [App.Config] handleConfigUpdate
[2024-05-22 16:41:17.542] [debug] [MainWindow] Can't send reload-config, will retry
[2024-05-22 16:41:17.546] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] ()=>!(Boolean(!1)||m.A.hasServers())',
  showNewServerModal: '[function] ()=>!m.A.hasServers()',
  mainWindow: false
}
[2024-05-22 16:41:17.547] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:17.547] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.548] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.549] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.561] [debug] [ServerManager] [affccaa6-cc7f-4bd...] initialized server
[2024-05-22 16:41:17.562] [debug] [ServerManager] [78a2fd25-e04b-4a1...] initialized view
[2024-05-22 16:41:17.562] [debug] [ServerManager] [3df0856e-0a95-4e8...] initialized view
[2024-05-22 16:41:17.563] [debug] [ServerManager] [a1e20114-49f0-424...] initialized view
[2024-05-22 16:41:17.607] [debug] [App.App] handleAppBrowserWindowCreated
[2024-05-22 16:41:17.629] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:17.633] [verbose] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] View created
[2024-05-22 16:41:17.634] [verbose] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] Loading https://example.com/
[2024-05-22 16:41:17.636] [debug] [WebContentsEventM...] did-start-navigation https://example.com/
[2024-05-22 16:41:17.636] [verbose] [ViewManager] showInitial
[2024-05-22 16:41:17.637] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.637] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getLastActiveTabForServer
[2024-05-22 16:41:17.638] [debug] [ViewManager] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] showById 78a2fd25-e04b-4a1b-bfbd-0c7ff2c27aa0
[2024-05-22 16:41:17.639] [debug] [ViewManager] handleReloadConfiguration
[2024-05-22 16:41:17.639] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:17.639] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:41:17.640] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.640] [debug] [Config] setServers [
  {
    name: 'producktv',
    url: 'https://example.com/',
    order: 0,
    lastActiveTab: 0,
    tabs: [
      { name: 'TAB_MESSAGING', order: 0, isOpen: true },
      { name: 'TAB_FOCALBOARD', order: 1, isOpen: false },
      { name: 'TAB_PLAYBOOKS', order: 2, isOpen: false }
    ]
  }
] 0
[2024-05-22 16:41:17.641] [verbose] [Config] Saving config data to file...
[2024-05-22 16:41:17.641] [info]  [ServerDropdownView] init
[2024-05-22 16:41:17.645] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.693] [debug] [i18nManager] setLocale ru
[2024-05-22 16:41:17.694] [info]  [i18nManager] Set new language ru
[2024-05-22 16:41:17.694] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:17.695] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.695] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.695] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:17.697] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.698] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] ()=>!(Boolean(!1)||m.A.hasServers())',
  showNewServerModal: '[function] ()=>!m.A.hasServers()',
  mainWindow: true
}
[2024-05-22 16:41:17.727] [info]  [App.Config] config.autostart has been configured: true
[2024-05-22 16:41:17.748] [debug] [App.Config] handleConfigUpdate
[2024-05-22 16:41:17.749] [debug] [MainWindow] Can't send reload-config, will retry
[2024-05-22 16:41:17.757] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] ()=>!(Boolean(!1)||m.A.hasServers())',
  showNewServerModal: '[function] ()=>!m.A.hasServers()',
  mainWindow: true
}
[2024-05-22 16:41:17.758] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:17.758] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.758] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.759] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:17.761] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.780] [info]  [App.Config] config.autostart has been configured: true
[2024-05-22 16:41:17.847] [debug] [App.Config] handleGetConfiguration
[2024-05-22 16:41:17.873] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:17.894] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:17.900] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:17.903] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getLastActiveTabForServer
[2024-05-22 16:41:17.916] [debug] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] handleDidNavigate https://example.com/
[2024-05-22 16:41:17.918] [debug] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] hide back button
[2024-05-22 16:41:17.930] [debug] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] handleTitleUpdate producktv
[2024-05-22 16:41:18.108] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] New API preload initialized (:2)
[2024-05-22 16:41:18.210] [verbose] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] finished loading https://example.com/
[2024-05-22 16:41:18.213] [debug] [ViewManager] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] activateView
[2024-05-22 16:41:18.214] [debug] [ViewManager] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] showById 78a2fd25-e04b-4a1b-bfbd-0c7ff2c27aa0
[2024-05-22 16:41:18.217] [debug] [ViewManager] handleReloadConfiguration
[2024-05-22 16:41:18.218] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:18.218] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:41:18.218] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:18.219] [debug] [Config] setServers [
  {
    name: 'producktv',
    url: 'https://example.com/',
    order: 0,
    lastActiveTab: 0,
    tabs: [
      { name: 'TAB_MESSAGING', order: 0, isOpen: true },
      { name: 'TAB_FOCALBOARD', order: 1, isOpen: false },
      { name: 'TAB_PLAYBOOKS', order: 2, isOpen: false }
    ]
  }
] 0
[2024-05-22 16:41:18.219] [verbose] [Config] Saving config data to file...
[2024-05-22 16:41:18.221] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:18.221] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:18.223] [debug] [App.Config] handleConfigUpdate
[2024-05-22 16:41:18.232] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] ()=>!(Boolean(!1)||m.A.hasServers())',
  showNewServerModal: '[function] ()=>!m.A.hasServers()',
  mainWindow: true
}
[2024-05-22 16:41:18.233] [debug] [App.Utils] handleUpdateMenuEvent
[2024-05-22 16:41:18.234] [debug] [DownloadsManager] hasDownloads
[2024-05-22 16:41:18.234] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:18.234] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:18.237] [debug] [ServerManager] getOrderedServers
[2024-05-22 16:41:18.250] [debug] [App.Config] handleGetConfiguration
[2024-05-22 16:41:18.255] [info]  [App.Config] config.autostart has been configured: true
[2024-05-22 16:41:18.387] [debug] [App.Config] handleGetConfiguration
[2024-05-22 16:41:18.558] [debug] [App.Config] handleGetConfiguration
[2024-05-22 16:41:18.667] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 1, isSystemEvent: false }
[2024-05-22 16:41:18.737] [debug] [ViewManager] handleBrowserHistoryPush 3 /channels/example
[2024-05-22 16:41:18.738] [debug] [ServerManager] [affccaa6-cc7f-4bd...] getOrderedTabsForServer
[2024-05-22 16:41:18.741] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loading plugin com.mattermost.plugin-channel-export, version 1.0.0 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.742] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loading plugin com.mattermost.nps, version 1.3.3 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.742] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loading plugin com.mattermost.calls, version 0.24.0 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.743] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] did-start-navigation https://example.com
[2024-05-22 16:41:18.749] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loaded plugin com.mattermost.plugin-channel-export, version 1.0.0 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.751] [debug] [App.Config] handleGetConfiguration
[2024-05-22 16:41:18.795] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loaded plugin com.mattermost.nps, version 1.3.3 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.867] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: registering desktopAPI.onOpenScreenShareModal (com.mattermost.calls_904eb58b92e5dc2b_bundle.js:2)
[2024-05-22 16:41:18.868] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: registering desktopAPI.onJoinCallRequest (com.mattermost.calls_904eb58b92e5dc2b_bundle.js:2)
[2024-05-22 16:41:18.868] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: registering desktopAPI.onCallsError (com.mattermost.calls_904eb58b92e5dc2b_bundle.js:2)
[2024-05-22 16:41:18.869] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Loaded plugin com.mattermost.calls, version 0.24.0 (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.871] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] com.mattermost.calls: loading translations file for locale 'en' (com.mattermost.calls_904eb58b92e5dc2b_bundle.js:2)
[2024-05-22 16:41:18.935] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] Initializing or re-initializing WebSocket (8055.b40de14ac849631d3dd1.js:1)
[2024-05-22 16:41:18.936] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] websocket connecting to wss://example.com/api/v4/websocket (2698.baf792c5ce348cb0b7a4.js:1)
[2024-05-22 16:41:19.075] [debug] [WebContentsEventM...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] [renderer] got connection id  8pmr8o7tx3ysdfi9sp4spg5cmc (2698.baf792c5ce348cb0b7a4.js:1)
[2024-05-22 16:41:22.228] [verbose] [MattermostBrowser...] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] timeout expired will show the browserview
[2024-05-22 16:41:22.229] [debug] [ViewManager] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] finishLoading
[2024-05-22 16:41:22.230] [debug] [ViewManager] [78a2fd25-e04b-4a1...] [producktv] [TAB_MESSAGING] showById 78a2fd25-e04b-4a1b-bfbd-0c7ff2c27aa0
[2024-05-22 16:41:22.586] [info]  [UpdateManager] Checking for update
[2024-05-22 16:41:22.705] [verbose] [Tray] onClick
[2024-05-22 16:41:22.729] [debug] [App.Intercom] handleShowOnboardingScreens {
  showWelcomeScreen: false,
  showNewServerModal: false,
  mainWindowIsVisible: false
}
[2024-05-22 16:41:22.730] [debug] [App.Intercom] handleShowOnboardingScreens {
  showWelcomeScreen: false,
  showNewServerModal: false,
  mainWindowIsVisible: false
}
[2024-05-22 16:41:22.730] [debug] [App.Intercom] handleShowOnboardingScreens {
  showWelcomeScreen: false,
  showNewServerModal: false,
  mainWindowIsVisible: false
}
[2024-05-22 16:41:22.735] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:41:22.736] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:41:22.737] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:41:22.822] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-22 16:41:25.593] [debug] [LoadingScreen] handleLoadingScreenAnimationFinished
[2024-05-22 16:41:30.182] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:41:30.183] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:42:19.058] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 3, isSystemEvent: false }
[2024-05-22 16:42:42.899] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:42:42.899] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:42:42.900] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:42:44.373] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:42:44.374] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:43:19.450] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 2, isSystemEvent: false }

[2024-05-22 16:41:22.735] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:41:22.736] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:41:22.737] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:41:22.822] [info]  [UpdateManager] Update for version 5.8.0 is not available (latest version: 5.8.0, downgrade is disallowed).
[2024-05-22 16:41:25.593] [debug] [LoadingScreen] handleLoadingScreenAnimationFinished
[2024-05-22 16:41:30.182] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:41:30.183] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:42:19.058] [debug] [App.Initialize] UserActivityMonitor.on(status) { userIsActive: true, idleTime: 3, isSystemEvent: false }
[2024-05-22 16:42:42.899] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:42:42.899] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}
[2024-05-22 16:42:42.900] [debug] [ViewManager] focusCurrentView
[2024-05-22 16:42:44.373] [debug] [ViewManager] handleSetCurrentViewBounds { x: 1572, y: 0, width: 1184, height: 816 }
[2024-05-22 16:42:44.374] [debug] [ModalManager] handleResizeModal {
  bounds: { x: 1572, y: 0, width: 1184, height: 816 },
  modalQueueLength: 0
}

So I do see a bunch of resizing happening, but all looks like it's staying the same size.
Whats your monitor resolution?

Can you turn off scaling and see if it reproduces? I think that could be affecting it.

Yes it is.
I have found how to reproduce it always. App must be opened with custom window size and placed near the right screen edge. Then you close app from menu in tray and start app again, it must run hidden in tray. And when you restore it window, by double clicking the tray icon, this behavior will appear.

I wasn't able to reproduce it in the same manner as you, but what I can see is with Windows scaling our code to use the position stored on the disk blows the window up larger than it should be.
I can make a fix to take scaling into account which hopefully should fix your issue.
Ticket here: https://mattermost.atlassian.net/browse/MM-58357


css styles for modal is not working

Hi, I've tried the "quick walk" example. The modal is opening but without any Bootstrap applied. Please find the screenshot below. I've no idea of what is the problem.

I've forgot to import bootstrap on my .html file. Its working fine now.


In case of setup_hook error, print output to the user

Today it's only:
2022-03-15 12:00:58,071 [ERROR]: Setup hook setup_ansible failed, cannot continue

it would be nice to see error message from the scirpt

fixed in #64


Error validating Schema: error sending validation request: 401 Unauthorized with Service Account with EnvironmentAdmin role

Hi,
Info
Terragrunt : 0.58.10
Terraform : 1.9.3
Confluent Provider : 1.81.0
Cluster type : Basic
Cloud Provider : AWS
Region : us-east-1
Environment Stream Governance Package : Essentials
Environment Stream Governance Cloud Provider : AWS
Environment Stream Governance Region : us-east-1
We are working towards creating all of our Confluent infrastructure with Terragrunt and Terraform, but I'm getting an 401 error when trying to create Avro Schemas
The terraform module creating the resources has the following code, I use a map as an input to create N amount of schemas but the credentials are the same for every schema in the environment
resource "confluent_schema" "this" {
  for_each = var.SCHEMA_DATA
  rest_endpoint = "${each.value["SCHEMA_REGISTRY_REST_ENDPOINT"]}"
  subject_name = "${each.value["NAME"]}"
  format = "${each.value["FORMAT"]}"
  schema = "${each.value["SCHEMA_DEFINITION"]}"
  hard_delete = "${each.value["HARD_DELETE"]}"
  recreate_on_update = "${each.value["RECREATE_ON_UPDATE"]}"
  schema_registry_cluster {
    id = "${each.value["SCHEMA_REGISTRY_ID"]}"
  }
  credentials {
    key    = "${var.SCHEMA_REGISTRY_API_KEY}"
    secret = "${var.SCHEMA_REGISTRY_API_SECRET}"
  }

  lifecycle {
    prevent_destroy = true
  }
}

Those credentials have EnvironmentalAdmin role in the Environment where this Cluster and Schema Registry is running and CloudClusterAdmin role in the Cluster that is running in that Environment
The terragrunt output is
╷
│ Error: error validating Schema: error sending validation request: 401 Unauthorized: Unauthorized
│
│   with confluent_schema.this["schema_name_1"],
│   on resource_schemas.tf line 1, in resource "confluent_schema" "this":
│    1: resource "confluent_schema" "this" {
│
╵
╷
│ Error: error validating Schema: error sending validation request: 401 Unauthorized: Unauthorized
│
│   with confluent_schema.this["schema_name_2"],
│   on resource_schemas.tf line 1, in resource "confluent_schema" "this":
│    1: resource "confluent_schema" "this" {
│
╵

As far as I understand the user with both roles should be able to create a Schema, I am missing something?
Thanks
Alex

Thanks for creating the issue @AlexisDaciuk!
Given that you can observe 401 error, could you verify that your SR API Keys are valid:
  credentials {
    key    = "${var.SCHEMA_REGISTRY_API_KEY}"
    secret = "${var.SCHEMA_REGISTRY_API_SECRET}"
  }

For example, you could try sending List supported schema types API request using your SR API Keys:
curl --request GET \
  --url https://psrc-00000.region.provider.confluent.cloud/schemas/types \
  --header 'Authorization: Basic REPLACE_BASIC_AUTH'

where REPLACE_BASIC_AUTH could be generated via
$ echo -n "{SR_API_KEY}:{SR_API_SECRET}" | base64

See more details in Authentication section.

Hi,
Thanks for the fast response
Now I see my mistake, I thought that the same API Key used for the Cluster was valid for the Schema Registry, but I see that those are two different API Keys
Now I created another API Key with the Schema Registry as the Resource ID and it worked
Thanks


remove dead projects

why should these "dead" projects be removed? the git repos still work just fine

Have you clicked them all?

Actually, this repository is more like a list of "everything done in IPFS" than actually "awesome" IPFS projects.
I think a lot of old and abandoned stuff should be removed (much more than I removed in this PR) if the repository is to serve the purposes it should be serving. This PR was a push on that direction. Of course it should be discussed and not merged as it is, but not dismissed. Something must be done, instead of just leaving the things as they are.
If you're going to classify as "awesome" a git repository that's just a half-finished idea of how to do something not very useful, then everything is awesome and we're again lost as if this repository was never started.

it seems that nobody is taking care of this repository! I think this is a great resource (should I say awesome?) for people! There are a lot of interesting PR that are stuck!
Can we/anybody help with this?

I think a lot of old and abandoned stuff should be removed (much more than I removed in this PR) if the repository is to serve the purposes it should be serving. This PR was a push on that direction. Of course it should be discussed and not merged as it is, but not dismissed. Something must be done, instead of just leaving the things as they are.

I agree that something should be done. However, many of theses projects do serve as good examples of what one can do with IPFS (that's effectively the point of this repo). Just because the developer lost interest doesn't make the project any less useful.
Maybe add a "defunct" category?

Looks like a good idea. Or somehow separate between "Interesting ideas" and "Actually working stuff".

It's worth discussing though! Please open a issue instead and we can hopefully reach a conclusion. Closing this in the meantime as we've changed the format of contributions made to awesome-ipfs and we're not sure if we should remove/label defunct projects.


Why the software history was not kept?

Hi there,
I'm a researcher studying software evolution. As part of my current research, I'm studying the implications of open-sourcing a proprietary software, for instance, if the project succeed in attracting newcomers. However, I observed that some projects, like codecombat, deleted the software history during the transition to open-source.
https://github.com/codecombat/codecombat/commit/6009df26de7c7938c0af2122ffba72c07123d172
Knowing that software history is indispensable for developers (e.g., developers need to refer to history several times a day), I would like to ask codecombat developers the following four brief questions:

Why did you decide to not keep the software history?
Do the core developers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
Do the newcomers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
How does the lack of history impacted on software evolution? Does it placed any burden in understanding and evolving the software?

Thanks in advance for your collaboration,
Gustavo Pinto, PhD
http://www.gustavopinto.org

We were trying to make the repository as small as possible so that it would be easier for contributors to check out initially, and there were some large files in the history. This way we also didn't have to worry about whether all the files in all the old versions were legal to open source.
The old history is still there in a private repo that we can check if we need to. I have never had to refer to it, though.
Not sure; I never heard about it, anyway. I think most of the new developers were less interested in workflows like "a bug has appeared, let me see what changed and what was the original reason for changing this piece of code" and more interested in things like "I need to add a new feature, where should I put it?", which relies much less on checking history.
If we didn't have the old repo, it wouldn't be possible to go back and view the earliest days of the project, so we wouldn't be able to satisfy our curiosity–but we just moved to a new repo, we didn't delete the history out of the old one.

Hope this helps!

Hi @nwinter,
thanks once again for answering our research inquiries. We were able to collect 35 responses and we drafted a research paper with the results. The paper was submitted and accepted for the 14th International Conference on Open Source Systems (http://oss2018.org/). You can find the paper here. Hope you enjoy reading the paper!
Thanks again,
Gustavo


Add ability to calculate person's age based on Patient's DOB and specimen collected date.

User Story:
As ReportStream, I need the ability to map the patient's age based the patient's DOB and specimen collected date in the UP.
Description/Use Case
The covid pipeline calculates a patient's age based on the patient's DOB and from when the specimen was collected. This is done to accurately find what the patient's age was when the specimen was collected.
Risks/Impacts/Considerations
Dev Notes:

A Custom FHIR path function can be created to use this in the UP sender transforms.

Acceptance Criteria

[ ] The UP can calculate a patient's age using specimen collected date and patient's DOB.

I believe this already exists as ConvertDateToAge unless this is meant for something else.


Update cordova-plugin-file dependency to 6.0.1

Platform affected

iOS
Android

What does this PR do?
Change cordova-plugin-file dependency to 6.0.1.
This PR solves https://github.com/photokandyStudios/PKVideoThumbnail/issues/17.
What testing has been done on this change?
Has been added to project and tested on :

iOS Simulator 11.3
Android Simulator 8.1

@kerrishotts could you review this pull request?
I think these changes did not cause the CI fail, and it works fine with both iOS Simulator 11.3 & Android Simulator 8.1.

@kerrishotts This would be awesome! Please take a look.

@henry61024 Any issues over the last few months? Have you implemented it in your app?

@benmcmaster Yes I have implemented in my app, and has no related issue since I update cordova-plugin-file dependency to 6.0.1

any update of this? thanks guys!

@henry61024 @benmcmaster Guys, what do you think to create other npm package for this? It seems that this repo is no longer maintained

@jdnichollsc You can use this forked repository instead
Change the config of cordova-plugin-photokandy-video-thumbnail inside config.xml to the following can do the trick:
<plugin name="cordova-plugin-photokandy-video-thumbnail" spec="https://github.com/GSS-CRD/PKVideoThumbnail.git" />

I have issues using Cordova >= 8.1.2 pointing to Github repositories, cordova can't find these plugins

Yeah, that repo only works with cordova < 8


fix https://t.me/c/2428959115/238

https://t.me/c/2428959115/238 fixed by overriding original theme /partials/javascripts/consent.html

Thank you for such a useful fix!


fix CourtStake update

If a juror stake, unstake and then stake again getOurCreateCourtStake doesn't update the new stake value because there was an old stake with 0
Changed it in order to always use createOrUpdateCourtStake to update the CourtStake

Thank you!


Some Suggestions

The routes that need to be verified Auth can be built as a group route;

All paths need to be the lower case: app/http/controllers/Auth;
Will panic when errors is nil;

You can create a helper method for this;

Need to return a response;

Shouldn't ignore error;

Thanks for suggestions i will keep these in mind.

All paths need to be the lower case: app/http/controllers/Auth;

I run go run . artisan make:controller Auth/*. It didn't convert Auth to lower case.

The routes that need to be verified Auth can be built as a group route;

2. All paths need to be the lower case: `app/http/controllers/Auth`;

3. Will panic when `errors` is nil;

4. You can create a helper method for this;

5. Need to return a response;

6. Shouldn't ignore error;


Proxy store getState not properly bound to store in applyMiddleware

When using middleware that exposes getState, an error is occurring when the method is called:
Uncaught (in promise) TypeError: Cannot read property 'state' of undefined
Here is some code that reproduces the issue:
const middleware = [thunkMiddleware];
const store = applyMiddleware(new Store({ portName: "test" }), ...middleware);
store.dispatch((dispatch, getState) => {
    getState();
});

The applyMiddleware function in this project is very similar to the one in https://github.com/reduxjs/redux, but the difference is that redux doesn't use classes or rely on this in their store to access the current state, so in that project the method does not need to be properly bound to the store.
A fix can be made by changing this line to:
getState: store.getState.bind(store)
I'm planning to work on a PR this weekend to fix this, and also perhaps to tackle #139 as well.

@marcokam Awesome - thanks for pushing for a fix on this.


Continue Span in stages of RedisFuture

Hi guys!
I use opentracing spring boot on my project with many futures and completationStages and I notice that some of my spans wasn't attach to my trace when I use lettuce async operations. I found that when I make some "thenApply", "thenCompose" on RedisFuture, the tracer lost the current scope and span.

Pull Request Test Coverage Report for Build 64

14 of 362 (3.87%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 4.295%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

opentracing-redis-lettuce/src/main/java/io/opentracing/contrib/redis/lettuce/CompletableRedisFuture.java
3
5
60.0%

opentracing-redis-lettuce/src/main/java/io/opentracing/contrib/redis/lettuce/TracingRedisAsyncCommands.java
11
357
3.08%

Totals

Change from base Build 62:
0.1%

Covered Lines:
469

Relevant Lines:
10919

💛  - Coveralls

thanks @Natheee


MySQL engine can't identify keywords from mysql5.8

clickhouse version: 1.1.54390
mysql version: 8.0.4-rc-log

conf

hostname: <IP_ADDRESS>
port: 3306
username: test
password: test

create a mysql test table and insert some test data.

create table test.test (id int,rank int(11),name varchar(100));
insert into test.test (id,rank,name) values (1,1,'test1'),(2,2,'test2'),(3,3,'test3');

create MySQL engine table in the CH

create database test;
create table test.test (
 id Int32,
 rank Int32,
 name String
) ENGINE = MySQL('<IP_ADDRESS>:3306', 'test', 'test', 'test', 'test', 1) ;

when I query like this:
select * from test.test;
select rank from test.test

The error is:
Received exception from server (version 1.1.54390):
Code: 1000. DB::Exception: Received from <IP_ADDRESS>:9000. DB::Exception: mysqlxx::BadQuery: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank) VALUES...

Confirmed. We should quote all identifiers in a query for external database.

good job


"Delete" button notification issue

Hi,
I'm using your email app and it's great, but now I'm having an issue with it, I just change my cell phone importing settings from old one (moto g 3) to this new (galaxy note 5), the issue is that in notifications some times show the "delete" button and some times not, when appear is with some email account and with others no.
I'm sending a couple of screen shots so you can see issue, I don't know, probably I'm doing something wrong.
Thanks.
Greetings

This appears to be a duplicate of https://github.com/k9mail/k-9/issues/943

Hi, yes it's the same issue.
Thanks.


Failed to generate images

I found a strange error when develop a generator to generate images. When some layers in a folder and the folder is invisible, generate will failed. But when I let the folder visible or invisible again generator will work, I am not sure why. I even checked Image Assets in photoshop, it also can not work.

My system is window 10, but this psd file is created on a mac and I copied it to my pc.
You an download the psd file from this url: http://test.rto.im/art.zip
index3.psd can not generate images, but index4.psd can.

Can you share the code that you are running?

I am afraid I can not share my code, but this bug also in photoshop Image Assets.

possibly Related to #358


Sign up button enabled

Description
Just enabled sign up button which solves the issue of registering user.
Describe the changes made and why they were made instead of how they were made.
Related issues and discussion
#{Issue Number}
Screen-shots, if any
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

Hey @Rutvikmodi,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

Hey @Rutvikmodi,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

Hey @Rutvikmodi,
Your changes look good to me!


CRITICAL - data feed changed - US to United States (vudpatch module)

Either BNO or our pals at CSSE just fux'd the feed again.

Fixed.


Added Dimik's Problem Set

What does this PR do?
Add resources
For resources
Description
Why is this valuable (or not)?
A newbie in problem solving will find this website very helpful because this online Judge have many great problems which will help him/her to increase his/her problem solving skill.
How do we know it's really free?
Yes, It's free. This is a free initiative taken by Tamim Shahriar Subeen.
For book lists, is it a book? For course lists, is it a course? etc.
It's a website (Problem Set)
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


How to escape from alt-s?

I recently installed ctop (btw great tool!) and find out that I accidentally press alt-s on log view and then couldn't exit from it. Esc and q keys didn't worked. How can I exit from container log view screen after entering and pressing alt-s?
OS: ubuntu 17.10
bash: 4.4.12(1)-release (x86_64-pc-linux-gnu)

Thanks for the feedback -- alt key input was previously disabled, so alt+s was mistakenly being read as a non-terminated escape code.
fixed in https://github.com/bcicen/ctop/commit/842809bef5eb8be8ea248df7d0ae8d41dda97009


Broken Date of Birth form rendering on FF

Seems to be FF only

It's everything except blink iirc, this is the webshim stuff we talked about before. Now that I'm using Zurb's Abide for form validation I don't know if I really need it anymore, I might just do a one-off polyfill for the date field.

Dropping webshim for polyfills (this was the only thing left I was using, and it is buggy). I'll toss something up later, but for now it degrades gracefully (no widget in non-chrome).

not really critical, will be addressed in the front-end todo issue


while running recogniseGesture.py error is raising

Traceback (most recent call last):
File "G:\isl\recogniseGesture.py", line 66, in
clustering_model = pickle.load(open('mini_kmeans_model.sav', 'rb'))
File "C:\Python27\lib\pickle.py", line 1384, in load
return Unpickler(file).load()
File "C:\Python27\lib\pickle.py", line 864, in load
dispatchkey
File "C:\Python27\lib\pickle.py", line 892, in load_proto
raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3

Did you get the solution for this error?


feat: update transactions based on subscriptions events and remove polling

Fixes #581
What

Replaced tx polling by socket events: instead of regularly polling txs, we now listen to socket events emitted by the backend when tx status changes.
Added room-based subscription for transactions. Other events are still scoped to socket client ID to avoid spamming on hosted envs.
Also excluded frontend test directory from coverage analysis.

Why

to improve code quality and performance
to improve dev exp by avoiding spamming the logs on regular intervals

Testing done

tested the new feature
frontend e2e

Checks

[x] I have tested this code
[x] I have reviewed my own PR
[x] I have created an issue for this PR
[x] I have set a descriptive PR title compliant with conventional commits

User facing release notes

Improved the way transaction-related events are handled

Good job, do you think it would be possible to update the status in the transaction list panel at the bottom left while the events are received?

@cristiam86 I believe that's what's happening already, just it happens so fast you can only see the switch to finalized state.


fix(tree2): Allow summarization with a pending transaction

Description
Fixes a bug where summarizing with a pending transaction would trigger an assert in edit manager.
A summarizing client can only have pending edits at the time of summarization when they're created while detached. Normally, this is tolerated using detachedRevision in SharedTreeCore, which causes the tree to behave as though all edits made are immediately acked by the server.
However, this breaks down if the attach summary is generated mid-transaction. In this case, the transaction should be kept open but remote clients should load from the state immediately before the transaction began.
AB#5745

current plan is to disallow asynchronous transactions on the main branch which makes this PR unnecessary. See #18751 which supersedes this.


difference between XGBOD and XGBClassifier

Hi @yzhao062 ,
I have seen the code of XGBOD, it is using XGBClassifier internally(wrapper written using it) and the same default parameters.
So what would be the difference if I use XGBOD over XGBClassifier?
I have seen when I use XGBOD the model size is more compare to XGBClassifier, what is happening internally in XGBOD
your inputs are appreciated.
Thanks,
Abhijeet

Hi @yzhao062 ,
I have seen the code of XGBOD, it is using XGBClassifier internally(wrapper written using it) and the same default parameters.
So what would be the difference if I use XGBOD over XGBClassifier?
I have seen when I use XGBOD the model size is more compare to XGBClassifier, what is happening internally in XGBOD
your inputs are appreciated.
Thanks,
Abhijeet

The paper is here: https://arxiv.org/abs/1912.00290
To be short, XGBOD is an extended version of xgboost but using unsupervised models to enrich the feature space to achieve a better result. In the paper itself, xgboost's performance is also compared.

Thanks @yzhao062  for your input.
If I see the object of XGBClassifier and XGBOD it shows the following parameters tuned. So bu tuning the hyperparameters it is considered as an unsupervised model. Correct me if I am wrong?

XGBClassifier
HyperParameters
XGBOD

None
base_score
0.5

None
booster
gbtree

None
colsample_bylevel
1

None
colsample_bynode
None

None
colsample_bytree
None

None
gamma
0

None
gpu_id
None

'gain'
importance_type
None

None
interaction_constraints
None

None
learning_rate
0.1

None
max_delta_step
0

None
max_depth
3

None
min_child_weight
1

nan
missing
None

None
monotone_constraints
None

100
n_estimators
100

None
n_jobs
1

None
num_parallel_tree
None

'binary:logistic'
objective
'binary:logistic'

None
random_state
0

None
reg_alpha
0

None
reg_lambda
1

None
scale_pos_weight
1

None
subsample
1

None
tree_method
None

None
validate_parameters
None

None)
verbosity
None

Internally anything else is changed or if I just use XGBClassfier with tuned parameters it should work same as XGBOD
Thanks,
Abhijeet

@yzhao062,
Actually the problem is when I use XGBOD it's giving the accuracy very well. but If I try to train using spark multiprocessing it is getting failed.  Giving memory heap error.
On the other hand XGBClassifier is working with spark multiprocessing but accuracy sometimes is not that good.
what do you suggest to overcome the issue?
Thanks,
Abhijeet


/playanimation cannot find animation

It says the animation cannot be found but I have it in the RP

hmm, the fact that that code lens is there means it should work, does it presistent on reload, or on resave of both files?

Yeah I've saved both files and tried it again but it still shows the same error

Wait shouldnt it be the name of the animation in you client file and not the animation file 🤔

That is what that is

The file itself is called menefeeceratops.animation.jons

Thats behavior I didnt know worked 🤔

/playanimation can play any anim regardless of if it is listed in the client entity file or not

Will be alot more changes, but ill fix it


chore(Dependencies) : update elastic-apm-agent from 1.36.0 to 1.37.0

About this PR
📦 Updates co.elastic.apm:elastic-apm-agent from 1.36.0 to 1.37.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.elastic.apm", artifactId = "elastic-apm-agent" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "co.elastic.apm", artifactId = "elastic-apm-agent" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #601.


Relationship returns as null in GraphQL when linked relationship is using a custom ID

Link to reproduction
https://github.com/miguderp/repro-bug-relationship-graphql
To Reproduce

Clone the repo and launch Payload CMS
Create a document of each "Collection With/Without Custom Ids"
Create a document "Example" and link both previous documents in the relationship fields
Go to the GraphQL API playground and query the document to see the bug

Describe the Bug
Hi everyone :wave:
I noticed that whenever I use a custom ID ({type: number, name: 'id'}) and use that collection in a relationship field elsewhere, the value comes back as null; see repository attached for a minimal repro example
Payload Version
1.8.2

You should see the following happening


Move files to dtoa subdirectory

... since that directory is required by the #includes. Having the
subdirectory in the project allows to have correct file structure
right after untaring, and put the directory where untaring happens
into the project's include directories.

@mikekaganski , I move the files to directory dtoa.
Also, I created a version number, 1.0, for this.
Any major changes to the code will bump out the version numbers.

I suppose more changes are needed before v1:

Change all files that are to be included into other files to be .h;
Create "include" directory with interface headers - i.e., the minimal set of definitions to use the library by clients;
Cleanup dependencies, to avoid having dtoa files in mapm, and only use interface headers from mapm;
maybe more...

Looks like you forgot dtoa/strtod-fast.c when manually moved file (why? it could be easier to just accept and merge the PR?)

Looks like you forgot dtoa/strtod-fast.c when manually moved file
(why? it could be easier to just accept and merge the PR?)

Everything is here in dtoa, total 18 files, same as my laptop.
Since I have not update the files for a while, I upload them directly from my laptop.
(just to sync with what I actually had)

Ah yes, excuse me, was playing with my makefile and forgot to revert its changes for the new fileset.

@mikekaganski , I have no clue how to resolve conflict for a zipped file.
Is it OK if you cancel and re-fork the project ?

Of course! No problem.


Fix xcspec evals for Xcode 14.2

This fixes the root cause underlying #653.
In Xcode 14, Apple changed their xcspecs to use implicit booleans as opposed to explicitly checking against YES/NO string values. For example, in the Clang LLVM 1.0.xcspec:
     {
        Name = "CLANG_ENABLE_MODULE_IMPLEMENTATION_OF";
        Type = Boolean;
        DefaultValue = YES;
        CommandLineArgs = {
          NO = ();
          YES = ("-fmodule-name=$(PRODUCT_MODULE_NAME)");
        };
        Condition = "$(CLANG_ENABLE_MODULES) == YES && $(DEFINES_MODULE) == YES";
      },

Became:
            {
                Name = "CLANG_ENABLE_MODULE_IMPLEMENTATION_OF";
                Type = Boolean;
                DefaultValue = YES;
                CommandLineArgs = {
                    NO = ();
                    YES = ("-fmodule-name=$(PRODUCT_MODULE_NAME)");
                };
                Condition = "$(CLANG_ENABLE_MODULES) && $(DEFINES_MODULE)";
            },

The changes in this PR should generate effectively equivalent logic to what was there previously. I haven't looked into the root cause of the Bazel crash called out in #653, but instead am restoring the prior behavior in our xcspec bazel codegen output.
For some unclear reason, the behavior of running the script on my local machine leads to some differences in whitespace and quotes being used, so @luispadron ran and pushed that for me.

Thanks for fixing root cause and write-up!

Closes https://github.com/bazel-ios/rules_ios/issues/654


feat(requests): pull timeout workaround

workaround for deis/deis#2916
ping @carmstrong

@aledbf It also looks like we'l need to fix up some tests: https://travis-ci.org/deis/docker-registry/jobs/50240552

@aledbf I'm gonna help take over this PR. There's a lot of cleanup and we need to explore how we can get the urllib session properly mocked in the unit tests.

@bacongobbler thanks. There's only one error in the tests but I don't know how to trace it

closing in favour of #10.


Removed manifest editing section for ADAL SSO Auth

I noticed now in the Azure portal, the manifest is created automatically with the requirements as listed in this step when you create a web app/api. Thus no download-edit-upload is required to allow access from the client app.

Hi @damienpontifex, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, AZPRBOT;

Hi damienpontifex,
Great catch! Azure continues to update at a rapid pace, so thank you for helping to make our documentation current and up-to-date by submitting PRs like this.
Thanks,
Dave

@davidwrede I would assume this is also a valid change for the other client platforms as the backend component is identical. Would you like me to do a separate PR for these or all of this be handled as the update is now recognised?


Upload and Testing Functionality

This pull request contains all additions to make uploads and downloads from directories and files to directories and files possible. This also contains unit and integration tests.

Great work! Thank you.