Harrison Healey
b8a4316b13
ICU-753 Remove special behaviour for group messages in generic push notifications
2018-02-13 09:57:23 -05:00
George Goldberg
5c101253c5
Merge branch 'master' into advanced-permissions-phase-1
2018-02-13 13:46:01 +00:00
Jonathan Fritz
18fa32567b
Merge branch 'release-4.7' into XYZ-110
2018-02-13 08:39:56 -05:00
Derrick Anderson
8b79f5d49c
Merge branch 'ccbrown-rm-willnorris-proxy-support' into release-4.7
2018-02-13 08:16:38 -05:00
Martin Kraft
b7fc3d7d35
Updates migration tests to reflect front-end mapping changes. ( #8237 )
2018-02-13 12:08:21 +01:00
Jesús Espino
bda8736770
XYZ-111: Check max users per team on re-join after leave a team
2018-02-13 10:43:28 +01:00
Stephen Kiers
bdf478c75b
Added another test
2018-02-12 20:50:20 -07:00
Chris
fbef16f863
Merge branch 'release-4.7' into rm-willnorris-proxy-support
2018-02-12 18:36:39 -06:00
Stephen Kiers
0cbba46018
Fixes ICU-764
2018-02-12 16:30:03 -07:00
Elias Nahum
445a356d0d
translations PR 20180212
2018-02-12 23:08:38 +00:00
Jonathan Fritz
7b2861de3a
Removed unused fields from ChannelMemberHistory table, introduced new model.ChannelMemberHistoryResult object that includes those fields that are selected from a join on other tables
2018-02-12 16:14:52 -05:00
Derrick Anderson
32c1f7be23
Merge branch 'release-4.7-revertmaster' into release-4.7
2018-02-12 16:13:01 -05:00
Derrick Anderson
c209e44574
revert master changes
2018-02-12 16:01:02 -05:00
Derrick Anderson
62efb1df75
Merge branch 'icu669' into release-4.7
2018-02-12 15:10:22 -05:00
Derrick Anderson
efd620d6c8
Merge branch 'release-4.7' into icu669
2018-02-12 15:09:59 -05:00
Derrick Anderson
d88d2bc2ed
Merge branch 'release-4.7-t4merge'
2018-02-12 14:50:52 -05:00
Christopher Brown
56f49cf486
poke jenkins
2018-02-12 13:44:27 -06:00
Derrick Anderson
3da5df3c90
Merge remote-tracking branch 'origin/release-4.7' into release-4.7-t4merge
2018-02-12 14:13:29 -05:00
Christopher Brown
141cfd2f9b
remove willnorris/imageproxy support
2018-02-12 13:05:01 -06:00
Chris
1ae680aefa
Merge branch 'master' into release-4.7
2018-02-12 12:02:54 -06:00
Martin Kraft
9325430859
XYZ-73: Removes EnableOnlyAdminIntegrations uses. ( #8245 )
2018-02-12 18:49:29 +01:00
Pierre de La Morinerie
07fd7aeeb8
Add tests for the platform server command ( #8231 )
...
* Cleanup app state on initialization error
When returning an initialization error, the app state was not cleaned
up. This is especially visible during tests, as `appCount` is not
decremented, and makes the new app initialization fail.
* Test the `platform server` command
As the `platform server` command only exits when interrupted by
a signal, it is not possible to test it as the other cobra
commands. Instead we directly test the actual command function.
The internal command handler is slighly refactored to take
a channel in argument, and registers it as the signal handler.
Nothing very different—except than controlling this channel
from the outside allows the test to send the system signal
itself, thus preventing the server to run forever.
2018-02-12 08:46:32 -08:00
Jonathan
9707ac3aaf
Added invite_id field to email invite url, along with validation of this field on the server ( #8235 )
2018-02-12 09:16:17 -05:00
Harrison Healey
87fb19b827
Fixed typo in unit test
2018-02-12 08:58:38 -05:00
George Goldberg
1edcabbc9b
Fix tests. ( #8244 )
2018-02-12 14:52:42 +01:00
Christopher Brown
c1b6e8792c
minor addition to #8238
2018-02-09 20:08:39 -06:00
Joram Wilander
3e0c3eff9f
ABC-228 Update GetPosts caching to work for non-60 limits ( #8233 )
...
* Update GetPosts caching to work for non-60 limits
* Only cache on limits of 30/60 and add test
* Add comments clarifying 30 and 60 limits
2018-02-09 14:47:22 -08:00
Chris
396e7513ec
Don't proxy same-site image urls ( #8238 )
...
* don't proxy same-site urls
* fix empty site url case
2018-02-09 15:41:06 -06:00
Chris
a4e9499714
Add /v4/image api ( #8230 )
...
* add image api
* i suppose i should add a test...
* only redirect to image proxy
2018-02-09 13:59:17 -06:00
Chris
0daac7e4fc
Add /v4/image api ( #8230 )
...
* add image api
* i suppose i should add a test...
* only redirect to image proxy
2018-02-09 11:56:11 -08:00
Derrick Anderson
e7b084842a
Merge branch 'release-4.7'
2018-02-09 12:59:56 -05:00
Chris
a6309aaf48
Remove license globals entirely ( #8229 )
...
* remove license globals entirely
* fix infinite recursion
* test fix
2018-02-09 10:04:48 -06:00
Martin Kraft
3b83cc7dd3
XYZ-51: Unit tests for and changes to SetRolePermissionsFromConfig. ( #8160 )
...
* XYZ-10: Role store.
* XYZ-37: Update unit tests to work with database roles.
* XYZ-51: Tests 'SetRolePermissionsFromConfig' against JSON from policy page.
* XYZ-51: Adds permissions in non-licensed cases also.
* XYZ-51: Removes some permissions from team_user role.
* XYZ-51: Merge fix for change to default permissions from PR 8208.
* XYZ-51: Removes unused function.
2018-02-09 10:57:07 -05:00
Jesús Espino
0aa7ecd5e8
AllowEditPost and PostEditTimeLimit migration ( #8208 )
...
* AllowEditPost and PostEditTimeLimit migration
* Not set EDIT_POST permission to sysadmin_role if ALLOW_EDIT_POST is configured to NEVER
* Remove a bit of code duplication
2018-02-09 10:31:01 -05:00
Harrison Healey
e2b5f9217f
ICU-669 Handle relative links better
2018-02-09 10:05:23 -05:00
Chris
7e8106b95c
use mattermost fork of go-bindata ( #8216 )
2018-02-08 19:43:27 -05:00
Derrick Anderson
1b064c674a
Add prepatory code for 4.8.0 ( #8226 )
...
* Add prepatory code for 4.8.0
* formatting issue
* build bug
2018-02-08 12:12:48 -05:00
Chris
cf929476bd
fix client4 post sanitization ( #8219 )
2018-02-08 11:54:45 -05:00
George Goldberg
96ffde43dc
XYZ-80: Add CreateAt/UpdateAt/DeleteAt fields to roles table. ( #8223 )
2018-02-08 17:08:47 +01:00
George Goldberg
fa5cba9cc7
XYZ-76: Add license check to patchRoles endpoint. ( #8224 )
2018-02-08 17:07:40 +01:00
Harrison Healey
d3a0e561c2
ICU-669 Ensured all URLs returned from OpenGraph are absolute
2018-02-08 10:45:25 -05:00
Derrick Anderson
9bf23ece6c
Merge branch 'abc-239' into release-4.7
2018-02-08 10:05:01 -05:00
Derrick Anderson
f28ee8d7c8
Merge branch 'release-4.7'
2018-02-08 09:08:16 -05:00
Chris
0f703a3368
Eliminate utils.SetLicense calls ( #8217 )
...
* eliminate utils.SetLicense calls
* test fix
* another test fix
* more test fixes
2018-02-07 16:20:51 -06:00
JoramWilander
840892ab88
Increase OAuth2 state parameter limit
2018-02-07 16:21:22 -05:00
enahum
654fc2f749
translations PR 20180205 ( #8200 )
2018-02-07 14:08:42 -05:00
George Goldberg
a735725d11
XYZ-59: Implement redis caching layer for Role store. ( #8207 )
...
* XYZ-59: Implement redis caching layer for Role store.
* Use variable for key where used more than once.
2018-02-07 18:15:07 +00:00
Chris
eff65aa05c
ABC-132: sign error page parameters ( #8197 )
...
* sign error page parameters
* add comments
2018-02-07 12:05:46 -05:00
Jesús Espino
a04b02081a
Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-1
2018-02-07 18:05:23 +01:00
Vordimous
7bd298ceaa
PLT-7537: Move channel CLI command posts system message to channel. ( #8161 )
...
* [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
2018-02-07 14:17:18 +00:00