text:
Variables seem not to be set using docker-compose

It seems that setting the environment variables are not set when they are specified in the docker-compose.yml.
I'm running docker on a synology nas and with all other containers like openhab etc. setting the variables works.

There is a known problem with the docker update to 18.9.03 on synology regarding docker-compose. Read the synology forums for this.

Ah ok.
But I think this issue was even with docker 17.x
I updates to docker 18 a few weeks ago and before I had the same problem.

No, the 17.x version was fine regarding environment variables. As I know some users switch back to 17.x to resove the problems.

https://github.com/oznu/docker-homebridge/issues/227#issuecomment-531165177
I will try the new version.

I can confirm that the new Version (Build 506 instead of 505) works now

https://usdl.synology.com/download/Package/spk/Docker/18.09.0-0506/

authors: Xento volschin

repo: marthoc/docker-deconz


text:
[BUG] Installed applications that begin with a lower-case letter are not displayed in the general installed view

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
I have just moved over to using WinGetUI as my main package management tool for my personal computers. As part of this, I've been changing software sources from Chocolatey to WinGet where applicable. I note that some applications which I know are installed from WinGet generally do not appear in the installed packages list; unless they match a search, or if I click "Select All", then "Export selected packages to a file", they show up then; but if there is no text in the search, only programs beginning with a capital letter show up.
Examples of programs that exhibit this behaviour:

iTunes
foobar2000
iCloud
gsudo
dnGrep
blender
paint.net

Steps to reproduce the issue
Install any/all of the listed programs, ensure the search bar is clear, and refresh the Installed Packages page.
WingetUI Log
https://gist.github.com/DragRedSim/18f14c8880ebac4cea33a241a9bc88b5#file-wingetui-log-txt

Package Managers Logs
https://gist.github.com/DragRedSim/18f14c8880ebac4cea33a241a9bc88b5#file-packagemanager-log-txt

Relevant information
No response
Screenshots and videos
With export packages view visible: (note the top installed program is AutoHotkey, and the lowest one visible is DB Browser for SQLite; there are four lower-cased packages here, three beginning with b, one with c)

Without export packages: (top program is still AutoHotkey, bottom program is now DirectX, DB Browser has moved vertically upwards)

I will investigate your issue

Gets even weirder.  Looks to me like a bug in the table display control rather than winget.
I have the following package installed on v2.2.0 and latest Win10.
Package Name:  iCloud
Package ID: 9PKTQ5699M62
Upon entering the Installed Packages tab, the "iCloud" package is not shown in the list.  I found two ways to make it show up (every time) and one way to make it disappear again (every time).
Make it show up:
(1)  Change column sort to anything other than Name(A-Z), i.e. Name(Z-A), ID(A-Z), ID (Z-A), etc.
(2)  While sorted by Name(A-Z), which is also the default sort), scroll all the way down until you hit the very bottom of the list (partial scroll is not sufficient, must hit bottom).  Once you hit the bottom and scroll back up, the iCloud package is back on the list.
Make it disappear:
(1) Change sort back to the default Name (A-Z)

Then the default sorting is mistakenly separating UpperCase characters from LowerCase characters

source: gharchive/issue

authors: DragRedSim gilromano marticliment

repo: marticliment/WingetUI

license: MIT

license_type: permissive

license_source: github-api


text:
Keyboard not properly handling joypad Inputs

The utility of this really neat AddOn is right now greatly reduced due to it not having proper JoyPad support. A lot of Use cases for On Screen keyboards is for games that are supposed to be playable on a controller without using a keyboard or a mouse. this right now is not possible with this AddOn.

As I kind of need that myself, I will see if I can make a PR on this issue.

You are right! I did not implement this, as we need this plugin for touchscreen applications only. But would be nice to extend its purpose. Sadly i do not have the time for this now.

Working on it :)

authors: betalars martinfuchs

repo: martinfuchs/Godot-Onscreen-Keyboard


text:
Mismatch of version numbers -

Version reports a different version than the 'latest' - constantly prompts for an upgrade.

Sorry for the issue. Problem solved!

authors: martintmg mscottsewell

repo: martintmg/CRMSimpleRecordCloner

license: mit

license_source: bigquery


text:
Death mode rooms

There are regular rooms and then there are death mode rooms. When death mode is activated, the user gets only 1 wrong submission or tle. The second submission must be accepted! If second submission also fails, they are “eliminated”, i.e their score till then is finalised and subsequent accepted submissions are not counted towards the score.

Interesting concept, but closing this because it isn't quite within the scope of the project.

authors: marwanhawari smarttcoder

repo: marwanhawari/LeetRooms


text:
Changed subject and added some ASCII art

Change some content to your story. You are free to ask me to do any change you like before approving!

Change some content to your story. You are free to ask me to do any change you like before approving!

Looks good, i will approve and merge

I'll close this part of the homework, but if there is something else
you're curious to try and I am available I'll be happy to test.

source: gharchive/pull-request

authors: floridop marwantaib


text:
Don't insert emty table to empty table arrays

Doesn't create empty table in empty arrays of tables

[x] I've read [CONTRIBUTING.md]
[x] I've rebased my changes against the current HEAD of origin/master (if necessary)
[x] I've added new test cases to verify my change
[x] I've regenerated toml.hpp ([how-to])
[x] I've updated any affected documentation
[x] I've rebuilt and run the tests with at least one of:

[ ] Clang 6 or higher
[x] GCC 7 or higher
[ ] MSVC 19.20 (Visual Studio 2019) or higher

[ ] I've added my name to the list of contributors in README.md

I think this is not a very elegant solution, but you can see what needs to be done to solve the problem.

I think this is not a very elegant solution, but you can see what needs to be done to solve the problem.

I'm sorry but what you've identified as a problem is actually by design. Since a TOML [[array-of-tables]] is just syntactic sugar for an array containing tables, when one is encountered in the TOML the parser must create both the outer array and the inner table nodes to ensure the document is structurally correct (thus is structurally round-trippable).
That is, given the following TOML:
a = { "key" = 1 } # inline table
b = []            # array value
[[c]]             # array-of-tables with a single, empty table element

And the following C++ to read it in and re-serialize it:
const auto tbl = toml::parse(toml_text);
std::cout << tbl << "\n";

You should see the following output:
a = { key = 1 }
b = []

[[c]]

But with your changes, we see this instead:
a = { key = 1 }
b = []
c = []

Note that the last line of the output TOML is now incorrect, emitting c = [] instead of [[c]].

I'm sorry but what you've identified as a problem is actually by design. Since a TOML [[array-of-tables]] is just syntactic sugar for an array containing tables, when one is encountered in the TOML the parser must create both the outer array and the inner table nodes to ensure the document is structurally correct (thus is structurally round-trippable).
That is, given the following TOML:
a = { "key" = 1 } # inline table
b = []            # array value
[[c]]             # array-of-tables with a single, empty table element

And the following C++ to read it in and re-serialize it:
const auto tbl = toml::parse(toml_text);
std::cout << tbl << "\n";

You should see the following output:
a = { key = 1 }
b = []

[[c]]

But with your changes, we see this instead:
a = { key = 1 }
b = []
c = []

Note that the last line of the output TOML is now incorrect, emitting c = [] instead of [[c]].

I do agree that it's a bit wasteful on the C++ side of things, since it adds unnecessary nodes to the TOML tree in cases were people have added empty [tables] and [[arrays-of-tables]] to the document. I'm happy to consider other solutions to this. How about something like a prune() method to remove all the empty leaves from the tree?

I do agree that it's a bit wasteful on the C++ side of things, since it adds unnecessary nodes to the TOML tree in cases were people have added empty [tables] and [[arrays-of-tables]] to the document. I'm happy to consider other solutions to this. How about something like a prune() method to remove all the empty leaves from the tree?

authors: marshevms marzer

repo: marzer/tomlplusplus


text:
In alarm details, different alarm information is displayed after different alarm nodes are switched

告警详情，点击图表中告警的不同节点，下方应切换至该节点对应的告警详情

需要MECharts组件将init完的chart对象 开放给我使用   以便我监听点击事件

@capdiem PTAL


text:
🛑 POH events bot from render hosting is down

In 913ee1d, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in bab1842.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In 912e057, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in afe1e38.


text:
Create playground plug-in

Context
Create a playground plugin which will be started by Thyra.  The plugin is an Http api written in go.
Needs
Simulator must be included in this version of the playground. IE: the back-end must be able to execute the simulator with provided config by the playground front-end.

/!\ Read this before merge<<<<<<<<<
When the playground PR will be merged, i have to update the submodule commit in the PR with the new commit on main branch from playground

authors: SlnPons peterjah

repo: massalabs/thyra-playground-plugin


text:
wails: add default layout

We are adding a default layout for wails front-end screens.

Codecov Report
Patch and project coverage have no change.

Comparison is base (b4616cc) 37.51% compared to head (3514bcd) 37.51%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #227   +/-   ##
=======================================
  Coverage   37.51%   37.51%
