Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Christopher Speller
8c73f092e8 Fix public boards setting not applying properly. (#22921) 2023-04-12 15:11:46 -07:00
Agniva De Sarker
62d758f485 Do not shutdown DB handle from boards product (#22924)
* Do not shutdown DB handle from boards product

```
warn  [2023-04-12 09:16:55.397 +05:30] Failed to save status                         caller="platform/status.go:175" user_id=gt5aricnu7g7xkr4jstfybgmbc error="failed to upsert Status: sql: database is closed"
```

The DB handle is a global object that is finally closed
at a higher layer after all the necessary tasks are finished.
So closing it prematurely, in the boards shutdown phase
is not necessary and can cause failures as observed above.

To fix this, we just remove the shutdown method.

```release-note
NONE
```

* fix tests

```release-note
NONE
```
2023-04-12 15:40:03 +02:00
Miguel de la Cruz
4cc2fed079 Adds support for public routes on shared boards (#22710)
* Adds support for public routes on shared boards

* Fix linter

* Address review comments

* Update playbooks registerProduct call

* Use boards product config for setting

* update additional product locations for parameter changes

* fixes for read-only when logged in

* turn off global header and don't initialize plugin if shared board

* fix unit tests

* revert package-lock.json

* more fixes

* Remove FF check for system console setting for boards

* update tests, Product boards is displayed in system console

* only check products section of config

* update test for config change

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-06 12:24:32 -06:00
Doug Lauder
69657be9f2 Boards: Avoid panic in Boards file request handler when file not found. (#22792)
* Avoid panic in Boards file request handler when file not found.
2023-04-03 12:27:16 -04:00
Doug Lauder
99467c6b68 MM-51792 Replace Boards feature flag with env var (#22739)
* remove Boards feature flag from server, makefile, and docker

* Update server/boards/server/boards_service_util.go

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

---------

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-03-31 10:29:29 -04:00
Jesse Hallam
1cf0cff9c6 Boards: Use custom placeholder for telemetry. (#22623)
Adopt `placeholder_boards_rudder_key` as the replacement value for injecting the telemetry key, allowing Boards to preserve its unique telemetry key.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 13:20:39 -03:00
Harshil Sharma
3e85a9bb3a Updated query to support old mysql version (#22606)
* Updated query to support old mysql version

* Added tests

* Using foundation for tests

* Removed unused override params

* Removed unused override params
2023-03-27 09:53:05 +02:00
Agniva De Sarker
d8d3c6e7a6 MM-51699: Skip flaky test (#22635)
https://mattermost.atlassian.net/browse/MM-51699

```release-note
NONE
```
2023-03-27 10:28:16 +05:30
Doug Lauder
c943ed6859 Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00