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

756 Commits

Author SHA1 Message Date
Miguel de la Cruz
b74c55a37c
Cherry pick enhance validation 7.10 (#4822)
* Updates import to read with a scanner (#4788)

* Updates import to read with a scanner

* Fix linter

* Unify and enhance block validation (#4790)

* Adds limit check for block titles

* Adds limit check for the aggregation of the fields

* Fix linter

* Adds tests

* Fix err check method order
2023-07-28 12:28:23 +02:00
Mattermost Build
be2f5871ae
Adds a database migration to restore the fileinfos that are deleted (#4815) (#4818)
(cherry picked from commit 257cc5f1fd)

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-07-21 14:03:59 -06:00
Mattermost Build
5cb55de86e
Adds the parent ID filter when fetching child blocks to extract fileId and attachmentId (#4802) (#4808)
(cherry picked from commit e0dbb380a3)

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-07-21 18:09:09 +02:00
Scott Bishel
f21c0eba8f
update version 7.10.5 (#4803)
* update version 7.10.5

* Update version.go
2023-07-21 16:59:03 +02:00
Miguel de la Cruz
22cdd82131
check 'path' for 'empty' as well (#4785) (#4787)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-06-20 11:05:55 -06:00
Scott Bishel
8020b19f31
update version to v7.10.4 (#4780) 2023-06-13 11:11:52 -06:00
Mattermost Build
ce23928745
Fix public boards setting not applying properly (#4739) (#4777)
(cherry picked from commit d10e4070ba)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-06-13 10:29:22 -06:00
Scott Bishel
7d75aee495
Update version 7.10.3 (#4776)
* update version to v7.10.2

* update version to v7.10.3
2023-06-09 15:53:53 -06:00
Scott Bishel
d5b7e248f9
update version to v7.10.2 (#4769) 2023-06-08 11:32:48 -06:00
Scott Bishel
39c82539b5
Fix cards not deleting properly. (#4746) (#4753)
* Fix cards not deleting properly.

* Review feedback

* Test and lint fixes.

* Fix tests.

(cherry picked from commit c3b1c82b1a)

Co-authored-by: Christopher Speller <crspeller@gmail.com>
2023-05-31 11:22:29 -06:00
Scott Bishel
882311807f
update version to v7.10.1 (#4730) 2023-05-08 17:36:36 +02:00
Miguel de la Cruz
df5456adc0
Fix table_schema check for postgres (#4724) 2023-04-26 22:37:27 +02:00
Doug Lauder
50872269b3 Avoid panic in file request handler on error (#4693)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-03 17:58:44 -04:00
Harshil Sharma
2634924150
Cherrypicking 22606 to old focalboard (#4673) 2023-03-30 10:50:50 +02:00
Scott Bishel
0192ef6f3f
only send category updates to user (#4672)
* only send category updates to user

* remove unused function

* Revert "remove unused function"

This reverts commit 8c4fc9b200.

* remove unused function

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-29 16:27:18 -06:00
Miguel de la Cruz
1fff221da9
Adds escaping when normalizing table names for MySQL on DB helpers (#4653)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 13:56:39 +02:00
Scott Bishel
d8e1fb4832
copy safe writeFileResponse into personal server/desktop (#4654)
* copy safe writeFileResponse into personal server/desktop

* lint fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-22 13:28:23 -06:00
Scott Bishel
64f4684564
Merge pull request #4614 from mattermost/deduplicate_category_boards
Deduplicate category boards
2023-03-09 08:11:38 -07:00
Scott Bishel
3a9f0fed7e
Merge pull request #4620 from mattermost/MM-51062-fix-api
check permissions to channel before patching via api
2023-03-09 07:49:13 -07:00
Harshil Sharma
e59b61937f Counting on specific column 2023-03-09 11:20:32 +05:30
Harshil Sharma
761eaa759b Merge branch 'main' into deduplicate_category_boards 2023-03-09 11:17:24 +05:30
Scott Bishel
184250018a
Merge pull request #4623 from mattermost/update-version-7.10.0
update version to v7.10.0
2023-03-08 13:50:31 -07:00
Scott Bishel
dda3b8f13a lint fixes 2023-03-07 11:01:52 -07:00
Harshil Sharma
fa72286427
Board teamless file path (#4577)
* Updated upload and donwload code

* Removed archived file handling as we no longer have cloud limits

* Fixed server lint

* Restored unused

* CI

* Added new tests

* Fixed integration tests

* Added Path column for personal server's FileInfo table

* Removed sophesticated, elegant debug logs

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-07 10:21:53 +05:30
Scott Bishel
5ac5eadbee adding a successful test 2023-03-06 15:10:58 -07:00
Scott Bishel
fe29ec8826 check permissions to channel before patching via api 2023-03-06 12:26:39 -07:00
Harshil Sharma
f9aa6c1668 Fixed server test 2023-03-03 18:49:53 +05:30
Harshil Sharma
1e3c033547 shortcircuit for mysql 2023-03-03 15:55:52 +05:30
Harshil Sharma
7195a2bf1d Lint fix 2023-03-03 15:45:24 +05:30
Harshil Sharma
39dbdbba77 Added data migration to de-duplicate data from category_boards table 2023-03-03 15:10:23 +05:30
Scott Bishel
c01776e92a update version to v7.10.0 2023-03-02 16:35:51 -07:00
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