Commit Graph

195 Commits

Author SHA1 Message Date
Christopher Speller
df6a7f8b19 MM-10249 Adding plugin ability to intercept posts before they reach the DB. (#8791)
* Adding plugin ability to intercept posts before they reach the DB.

* s/envoked/invoked/
2018-05-15 13:33:47 -07:00
Christopher Speller
d8dd271e43 MM-4998 Adding LoginIdAttribute to allow LDAP users to change their login ID without losing their account (#8756)
* Adding LoginIdAttribute

* Modifying LDAP to use loginIDAttribute.

* Adding IDAttribute migration and AD objectGUID support.

* Removing unused idea.

* Fix typo.
2018-05-10 09:46:09 -07:00
Jonathan Villemaire-Krajden
6c3d1fc1f8 Fix empty GOPATH behaviour in Makefile (#8724) 2018-05-07 07:04:09 -07:00
Christopher Speller
80925f7cfd Fixing unit tests for Go 1.10 (#8568) 2018-04-03 15:41:02 -04:00
Christopher Speller
26b523e4a1 Revert "add individual platform packaging targets (#8366)" (#8537)
This reverts commit f0f4f68def.
2018-03-28 14:54:58 -07:00
Jesús Espino
a8e0fc6c5d Changing the user-0 data to sysadmin and user-1 username to user-1 (#8494) 2018-03-23 15:32:10 -04:00
Carlos Tadeu Panato Junior
46fea093c8 using inbucket docker image tag release-1.2.0 instead of latest (#8406) 2018-03-12 07:39:06 -04:00
Jesús Espino
b2dd00dd5b Adding enterprise commands support (#8327) 2018-03-07 20:04:18 +00:00
Chris
f0f4f68def add individual platform packaging targets (#8366) 2018-02-26 02:48:56 -05:00
Chris
7e8106b95c use mattermost fork of go-bindata (#8216) 2018-02-08 19:43:27 -05:00
Jesús Espino
963176ab2a Don't remove data dirs from vendor directory (#8173) 2018-01-31 16:33:33 -08:00
Corey Hulen
629bdb314e Adding sample data to the make file (#8171)
* Adding sample data to the make file

* Adding regular acct message
2018-01-31 16:32:18 -08:00
Derrick Anderson
d45d8a16b3 prereq check (#8151) 2018-01-25 08:40:29 -05:00
Martin Kraft
e561f727c8 Updates 'make help'. (#7982)
* Updates 'make help'.

* Updates description of all.
2017-12-20 14:49:45 -05:00
Joram Wilander
150de584c3 PLT-8131 Bundled zoom plugin (#7947)
* Bundled zoom plugin

* Update plugin to latest
2017-12-05 16:35:46 -05:00
Jonathan
154a502f8e Adding more temp files to Stopping docker containers (#7916)
* Adding more temp files to Stopping docker containers
* Removed unnecessary deletes
2017-12-05 11:03:19 -05:00
Martin Kraft
8701479e1a Adds dev db for postgres so that one doesn't need to make it manually. (#7924) 2017-11-30 13:41:03 -08:00
Chris
daebd26a28 PLT-8018: Bundled jira plugin (#7920)
* bundled jira plugin

* fix generated file formatting, add prepackaged key

* whoops, uploaded wrong file

* whitelist generated files for license check

* make it work for people without go/bin in their path
2017-11-30 14:55:44 -06:00
Chris
1c92ad0afb fix ee make targets (#7828) 2017-11-14 13:13:31 -06:00
Chris
865f9f83a7 Improve test coverage reporting / accuracy (#7819)
* improve test coverage reporting / accuracy

* handle absolute coverpaths

* move tests into multiple files

* rename codecov.yml (https://github.com/codecov/support/issues/426)
2017-11-13 11:59:51 -08:00
Christopher Speller
1329aa51b6 Updating server dependancies. (#7816) 2017-11-13 09:09:58 -08:00
Martin Kraft
91544f0c6d Fixes running webapp from custom location using ENV variable. (#7809) 2017-11-10 15:25:05 -05:00
Christopher Speller
59fe809909 Adding ldap Makefile tool to add local LDAP configuration (#7764) 2017-11-03 08:45:19 -07: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
Chris
827fbfa87d more robust mockery invocation (#7727) 2017-10-26 15:06:18 -05:00
Chris
6f6005c617 Store mocks (#7724)
* store mocks

* add example
2017-10-26 11:36:54 -05:00
Chris
5dd4466ab3 add missing license headers, test to makefile (#7711) 2017-10-25 09:33:19 -07:00
Chris
34285d8cca parallel tests (#7629) 2017-10-16 11:09:43 -04: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
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
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
Christopher Speller
b84736e9b6 Updating server dependancies. (#7538) 2017-09-29 12:46:30 -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
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
George Goldberg
adff8d0105 Fix launching minio container. (#7504) 2017-09-25 08:27:11 -04:00
George Goldberg
3463e1fc93 Run file tests on Minio and local drivers. (#7482) 2017-09-22 11:38:46 -07:00
Jesús Espino
9fc7845112 Avoid error linking client dist directory every time (#7438) 2017-09-13 23:39:35 -07:00
Christopher Speller
a69bed712d Fixing makefile goflags (#7408) 2017-09-07 14:58:12 -07:00
Christopher Speller
29fca51821 Renaming repo 2017-09-06 23:11:59 -07:00
Christopher Speller
7bc8e9a08d Adding jenkinsfile for new build server. 2017-09-06 23:11:58 -07:00
Corey Hulen
fd86a2490e Fixing EE build for master (#7394) 2017-09-06 20:38:13 -07:00
Chris
1222e6cd41 make config.json play nicely with version control (#7221) 2017-08-20 23:47:14 -05:00
Chris
ff0811e4a4 lint all the things (#7154)
* lint all the things

* remove extra echo
2017-08-09 13:35:49 -07:00
Chris
65817e13c7 PLT-6965 jira integration (plus plugin scaffolding) (#6918)
* plugin scaffolding / jira integration

* add vendored testify packages

* webhook fix

* don't change i18n ids

* support configuration watching

* add basic jira plugin configuration to admin console

* fix eslint errors

* fix another eslint warning

* polish

* undo unintentional config.json commit >:(

* test fix

* add jira plugin diagnostics, remove dm support, add bot tag, generate web-safe secrets

* rebase, implement requested changes

* requested changes

* remove tests and minimize makefile change

* add missing license headers

* add missing comma

* remove bad line from Makefile
2017-08-02 01:36:54 -07:00
Christopher Speller
0331409488 Add jobserver command to platform binary (#7067)
* Add jobserver command to platform binary

* Fixing jobserver config. Adding jobserver flags.

* Fixing govet in makefile
2017-08-01 08:53:42 -04:00
Christopher Speller
09b49c26dd PLT-5308 Caching layer part 2 (#6973)
* Adding Reaction store cache layer example

* Implementing reaction store in new caching system.

* Redis for reaction store

* Adding redis library

* Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
2017-07-31 08:15:23 -07:00
Harrison Healey
b92d0b0024 Changed default Makefile target (#6647) 2017-07-25 12:10:00 -07:00
George Goldberg
db2f6cf076 PLT-6976: Elasticsearch capitalisation and tests. (#6839)
* Fixes Elasticsearch to have consistent capitalisation everywhere
  across the code and UI (except the config file unfortunately).
* Adds basic unit tests for Elastichsearch.
* Adds a Elasticsearch docker image to the Makefile to enable testing
  the Elasticsearch feature.
2017-07-07 15:36:17 +01:00
George Goldberg
02019f154d Add missing packages to govet. (#6793) 2017-06-29 10:59:12 -04:00
Christopher Speller
414c2fd2bf Fix EE Short tests (#6585) 2017-06-05 16:40:17 -07:00