Release 1.14

@rultor release, tag=1.14

@rultor release, tag=1.14

@uklimaschewski OK, I will release it now. Please check the progress here

@rultor release, tag=1.14

@uklimaschewski Done! FYI, the full log is here (took me 3min)

@uklimaschewski For your information, the upload to Maven central is broken, there is only one jar (no source or javadoc) and that one only contains the META-INF directory.

@RobertZenz Thanks for checking this. I have made changes to the pom.xml as proposed by @Sxtanna, see issue #127 and commit cba0205fa7b77d0f48d719e7d60e08bf6bbaaf4c.
I will await his reply. Then we can fix this quickly, I guess.

@uklimaschewski @RobertZenz Ah, I see. Sorry for the late response. This is due to the project not actually using the correct Maven project structure. This can be fixed with a simple refactor into the correct packages. I can PR this if needed?

@Sxtanna Yes, if you can create a PR I can test it again.

See #130 @uklimaschewski

@Sxtanna Is there a way to change the compiler source and target version from 1.8 back to 1.6 again?
I have some projects running Java 1.6 which use this library. With 1.8, they jars can't be added to their classpath.

@Sxtanna @RobertZenz  I have fixed it myself. I have created a new release 1.15. All artifacts look ok at Sonatype. They should be available at Maven Central in a few minutes.


Cannot move cursor in the editor when the source file is read-only

From<EMAIL_ADDRESS>on 2013-07-16T08:30:08Z
Spyder Version:  2.2.0
Python Version:  2.7.3
Qt Version:      4.8.2, PyQt4 (API v2) 4.9.4 on Darwin
What steps will reproduce the problem?

Using Spyder, open a python source file that is read-only

The output from 'ls -la':
-r--r--r--  1 Reed  staff   285 Jul 16 08:27 read_only_file.py

Try to place or move the cursor inside of the editor window

The editor does NOT allow you to place or move the cursor inside of it. What is the expected output? What do you see instead? Even though the file is read-only there is no reason why Spyder should prevent me from using the cursor in the editor pane. Every other editor/IDE I've tried works as expected.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1487

From ccordoba12 on 2015-01-02T19:04:54Z
Labels: Cat-Editor MS-v2.4


Logos need to shrink more on mobile portrait

They’re not shrinking enough:
https://www.cncf.io/certification/software-conformance/

Sorry, my phone broke and I needed to get my new one to confirm this was resolved.


fivemat in gemfile

often fivemat is used only for testing, but in the Gemfile it is unconditional.  Please make it conditional.

The gemfile is only for dev/testing, the dependencies are in the gemspec


HACBS-794 Add Pull Request workflow

This commit implements a pull request workflow that performs the
following:

clones a given repository
creates a branch with a provided name
applies changes based on a provided diff file
commits changes with a standard message
pushes commit to the given remote
creates a PR for the provided branch targeting a given branch

Signed-off-by: Rob Nester<EMAIL_ADDRESS>

As a note, some portions of the "setup" code - ie authorization establishment, is based on personal access tokens. This will most likely change as we move forward, but this commit is a start.

LGTM


Auth current user info fix

Issue #, if available:
#592
Description of changes:
Fix the problem when using Auth.currentUserInfo() in the componentDidMount will return empty object
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #608 into master will decrease coverage by 0.07%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master     #608      +/-   ##
==========================================
- Coverage   89.27%   89.19%   -0.08%
==========================================
  Files          69       69
  Lines        3217     3221       +4
  Branches      611      612       +1
==========================================
+ Hits         2872     2873       +1
- Misses        328      330       +2
- Partials       17       18       +1

Impacted Files
Coverage Δ

packages/aws-amplify/src/Auth/Auth.ts
84.71% <25%> (-0.43%)
:arrow_down:

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 2a1428d...a38827f. Read the comment docs.

@fahrenq we are working on a release.


Does host probe support user and password authentication?

If yes, how to configure it? If no, is there any plan to support it

https://github.com/megaease/easeprobe/blob/main/docs/Manual.md#122-complete-configuration please check this link, where it contains username and password for basic auth.

