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
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
Chris
917e4789c2
Use tmpfs containers for api/api4 tests, move and speed up CLI tests ( #7606 )
...
* use tmpfs containers for api/api4, move and speed up cli tests
* minor optimizations
* add missing files, fix pre-existing race condition
* add . to TestMain check
* add requested log message
2017-10-12 12:24:54 -07:00
Conor O'Callaghan
86a0e16035
Minor link fixes ( #7614 )
...
* Minor link fixes
Fixed several links to move to new URL (instead of redirecting via another page), modified link for help wanted issues.
* Changes to reflect comments on PR
Updated URL as per comments on PR
2017-10-12 13:55:20 -04:00
Santos Solorzano
a7afadec3a
Add User To Channel api route returns a 400 error when trying to add users to a DM or GM channel ( #7587 )
2017-10-12 13:54:37 -04:00
George Goldberg
fe41022353
PLT-7883: Fix database race in bulk importer in GetByUsername. ( #7611 )
2017-10-12 10:00:05 -07:00
Chris
785cc06f6e
Make test execution not take quadratic compilation time ( #7610 )
...
* make test execution not take quadratic compilation time
* add -p flag. we can only test one package at a time (for now)
* cd to mattermost-server for enterprise
* whoops
* let's go ahead and make the coverage profiles ready for concurrent test
2017-10-12 08:35:19 -07:00
Christopher Speller
3461a7b207
Add back consumeAndClose functionality. ( #7608 )
...
* consume bodies for action button integrations, webrtc gateway, oauth
endpoint
* Fixing a couple more places, switching to io.Copy to ioutil.Discard, adding a comment to help prevent future performance regressions
2017-10-12 08:00:53 -07:00
Saturnino Abril
521e27f4ac
[PLT-7764] Fix in:channel search when channel name/displayname includes - ( #7603 )
...
* fix in:channel search when channel name/displayname includes `-`
* fix failing test in PostgreSQL
* add lowercase indexes of channel's name and displayname to postgresql, and add unit tests
2017-10-11 17:20:27 +08:00
Chris
66b07a72ce
remove go 1.8 ipc workaround ( #7604 )
2017-10-10 14:50:45 -07:00
Joram Wilander
f799738613
Remove duplicate post edit WS event and cache invalidation ( #7576 )
2017-10-09 19:40:50 -07:00
Chris
bff2b5e735
Miscellaneous app cleanup ( #7594 )
...
* app cleanup
* whoops, forgot a file
* some minor cleanup
* longer container deadline
* defensive checks
2017-10-09 14:59:48 -07:00
Chris
0f66b6e726
store/sqlstore cleanup and postgres tests ( #7595 )
...
* sqlstore cleanup / postgres tests
* remove stopped containers
* cmd/platform compile fix
* remove test-postgres target from makefile
2017-10-09 13:16:14 -04:00
Chris
70e5f00241
store/storetest package ( #7588 )
...
* prerequisites
* storetest package
2017-10-06 11:08:59 -07:00
Joram Wilander
d1958bdc49
Do not require server restart when enabling/disabling plugins ( #7592 )
2017-10-06 10:58:23 -07:00
Chris
6097e3f02b
fix GetPostsByIds error ( #7591 )
2017-10-06 12:18:26 -04:00
Chris
363568b4eb
reduce store boiler plate ( #7585 )
2017-10-06 11:12:10 -04:00
Chris
12501673d0
post-4.3 commit ( #7581 )
2017-10-05 14:50:49 -04:00
Chris
2a76eeeeee
fix websocket deadlock ( #7577 )
2017-10-04 22:48:14 -07:00
Chris
da368539e3
4.3 pre-cut ( #7569 )
...
* 4.3 pre-cut
* fix
2017-10-04 13:10:16 -07:00
Chris
07777f5ff9
Fix races / finally remove global app for good ( #7570 )
...
* finally remove global app for good
* test compilation fixes
* fix races
* fix deadlock
* wake up write pump so it doesn't take forever to clean up
2017-10-04 13:09:41 -07:00
Jonathan
dc9b1a1d6a
Parameterized post ids to avoid possible sql injection ( #7575 )
2017-10-04 12:54:42 -07:00
lindalumitchell
87e816da23
Remove duplicate Nature section ( #7571 )
2017-10-04 12:01:26 -07:00
George Goldberg
f3fc6d11fa
PLT-7218: CLI to move slash commands between teams. ( #7574 )
2017-10-04 11:08:59 -07:00
George Goldberg
e16bdf8d1d
PLT-7789: Fix raciness on Aurora with importing team members. ( #7573 )
...
* PLT-7789: Fix raciness on Aurora with importing team members.
* Fix and document return values.
2017-10-04 10:17:58 -07:00
Carlos Tadeu Panato Junior
35d56821ff
[PLT-7787] remove an extra ephemeral message posted for slash commands ( #7572 )
2017-10-04 09:11:08 -07:00
enahum
31eda663b4
translations PR 20171002 ( #7555 )
2017-10-04 09:10:15 -07:00
amyblais
e648fac0be
Update NOTICE.txt ( #7550 )
...
* Update NOTICE.txt
* Update NOTICE.txt
2017-10-04 09:10:03 -07:00
Joram Wilander
fadd9514f6
PLT-7718 Patch for files ( #7564 )
...
* Patch for files
* Fix merge
* Fix tests
* Fix another test
2017-10-04 11:42:38 -04:00
Jonathan
fa80cb10a8
PLT-7785: Slash commands can be issued to a channel in a team without it ( #7567 )
...
* Ensured that specified channel is a part of specified team
* Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
2017-10-04 08:12:13 -07:00
Joram Wilander
f94b807f39
PLT-7782 Fix for OAuth ( #7566 )
...
* Fix for oauth
* Fix test
2017-10-04 11:05:36 -04:00
Joram Wilander
e05edf85cf
PLT-7781 Some more OAuth fixes ( #7568 )
...
* Some other oauth fixes
* Fix unit test
2017-10-04 11:04:56 -04:00
Joram Wilander
affd35071e
Updates to session revoking in v4 ( #7565 )
2017-10-04 11:04:17 -04:00
Joram Wilander
3e144f82e2
Only update session activity on specific endpoints ( #7549 )
2017-10-03 11:16:33 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Jonathan
bfe7955fb0
PLT-5549: No feedback when trying to save localization settings in System Console when Available Languages doesn't include the default client language ( #7554 )
...
* Added server-side validation check for localization settings. Refactored validation checks to be easier to read
* Fixed gofmt issues
2017-10-03 10:42:19 -04:00
George Goldberg
4228358903
PLT-7668: Elasticsearch & DataRetention in client license. ( #7548 )
2017-10-03 11:28:15 +01:00
Joram Wilander
605ac2a10c
Fix bad merge ( #7553 )
2017-10-02 13:25:33 -07:00
George Goldberg
078467ee96
PLT-7759: Make GetNewestJobByStatusAndType not fail when no jobs match. ( #7540 )
2017-10-02 09:15:51 -04:00
George Goldberg
76bd1bb212
PLT-7705: API to get data retention policy. ( #7539 )
...
* PLT-7705: API to get data retention policy.
* Fix review comments.
2017-10-02 12:43:21 +01:00
Chris
9bc7af0c57
Don't use global app for api / api4 tests ( #7528 )
...
* don't use global app for api / api4 tests
* put sleep back. we're gonna have to do some goroutine wrangling
* fix oauth test config assumptions
* jobs package, i'm comin' for you next
* app test fix
* try increasing sleep a little
2017-10-02 09:50:56 +01:00
Christopher Speller
b84736e9b6
Updating server dependancies. ( #7538 )
2017-09-29 12:46:30 -07:00
Joram Wilander
8b9dbb8613
PLT-7404 Return viewed at times in view channel API response ( #7428 )
...
* Return viewed at times in view channel API response
* Updated transaction to read and write once
* Remove transaction and only update if new value greater than older
2017-09-29 08:45:59 -07:00
George Goldberg
5e50d3f461
PLT-7712: Add data retention settings to diagnostics. ( #7534 )
2017-09-29 17:54:59 +08:00
Chris
4e79d2d4d0
remove jobs.Srv and other jobs-related globals ( #7535 )
2017-09-29 10:29:29 +01:00
Chris
cb33179998
PLT-7758: jira url fix ( #7536 )
...
* jira url fix
* whoops, forgot a file (the test file)
2017-09-28 16:31:23 -04:00
George Goldberg
6c73c14593
PLT-7750: Improve the error messages for invalid data retention config. ( #7533 )
2017-09-28 17:34:03 +01:00