Commit graph

118 commits

Author SHA1 Message Date
Hanzei
63f5322e4e Add .editorconfig (#34) 2019-03-25 10:31:26 -04:00
Hanzei
cd8afb141d
Allow plugins to include assets in the bundle (#28) 2019-03-18 20:09:23 +01:00
Hanzei
81c67a92f3
Overwrite plugin when deploying (#32)
It's now a month after v5.8  has been released. Time to bring these changes back in.

Resubmission of https://github.com/mattermost/mattermost-plugin-sample/pull/23
2019-03-18 19:59:04 +01:00
Carlos Tadeu Panato Junior
cf8dcecdf2 introducing circleci (#31)
Based on the dev meeting we are moving to circleci
2019-03-06 19:03:52 +01:00
Hanzei
c415b6b7b8 Prohibit variable shadowing (#30) 2019-02-06 18:46:30 +01:00
Hanzei
ff7758dc6a
Add make coverage (#29)
This PR adds a 'make coverage` command, which creates a coverage report for the server code.
2019-01-23 20:53:49 +01:00
Yusuke Nemoto
c33bf64be0 Modify make help target for macOS (#27) 2019-01-09 16:30:14 +01:00
Lev
c347da882c
Revert "Overwrite plugin when deploying (#23)" (#25)
This reverts commit b64b9ec8ba.
2018-12-27 09:29:12 -08:00
Hanzei
b64b9ec8ba
Overwrite plugin when deploying (#23) 2018-12-17 20:53:30 +01:00
Hanzei
415e8b5f72
Update dependencies for 5.6 (#24) 2018-12-17 08:28:01 +01:00
Jesse Hallam
76ba0b57a7 configuration: ignore an empty configuration struct in setConfiguration (#21)
If the plugin leaves the configuration struct empty, go will optimize away allocations of the zero-width struct failing the `setConfiguration` check that prevents a user from introducing race conditions.
2018-11-15 14:02:55 +01:00
Hanzei
b303e8da00 Add make help target (#19)
* Add make help target

* Move documentation to previous line
2018-11-08 16:30:58 -05:00
Carlos Tadeu Panato Junior
8bbec359c7 add travis badge (#20) 2018-11-08 13:12:13 -05:00
Jesse Hallam
abded0bb53
Merge pull request #15 from hanzei/fmt
Add check-style makefile target
2018-10-17 18:02:45 -04:00
Jesse Hallam
8e2e57e1f5
Merge pull request #16 from hanzei/mm_5.4
Update Mattermost to v5.4
2018-10-17 10:18:48 -04:00
Hanzei
e30e2613a4
Update Mattermost to v5.4 2018-10-17 07:19:22 +02:00
Hanzei
f31f0f8a0a
Fix bug 2018-10-12 16:10:07 +02:00
Hanzei
1495c46ae6
Add govet target 2018-10-12 15:05:14 +02:00
Hanzei
0f51dc026e
Add make check-style to travis 2018-10-12 14:56:57 +02:00
Hanzei
fbdb357823
Add check-style makefile target 2018-10-12 13:38:18 +02:00
Jesse Hallam
b9e17a1c5f
Merge pull request #13 from hanzei/http
Add hello world http method
2018-10-10 10:44:40 -04:00
Joram Wilander
fa21513efc
Merge pull request #14 from hanzei/travis
Add travis CI
2018-10-10 08:44:08 -04:00
Hanzei
c1397f440e
Add hello world http methode and test 2018-10-10 12:46:52 +02:00
Hanzei
5befc9b69f
Add github.com/stretchr/testify to dependencies 2018-10-10 12:45:23 +02:00
Jesse Hallam
399c4686e6
Merge pull request #11 from hanzei/dependencies
Update Dependencies
2018-10-05 12:25:31 -04:00
Hanzei
8c2c1d6c6b
Add travis CI 2018-10-04 18:11:30 +02:00
Jesse Hallam
c21ab98b92
Merge pull request #12 from mattermost/mm-12193-remove-auto-unmarshalling
MM-12193: illustrate simplified, but safe configuration handling
2018-10-03 13:13:52 -04:00
Jesse Hallam
75eccc0628
pull updates from demo plugin pr 2018-10-02 14:09:41 -04:00
Jesse Hallam
eb2678c625
clarify avoiding API while holding configurationLock 2018-10-01 17:18:36 -04:00
Jesse Hallam
8adb629abd
simplify configuration.Clone 2018-10-01 17:12:41 -04:00
Jesse Hallam
e1e2ca5951
MM-12193: illustrate simplified, but safe configuration handling 2018-10-01 14:16:45 -04:00
Hanzei
d918262365
Update server dependencies 2018-09-23 08:22:59 +02:00
Hanzei
d0df44c109
Run go tests with -race & fix install 2018-09-23 08:18:07 +02:00
Joram Wilander
8e081f9969
Merge pull request #10 from mattermost/tweak-plugin-version
tweak plugin id/version injection
2018-09-21 08:37:03 -04:00
Jesse Hallam
15a3d3c433
fix index.js import of plugin id 2018-09-20 14:21:10 -04:00
Jesse Hallam
5b2980d1ac
tweak plugin id/version injection
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness)
* separate plugin id from version with dash in bundle name to match Mattermost package
* fix various js/go idioms (some pre-existing!)
* fix error message
2018-09-20 11:56:40 -04:00
Joram Wilander
a0e9acdbaf
Merge pull request #8 from Hanzei/plugin_version
Extract plugin version from manifest
2018-09-19 08:40:53 -04:00
Hanzei
ed143d89d4
Include version into bundle name 2018-09-18 08:19:42 +02:00
Hanzei
8cb9ff92df
Extract plugin version from manifest 2018-09-18 08:12:48 +02:00
Christopher Speller
fac781a229
Merge pull request #7 from mattermost/typo_readme
remove /
2018-08-20 09:16:09 -07:00
Christopher Speller
25beae65fa
Merge pull request #6 from jespino/adding-curl-to-makefile
Adding curl as option to 'make deploy' for better linux support
2018-08-20 09:15:51 -07:00
cpanato
6f9d841717
remove / 2018-08-16 19:41:49 +02:00
Jesús Espino
376d9f5cd0 Adding curl as option to 'make deploy' for better linux support 2018-08-16 00:32:43 +02:00
Christopher Speller
41037d02e1
Merge pull request #5 from mattermost/fix_upload
fix the upload thru api
2018-08-15 11:40:02 -07:00
cpanato
b6d0d55fac
fix the upload thru api 2018-08-15 13:35:02 +02:00
Christopher Speller
f61bb8be72
Merge pull request #3 from mattermost/linux-makefile-improvements
more Makefile improvements
2018-07-31 22:53:11 -07:00
Christopher Speller
b66f4c7c1d
Remove unneeded env set 2018-07-31 22:45:45 -07:00
Jesse Hallam
debd9c11ed
pull changes from mattermost-plugin-demo 2018-07-31 16:21:03 -04:00
Jesse Hallam
2de3471aa2
more Makefile improvements
* warn upfront if go/dep/npm not available
* try to find dep in $GOPATH/bin if not installed globally
* only override variables if not externally defined, allowing manual override from command line
* split up Makefile into a buid/setup.mk for simplicity

I didn't actually find anything that made this Makefile not-linux
specific -- tested on Debian with the standard make installed.
2018-07-31 16:15:55 -04:00
Christopher Speller
72c619f8bc
Merge pull request #2 from mattermost/tweak-makefile-targets
Tweak makefile targets
2018-07-31 07:46:51 -07:00