| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | |
| | | |
| | | |
| | | | |
field on the server (#8235)
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add image api
* i suppose i should add a test...
* only redirect to image proxy
|
| |/
|/| |
|
| | |
|
|/
|
|
|
|
| |
* optimize channel autocomplete query
* move to new autocomplete endpoint
|
| |
|
|
|
|
|
|
| |
* Add POST /emoji/search and GET /emoji/autocomplete API endpoints
* Add constant to be clearer
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
(#8086)
|
|
|
|
|
|
|
|
| |
* Add /users/tokens/search endpoint + tests
* Fix check-style
* Unnecessary deletion
|
|
|
|
|
|
|
|
|
|
| |
* remove global config watcher
* keep config watcher disabled for tests
* compile fix
* fix resource leak
|
|
|
|
|
|
|
|
| |
* Add fake dependency
* [XYZ-6] Add sampledata platform command
* Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
|
| |
|
|
|
|
|
|
| |
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added /users/tokens/all endpoint
- UserAccessStore now has getAll method
- Added tests
- Added route
- Added handler
* Remove space fix check-style
* Remove blank space check-style
* Fixes for make check-style
* Remove extra code that is un-needed in user_test.go
* Rename endpoint + grammar
- Renamed /users/tokens/all to /users/tokens
- Renamed getUserAccessTokens to getUserAccessTokensForUser
- Renamed getAllUserAccessTokens to getUserAccessTokens
- Minor Grammar changes
* Add localization for sql_user_access_token.get_all
* Fix minor plural spelling
|
|
|
|
|
|
|
|
|
|
| |
* add admin update endpoint that can upate authservice and authdata
* Control only SystemAdmin access
* Refactored AdminUpdate endpoint to only be able to update AuthData, AuthService and Password by User.Id
* Refactor to move `PUT /api/v4/users/{user_id}/auth`. Created a struct to hold UserAuth info.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* fix races
* revert unintentional change
* fix test as intended
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* PLT-6896 Read logs from last
* Getting rid of file.Stats
* remove deprecated value
* Make non-reassigned value constant
|
| |
| |
| |
| |
| |
| |
| |
| | |
* add plugin slash command support
* remove unused string
* rebase
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bundled jira plugin
* fix generated file formatting, add prepackaged key
* whoops, uploaded wrong file
* whitelist generated files for license check
* make it work for people without go/bin in their path
|
|
|
|
|
|
| |
* Add Config to disable Auth Transfers.
* Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
|
|
|
|
| |
'info'. (#7893)
|
| |
|
|
|
|
|
|
| |
* http client refactor
* simplification
|
|
|
|
|
|
|
|
| |
* role refactor
* add missing file
* fix web test
|
|
|
|
| |
a comment (#7807)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(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
|