=======================================
  Files          12       12
  Lines         829      829
=======================================
  Hits          311      311
  Misses        481      481
  Partials       37       37

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

authors: codecov-commenter maxime-carabina

repo: massalabs/thyra-plugin-wallet


text:
A screen trouble!

Hello! again…
If the screen is made smaller or bigger (changing the screen size), the changed volume will return to the default state. It is quite annoying. Watch the screen record!
https://github.com/massivemadness/Squircle-CE/assets/125900049/b0fc23e0-a08f-4b66-8d0e-4794d439f248
thank you!

Hello! again… If the screen is made smaller or bigger (changing the screen size), the changed volume will return to the default state. It is quite annoying. Watch the screen record!

https://github.com/massivemadness/Squircle-CE/assets/125900049/b0fc23e0-a08f-4b66-8d0e-4794d439f248

thank you!

repo: massivemadness/Squircle-CE


text:
🛑 RESTREAM-IR-10-ParsOnline-4 is down

In 8904e8d, RESTREAM-IR-10-ParsOnline-4 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-10-ParsOnline-4 is back up in 16499ed.


text:
🛑 Iran 11 - ParsOnline 4 is down

In d289e57, Iran 11 - ParsOnline 4 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 11 - ParsOnline 4 is back up in af7033d.


text:
🛑 Personal Site (www) is down

In f831b58, Personal Site (www) (https://www.aruiz.io/blog) was down:

HTTP code: 404
Response time: 425 ms

Resolved: Personal Site (www) is back up in 879d2db.

repo: masterkoppa/UptimeMonitor


text:
Foldername: components

Mooi dat je je CSS files organiseert door ze bijv in een map te stoppen, wel twijfel ik of ik 'components' een logische plek vind voor sommige bestanden, maar dat is meer een file architecture ding. Components zijn vaak de stukjes die je kunt hergebruiken op je website, dus buttons of tables of icons etc. Andere elementen zijn vaak een module, of misschien een layout. Als je dit interessant vind zou je hier nog eens naar kunnen kijken :)

Daar heb je gelijk in. Bedankt voor de tip!


text:
🛑 Homepage is down

In 7250faa, Homepage (https://home.mats-bueser.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 66c29e0 after 18 minutes.

repo: matematrix/status


text:
Is there a way to specify the IP or network interface?

sf seems to bind to the first device it finds. In my case these are not accessible from outside the computer, so my mobile cannot connect.
Can I specify which IP address or what network device (lo, wlo1, enx806d973060ab, etc...) sf will use?

Hi @bronsen, thanks for your question.
Right now, sf will automatically bind to localhost of the machine it's running on. It is not possible to provide a custom IP address or a network device but I am going to include this feature in the next release.

authors: bronsen mateoradman


text:
Created issue forms

I replaced templates for creating issues with forms
They are more convenient and understandable
Documentation: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

b1bfa56 idk why this name is "not unique"

Where are you getting that message?

b1bfa56 idk why this name is "not unique"

Where are you getting that message?

An error like this:

I don't understand at all why it gives an error, the names of the forms are unique, there are NO conflicts...

I don't understand at all why it gives an error, the names of the forms are unique, there are NO conflicts...

I would bet on github not taking into account you are also removing the old templates.

authors: lucas-labs okineadev


text:
Row Font set to inherit overrides theme font

Continuing the discussion from here:
https://github.com/mbrn/material-table/issues/2080#issuecomment-778761244
Workaround (as of 2021-03-16):
robin-sf: "My current workaround (to avoid hardcoding) is to import the theme file and use it as so:"
options={{rowStyle: { fontFamily: typography.fontFamily, ...typography.body2 }}},

Yes, you can use themes. See here. Same concept, since we are a fork of that repo.

I don't believe this answers the question.  If you use ThemeProvider at the root of your component tree, Material-Table should respect this.

That's a good point. Reopened.
Any ideas on how to respect the theme while supporting these legacy props? Just merge them into the theme?

Just to make note; it looks like we are using 2 themes. One at the root, one that wraps the MTableScrollbar component.

When I am setting this option rowStyle: {fontFamily: "Roboto", fontSize: "0.875rem"} it works, but not in row editmode.

Are there any updates on this issue? I'm using v4.3.44 and it would be preferable to not declare a rowStyle on every table.

authors: christophervizcarra devzeebo moranbw oze4 shaselboeck

repo: material-table-core/core


text:
[Bug]: Clicking on a dropdown trigger twice+ times consecutively causes unexpected results

Before submitting...

[X] I have searched for duplicate or closed issues.
[X] I have read the CONTRIBUTING document and my issue is following the guidelines.
[X] I have read the template completely before filling it in.

Context
Noticed this when developing a navbar with a dropdown in it; clicking on the icon to open the dropdown twice would prevent the dropdown from being available to the user unless they click elsewhere
Current Behavior
If one clicks on a dropdown trigger to open the dropdown, then one or more times, on the subsequent clicks it causes the dropdown to close, open again, then immediately close.
Expected behavior
If the dropdown is currently open, clicking on the trigger should close it.  If it's closed, it should open
Possible Solutions or Causes
No response
Steps to reproduce
This behaviour can be seen in the demo in the docs
https://materializeweb.com/dropdown.html#options
Click on the Left DropDown! button two or more times in a row without clicking elsewhere on the page
Your Environment

Version used: 2.0.3
Browser Name and version: Chrome 122.0.6261.57
Operating System and version (desktop or mobile): Desktop
Additional information you want to tell us:

This behaviour is also seen in the select component:
https://materializeweb.com/select.html
If one clicks on any of the selects more than once, on subsequent clicks the dropdown menu will appear and disappear preventing the user from being able to choose an option

I'd be happy to investigate this and attempt to provide a PR; but would need to know, if a user clicks on a select/dropdown 2+ times, what would we expect to happen?
The two contenders that come to mind are:

The dropdown closes on the 2nd click, re-opens on the third, ...
The dropdown remains open on the 2nd and any subsequent clicks

I'd be happy to investigate this and attempt to provide a PR; but would need to know, if a user clicks on a select/dropdown 2+ times, what would we expect to happen?
The two contenders that come to mind are:

The dropdown closes on the 2nd click, re-opens on the third, ...
The dropdown remains open on the 2nd and any subsequent clicks

For this, I think we should close the dropdown once it is open. The issue here might have been the saving of the states of the dropdown.

Hello @warrenspe thanks for your investigation. This is a bug and it would be awesome if you can provide a PR which would fix that. As @Jerit3787 already said, I also tend towards the first behaviour:

The dropdown closes on the 2nd click, re-opens on the third, ...
Looking forward to review the changes.

I saw that there is already a PR open #452
Does this fix the issue, please confirm so we do not have to do the work twice. Maybe there is also a cleaner solution instead of using a setTimeout Workaround. Wdyt?

Didn't test out the solution in #452 (I'm guessing it might not fix the select/label issue); but can confirm that some sort of setTimeout solution will probably be necessary due to the way handleClick/handleDocumentClick operate:

Clicking on the trigger calls both _handleClick and _handleDocumentClick; this can be worked around by looking at e.target, but not if a label for a select was clicked (which also calls both _handleClick and _handleDocumentClick)

authors: Jerit3787 warrenspe wuda-io

repo: materializecss/materialize


text:
ADSK dev/ merge to master

Fixes for implicit type conversions found in GLSL noise implementation which can cause shader compile failures.
Fix to Viewer for UI updates for left,righ arrow keys.
Fix order so that AO will appear after transparent objects in Viewer.

Looks good, thanks Bernard!

authors: bernardkwok jstone-lucasfilm

repo: materialx/MaterialX


text:
Adds API for retrieving type from Module or Struct

My use case is that I need to serialize the polymorphic embed and, once in the
front-end, need to distinguish them. I could reinvent the wheel and derive the
type there, but since this lib already does it for me... ;)

Thank you @jmnsf. Why did you create a new module (Polymorphic) to get the type?

@mathieuprog np. Yeah, I should have explained that, just spent a few minutes trying to figure out what I was thinking myself 😅.
So the general convention for use modules is to keep the injected code as minimal as possible. This means having most of the code in the "used" module, which is called from the "user". So the best thing (imo) would've been to do this:
defmodule PolymorphicEmbed do
  @callback get_polymorphic_type(module() | struct()) :: atom()

  @doc false
  def get_type(%module{}, meta_data),
    do: get_type(module, meta_data)

  def get_type(module, meta_data) when is_atom(module) do
    meta_data
    |> Enum.find(&(module == &1.module))
    |> Map.fetch!(:type)
    |> String.to_atom()
  end

  defmacro __using__(opts) do
    # ...

    @behaviour PolymorphicEmbed

    @doc "Returns the concrete type for a struct or module."
    @impl PolymorphicEmbed
    @spec get_polymorphic_type(module() | struct()) :: atom()
    def get_polymorphic_type(module_or_struct),
      do: PolymorphicEmbed.get_type(module_or_struct, @__meta_data)

    # ...
  end
