Commit graph

23 commits

Author SHA1 Message Date
Mario de Frutos Dieguez
b7165a0f5f Mark manifest.[go|js] as a generated file (#57)
manifest.[go|js] files are autogenerated so we dont need to
show diffs, cope with conflicts in merge operations or show the
diff in github.
2019-08-14 23:40:52 +02:00
Jesse Hallam
b8201a2731 downstream dependency updates from mattermost-plugin-demo (#53) 2019-07-12 07:43:45 -07:00
Michael Kochell
1a5f1bc2d2
[MM-14189] Update references to "mattermost-plugin-sample" to be… (#47)
Repo name changed
2019-06-24 22:02:25 -04:00
Hanzei
43af4d9cfe
Refactoring (#43)
* Cleanup .gitignore

* Document minimum server version

* Become golint compliant

* Use pre defined http method

* Update dependencies

* Add i18n-extract target

* Add golint target

* Run check-style against all go files

Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
2019-06-22 16:15:48 +02:00
Hanzei
fe3553d999 Go modules (#22)
* Move to go modules

* Move go.mod in root directory

* Update Readme

* Remove golang.org/x/tools from go.mod

* Remove go list from targets

* Set go version to 1.12

* Update Makefile

Co-Authored-By: hanzei <16541325+hanzei@users.noreply.github.com>

* Update dependencies

* Fix build
2019-04-10 12:42:33 -07:00
Hanzei
05dd2de750 Start with version 0.1.0 (#35) 2019-04-04 07:44:40 -07: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
e30e2613a4
Update Mattermost to v5.4 2018-10-17 07:19:22 +02: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
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
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
Hanzei
8cb9ff92df
Extract plugin version from manifest 2018-09-18 08:12:48 +02:00
Jesse Hallam
8788b41ab2
s/vgo/dep/ 2018-07-27 14:32:36 -04:00
Jesse Hallam
f9ce32a7d9
enable coverage for server tests 2018-07-25 14:36:05 -04:00
Jesse Hallam
daaf7822ea
strip out sample bits (moved to demo repository) 2018-07-24 16:02:46 -04:00
Jesse Hallam
189f92c54b
initial commit 2018-07-23 13:43:22 -04:00