Commit graph

157 commits

Author SHA1 Message Date
Spiros Economakis
c0b3c8b760
Migrate from CircleCI to Github Actions (#173)
CI/CD reusable workflows in Github Actions for Plugin software lifecycle

Ticket: https://mattermost.atlassian.net/browse/CLD-4816
2023-02-07 11:39:25 +02:00
moussetc
e7fd65fd4e
Update plugin.json (#174)
Bump up min_server_version to match mattermost-server in go.mod

Fixes #172
2023-02-06 17:41:47 -05:00
Harrison Healey
59b6596936
MM-47046 Use version of Reaact DOM provided by web app (#169)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-02 14:54:07 -04:00
Ben Schumacher
2474dfc803
[MM-43713] Disable CGO for all builds (#167) 2022-10-07 20:40:37 +02:00
Ben Schumacher
2879447b47
Update orb version (#170) 2022-10-07 20:24:44 +02:00
Michael Kochell
2629a23a05
Create .gitpod.yml (#166) 2022-05-06 12:27:19 -04:00
Colton Shaw
18b436aa4c
Added Enable upload to plugins (#162) 2022-01-27 11:34:34 +01:00
Ben Schumacher
0f9b8ba790
Only build binary for current architecture in dev mode (#161) 2022-01-17 13:15:25 +01:00
Carlos Tadeu Panato Junior
05c25c4c47
add linux arm64 targets (#160) 2021-11-02 14:45:37 +01:00
Ben Schumacher
4571b3b71c
[MM-38075] Update server dependency (#158) 2021-09-07 17:47:26 +02:00
Ben Schumacher
a80b066195
[MM-38075] Use mattermost-server/v6 (#157) 2021-08-25 09:29:26 +02:00
Jesse Hallam
f547011d23
add arm64 support (#155)
* add arm64 support

* arm64s arent exe...

* s/windows/darwin/
2021-06-16 09:38:16 -03:00
Chetanya Kandhari
be4a281d0c
Update main.go (#154) 2021-06-01 09:38:41 +02:00
Ben Schumacher
ca9ee3c17c
[MM-33506] Use embed package to include plugin manifest (#145) 2021-05-18 15:51:24 +02:00
Ben Schumacher
f5cae51a20
Disable fieldalignment golangci-lint check (#149) 2021-04-29 17:15:58 -03:00
Haardik Dharma
660543084e
Update plugin.json to make template more "marketplace-ready" (#144)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2021-02-22 21:13:17 +01:00
dependabot[bot]
d362217b0a
Bump ini from 1.3.5 to 1.3.8 in /webapp (#141)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 08:05:08 +01:00
Domas Monkus
54637e7313
Synchronization tool file history tests modified to set up a temporary git repo (#138) 2020-11-03 10:19:36 +01:00
Artur M. Wolff
e8103502da
Fix .editorconfig (#137) 2020-10-20 16:37:29 +02:00
moussetc
d3786e75dd
Update README with files to edit manually (#133)
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
2020-10-16 13:01:54 +02:00
Domas Monkus
95bcc7ac80
Disable git file history test that relies on commits not being squashed in github PR merges. (#135) 2020-10-09 11:55:14 +02:00
Domas Monkus
5eb33f8675
Removed file git history (#128) 2020-10-09 09:52:05 +02:00
Ben Schumacher
57f7843ae1
Make plan.yml general purpose (#125) 2020-10-09 09:42:45 +02:00
Jared Shields
a09b4949fe
Removed trailing slash from site url. (#120)
* Removed trailing slash from site url.

* Reverted trimming of the URL. Updated reference in the build's go.mod to use specific commit in mattermost-server that contains fix for trailing slashes on the site url.

Co-authored-by: jshields <jshields@caci.com>
2020-09-28 09:59:39 -03:00
Artur M. Wolff
2dffc39e61
Skip the webapp/package.json if it is missing (#130) 2020-09-24 17:07:15 -04:00
Ben Schumacher
d9532472eb
Migrate index.js to use Typescript (#129)
* Migrate index.js to use Typescript

* Fix tests
2020-09-24 09:42:36 +02:00
Ben Schumacher
18d30b50bc
Don't generate manifest.ts (#127) 2020-09-23 01:14:00 +02:00
Ben Schumacher
eae9f9826a
Fix bad merge (#126) 2020-09-17 02:36:58 +02:00
Michael Kochell
511805e36c
Add separate go.mod to build folder (#119)
Co-authored-by: Hanzei <hanzei@mailbox.org>
2020-09-17 01:55:20 +02:00
Ben Schumacher
dcaf9dd289
Fix issues with Repository synchronization tool (#124)
* Only run tests in build/sync if directory exists

* Use t.Helper()

* Don't compare size of directories

* Fix TestFileHistory

* Fix linter issue

* Apply changes from https://github.com/mattermost/mattermost-plugin-github/pull/345

* Use ts file for tests

* Add sync target
2020-09-15 12:32:37 -04:00
Domas Monkus
0688e8df4c
MM-21722 - Repository synchronization tool (#86) 2020-09-13 15:30:09 +02:00
Jared Shields
4e7a2d3734
Updated readme to describe new method of invoking the debug builds. (#117) 2020-08-24 10:39:22 -04:00
Ben Schumacher
dfa4dc13dd
Drop interfacer and goconst from golangci-lint config (#118) 2020-08-24 15:01:50 +02:00
gubbins
5f6ebdfe74
Fix recursive copies in Makefile for OSX (#97)
Co-authored-by: Dave Gittins <david.gittins@imc.com>
2020-07-30 15:01:18 +02:00
Michael Kochell
4523a0a25e
[MM-26997] Use socket API to deploy plugins, if available (#108)
* Use socket API if available

* Make socket path configurable by env var

* Add local mode docs to README

* Change README wordings

* Add log when using local mode. Change error handling for local mode deploy.

* address requests in pluginctl and update mattermost-server

* check if MM_LOCALSOCKETPATH is present before logging

* update go.sum
2020-07-29 05:21:46 -04:00
gubbins
2d65fe1e26
Add .idea to gitignore (#98)
For the GoLand fans!
2020-07-27 08:59:11 -04:00
dependabot[bot]
ed45ff7aba
Bump lodash from 4.17.14 to 4.17.19 in /webapp (#106)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-22 12:57:06 +02:00
Michael Kochell
ff87cdfc8f
Rename DEBUG env var to MM_DEBUG (#109) 2020-07-21 09:02:14 -03:00
Christopher Speller
7cdbf90a73
MM-26572 Improve tooling around typescript (#105)
* Upstream typescript tooling changes.

* Update rest of dependencies.
2020-07-09 10:51:28 -03:00
Jesse Hallam
becbbc9685
Fix build issues (#104)
* fix linting issues on webpack.config.js

* sync with demo plugin, go mod tidy

* npm audit fix

There's a rash of lodash issues right now that have no available fix, but I'm fixing the remaining issues.

* use exact versions

* update webapp/package-lock.json too

* manually clean up go.mod/go.sum

* private package.json
2020-07-07 09:50:31 -03:00
Jesse Hallam
a49d6f6dd4
Various tooling improvements from other plugins (#96) 2020-06-22 11:21:37 -04:00
Alejandro García Montoro
c557d38b4d
MM-25822: Import react-router-dom from the webapp (#101) 2020-06-10 15:25:56 +02:00
Christopher Speller
ef0ac3babb
Fix makefile to npm install when package.json changes. (#94) 2020-04-28 10:43:35 -03:00
dependabot[bot]
1ce44fa2a3
Bump acorn from 5.7.3 to 5.7.4 in /webapp (#92)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-06 07:10:06 +02:00
Ben Schumacher
f5e50c1e17
Integrate GolangCI-Lint (#90)
* Use plugin orb for ci

* Add golangci-lint config and fix issues

* Simplify circleci config

* Drop unparam

* Drop maligned

* Ignore varcheck in server/manifest.go
2020-04-02 15:01:00 -03:00
Ben Schumacher
ebbd3cdaad
Add test output files to make clean (#91) 2020-03-30 18:22:31 -04:00
Ben Schumacher
5d32943c36
Add junit.xml to gitignore (#89) 2020-03-20 09:07:35 +01:00
Gabe Jackson
6eea8c4577
Cleanup deploy error message (#88)
This removes a double print of the API response error message.
2020-03-13 09:10:53 -07:00
Ben Schumacher
8fb70ec7f3
Bump dependencies and go version (#87)
* Bump go dependencies

* Bump go version to 1.14
2020-02-28 11:25:13 -05:00
Jesse Hallam
282a8cf227
Allow make deploy using token (#79)
* Allow make deploy using token

Introduce support for `MM_ADMIN_TOKEN` as an alternative to defining `MM_ADMIN_USERNAME` and `MM_ADMIN_PASSWORD.

* reverse README.md authentication schemes

* wrap errors

* Update build/deploy/main.go

Co-Authored-By: Ben Schumacher <ben.schumacher@mattermost.com>

* fix linting

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2020-02-08 10:14:26 -05:00