| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add image api
* i suppose i should add a test...
* only redirect to image proxy
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* remove license globals entirely
* fix infinite recursion
* test fix
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add prepatory code for 4.8.0
* formatting issue
* build bug
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* eliminate utils.SetLicense calls
* test fix
* another test fix
* more test fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* sign error page parameters
* add comments
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* [PTL-7537] implement feature and test
* [PTL-7537] Update feature to post the the room requiring a username flag to be used
* [PTL-7537] update tests with username
* update test to remove changes to the test helper struct
* use the basic team and user
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export
* Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo
* Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests
* Moving templates in from enterprise to solve test issues
* Added export format to diagnostics
* Changed email attachment code to use FileBackend so that S3 storage is properly supported
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* don't proxy same-site urls
* fix empty site url case
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add image api
* i suppose i should add a test...
* only redirect to image proxy
|
| |/| |
|
| |/ |
|
|/ |
|
|
|
|
| |
on/off (#8211)
|
| |
|
|
|
|
|
| |
Previously, an error occuring in NewRateLimiter would return a nil
reference – which would be de-referenced just after, making the server
crash.
|
| |
|
|
|
|
| |
This centralizes the source of truth on the rules for username / email
processing instead of scattering `strings.ToLower` invocations.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* Update NOTICE.txt
* Update NOTICE.txt
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When starting the server using `platform server`, errors occuring during
startup are not reported in the console. The command exit with a 0 exit
code (i.e. "success"), although the server failed to launch.
With this change, when an error occurs while initializing the app (like
a missing or invalid configuration file):
- the error is printed to the console;
- the command exit with a "-1" exit code.
This allow shell scripts to properly detect the startup failure, and to
react to it.
Example of error displayed:
```
$ platform server
Error: LoadConfig: Error decoding config file=config.json, err=While parsing config: invalid character ':' after top-level value,
``
|
|
|
|
|
|
| |
* don't use http redirects with 4xx/5xx status codes
* minor html syntax fix
|
| |
|
|
|
|
|
|
| |
* add delete_team websocket event
* add to PermanentDeleteTeam
|
| |
|
| |
|
|
|
|
|
|
| |
* Adding sample data to the make file
* Adding regular acct message
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* optimize channel autocomplete query
* move to new autocomplete endpoint
|
| |
|
|
|
|
| |
(#8165)
|
| |
|
| |
|
| |
|
|
|
|
| |
(#7774) (#8102)
|