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

[MIG][16.0] Migration of vault_share #612

Merged
merged 21 commits into from
Feb 29, 2024
Merged

Conversation

fkantelberg
Copy link
Member

Based on #611

The migration needed quite a rework because of the JS framework changes. (I hope the next are easier) I tested every functionality during migration but plan to do another round again soon.

There are some minor fixes which were possible to do:

  • Creating shares is now possible using the views
  • Better file handling. Inside of an entry you can share now

@pedrobaeza
Copy link
Member

/ocabot migration vault_share

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Feb 2, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 2, 2024
22 tasks
@CarlosRoca13
Copy link
Contributor

Please rebase to get changes :)

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me 👍

@pedrobaeza
Copy link
Member

@fkantelberg this one doesn't contain commit history. Please preserve it for also analyzing the specific changes done for 16.0

fkantelberg and others added 19 commits February 29, 2024 08:04
Fix website in manifest

Run pre-commit

Move models to own files. Apply OCA conventions

Add application icon
…lect all possible users due to access rights - Disable the features if browser isn't using a secure context (https/localhost) - Load required assets in inbox and share frontends - Allow the user to switch a parent of an entry within the same vault - Allow to create entries for vaults using the main menu Entries - Fix bug that encrypted a share twice due to multiple extension with VaultAbstract - Fix a bug on share create that throws a warning about changed values
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-15.0/server-auth-15.0-vault_share
Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-vault_share/
Currently translated at 17.0% (8 of 47 strings)

Translation: server-auth-15.0/server-auth-15.0-vault_share
Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-vault_share/nl/
Currently translated at 74.4% (35 of 47 strings)

Translation: server-auth-15.0/server-auth-15.0-vault_share
Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-vault_share/nl/
Currently translated at 87.2% (41 of 47 strings)

Translation: server-auth-15.0/server-auth-15.0-vault_share
Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-vault_share/es/
@fkantelberg
Copy link
Member Author

Yes I haven't used format-patch again and the commits were shared between the vault and vault_share PR. Was weird and I re-did the entire process.

vault_share/__manifest__.py Outdated Show resolved Hide resolved
vault_share/migrations/16.0.1.1.1/post-migrate.py Outdated Show resolved Hide resolved
vault_share/models/res_config_settings.py Outdated Show resolved Hide resolved
vault_share/readme/DESCRIPTION.rst Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New standard size is 140x140. Don't you have the SVG?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was never a svg and I'm not good enough with these tools. I just used https://spilymp.github.io/ibo/ again with the new size.

@pedrobaeza
Copy link
Member

Let's not be more picky asking to squash this last commit, but there's no advantage in GitHub putting separate commits for new additions in a PR, and the commit history is a bit worse having them split.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-612-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 1cc4349 into OCA:16.0 Feb 29, 2024
9 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 41bab0e. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants