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

3432 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
Mattermost Build
fd969cdf8f
Fix boards share dialog (#4761) (#4765)
(cherry picked from commit d95d100d8c)

Co-authored-by: Christopher Speller <crspeller@gmail.com>
2023-06-08 10:32:58 -06:00
Scott Bishel
67242afaac
fix emoji for release-7.8 (#4758) 2023-06-01 15:37:18 -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
Scott Bishel
23bd0de6ce
Added emoji spirit file in codebase (#4592) (#4756)
* Useing native emoji instead of relying on a spirit

* Added emoji spirit in code

* Added emoji spirit in code

(cherry picked from commit 230e519352)

Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
2023-05-31 11:21:58 -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
125c954b1d
fix issue with card id being valid block but not a card (#4729) (#4738)
(cherry picked from commit 0af70a0a4f)

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-15 11:32:33 -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
Miguel de la Cruz
74ad293519
Test fixing main after mono-repo (#4669) (#4674) 2023-03-29 13:39:57 +02: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
b8d9228c1c
use specific class, rather than NOT an unrelated ID (#4570) (#4572)
(cherry picked from commit f1a190d4d6)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-02-11 09:55:40 -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
1cf2c44ac0
check isbot property before displaying botbadge (#4548)
(cherry picked from commit 8544a25746)
2023-02-03 09:34:58 -07:00
Scott Bishel
fe90cb8224
Merge pull request #4534 from mattermost-build/automated-cherry-pick-of-focalboard-#4411-upstream-release-7.8
Automated cherry pick of #4411
2023-02-02 11:38:36 -07:00
Scott Bishel
86d648aeb4
Merge pull request #4543 from mattermost/cp-4540
add admin user on import
2023-02-02 11:38:08 -07:00
Scott Bishel
2840275ce6 add admin user on import
(cherry picked from commit 79686c7b32)
2023-02-02 11:00:08 -07:00
Mattermost Build
2255856895
Automated cherry pick of #4506 (#4526)
Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2023-02-02 10:12:55 +05:30
Konstantinos Pittas
9471bf32c1 [MM-49159] Fix status dropdown menu avatar on click (#4411)
Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit a2366caa43)
2023-01-31 15:30:46 +00: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
Asaad Mahmood
d7fd0980dd
Multiple UI Fixes (Modals and person property label (#4503)
* Updating card dialog modal to not go 100% height

* Updating modals

* Updating person property column header
2023-01-25 15:13:53 +05:00
Asaad Mahmood
bf1c1a82b1
Focalboard Website Update V2 (#4391)
* Updating focalboard website

* Updating video

* Updating ui

* Updating header

* Updating board views and adding loop

* Updating docs pages

* Updating blog

* Updating UI

* Updating downloads page

* Updating teams item

* Updating downloads page

* Updating UI

* Updating docs

* Updating UI

* Updating lucky orange

* Updating link

* Updating intro text

* Updating css version

* Minor UI Fixes

* Updating css

* Updating css version

* Updating css version
2023-01-25 07:37:34 +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
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
Justine Geffen
c6976db9e5
Update en.json (#4453)
* Update en.json

Some minor casing changes and updates for 7.7 limits changes.

* update cypress tests for text change

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2023-01-20 14:30:07 +02:00