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
Chris
34a87fa8f4
use webapp build from cache when possible ( #7646 )
2017-10-18 14:40:17 -07:00
Chris
0a508133d5
fix email race condition ( #7656 )
2017-10-18 14:13:14 -07:00
Ema Panz
897d83fdf9
Fix teams create example ( #7655 )
...
Fix the "team create" command wrongly shows a `teams create` example, where an extra "s" is appended to the command name.
2017-10-18 13:22:51 -07:00
Chris
7409d9f217
fix job test race condition ( #7647 )
2017-10-18 12:23:41 -04:00
Chris
3c0ccaafe7
fix preference test races ( #7645 )
2017-10-18 12:21:28 -04:00
George Goldberg
7b1fb3c2c7
PLT-7862: Support batched live indexing. ( #7640 )
2017-10-18 11:43:10 +01:00
Jonathan
b884c8c410
PLT-7193: Regression - Custom slash commands don't work in direct or group message channels ( #7635 )
...
* No longer overriding specified team id for DMs/GMs, as these types of channels don't belong to a team, and doing so breaks slash commands for them
* Ensured user is on specified team in case of GM/DM, extended test suite
2017-10-17 10:21:12 -07:00
Christopher Brown
39cc237269
Merge branch 'release-4.3'
2017-10-16 23:10:45 -05:00
Rick Batka
89dc3cb126
[PLT-7396] Add the ability to revoke user sessions in System Console > Users #7493 ( #7623 )
...
* add endpoint and tests for revoking all sessions for a user
* fix failing test build
2017-10-16 20:50:31 -07:00
Jason Blais
a649602fc3
Add two missing diagnostics entries ( #7634 )
...
* Update diagnostics.go
* Fix config setting name SessionIdleTimeoutInMinutes
* Update diagnostics.go
2017-10-16 18:17:12 -04:00
JoramWilander
8bf47c1211
Fix SessionIdleTimeoutInMinutes in default.json
2017-10-16 18:10:30 -04:00
Chris
ce314425d1
Fix webconn shutdown race ( #7631 )
...
* fix webconn shutdown race
* make sure writePump returns promptly if readPump returns first
* fix app shutdown race
* minor improvement
2017-10-16 14:02:33 -07:00
Simon Eisenmann
868bd76f40
PLT-7809: Add support for Kopano Webmeetings WebRTC server ( #7590 )
...
* Add support for Kopano Webmeetings WebRTC server
Add an option to select which WebRTC server to use and add support to
use Kopano Webmeetings as backend instead of Janus. If the new
configuration is not set, WebRTC assumes Janus is used as backend.
* Fixup: remove redundant case. default to janus
* Fixup: use GatewayAdminUrl as direct prefix to admin URL entry point
* Fixup: consumeAndClose
2017-10-16 16:11:03 +01:00
Chris
34285d8cca
parallel tests ( #7629 )
2017-10-16 11:09:43 -04:00
Jonathan
adb2b1d6ed
Ignored gogland project files ( #7625 )
2017-10-13 08:49:03 -07:00