1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00
Commit Graph

726 Commits

Author SHA1 Message Date
Harshil Sharma
39dbdbba77 Added data migration to de-duplicate data from category_boards table 2023-03-03 15:10:23 +05:30
Scott Bishel
f88ee1ece3
Fix for users adding board links to Read-only channels (#4581)
* initial commit for channel permissions

* add test

* check for write post when returning channels

* lint fix

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-22 14:55:13 -07:00
Doug Lauder
6576d75192
improve logging (#4578) 2023-02-14 16:42:32 -05:00
Scott Bishel
098868387e
initial implementation of SysAdmin/TeamAdmin feature (#4537)
* initial implementation of SysAdmin/TeamAdmin feature

* fix adminBadge tests

* updating tests

* more fixes for unit tests

* lint fixes

* update snapshots

* update cypress test for call change

* add additional unit tests

* update test for lint errors

* fix reviews implement tests

* fix for merge, reset dialog before redirection

* remove unused test code

* fix more tests

* fix swagger doc for missing parameters

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-14 09:17:33 -07:00
Rajat Dabade
cc9a689c8b
Added the bot-notification changes for attachment (#4301)
* Added the bot-notification changes for attachment

* Linter fixes

* Added Todo for i18n

* Grammer fix

* Statement Corrections

* Grammer fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-13 14:30:15 -07:00
Doug Lauder
935e5c68fd
Use name column to determine if schema_migrations table is correct format (#4557)
* Use name column to determine if schema_migrations table is correct format

* fix result when table missing

* fix result when table missing

* really fix result when table missing

* fix linter

* more linter

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-13 16:16:20 +01:00
Rajat Dabade
5a89960b64
Fixed duplicate attachment in board template (#4444)
* Fixed duplicate attachment in board template

* Linter fixes

* Duplicate attachment fix

* Code optimismed

* Linter fixes

* Updated test cases

* update some error handling, update attachments on duplicate card

* Fixed attachment section width

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2023-02-09 12:50:44 +05:30
Rajat Dabade
c91a67fbe6
Used Shared resource from MM-server for attachment serving (#4542)
* Used Shared resource for File Handling

* Making use of shared attachment serve functionality

* Added license

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-08 20:44:28 -07:00
Harshil Sharma
06984c7856
Added check for to-be-added user into team (#4515)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-07 09:09:26 +05:30
Scott Bishel
acec7f0f40
Merge pull request #4545 from mattermost/version-update-7.9.0
Update version to 7.9.0
2023-02-03 08:15:43 -07:00
Doug Lauder
c1c94e9794
Fix notifications for deleted card content blocks (#4508)
* comment only

* add getBlockHistoryNewestChildren store method

* fixed delete comment notify

* fix notification for content block deletion

* fix linter errors

* address review comments

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-03 11:54:14 +01:00
Scott Bishel
c8fd8c31c0 update version to 7.9.0 2023-02-02 15:43:49 -07:00
Julien Tant
61563daabd
Merge pull request #4541 from mattermost/work-template-insurance 2023-02-02 11:45:38 -07:00
Scott Bishel
e540f27e68
Merge pull request #4540 from mattermost/add-admin-on-import
add admin user on import
2023-02-02 10:54:13 -07:00
Julien Tant
54ded7b48a
typo
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2023-02-02 08:18:41 -07:00
Julien Tant
7762d626b3
uppercase ID 2023-02-01 18:27:06 -07:00
Julien Tant
619e1b4619
ensure known boards in work template are present 2023-02-01 18:19:15 -07:00
Scott Bishel
79686c7b32 add admin user on import 2023-02-01 15:29:46 -07:00
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