summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-0621-48/+56
|
* handle RateLimiter initialization errors (#8199)Pierre de La Morinerie2018-02-053-9/+28
| | | | | Previously, an error occuring in NewRateLimiter would return a nil reference – which would be de-referenced just after, making the server crash.
* Uncomment upgrade code for 4.7 (#8201)Joram Wilander2018-02-052-4/+5
|
* ABC-173: introduce Normalize(Username|Email) (#8183)Jesse Hallam2018-02-053-6/+38
| | | | This centralizes the source of truth on the rules for username / email processing instead of scattering `strings.ToLower` invocations.
* Fix sampledata (fake library) bug (#8198)Jesús Espino2018-02-054-2/+16
|
* Add missing diagnostics for v4.7 (#8195)Jason Blais2018-02-051-1/+5
|
* ABC-179: check email verification last (#8172)Jesse Hallam2018-02-053-10/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#8175)amyblais2018-02-051-43/+470
| | | | | | * Update NOTICE.txt * Update NOTICE.txt
* add ImageProxyOptions to default.json (#8193)Chris2018-02-021-0/+1
|
* Update zoom plugin to latest (#8194)Joram Wilander2018-02-023-6/+6
|
* Fix panic when invalid types used in post props (#8191)Joram Wilander2018-02-021-6/+6
|
* report server launch errors (#8189)Pierre de La Morinerie2018-02-021-7/+9
| | | | | | | | | | | | | | | | | | | | | 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, ``
* ABC-153: don't use http redirects with 4xx/5xx status codes (#8178)Chris2018-02-022-10/+15
| | | | | | * don't use http redirects with 4xx/5xx status codes * minor html syntax fix
* fix image url replacement for blank urls (#8184)Chris2018-02-012-1/+7
|
* [PLT-8494] Add delete_team websocket event (#8167)Saturnino Abril2018-02-012-4/+9
| | | | | | * add delete_team websocket event * add to PermanentDeleteTeam
* Update CONTRIBUTING.md (#8168)amyblais2018-02-011-29/+41
|
* Don't remove data dirs from vendor directory (#8173)Jesús Espino2018-01-311-1/+1
|
* Adding sample data to the make file (#8171)Corey Hulen2018-01-311-0/+9
| | | | | | * Adding sample data to the make file * Adding regular acct message
* Use default configurations for user-0 in sampledata (#8174)Jesús Espino2018-01-311-4/+4
|
* make channel autocomplete sort case-insensitive (#8176)Chris2018-01-311-1/+1
|
* User based rate limiting (#8152)Christopher Speller2018-01-319-95/+355
|
* ABC-79: Optimize channel autocomplete query (#8163)Chris2018-01-317-163/+261
| | | | | | * optimize channel autocomplete query * move to new autocomplete endpoint
* unnamed return (#8170)Chris2018-01-3062-1235/+430
|
* Moving to golang.org/x/crypto/acme/autocert for Let's Encrypt functionality. ↵Christopher Speller2018-01-301-13/+28
| | | | (#8165)
* translations PR 20180129 (#8164)enahum2018-01-3014-141/+1129
|
* Upgrading server dependancies (#8154)Christopher Speller2018-01-291508-24551/+181944
|
* Used a consistent tense for system messages (#8079)Harrison Healey2018-01-262-8/+8
|
* PLT-3658 Added support for Slack attachments in outgoing webhook response ↵Joey Lee2018-01-262-8/+20
| | | | (#7774) (#8102)
* XYZ-32: Increases size of position to 128 characters. (#8148)Martin Kraft2018-01-266-11/+19
| | | | | | | | | | * XYZ-32: Changes type of 'position' column on 'users' table. * XYZ-32: Uncomment to run on CI and pre-release. * XYZ-32: Reverts translation changes. * XYZ-32: Fix for gofmt.
* Fixed spelling error (#8153)der-test2018-01-261-1/+1
|
* add arch linux sandboxing mount points (#8147)Chris2018-01-251-0/+4
|
* prereq check (#8151)Derrick Anderson2018-01-252-1/+53
|
* Add GET /emojis/name/{emoji_name} API endpoint (#8142)Joram Wilander2018-01-246-3/+82
|
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-234-0/+8
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* Merge branch 'release-4.6'Harrison Healey2018-01-2318-125/+314
|\
| * translations PR 20180115 (#8107)enahum2018-01-213-13/+13
| |
| * translations PR 20180109 (#8069)enahum2018-01-1214-78/+234
| | | | | | | | | | | | * translations PR 20180109 * Fix french translation
| * Update diagnostics.go for 4.6 release (#8082)Jason Blais2018-01-101-27/+40
| | | | | | | | | | | | * Update diagnostics.go * Fix formatting error
| * PLT-8522 Added separate messages for being removed from channel or team (#8078)Harrison Healey2018-01-103-9/+29
| |
* | use markdown parsing to identify mentions (#8139)Chris2018-01-232-392/+338
| |
* | set from_webhook if a builtin slash command overrides username or icon (#8143)Chris2018-01-231-3/+9
| |
* | ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)Joram Wilander2018-01-2311-3/+381
| | | | | | | | | | | | * Add POST /emoji/search and GET /emoji/autocomplete API endpoints * Add constant to be clearer
* | PLT-3383: image proxy support (#7991)Chris2018-01-2233-32/+6080
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Add sort query parameter to GET /emojis (#8121)Joram Wilander2018-01-1910-23/+68
| |
* | Post a system message to the affected channel by CLI command (#7877) (#7968)Evgeniy2018-01-185-29/+102
| |
* | Handle missed case with ExperimentalEnableDefaultChannelLeaveJoinMessages ↵Joram Wilander2018-01-182-8/+10
| | | | | | | | setting (#8112)
* | Finally remove utils.Cfg (#8113)Chris2018-01-1720-153/+157
| | | | | | | | | | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* | ABC-73 Move session clean-up to daily task (#8095)Joram Wilander2018-01-175-22/+103
| | | | | | | | | | | | * Move session clean-up to daily task * Split delete query into batches
* | Allow deactivation of SSO users api3 (#8008)Chris Duarte2018-01-161-1/+9
| |
* | Updated dependencies and added avct/uasurfer (#8089)Harrison Healey2018-01-161402-34777/+326192
| | | | | | | | | | | | * Updated dependencies and added avct/uasurfer * Added uasurfer to NOTICE.txt