Commit graph

3177 commits

Author SHA1 Message Date
Miguel de la Cruz
7c7eb638f1 Remove collation checks on server startup 2022-12-09 15:20:10 +01:00
Miguel de la Cruz
13be23ddad Fix linter 2022-12-07 17:44:52 +01:00
Mattermod
7443021254
Merge branch 'incident-v7.5.1' into incident-version 2022-12-07 18:30:17 +02:00
Miguel de la Cruz
469c0872bd Updating logline to info 2022-12-07 17:21:06 +01:00
Miguel de la Cruz
597592abd5 Replace SearchBoardsForUserInTeam with a UNION based query 2022-12-07 17:18:52 +01:00
Mattermost Build
3a7361e8d8
Add sqlite3 tag to modd files and linux app build (#4218) (#4220)
(cherry picked from commit b582e5920c)

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2022-11-16 16:57:43 +01:00
Miguel de la Cruz
c0fb42474e
Update version to 7.5.1 (#4217) 2022-11-16 15:36:34 +01:00
Mattermost Build
1d14e24e9f
require build tag to include sqlite (#4213) (#4216)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 824724387c)

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-11-16 09:11:42 -05:00
Mattermost Build
84932d4f25
return minimum role from mattermostauthlayer functions (#4182) (#4183)
(cherry picked from commit 3cba505101)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-08 17:52:36 -07:00
Mattermost Build
7359a4f849
update template version (#4177) (#4178)
(cherry picked from commit 696a1f3202)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-08 13:44:20 -07:00
Mattermost Build
d55bfde436
Don't add templates to default category (#4174) (#4176)
* don't add templates to default category

* check for IsTemplate rather than teamID = 0, as Personal Server is always teamid = 0

(cherry picked from commit 1454095bdd)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-08 12:15:48 -07:00
Mattermost Build
dbb03d5ccb
Fix themes on differen teams (#4172) (#4175)
(cherry picked from commit 7441d01593)

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-11-08 12:13:20 -07:00
Mattermost Build
47f9d210f9
Delete children when deleting boards and cards (#3943) (#4171)
* delete and undelete handle children

(cherry picked from commit 8949c6b13f)

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-11-08 11:54:01 -07:00
Mattermost Build
fa06376929
Fix for category not being set by UI, set to existing Category. (#4161) (#4169)
* 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

(cherry picked from commit cf97e300c1)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-08 09:46:54 -07:00
Mattermost Build
fa87db5932
Fix a bug where board didn;t show up in LHS when someone added me on it (#4133) (#4167)
(cherry picked from commit d39abc305d)

Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
2022-11-08 09:20:33 -07:00
Mattermost Build
7362c009d3
Added logic for system board category to show last (#4163) (#4166)
* Added logic for system board category to show last

* NIT

(cherry picked from commit bddeeedd75)

Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-11-08 09:20:19 -07:00
Mattermost Build
0849945ffa
Minor CSS fix (#4120) (#4165)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Fixes https://github.com/mattermost/focalboard/issues/3881

(cherry picked from commit f5e8f4f82d)

Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-11-08 08:59:36 -07:00
Mattermost Build
cd6ab29acb
Case-insensitive filter for text (#4153) (#4164)
* Case-sensetive filter for text

* Nit

* Resolved merge conflict

* Update: added check if the value is present

(cherry picked from commit 18d3978b82)

Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-11-08 13:12:19 +01:00
Scott Bishel
c313bccecd
Additional new standard board templates (#4144) (#4160)
* 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>
(cherry picked from commit 51a9ca83de)

Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
2022-11-07 20:50:56 -07:00
Mattermost Build
1b1aca1191
return implicit memberships in SearchBoardForUserInTeam (#4158) (#4159)
(cherry picked from commit ecfebc32a4)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-07 19:08:45 -07:00
Miguel de la Cruz
806fb6754c
Updated the filter condition for notContains (#4152) (#4156)
Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-11-07 20:24:33 +01:00
Mattermost Build
ae0b58b2f2
Fix issues when retrieving boards (#4145) (#4155)
* update function to only retrieve boards once.

* some cleanup

* fix spelling error

(cherry picked from commit 037e951141)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-07 12:23:59 -07:00
Mattermost Build
66eace3149
Fix to respect System Console settings (#4110) (#4124)
* 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>
(cherry picked from commit 08f09f0c99)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-11-02 14:33:20 -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
Scott Bishel
e3ae682eea
Display board statistics (#4025)
* initial commit for displaying board statistics

* lint fixes

* i18n-extract, remove log entries, cleanup

* more lint fixes

* add check for standalone mode

* update tests due to change to NotImplemented

* lint fix

* revert removing empty comment lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-25 14:28:00 -06:00
Doug Lauder
e9d4aeba0e
fix collation for personal server (#4080) 2022-10-25 14:02:41 -04:00
Scott Bishel
165b23a3e6
Update enhancement.md 2022-10-24 13:40:00 -06:00
Scott Bishel
bcf50b9e2d
Update doc_improvement.md 2022-10-24 13:39:16 -06:00
Scott Bishel
6b330d101f
Update doc_improvement.md 2022-10-24 13:38:05 -06:00
Harrison Healey
17f79974c0
MM-47873 Replace react-router import with react-router-dom (#4076) 2022-10-24 13:05:47 -04:00
WhiteHsu
3e494e0b0a
Fix Bug #533 - Filter menu does not disappear when clicked for a second time (Board > Filter) (#4050)
Co-authored-by: White Hsu <white@glints.com>
2022-10-24 12:03:36 -05:00
Adithya Krishna
33d7469002
Updated Margin for GuestBadge (#4058)
Signed-off-by: Adithya Krishna <adikrish@redhat.com>

Signed-off-by: Adithya Krishna <adikrish@redhat.com>
2022-10-24 10:22:10 -06:00
Pablo Andrés Vélez Vidal
2676b19d99
MM-46392 - load boards memberships on rhs component mount (#4055)
* MM-46392 - load boards memberships on rhs component mount

* prevent blink between zero state and list state

* fix failing snapshots

* add pr feedback; change testing component state change approach using act; wrap async request in promiseAll instead of isolated awaits
2022-10-21 18:09:31 +02:00
Harrison Healey
ccbccc157e
MM-47631 Just rely on Webpack for image paths in product mode (#4049) 2022-10-21 11:41:04 -04:00