Commit graph

81 commits

Author SHA1 Message Date
Paul Esch-Laurent
ba64de9fa1
ci: test & lint mattermost-plugin (#3156)
* ci: test & lint `mattermost-plugin`

* chore: fix mattermost-plugin/webapp linting

* lint: fix eslint errors

* ci: run `make webapp-ci`

* test: fix non-idempotent snapshot tests

* chore: `npm run i18n-extract`

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 08:28:13 +02:00
Harshil Sharma
2ab4e95289
Updated go version (#3189)
* Updated go version

* Generated mocks

* lint fix

* lint fix

* lint fix

* Updated gitlab builder image
2022-06-06 10:18:21 +02:00
Doug Lauder
979807a3b6
Bump versions of github actions, golangci-lint, and Go (#2844)
* Bumps versions of github actions, golangci-lint, and Go
* fix lint plugin;  use make file
2022-04-19 21:18:47 -04:00
Chen-I Lim
c9e449ee85 CI: Mac - only run integration tests 2022-04-13 15:47:35 -07:00
Chen-I Lim
5b423d6647
CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add CI for macOS

* Lower password hash during unit tests

* Add comment

* Only integration tests on Windows

* Tweak TestCreateRecurringTask timings

* Fix server-test-mini-sqlite
2022-04-13 15:36:20 -07:00
Chen-I Lim
3264902131
Fix #2770: Handle Windows path in import and tests (#2771)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Support Windows in import archive and tests

* Run CI on Windows too

* CI: Windows SQLite only

* Remove npm ci fromn Windows CI
2022-04-13 10:17:04 -07:00
Doug Lauder
a5565dcfa1
Generate templates archive at build time (#2577) 2022-03-30 18:10:11 -04:00
Chen-I Lim
8caf02a4be
Fix CI (#2619)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Fix CI
2022-03-23 14:53:48 -07:00
Jesús Espino
50977bcd28
Trying to parallize tests (#2608)
* Trying to parallize tests

* Fixing yml syntax

* Split server and webapp tets

* Trying to fix the ci server build

* Trying to fix the ci server build

* Trying to fix the ci.yml file
2022-03-23 15:51:52 -04:00
Jesús Espino
03864823dc
Run make server-test-sqlite to run only against sqlite for that part of the job (#2605) 2022-03-23 20:13:07 +01:00
Chen-I Lim
10427afa24
Tweaked bug template (#2529)
* Tweaked bug template

* Update .github/ISSUE_TEMPLATE/bug_report.md

Thanks, good idea!

Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>

Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
2022-03-14 14:41:40 -07:00
Ossi Väänänen
827e3e22e3
Replace npm install with npm ci to ensure dependencies are properly (#2288)
pinned during CI/CD`
2022-03-04 07:14:16 -07:00
Chen-I Lim
5ba81b4c27
Update GitHub workflow to use Windows 2022 (#2348)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Use windows-2022

* Debug: Dir

* Win SDK path

* Dir

* Use Win SDK 10.0.19041.0

* Cleanup

* Add Win requirements to readme

* Add Windows SDK download link to readme
2022-02-16 07:43:09 -08:00
Chen-I Lim
14b2103f85
Fix #2346. Revert to Windows 2019 for GitHub actions (#2347) 2022-02-15 13:26:17 -08:00
Chen-I Lim
64c4be7e1b
GitHub: workflows: Use macOS 11 and Xcode 13.2.1 (#2338)
* GitHub: workflows: Use macOS 11 and Xcode 13.2.1

* Update readme with macOS version
2022-02-14 18:52:38 -08:00
Ossi Väänänen
a0185bf514
Add scorecards analysis (#2186)
Github Action for Scorecard
https://github.com/ossf/scorecard

The Scorecard provides a (somewhat opinionated) view on the security posture of the repository -- we (the product security team) would like to adopt this on our key repositories to identify possible security improvements
2022-01-31 14:40:20 -08:00
Chen-I Lim
690dc365f5
Add note about Severity labels to bug template (#2195)
* Add note about Severity labels to bug template

* typo
2022-01-28 09:19:21 -08:00
Doug Lauder
0727fbc96a
run CI against all PRs and pushes, in any branch (#2056) 2022-01-06 12:33:29 -05:00
Doug Lauder
7af9e18a49
Test all supported databases in CI (#2000)
* add mysql and postgres tests to CI
2021-12-17 12:30:47 -05:00
Hossein
bfad610d15
Add Triage tag to new bugs (#1894) 2021-11-30 11:20:47 -05:00
Chen-I Lim
902a25c265
Fix #1663. Remove unused workflows. (#1674) 2021-10-27 08:42:16 -07:00
Doug Lauder
992ad833d1
run all CI on PRs to be merged with release branches (#1390) 2021-10-01 10:24:21 -04:00
Chen-I Lim
80b9abf9dd
Fix #1365. Run CI workflows on release branches (#1366) 2021-09-30 12:09:38 -07:00
Justine Geffen
f5bf6e8019
Update templates for issues (#1175)
* Update doc_improvement.md

Update templates: formatting, style, example links.

* Update bug_report.md

* Update enhancement.md

* Fix merge

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-09-28 18:43:17 +02:00
Chen-I Lim
c64e6ed006 Add edition to bug template 2021-09-16 12:58:27 -07:00
Chen-I Lim
fbd513c37a
Fix #1229. Set telemetry key for production (#1230) 2021-09-16 11:32:57 -06:00
Chen-I Lim
e9f92e9edf Update bug templates with label capitalization 2021-09-09 14:57:33 -07:00
Scott Bishel
94e6e8a9f7
Plugin telemetry (#1069)
* implement webapp telemetry

* cleanup

* remove imports, update events

* change event title

* update for lint

* add test, update filename

* linter fix

* fix field name

* revert changes

* fix test

* update builds

* fix workflows

* fix workflows

* fix workflow

* temp checkin

* remove log lines

* updates from peer review
2021-09-01 15:53:27 -06:00
Miguel de la Cruz
f9c76d8129
Update focalboard to be compatible with mattermost v6 (#1020)
* Update focalboard to be compatible with mattermost v6

* Point to the new plugin API version

* Fix collectors linter issues

* Move all CI jobs to 1.16
2021-08-24 12:13:58 +02:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
Doug Lauder
a0524dd386
Lint server & plugin for CI (#720)
* enable CI linting for server and plugin
* replace `golint` (deprecated) with `revive`
* use GH actions for lint
2021-07-14 09:36:18 -04:00
Carlos Tadeu Panato Junior
4b1136900d
add codeowners to make the PR auto assignment to work (#697) 2021-07-09 13:25:01 +02:00
Chen-I Lim
7ad24e6b1d Add workflow_dispatch to dev_release workflow - fix yml 2021-07-01 09:41:57 -07:00
Chen-I Lim
0a1de477e8 Add workflow_dispatch to dev-release workflow 2021-07-01 09:38:48 -07:00
Chen-I Lim
2683f73654 Add the plugin build to prod-release 2021-06-10 16:29:27 -07:00
it33
15498c913e
New template for requesting doc improvements (#548)
* New template for requesting doc improvements

I wanted to request a doc improvement and there wasn't a template to do so

* Rename doc_improvement to doc_improvement.md

* Update doc_improvement.md

* Update doc_improvement.md
2021-06-08 17:11:06 -07:00
Chen-I Lim
8f33875230 Add dev-release action for commits and PRs 2021-06-03 09:22:17 -07:00
Rohitesh Gupta
5d854caca3
Create codeql-analysis.yml (#510) 2021-06-02 18:34:55 +02:00
Carlos Tadeu Panato Junior
36acff4476
Add GitLab ci to build internally and bump go to 1.16 (#468)
* update go to 1.16

* add gitlab ci to build focalboard
2021-05-26 12:34:42 +02:00
Miguel de la Cruz
b327bc7b8a
Adds plugin actions to the project's CI (#471)
* Adds plugin actions to the project's CI

* Remove the version number from the generated artifact

* Change job name to something more descriptive

* Switch back to workflow_dispatch
2021-05-25 19:22:31 +02:00
Harshil Sharma
e5a915dddf
Using Node v16.0.1 in CI (#459)
* Using Node v16.0.1 in CI

* Mocked fetch in the test

* Using global response

* Added fetch mocker

* #GH-458 specified Node version in build scripts
2021-05-25 15:26:20 +05:30
Chen-I Lim
545fb64c00
Release 0.6.5 (#311)
* Fixed #269

* Fixing checkbox widht

* Fix #274. Add re-login button to error page.

* Fix #276. Login page title

* Rev Mac build version

* Update changelog for v0.6.5

* Rev Mac build number

* GitHub Actions: Build with Xcode 12.4

* Fix #297: Mac keybpard handling

* Rev Mac built to 12

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-21 10:33:28 -07:00
Chen-I Lim
be477dadbc Actions: Build on ubuntu-18.04 2021-03-26 13:56:39 -07:00
Jesús Espino
98a63c938a
Merge pull request #155 from mattermost/it33-patch-3
Adding prefix "Bug: " to issue template
2021-03-25 16:15:23 +01:00
Chen-I Lim
e3059fce23
Merge pull request #170 from mattermost/it33-patch-2
Switch from "Feature Request" to "Feature Idea"
2021-03-23 16:23:24 -07:00
Chen-I Lim
d6beedceea Windows zip package 2021-03-23 12:08:41 -07:00
it33
e1438cc83a
Switch from "Feature Request" to "Feature Idea"
We had this problem in Mattermost where when we used the term "Feature Requests" it sounded a bit like "Pull Requests" and there was an expectation sometimes, in our own team and in the community, that it was some sort of formal ticket that had to be addressed. 

We later changed to "Feature Idea" and then the expectations changed, where the maintainers didn't necessarily need to address every new ticket, since it was more sharing an idea, versus putting in a request. 

Right now the volume of feature ideas is a little overwhelming and my sense is we should make this change to lower the perceived pressure a bit. 

If we make this change, we can go update the previous tickets to match, and link to this ticket to explain why.
2021-03-22 09:44:54 -07:00
it33
9ceb3b8bfc
Adding prefix "Bug: " to issue template
Make it more consistent with feature request template
2021-03-20 15:24:46 -07:00
Chen-I Lim
9bc4167b9b Add enhancement issue template 2021-03-18 13:45:02 -07:00
Chen-I Lim
910ac3353e Remove old windows app 2021-03-04 17:09:51 -08:00