end

(The behaviour itself is just a best practice so we get compiler warnings if we forget to implement something. Ecto.Type uses this too.)
So minimal code is injected into the "user" module and we get the same behavior. The thing is that PolymorphicEmbed happens to be the top module for this package, and adding a get_type function there, even with @doc false, feels wrong to me, so I pulled that into a different module.
GenServer does this though, so maybe it would be correct? Let me know what you'd rather go for and I'll make the changes:

How it is, PolymorphicSchema.get_polymorphic_type(struct) and separate behaviour module.
Same API but same module with @doc false get_type/2
Public PolymorphicEmbed.get_type(struct) that pulls the info from a get_polymorphic_metadata/0 callback in the Schema
Public PolymorphicEmbed.get_type(struct) that pulls the info from metadata via Module.__info__(:attributes)

Honestly not sure which would be the best option.

@jmnsf I did a refactor following your comments; your thoughts on this will be appreciated:)
This is the new code for PolymorphicEmbed:
https://github.com/mathieuprog/polymorphic_embed/blob/master/lib/polymorphic_embed.ex
(I wanted to make a PR for you to review but I messed up, ended up in master..)
The idea: instead of injecting all the functions (public and private), I inject a module CustomType to which I delegate the calls for the Ecto Type.
The advantage of this, is that it creates a nice API; especially interesting as we want to add public functions to it that are not Ecto-Type-related (in this case, get the type of the polymorphic embed).
First, what do you think about this new design?
Then, if you'd approve this, I'd let you add your changes based on this new code. If you rather want I do it, just let me know.
Note that there was already a public function get_module_from_type/1 that was accessed by the form helper.
We should rename it to get_polymorphic_type as you suggested in the PR.
Currently the get_module_from_type/1 function resides in CustomType. If we want to separate that function into its own module (because it is actually not used by any of the Custom Type functions - cast/dump/load/type), as you did in the PR, it's going to be slightly trickier as the module options (to build the metadata), is passed to CustomType. We should then extract that logic, and pass the metadata to both CustomType and the new module (which I would call something like TypeGetter, a more meaningful/explicit name than Polymorphic).
Something like:
use PolymorphicEmbed.CustomType, unquote(opts)
use PolymorphicEmbed.TypeGetter, unquote(opts)

But instead of opts, the computed metadata.
Another option is to just leave the function in CustomType.

@jmnsf @plasticine I created a new release that includes get_polymorphic_type/1.
@jmnsf if I could see some code showing the use of that function that'd be appreicated:)

@jmnsf @plasticine note that the API has changed since v0.9.0
To retrieve the type you have to write now:
PolymorphicEmbed.get_polymorphic_type(Reminder, :channel, SMS) # :sms

See example in docs.

Hey @mathieuprog, sorry for the delayed response. Thank you for all the changes! I see that it's quite different now from the initial design due to ParameterizedType, so not sure if I'm replying on time. But my use case is pretty straight-forward:
  defp serialize_flow_step(flow_step, own_attrs) do
    flow_step
    |> Map.take([:id, :next_step_id, :__type__ | own_attrs])
    |> Map.put(:run_if, serialize(flow_step.run_if))
    |> Map.put(:__type__, FlowStep.get_polymorphic_type(flow_step))
  end

I'm just serializing the type as JSON for the UI to know what it is.

Thank you, that was in case I want to add an example in the readme, as I mentioned your use case https://github.com/mathieuprog/polymorphic_embed#get-the-type-of-a-polymorphic-embed
By the way note that you should now cast with this library's function. Not related to parameterized type refactoring, but because of issue https://github.com/mathieuprog/polymorphic_embed/issues/10
The new code is way more simple as there are no more macros and code injection. Each function cast/load/dump receives the options as argument.
There's still another open PR of yours left. If associations is a blocking problem we can maybe already filter them out, but it'd be a temporary solution.

@mathieuprog yup, saw your comment! I'll try to pick that up in the next few days and adapt it to this solution (plus fix the issue you pointed out)
Thank you for the pointers 👍

authors: jmnsf mathieuprog


text:
IE9/10/11 webFont: "broken" square root lines

I use certain settings, like "matchFontHeight": false and adjust the font-size manually with CSS, but it makes no difference if I remove/change any.
Asana-Math, Gyre-Pagella, Gyre-Termes, Latin-Modern
See the page at http://foshin.com .Currently Latin-Modern is selected, but it behaves and looks about the same with all the fonts above.

Thanks for reporting this here. I can reproduce the issue. We'll investigate it.

