Valentin Tolmer
363ef106e2
app: Fix attribute type parsing
2025-07-30 01:02:47 +02:00
Valentin Tolmer
da525fc99b
app: simplify attribute_type handling, display creation time in user details
...
In the user table it's still only the date, but that makes sense for an overview
2025-07-21 23:15:46 +02:00
Valentin Tolmer
8e25e9b2a4
app: Add a create user/group button at the top
2025-04-25 15:51:16 +09:00
Valentin Tolmer
0aa31a282a
app: Remove max-width in main component
2025-03-31 22:07:43 -05:00
Valentin Tolmer
ba9bcb3894
chore: Migrate all the crates to edition 2024
2025-03-30 21:32:46 -05:00
Valentin Tolmer
5afcdbda65
app, server: Add an endpoint to fetch the frontend settings
2025-03-30 20:52:39 -05:00
Simon Broeng Jensen
f5fbb31e6e
server, app: Add validation for attribute names ( #1075 )
...
This commit adds support for basic validation of attribute
names at creation, and also in the schema overview. Both
user and group attributes are validated with the same rules.
For now, attribute names will be considered valid, if they
only contain alphanumeric characters and dashes.
Validation has been added the following places:
- In graphql API, for creation of both user and group attributes.
Request will be rejected, if attribute name is invalid.
- In frontend, before submitting a request to create a new user
or group attribute. Rejection here will show an error message
including a list of the invalid characters used.
As this change adds stricter validation to attributes, and, since
the rationale for this is partly compatibility with other LDAP
systems, this change also adds a warning in the schema overviews
to any attribute using invalid characters.
2025-01-22 09:57:47 +01:00
Simon Broeng Jensen
31a0cf5a4f
app: Change default alias for User & Group schema attributes ( #1082 )
...
A number of the hardcoded attributes displayed in the User
and Group schema overviews were using aliases which contain
underscores, which is not always completely supported by
clients. Therefore, this commit changes the primary alias
for each attribute to be one without underscores.
To reduce confusion with this change, and also improve the
visibility of available aliases, this commit also includes
a list of each alias, for each hardcoded attribute. This
list will also include the old primary aliases.
2025-01-21 13:46:55 +01:00
Valentin Tolmer
4ebfd0525b
app: Allow custom attributes in group creation
2024-10-28 15:59:08 +01:00
Valentin Tolmer
305b272cdf
app: Add support for group attributes
2024-10-22 00:37:38 +02:00
Valentin Tolmer
abfe2f3a17
cargo,app,auth: Update dependencies, fix breaks
2024-10-17 00:17:41 +02:00
Valentin Tolmer
17bcd7645b
app: Clean up code, don't error on admin empty email
2024-10-05 23:10:40 +02:00
Austin Alvarado
dcba3d17dc
app: Add support for user-created attributes
...
Note: This PR doesn't handle errors around Jpeg files very well.
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com >
Co-authored-by: Austin Alvarado <pixelrazor@gmail.com >
2024-09-30 23:53:14 +02:00
Valentin Tolmer
6cf0f6df06
server: map email and display_name from attributes into user fields
2024-08-28 00:25:23 +02:00
Valentin Tolmer
6f46ffd1e4
clippy: new fixes
2024-06-16 12:18:46 +02:00
Valentin Tolmer
3d8aafaa9d
app: Improve the email reset message
2024-02-27 08:41:24 +01:00
Valentin Tolmer
f93681239b
app: default to user_id if display_name is empty, when adding users to groups
2024-02-27 08:27:33 +01:00
Austin Alvarado
fa9743be6a
app: create avatar component and reorganize a little bit ( #830 )
...
* Create avatar component and reorganize a little bit
* html fmt
* fmt
2024-02-05 07:55:49 -07:00
Austin Alvarado
8f2391a792
app: create group attribute schema page ( #825 )
2024-02-01 10:56:47 -07:00
Austin Alvarado
cc0827f271
app: update forms to use new components ( #818 )
2024-01-27 09:10:02 -07:00
Austin Alvarado
b78e093205
app: add user attributes schema page ( #802 )
2024-01-22 21:53:33 -07:00
Valentin Tolmer
2ea17c04ba
server: Move the definition of UserId down to lldap_auth
2024-01-15 23:48:59 +01:00
MinerSebas
70d85524db
app: make it possible to serve lldap behind a sub-path
2023-12-07 18:21:49 +01:00
Florian
4574538c76
clippy: fix warning for unwrap_or_default
2023-10-22 20:34:31 +02:00
Florian
9d5714ee0b
chore: update repository references
2023-10-22 19:59:36 +02:00
Valentin Tolmer
c6ecf8d58a
server: Add graphql support for setting attributes
2023-10-22 16:34:15 +02:00
Valentin Tolmer
78d370d3f4
app: Add a button to clear the avatar
2023-09-12 13:28:46 +02:00
Valentin Tolmer
d9f4adcb0e
ldap: Add support for modifying the password with a modify operation
2023-07-29 12:39:23 +02:00
Mesar Hameed
6ef229f3d0
app: Fix typos that broke accessibility labels
2023-06-18 17:08:54 +02:00
Austin Alvarado
c4b8621e2a
app: Fix password reset redirection ( #513 )
...
* Fix password reset redirection
* Add password reset enable flag
2023-03-30 09:47:41 -06:00
Austin Alvarado
80dfeb1293
app: Implement dark theme and toggle
2023-03-21 10:50:17 +01:00
Valentin Tolmer
b2cfc0ed03
app: update yew to 0.19
...
This is a massive change to all the components, since the interface
changed.
There are opportunities to greatly simplify some components by turning
them into functional_components, but this work has tried to stay as
mechanical as possible.
2023-03-20 12:11:34 +01:00
Valentin Tolmer
8d44717588
app: replace ConsoleService with gloo_console
2023-03-20 12:11:34 +01:00
Valentin Tolmer
f44e8b7659
app: wrap template arguments in braces
...
To prepare for the migration to yew 1.19
2023-03-20 12:11:34 +01:00
Valentin Tolmer
313fe3e0b7
clippy: fix new warning
2023-03-17 18:13:10 +01:00
Valentin Tolmer
bebb00aa2e
app: improve error message for wrong/expired reset token
2023-02-15 14:43:26 +01:00
Valentin Tolmer
62104b417a
app: probe for password reset support
2023-02-13 20:24:20 +01:00
DarkSpir
e92947fc3b
app: Change input field to password type in change_password ui ( #443 )
...
Change input field type for field old_password from its default "text" to "password"
Fixes #442
2023-02-13 09:29:54 +01:00
Valentin Tolmer
e89b1538af
server,app: migrate to sea-orm
2022-11-25 15:35:48 +01:00
Lewis Larsen
ba0dc33583
app: front end improvements
...
Added colour to required asterisks
Added padding to the footer
Added bootstrap class to select elements
Added various icons to buttons
Fixed various button layouts
Reworded some messages
Moved around some form elements
Fixes #12
2022-11-03 15:40:02 +01:00
Valentin Tolmer
e81c87f288
server,app: Add support for resetting your password with email
...
Instead of just username
Fixes #267
2022-10-29 15:04:45 +02:00
Valentin Tolmer
6c21f2ef4b
clippy: fix warning by implementing Eq
2022-09-27 06:54:29 +02:00
Valentin Tolmer
686bdc0cb1
app: Add support for modifying an avatar
2022-08-09 13:03:28 +02:00
Valentin Tolmer
3acc448048
server: Add support for users' avatars in GrahpQL
2022-08-09 13:03:28 +02:00
Jun-Cheol Park
05719642ca
Fix: Change input filed to password type in change_password ui ( #273 )
2022-07-26 11:07:44 +02:00
Iván Izaguirre
5c584536b5
frontend: Add UUID and creation date
...
This exposes the new info in the GraphQL API, and adds it to the frontend.
2022-07-21 12:10:37 +02:00
Valentin Tolmer
2f1bf87102
app: propagate change events
2022-06-30 17:14:13 +02:00
Valentin Tolmer
b54fe9128d
app: Implement login refresh
2022-05-11 17:14:41 +02:00
Valentin Tolmer
c7f45b12ac
app: add bottom padding to avoid overlap with the footer
2022-04-25 10:34:22 +02:00
Valentin Tolmer
0ccedc6717
app: Fix password reset
2022-04-17 23:14:10 +02:00