Update deps, general cleanup, improve roles UI, add role visibility.#389
Draft
Update deps, general cleanup, improve roles UI, add role visibility.#389
Conversation
Co-authored-by: nokoe <nokoe@mailbox.org>
Co-authored-by: nokoe <nokoe@mailbox.org>
Co-authored-by: nokoe <nokoe@mailbox.org>
Co-authored-by: nokoe <nokoe@mailbox.org>
Co-authored-by: nokoe <nokoe@mailbox.org>
* .editorconfig: Set ‘charset’, ‘end_of_line’, ‘insert_final_newline’, ‘trim_trailing_whitespace’.
…indicating source of the args.
…` to `clients_assigned_roles`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #388
TODO:
roles.client_idinto visibility:NULL=>globalNOT NULL=>limited, add(role_id, client_id)toroles_limited_to_clientsrole.client_idwith visibility.906cc56 tools(guix): Add
manifest.scm.f58a04a deps: Run
cargo update.7fe6750 deps: Run
cargo upgrade.869c225 deps(cargo): Update askama to 0.15.6.
948b35a deps(cargo): Complete the migration to askama 0.15.
4439844 lint: Fix rustc warnings.
c6edf03 style: Run
cargo fmt.3d7bbe8 feat: Add client column to the roles overview page.
a3a09a0 lint: Use
$cratein macros.845befb style: Organize imports.
d18bad8 build: Make package.json a private module.
2a3c9c7 style(templates): Use uniform spacing for inline rust code.
6833f07 style(editorconfig): Set html tab width to 2.
0c5959e style(editorconfig): Set charset and whitespace control flags.
a70709c lint(templates): Reformat and clean up html templates.
484223b refactor(templates): Replace match with if-let for Result types.
bb933e1 fix(ui): Correct typos in role page.
d6a7261 style(templates/roles): Use multilines for long input tags.
fa346ec feat(frontend): Add editable description to the
show_rolepage.ec60bc5 fix: Set content-type to html for error pages.
db7e67b tools(hooks): Remove preamble intended for
pre-pushfrompre-commit.d49d6fc feat(backend): Implement
role_controller::update_descriptionroute.10f882c tools(hooks): Add optional
cargo sort-derivestopre-commithook.5803611 style: Sort derives.
c31c7f7 style: Use consistent order for route function args and add comments indicating source of the args.
c171c57 style: Order routes in
lib.rsin their function declaration order.0f3fadc chore(gitignore): Add
.diesel_lock.03e20d3 fix(migrations): Fix diesel
schema.rsauto-generation, update docs.5197621 db: Rename
users_rolestousers_assigned_rolesandclients_rolestoclients_assigned_roles.c12049e db: Add
visibilityfield to roles;479861f db: Add
roles_limited_to_clientstable.24bbbb6 feat(frontend): Add editable visibility to the
show_rolepage.398b34e feat(frontend): Use drop-downs for client/user selection on the
show_rolepage.0dcd557 feat(backend): Implement
role_controller::update_visibilityroute.46e9f57 style: Move
roles_controller::delete_roleto bottom of source file.37d3580 feat(frontend): Improve error/success messages returned by
roles_controller.e2a8689 feat(backend): Implement
roles_controller::add_limited_to_clientroute.1453aa8 feat(backend): Implement
roles_controller::delete_limited_to_clientroute.a2e51ad feat(frontend): List “limited to” clients on
show_rolepage.316adda refactor(frontend): Use for-else for placeholders on
show_rolepage.