MathJax uses one of the characters in the font to create the horizontal rules.  It looks like the LatinModern font uses a combining character as its rule character, which is not a great idea, as combining characters are notoriously troublesome.  This seems to be the cause of the bad alignment of the lines for the square roots for the single-character roots.
Moreover, the characters used for the repeating parts when this character is stretched are stored in the private-use area (PUA) of one of the fonts (I'm not sure why), and IE seems to be having some trouble showing these.
My own test files show the square roots correctly for these situations, but I can confirm that your site does show them incorrectly.  That may be due to CSS issues.
One work around would be to change the character used as the rule character.  Unfortunately, nearly every horizontal character seems to be aliased to the combining character, and that makes things a bit more difficult.  The natural replacement is the minus sign at U+2122.  This is not aliased, but its extension characters are in the PUA, and don't show up.  Fortunately, the minus can be used as the extenders, and so you can fix up the data to make it work.
Here is one way:  add
<script type="text/x-mathjax-config">
MathJax.Hub.Register.LoadHook("[MathJax]/jax/output/HTML-CSS/fonts/Latin-Modern/fontdata.js",function () {
  var FONTDATA = MathJax.OutputJax["HTML-CSS"].FONTDATA;
  FONTDATA.RULECHAR = 0x2212;
  delete FONTDATA.DELIMITERS[0x2212].stretch.left;
  delete FONTDATA.DELIMITERS[0x2212].stretch.right;
  FONTDATA.DELIMITERS[0x2212].stretch.rep = [0x2212,"LatinModernMathJax_Main"];
});
</script>

to your page just before the script that loads MathJax.js itself.  This will arrange for the overline data to not use combining characters, which works for me.  See if it works for you.

See #1043 for a problem with the configuration that seems to cause this.  If you fix the configuration, you won't need to use the patch given above.

authors: Loginisalreadytaken dpvc pkra

repo: mathjax/MathJax


text:
Not able to readRecords

Describe the bug
I've managed to initialize the SDK on my phone, and I've granted all the necessary permissions. However, when I attempt to retrieve records from the SDK, it consistently returns an error message stating, "Health Connect client is not initialized."
Additional info

I have properly initialized the SDK, and when I checked it using the "initialize()" method, it returned a true value.
I've also examined the SDK status with "getSdkStatus()" and it's returning "3."

Code Screenshots

Error Screenshots

Environment:

Health Connect Version: 1.2.0
React Native Version: 0.68.7
New architecture enabled: Yes

Do you have Health Connect app installed?

Yes, I have installed

I am not seeing an issue when I tried it in our example app:

const result = await initialize();

requestPermission([
  {
    accessType: 'read',
    recordType: 'BloodPressure',
  },
  {
    accessType: 'write',
    recordType: 'BloodPressure',
  },
]).then((permissions) => {
  console.log('Granted permissions on request ', { permissions });
});

const insertSampleData = () => {
  insertRecords([
    {
      recordType: 'BloodPressure',
      bodyPosition: BloodPressureBodyPosition.LYING_DOWN,
      diastolic: {
        value: 80,
        unit: 'millimetersOfMercury',
      },
      systolic: {
        value: 120,
        unit: 'millimetersOfMercury',
      },
      measurementLocation: BloodPressureMeasurementLocation.LEFT_WRIST,
      time: new Date().toISOString(),
    },
  ]).then((ids) => {
    console.log('Records inserted ', { ids });
  });
};

const readSampleData = () => {
  readRecords('BloodPressure', {
    timeRangeFilter: {
      operator: 'before',
      endTime: new Date().toISOString(),
    },
  }).then((result) => {
    console.log('Retrieved records: ', JSON.stringify({ result }, null, 2));
  });
};

@virenradadiya any success ? i have encountered the same error , console.log gives me all the permissions and i have set permission in health connection app as well

Closing this due to inactivity.

repo: matinzd/react-native-health-connect


text:
Proposal to have the appservice registration type be optional

Documentation: https://docs.google.com/document/d/1ng01UlGynBfktSepGHtsCArsE5ZM6mOZzZn-ULtTZEM/edit?usp=sharing
Related/resolves: https://github.com/matrix-org/matrix-doc/issues/1312

We've since made synapse and dendrite (and all the matrix-org, maunium and other bridges) support type, so I think there is very little point in driving the other way now. Can we close this one @turt2live ?

repo: matrix-org/matrix-doc


text:
We have a bunch of notes that aren't note blocks

One of them in the media config endpoint is even bolded.

Does this mean that many/most of the instances of "Note that..." in the API specs should be put in note blocks?
For example here I see "Note that this endpoint does not currently use the user-interactive authentication API."  I'm guessing changing that to be "Note: this endpoint does not...", with proper formatting like the note here, would be the desired treatment.


text:
MSC2625: Add mark_unread push rule action

Rendered

sorry, I should have said: this is being superceded by #2654. Trying to get both "unread" and "notifications" out of the same list of push rules was a nightmare.


text:
make target doc fails (sources expected to be ReST but are mostly Markdown)

This (in source) fails:
make doc

The Cmake build system apparently do not handle documentation at all.
This was fixed in Debian like this:
--- a/Makefile
+++ b/Makefile
@@ -401,6 +401,9 @@
 %.html: %.rst
 	rst2html $< $@

+%.html: %.md
+	markdown-it $< > $@
+
 ### dependencies

 -include $(RELEASE_OBJECTS:.o=.d)

Does markdown-it produce reasonable results for the math in the docs?

Quoting Hubert Chathi (2022-01-13 17:26:30)

Does markdown-it produce reasonable results for the math in the docs?

Ahh, so that is what the comment "when rendering properly" hinted at.
Patch now updated to instead use pandoc with a filter, which works.
Thanks for pointing that out!
(does not work in Debian yet, though: fixing this revealed bugs in both
pandoc on locating system-shared katex, and in libjs-katex providing
compacted JavaScript - the former is fixed in Debian unstable since a
few hours, the latter I will work on tomorrow).

Jonas

--

Jonas Smedegaard - idealist & Internet-arkitekt
Tlf.: +45 40843136  Website: http://dr.jones.dk/

[x] quote me freely  [ ] ask before reusing  [ ] keep private

Thanks.  Fixed in https://gitlab.matrix.org/matrix-org/olm/-/commit/dd1905454b033fcc1fe5e4b39dbcdac9ce82c68b

authors: jonassmedegaard uhoreg

repo: matrix-org/olm


text:
Update s3_uploader.js

Prevent warning for webpack@4.30.0:
DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

Why have you closed this one? I was just about of reviewing it now :(


text:
Playoffs_3

"Playoffs? Don't talk about--playoffs?! You kidding me? Playoffs?! I just hope we can win a game! Another game!"

I'm going to merge it then patch it. annoying

repo: matsonj/nba-monte-carlo


text:
Paste as text (leaving out any formatting)

It would be nice to have the option to paste as text, and text only.
So leaving out any formatting, effectively paste matching target style.
There is a workaround at this moment:

paste desired item (positions the paste item as the current/default item)
Cmd-Z (remove formatted entry again)
Shift-Option-Cmd-V (paste matching target style, or text only; using the current/default item)

But a more direct approach would be nice.

This feature would be great!
I thought that these "Shows / Pastes Rich Text" options indicated this feature, but I see no difference if I uncheck both of them (also tried restarting Yippy):

This feature would be great!
I thought that these "Shows / Pastes Rich Text" options indicated this feature, but I see no difference if I uncheck both of them (also tried restarting Yippy):

Sorry yes, I think it got broken. I will investigate!

Sorry yes, I think it got broken. I will investigate!

I have added more pasteboard type exclusions in 2.5.0 Let me know of any cases (copy sources) that this does not work for @karlhorky.

I have added more pasteboard type exclusions in 2.5.0 Let me know of any cases (copy sources) that this does not work for @karlhorky.

Oh, this restricts the pasteboard types, so that rich text copies do not even show up at all in Yippy? Ah, I think this is not what I'm looking for (maybe also not what @Bartman0 is looking for).
I was looking for something that strips formatting of text:

copy rich text
paste plain text

Oh, this restricts the pasteboard types, so that rich text copies do not even show up at all in Yippy? Ah, I think this is not what I'm looking for (maybe also not what @Bartman0 is looking for).
I was looking for something that strips formatting of text:

copy rich text
paste plain text

Nah, they should show up if you have "Shows rich text" enabled but not paste rich text if "Pastes rich text" is disabled.

Nah, they should show up if you have "Shows rich text" enabled but not paste rich text if "Pastes rich text" is disabled.

Oh, ok - I guess it should work then how I imagined? I'll give 2.5.0 a shot!

Oh, ok - I guess it should work then how I imagined? I'll give 2.5.0 a shot!

I hope so 😅

I hope so 😅

Ok, "Pastes rich text" works 🎉
Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Ok, "Pastes rich text" works 🎉
Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Sweet!

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Yeah, maybe this isn't very clear, but this option does not affect what items are stored, but rather how they are displayed. Having it unchecked should just achieve consistent formatting, unlike this with it checked:

In comparison to:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Hmm that's very strange. Are you sure they have rich text data?

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Sweet!

Not sure that "Shows rich text" is working - I have it unchecked, but it's still showing entries which have the rich text in my comment above:

Yeah, maybe this isn't very clear, but this option does not affect what items are stored, but rather how they are displayed. Having it unchecked should just achieve consistent formatting, unlike this with it checked:

In comparison to:

Although, it's not showing the formatting in the visual display of Yippy - but it doesn't do this regardless of the state of this option.

Hmm that's very strange. Are you sure they have rich text data?

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Ah, maybe spoke too soon? Just tried copying / pasting multiple lines with this document and it's copying the color and formatting info:
https://docs.google.com/document/d/e/2PACX-1vSW0GMz8SVLO5vogG3sIU3yALW9q9o-k2pCt1GdrgN4namECaLRQ-9H7rsV7HahToDV_rKfVzEB_jn1/pub

Ok, disabling "Pastes rich text" works 🎉 It strips the formatting.

Ah, maybe spoke too soon? Just tried copying / pasting multiple lines with this document and it's copying the color and formatting info:
https://docs.google.com/document/d/e/2PACX-1vSW0GMz8SVLO5vogG3sIU3yALW9q9o-k2pCt1GdrgN4namECaLRQ-9H7rsV7HahToDV_rKfVzEB_jn1/pub

Ok cheers, will check it out today 👌

Ok cheers, will check it out today 👌

Hmm @karlhorky would you be able to send a video of exactly how you're doing it? I can't seem to reproduce it...

Hmm @karlhorky would you be able to send a video of exactly how you're doing it? I can't seem to reproduce it...

Ok, here's a video: https://www.youtube.com/watch?v=4vQ5blDUIwA
I also gave you edit access to the Google Doc.

Ok, here's a video: https://www.youtube.com/watch?v=4vQ5blDUIwA
I also gave you edit access to the Google Doc.

Resolved in https://github.com/mattDavo/Yippy/releases/tag/2.8.0

Cool, looks like the formatting is gone! Thanks!

authors: Bartman0 karlhorky mattDavo

repo: mattDavo/Yippy


text:
Documentation Error - Change generator.rb to template.rb

Hi @matteolc,
You specified https://raw.githubusercontent.com/matteolc/rails-api-template/master/generator.rb
The correct link is:
https://raw.githubusercontent.com/matteolc/rails-api-template/master/template.rb
Please, correct.
Thanks

Hi @Innarticles
Thanks for your feedback, I am happy someone is actively using this repo.
As you may have noticed this repo undergo a major version bump, README has now been updated accordingly.
Best
Matteo

authors: Innarticles matteolc

repo: matteolc/rails-api-template


text:
Channel notifications are hard too see

Channels with unread messages can be hard to see when you have a multitude of channels, expecially if you have a low-res monitor or a poor sight.
It would be really useful to have a bettere highlight method instead of just making channels with unread messages in bold font
I suggest to add an unread messages counter just like for DMs, which also makes it easier to spot, example:

Any other kind of visual highlight would also be good tho.

I too have found these hard to notice easily, especially when the monitor contrast isn't to good..  What I've told users who ask about this is to set the Sidebar Unread Text to a different color from the Sidebar Text.  Doing this you can really make unread messages stand out. To do this, go to your account settings, Display, Custom Theme and Sidebar Styles.  From here you can change the colors to suit your preference.
For example, my Sidebar text color is Gray and the unread text color is Golden Yello color

and it looks like this in the sidebar

Thanks @cbrand-ludlums I will tell my users to use this solution too.
However i think that it could still be useful to have a better method to highlight channels just like the unread counter for direct messages or to have a different color for unread channels already in the default themes.

Would you be open to trying grouping unread channels separately? You can set this via Account Settings > Sidebar > Group unread channels separately > On.

thank you @amyblais i asked my users who face this problem to use your solution for the time being, thanks for the help.

moving the issue to the server repo, where it will be more visible

authors: MH42069 Willyfrog amyblais cbrand-ludlums

repo: mattermost/desktop


text:
[Bug]: Drawer items missing on first load

Before you file a bug report

[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 doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[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.4.0
Operating System
Windows 11 x64
Mattermost Server Version
No response
Steps to reproduce
Turn on startup with windows and start as minimized.
On first load of the app when windows has launched, opening the app displays the last open channel however the channels list in the drawer is missing. Reloading brings the drawer back.
Expected behavior
Display the channels as normal
Observed behavior
Channels missing on first load after starting windows and launching Mattermost from the notification tray.
Log Output
[2023-06-20 11:25:27.676] [debug] [DownloadsManager] init { 'this.json': {}, validatedJSON: {} }
[2023-06-20 11:25:27.681] [debug] [DownloadsManager] saveAll
[2023-06-20 11:25:27.682] [debug] [MainWindow] Can't send update-downloads-dropdown, will retry
[2023-06-20 11:25:27.682] [debug] [DownloadsManager] checkForDeletedFiles
[2023-06-20 11:25:27.709] [warn]  [Config] Failed to load configuration file from the filesystem. Using defaults.
[2023-06-20 11:25:27.711] [info]  [Config] Migrating config items successfully.
[2023-06-20 11:25:27.711] [debug] [App.Config] handleConfigUpdate
[2023-06-20 11:25:27.712] [silly] [App.Config] handleConfigUpdate {
  version: 3,
  showTrayIcon: true,
  trayIconTheme: 'use_system',
  minimizeToTray: true,
  notifications: { flashWindow: 2, bounceIcon: true, bounceIconType: 'informational' },
  showUnreadBadge: true,
  useSpellChecker: true,
  enableHardwareAcceleration: true,
  autostart: true,
  hideOnStart: false,
  spellCheckerLocales: [],
  darkMode: false,
  lastActiveTeam: 0,
  downloadLocation: 'C:\\Users\\vijesh\\Downloads',
  startInFullscreen: false,
  helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html',
  enableServerManagement: true,
  enableAutoUpdater: true,
  managedResources: [ 'trusted' ],
  allowedProtocols: [ 'mattermost', 'ftp', 'mailto', 'tel' ],
  useNativeWindow: false,
  appName: 'Mattermost'
}
[2023-06-20 11:25:27.712] [silly] [AppState] emitStatus
[2023-06-20 11:25:27.720] [debug] [App.Utils] handleUpdateMenuEvent
[2023-06-20 11:25:27.722] [debug] [DownloadsManager] hasDownloads
[2023-06-20 11:25:27.722] [debug] [ServerManager] getOrderedServers
[2023-06-20 11:25:27.726] [debug] [ServerManager] getOrderedServers
[2023-06-20 11:25:27.753] [debug] [App.Config] Config.handleUpdateTheme
[2023-06-20 11:25:27.754] [debug] [Config] set
[2023-06-20 11:25:27.754] [debug] [Config] setMultiple { darkMode: true }
[2023-06-20 11:25:27.754] [debug] [App.Config] handleDarkModeChange true
[2023-06-20 11:25:27.762] [debug] [MainWindow] Can't send dark_mode_change, will retry
[2023-06-20 11:25:27.762] [silly] [ServerDropdownView] updateDropdown
[2023-06-20 11:25:27.762] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-06-20 11:25:27.763] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-06-20 11:25:27.763] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-06-20 11:25:27.763] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-06-20 11:25:27.763] [verbose] [Config] Saving config data to file...
[2023-06-20 11:25:27.814] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:27.821] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.822] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList'
}
[2023-06-20 11:25:27.826] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.826] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList'
}
[2023-06-20 11:25:27.830] [debug] [App.Config] handleConfigUpdate
[2023-06-20 11:25:27.830] [silly] [App.Config] handleConfigUpdate {
  version: 3,
  showTrayIcon: true,
  trayIconTheme: 'use_system',
  minimizeToTray: true,
  notifications: { flashWindow: 2, bounceIcon: true, bounceIconType: 'informational' },
  showUnreadBadge: true,
  useSpellChecker: true,
  enableHardwareAcceleration: true,
  autostart: true,
  hideOnStart: false,
  spellCheckerLocales: [],
  darkMode: true,
  lastActiveTeam: 0,
  downloadLocation: 'C:\\Users\\vijesh\\Downloads',
  startInFullscreen: false,
  helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html',
  enableServerManagement: true,
  enableAutoUpdater: true,
  managedResources: [ 'trusted' ],
  allowedProtocols: [ 'mattermost', 'ftp', 'mailto', 'tel' ],
  useNativeWindow: false,
  appName: 'Mattermost'
}
[2023-06-20 11:25:27.831] [debug] [MainWindow] Can't send reload-config, will retry
[2023-06-20 11:25:27.831] [silly] [AppState] emitStatus
[2023-06-20 11:25:27.832] [silly] [ServerDropdownView] updateMentions { expired: {}, mentions: {}, unreads: {} }
[2023-06-20 11:25:27.832] [silly] [ServerDropdownView] updateDropdown
[2023-06-20 11:25:27.836] [debug] [App.Intercom] handleMainWindowIsShown {
  showWelcomeScreen: '[function] () => !(Boolean(false) || _serverManager.default.hasServers())',
  showNewServerModal: '[function] () => !_serverManager.default.hasServers()',
  mainWindow: false
}
[2023-06-20 11:25:27.836] [debug] [App.Utils] handleUpdateMenuEvent
[2023-06-20 11:25:27.836] [debug] [DownloadsManager] hasDownloads
[2023-06-20 11:25:27.837] [debug] [ServerManager] getOrderedServers
[2023-06-20 11:25:27.838] [debug] [ServerManager] getOrderedServers
[2023-06-20 11:25:27.847] [silly] [ServerDropdownView] updateDropdown
[2023-06-20 11:25:27.847] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenu
[2023-06-20 11:25:27.847] [debug] [DownloadsDropdown...] updateDownloadsDropdownMenuItem {}
[2023-06-20 11:25:27.848] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-06-20 11:25:27.848] [debug] [DownloadsDropdown...] updateDownloadsDropdown
[2023-06-20 11:25:27.849] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.849] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost\\DefaultServerList',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.857] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:27.885] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.886] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement'
}
[2023-06-20 11:25:27.890] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.890] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement'
}
[2023-06-20 11:25:27.906] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.910] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableServerManagement',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.950] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.950] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater'
}
[2023-06-20 11:25:27.954] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: true
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43951:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:44351:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
[2023-06-20 11:25:27.955] [debug] [RegistryConfig] Trying without UTF-8... {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater'
}
[2023-06-20 11:25:27.971] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKLM',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.974] [debug] [RegistryConfig] There was an error accessing the registry for {
  hive: 'HKCU',
  key: '\\Software\\Policies\\Mattermost',
  name: 'EnableAutoUpdater',
  utf8: false
} ProcessUncleanExitError: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value.
    at mkErrorMsg (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:42964:10)
    at ChildProcess.<anonymous> (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:43345:10)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-06-20 11:25:27.975] [debug] [Config] loadRegistry { registryData: { servers: [] } }
