Valentin Tolmer
c20306e85e
app: Migrate RemoveUserFromGroup to CommonComponent
2021-10-31 22:58:25 +09:00
Valentin Tolmer
a6e176b6e5
app: Migrate Logout to CommonComponent
2021-10-31 22:48:29 +09:00
Valentin Tolmer
15c1d7214d
app: Migrate GroupTable to CommonComponent
2021-10-31 22:48:29 +09:00
Valentin Tolmer
53f56ee1de
app: Migrate DeleteUser to CommonComponent
2021-10-31 22:48:29 +09:00
Valentin Tolmer
bb1b73ffcc
app: Migrate DeleteGroup to CommonComponent
2021-10-31 22:48:29 +09:00
Valentin Tolmer
d9231d4314
app: Migrate CreateUser to CommonComponent
2021-10-31 22:22:40 +09:00
Valentin Tolmer
79a1f4a4ec
app: Migrate CreateGroup to CommonComponent
2021-10-31 22:17:04 +09:00
Valentin Tolmer
1302db7f32
app: Migrate AddUserToGroup to CommonComponent
2021-10-31 22:00:14 +09:00
Valentin Tolmer
b1971621d3
app: Migrate AddGroupMember to CommonComponent
2021-10-31 22:00:06 +09:00
Valentin Tolmer
ed29afc8a6
app: Migrate Login to CommonComponent
2021-10-31 21:20:30 +09:00
Valentin Tolmer
866dc15048
app: Migrate user_details to CommonComponent
2021-10-31 21:20:19 +09:00
Valentin Tolmer
c7e07871a7
app,infra: Move more functionality in CommonComponent
2021-10-31 21:19:54 +09:00
Valentin Tolmer
5d80105d00
app: Migrate group_details to CommonComponent
2021-10-29 12:32:52 +09:00
Valentin Tolmer
f0f618422e
app: Migrate change_password to CommonComponent
2021-10-29 12:32:27 +09:00
Valentin Tolmer
50e91a931a
app: Create CommonComponent
...
This is a utility that gathers common parts of components, like task
and error handling.
2021-10-29 12:31:30 +09:00
Valentin Tolmer
026a2f7eb0
app: Fix the login button not re-enabling after failed login
2021-10-28 18:20:01 +02:00
Valentin Tolmer
aa8bbf96f8
cargo: Bump the version to 0.2.0
2021-10-20 08:58:36 +02:00
Valentin Tolmer
3df3a96d46
app: Fix login cookie expiration format
2021-10-15 10:46:17 +02:00
Valentin Tolmer
f4edb99379
app: Add style.css, improve classes
...
Also change the server to be able to serve style.css.
2021-10-15 10:46:17 +02:00
Valentin Tolmer
3912d62623
app: Disable buttons while the task is running
2021-10-15 08:05:50 +02:00
Valentin Tolmer
ead501158d
app: Migrate change password to yew_form
...
Also disable submit while the password is being sent.
2021-10-15 08:05:50 +02:00
Valentin Tolmer
88019a42c9
app: Add a proper error message to the email field
2021-10-15 08:05:50 +02:00
Valentin Tolmer
29832574c1
app: disable the login button while logging in
2021-10-15 08:05:50 +02:00
Valentin Tolmer
c4c0bb8b8e
app: Truncate the user creation date to the day
2021-10-15 08:05:50 +02:00
Valentin Tolmer
9a68563c0b
app: Disable the add user/group buttons when relevant
2021-10-15 08:05:50 +02:00
Valentin Tolmer
01c82f09eb
app: Add a page to create a group
2021-10-15 08:05:50 +02:00
Valentin Tolmer
8bd1dec180
app: Implement group management
...
Except group creation
2021-10-15 08:05:50 +02:00
Valentin Tolmer
9e9129aa3a
app: Add navigation banner
...
Unstyled as of yet.
2021-10-15 08:05:50 +02:00
Valentin Tolmer
7d21cc5126
app: Add a page with the list of groups
2021-10-15 08:05:50 +02:00
Valentin Tolmer
1ec533bd9b
app: Fix login password prompt
2021-10-06 17:58:02 +02:00
Valentin Tolmer
402ef2f83a
app: Add a component to delete a user
...
Also adds a way to hook to the bootstrap modals to show or hide them.
2021-09-24 16:46:30 +02:00
Valentin Tolmer
dfe1607a3e
app: Migrate create_user to yew_form
2021-09-20 11:23:57 +02:00
Valentin Tolmer
fa6427e694
app: Migrate login to yew_form
2021-09-20 11:23:57 +02:00
Valentin Tolmer
a952968e9f
app: Add Bootstrap classes.
2021-09-20 11:23:57 +02:00
Valentin Tolmer
00efdb42af
app: Extract a RemoveUserFromGroup component
2021-09-20 11:23:57 +02:00
Valentin Tolmer
14be1170f2
app: Extract the form component from the user details page
2021-09-20 11:23:57 +02:00
Valentin Tolmer
5943df6443
app: Extract a Select component
2021-09-20 11:23:57 +02:00
Valentin Tolmer
37c6e8ef30
app: Extract the AddUserToGroup component
2021-09-20 11:23:57 +02:00
Valentin Tolmer
7aab9e8cf5
app: Add a way to manage a user's group memberships
2021-09-20 11:23:57 +02:00
Valentin Tolmer
480f48f820
graphql: Add a method to list groups
2021-09-20 11:23:57 +02:00
Valentin Tolmer
a54e73bded
app: Add the group memberships
2021-09-20 11:23:57 +02:00
Valentin Tolmer
718da71d0d
app: Allow admins to change passwords
2021-09-20 11:23:57 +02:00
Valentin Tolmer
005e18472e
app: reorganize and add a page to change the password
2021-09-13 10:35:39 +02:00
Valentin Tolmer
d647be793a
app: Add a way for users to edit their info
2021-09-03 14:32:33 +02:00
Valentin Tolmer
2954109d96
graphql: Add a method to update a user
2021-09-03 14:32:33 +02:00
Valentin Tolmer
0ac9e134de
schema: make user fields non-nullable
...
They can always be empty. This simplifies mutation, since graphql_client
doesn't have an easy way to conditionally leave out fields (we could do
that with `@include`, but that's one bool per field in addition to the
field, a bit ugly).
2021-09-03 14:32:33 +02:00
Valentin Tolmer
564c09d6ab
app: Fix the user detail view
2021-09-03 14:32:33 +02:00
Valentin Tolmer
3eb53ba5bf
model: rename to auth
...
Since the "model" doesn't contain any message from the API anymore, and
instead contains only the structures needed for authentication, it was
renamed as such.
2021-08-31 20:32:55 +02:00
Valentin Tolmer
6efafa99c8
user_table: refactor to clarify view()
2021-08-31 20:32:55 +02:00
Valentin Tolmer
9c4f8931a0
app: Fix local timezone not taken into account
2021-08-31 20:32:55 +02:00