Commit Graph

9352 Commits

Author SHA1 Message Date
Chris
71dd21ef3d prevent users from changing email addresses to restricted domains (#7765) 2017-11-03 08:47:32 -07:00
Christopher Speller
59fe809909 Adding ldap Makefile tool to add local LDAP configuration (#7764) 2017-11-03 08:45:19 -07:00
Chris
d5dbdb2737 several one-line panic, race, and logic fixes (#7766) 2017-11-03 08:25:38 -07:00
Chris
9d32cd4208 prevent deactivation of sso users (#7759) 2017-11-02 17:24:11 -04:00
Chris
fed5324ce5 Add some plugin docs (#7757)
* add some plugin docs

* one more comment

* spacing

* example simplification
2017-11-02 17:23:41 -04:00
Corey Hulen
8e81ded9ba Fixing SAML sync (#7763) 2017-11-02 13:16:00 -07:00
Jason Blais
f736c47b10 Update diagnostics.go (#7755) 2017-11-01 21:12:29 -07:00
Chris
bd3b7aeeea Fix /msg switching teams (#7753)
* Fix /msg switching teams

* simplify a bit
2017-11-01 14:15:31 -04:00
Joram Wilander
23e4b4a27d PLT-7810 Track if an APIv3 endpoint was used in the last day (#7744)
* Track if an APIv3 endpoint was used in the last day

* Make it atomic
2017-10-31 14:36:41 -07:00
Saturnino Abril
709ef99eca [PLT-7362] Add post' root ID to APIv4 addChannelMember to render added user (as system post) at RHS (#7730)
* add post' root ID to apiv4 addChannelMember to render added user (as system post) at RHS

* add check to post_root_id parameter

* add AddChannelMemberWithRootId function for backward compatibility
2017-10-31 15:48:58 -04:00
Christopher Speller
3024525c3b Fixing URL encoding of SAML email address when switching to SAML account (#7733) 2017-10-31 10:13:46 -07:00
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