Commit Graph

9249 Commits

Author SHA1 Message Date
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
George Goldberg
a06830b2f8 PLT-7644: Improve job scheduler architecture. (#7532) 2017-09-28 09:11:13 -07:00
Joram Wilander
f263d2b951 PLT-7684 Add support to outgoing webhooks and slash commands to set post type and props (#7531)
* Add support to outgoing webhooks and slash commands to set post type and props

* Fix nil access
2017-09-28 09:08:16 -07:00
Joram Wilander
884cf494cb Only check LDAP attributes if auth data set (#7530) 2017-09-28 09:06:05 -07:00
Joram Wilander
15b361094a PLT-7633 (E20) Add session idle timeout config setting (#7524)
* Add session idle timeout config setting

* Modify config setting name to SessionIdleTimeoutInMinutes

* Small re-org of if statement

* Merge with latest master
2017-09-28 14:04:52 +01:00
George Goldberg
8d662105d3 PLT-7207: Change from fulltext to LIKE search for user filtering (#7343)
* PLT-7202: Switch user search to LIKE queries to avoid fulltext pitfalls.

* Add 2 char name unit test.

* Escape underscores properly.

* Add more tests and fix * handling.

* Make search/indexes case insensitive for postgres.
2017-09-27 18:44:22 +01:00
Chris
8c80cdde38 remove remaining Global() calls (outside of tests) (#7521) 2017-09-28 00:52:34 +08:00
Joram Wilander
1bd66589a2 Allow custom post types (#7468) 2017-09-27 11:09:09 -04:00
enahum
62e54a09e6 translations PR 20170925 (#7509) 2017-09-27 07:45:50 -03:00
George Goldberg
e8ca3d64f4 PLT-7470: Add metrics for searches. (#7507) 2017-09-25 13:44:44 -07:00
Corey Hulen
81c18a01bd PLT-7542 Converting LDAP sync to the job server (#7452)
* PLT-7542 Converting LDAP sync to the job server

* Fixing minor issues

* Fixing build failure

* Translate error message

* Translate error message

* Translate error message

* Translate error message

* Fixing merge

* Fixing bad merge
2017-09-25 13:30:33 -07:00
Jonathan
1bf2a2e8d5 PLT-7641: Cleanup the jsonl files from make test (#7466)
* Disabled automatic log rotation to avoid multiple log file creation, added mattermost.log.jsonl files to gitignore

* Added log file delete to make clean
2017-09-25 15:02:41 -04:00
George Goldberg
aade47dccd PLT-7666: Clean up files on disk/s3 in data retention. (#7503) 2017-09-25 10:22:28 -04:00
Chris
49fe5fbf3d Move sql store code into store/sqlstore package (#7502)
* move sql store code into store/sqlstore package

* move non-sql constants back up to store

* fix api test

* derp
2017-09-25 10:11:25 -04:00
Jason Blais
b2c5b97601 Update en.json (#7505) 2017-09-25 10:10:45 -04:00
George Goldberg
adff8d0105 Fix launching minio container. (#7504) 2017-09-25 08:27:11 -04:00
George Goldberg
d6b5b681ae Finally do away with NewLocAppError function. (#7498)
This cleans up the few NewLocAppError calls that crept in since the main
bulk of them were removed, and finally removes the NewLocAppError
function altogether.
2017-09-25 08:25:43 -04:00
enahum
cff0c941f2 translations PR 20170918 (#7470) 2017-09-24 23:25:33 -03:00
George Goldberg
3463e1fc93 Run file tests on Minio and local drivers. (#7482) 2017-09-22 11:38:46 -07:00
Chris
dcf9e96a0b remove global refs from api/api4 (#7496) 2017-09-22 13:54:27 -04:00
George Goldberg
e0d5703f72 PLT-7619: Cleanup flags in data retention. (#7501) 2017-09-22 13:23:16 -04:00
George Goldberg
8bef94d250 PLT-7694: Allow setting a prefix for Elasticsearch indexes. (#7500) 2017-09-22 08:44:19 -07:00
Alex Moon
7d23276b0c Revert user_agent chanes made for PLT-959 #6945 to fix clients incorrectly being given incompaibile message (#7497) 2017-09-21 18:20:20 -07:00
George Goldberg
265392fa48 PLT-7667: Clean up elasticsearch indexes when running data retention jobs. (#7481) 2017-09-21 17:54:31 -04:00
Chris
e525383c52 plugin CRUD operations for users, posts, channels, and teams (#7479) 2017-09-21 14:00:14 -05:00
Chris
266ff86702 remove more global refs (#7480) 2017-09-21 10:13:34 +01:00