[2023-06-20 11:25:27.977] [error] Logger Log level set to: info
[2023-06-20 11:25:28.000] [error] [MainWindow] Error: ENOENT: no such file or directory, open 'C:\Users\vijesh\AppData\Roaming\Mattermost\bounds-info.json'
    at Object.openSync (node:fs:600:3)
    at Object.func [as openSync] (node:electron/js2c/asar_bundle:2:1822)
    at Object.readFileSync (node:fs:468:35)
    at t.readFileSync (node:electron/js2c/asar_bundle:2:9165)
    at MainWindow.getSavedWindowState (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:45821:51)
    at MainWindow.init (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:45624:36)
    at MainWindow.show (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:45748:14)
    at initializeAfterAppReady (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:416:23)
    at initialize (C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:150:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2023-06-20 11:25:28.033] [info]  [ServerDropdownView] init
[2023-06-20 11:25:28.066] [warn]  [i18nManager] Failed to set new language en-US
[2023-06-20 11:25:28.067] [warn]  [i18nManager] Failed to set new language FJ
[2023-06-20 11:25:28.086] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:28.091] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2023-06-20 11:25:28.256] [info]  [ModalView] [welcomeScreen] preloading with C:\Users\vijes\AppData\Local\Programs\mattermost-desktop\resources\app.asar\desktopAPI.js
[2023-06-20 11:25:32.997] [info]  [UpdateManager] Checking for update
[2023-06-20 11:25:33.001] [info]  [UpdateManager] Generated new staging user ID: bb551cb7-7779-5172-810f-c1a15e0600e6
[2023-06-20 11:25:34.117] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 11:25:52.964] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:52.971] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:53.051] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:53.186] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:54.158] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:56.480] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:25:57.141] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:26:53.072] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:26:58.066] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:08.688] [debug] [DownloadsManager] init { 'this.json': {}, validatedJSON: {} }
[2023-06-20 11:27:08.692] [debug] [DownloadsManager] saveAll
[2023-06-20 11:27:08.693] [debug] [MainWindow] Can't send update-downloads-dropdown, will retry
[2023-06-20 11:27:08.694] [debug] [DownloadsManager] checkForDeletedFiles
[2023-06-20 11:27:08.722] [error] Logger Log level set to: info
[2023-06-20 11:27:08.787] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:08.819] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:08.953] [info]  [ServerDropdownView] init
[2023-06-20 11:27:08.980] [warn]  [i18nManager] Failed to set new language en-US
[2023-06-20 11:27:08.980] [warn]  [i18nManager] Failed to set new language FJ
[2023-06-20 11:27:08.993] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:09.039] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:09.579] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 11:27:13.930] [info]  [UpdateManager] Checking for update
[2023-06-20 11:27:15.005] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 11:37:20.358] [info]  [App.Config] config.autostart has been configured: true
[2023-06-20 12:27:13.935] [info]  [UpdateManager] Checking for update
[2023-06-20 12:27:19.175] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 13:27:13.938] [info]  [UpdateManager] Checking for update
[2023-06-20 13:27:15.925] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 14:27:13.950] [info]  [UpdateManager] Checking for update
[2023-06-20 14:27:15.171] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 15:27:13.959] [info]  [UpdateManager] Checking for update
[2023-06-20 15:27:15.182] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 16:27:13.961] [info]  [UpdateManager] Checking for update
[2023-06-20 16:27:15.257] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 17:27:13.974] [info]  [UpdateManager] Checking for update
[2023-06-20 17:27:15.130] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 18:27:13.981] [info]  [UpdateManager] Checking for update
[2023-06-20 18:27:15.156] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 19:27:12.156] [info]  [UpdateManager] Checking for update
[2023-06-20 19:27:13.309] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 20:27:12.161] [info]  [UpdateManager] Checking for update
[2023-06-20 20:27:13.632] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 21:27:12.168] [info]  [UpdateManager] Checking for update
[2023-06-20 21:27:13.343] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-20 22:27:12.173] [info]  [UpdateManager] Checking for update
[2023-06-20 22:27:13.344] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 10:31:24.227] [debug] [DownloadsManager] init { 'this.json': {}, validatedJSON: {} }
[2023-06-21 10:31:24.232] [debug] [DownloadsManager] saveAll
[2023-06-21 10:31:24.233] [debug] [MainWindow] Can't send update-downloads-dropdown, will retry
[2023-06-21 10:31:24.234] [debug] [DownloadsManager] checkForDeletedFiles
[2023-06-21 10:31:24.269] [error] Logger Log level set to: info
[2023-06-21 10:31:24.299] [warn]  [App.Initialize] Current working directory is C:\Windows\system32, changing into C:\Users\vijes\AppData\Local\Programs\mattermost-desktop
[2023-06-21 10:31:24.348] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 10:31:24.381] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 10:31:24.578] [info]  [ServerDropdownView] init
[2023-06-21 10:31:24.620] [warn]  [i18nManager] Failed to set new language en-US
[2023-06-21 10:31:24.620] [warn]  [i18nManager] Failed to set new language FJ
[2023-06-21 10:31:24.635] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 10:31:24.678] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 10:31:25.629] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 10:31:29.546] [info]  [UpdateManager] Checking for update
[2023-06-21 10:31:29.664] [error] [UpdateManager] Error: Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-21 10:31:29.665] [error] [UpdateManager] There was an error while trying to update Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-21 10:31:29.666] [error] [UpdateManager] Failed to check for updates: Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-21 10:57:55.537] [info]  [App.Config] config.autostart has been configured: true
[2023-06-21 11:31:29.570] [info]  [UpdateManager] Checking for update
[2023-06-21 11:31:30.668] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 12:31:29.579] [info]  [UpdateManager] Checking for update
[2023-06-21 12:31:30.672] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 13:31:29.588] [info]  [UpdateManager] Checking for update
[2023-06-21 13:31:30.694] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 14:31:29.591] [info]  [UpdateManager] Checking for update
[2023-06-21 14:31:30.705] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 15:31:29.605] [info]  [UpdateManager] Checking for update
[2023-06-21 15:31:30.959] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 16:31:29.619] [info]  [UpdateManager] Checking for update
[2023-06-21 16:31:30.911] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 17:31:29.636] [info]  [UpdateManager] Checking for update
[2023-06-21 17:31:30.729] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 18:31:29.652] [info]  [UpdateManager] Checking for update
[2023-06-21 18:31:30.779] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 19:31:29.660] [info]  [UpdateManager] Checking for update
[2023-06-21 19:31:30.756] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 20:31:28.369] [info]  [UpdateManager] Checking for update
[2023-06-21 20:31:29.464] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 21:31:28.381] [info]  [UpdateManager] Checking for update
[2023-06-21 21:31:29.516] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 22:31:28.391] [info]  [UpdateManager] Checking for update
[2023-06-21 22:31:29.487] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).
[2023-06-21 23:08:57.553] [error] [App.App] "child-process-gone" The child process has crashed. Details:  {
  type: 'Utility',
  reason: 'killed',
  exitCode: 1073807364,
  serviceName: 'network.mojom.NetworkService',
  name: 'Network Service'
}
[2023-06-21 23:08:57.566] [error] [App.App] "child-process-gone" The child process has crashed. Details:  {
  type: 'GPU',
  reason: 'killed',
  exitCode: 1073807364,
  serviceName: 'GPU'
}
[2023-06-22 10:40:45.618] [debug] [DownloadsManager] init {
  'this.json': {
    'HOSTTEL-DD-170323.ABA': {
      addedAt: 1687333282737,
      filename: 'HOSTTEL-DD-170323.ABA',
      mimeType: 'application/octet-stream',
      location: 'C:\\Users\\vijesh\\Downloads\\HOSTTEL-DD-170323.ABA',
      progress: 100,
      receivedBytes: 488,
      state: 'completed',
      totalBytes: 488,
      type: 'file'
    }
  },
  validatedJSON: {
    'HOSTTEL-DD-170323.ABA': {
      addedAt: 1687333282737,
      filename: 'HOSTTEL-DD-170323.ABA',
      mimeType: 'application/octet-stream',
      location: 'C:\\Users\\vijesh\\Downloads\\HOSTTEL-DD-170323.ABA',
      progress: 100,
      receivedBytes: 488,
      state: 'completed',
      totalBytes: 488,
      type: 'file'
    }
  }
}
[2023-06-22 10:40:45.623] [debug] [DownloadsManager] saveAll
[2023-06-22 10:40:45.624] [debug] [MainWindow] Can't send update-downloads-dropdown, will retry
[2023-06-22 10:40:45.625] [debug] [DownloadsManager] checkForDeletedFiles
[2023-06-22 10:40:45.664] [error] Logger Log level set to: info
[2023-06-22 10:40:45.691] [warn]  [App.Initialize] Current working directory is C:\Windows\system32, changing into C:\Users\vijes\AppData\Local\Programs\mattermost-desktop
[2023-06-22 10:40:45.744] [info]  [App.Config] config.autostart has been configured: true
[2023-06-22 10:40:45.783] [info]  [App.Config] config.autostart has been configured: true
[2023-06-22 10:40:46.008] [info]  [ServerDropdownView] init
[2023-06-22 10:40:46.050] [warn]  [i18nManager] Failed to set new language en-US
[2023-06-22 10:40:46.050] [warn]  [i18nManager] Failed to set new language FJ
[2023-06-22 10:40:46.066] [info]  [App.Config] config.autostart has been configured: true
[2023-06-22 10:40:46.130] [info]  [App.Config] config.autostart has been configured: true
[2023-06-22 10:40:47.091] [info]  [App.Config] config.autostart has been configured: true
[2023-06-22 10:40:50.968] [info]  [UpdateManager] Checking for update
[2023-06-22 10:40:51.088] [error] [UpdateManager] Error: Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-22 10:40:51.089] [error] [UpdateManager] There was an error while trying to update Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-22 10:40:51.090] [error] [UpdateManager] Failed to check for updates: Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:49549)
    at SimpleURLLoaderWrapper.emit (node:events:513:28)
