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

704 Commits

Author SHA1 Message Date
Elias Nahum
110d9d4cfd Sanitize user following config for ShowFullName and ShowEmailAddress (#4820)
(cherry picked from commit 3625c53527)
2023-08-15 13:56:30 -06:00
Miguel de la Cruz
9ec1e42f34
Cherry pick enhance validation 7.8 (#4821)
* 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

* Updates import to read with a scanner (#4788)

* Updates import to read with a scanner

* Fix linter

* Fix migration test
2023-07-28 12:54:38 +02:00
Mattermost Build
d8af5c3975
Adds a database migration to restore the fileinfos that are deleted (#4815) (#4816)
(cherry picked from commit 257cc5f1fd)

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-07-21 19:44:40 +02:00
Mattermost Build
691a61d034
Adds the parent ID filter when fetching child blocks to extract fileId and attachmentId (#4802) (#4810)
(cherry picked from commit e0dbb380a3)

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-07-21 18:07:36 +02:00
Scott Bishel
b4c7a991f4
update version 7.8.8 (#4806) 2023-07-21 17:00:32 +02:00
Scott Bishel
e172176cc8
update version to v7.8.7 (#4782) 2023-06-13 10:55:24 -06:00
Mattermost Build
9af76416d2
Fix public boards setting not applying properly (#4739) (#4779)
(cherry picked from commit d10e4070ba)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-06-13 10:29:48 -06:00
Scott Bishel
db3d6b63f6
update version to v7.8.6 (#4767) 2023-06-08 11:43:37 -06:00
Scott Bishel
c7823c225c
Fix cards not deleting properly. (#4746) (#4754)
* 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:18 -06:00
Harshil Sharma
134be30dbc
Fixing failed CP (#4752)
* Fixing failed CP

* fixing some tests
2023-05-31 15:38:30 +02:00
Scott Bishel
05c93e7529
Merge pull request #4620 from mattermost/MM-51062-fix-api (#4734)
check permissions to channel before patching via api

(cherry picked from commit 3a9f0fed7e)

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-15 11:33:07 -06:00
Scott Bishel
e6b59b9fbe
update version to v7.8.5 (#4732) 2023-05-08 17:37:38 +02:00
Harshil Sharma
6fc1d9f8db
Cherrypicking 22606 to old focalboard (#4680) 2023-03-30 10:51:43 +02:00
Miguel de la Cruz
7feb637ce9
Fix schema migration check for postgres (#4660)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-29 14:23:28 -06:00
Scott Bishel
01fb589236
copy safe writeFileResponse into personal server/desktop (#4654) (#4665)
* copy safe writeFileResponse into personal server/desktop

* lint fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit d8e1fb4832)

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-29 08:36:56 -06:00
Scott Bishel
13481d4220
Update version 7.8.4 (#4663)
* Update version to v7.8.4

* update version v7.8.4

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-28 09:51:15 -06:00
Miguel de la Cruz
dc2aa909f5
Adds escaping when normalizing table names for MySQL on DB helpers (#4653) (#4667)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 16:20:35 +02:00
Scott Bishel
836c1873fa
Merge pull request #4641 from sbishel/MM-51303-add-schema-check (#4643)
Add  schema check for schema migration

(cherry picked from commit 5310193fa6)
2023-03-15 13:49:32 +01:00
Harshil Sharma
7f54c4c349
Cherrypicked PR #4614 (#4639) 2023-03-14 14:34:58 -06:00
Scott Bishel
5ff8778f66
update version to v7.8.3 (#4642) 2023-03-14 14:34:26 -06:00
Scott Bishel
1e35878351
Update version to v7.8.2 (#4574)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-13 08:19:36 -07:00
Mattermost Build
d7b7f7e5c5
Fixed duplicate attachment in board template (#4444) (#4562)
* 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>
(cherry picked from commit 5a89960b64)

Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2023-02-09 07:24:34 -07:00
Mattermost Build
11e8343b57
Used Shared resource from MM-server for attachment serving (#4542) (#4560)
* Used Shared resource for File Handling

* Making use of shared attachment serve functionality

* Added license

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit c91a67fbe6)

Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2023-02-08 21:09:22 -07:00
Mattermost Build
cd4cbff43e
Fix notifications for deleted card content blocks (#4508) (#4546)
* 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>
(cherry picked from commit c1c94e9794)

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2023-02-08 16:37:22 -05:00
Scott Bishel
e6d47348d5
Merge pull request #4559 from mattermost/version-update-7.8.1
Update version to v7.8.1
2023-02-08 14:13:44 -07:00
Doug Lauder
81b0fd8453
Cherry-pick 4285 Compliance export into release-7.8 (#4558)
* fix merge conflicts

* fix linter

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-02-08 16:12:06 -05:00
Scott Bishel
5fb23ab53c update version to v7.8.1 2023-02-08 13:51:14 -07:00
Scott Bishel
2840275ce6 add admin user on import
(cherry picked from commit 79686c7b32)
2023-02-02 11:00:08 -07:00
Agniva De Sarker
13552b126e
Revert "MM-49703: Bump to Go 1.19 (#4489)" (#4499) (#4527)
This reverts commit 2d0dde21dd.

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2023-01-31 00:28:05 +05:30
Jesús Espino
345ff01539
MM-43342: More strict permissions on categories (#4504) 2023-01-26 10:07:41 +01: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
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
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
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
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
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