Christopher Poile
cc5e87ae24
[MM-57942] Fix a panic on password is too long ( #27449 )
...
* return error from bcrypt, handle gracefully; remove dead code
* linting
* linting
* i18n
* fix test
* fill out translations
2024-07-03 17:58:26 -04:00
Miguel de la Cruz
2aff84a72e
Sanitize RemoteEmail user prop ( #27170 )
...
* Sanitize RemoteEmail user prop
If the server is configured to hide user emails, the "RemoteEmail"
user property will be sanitized as well, effectively hiding the real
email of remote users.
* fix merge conflict
---------
Co-authored-by: Doug Lauder <wiggin77@warpmail.net >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-06-26 13:48:31 -04:00
Doug Lauder
6773d13dee
MM-58255 Ensure remote users do not get valid email addresses ( #27421 )
...
* remote users don't get valid email addresses; remote users cannot have access tokens
* block notification emails for remote users
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-06-25 09:26:08 -04:00
Scott Bishel
30454f241d
MM-56881 Validate and ensure valid CustomStatus is stored ( #26287 )
...
* don't allow invalid CustomStatus
* allow empty emoji in custom status
* lint fix
* add english translation
* update for review comments.
* fix bad fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-03-04 15:53:55 -07:00
Ben Schumacher
aad25be4e1
[MM-54434] Use job.Logger to capture ldap logs ( #24493 )
2023-10-06 22:43:21 +02:00
Jesse Hallam
bb02b35048
Expose public/ API as submodule ( #23345 )
...
* model -> public/model
* plugin -> public/plugin
* public/model/utils -> public/utils
* platform/shared/mlog -> public/shared/mlog
* platform/shared/i18n -> public/shared/i18n
* platform/shared/markdown -> public/shared/markdown
* platform/services/timezones -> public/shared/timezones
* channels/einterfaces -> einterfaces
* expose public/ submodule
* go mod tidy
* .github: cache-dependency-path, setup-go-work
* modules-tidy for public/ too
* remove old gomodtidy
2023-05-10 13:07:02 -03:00