Commit Graph

9665 Commits

Author SHA1 Message Date
Joram Wilander
6b3c9a480a Add preparatory upgrade code for 4.9 (#8408) 2018-03-05 14:39:49 -05:00
Joram Wilander
4a1802c039 MM-9664 Add invalidation metrics for store caches (#8340)
* Add invalidation metrics for store caches

* Increment session invalidation metric

* Fix tests
2018-03-05 10:35:26 -05:00
Jesse Hallam
fbff94f3be MM-8604: emit config/license websocket events (#8371) 2018-03-05 12:18:22 +00:00
Carlos Tadeu Panato Junior
fa98175a46 fix Mozilla typo (#8395) 2018-03-05 09:37:22 +00:00
Chris
4ebf974690 remove go Publish(...) idiom (#8373) 2018-03-02 16:49:18 +00:00
Christian Hoff
2b3b6051d2 PLT-7567: Integration of Team Icons (#8284)
* PLT-7567: Integration of Team Icons

* PLT-7567: Read replica workaround, upgrade logic moved, more concrete i18n key

* PLT-7567: Read replica workaround, corrections

* PLT-7567: upgrade correction
2018-03-01 19:11:44 +00:00
Chris
51c7198d53 fix linux cap header structure (#8389) 2018-03-01 15:16:23 +00:00
Carlos Tadeu Panato Junior
4b5541db46 [PLT-8024] Support LOGIN authentication method for SMTP (#8140)
* [PLT-8024] Support LOGIN authentication method for SMTP

* added initial unit tests
2018-03-01 12:58:35 +01:00
Carlos Tadeu Panato Junior
6e024c45b5 [PLT-8186] add support for ec2 instance profile authentication (#8243) 2018-02-28 23:12:11 +00:00
George Goldberg
d2b70b8671 Simplification of a Channel Members query. (#8345) 2018-02-28 23:07:09 +00:00
Chris
600528e1cf optimize lru purging (#8381) 2018-02-28 12:07:11 -08:00
Fede
2fba6fa799 Fix prerequisites checker so 1.10 > 1.9 (#8344)
* Fix prerequisites checker so 1.10 > 1.9

* Check prerequisites sorting by dot separator
2018-02-27 17:53:27 -05:00
Joram Wilander
2782602c6e Temporarily disable flaky TestSendMailUsingConfigAdvanced test (#8379)
* Temporarily disable flaky TestSendMailUsingConfigAdvanced test

* Remove imports
v4.8.0-rc1
2018-02-27 13:07:31 -05:00
Christopher Speller
ae1acbda49 MM-9698 Fixing Minio with server side encryption. (#8367)
* Fixig Minio with server side encryption.

* Add png file backend test
2018-02-26 09:45:35 -05:00
Chris
f0f4f68def add individual platform packaging targets (#8366) 2018-02-26 02:48:56 -05:00
Christopher Speller
838295f82c Fix forward 80 to 443 to not bind on all interfaces. (#8360) 2018-02-23 18:33:36 -05:00
Derrick Anderson
babccba8f8 Merge branch 'merge47intomaster' 2018-02-23 15:34:04 -05:00
Derrick Anderson
4538857ae3 Merge remote-tracking branch 'origin/release-4.7' into merge47intomaster 2018-02-23 15:14:01 -05:00
Chris
55261a2b15 fix scheduled task race (#8355) 2018-02-23 12:56:32 -06:00
Joram Wilander
5fb4b1bc93 MM-8593 Default APIv3 to disabled for new installs (#8353)
* Default APIv3 to disabled for new installs

* Add EnableAPIv3 setting to client config

* Enable APIv3 for needed tests
2018-02-23 07:55:02 -08:00
Joram Wilander
4211a2bb3c Fall back to constructured URL for OAuth SSO if SiteURL not set (#8352) 2018-02-23 10:08:35 -05:00
Chris
d44ef7ea67 Remove global site url (#8343)
* remove global site url

* missed one

* revert mysterious change
2018-02-22 18:23:32 -06:00
Joram Wilander
1b3808f3ec Fix push notification content for file only messages (#8346) 2018-02-22 09:00:13 -05:00
Joram Wilander
659ce8c600 Change log level of 404s to DEBUG (#8339) v4.7.3 v4.7.3-rc1 v4.7.2 v4.7.2-rc3 v4.7.2-rc2 v4.7.2-rc1 2018-02-21 09:20:10 -05:00
Jesús Espino
342d05bcfc Adding saml migration command (#8263)
* Adding saml migration command

* Texts fixed
2018-02-21 14:34:03 +01:00
Christopher Speller
75d9a3a3b9 MM-8681 Adding config settings necessary for using CloudFront. (#8307)
* Adding config settings nessisary for using CloudFront.

* Adding new config settings to diagnostics.
2018-02-20 12:49:45 -08:00
Jason Blais
febc129eca Update en.json (#8332) 2018-02-20 13:56:50 -05:00
Chris
19a5d0047d MM-8710: Web Hub optimizations (#8293)
* webhub optimizations

* test fix

* minor fix

* big perf improvement to ToJson after precomputing

* fix hub connection count
2018-02-20 10:50:10 -08:00
Harrison Healey
babd795d79 MM-9556 Added ability to upload files without a multipart request (#8306)
* MM-9556 Added ability to upload files without a multipart request

* MM-9556 Handled some unusual test behaviour
2018-02-20 10:41:00 -05:00
Harrison Healey
f85d910592 Added t.Helper to CheckXStatus test functions (#8305) 2018-02-20 08:51:01 -05:00
enahum
18a1599e92 translations PR 20180220 (#8334) 2018-02-20 10:43:01 -03:00
Derrick Anderson
0145cd4da8 Merge branch 'merge-4.7' 2018-02-19 17:07:39 -05:00
Jesús Espino
c39291597b Remove unnecesary line 2018-02-19 21:09:36 +01:00
Saturnino Abril
45d7c51d9f merge 4.7.1 to master 2018-02-19 23:47:34 +08:00
Derrick Anderson
a9d4c7d4c1 Merge branch 'mm-9633' into release-4.7 v4.7.1 v4.7.1-rc1 2018-02-16 19:13:08 -05:00
JoramWilander
291432e254 Add upgrade code from 4.7.0 to 4.7.1 2018-02-16 17:14:22 -05:00
JoramWilander
98bd9a0753 Remove bad field from ChannelMemberHistory model 2018-02-16 17:03:12 -05:00
Chris
30197584d5 always return non-nil client license (#8317) 2018-02-16 14:51:46 -05:00
Carlos Tadeu Panato Junior
8c3a7b75de [PLT-539] Update incoming webhooks to accept multipart/form-data content (#7873) 2018-02-16 08:29:12 -08:00
Christopher Speller
6d8f122a51 Upgrading server dependancies (#8308) 2018-02-16 09:47:51 -05:00
Pierre de La Morinerie
b112747de7 Send systemd READY notification (#8296)
Currently, when starting Mattermost programmatically, it's hard to tell
when the server is actually ready to receive network connections.

This isn't convenient for monitoring (the systemd service status is
"running" although the server is still booting), nor for programatic use
(where a script would need to know when the server is ready to perform
further actions).

To improve this, systemd allow processes to tell when they started
successfully. The launcher waits for this notification before
reporting the service as successfully launched.

The way processes notify systemd is by sending a `READY=1` string over
a standard unix socket, whose path is provided in an environment var.

The systemd service is then told to expect this notification:

```diff
 [Service]
-Type=simple
+Type=notify
 ExecStart=/home/vagrant/go/bin/platform
```

Now, when starting the server, systemd will actually wait for the server to
be ready before returning the control to the shell.

Additionally, during this time, querying the server status with
`service mattermost status` will report the service as "activating" – before
transitioning to "running" when the server is ready.
2018-02-15 16:47:03 -08:00
Jesús Espino
2930766c65 PLT-8723: Fix DeadLock on reactions insertions (#8225)
* PLT-8723: Fix DeadLock on reactions insertions

* Improved the HasReactions update SQL
2018-02-15 16:41:49 -08:00
Jesús Espino
c158e9a5a0 XYZ-114 Adding mandatory membership to town-square in bulk-import (#8274) 2018-02-15 15:31:48 +00:00
Jonathan
05d84a8008 Modified advanced mail implementation to properly support multiple attachments with the same file name (#8289) 2018-02-15 09:02:31 +01:00
Derrick Anderson
9360131992 Merge branch 'translations-20180215' into release-4.7 v4.7.0 v4.7.0-rc4 2018-02-14 21:22:42 -05:00
Elias Nahum
7f93d17a5f translations PR 20180215 2018-02-15 02:04:21 +00:00
Pierre de La Morinerie
44a27125de Wait for goroutines to finish before shuting down server (#8259)
When running server tests, the server will exit while some jobs spawned
through a goroutine are still running. This may crash the test harness,
as the jobs try to access a shut down app instance.

Fortunately the fix is easy: we just have to use the same App
goroutine-counting facility than the rest of the method's goroutines.
2018-02-14 12:18:06 -06:00
Derrick Anderson
cafa4e4370 Merge branch 'release-4.7-t3merge3' 2018-02-14 12:58:36 -05:00
Derrick Anderson
622fb1a50f Merge branch 'icu753' into release-4.7 v4.7.0-rc3 2018-02-14 00:53:28 -05:00
Derrick Anderson
88d693a950 Merge branch 'release-4.7' into icu753 2018-02-14 00:53:04 -05:00