config.yaml
host:
Servers List
servers: #
- name : est server
host: xx.xx.xx.xx:22
username: user1
password: xxxxxxxx
easeprobe.log
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
I can log in normally through ssh<EMAIL_ADDRESS>and the above password. Will the program handle the password in a special way, if the password contains some special characters, such as 1{]2}y? ((ab:c@+)de/fgh#$suk/<

Please reopen this issue if needed.


Fix strong dependence of nikic/php-parser

Fix issue #28

@diezztsk, sorry for long answer.
Const PARSER_VERSION is used for make unique dir for unique parser version.
Value '^3.0.6' - can be several versions.
Right solution would be use vendor/composer/installed.json for get real parser version.


Handling large .bin file

Hi, I am using gltf Model, but it contains .bin file with 140 MB. so it causes application too slow. is there any way to handle this issue ?

We would need more information to diagnose a performance issue.  Is this a load time issue or a frame rate issue?  Can you send us a link to the model?


[Help please] Upgraded firmware with the plist edit.

I am currently on IOS 10.3.1, happy and jailbroken. But now to test few new apps which are limited to IOS12. I edited the .plist
/System/Library/CoreServices/SystemVersion.plist - and changed the line ProductVersion to reflect 11.3
and rebooted the device. As a result lost the jailbreak.
Now neither can I rejailbreak using Meridian as it assumes it to be on IOS 11.3 nor can I access the system file to change the .plist.
I also tried to use Helix as it is for iOS 11, but that encounters internal error.
I have tried to reset and erase content of my phone, no luck either.
Various sites spoke about file and filzaescaped, nothing helped as the phone is jailed and I cannot access system files.
Please provide me a solution. I do not want to loose the benefit of IOS 10.3.1
Any help is sincerely appreciated.

Have put request for help on:
https://www.reddit.com/r/jailbreak/comments/a2269m/discussion_upgraded_firmware_with_the_plist_edit/
Can you kindly modify the jailbreak .ipa to bypass the iOS firmware check?
Current error message is:

Meridian: Public Beta 5
found iPhone9,3 on iOS Version 11.3 (Build 14E304)
Meridian does not work on versions of iOS other than iOS 10.

My iphone 7, with 10.3.1 IOS

Sorry for the bad news there but it looks like you're stuck as it is HIGHLY recommended that you don't mess around with the systemversion.plist nor any other system files in the file system as you will in fact mess something up or brick your device. In the future, use the tweak MakeCydiaBuyAgain as it lets you easily and safely change your system version and phone identifier to install packages for different firmwares and devices and easily change it back without doing risky things with your file system. sorry


Restructure logging approach to make it more SOLID

🎯 Context
While we haven't standardized the logging and started discussing it, I'm pushing a logging proposal which has as a main goal to achieve a better separation of concerns on top of current logging system.
We need to standardize it, since we need logging in the player (follow-up PR).
Notes:

The main point I would like to highlight in the proposal is not so much those decisions that we can achieve with different approaches (which we can discuss and agree on, such as when to log and when not to log, use of world/singleton/etc), but more on the separation of concerns itself. With this approach, we can separate more the object responsible for actually performing the logging and what we are logging and when to log, instead of keeping them all together.
Another matter I had in mind when implementing this proposal was to keep an abstraction layer of the logging which actually hides the third party details and types from the callers. This means we could potentially change the library used by another one and have less changes throughout the code since we would change only the abstraction layer and not everywhere it’s used. I believe levels would be more or less same in different libraries, probably only metadata could potentially offer something different than value string. But in that hypothetical migration first step, keeping all as string would work out of the box anyway.
On the minor side, I also changed for the logger not to be initialized every time we call the log func. Therefore, I’ve created a logger for auth and for player. So we end up with one logger per module by following current structure. However, we can also have one and use the same throughout if desired, since we can split the domains of each log with the source field. Or keep creating one each time as is now. Another point which we can change since all of those different approaches work anyway.
I’ve applied the World approach which is already used in Player, but of course the same can be achieved with a typical singleton or initializer injection. That can be easily changed. I’ve added a live (which can be used when user of the sdk wants to log) and noop (when they don’t). The same can be achieved with a flag provider, also easily changed as we wish.

⁉ Opinions, ideas, suggestions?
We can discuss the details, but I’d recommend starting from more top level purpose, which was to separate the concerns. After that is agreed, we can spend time on the implementation details, since many approaches can work well to fit our needs. Thanks!
📝 Description

Add Logging only in Common, removing it from Auth package
Remove logHandlerFactory and bootstrap
Add LoggingLevel as an abstraction of log levels
Add protocol TidalLoggable to be implemented by modules where logging is desired
Add TidalLogger (logger abstraction) with convenience logic
Update AuthLoggable accordingly
Update usage of logging in Auth module by using the new TidaLogger abstraction
Add an auth and a player logger
Add AuthWorld to hold live/mock as needed
Add AuthWorldClient with live (with logger) and noop properties (without logger)

This pull request focuses on refactoring the logging system to use a more modular and centralized approach. The changes include introducing a new TidalLogger, updating the logging calls across various files, and removing the old logging setup.
Logging System Refactor:

Introduction of TidalLogger and TidalLoggable:

Added TidalLogger struct and TidalLoggable protocol in Sources/Common/Logger. This new logger is designed to handle different logging levels and metadata. ([[1]](diffhunk://#diff-2aa1cc4116b0d5e2839fc86b7bc79f401500a84389d631342411376a3fe26e6dR1-R50), [[2]](diffhunk://#diff-08e78e80798a5cc23aa4e2dcbd90d6d0c2c7da200479a132566327246387ebfbR1-R8), [[3]](diffhunk://#diff-1f4a5dab40292dcb363e804042e8d54dd2a190ba3faa9a9c54bbfca83a88f705R1-R5))
Created a new LoggingLevel enum to standardize logging levels. ([Sources/Common/Logger/LoggingLevel.swiftR1-R9](diffhunk://#diff-14cb512ecbe511814adceeb3280e73591578a251cabf4d433d5d7f073083fca3R1-R9))

Centralized Logging Configuration:

Introduced AuthWorldClient with .live and .noop configurations to enable or disable logging easily. ([[1]](diffhunk://#diff-fdc45fc7f7f308b5dbd1fedbf486674bcc5fd86ce9e63ff48795aa08d0ddaca1R1-R5), [[2]](diffhunk://#diff-9e011e2e07a490c77c4625c51ec232e3b5e3ac27dbb6ce0f9b81a153e0216cacR1-R6), [[3]](diffhunk://#diff-60754d4e050b1f7702071283c764840d34652bd4e16f9230a9850b3400cdc885R1-R4), [[4]](diffhunk://#diff-c42da598b32759d61e69a42169b2e4c5c708554d789d317197c0ae5a9855a0d6R1-R4))

Updates in Auth Module:

Replaced direct logging calls with AuthWorld.logger?.log(loggable:) in LoginRepository, TokenRepository, and other related files. ([[1]](diffhunk://#diff-87ec4c99dd07012f864daeb311db8eff2865f7c9f859b1a92f15c4b0bed90484L74-R75), [[2]](diffhunk://#diff-87ec4c99dd07012f864daeb311db8eff2865f7c9f859b1a92f15c4b0bed90484L115-R117), [[3]](diffhunk://#diff-87ec4c99dd07012f864daeb311db8eff2865f7c9f859b1a92f15c4b0bed90484L135-R137), [[4]](diffhunk://#diff-4745cdb29b7337aceb48bab3b11a3159cbb9647a1cd6bada8f070baaaeebea32L76-R76), [[5]](diffhunk://#diff-4745cdb29b7337aceb48bab3b11a3159cbb9647a1cd6bada8f070baaaeebea32L88-R103), [[6]](diffhunk://#diff-4745cdb29b7337aceb48bab3b11a3159cbb9647a1cd6bada8f070baaaeebea32L139-R145))
Removed old logging setup from AuthConfig and TidalAuth. ([[1]](diffhunk://#diff-7c7fe90c8cf780d832cc68e9a9cf9021b5205b2d10f4d1daf979761aeb2bbd27L2-L4), [[2]](diffhunk://#diff-7c7fe90c8cf780d832cc68e9a9cf9021b5205b2d10f4d1daf979761aeb2bbd27L16), [[3]](diffhunk://#diff-7c7fe90c8cf780d832cc68e9a9cf9021b5205b2d10f4d1daf979761aeb2bbd27L27-R23), [[4]](diffhunk://#diff-7c7fe90c8cf780d832cc68e9a9cf9021b5205b2d10f4d1daf979761aeb2bbd27L39), [[5]](diffhunk://#diff-ad17e3b9cd207410fc2ed842ec2d419e502845dd463ec0bc8b7f5a7681aa2977L21-L24))

Code Cleanup:

Removed unnecessary imports and simplified the logging metadata handling in AuthLoggable. ([[1]](diffhunk://#diff-d910fe98295f2580c56afe45dcb39b89424621b4da819fede87aeecc1d944683L1-R4), [[2]](diffhunk://#diff-d910fe98295f2580c56afe45dcb39b89424621b4da819fede87aeecc1d944683L27-R27), [[3]](diffhunk://#diff-d910fe98295f2580c56afe45dcb39b89424621b4da819fede87aeecc1d944683L56-R74), [[4]](diffhunk://#diff-d910fe98295f2580c56afe45dcb39b89424621b4da819fede87aeecc1d944683L83-R83), [[5]](diffhunk://#diff-d910fe98295f2580c56afe45dcb39b89424621b4da819fede87aeecc1d944683L92-R93))

Package Dependencies:

Updated Package.swift to reflect new dependencies and removed the old logging dependency from Auth. ([[1]](diffhunk://#diff-f913940c58e8744a2af1c68b909bb6383e49007e6c5a12fb03104a9006ae677eR73-R75), [[2]](diffhunk://#diff-f913940c58e8744a2af1c68b909bb6383e49007e6c5a12fb03104a9006ae677eL108))

Again, I'd like the highlight the purpose was to make it more SOLID, with a better separation of concerns:

I got it and I am fully on your side, it is a good intention 🙂 But this PR is a concrete implementation and I have questions
to it.

Again, I'd like the highlight the purpose was to make it more SOLID, with a better separation of concerns:

I got it and I am fully on your side, it is a good intention 🙂
But this PR is a concrete implementation of this idea and I have questions to it. I think it is better to have a call and discuss it there

Yes, to move further with an implementation, I had to make some choices, which is why I wrote that in the description to properly set expectations for reviewers.
Yes, I think having a call is a great idea. First I wanted to reply to all the comments (thanks for the feedback again!) so we have a proper place from where to start discussing. 🤓

Agreed to have a separate logger, and remaining points will be further discussed later with more details. So I will close this PR which already served its purpose of starting discussion.


Add Chinese(Taiwan) Translation.

Sorry if I did it wrong.

Looks fine (I can't verify the strings, but technically it's ok), thank you.


bots: Remove githook-post-receive link.

Based on commits cdedb8593 and 58a8934a8 it seems to be unused.

Automated message from Dropbox CLA bot
@rwbarton, it looks like you've already signed the Dropbox CLA. Thanks!


Geography filter on admin service does not work

I'll be using this branch to break off smaller branches, and eventually close this off.

Closing in favour of smaller better PRs


ERROR: You must have read and write access in the current directory

When trying to move from postgres 14.7-alpine to pgautoupgrade/pgautoupgrade 15-alpine3.8, I keep getting the error You must have read and write access in the current directory.
Log Output:
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: mv: can't rename '/var/lib/postgresql/data/old': Invalid argument
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/PG_VERSION' -> '/var/lib/postgresql/data/old/PG_VERSION'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/base' -> '/var/lib/postgresql/data/old/base'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/core' -> '/var/lib/postgresql/data/old/core'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/global' -> '/var/lib/postgresql/data/old/global'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/old' -> '/var/lib/postgresql/data/old/old'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_commit_ts' -> '/var/lib/postgresql/data/old/pg_commit_ts'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_dynshmem' -> '/var/lib/postgresql/data/old/pg_dynshmem'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_hba.conf' -> '/var/lib/postgresql/data/old/pg_hba.conf'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_ident.conf' -> '/var/lib/postgresql/data/old/pg_ident.conf'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_logical' -> '/var/lib/postgresql/data/old/pg_logical'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_multixact' -> '/var/lib/postgresql/data/old/pg_multixact'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_notify' -> '/var/lib/postgresql/data/old/pg_notify'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_replslot' -> '/var/lib/postgresql/data/old/pg_replslot'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_serial' -> '/var/lib/postgresql/data/old/pg_serial'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_snapshots' -> '/var/lib/postgresql/data/old/pg_snapshots'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_stat' -> '/var/lib/postgresql/data/old/pg_stat'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_stat_tmp' -> '/var/lib/postgresql/data/old/pg_stat_tmp'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_subtrans' -> '/var/lib/postgresql/data/old/pg_subtrans'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_tblspc' -> '/var/lib/postgresql/data/old/pg_tblspc'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_twophase' -> '/var/lib/postgresql/data/old/pg_twophase'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_wal' -> '/var/lib/postgresql/data/old/pg_wal'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/pg_xact' -> '/var/lib/postgresql/data/old/pg_xact'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/postgresql.auto.conf' -> '/var/lib/postgresql/data/old/postgresql.auto.conf'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/postgresql.conf' -> '/var/lib/postgresql/data/old/postgresql.conf'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: '/var/lib/postgresql/data/postmaster.opts' -> '/var/lib/postgresql/data/old/postmaster.opts'
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: PostgreSQL 14 database files found, upgrading to PostgreSQL 15
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: Initialising PostgreSQL 15 data directory
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: The files belonging to this database system will be owned by user "matrix".
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: This user must also own the server process.
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: The database cluster will be initialized with locale "C".
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: The default database encoding has accordingly been set to "SQL_ASCII".
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: The default text search configuration will be set to "english".
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: Data page checksums are disabled.
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: fixing permissions on existing directory /var/lib/postgresql/data/new ... ok
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: creating subdirectories ... ok
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: selecting dynamic shared memory implementation ... posix
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: selecting default max_connections ... 100
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: selecting default shared_buffers ... 128MB
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: selecting default time zone ... UTC
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: creating configuration files ... ok
Aug 17 21:33:50 matrix.linuxdelta.com matrix-postgres[281930]: running bootstrap script ... ok
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: performing post-bootstrap initialization ... ok
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: syncing data to disk ... ok
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: Success. You can now start the database server using:
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]:     /usr/local/bin/pg_ctl -D /var/lib/postgresql/data/new/ -l logfile start
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: initdb: warning: enabling "trust" authentication for local connections
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: You must have read and write access in the current directory.
Aug 17 21:33:51 matrix.linuxdelta.com matrix-postgres[281930]: Failure, exiting
Aug 17 21:33:51 matrix.linuxdelta.com systemd[1]: matrix-postgres.service: Main process exited, code=exited, status=1/FAILURE
Aug 17 21:33:51 matrix.linuxdelta.com systemd[1]: matrix-postgres.service: Failed with result 'exit-code'.
  The very first line of the output there seems to be where it started going wrong:
mv: can't rename '/var/lib/postgresql/data/old': Invalid argument

That's a very strange error for it to output, but then keep on doing.
Oh... I'm guessing that's probably not the output from the very first run (?), so it probably already has the old directory there from a previous attempt.  Maybe.

It looks like it's successfully creating the new subdirectory, and initialising PostgreSQL 15 into that.
But it looks like the whole process is dying shortly afterwards, prior to the pg_upgrade part of the script running.

At a minimum, we should probably add some precautionary checks to the start of the process to make sure there's no existing old or new subdirectories present (indicating a previous failure).
Also, it probably wouldn't hurt to add some more verbose progress logging so that knowing what's going on is easier.
I'll make some updates now, and push a 15-dev tag shortly if you're ok to try again with a data directory that you haven't attempted to upgrade yet?

With the mentions of matrix in places, does that mean this database is for the Matrix communications thing?
https://matrix.org
I've not tried that out yet, but if the same problem happens with Matrix databases created for a new setup then that would give me something to experiment with. :smile:

Hmmm, there seem to be several backend server possibilities:
https://matrix.org/ecosystem/servers/
If this is the correct Matrix thing, please let me know which one I should try out in order to replicate the problem locally. :smile:

Yes this is for a Matrix server that we run for our community. It is setup and configured using this ansible playbook (https://github.com/spantaleev/matrix-docker-ansible-deploy).  We need to upgrade the postgres database from 14 to 15 and the documentation is to export the database and then re-import which with a database that is 300 to 400 GB takes a long time so we are looking for a better way to upgrade the database.

Yeah I would definitely be up for testing changes to see if they work.

The server that we are using is synapse

Thanks.  I'm adjusting things with the extra logging at the moment.  Need to run the test harness against that (shortly), so probably have something you can try in about 20-30 mins. :smile:

k.  I've just pushed a new docker image with the plain dev tag (eg pgautoupgrade/pgautoupgrade:dev).  Please try that with a "clean" data directory you haven't tried upgrading yet, then paste the log output from that.
It's super likely to break in the exact same way as before, but at least now it should output enough info to narrow down WHERE and potentially WHY it's breaking. :smile:

I've just pushed a new dev image which might fix the problem.  It simply sets the "current directory" to be inside the PG data directory before running pg_upgrade.
The failure really could be that simple. :smile:

I ran with the dev image and it did make it further but it then failed again.
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: PostgreSQL Database directory appears to contain a database; Skipping initialization
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: *******************************************************************************************
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: Performing PG upgrade on version 14 database files.  Upgrading to version 15
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: *******************************************************************************************
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: ----------------------------------------------------------------------
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: Checking for left over artifacts from a failed previous autoupgrade...
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: ----------------------------------------------------------------------
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: -------------------------------------------------------------------------------
Aug 18 14:52:36 matrix.linuxdelta.com matrix-postgres[346061]: No artifacts found from a failed previous autoupgrade.  Continuing the process.
  Initialising new database with that collation
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: ---------------------------------------------------------------------------------------
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: Initialising PostgreSQL 15 data directory
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: The files belonging to this database system will be owned by user "matrix".
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: This user must also own the server process.
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: The database cluster will be initialized with locale "C".
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: The default database encoding has accordingly been set to "SQL_ASCII".
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: The default text search configuration will be set to "english".
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: Data page checksums are disabled.
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: fixing permissions on existing directory /var/lib/postgresql/data/new ... ok
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: creating subdirectories ... ok
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: selecting dynamic shared memory implementation ... posix
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: selecting default max_connections ... 100
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: selecting default shared_buffers ... 128MB
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: selecting default time zone ... UTC
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: creating configuration files ... ok
Aug 18 14:52:37 matrix.linuxdelta.com matrix-postgres[346061]: running bootstrap script ... ok
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: performing post-bootstrap initialization ... ok
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: syncing data to disk ... ok
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: Success. You can now start the database server using:
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]:     /usr/local/bin/pg_ctl -D /var/lib/postgresql/data/new/ -l logfile start
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: initdb: warning: enabling "trust" authentication for local connections
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: ---------------------------------------
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: Running pg_upgrade command, from /var/lib/postgresql/data
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: ---------------------------------------
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: Performing Consistency Checks
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: -----------------------------
Aug 18 14:52:38 matrix.linuxdelta.com matrix-postgres[346061]: Checking cluster versions                                   ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking database user is the install user                  ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking database connection settings                       ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking for prepared transactions                          ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking for system-defined composite types in user tables  ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking for reg* data types in user tables                 ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Checking for contrib/isn with bigint-passing mismatch       ok
Aug 18 14:52:39 matrix.linuxdelta.com matrix-postgres[346061]: Creating dump of global objects                             ok
Aug 18 14:52:42 matrix.linuxdelta.com matrix-postgres[346061]: Creating dump of database schemas                           ok
Aug 18 14:52:43 matrix.linuxdelta.com matrix-postgres[346061]: encodings for database "template1" do not match:  old "UTF8", new "SQL_ASCII"
Aug 18 14:52:43 matrix.linuxdelta.com matrix-postgres[346061]: Failure, exiting
Aug 18 14:52:43 matrix.linuxdelta.com systemd[1]: matrix-postgres.service: Main process exited, code=exited, status=1/FAILURE
Aug 18 14:52:43 matrix.linuxdelta.com systemd[1]: matrix-postgres.service: Failed with result 'exit-code'.

Thanks, that's super helpful. :smile:
Two messages in the log are standing out to me:
mv: can't rename '/var/lib/postgresql/data/old': Invalid argument

and:
encodings for database "template1" do not match:  old "UTF8", new "SQL_ASCII"

The first one is clearly not fatal, but will need investigating anyway for safety.
The second one clearly is.  It's probably a result of the initdb arguments you showed in your original message:
POSTGRES_INITDB_ARGS=--lc-collate C --lc-ctype C --encoding UTF8

I've not personally come across a situation before where UTF8 is used with the C locale.  There's nothing really wrong with doing that however.
I'll update the scripting to use that environment variable if present, which should (in theory) make it more robust and also work for this situation. :smile:

Btw, after that above failure your entire (working) set of database files is in the old subdirectory.
You should be able to nuke the new subdirectory (failed upgrade files are in there), then move the contents of the old directory into your main PostgreSQL directory, ready to try again.  Oh, delete the now empty old subdirectory after doing that too, as the newer pgautoupgrade scripting will abort if that's present at run time. :smile:

I'm substantially refactoring the upgrade scripting at the same time, so it'll probably take a few more hours before there's something you can test. :wink:

@darkdecoy There's a new dev tagged image for you to try.
This one has about an 80% chance of working completely successfully for you. :smile:

This time it did the upgrade and started the database server successfully. Going to do some further tests to ensure that the matrix server continues to function but what I have seen so far this is a much faster upgrade path than exporting the data and then reporting which took 2 days.

Awesome! :smile:
Out of curiosity, how long did it take for this pgautoupgrade approach to run (prior to the database start)?

Started systemd service at Aug 21 22:14:47
Server started and listening at Aug 21 22:15:06

19 seconds.  Cool, that's a pretty fast upgrade compared to 2 days. :grin:


Backport SSL CONTEXT

https://github.com/elastic/elasticsearch-py/pull/635/files

Duplicate of #41


Support xeus cling

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe must have a build/number section.

cc: @chrisburr.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

cc: @SylvainCorlay

@ioanaif just in case I noticed you accidentally committed multiple .DS_Store files :)


Tar allt

@Anders564 Hello there, it looks like you're learning how to use Github, since this is your first issue. Can you better explain the issue you've raised? Do you need any help?


if possible let metagpt to write a program to let it self-upgrade

what does self-upgrade mean?

maybe it needs evaluation to guide how to learn itself or tell it which or what is the end~

for now most of the code

maybe it needs evaluation to guide how to learn itself or tell it which or what is the end~

the guide can be the mathematical conjecture?

self-upgrade / self-evolve / bootstrap: optimize MetaGPT's code by itself

Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.


Remove parent if all the child items are swiped.

After swiping the last child item I want my parent to be removed from recyclerview , I am deleting the parent from List but its crashing because of notifydatasetchanged, how can I programmatically delete the parent?
Code:
public void onPerformAfterSwipeChildReaction(RecyclerView.ViewHolder holder, int parentPosition, int childPosition, int result, int reaction) {
final long expandablePosition = RecyclerViewExpandableItemManager.getPackedPositionForChild(parentPosition, childPosition);
final int flatPosition = mExpandableItemManager.getFlatPosition(expandablePosition);
    if (reaction == RecyclerViewSwipeManager.AFTER_SWIPE_REACTION_REMOVE_ITEM) {
        if (mEventListener != null) {
            notifyItemRemoved(flatPosition);
            mEventListener.onChildSwipedFromParent(parentPosition, childPosition);
        }

    }
}

And on callback of onChildSwipedFromParent(), I am checking if the child count is 0 for a parent , I am deleting the parent from the list.

Hi. Please check the issue #70, I have posted a sample code which handles the same problem. However the issue #70 is written for a bit old version of this library, so I will port it for the latest version later.


[1.10.2] Remote Storage dimension access button has wrong tooltip

When you look into the remote storage block you have the option to toggle on or off if there should be access to it if you are in another dimension. When I want to have that, it tells me "Cross-dimension access enabled" which is correct. When I unselect it, the title says "Inter-dimensional access only", which means basically the same thing. This should be "Inner-dimensional access only". To further simplify it, I would change it to "Cross-dimensional access disabled" or something.
Minecraft Version 1.10.2
Forge <IP_ADDRESS>4
RFTools 1.10-4.67

Fixed next release


python310Packages.gios: 2.3.0 -> 3.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.gios is: Python client for getting air quality data from GIOS
meta.homepage for python310Packages.gios is: https://github.com/bieniu/gios
meta.changelog for python310Packages.gios is: https://github.com/bieniu/gios/releases/tag/3.0.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.0.0 with grep in /nix/store/x7wwazgbqafnxikvr2gpvzj1c566aq9m-python3.10-gios-3.0.0
found 3.0.0 in filename of file in /nix/store/x7wwazgbqafnxikvr2gpvzj1c566aq9m-python3.10-gios-3.0.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.gios
python310Packages.gios
python311Packages.gios

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x7wwazgbqafnxikvr2gpvzj1c566aq9m-python3.10-gios-3.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.gios https://github.com/r-ryantm/nixpkgs/archive/344da044d5d5bedf80fb1172f0c914421d71e076.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x7wwazgbqafnxikvr2gpvzj1c566aq9m-python3.10-gios-3.0.0
ls -la /nix/store/x7wwazgbqafnxikvr2gpvzj1c566aq9m-python3.10-gios-3.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.gios

2 packages built:

python310Packages.gios
python311Packages.gios

Maintainer pings
cc @fabaff for testing.

@wegank why draft?

@ofborg build home-assistant-component-tests.gios


Adds an optional delay to responses  and errors (viz #106, #109)

Description
I was looking to add delays to my mock responses, and noticed there was prior discussion in #106 and an abandoned implementation in #109. That last one seems to have been discarded due to the proposed API changes, in particular the server.On*** methods returning futures. However, I don't think these are necessary for the feature. After all, the method we're meaning to delay (the result of DioAdapter.fetch()) is already async, so no breaking API changes are necessary.
PR features

Adds the ability to optionally delay a mock reply (through MockServer.reply()) or error (through MockServer.error()) by passing an optional delay: Duration? argument.
No breaking API changes, only new optional arguments added.
Tested using fake_async so there's no need to wait for the actual time to pass in tests.

Sample usage
import 'package:dio/dio.dart';
import 'package:http_mock_adapter/http_mock_adapter.dart';

void main() async {
  final dio = Dio(BaseOptions());
  final dioAdapter = DioAdapter(dio: dio);

  const path = 'https://example.com';

  dioAdapter.onGet(
    path,
    (server) => server.reply(200, {'message': 'Success!'},
        delay: const Duration(seconds: 2)),
  );

  // This will now take 2 seconds
  final response = await dio.get(path);

  print(response.data); // {message: Success!}
}

Let me know your thoughts!

Thank you for your contribution @ElteHupkes.
I'll review as soon as I can.

@ElteHupkes thanks again man! Really appreciate it. ✌🏻


Revise command-line interface

This bundles a couple of tweaks and improvements to the CLI:

Changed the order of the parameters as they are listed in the CLI help. In particular, --openapi is the first parameter.
Removed the default value of --openapi and made it a required parameter instead. It's very unlikely that a file named openapi.yml exists. By making it a required parameter, users will get a better error message when they don't pass --openapi and the file does not exist.
Added more descriptive argument help names. E.g. instead of --output <output>, --output <path> is shown in the CLI help.
Changed parameter alias -co to --co in order to be consistent with the other aliases --ll and --ds.
Added a program description OpenAPI-based HTTP Client SDK code generator which is shown in the CLI help. Before, it just printed Description: without any text.

This is how the output of --help now looks like:
Description:
  OpenAPI-based HTTP Client SDK code generator

Usage:
  kiota [options]

Options:
  -d, --openapi <path> (REQUIRED)                                         The path to the OpenAPI description file used to generate the code files.
  -o, --output <path>                                                     The output directory path for the generated code files. [default: ./output]
  -l, --language <CSharp|Go|Java|PHP|Python|Ruby|Shell|Swift|TypeScript>  The target language for the generated code files. [default: CSharp]
  -c, --class-name <name>                                                 The class name to use for the core client class. [default: ApiClient]
  -n, --namespace-name <name>                                             The namespace to use for the core client class specified with the --class-name option. [default: ApiSdk]
  --ll, --loglevel <Critical|Debug|Error|Information|None|Trace|Warning>  The log level to use when logging messages to the main output. [default: Warning]
  -b, --backing-store                                                     Enables backing store for models. [default: False]
  -s, --serializer <classes>                                              The fully qualified class names for serializers. Accepts multiple values. [default:
                                                                          Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory|Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory]
  --deserializer, --ds <classes>                                          The fully qualified class names for deserializers. Accepts multiple values. [default: Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory|Microsoft.Kiota.Serialization.Text.TextParseNodeFactory]
  --clean-output, --co                                                    Removes all files from the output directory before generating the code files. [default: False]
  --version                                                               Show version information
  -?, -h, --help                                                          Show help and usage information

Two more suggestions:

I would suggest to rename the --openapi parameter to --input/-i or even make it a positional parameter. It is very common to name the primary input parameter of a program -i.
Remove the default value for --language and make it a mandatory parameter. If I understand the idea behind Kiota correctly, the tool is supposed to be a generic language generator, so it seems a bit arbitrary to default to C# as default language (even if C# may be best supported at the moment, support for other languages will eventually catch up). Instead, it might be better to require users to explicitly set the language.

Could you also update the docs as well please? https://github.com/microsoft/kiota/blob/main/docs/using.md

Done in 593cd08d70dbde8cf266963ccdd9d79d951fadd0. Also did some additional minor fixes/updates there.

The reason why the input is named openapi and not input is because it's aligned with another tool called hidi, which takes multiple inputs. We've spent a lot of time making sure the experience was consistent across the tools. I'm not against having an alias for that parameter though.

I see. In that case, I'll leave it as it is for now.

The reason why the input is not required is because people using kiota in a container can use it with volume mapping and map to the same exact name, forcing them to specify the name would be redundant. Do you think it'd make sense to leave it optional? or better yet, maybe we could make it required only when not running in a container (setting an environment variable from the dockerfile, and reading it here)

Ah, makes sense. But how about setting the input file name in the Dockerfile instead:
ENTRYPOINT ["dotnet", "kiota.dll", "--openapi", "openapi.yml"]

I think that would work.

Agreed with the language parameter, please go ahead an make the change.
I hope this helps finalizing this pull request.

Great, I made the change in 6aab9f032181748b2d1acfbf97e7ff9dd5d38f22.

Did some additional tweaks to the docs and adjusted the entrypoint in the Dockerfile: 319a8a0f5ed36adeb5c3b64fe42efea652e730fe
Haven't tested it though.


DETA.SH is banning this! Plz suggest alternatives

Deta.sh is banning this, suggest an alternative free of cost

please show me how you have deploed it

can  you please make a video how you have did it because my is not banned yet

Can we connect on telegram mate?
@MR_S0LO
On Mon, 8 May, 2023, 3:52 pm ScRiPt1337, @.***> wrote:

can you please make a video how you have did it because my is not banned
yet
—
Reply to this email directly, view it on GitHub
https://github.com/ScRiPt1337/Teardroid-phprat/issues/67#issuecomment-1538081052,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNYPHEYEP2QKVIDUL4VCOTXFC64ZANCNFSM6AAAAAAXZNAPIU
.
You are receiving this because you authored the thread.Message ID:
@.***>

yes but we should keep you convo related to this issue here so other also can learn and solve there issue related to this

Ok i will let you know here by making video
On Mon, 8 May, 2023, 3:55 pm ScRiPt1337, @.***> wrote:

yes but we should keep you convo related to this issue here so other also
can learn and solve there issue related to this
—
Reply to this email directly, view it on GitHub
https://github.com/ScRiPt1337/Teardroid-phprat/issues/67#issuecomment-1538088451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNYPHF5BREAODKDDLGJICLXFC7I5ANCNFSM6AAAAAAXZNAPIU
.
You are receiving this because you authored the thread.Message ID:
@.***>

okay bro

[image: image.png]
{it will open deta.space on your browser and ask you to click on the search
bar and click on setting then generate access token
copy the access token and paste it in the terminal or cmd
it will setup the panel for you automatically and give you the panel url at
the end when the deployment is done}
could not understand bro! how to do this? when i first time tried your
project ,probably 1 year ago ..then i did this successfully ,after some
days ,control panel was not found (probably deta banned that project)..but
now deta maybe updated their interface ,could not recognize your
instructions ,,plz check it
On Mon, May 8, 2023 at 2:59 AM ScRiPt1337 @.***> wrote:

okay bro
—
Reply to this email directly, view it on GitHub
https://github.com/ScRiPt1337/Teardroid-phprat/issues/67#issuecomment-1538097965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNYPHCQKBYIRXSYIPFSBMLXFC7W3ANCNFSM6AAAAAAXZNAPIU
.
You are receiving this because you authored the thread.Message ID:
@.***>

[image: image.png]
On Tue, May 9, 2023 at 2:02 AM Mahim Ahmed @.***>
wrote:

[image: image.png]
{it will open deta.space on your browser and ask you to click on the
search bar and click on setting then generate access token
copy the access token and paste it in the terminal or cmd
it will setup the panel for you automatically and give you the panel url
at the end when the deployment is done}
could not understand bro! how to do this? when i first time tried your
project ,probably 1 year ago ..then i did this successfully ,after some
days ,control panel was not found (probably deta banned that project)..but
now deta maybe updated their interface ,could not recognize your
instructions ,,plz check it
On Mon, May 8, 2023 at 2:59 AM ScRiPt1337 @.***>
wrote:

okay bro
—
Reply to this email directly, view it on GitHub
https://github.com/ScRiPt1337/Teardroid-phprat/issues/67#issuecomment-1538097965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNYPHCQKBYIRXSYIPFSBMLXFC7W3ANCNFSM6AAAAAAXZNAPIU
.
You are receiving this because you authored the thread.Message ID:
@.***>

mate ,i successfully build this ....detas interface was changed,nothing
else ....what can i do with shell? you just specified 2 shell commands
,anything else without these 2 ?
On Tue, May 9, 2023 at 2:06 AM Mahim Ahmed @.***>
wrote:

[image: image.png]
On Tue, May 9, 2023 at 2:02 AM Mahim Ahmed @.***>
wrote:

[image: image.png]
{it will open deta.space on your browser and ask you to click on the
search bar and click on setting then generate access token
copy the access token and paste it in the terminal or cmd
it will setup the panel for you automatically and give you the panel url
at the end when the deployment is done}
could not understand bro! how to do this? when i first time tried your
project ,probably 1 year ago ..then i did this successfully ,after some
days ,control panel was not found (probably deta banned that project)..but
now deta maybe updated their interface ,could not recognize your
instructions ,,plz check it
On Mon, May 8, 2023 at 2:59 AM ScRiPt1337 @.***>
wrote:

okay bro
—
Reply to this email directly, view it on GitHub
https://github.com/ScRiPt1337/Teardroid-phprat/issues/67#issuecomment-1538097965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNYPHCQKBYIRXSYIPFSBMLXFC7W3ANCNFSM6AAAAAAXZNAPIU
.
You are receiving this because you authored the thread.Message ID:
@.***>

you can run any shell command android support


Add ISSNs

We have ISSNs. They are in the database already. Please add them where appropriate. This means at least at the journal overview pages, and maybe more discretely also at the Paper page.

When I look at other sites having the ISSN displayed, the ISSN number is preceded by Quarterly, Monthly, Bimonthly, etc.  For now, the publication frequency will be ignored, as it is currently not in the database.  Unless @Deleetdk would prefer I go ahead and add this field.

We don't have issues and volumes. If they must be used in some context, I think I put it in 1, 1 hardcoded somewhere.


LwM2M: temp sensor fixes

Initial min / max values were set to 0.  These weren't updating correctly when dealing with negative temps.
Fix copy/paste check for handling max measured values

Updated w/ V2: Noticed that the NOTIFY_OBSERVER calls were updating the wrong resources in update_min_measured() and update_max_measured().


Added 64 bit RISC-V platform support

utest and tsduck-test tests are passed (except test-019 (dektec related))
verified on ubuntu 23.10, gcc 13.2
$ tsp --version=all
tsp: TSDuck - The MPEG Transport Stream Toolkit - version 3.37-3602 Built Jan 13 2024 - 18:28:07
Using GCC 13.2.0, C++ std 2017.03
System: Ubuntu (Ubuntu 23.10), on RISCV-64, 64-bit, little-endian, page size: 4096 bytes Acceleration: CRC32: no, AES: no, SHA-1: no, SHA-256: no, SHA-512: no Bitrate: 64-bit floating-point value
Dektec: This version of TSDuck was compiled without Dektec support VATek: libvatek version 3.10
Web library: libcurl: 8.2.1, ssl: OpenSSL/3.0.10, libz: 1.2.13 SRT library: libsrt version 1.5.2
RIST library: librist version 0.2.7, API version 4.2.0
Related issue (if any):
no related issue
Affected components:
TSDuck library
Brief description of the proposed changes:
RISC-V 64 bit support (only formal things, no real changes)

Interesting. What kind of system did you use? Is this one of the RISC-V single-board computers which is supported by Ubuntu Core?

I have tested on qemu,
image: https://cdimage.ubuntu.com/ubuntu/releases/mantic/release/ubuntu-23.10-preinstalled-server-riscv64.img.xz
manual: https://wiki.ubuntu.com/RISC-V/QEMU
It's a bit slow, but it works

Hi @svlobanov
I have merged it. I also updated the test-suite to exclude Dektec command line tests on non-Intel CPU's. Previously, the test was to exclude Dektec tests on Arm CPU's.
Could you please confirm that all tests now pass on 64-bit RISC-V?

Could you please confirm that all tests now pass on 64-bit RISC-V?

Now (tsduck-test commit 7d5a8a5891454aac913803e791b9c2e3a434c2f0 ) all tests are passed (for test-123 I had to increase timeout due to CPU emulation)

I now try to detect an emulated environment in the test suite, in which case the timeout is ten times longer. The "detection" is completely arbitrary, based on the assumption that everything which is neither Intel nor Arm is potentially emulated.
See https://github.com/tsduck/tsduck-test/commit/28055bb2c450be2ffea8b4d64cbddf6eb85e4fe7


Update amqtt

This will resolve one long-standing issue (https://github.com/Yakifo/amqtt/issues/151) with pyyaml

It would be nice to run tests on CI again.

Yeah, indeed. Thanks for that!
Can you please run black -l 79 on this branch?

@pschmitt Done.

Looks like build cache become stale or so.

Yeah let's see how this runs on main ;)

Oh. I missed one important thing, sorry. Just one minute…

I'll open PR for this :)


Sigh fails with an exception if Appfile doesn't contain credentials for the lane (Running from Jenkins)

I changed my lane name, but forgot to change the for_lane section in the Apple to match.  The following happened.
/bin/sh -xe /var/folders/1_/vs3c7xkj74n1ktl65wq8vkl80000gn/T/hudson653614735305346618.sh
+ export PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
+ PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
+ export LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ cd ios
+ fastlane jenkins
[14:56:08]: Driving the lane 'jenkins' 🚀
[14:56:08]: ------------------
[14:56:08]: --- Step: sigh ---
[14:56:08]: ------------------
[14:56:25]: Starting login
[14:56:25]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username: [14:56:25]: Variable Dump:
[14:56:25]: {:ENVIRONMENT=>nil, :PLATFORM_NAME=>nil, :LANE_NAME=>"jenkins"}
[14:56:25]: undefined method `strip' for nil:NilClass

+------+--------+-------------+
|      fastlane summary       |
+------+--------+-------------+
| Step | Action | Time (in s) |
+------+--------+-------------+
| 1    | sigh   | 17          |
+------+--------+-------------+

[14:56:25]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/highline-1.7.2/lib/highline/question.rb:413:in `remove_whitespace': undefined method `strip' for nil:NilClass (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/highline-1.7.2/lib/highline.rb:873:in `get_line'
	from /Library/Ruby/Gems/2.0.0/gems/highline-1.7.2/lib/highline.rb:891:in `get_response'
	from /Library/Ruby/Gems/2.0.0/gems/highline-1.7.2/lib/highline.rb:264:in `ask'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.11.1/lib/fastlane_core/configuration/configuration.rb:136:in `fetch'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.3/lib/sigh/spaceship/runner.rb:11:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.3/lib/sigh/manager.rb:7:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/actions/sigh.rb:20:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:128:in `block in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:127:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:127:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/fast_file.rb:120:in `method_missing'
	from (eval):3:in `block (2 levels) in parse'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/lane.rb:29:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/lane.rb:29:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:50:in `block in execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:44:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/runner.rb:44:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/lane_manager.rb:36:in `cruise_lane'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/lib/fastlane/command_line_handler.rb:31:in `handle'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/bin/fastlane:35:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/bin/fastlane:124:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.12.0/bin/fastlane:130:in `<top (required)>'
	from /usr/bin/fastlane:23:in `load'
	from /usr/bin/fastlane:23:in `<main>'

#######################################################################
# fastlane 1.14.0 is available.
# It is recommended to use the latest version.
# Update using 'sudo gem update fastlane'.
# To see what's new, open https://github.com/KrauseFx/fastlane/releases.
#######################################################################

Thanks, fixed :+1:


Flutter Inspector on device UI polish: visual change when entering select mode.

Show a mode change when first entering inspect mode (there’s no visual difference currently, so it’s not always clear to the user that clicking the inspect button did anything).
For example, show target icons in the corners of the screen.

Should this be moved to flutter/flutter-intellij?
@devoncarew

Keep this here as the change is to package:flutter


No mention in the README if it works with Django 3 or not.

@jayenashar It likely does but it is untested. You are welcome to submit a PR to ensure it does via a test. I haven't had time to work on that.


Feature: valignImg

I know I said we didn't need valign on images in phase 1. But now that we're on to phase 2, let's get it done!

If valign on images is working, then I can’t tell, because “bottom” doesn’t look like it goes down to a descender, I don’t know what middle is doing. Top does seem to work. Maybe I just don’t understand how they are supposed to work, and maybe there needs to be an extra option.

Here's what I'm expecting, maybe my expectations are just wrong.
baseline - This seems to work as I'd expect. What I'm expecting is that the bottom of the icon is aligned with the baseline of the font.
middle - The icon should center itself between he ascender and decender of the font.
bottom - The icon's bottom should align at the bottom of the font descender.
top - The icon's top should align at the top of the font ascender.
If my expectations are wrong, then what I'd like is to have extra options added that will meet my expectations.

Current status
Icon images:

Inline images:

Looks like this is working but highlights an issue with vertical alignment where bottom valigned text without any descender or top valigned text with a lot of headspace in the font metrics looks kind of wack. But I don't know that it's worth the trouble to try to fix that, or even whether it's a real bug.

Please close if you're satisfied with how it's working.

Updated to the latest and still not getting the valign to work right.

Here's my text:
let text = `baseline <baseline imgSrc="thinking"></baseline>
top <top imgSrc="thinking"></top>
bottom <bottom imgSrc="thinking"></bottom>
middle <middle imgSrc="thinking"></middle>
`;

Here's my style:
const style = {
  default: {
    fontFamily: "Arial",
    fontSize: "24px",
    fill: "#000000",
    imgDisplay : 'icon',
  },
  top: { valign: "top" },
  middle: { valign: "middle" },
  bottom: { valign: "bottom" },
  baseline: { valign: "baseline" },
}

What am I doing wrong?

I think what's going on is something to do with the tags being on only one word (or image in this case), rather than the entire line of text. I bet it's got some issue where it's not checking the whole line for the valign stuff. I'll try to set up a test for this.
here's my example code for reference:
// Vertical Alignment
const valignStyle = {
default: {
fontFamily: "Arial",
fontSize: "24px",
fill: "#cccccc",
align: "left",
valign: "baseline",
},
code: {
fontFamily: "Courier",
fontSize: "36px",
fill: "#ff8888",
},
small: { fontSize: "14px" },
top: { valign: "top" },
middle: { valign: "middle" },
bottom: { valign: "bottom" },
baseline: { valign: "baseline" },
img: { imgSrc: "valignImg", imgDisplay: "inline" },
};
const valignImg = PIXI.Sprite.from("./icon.png");
let valign = new RichText(`Top Vertical  Alignment.
Middle Vertical  Alignment.
Bottom Vertical  Alignment.
Baseline Vertical  Alignment.`,
valignStyle,
{ imgMap: { valignImg }, debug: true }
);

I've updated my text to this, and yes it works now. So your assessment is correct.
<baseline>baseline <thinking></thinking></baseline>
<top>top <thinking></thinking></top>
<bottom>bottom <thinking></thinking></bottom>
<middle>middle <thinking></thinking></middle>

@rizen Your example wasn't wrong though. I think that's still a bug.

I agree. Just confirming your thoughts.

This appears to be fixed since the last time we reviewed it. Probably part of #7

I wanted to double check this by setting the default text size to 12px (from 36) and also looks ok.

@rizen Closing this for now. Please let me know if you're still seeing issues.


Update terraform import example

Looks like the word group_id stayed in when we decided to use real-world IDs instead of the word

Thanks @iamjarvo !


Mac OS Installer/Package Broken

Description
Create a darwin package to be used to install the app to a mac os system
Additional information
No response

This was done in #536 but I do not have a MacOS machine to test this.
Anyone with a Mac, can you download the dmg file from one of the CI actions and report back whether this works.
https://github.com/timmo001/system-bridge/actions/workflows/ci.yml
The config for the creation of the DMG file is here:
https://github.com/timmo001/system-bridge/pull/536/files

Here's what I get from the v2.0.0 release.
Darwin enterprise.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 arm64

Mounted disk image:

File list:
.
├── Applications -> /Applications
└── out
    ├── LICENSE
    ├── package.json
    ├── system-bridge
    ├── system-bridge-circle.ico
    ├── system-bridge-circle.png
    ├── system-bridge-tray
    ├── traybin
    │   └── tray_darwin_release
    └── xdg-open

3 directories, 8 files

To get it to even try to run, I had to do a security dance (e.g.: allow blocked application because app is not signed from an identified develop in Security & Privacy -> General with:

out/system-bridge
out/system-bridge-tray
out/xdg-open
out/traybin/tray_darwin_release

Even after this dance, app fails with the following:
2021-07-17 22:58:51 info: -----------------------------------------------------------------------------------------------------------------------
2021-07-17 22:58:51 info: System Bridge 2.0.0: ["/Users/james/Desktop/out/system-bridge","/snapshot/system-bridge/dist/main.js"] - undefined
2021-07-17 22:58:51 info: -----------------------------------------------------------------------------------------------------------------------
2021-07-17 22:58:51 info: Main - Open Tray: /Users/james/Desktop/out/system-bridge-tray
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [NestFactory] Starting Nest application...
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +21ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] WinstonModule dependencies initialized +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] AudioModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] BatteryModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] BluetoothModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] CommandModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] CpuModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] DisplayModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] FilesystemModule dependencies initialized +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] GraphicsModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] InformationModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] KeyboardModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] MemoryModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] NetworkModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] NotificationModule dependencies initialized +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] OpenModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] OsModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] ProcessesModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] SystemModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] TypeOrmCoreModule dependencies initialized +4ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] TypeOrmModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] AppModule dependencies initialized +2ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] EventsModule dependencies initialized +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [InstanceLoader] SettingsModule dependencies initialized +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] AudioController {/audio}: +53ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/audio, GET} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/audio/:id, PUT} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] BatteryController {/battery}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/battery, GET} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] BluetoothController {/bluetooth}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/bluetooth, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] CommandController {/command}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/command, POST} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] CpuController {/cpu}: +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/cpu, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] DisplayController {/display}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/display, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] FilesystemController {/filesystem}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/filesystem, GET} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] GraphicsController {/graphics}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/graphics, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] InformationController {/information}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/information, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] KeyboardController {/keyboard}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/keyboard, POST} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] MemoryController {/memory}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/memory, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] NetworkController {/network}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/network, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] NotificationController {/notification}: +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/notification, POST} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] OpenController {/open}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/open, POST} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] OsController {/os}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/os, GET} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] ProcessesController {/processes}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/processes, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/processes/:name, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] SettingsController {/settings}: +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/settings/:key, DELETE} route +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/settings, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/settings/:key, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/settings, POST} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/settings/:key, PUT} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RoutesResolver] SystemController {/system}: +1ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [RouterExplorer] Mapped {/system, GET} route +0ms
[Nest] 75604  - 07/17/2021, 10:58:51 PM     LOG [NestApplication] Nest application successfully started +1ms
2021-07-17 22:58:51 info: Main - API started on port 9170
2021-07-17 22:58:51 info: Main - RTC broker created on path /rtc
2021-07-17 22:58:51 info: WebSocket - New client registered
2021-07-17 22:58:51 info: WebSocket - New event: open-rtc
2021-07-17 22:58:51 info: Main - Event: open-rtc
2021-07-17 22:58:51 error: Error: 36:69: execution error: System Events got an error: Can’t get login item "system-bridge". (-1728)

    at ChildProcess.<anonymous> (/snapshot/system-bridge/node_modules/applescript/lib/applescript.js:49:13)
    at ChildProcess.emit (node:events:365:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2021-07-17 22:58:51 error: Error: 36:69: execution error: System Events got an error: Can’t get login item "system-bridge". (-1728)

    at ChildProcess.<anonymous> (/snapshot/system-bridge/node_modules/applescript/lib/applescript.js:49:13)
    at ChildProcess.emit (node:events:365:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

I just learned about this project in a round-about way this evening, so I'm not sure what the user experience is intended to be. If you're trying to replicate the typical experience - I'd expect the out folder to be wrapped in a .app bundle that I can drag/drop to the Applications folder link that is inside the DMG.
I hope this is helpful!

Additional information:
Running out/traybin/tray_darwin_release:
❯ ./tray_darwin_release
{"type": "ready"}

EOF
panic: runtime error: index out of range [0] with length 0

goroutine 22 [running]:
github.com/getlantern/systray.SetIcon(...)
	/Users/runner/go/pkg/mod/github.com/getlantern/systray@v1.1.0/systray_nonwindows.go:34
main.onReady.func2()
	/Users/runner/work/systray-portable/systray-portable/tray.go:160 +0xe8c
created by main.onReady
	/Users/runner/work/systray-portable/systray-portable/tray.go:141 +0xe5

out/system-bridge-tray will start, but it doesn't do anything because the service won't run.
❯ ./system-bridge-tray
2021-07-17 23:13:22 info: Tray - Setup
2021-07-17 23:13:22 info: Tray - Import
2021-07-17 23:13:22 info: Tray - Import Default
2021-07-17 23:13:22 info: Tray - Imported
2021-07-17 23:13:22 info: Tray - Create Tray
2021-07-17 23:13:22 info: Tray - Started
2021-07-17 23:15:15 info: Tray - Open Settings: http://localhost:9170/app?apiKey=4ee1090d-7a2e-40d2-ab3f-9b158ccfe5a9&apiPort=9170&id=configuration&title=Settings&wsPort=9172

❯ wget http://localhost:9170/app\?apiKey\=4ee1090d-7a2e-40d2-ab3f-9b158ccfe5a9\&apiPort\=9170\&id\=configuration\&title\=Settings\&wsPort\=9172
--2021-07-17 23:16:00--  http://localhost:9170/app?apiKey=4ee1090d-7a2e-40d2-ab3f-9b158ccfe5a9&apiPort=9170&id=configuration&title=Settings&wsPort=9172
Resolving localhost (localhost)... ::1, <IP_ADDRESS>
Connecting to localhost (localhost)|::1|:9170... failed: Connection refused.
Connecting to localhost (localhost)|<IP_ADDRESS>|:9170... failed: Connection refused.

In terms of building the app bundle, I think that's pretty easy.
I happened to see another repo doing something similar with the dmg builder you're using. https://github.com/kefir500/apk-icon-editor. I think crafting the package should be pretty easy, but getting this to work would be step one. I have an Intel Mac available to me, so if I can't get this running on the ARM node then I'll try it over there. I'm curious if system-bridge-tray is/should be calling the daemon as a child process.

Thanks for the report!
I've pushed a change in #547 to create a SystemBridge.app bundle using a couple of guides (Thanks for the links btw) and will release a new app version soon which will hopefully have made an app bundle packaged inside a dmg file. I'm very much a beginner on Mac OS applications so anyone who has the knowledge, please don't hesitate to give advice or open a PR with changes

I downloaded SystemBridge.app and saw the following:

From Console.app:
default	19:04:34.125770-0500	lsd	Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Volumes/System%20Bridge/SystemBridge.app/Contents/, NSFilePath=/Volumes/System Bridge/SystemBridge.app/Contents/PlugIns, NSUnderlyingError=0x7ffc5cf1bfc0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default	19:04:34.125806-0500	lsd	- 45683955: Checking whether application is managed at file:///Volumes/System%20Bridge/SystemBridge.app/dev.timmo.system-bridge

It looks like it's formed some kind of app bundle but it's incorrectly structured...
Anyone experienced with Mac OS app bundles, could you take a look at the setup here and see if it's correct?
https://github.com/timmo001/system-bridge/blob/master/.github/workflows/ci.yml#L213
https://github.com/timmo001/system-bridge/blob/master/scripts/Info.plist

I super hate that #602 fails, but I just got access to an Intel Mac, and got this:

I should have some cycles tomorrow afternoon to try this again without interruption, and I'll see if I can get it working.

@jfryman did you get chance to take a look at any point?

Anyone with knowledge of the MacOS app architecture, can look at these lines in the CI:
https://github.com/timmo001/system-bridge/blob/master/.github/workflows/ci.yml#L222-L227
Without a Mac myself, this isn't possible to test. Can the app be ran from the macos-out artifact or is that broken too?

@jfryman @timmo001 I have an intel mac and can test builds and report findings, but I don't know a thing about developing for OS X.  Please @ me if I can assist.

How would we go about trying to run the mac-os out version? There is a file called system-bridge in the package, but I'm not sure what type of file it is in order to open it.

It's a binary file. You could try to run it through the terminal but I believe MacOS has some kind of protection against apps that aren't packaged in a .app directory structure

This is what happens for me when trying to run from the terminal:
(base) j % chmod +x ./system-bridge
(base) j % ./system-bridge
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
  Referenced from: /var/folders/r8/g4q6n6ds1bvb21vv5srh5pkw0000gn/T/6d1abb6cd2542ea78aa283dccf3ff5e00c2481ebed4ac13240ba8ef43550a63e/robotjs.node
  Expected in: flat namespace

dyld: Symbol not found: _node_module_register
  Referenced from: /var/folders/r8/g4q6n6ds1bvb21vv5srh5pkw0000gn/T/6d1abb6cd2542ea78aa283dccf3ff5e00c2481ebed4ac13240ba8ef43550a63e/robotjs.node
  Expected in: flat namespace

zsh: abort      ./system-bridge

I've been playing with this a bit to see if I can find what the issue is. I'm not a node or yarn expert at all, I'm primarily a C developer, but I have two macbooks (one running macOS 11 on ARM and one running macOS 10.15 on x64) that I can test on.
What I've done so far:

Downloaded latest macos_out.zip from the latest run of the Actions (https://github.com/timmo001/system-bridge/actions/runs/1418092386 was the latest when I tried this)
chmod +x ./system-bridge
chmod +x ./system-bridge-tray
chmod +x ./tray/tray-darwin-release
./system-bridge (fails macOS security checks, go to preferences, security, open anyway, ...)
(repeated this step as it tried to start system-bridge-tray and failed, and then tray-darwin-release and failed)
./system-bridge

It seems to be functional at this stage, with some errors. The tray pops up (it's quite large by macOS standards) and I can get to the local settings via the tray in Firefox. There are errors in the console:
`2021-11-04 19:38:04 info: System Bridge 2.7.8: /Users/apalrd/Downloads/macos-out(1) - /Users/apalrd/Downloads/macos-out(1)/system-bridge - /Users/apalrd/Downloads/macos-out(1) - ["/Users/apalrd/Downloads/macos-out(1)/system-bridge","/snapshot/system-bridge/dist/index.js"] -  -  -  -
2021-11-04 19:38:04 info: Process Manager - PATH_API: /snapshot/system-bridge/dist/components/api/index.js
2021-11-04 19:38:04 info: Process Manager - Starting api - ["/Users/apalrd/Downloads/macos-out(1)/system-bridge","/snapshot/system-bridge/dist/components/api/index.js"]
2021-11-04 19:38:04 info: Process Manager - PATH_TRAY_EXE: /Users/apalrd/Downloads/macos-out(1)/system-bridge-tray
2021-11-04 19:38:04 info: Process Manager - Starting tray - ["/Users/apalrd/Downloads/macos-out(1)/system-bridge-tray"]
2021-11-04 19:38:04 info: Tray - 2.7.8: /Users/apalrd/Downloads/macos-out(1) - /Users/apalrd/Downloads/macos-out(1)/system-bridge-tray - /Users/apalrd/Downloads/macos-out(1) - ["/Users/apalrd/Downloads/macos-out(1)/system-bridge-tray","/snapshot/system-bridge/tray/dist/index.js"] -  -  -  -
2021-11-04 19:38:04 info: Tray - Create Tray
2021-11-04 19:38:05 info: API - /Users/apalrd/Downloads/macos-out(1) - /Users/apalrd/Downloads/macos-out(1)/system-bridge - /Users/apalrd/Downloads/macos-out(1) - ["/Users/apalrd/Downloads/macos-out(1)/system-bridge","/snapshot/system-bridge/dist/components/api/index.js"] -  -  -  -
2021-11-04 19:38:05 info: API - API started on port 9170
2021-11-04 19:38:06 error: API - 36:69: execution error: System Events got an error: Can’t get login item "system-bridge". (-1728)
2021-11-04 19:38:06 info: API - RTC broker created on path /rtc
2021-11-04 19:38:06 info: Events - Listening
2021-11-04 19:38:06 info: EventsGateway - New client registered
2021-11-04 19:38:06 info: Tray - Started
Failed to update prerender files for /app/settings [Error: ENOENT: no such file or directory, mkdir '/snapshot'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/snapshot'
}
Failed to update prerender files for /app/data [Error: ENOENT: no such file or directory, mkdir '/snapshot'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/snapshot'
}
Failed to update prerender files for /app/logs [Error: ENOENT: no such file or directory, mkdir '/snapshot'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/snapshot'
}
2021-11-04 19:38:18 warn: API Execption - HTTP Exception: {"statusCode":404,"message":"Cannot GET /favicon.svg","error":"Not Found","body":{},"path":"/favicon.svg"}
2021-11-04 19:39:02 info: EventsGateway - New client registered
2021-11-04 19:39:02 info: Events - Get data
2021-11-04 19:39:02 info: Events - Get data: battery
2021-11-04 19:39:03 info: Events - Get data: cpu
2021-11-04 19:39:04 info: Events - Get data: filesystem
2021-11-04 19:39:13 info: Events - Get data: memory
2021-11-04 19:39:14 info: Events - Get data: network
2021-11-04 19:39:20 info: Events - Get data: os
2021-11-04 19:39:21 info: Events - Get data: processes
2021-11-04 19:39:22 info: Events - Get data: system`
From the same run of the automation, the dmg file does not work. I get the usual error:
“SystemBridge” is damaged and can’t be opened. You should move it to the Trash.
So it seems like the binary is working at least somewhat. The app bundle is still broken.
If I manually run the commands in the build script on the working folder, I end up with an app bundle:

(download Info.plist from source tree into working directory)
plutil -lint Info.plist
mkdir -p SystemBridge.app/Contents/{MacOS,Resources}
cp Info.plist SystemBridge.app/Contents
cp {system-bridge,system-bridge-tray,xdg-open,traybin/tray_darwin_release} SystemBridge.app/Contents/MacOS
cp -R system-bridge-circle.* SystemBridge.app/Contents/Resources

At this point I should have a working app bundle (The last step in the Action builds the DMG). When I try to run it, it bounces for awhile, then disappears (meaning it exited).
If I run it from the terminal, I get this error:
./SystemBridge.app/contents/MacOS/system-bridge
`2021-11-04 19:57:56 error: getVersion Error: ENOENT: no such file or directory, open '/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/package.json'
2021-11-04 19:57:56 info: System Bridge 0.0.0: /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge - /Users/apalrd/Downloads/macos-out(1) - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge","/snapshot/system-bridge/dist/index.js"] -  -  -  -
2021-11-04 19:57:56 info: Process Manager - PATH_API: /snapshot/system-bridge/dist/components/api/index.js
2021-11-04 19:57:56 info: Process Manager - Starting api - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge","/snapshot/system-bridge/dist/components/api/index.js"]
2021-11-04 19:57:56 info: Process Manager - PATH_TRAY_EXE: /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-tray
2021-11-04 19:57:56 info: Process Manager - Starting tray - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-tray"]
2021-11-04 19:57:57 error: Tray - getVersion Error: ENOENT: no such file or directory, open '/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/package.json'
2021-11-04 19:57:57 info: Tray - 0.0.0: /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-tray - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-tray","/snapshot/system-bridge/tray/dist/index.js"] -  -  -  -
2021-11-04 19:57:57 info: Tray - Create Tray
2021-11-04 19:57:57 error: Tray - Error getting icon: ENOENT: no such file or directory, open '/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-circle.icns'
2021-11-04 19:57:57 error: Tray - Uncaught Exception: Error: spawn /snapshot/system-bridge/tray/node_modules/systray2/traybin/tray_darwin_release ENOENT
2021-11-04 19:57:57 info: Process Manager - tray: Exited with code: 0 - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge-tray"]
2021-11-04 19:57:57 info: Process Manager - Mopping up processes..
2021-11-04 19:57:57 info: Process Manager - Closing..
2021-11-04 19:57:57 info: API - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge - /Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS - ["/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/system-bridge","/snapshot/system-bridge/dist/components/api/index.js"] -  -  -  -
2021-11-04 19:57:58 info: API - API started on port 9170
2021-11-04 19:57:58 error: API - 36:68: execution error: System Events got an error: Can’t get login item "SystemBridge". (-1728)
2021-11-04 19:57:58 info: API - RTC broker created on path /rtc
2021-11-04 19:57:58 info: Events - Listening
2021-11-04 19:57:58 info: EventsGateway - New client registered
2021-11-04 19:57:59 error: API - getVersion Error: ENOENT: no such file or directory, open '/Users/apalrd/Downloads/macos-out(1)/SystemBridge.app/Contents/MacOS/package.json'`
So, there are still a number of issues with it running correctly in the app bundle:

package.json is not being copied in to the bundle, and it wants it (not a shop-stopping error, but it shows the version as 0.0.0)
It's not looking for the icon files in the correct place (they are in Resources)
It's not looking for tray-darwin-release in the correct place (it's in MacOS with the other binaries, and it's expecting it in a subfolder named 'traybin'
If I correct all of those things (copied the icons into the MacOS directory, copied package.json there, put tray-darwin-release into a traybin subdirectory) then I can launch the app by double-clicking on it, it bounces for a bit in the dock as it starts, and then they tray shows up. It appears to work correctly from the web UI.

A functional set of commands to build an App Bundle:
(I had to chmod +x all of the binary files in the out folder before doing this for it to work, but that is likely because the executable flag was lost in the Zip file)
plutil -lint ./scripts/Info.plist
mkdir -p SystemBridge.app/Contents/{MacOS,Resources,MacOS/traybin}
cp scripts/Info.plist SystemBridge.app/Contents
cp out/{system-bridge,system-bridge-tray,xdg-open} SystemBridge.app/Contents/MacOS
cp out/traybin/tray_darwin_release SystemBridge.app/Contents/MacOS/traybin
cp out/system-bridge-circle.icns SystemBridge.app/Contents/Resources
cp -R out/system-bridge-circle.* SystemBridge.app/Contents/MacOS
cp out/package.json SystemBridge.app/Contents/MacOS
npx appdmg appdmg.json SystemBridge.dmg

This would of course put all of the working files in the MacOS folder (which goes against the App Bundle conventions, although that doesn't seem to be a problem) and doesn't fix the last remaining error on macOS
Failed to update prerender files for /app/data [Error: ENOENT: no such file or directory, mkdir '/snapshot']

A functional set of commands to build an App Bundle: (I had to chmod +x all of the binary files in the out folder before doing this for it to work, but that is likely because the executable flag was lost in the Zip file)
plutil -lint ./scripts/Info.plist
mkdir -p SystemBridge.app/Contents/{MacOS,Resources,MacOS/traybin}
cp scripts/Info.plist SystemBridge.app/Contents
cp out/{system-bridge,system-bridge-tray,xdg-open} SystemBridge.app/Contents/MacOS
cp out/traybin/tray_darwin_release SystemBridge.app/Contents/MacOS/traybin
cp out/system-bridge-circle.icns SystemBridge.app/Contents/Resources
cp -R out/system-bridge-circle.* SystemBridge.app/Contents/MacOS
cp out/package.json SystemBridge.app/Contents/MacOS
npx appdmg appdmg.json SystemBridge.dmg

This would of course put all of the working files in the MacOS folder (which goes against the App Bundle conventions, although that doesn't seem to be a problem) and doesn't fix the last remaining error on macOS Failed to update prerender files for /app/data [Error: ENOENT: no such file or directory, mkdir '/snapshot']

I've added your script to the build workflow. Thanks for this, hopefully this gets us closer to a working dmg file at least

I just tried using the dmg from the latest auto-build (after this commit), and it still doesn't run the app.
I can manually remove the 'quarantine' flag on my computer after adding installing (quarantine flag is added to downloaded files)
xattr -r -d com.apple.quarantine /Applications/SystemBridge.app
And then it runs fine. So it seems like the bundle is correct, but it's not happy with an unsigned app downloaded from the internet.

OK, well signing is not something I am willing to do, so at least the package works unsigned. Its the same for windows, there are no free ways of signing a package as far as I can tell.
I'll close up this issue now the package works as intended.


Add missing root border opacity CSS var

Description
It looks like there is an issue with the latest modifications of the border colors on the main branch. Let's add .border-warning in the documentation when .border is not used:
### Additive

{{< example class="bd-example-border-utils" >}}

{{< /example >}}

### Subtractive

{{< example class="bd-example-border-utils bd-example-border-utils-0" >}}

{{< /example >}}

Here is the rendering:

We can see in the browser that --bs-border-opacity is not set in those cases:

This PR is a proposal to define a default value for this CSS var in _root.scss.
Note: if this modification is correct, I didn't know if you prefer to have the value stored in $border-opacity or not.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
My change introduces changes to the documentation
I have updated the documentation accordingly
I have added tests to cover my changes
[x] All new and existing tests passed

Related issues
N/A
Live preview

Thanks Julien, nice catch— again!
@mdo shouldn't we use local variables for such case? Not quite sure about the vert way forward, here.

I think the bigger issue unfortunately is that our utilities API hasn't aged well with the CSS variable additions I've done. I'm still learning all the kinks around this, but I wonder if we don't need CSS variables for our border-color and border-width utilities. Instead, those can be property: value rules. Saves on having to add a global or local (to .border-{color}) CSS variable for those.
Thoughts?


How do you bind Ctrl+space?

Hi, thanks for the plugin! I'm really enjoying it! :tada:
I'm trying to bind Ctrl+space to "preview" but I'm having trouble
Things I've tried:

Mod 32 (this is the keycode for the space bar key from https://www.toptal.com/developers/keycode)
Mod Space
Mod Spacebar
Mod (blank space)

Do you have any suggestions on what else to try?

Sorry for my late answer, @axelson :)
Regrettably, the code assigned to the Space key conflicts with the space character used as a delimiter alongside modifier keys. I will explore potential implementations to enable configuration of the Space key 👍

One week isn't late at all to me! On my open source projects I often take a month to respond :sweat_smile:
Thank you for looking into it!

@axelson
Released in v11.3.0 🚀
Now, you can set Mod Space 😊

It works great! Thank you so much!


Image gallery (search) should have a background colour on each image as they load

This is a feature we developed but somehow disappeared at some point (I found a thread but couldn't figure out what happened around it exactly).
So this is to bring it back, the code is still partly there at least, but need to figure out what's missing.

In Prod ( @jamieparkinson 🎉 enjoy the pink)


NavigationView: hamburger button sometimes overlaps header in Minimal mode

Describe the bug
If the back button is disabled and the minimum VisualState for the width is active, the reactivating of the back button leads to the wrong VisualState. So the header is faded over.
Steps to reproduce the bug
Steps to reproduce the behavior:

disable the NavigationView back button
Change the width of the app, so that the 'Minimal' VisualState is active
active the back button again
=> wrong style view

Expected behavior
In this case, the VisualState should be 'MinimalWithBackButton' and not 'Minimal'.
Version Info

NuGet package version: 2.1.190131001-prerelease

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2018 Update (17763)
Yes

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile
Yes

Xbox

Surface Hub

IoT

Same issue.

@myokeeh what version of the nuget package are you using?

@myokeeh since version 2.1.x it works for me like it should. If it was just the wrong version for you, i'd close the ticket.

@jevansaks 2.1.190405004.2.
Steps to reproduce:

Run app.
Resize app window width to smallest possible.
Close app.
Run app.

Result: NavigationView Header text overlaps with hamburger button.
Resizing app window width wider and back fixes the issue.

@myokeeh
Can you upload a sample project with the problem? I cannot reproduce this issue.

DELETE1.zip
Attached is created using Windows Template Studio (MVVM Light) with the following changes.
App.xaml.cs:
protected override async void OnLaunched(LaunchActivatedEventArgs args)
        {
            if (!args.PrelaunchActivated)
            {
                await ActivationService.ActivateAsync(args);
            }
            //simulate app start up and other setup, navigate to main page.
            await Task.Delay(10000);
            ViewModelLocator.Current.NavigationService.Navigate(typeof(MainViewModel).FullName);
        }

DefaultLaunchActivationHandler.cs:
protected override async Task HandleInternalAsync(LaunchActivatedEventArgs args)
        {
            // When the navigation stack isn't restored, navigate to the first page and configure
            // the new page by passing required information in the navigation parameter
            //NavigationService.Navigate(_navElement, args.Arguments);

            await Task.CompletedTask;
        }

@jevansaks , @myokeeh
I can confirm that the bug is still there. But at my app I use no custom control inside the header and I have not this bug.
Visible is the bug for example also with the newest update for the XAML Controls Gallery app:

Thanks for the ping @jp-weber. @ojhad submitted another fix for this but there hasn't been a nuget update with the fix yet.

Woohoo, a fix. https://github.com/microsoft/microsoft-ui-xaml/pull/652

Oh yay @myokeeh thanks for pointing out this should be closed!