| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* Add invalidation metrics for store caches
* Increment session invalidation metric
* Fix tests
|
| |
|
|
|
|
|
|
|
|
| |
* Default APIv3 to disabled for new installs
* Add EnableAPIv3 setting to client config
* Enable APIv3 for needed tests
|
|
|
|
|
|
|
|
| |
* remove global site url
* missed one
* revert mysterious change
|
|
|
|
|
|
| |
* MM-9556 Added ability to upload files without a multipart request
* MM-9556 Handled some unusual test behaviour
|
|
|
|
|
|
| |
* Prevent changing PluginSettings.EnableUploads through the API
* Contain api4 test case in it's own test
|
|
|
|
|
|
|
|
| |
* remove license globals entirely
* fix infinite recursion
* test fix
|
|
|
|
|
|
|
|
|
|
| |
* eliminate utils.SetLicense calls
* test fix
* another test fix
* more test fixes
|
|
|
|
|
|
| |
* sign error page parameters
* add comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only a handful of critical errors are present in the codebase.
They all occur during server startup (in `app.StartServer()`).
Currently, when one of these critical error occurs, it is simpled
mentionned in the logs – then the error is discarded, and the app
attempts to continue the execution (and probably fails pretty quickly in
a weird way).
Rather than continuing operations in an unknow state, these errors should
trigger a clean exit.
This commit rewrites critical startup errors to be correctly
propagated, logged, and then terminate the command execution.
Additionnaly, it makes the server return a proper error code to the
shell.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ABC-179: check email verification last
This change changes the authentication checks to be:
* "preflight checks"
** mfa
** not disabled
** login attempts
* password
* "postflight checks"
** email verified
Checking whether the email is verified or not last avoids the weird edge
case where entering any bogus password for an account with an unverified
email shows a message about verifying the email and offering to resend.
* fix invalid unit test assertion
Client.CreateUser returns a user whose password has been sanitized.
Adopt the pattern in the previous assertions to use a new variable name
and test the password on the original model.User object. This didn't
expose any underlying broken behaviour, but the test wouldn't have
caught it if it had regressed.
Also fix a minor typo.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* image proxy support
* go vet fix, remove mistakenly added coverage file
* fix test compile error
* add validation to config settings and documentation to model functions
* add message_source field to post
|
| |
|
|
|
|
|
|
|
|
| |
* finally remove utils.Cfg
* fix compile error
* another test compilation fix
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* remove global config watcher
* keep config watcher disabled for tests
* compile fix
* fix resource leak
|
| |
|
|
|
|
|
|
| |
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
|
|
|
|
|
|
|
|
| |
* fix races
* revert unintentional change
* fix test as intended
|
| |
|
| |
|
|
|
|
|
|
| |
* http client refactor
* simplification
|
|
|
|
|
|
|
|
| |
* role refactor
* add missing file
* fix web test
|
| |
|
|
|
|
|
|
| |
* refactor password validation and config defaults
* reorder config lines for clarity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
team (#7752)
* Fixes system message posted to Town Square when adding/removing team member (#6483)
Fixes unit test method call to match RemoveUserFromTeam modification (#6483)
Fixes system message posted to Town Square when adding/removing team member (#6483)
Removes unnessary error message
* Updates system message when a user leaves a team (#6483)
* Changes system message when a user is removed from team (#6483)
* Adds a new string to be post to town-square when a member is added to a team (#6483)
|
|
|
|
|
|
|
|
| |
* reorganize file util functionality
* fix api test compilation
* fix rebase issue
|
|
|
|
|
|
|
|
| |
* Coping command_msg to use as command_groupmsg base
* Changing msg to groupmsg names in groumsg command
* Add groupmsg command
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Track if an APIv3 endpoint was used in the last day
* Make it atomic
|
|
|
|
|
|
|
|
|
|
| |
(as system post) at RHS (#7730)
* add post' root ID to apiv4 addChannelMember to render added user (as system post) at RHS
* add check to post_root_id parameter
* add AddChannelMemberWithRootId function for backward compatibility
|
|
|
|
|
|
|
|
| |
* Add websocket event for user role update
* Fix tests
* More test fixes
|
|
|
|
|
|
| |
* refactoring cfg refs and load / save functions
* improve error output
|
|
|
|
|
|
| |
* remove unused variables / code
* fix bug in testPostStoreGetOldest
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* remove more global refs / state
* fix job enterprise initialization
* fix api4 test compilation
* saml api endpoints fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Optimizing get root posts SQL query
* Setting session invalidation to be reliable
* Adding app reciever to SessionHasPermissionToUser
* Adding app reciever to SessionHasPermissionToTeam
* Adding app reciever to SessionHasPermissionTo
* Clear session cache if permission was denied
* Fixing rebase issues
* Revert "Optimizing get root posts SQL query"
This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7.
* Fixing build
|
| |
|
|
|
|
|
|
|
|
| |
* webhook post splitting
* style fix
* update old webhook test
|
| |
|
|
|
|
|
|
| |
* add model.NewX funcs for builtin types
* whoops, forgot to add the new file
|
|
|
|
|
|
|
|
|
|
|
|
| |
* reduce cfg boilerplate
* fix compile error
* user test fix
* another test fix
* simplify diagnostics / testing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the channel (#7619)
* Option to add user to channel if mentioned user is not currently in the channel
* instead of link from server, just add component on client side to add channel member
* change implementation using post.props
* do clean up and add test
* sanitize post.props['add_channel_member'] on post creation
* move sanitize to app.CreatePost and also apply to app.UpdatePost
|
|
|
|
|
|
|
|
|
|
|
|
| |
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
|
| |
|