Commit Graph

9341 Commits

Author SHA1 Message Date
Joram Wilander
06ec648cf3 PLT-7978 Add websocket event for user role update (#7745)
* Add websocket event for user role update

* Fix tests

* More test fixes
2017-10-31 16:00:21 +00:00
Harrison Healey
6886de04d4 PLT-6071/PLT-8004 Fixed not being able to autocomplete 'Town Square' (#7746) 2017-10-31 15:52:10 +00:00
Corey Hulen
b3b46a01aa PLT-5813 support SAML sync via LDAP (#7668)
* PLT-5813 support SAML sync via LDAP

* Cleaning up based on review
2017-10-31 08:37:34 -07:00
Joram Wilander
1012bce8bb Remove license requirement for plugins (#7747) 2017-10-31 10:39:59 -04:00
Chris
ce2b2be5de Refactoring cfg refs and load / save functions (#7749)
* refactoring cfg refs and load / save functions

* improve error output
2017-10-31 10:39:31 -04:00
Jonathan
b446d0aa0a Fixed GOPATH in makefile to prevent make mock-store from rewriting mattermost-server imports (#7743) 2017-10-30 16:37:50 -04:00
Joram Wilander
09c5f5e2ea Add some more diagnostics for plugins (#7669) 2017-10-30 14:10:48 -04:00
Chris
539f66313d Add autoclose dm config parameter (#7734)
* add autoclose dm config parameter

* update naming
2017-10-30 14:52:47 -03:00
Joram Wilander
443a880fbd Add command validation on update (#7742) 2017-10-30 12:14:17 -05:00
Chris
3cbacb6858 Remove unused variables / code (#7736)
* remove unused variables / code

* fix bug in testPostStoreGetOldest
2017-10-30 11:58:00 -05:00
Chris
c5e8cb25ca simplify things (#7735) 2017-10-30 11:57:24 -05:00
Carlos Tadeu Panato Junior
63df41b911 fix push notification when user status is in DND (#7731) 2017-10-30 08:15:01 -04:00
Christopher Speller
bbe971cc45 Fixing credentials and typo in Jenkinsfile (#7732) 2017-10-29 23:31:40 -07:00
Chris
4e9eb395a1 less impactful fix (#7729) 2017-10-27 12:18:58 -03:00
Christopher Speller
91b9514aaf Adding Posts table indexes for 20M rows. (#7728) 2017-10-27 09:02:16 -04:00
Saturnino Abril
1e2506b2df add RootId to out-of-channel-mentions ephemeral post for that to render at RHS (#7726) 2017-10-27 04:14:41 +08:00
Chris
827fbfa87d more robust mockery invocation (#7727) 2017-10-26 15:06:18 -05:00
Chris
7ed011745a Remove more global refs / state (#7723)
* remove more global refs / state

* fix job enterprise initialization

* fix api4 test compilation

* saml api endpoints fix
2017-10-26 15:21:22 -04:00
Joram Wilander
a0bfd2885d Add config setting to configure plugins directory (#7725) 2017-10-26 13:21:35 -04:00
Chris
6f6005c617 Store mocks (#7724)
* store mocks

* add example
2017-10-26 11:36:54 -05:00
Carlos Tadeu Panato Junior
ab7e5b35d8 [PLT-7364] Ability to Direct Message yourself (#7696)
* [PLT-7364] Ability to Direct Message yourself

* [PLT-7364] add tests
2017-10-26 09:45:26 -04:00
Christian Claus
71be37d28f Add generated folder to .gitignore (#7714)
Add `app/data/*` to gitignore
2017-10-25 15:37:45 -04:00
enahum
09544ba749 translations PR 20171023 (#7699) 2017-10-25 14:49:00 -04:00
George Goldberg
dcb59058cf PLT-7976: Configurable timeout for Elasticsearch requests. (#7716) 2017-10-25 14:48:29 -04:00
Christopher Speller
4491b5ecdf Performance improvements for 40M posts (#7708)
* Optimizing get root posts SQL query

* Setting session invalidation to be reliable

* Adding app reciever to SessionHasPermissionToUser

* Adding app reciever to SessionHasPermissionToTeam

* Adding app reciever to SessionHasPermissionTo

* Clear session cache if permission was denied

* Fixing rebase issues

* Revert "Optimizing get root posts SQL query"

This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7.

* Fixing build
2017-10-25 11:48:15 -07:00
Christopher Speller
c16f417f49 Fixing build failure due to missing licence header (#7720) 2017-10-25 11:24:12 -07:00
Carlos Tadeu Panato Junior
b4930fb8e5 [PLT-7726] adjustments for the mm-server jenkinsfile (#7688) 2017-10-25 09:41:16 -07:00
Chris
5dd4466ab3 add missing license headers, test to makefile (#7711) 2017-10-25 09:33:19 -07:00
Carlos Tadeu Panato Junior
62b3569025 [PLT-4341] add dnd command (#7694) 2017-10-25 11:51:13 -04:00
Saturnino Abril
f632232862 [PLT-7701] Fix emoji names that trigger mention (#7663)
* fix emoji names that trigger mention

* remove regex and rearrange based on comment

* make ":@here:" to not trigger a mention
2017-10-25 22:11:20 +08:00
Joram Wilander
1d968eb55e PLT-7849 Add config setting to disable plugin uploads (#7666)
* Add config setting to disable plugin uploads

* Update unit test
2017-10-25 08:52:50 -04:00
George Goldberg
5474cff0eb PLT-7934: Make query for bulk elasticsearch indexing more efficient. (#7664) 2017-10-25 13:23:01 +01:00
Joram Wilander
16b845c0d7 Differentiate between installed and activated states for plugins (#7706) 2017-10-25 08:17:17 -04:00
Chris
9c0575ce6e PLT-7599: webhook post splitting (#7707)
* webhook post splitting

* style fix

* update old webhook test
2017-10-24 19:36:31 -04:00
George Goldberg
61b023f5df PLT-7822: Fix search order for SQL search backend. (#7704) 2017-10-24 14:27:15 -04:00
Chris
2a2af0e390 eliminate more utils.Cfg references (#7701) 2017-10-24 09:00:05 -07:00
George Goldberg
673df81669 Fix crash due to null data retention config parameter. (#7702) 2017-10-24 08:18:13 -04:00
George Goldberg
761322395e PLT-7743: Data retention in client side config. (#7695) 2017-10-23 20:21:26 +01:00
Chris
78a9774147 add model.NewX funcs for builtin types (#7692)
* add model.NewX funcs for builtin types

* whoops, forgot to add the new file
2017-10-23 09:40:35 -07:00
Chris
08b7b1c414 Reduce cfg boilerplate (#7689)
* reduce cfg boilerplate

* fix compile error

* user test fix

* another test fix

* simplify diagnostics / testing
2017-10-23 02:39:51 -07:00
Chris
fd6192473b refactor max users per team (#7691) 2017-10-20 20:34:07 -04:00
Chris
d39a722a81 refactor max channels per team enforcement (#7690) 2017-10-20 20:33:20 -04:00
Joram Wilander
812f566401 Expose user.Props through REST API (#7661) 2017-10-20 17:26:45 -07:00
Joram Wilander
9d9c737414 Update v4 POST log endpoint to match v3 permissions (#7653) 2017-10-20 17:26:12 -07:00
Saturnino Abril
18ee375860 [PLT-7362] Option to add user to channel if mentioned user is not currently in the channel (#7619)
* Option to add user to channel if mentioned user is not currently in the channel

* instead of link from server, just add component on client side to add channel member

* change implementation using post.props

* do clean up and add test

* sanitize post.props['add_channel_member'] on post creation

* move sanitize to app.CreatePost and also apply to app.UpdatePost
2017-10-21 01:38:26 +08:00
Joram Wilander
cbb18479e9 PLT-7740 Update encoding of filename in file headers (#7552)
* Remove URL escaping of filename in file headers

* Add encoding for filename
2017-10-19 15:01:45 -04:00
Joram Wilander
e60f97b4a8 Remove unrelated v3 reference from websocket debug logs (#7662) 2017-10-20 01:00:48 +08:00
Carlos Tadeu Panato Junior
3cb48126f3 [PLT-6712/PLT-7182] /remove and /kick slash command: Remove a member from the channel (#7523) 2017-10-19 11:33:52 -04:00
Nick Frazier
7fa4913f90 [PLT-7794] Add user access token enable/disable endpoints (#7630)
* Add column to UserAccessTokens table

* PLT-7794 Add user access token enable/disable endpoints

* replaced eliminated global variable

* updates to user_access_token_store and upgrade.go

* style fix and cleanup
2017-10-19 08:10:29 -04:00
Chris
8e19ba029f Reduce utils.Cfg references (#7650)
* app.UpdateConfig method

* test fix

* another test fix

* the config override option as-was is just error prone, remove it for now

* derp
2017-10-18 15:36:43 -07:00