[2023-06-22 11:40:50.983] [info]  [UpdateManager] Checking for update
[2023-06-22 11:40:52.124] [info]  [UpdateManager] Update for version 5.4.0 is not available (latest version: 5.4.0, downgrade is disallowed).

Additional Information
No response

Screenshot for preview. This is as soon as windows 11 has started up and launching the app from the taskbar notification tray icon. Reload (CTRL + R) fixes this issue but it needs to be done each time when windows loads up

Transferring to mattermost/mattermost repo as this is likely a server/webapp issue.

authors: VijeshDatt devinbinnie


text:
Problem in creating an SSL certificate

I can not make a secure connection.
I tried to create on two instances. As an image docker-preview and docker.
I created certificates in three ways:

Instructions for adding keys
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./volumes/web/cert/cert.pem -out ./volumes/web/cert/key-no-password.pem
Created in Letsencrypt, and then nginx was able to identify the keys, but could not use them, because no found directory or file
Created with the help of Openssl
sudo openssl x509 -req -days 3650 -in mattermost.csr -signkey mattermost.key -out mattermost.crt

Included, many times TLS, in two ways, as indicated in the instruction, but none worked.

Can you provide more information on your configuration please, like how did you run your containers (docker-compose file or command used) ?
What mean "can not make a secure connection" ? What is the result, do you have any log file ?

