Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport Bug Fixes and Crash Fixes to 2.7.7 #10250

Merged
merged 12 commits into from
Feb 4, 2024

Conversation

Colfenor and others added 12 commits January 30, 2024 18:39
…reBanner

Having the green-ish hard-coded color makes the banner stand out
too much when the platform native theming is used.
* Fix #9847 - don't provide TOTP values if settings are blank or completely wrong
* Fix #6838 - don't reset the ui when creating a new entry and applying TOTP to it
* Move totp source into the core folder
* Entry: re-parent before adding to new group

Adding the Entry to the Group will emit signals about the action.
Present the object with the correct parent already.

* fdosecrets: Item::Create() can fail

If an entry cannot be registered on DBus, Item::Create() will return a
nullptr. Basically, this can only happen if there is already an item
with the same UUID in the collection. The only viable option here is to
ignore the new entry.

* Merger: prevent duplicate entry when merging histories

If the source entry is newer, a copy of the entry is made. But before
moving the merged entry to the target group, it must be removed.
Otherwise there will be briefly two entries with the same UUID
in the same group/database.

Even though this is only the case during the transaction, it can still
be observed because the operations emit signals. A notable problem is
the fdosecrets feature that relies on the uniqueness of the UUID or will
otherwise run into problems because the UUID is used as part of the DBus
path.
@droidmonkey droidmonkey added this to the v2.7.7 milestone Jan 30, 2024
@droidmonkey droidmonkey changed the title Fix first entry is not selected when a search is performed (#9868) Backport Bug Fixes and Crash Fixes to 2.7.7 Jan 30, 2024
@droidmonkey droidmonkey merged commit 067deb9 into release/2.7.x Feb 4, 2024
9 checks passed
@droidmonkey droidmonkey deleted the backport/bug-fixes branch February 4, 2024 16:50
@phoerious phoerious added pr: bugfix Pull request that fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash 💥 pr: bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants