Commit graph

3187 commits

Author SHA1 Message Date
cyrilzhang-mm
6b28be7043
[MM-45052] Add error checking in insights API (#3876) 2022-11-18 11:11:32 -05:00
Ibrahim Serdar Acikgoz
afb5bf195b
migrations: update morph dependecy and apply changes (#4208)
* migrations: update morph dependecy and apply changes

* fix empty migration table name
2022-11-17 12:53:49 +01:00
Miguel de la Cruz
b582e5920c
Add sqlite3 tag to modd files and linux app build (#4218) 2022-11-16 16:51:25 +01:00
Doug Lauder
824724387c
require build tag to include sqlite (#4213)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-16 08:12:05 -05:00
Jesús Espino
f915a20c64
Adding the new blocks based editor (#3825)
* Working in the new content block editor

* Moving blocksEditor content block into its own component

* Initial integration with quick development flow

* More WIP

* Adding drag and drop support with server side help

* Some extra work around the styles

* Adding image support

* Adding video and attachments, and fixing edit

* Putting everything behind a feature flag

* Adding support for download attachments

* Fixing compilation error

* Fixing linter errors

* Fixing javascript tests

* Fixing a typescript error

* Moving the move block to an action with undo support

* Fixing ci

* Fixing post merge errors

* Moving to more specific content-blocks api

* Apply suggestions from code review

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Fixing the behavior of certain blocks

* Fixing linter error

* Fixing javascript linter errors

* Adding permission testing for the new move content block api

* Adding some unit tests

* Improving a bit the tests

* Adding more unit tests to the backend

* Fixed PR suggestion

* Adding h1, h2 and h3 tests

* Adding image tests

* Adding video tests

* Adding attachment tests

* Adding quote block tests

* Adding divider tests

* Adding checkbox tests

* Adding list item block tests

* Adding text block tests

* Reorganizing a bit the code to support deveditor eagain

* Fixing dark theme on editor view

* Fixing linter errors

* Fixing tests and removing unneeded data-testid

* Adding root input tests

* Fixing some merge problems

* Fixing text/text.test.tsx test

* Adding more unit tests to the blocks editor

* Fix linter error

* Adding blocksEditor tests

* Fixing linter errors

* Adding tests for blockContent

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter warning

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter warning

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter error

* Fixing test

* Removing unneeded TODO

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-11-15 16:59:07 +01:00
Harshil Sharma
93698c9574
Set board category if not set (#4200)
* Set board category if not set

* Uncommented a commented test, which was commented for debugging
2022-11-15 11:41:22 +01:00
Benjamin Masters
0cd4257ebc
[GH-3410] Healthcheck Endpoint with Server Metadata (#4151)
* add ping endpoint and tests

* remove unnecessary newlines

* fix: invalid Swagger YAML comment blocks

* refactor and add 'suite' SKU

* generate swagger docs

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-11-14 14:37:06 -05:00
Genei180
a8bafb35c9
[GH-124] Added Docker Arm64 Capability (#1700)
* Added Docker Arm64 Capability
2022-11-11 10:28:23 -05:00
Doug Lauder
9f344382ce
GH-3541 docker data permissions & cleanup (#4148)
* fix markdown linter errors

* use named volumes; fix data paths
2022-11-10 13:28:28 -05:00
Miguel de la Cruz
a96fa493eb
Set down migrations as noops and add CI job (#4186) 2022-11-10 17:04:40 +01:00
Asaad Mahmood
fedcf57fb6
GH-4193 - Updating table view structure for drag (#4194) 2022-11-10 20:02:01 +05:00
Scott Bishel
a30c1692ac
update to version 7.6.0 (#4185) 2022-11-09 17:50:17 +05:30
Scott Bishel
3cba505101
return minimum role from mattermostauthlayer functions (#4182) 2022-11-08 17:32:50 -07:00
Scott Bishel
696a1f3202
update template version (#4177) 2022-11-08 13:43:38 -07:00
Scott Bishel
1454095bdd
Don't add templates to default category (#4174)
* don't add templates to default category

* check for IsTemplate rather than teamID = 0, as Personal Server is always teamid = 0
2022-11-08 12:12:56 -07:00
Doug Lauder
bcbc9b8b72
when importing boards, don't add user to board if system user (#4173) 2022-11-08 11:54:21 -07:00
Jesús Espino
7441d01593
Fix themes on differen teams (#4172) 2022-11-08 11:52:35 -07:00
Doug Lauder
8949c6b13f
Delete children when deleting boards and cards (#3943)
* delete and undelete handle children
2022-11-08 11:42:01 -05:00
Scott Bishel
cf97e300c1
Fix for category not being set by UI, set to existing Category. (#4161)
* remove valid check and set category type to retrieved category type

* lint fix

* fix test

* update code for testing to continue to work.

* update comments
2022-11-08 09:40:30 -07:00
Muhammad Redho Ayassa
e83b05b661
Fix not filling cell (#4099)
* fix(editable): make autoExpand stretch to parent width

* fix(editable): adjust snapshot against the new editable

* fill URLProperty to parent width

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-08 09:37:06 -07:00
Harshil Sharma
d39abc305d
Fix a bug where board didn;t show up in LHS when someone added me on it (#4133) 2022-11-08 09:00:14 -07:00
Rajat Dabade
bddeeedd75
Added logic for system board category to show last (#4163)
* Added logic for system board category to show last

* NIT
2022-11-08 08:59:09 -07:00
Rajat Dabade
f5e8f4f82d
Minor CSS fix (#4120)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Fixes https://github.com/mattermost/focalboard/issues/3881
2022-11-08 20:40:05 +05:30
Rajat Dabade
18d3978b82
Case-insensitive filter for text (#4153)
* Case-sensetive filter for text

* Nit

* Resolved merge conflict

* Update: added check if the value is present
2022-11-08 12:51:20 +01:00
Winson Wu
51a9ca83de
Additional new standard board templates (#4144)
* added new Company Goals template

* new Competitve Analysis template

* Additional new standard templates

* Updated version on json file to 3

* Reverted version on json file back to 2

* Update templates.go

Updated defaultTemplateVersion from 4 to 5, so Boards knows to load the additional new templates.

* Update permissions_test.go

Updated `builtInTemplateCount` from 7 to 13 to account for the additional standard templates.

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-11-07 19:10:58 -07:00
Scott Bishel
ecfebc32a4
return implicit memberships in SearchBoardForUserInTeam (#4158) 2022-11-07 18:46:28 -07:00
Harrison Healey
346696673d
MM-47793 Change product dev server to not use deprecated options (#4116) 2022-11-07 17:53:57 -05:00
Julien Fabre
d7299014d1
Fix[GH-1656]: format i18n windows (#3932)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Fix https://github.com/mattermost/focalboard/issues/1656
Closes https://github.com/mattermost/focalboard/issues/4017
2022-11-07 15:19:54 -06:00
Rajat Dabade
f0342097c9
Updated the filter condition for notContains (#4152) 2022-11-07 20:00:41 +01:00
Scott Bishel
037e951141
Fix issues when retrieving boards (#4145)
* update function to only retrieve boards once.

* some cleanup

* fix spelling error
2022-11-07 11:49:19 -07:00
Doug Lauder
236c62abbc
Update templates.go (#4146) 2022-11-04 13:32:10 -06:00
Vivek K J
e4b4559967
Fix misaligned Product tour for share button (#4023)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-11-03 13:27:56 -06:00
Scott Bishel
08f09f0c99
Fix to respect System Console settings (#4110)
* fix for plugin viewing names and emails

* fix some tests

* fix some tests

* fix more tests

* fix more tests

* clean-up

* cleanup, fix issue on initial load

* revert manifest changes

* implement on personal server side

* revert user.go changes

* lint fix

* fix test

* check config for null before setting boolean value

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-02 14:07:10 -06:00
Asaad Mahmood
bb7b04c78b
Minor UI Changes (#4115)
* Minor UI Changes

* Updating menu overflow
2022-11-02 16:11:01 +05:00
Paul Esch-Laurent
df1b32cdfd
fix: don't send multiple ViewBoard telemetries (#4117) 2022-11-02 07:45:32 +05:30
Paul Esch-Laurent
7b2269d06b
fix: convert multiSelect prop value to [] if required (#4098) 2022-11-01 16:38:02 -05:00
Harshil Sharma
7e10361033
wrap long words in comments (#4101) 2022-11-01 15:33:39 -06:00
Michelle Krejci
ae384e7e5b
[GH-4086] Doc: Personal server setup guide out of date (#4114)
* Updated readme to reflect the current local setup of server

* .gitignore now ignores .env files

* Update README.md

Co-authored-by: Michelle Krejci <mickr592@student.liu.se>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-11-01 15:13:23 -04:00
Tymoteusz Kossek
ffacc17e35
Remove margin on hover if table readonly (#4022)
Co-authored-by: Rajat-Dabade <rajat.dabade@mattermost.com>
2022-11-01 23:00:04 +05:30
Harshil Sharma
9cc1071945
Fixed server lint issue about not using deprecated package io.ioutils (#4112) 2022-11-01 07:56:04 -04:00
Scott Bishel
3df9b42941
Fix double encoding (#4079)
* decode/encode urls in markdown to preven double encoding

* revert manifest change

* update title to htmlEncode, added tests

* remove encoding title

* Update webapp/src/utils.test.ts

Co-authored-by: Paul Esch-Laurent <herppfel@gmail.com>

Co-authored-by: Paul Esch-Laurent <herppfel@gmail.com>
2022-10-27 14:04:09 -06:00
Harshil Sharma
e086941fe9
Removed leftover debug logs (#4088) 2022-10-27 07:16:24 +02:00
Scott Bishel
cf90ce4e52
fix code for portuguese to match codes in i18n.tsx (#4091) 2022-10-27 10:39:01 +05:30
kamre
7be9085b1b
[GH-1007] Fix popup menus visibility (#4069)
* Always show popup menu when it is opened:
- add additional class name `menuOpened` and ensure that menu is visible
- new component `CardActionsMenuIcon` introduced and used for kanban/gallery/calendar card actions menu
- increase `z-index` for `ContentBlock` when menu is opened to avoid overlaps

* Jest snapshots updated: additional classes added to existing elements.

* Jest snapshot for mattermost-plugin test updated.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-26 13:38:09 -06:00
Jesús Espino
218e24b005
Disable patches on unmount on readOnly mode (#4089) 2022-10-26 13:57:03 -05:00
Harshil Sharma
8d17dd820e
Boards as persisted category (#3877)
* WIP

* WIP

* Removed unused webapp util

* Added server tests

* Lint fix

* Updating existing tests

* Updating existing tests

* Updating existing tests

* Fixing existing tests

* Fixing existing tests

* Fixing existing tests

* Added category type and tests

* updated tests

* Fixed integration test

* type fix

* removed seconds from boards name

* wip

* debugging cy test

* Fixed a bug preventing users from collapsing boards category

* Debugging cypress test

* CI

* debugging cy test

* Testing a fix

* reverting test fix

* Handled personal server

* Fixed a case for personal server

* fixed a test
2022-10-26 16:38:03 +05:30
Scott Bishel
ba792191cd
GH 3830 - fix person/multi-person overflow (#4063) 2022-10-26 12:55:50 +05:30
Harrison Healey
41e472deec
Merge pull request #4026 from mattermost/MM-47238_boards-dev-server-url
MM-47238 Add MM_BOARDS_DEV_SERVER_URL environment variable for MPA
2022-10-25 20:04:12 -04:00
Harrison Healey
8fe9b9b2c2 Merge branch 'main' into MM-47238_boards-dev-server-url 2022-10-25 17:24:54 -04:00
Miguel de la Cruz
91f9f71bf7
Replace Block references to use pointers throughout all application layers (#3934)
* Replace Block references to use pointers throughout all application layers

* lint fixes

* gofmt file, lint fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-10-25 14:46:43 -06:00