I clone repository and run container with docker command with some amendments - docker-compose up.
This is my yml file
version: "2"

services:

  db:
    build: db
    restart: unless-stopped
    volumes:
      - ./volumes/db/var/lib/postgresql/data:/var/lib/postgresql/data
      - /etc/localtime:/etc/localtime:ro
    environment:
      - POSTGRES_USER=mmuser
      - POSTGRES_PASSWORD=mmuser_password
      - POSTGRES_DB=mattermost

  app:
    build:
      context: app
      # comment out for team edition
      dockerfile: Dockerfile-enterprise
    restart: unless-stopped
    volumes:
      - ./volumes/app/mattermost/config:/mattermost/config:Z
      - ./volumes/app/mattermost/data:/mattermost/data:Z
      - ./volumes/app/mattermost/logs:/mattermost/logs:Z
      - /etc/localtime:/etc/localtime:Z
    environment:
      # set same as db credentials and dbname
      - MM_USERNAME=mmuser
      - MM_PASSWORD=mmuser_password
      - MM_DBNAME=mattermost
      - MM_CONFIG=/mattermost/config/config.json
    links:
      - db:db

  web:
    build: web
    ports:
      - "80:80"
      - "443:443"
      - "8065:8065"
    restart: unless-stopped
    volumes:
      # This directory must have cert files
      - ./volumes/web/cert:/cert:Z
      - /etc/localtime:/etc/localtime:Z
    environment:
      - MATTERMOST_ENABLE_SSL= true
      - PLATFORM_PORT_80_TCP_PORT=80
    links:
      - app:app

Docker version 1.12.6, build 78d1802
docker-compose version 1.8.0, build unknown
I edit this:

This my latest log:

Log when I created certificate, copy to ./volumes/web/cert/ and restart docker-compose.

@pichouk Can you help me?

Honestly, I have no idea, I didn't use the web server on my production instance.
I think you should not change the listen port and not enable TLS security on Mattermost Admin Interface. TLS is managed by the web container, not the app one.
Can you try to disable those options (TLS and Let's Encrypt) and use port 80 please ? And try again, providing app and web container logs in case of failure.

Now I'm using port 80, but I want to make a secure connection and go to port 443. But I can not do this.
My log

It seems to work no ? If you curl your web container with https:// what did you get ?

Port 80 worked.
When try connect to 443 port I have this Connection refused

According to your log, SSL is not enable on the web container. It mean that it doesn't found if /cert/cert.pem and /cert/key-no-password.pem files. Did you create and mount cert/key files as specified here ?
What is on your ./volumes/web/cert local folder ?
Another thing, what Z mean in this line ?
- ./volumes/web/cert:/cert:Z

@DodgeCamaro As @pichouk, please make sure you have your cert/key in the volumes/web/cert directory. Also according to your web container log you posted previously, your key/cert format is wrong. It looks like you were using the command that has key/cert name switched. The correct command should be:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./volumes/web/cert/key-no-password.pem -out ./volumes/web/cert/cert.pem

Also, make sure you run docker-compose down to clear the old containers before you run docker-compose up

@xcompass It works))) Thanks!
Please add this command to your instruction)
I have one question. I have an https connection, but the browser writes: "Connection to the site is not protected"
When I enable TLS, have this error

@xcompass @pichouk
Guys, what about configure TLS?

You should not enable TLS on the Mattermost interface. TLS is managed by your web container. web container is just some kind of reverse-proxy : it terminate TLS and talk to app container using HTTP.

I don't know which browser you use and what is exactly the message you got, but maybe it is because you use a self-signed certificate.

@pichouk
I use certificates created in LetsEncrypt.
I tested the connection in Chrome, Mozilla and Opera.
That is, I do not need to create TLS if I have certificates generated in letencrypt?

If your certificates ar managed by Let's Ecnrypt, you don't have to create others certificate. I guess you have to copy them to your mounted volume on the web container. But TLS/Let's Encrypt in Mattermost Admin Console should not be enabled, and listen port should stay at 80.
Then, try to curl your web container IP address directly, using HTTPS. It should work, if not look at the web container logs.

@pichouk Thank you!

@DodgeCamaro Is that working for you know ? If yes, you can close this issue ;)

authors: DodgeCamaro pichouk xcompass

repo: mattermost/mattermost-docker


text:
Fix at-mention autocomplete causing a logout

Summary
Performing an at-mention autocomplete in a DM channel was forcing a logout mainly because of this PR https://github.com/mattermost/mattermost-server/pull/9481  I did file a bug https://mattermost.atlassian.net/browse/MM-12519 cause it should return 403 instead of 401
This PR then fixes the issue by sending a blank teamId if the current channel is a DM or a GM unless the autocomplete is being used in the search screen
Ticket Link
https://mattermost.atlassian.net/browse/MM-12517

@enahum, would it be easier if we just ignored the "invalid" team id on https://github.com/mattermost/mattermost-server/blob/master/api4/user.go#L607? The implementation was up for debate, and I think we could argue that it makes more sense to ignore the invalid field in this case since we intentionally don't use it anyway.

@lieut-data if we do that then great if not at least we should return status code 403 as older apps will get logged out cause of the 401, but by returning 403 they will not get autocomplete results anyway, it is definitely a breaking change

Hmm, that won't be enough either: I propose we alter the server to handle this case:

use the teamId from the channel if present, returning a 403 if a teamId is provided that doesn't match the chanenl
use the provided teamId if the channel has none (DM/GM), but require the user to have permissions against that team

That should preserve backwards compatibility and fix all the related issues, also making this PR obsolete. Any objections? I can tackle https://mattermost.atlassian.net/browse/MM-12519.

Sounds good to me, feel free to close this PR once you submit that one ;)
Thanks dude

Addressed as https://github.com/mattermost/mattermost-server/pull/9577

authors: enahum lieut-data

repo: mattermost/mattermost-mobile


text:
Theme selection screen

Summary
This change allows users to view and change their visual theme from the settings menu.
Ticket Link
https://jira.uberinternal.com/browse/UCHAT-3821
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] Includes text changes and localization file updates

Device Information
This PR was tested on: Nexus 6 (Android), iPhone X (iOS)
Screenshots

Contributor
@dseawel

@dseawel some comments.
Also now I realized what happen if I have a custom theme, it does not show up in the list and what if I want to revert to my custom theme before actually saving the preferences?

@dseawel what is your thought for handling custom themes? What if the user has set a custom theme and then opens this screen to select a preconfigured one. Since it autosaves there is no way to revert the changes.
Does this setting only appear if

the "Allow Custom Theme" config is disabled?
the "Enable Theme Selection" config is enabled?
And the theme is part of the "Allowed Themes" config?

https://docs.mattermost.com/administration/config-settings.html#theme-settings-experimental

@esethna Great question re: custom themes. Right now I'm showing an additional "Custom" theme option in the theme list if (1) custom theming is enabled and (2) the user is already using a custom theme (presumably created via the web app). If these conditions are met, the user can switch between a preformatted theme and their custom theme while they are in this new themes screen. However, when they switch to a preformatted theme and leave the screen, they'll no longer see the custom option.
I'm open to suggestions on better solutions though. And, I agree that the ideal solution is full custom theme editing in the app but also agree that it is sizable dev lift at this time.

@dseawel I think that's okay for now. My only concern with that approach is that it's unforgiving if a user wants to explore how a theme looks then decides to go back and their custom theme is gone. But this is also an issue with webapp, so I don't think we need to solve it in this ticket. I created another ticket to look into an improved UX for this: https://mattermost.atlassian.net/browse/MM-13078

Also, to confirm, this PR follows the "Allowed Themes" config? So only the themes set by the admin (if set) will show up in this screen?

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build the App failed. See the logs for more information.

@enahum can you help look into this failure when you have a chance? ^

@esethna sure I'll build it as soon as I can

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build the App failed. See the logs for more information.

@dseawel can we please rebase this to the latest master? seems to be the reason why the build is failing

@enahum Just updated. Thanks!

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

@esethna app build completed

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build the App failed. See the logs for more information.

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2320/PR-2320.apk
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2320/PR-2320.plist

authors: csduarte dseawel enahum esethna mattermod


text:
[MM-36240] Add commands to enable/disable apps

Summary
This PR adds a /apps enable and /apps disable command.
As discussed in https://community-daily.mattermost.com/core/pl/onpuah5sx3gipxhgqw85o7arza the life cycle behaviors is as following:
Disable:

Disable Bot account. This also renders the bot access token unless until the bot is enabled again.
Mark the app as disabled, therefore skipping in when bindings are fetched.
The OAuth app should also be marked as disabled, but the server doesn't support that. Filled https://mattermost.atlassian.net/browse/MM-36337 to work on that in the future.
Not delete the KV data

Uninstall:

Disable Bot account and revoke the bot access token.
Delete the OAuth app
Delete the KV data of the apps

