Update deps, general cleanup, improve roles UI, add role visibility.#389
Open
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`.
316adda to
e4f3250
Compare
…nd `roles_limited_to_clients`.
8fc59c1 to
c557183
Compare
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.dfcacaa tools(guix): Add
manifest.scm.58cf5cb deps: Pin rust toolchain version.
775ae6f deps: Run
cargo update.266d348 deps: Run
cargo upgrade.cbccd14 deps(cargo): Update askama to 0.15.6.
313b008 deps(cargo): Complete the migration to askama 0.15.
8cbcfa7 lint: Fix rustc warnings.
ffbb39c style: Run
cargo fmt.b1aba1a feat: Add client column to the roles overview page.
579596b lint: Use
$cratein macros.a70e21a style: Organize imports.
9e11fee build: Make package.json a private module.
74b3a33 style(templates): Use uniform spacing for inline rust code.
d859777 style(editorconfig): Set html tab width to 2.
f32f356 style(editorconfig): Set charset and whitespace control flags.
f8caa77 lint(templates): Reformat and clean up html templates.
3cd3b17 refactor(templates): Replace match with if-let for Result types.
6320611 fix(ui): Correct typos in role page.
5c7e849 style(templates/roles): Use multilines for long input tags.
4402769 feat(frontend): Add editable description to the
show_rolepage.92c9fca fix: Set content-type to html for error pages.
dab468a tools(hooks): Remove preamble intended for
pre-pushfrompre-commit.416f704 feat(backend): Implement
role_controller::update_descriptionroute.55fa45a tools(hooks): Add optional
cargo sort-derivestopre-commithook.5d54687 style: Sort derives.
3ea25ed style: Use consistent order for route function args and add comments indicating source of the args.
f546b59 style: Order routes in
lib.rsin their function declaration order.b5745cb chore(gitignore): Add
.diesel_lock.9530567 fix(migrations): Fix diesel
schema.rsauto-generation, update docs.5397bf3 db: Rename
users_rolestousers_assigned_rolesandclients_rolestoclients_assigned_roles.723b492 db: Add
visibilityfield to roles;368365b db: Add
roles_limited_to_clientstable.ba8f62b feat(frontend): Add editable visibility to the
show_rolepage.5a9cba8 feat(frontend): Use drop-downs for client/user selection on the
show_rolepage.2f52d81 feat(backend): Implement
role_controller::update_visibilityroute.794927d style: Move
roles_controller::delete_roleto bottom of source file.3ffcc15 feat(frontend): Improve error/success messages returned by
roles_controller.6bacccd feat(backend): Implement
roles_controller::add_limited_to_clientroute.a28afee feat(backend): Implement
roles_controller::delete_limited_to_clientroute.5ef391d feat(frontend): List “limited to” clients on
show_rolepage.4946234 refactor(frontend): Use for-else for placeholders on
show_rolepage.de08d6c db: Fix down.sql of some old migrations.
3336a94 db: Remove
client_idfromroles, migrating data tovisibilityandroles_limited_to_clients.a79163d tests: Fix tests.
5c97e8f feat(backend): Implement
/.well-known/openid-configurationroute.c557183 dev(test_client): Improve python test_client.