Commit Graph

9223 Commits

Author SHA1 Message Date
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
Christopher Speller
adab1a660f Fixing some build issues 2017-09-20 13:06:22 -07:00
Jesús Espino
62e5e2fda8 PLT-7508: Add settings to disable wide mention confirmation (#7416) 2017-09-20 11:38:27 -04:00
Jason Blais
3a80225d61 Remove reference to webapp i18n file changes (#7401)
* Remove reference to webapp i18n file changes

* Update PULL_REQUEST_TEMPLATE.md
2017-09-20 10:40:09 -04:00
George Goldberg
c3916bb530 Add error codes to the remaining stores (Part 1). (#7461) 2017-09-20 09:34:50 -04:00
Chris
2d322a4174 fix error message escaping (#7467) 2017-09-20 09:34:30 -04:00
Chris
ac74066f0e remove einterface gets (#7455) 2017-09-19 18:31:35 -05:00
Chris
7e4ff6adcc allow ephemeral command responses without text (#7478) 2017-09-19 17:13:59 -05:00
Chris
e7e10d36a9 interactive post update fix (#7477) 2017-09-19 17:05:20 -04:00
Corey Hulen
99b7d65504 Fixing profile image tag (#7435)
* Fixing profile image tag

* Fixing unit test

* Fixing unit test
2017-09-19 16:34:39 -04:00
Saturnino Abril
0643bf5159 generate web error when opening an invalid public file link (#7475) 2017-09-19 08:58:20 -04:00
George Goldberg
3811b1ce1e Add error codes to oauth/post/preference store errors. (#7460) 2017-09-19 17:24:52 +08:00
Jason Blais
9953015264 Minor update to en.json (#7464)
* Update en.json

* Update en.json

* Update en.json
2017-09-18 13:31:41 -04:00
George Goldberg
61d0078e0a Add error codes to the remaining stores (Part 2). (#7462) 2017-09-18 13:31:31 -04:00
George Goldberg
29e917486a Add error codes to user and webhook store errors. (#7459) 2017-09-18 17:40:56 +01:00
Harrison Healey
5b712839f9 Fixing typo in name of "Mozzilla" Firefox (#7463) 2017-09-18 10:16:59 -04:00
n1aba
5a855e1ca1 Implement update OAuthApp endpoint for APIv4, add test (#7413) 2017-09-18 07:40:41 -04:00
George Goldberg
7243aa6751 PLT-6558: Basic data retention job scheduler/worker implementation. (#7449)
* PLT-7639: Batch delete methods for data retention.

* PLT-6558: Basic data retention job worker/scheduler implementation.
2017-09-15 09:53:48 -07:00
George Goldberg
fd878bd50c PLT-7539: Remove redundant license checks from CLI commands. (#7451) 2017-09-15 09:40:37 -07:00
George Goldberg
8195c80aa1 PLT-7639: Batch delete methods for data retention. (#7444) 2017-09-15 09:35:55 -07:00
Joram Wilander
2628022275 PLT-7622 Improvements to server handling of webapp plugins (#7445)
* Improvements to server handling of webapp plugins

* Fix newline

* Update manifest function names
2017-09-15 08:51:46 -04:00
Harrison Healey
2a6cd44f23 PLT-7509 Stopped processing special mentions for change of header/purpose messages (#7410) 2017-09-15 08:37:29 -04:00
George Goldberg
2be5577b88 Model: NewLocAppError -> NewAppError (#7450) 2017-09-15 08:32:11 -04:00
Joram Wilander
600beb5af3 Add some checking of channel ID before sending websocket event (#7431) 2017-09-15 11:56:08 +01:00
Chris
b6fb98a431 remove more global references (#7442) 2017-09-14 13:01:44 -04:00
Saturnino Abril
af81f7e48b [PLT-7573] Make deactivated user not counted in Town Square member count (#7421)
* make deactivated user not counted in Town Square member count

* update app
2017-09-15 00:22:23 +08:00
Joram Wilander
ed1363e1bf Fix update SQL query to include refresh token (#7425) 2017-09-14 11:48:48 -04:00