Commit Graph

708 Commits

Author SHA1 Message Date
wiggin77
a31bda28ce more linter fixes 2023-01-26 12:54:59 -05:00
wiggin77
ad9d744d63 fix teamID check 2023-01-26 12:47:44 -05:00
wiggin77
0c19e1c950 fix linter errors 2023-01-26 12:26:01 -05:00
wiggin77
c6b2c28394 Merge remote-tracking branch 'upstream/main' into compliance-history-export 2023-01-26 12:19:36 -05:00
wiggin77
d1255cc76e address review comments; return pointers to all structs; implement DBVersion 2023-01-26 12:12:28 -05:00
Jesús Espino
345ff01539
MM-43342: More strict permissions on categories (#4504) 2023-01-26 10:07:41 +01:00
Doug Lauder
165d3c0fc1
Update server/api/compliance.go
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-01-25 14:08:18 -05:00
wiggin77
7ebf861f1c fix merge conflict 2023-01-24 16:25:23 -05:00
Doug Lauder
7db8108330
No camel-case for Focalboard in logs (#4472)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-24 14:56:47 +01:00
Harshil Sharma
03f4717e96
Hide board feature (#4409)
* WIP

* Added migrations

* Updating store method

* WIP

* WIP

* Updated DND

* WIP

* WIP

* WIP

* WIP

* WIP

* wip

* WIP

* Adding new DB tool

* Used migration functions in new migrations

* Unique constraint migration

* Unique constraint migration

* Added SQLITE migrations

* Added SQLITE support in few more migrations

* Added SQLITE support in few more migrations

* WIP

* Used old-fashioned way to add unique constraint

* Using oldsqlite method

* Using oldsqlite method

* Fixed all store and app layer tests

* fixed integration tests

* test and lint fix

* Updated migration for MySQL and Postgres on personal server

* Types fix

* sqlite fix

* fix typo

* misc cleanup

* added new tests

* added new tests

* de-duping input for postgres

* integration tests, rmeoved uneeded migration

* Added some migration tests

* Added some migration tests

* Fixed a test

* completed migration tests

* completed migration tests

* Removed leftover debug statements

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-24 15:41:54 +05:30
Agniva De Sarker
d6207dde6c
MM-49703: Bump to Go 1.19 (#4489) (#4502)
Also fix some gofmt issues

https://mattermost.atlassian.net/browse/MM-49703
2023-01-23 12:43:40 +05:30
Mattermost Build
a422f213d4
Merge branch 'main' into compliance-history-export 2023-01-21 04:59:49 +02:00
Doug Lauder
50e15f3804
Revert "MM-49703: Bump to Go 1.19 (#4489)" (#4499)
This reverts commit 2d0dde21dd.
2023-01-20 21:58:27 +05:30
Agniva De Sarker
2d0dde21dd
MM-49703: Bump to Go 1.19 (#4489)
* MM-49703: Bump to Go 1.19

Also fix some gofmt issues

https://mattermost.atlassian.net/browse/MM-49703

* Bump versions in go.mod

* Update go.work as well

* Bump GolangCI to 1.50.1

* Upgraded to new builder image
2023-01-20 11:06:16 -05:00
Doug Lauder
23e7cf06de
Use GetDirectChannelOrCreate when notifying block chg in MPA mode (#4496)
* handle getDirectChannel returning nil,nil

* Use GetDirectChannelOrCreate for bot notify channel
2023-01-20 07:55:07 -05:00
Rajat Dabade
8323b58ae0
Export Import Memberships is retained (#4422)
Fixes https://github.com/mattermost/focalboard/issues/4275
2023-01-19 08:52:14 +05:30
Doug Lauder
333b448705
handle getDirectChannel returning nil,nil (#4487) 2023-01-18 17:06:59 -05:00
wiggin77
ca704a2760 fix merge conflict 2023-01-17 14:54:37 -05:00
Scott Bishel
ff3a8d2096
Implement Person filter and groupBy (#4414)
* implement person filter

* implement groupBy

* cleanup and fix adding filtered values

* fixes for existing unit tests

* add unit tests

* add unit tests

* fix lint issues

* lint, test fixes

* handle unknown and undefined users

* dont allow edit on person options

* add displaying Me, remove bots

* update i18n-extract

* update snapshots from merge, fix unit test failure, add unit test for 'Me'

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-17 12:02:54 -07:00
Doug Lauder
1490a008da
bump mm-server version to v6.0.0-20230116174708-240304ad0728 (#4473) 2023-01-17 07:11:46 -07:00
wiggin77
4df8c43410 comments 2023-01-13 21:25:56 -05:00
wiggin77
5b345bd401 fix queries for Postgres; fix unit tests 2023-01-13 20:44:07 -05:00
wiggin77
0f24032560 store unit tests 2023-01-13 11:14:12 -05:00
wiggin77
76a084ebab fix comment 2023-01-10 13:16:20 -05:00
wiggin77
1b1ace1a58 Merge remote-tracking branch 'upstream/main' into compliance-history-export 2023-01-09 18:09:40 -05:00
Harshil Sharma
9e1aa92b08
Added support for multiperson property in notifications (#4440) 2023-01-09 18:03:38 -05:00
Scott Bishel
7ae2e62388
update version to v7.8.0 (#4432) 2023-01-06 09:58:59 -07:00
wiggin77
50d6b1a4bf store unit tests 2023-01-05 10:15:57 -05:00
wiggin77
abbd5f46a1 fix export board permission 2023-01-03 17:47:20 -05:00
wiggin77
f4d5c39d7d swagger for new APIs 2023-01-03 16:53:57 -05:00
wiggin77
a8baf0c4b9 fix sql for mysql 2023-01-02 16:41:40 -05:00
wiggin77
c6a5926b89 fixed pedantic linter nonsense 2023-01-01 19:19:21 -05:00
wiggin77
23c3bda971 fix linter errors 2023-01-01 19:10:37 -05:00
wiggin77
866d23529e integration tests for GetBlocksComplianceHistory 2023-01-01 14:16:46 -05:00
wiggin77
4272e2eac0 integration tests for GetBoardsComplianceHistory 2022-12-31 16:33:05 -05:00
wiggin77
dd1e64958f integration tests for GetBoardsForCompliance 2022-12-31 15:16:22 -05:00
wiggin77
96b790672b wip 2022-12-23 23:31:39 -05:00
wiggin77
0990089f35 Merge remote-tracking branch 'upstream/main' into compliance-history-export 2022-12-23 11:36:10 -05:00
Ibrahim Serdar Acikgoz
8585ff04d2
services/store: use mattermost sql settings for migration connections (#4395)
* services/store: use mattermost sql settings for migration connections

* fix db type issue
2022-12-23 11:19:37 -05:00
Doug Lauder
73d77682ac
Expose boards APIs for MPA (#4372)
* add Boards APIs to services map
2022-12-23 10:47:51 -05:00
Mattermod
625a3e12af
Merge branch 'main' into compliance-history-export 2022-12-23 03:12:01 +02:00
Scott Bishel
1fcd7e40d6
if no title, use 'untitled board' in message (#4353)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-22 12:39:14 -07:00
Miguel de la Cruz
fd4cf95f8a
Disable cloud limits (#4268)
* Disable cloud limits

* Fix linter

* Disable limits initialization and shortcircuit GetBoardsCloudLimits

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-22 10:40:20 -07:00
Harshil Sharma
20f81074da
Don't set cattegory for board template (#4386) 2022-12-22 11:04:36 +05:30
Scott Bishel
f09cc00521
rename migration 24 back to original name (#4367) 2022-12-19 16:46:53 -07:00
Harshil Sharma
78ac6924e8
Dnd remove default column value (#4337)
* Revert "Revert dnd (#4294)"

This reverts commit 9fac8f476e.

* removed default value of new column for DND

* Used a column function, and collases for default value

* fix bad merge

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-12-19 14:37:51 -07:00
Doug Lauder
b63542fb63
Search boards by prop (#4291)
* SearchBoardsForUser API with property name search.
2022-12-16 11:46:00 -05:00
Doug Lauder
2a5c033fa5
Idempotent schema and data migrations (#4253)
* modify all migration scripts for idempotency
* Add readme
2022-12-16 11:15:38 -05:00
Ibrahim Serdar Acikgoz
9cdae953b9
go.mod: update mattermost-server dependency (#4341)
* go.mod: update mattermost-server dependency

* update linux/go.mod
2022-12-15 16:36:48 -05:00
Miguel de la Cruz
78ff5c08ad
Fix default collation on preferences table (#4347) 2022-12-15 16:35:32 -05:00