Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
dfcacaa
tools(guix): Add `manifest.scm`.
jnms-me Apr 24, 2026
58cf5cb
deps: Pin rust toolchain version.
jnms-me Apr 24, 2026
775ae6f
deps: Run `cargo update`.
jnms-me Apr 24, 2026
266d348
deps: Run `cargo upgrade`.
jnms-me Apr 24, 2026
cbccd14
deps(cargo): Update askama to 0.15.6.
jnms-me Apr 24, 2026
313b008
deps(cargo): Complete the migration to askama 0.15.
jnms-me Apr 24, 2026
8cbcfa7
lint: Fix rustc warnings.
jnms-me Apr 24, 2026
ffbb39c
style: Run `cargo fmt`.
jnms-me Apr 24, 2026
b1aba1a
feat: Add client column to the roles overview page.
jnms-me Apr 24, 2026
579596b
lint: Use `$crate` in macros.
jnms-me Apr 24, 2026
a70e21a
style: Organize imports.
jnms-me Apr 24, 2026
9e11fee
build: Make package.json a private module.
jnms-me Apr 24, 2026
74b3a33
style(templates): Use uniform spacing for inline rust code.
jnms-me Apr 24, 2026
d859777
style(editorconfig): Set html tab width to 2.
jnms-me Apr 24, 2026
f32f356
style(editorconfig): Set charset and whitespace control flags.
jnms-me Apr 24, 2026
f8caa77
lint(templates): Reformat and clean up html templates.
jnms-me Apr 24, 2026
3cd3b17
refactor(templates): Replace match with if-let for Result types.
jnms-me Apr 24, 2026
6320611
fix(ui): Correct typos in role page.
jnms-me Apr 24, 2026
5c7e849
style(templates/roles): Use multilines for long input tags.
jnms-me Apr 24, 2026
4402769
feat(frontend): Add editable description to the `show_role` page.
jnms-me Apr 24, 2026
92c9fca
fix: Set content-type to html for error pages.
jnms-me Apr 24, 2026
dab468a
tools(hooks): Remove preamble intended for `pre-push` from `pre-commit`.
jnms-me Apr 24, 2026
416f704
feat(backend): Implement `role_controller::update_description` route.
jnms-me Apr 24, 2026
55fa45a
tools(hooks): Add optional `cargo sort-derives` to `pre-commit` hook.
jnms-me Apr 24, 2026
5d54687
style: Sort derives.
jnms-me Apr 24, 2026
3ea25ed
style: Use consistent order for route function args and add comments …
jnms-me Apr 24, 2026
f546b59
style: Order routes in `lib.rs` in their function declaration order.
jnms-me Apr 24, 2026
b5745cb
chore(gitignore): Add `.diesel_lock`.
jnms-me Apr 24, 2026
9530567
fix(migrations): Fix diesel `schema.rs` auto-generation, update docs.
jnms-me Apr 24, 2026
5397bf3
db: Rename `users_roles` to `users_assigned_roles` and `clients_roles…
jnms-me Apr 24, 2026
723b492
db: Add `visibility` field to roles;
jnms-me Apr 24, 2026
368365b
db: Add `roles_limited_to_clients` table.
jnms-me Apr 24, 2026
ba8f62b
feat(frontend): Add editable visibility to the `show_role` page.
jnms-me Apr 24, 2026
5a9cba8
feat(frontend): Use drop-downs for client/user selection on the `show…
jnms-me Apr 24, 2026
2f52d81
feat(backend): Implement `role_controller::update_visibility` route.
jnms-me Apr 24, 2026
794927d
style: Move `roles_controller::delete_role` to bottom of source file.
jnms-me Apr 24, 2026
3ffcc15
feat(frontend): Improve error/success messages returned by `roles_con…
jnms-me Apr 24, 2026
6bacccd
feat(backend): Implement `roles_controller::add_limited_to_client` ro…
jnms-me Apr 24, 2026
a28afee
feat(backend): Implement `roles_controller::delete_limited_to_client`…
jnms-me Apr 24, 2026
5ef391d
feat(frontend): List “limited to” clients on `show_role` page.
jnms-me Apr 24, 2026
4946234
refactor(frontend): Use for-else for placeholders on `show_role` page.
jnms-me Apr 24, 2026
de08d6c
db: Fix down.sql of some old migrations.
jnms-me Apr 24, 2026
3336a94
db: Remove `client_id` from `roles`, migrating data to `visibility` a…
jnms-me Apr 24, 2026
a79163d
tests: Fix tests.
jnms-me Apr 24, 2026
5c97e8f
feat(backend): Implement `/.well-known/openid-configuration` route.
jnms-me Apr 24, 2026
c557183
dev(test_client): Improve python test_client.
jnms-me Apr 24, 2026
2957fca
tools(guix): Make manifest file shorter.
jnms-me May 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.rs]
indent_style = tab
indent_size = 4

[*.html]
indent_style = tab
indent_size = 4
indent_size = 2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ static/dist/
node_modules/
keys/*.pem
.sass-cache/
.diesel_lock
27 changes: 5 additions & 22 deletions .hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
#!/bin/sh

# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local sha1> <remote ref> <remote sha1>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).

remote="$1"
url="$2"
set -eu

cargo fmt -- --check

if cargo --list | grep -q "sort-derives"; then
cargo sort-derives --check
fi
Loading
Loading