The behavior of the life cycle methods is also now unified. All four (enable, disable, install, uninstall) only give the app a call if there is a call defined in the manifest. The app can overwrite the default message send to the user as an ephemeral post via Markdown.
Please note that the DeleteAll method is far from optimized. I didn't found a way to make perform better without server changes.
There is a also a hello-lifecycle app that I used for testing.
This is now an app is marked in the Marketplace:

Ticket Link
https://mattermost.atlassian.net/browse/MM-36240
https://mattermost.atlassian.net/browse/MM-36335
Fixes https://github.com/mattermost/mattermost-plugin-apps/issues/208

Codecov Report

Merging #207 (d49fc3a) into master (52ed70d) will decrease coverage by 0.58%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
- Coverage   25.53%   24.94%   -0.59%
==========================================
  Files          25       25
  Lines        1402     1435      +33
==========================================
  Hits          358      358
- Misses       1013     1046      +33
  Partials       31       31

Impacted Files
Coverage Δ

server/proxy/enable.go
2.89% <0.00%> (-1.36%)
:arrow_down:

server/proxy/install.go
0.00% <0.00%> (ø)

server/proxy/list.go
0.00% <0.00%> (ø)

server/proxy/service.go
0.00% <ø> (ø)

server/proxy/uninstall.go
0.00% <0.00%> (ø)

server/store/appkv.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

@DHaussermann There are no clear QA steps here. My advice would be to play around with hello-lifecycle  and the other apps.

@levb Would you please merge this PR after QA is complete?

@DHaussermann What is the status of testing this PR?

cc @levb ☝ Please merge when you have a chance as Ben is away.

authors: DHaussermann codecov-commenter hanzei levb

repo: mattermost/mattermost-plugin-apps


text:
remove subscriptions

Summary
Removing event subscriptions for now to simplify the client API code. I figure we're likely to revisit this holistically as needed given it's still dependent on the plugin kv store (which I can also remove with this PR).
Ticket Link
N/A

Skipping QA Review since no user-facing changes being touched.


text:
Bump version to 4.1.0

Summary

https://github.com/mattermost/mattermost-plugin-jira/pull/995

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (06a02e8) 29.48% compared to head (a37049d) 29.48%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #997   +/-   ##
=======================================
  Coverage   29.48%   29.48%
=======================================
  Files          52       52
  Lines        7848     7848
=======================================
  Hits         2314     2314
  Misses       5337     5337
  Partials      197      197

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

/update-branch

/update-branch

/update-branch

authors: codecov-commenter mickmister

repo: mattermost/mattermost-plugin-jira


text:
[MM-5881] Add support for searching by position in user lists

Summary

Add support for searching by position in user lists
Ticket Link

https://mattermost.atlassian.net/browse/MM-5881

This filter seems to be applied only at the client level.
Should this be added to mobile as well?

This filter seems to be applied only at the client level, ticket seems to about applying this at the server level.
Should this be added to mobile as well?

I had not realized that it was from the server, also the changes are on the client side. At the moment I did not make the changes for mobile

@wiersgallak are we ok with this working only on one client qnd not the other?

@enahum I created a ticket for the mobile support: https://mattermost.atlassian.net/browse/MM-24309
@mbecca please let us know if you are interested in adding support for that client as well.
Thanks!

@enahum I created a ticket for the mobile support: https://mattermost.atlassian.net/browse/MM-24309
@mbecca please let us know if you are interested in adding support for that client as well.
Thanks!

Yes, I can do it !! (in the near future)
Thank you all!
Regards, M

authors: enahum mbecca wiersgallak

repo: mattermost/mattermost-redux


text:
MM-47063 Migrate "components/file_preview_modal/image_preview.jsx" to Typescript

Summary
The image_preview file has been migrated to TypeScript
https://github.com/mattermost/mattermost-server/issues/21100
Ticket Link
MM-47063

Hello @rimakan,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/release-note-none

@M-ZubairAhmed , could you please take a look? I've fixed the code according to your comments

/update-branch

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

authors: M-ZubairAhmed mattermod rimakan

repo: mattermost/mattermost-webapp


text:
[GH-10035] Added the cypress spec for cancel out leave a team modal

Summary
Added the cypress test for the case "cancel out leave a team modal"
Ticket Link
https://github.com/mattermost/mattermost-server/issues/10035
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

@saturninoabril made the changes. Kindly review


text:
[MM-20986] close modal on focus change due to shortcut

Summary
Whenever focus change due to a shortcut, close the channel picker modal
Ticket Link
MM-20986

@Willyfrog, to aid with @jgilliam17's review, can we add unit or e2e tests here?

@saturninoabril that's the command we talked about, we might change the typeCmdOrCtrl one for this, but didn't want to overstep and preferred that you checked it first

/update-branch

Will try to auto merge this PR

Pull Request successfully merged
SHA: db658cadb106df617b2a50b8ecef2b7022ac72cc

/cherry-pick

authors: Willyfrog lieut-data mattermod


text:
MM-29636 - add the cancel subscription section in subscription screen

Summary
This Merge Request adds the cancel subscription section to the subscription page under the System Console > Billing & Account > Subscription
Ticket Link
This MR fixes MM-29636
Screenshots

Hello @pablovelezvidal,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Hello @pablovelezvidal,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

Yes, I am setting up the PR server manually so you can access that. Will keep you posted when is ready

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

Yes, I am setting up the PR server manually so you can access that. Will keep you posted when is ready

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

@stevemudie @matthewbirtch I've updated the test server here and now you should be able to see the Subscription section in the System Console to review the change.

@pablovelezvidal when got to Billing & Account ➜ Subscription on the spinwick it's blank. Is that expected due to the environment here?

@stevemudie @matthewbirtch I've updated the test server here and now you should be able to see the Subscription section in the System Console to review the change.

Looks good but this will only appear when there's a subscription in place though right?
Also, would it make sense to have the contact form pre-fill the 'What can sales help with?' section with the relevant 'I want to cancel my Mattermost account' selection as it already pre-selects 'I need to contact sales' now?
On that note, since the form lacks a "support" dropdown (there's only technical billing & sales) should be reworked to include it? I'm just thinking it might be a point of confusion since the customer clicked the "Contact Support" button and the form sets them up with "I need to contact sales" automatically.

Looks good but this will only appear when there's a subscription in place though right?
Also, would it make sense to have the contact form pre-fill the 'What can sales help with?' section with the relevant 'I want to cancel my Mattermost account' selection as it already pre-selects 'I need to contact sales' now?
On that note, since the form lacks a "support" dropdown (there's only technical billing & sales) should be reworked to include it? I'm just thinking it might be a point of confusion since the customer clicked the "Contact Support" button and the form sets them up with "I need to contact sales" automatically.

One question I had in the screenshot provided in the description, how did you get a state where there were no subscription details to the left of the 'Need more users' callout?

One question I had in the screenshot provided in the description, how did you get a state where there were no subscription details to the left of the 'Need more users' callout?

I'm just thinking it might be a point of confusion since the customer clicked the "Contact Support" button and the form sets them up with "I need to contact sales" automatically.

Agreed, @matthewbirtch thoughts on wording?
At the same time it's odd to call it Contact Sales when you want to cancel. Maybe we can move the option to cancel your subscription to the technical request in the cloud contact us page instead of under I have a sales request?
Spec for reference: https://docs.google.com/document/d/1O_2d5cWtH3-8sq2wdHuHpfbSbxjPkfuzNJTdas71dRo/edit#bookmark=id.c7xmi1v4ly1h

I'm just thinking it might be a point of confusion since the customer clicked the "Contact Support" button and the form sets them up with "I need to contact sales" automatically.

Agreed, @matthewbirtch thoughts on wording?
At the same time it's odd to call it Contact Sales when you want to cancel. Maybe we can move the option to cancel your subscription to the technical request in the cloud contact us page instead of under I have a sales request?
Spec for reference: https://docs.google.com/document/d/1O_2d5cWtH3-8sq2wdHuHpfbSbxjPkfuzNJTdas71dRo/edit#bookmark=id.c7xmi1v4ly1h

@marianunez shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

@marianunez shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

Yes, it should but currently CWS doesn't support the second parameter to be preselected. I will create a follow-up ticket to implement outside of this PR.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

+1 on 'Contact Us' wording. @pablovelezvidal could you update the button text to that?

shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

Yes, it should but currently CWS doesn't support the second parameter to be preselected. I will create a follow-up ticket to implement outside of this PR.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

+1 on 'Contact Us' wording. @pablovelezvidal could you update the button text to that?

@marianunez shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

The ticket to follow up this PR is MM-31935

@marianunez shouldn't it preselect the "I want to cancel my Mattermost account" option though? It doesn't seem to be doing that for me.

As for the language confusion, one simple way to alleviate some of the confusion would be to simply change the button from 'Contact Support' to 'Contact Us' on system console cancelation section. The resulting page title is 'Contact Us' anyway

The ticket to follow up this PR is MM-31935

/update-branch

/update-branch

authors: marianunez mattermod matthewbirtch pablovelezvidal stevemudie