Commit graph

3159 commits

Author SHA1 Message Date
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
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
Scott Bishel
3e9600a803
Fix GetMemberForBoard from returning a null member (#4060)
* fix GetMemberForBoard from returning a null member

* lint didn't like my variable name
2022-10-20 16:01:24 -06:00
Harrison Healey
1d5cf123c9 Merge branch 'main' into MM-47238_boards-dev-server-url 2022-10-20 11:00:48 -04:00
Miguel de la Cruz
821e3e1c85
Add mariadb tests and update database migration for compatibility (#3929)
* Add mariadb tests and update database migration for compatibility

* add additional tests for migrating json fields

* remove unnecessary test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-10-20 07:36:13 -06:00
Scott Bishel
667abb3a55
Personal Server - remove same function on disconnect as added on reconnect. (#4006)
* only dispatch initialLoad if me is defined, prevents recalling in loop

* update to add/remove same function on reconnect
2022-10-20 11:02:11 +02:00
Scott Bishel
6ea67987e6
GH-4007 Fix for welcome screen flashing (#4042)
* fix for welcome screen flashing

* fix lint
2022-10-20 11:00:12 +02:00
Scott Bishel
8ca5fbd37c
GH-4047 Handle all potential displayValue types (#4048)
* handle all potential displayValue types

* add logging the error
2022-10-20 10:50:40 +02:00
Harrison Healey
74190bb456
MM-47562 Serve images from the correct URL in product mode (#4045) 2022-10-19 16:41:53 -04:00
Paul Esch-Laurent
42ddbbdd69
Update URL to docs page for migrating and reference .boardarchive (#4043)
* chore: update docs URL for import/export/migrate

* chore: reference `.boardarchive` in import scripts & READMEs
2022-10-19 13:33:06 -06:00
Harrison Healey
d638da6169 Fix https setting for product dev server and add other https settings based on MM config 2022-10-19 15:01:51 -04:00
Harrison Healey
d725cff9ed Merge branch 'main' into MM-47238_boards-dev-server-url 2022-10-19 14:57:00 -04:00
Harshil Sharma
38eaf5344e
Stopped reacting to initial text changes and not being a controlled component (#4039) 2022-10-19 09:24:13 -06:00
Scott Bishel
cb4e5d9c39
Gh 3942 - fix bug with Boards bot, update link text (#4027)
* fix error when ensuring bot

* update link/unlink board text

* lint fixes
2022-10-19 09:22:55 -06:00
Doug Lauder
14ba1ad0b0
Don't replace newlines with symbol when adding comment or text. (#4035)
* Don't replace newlines with symbol when adding comment or block.
2022-10-19 08:29:28 -04:00
Tobias Oetiker
d586c9351e
make sure users.props contains a hash! (#4029)
* make sure users.props contains a hash!

Partial fix for #4018. This does NOT address the 'dirty' column mentioned in this issue!

* Update server/services/store/sqlstore/migrations/000027_migrate_user_props_to_preferences.up.sql

* Just make sure that props is an object

* add newline back in

* Update 000027_migrate_user_props_to_preferences.up.sql

* Also added the check for sytandalone version query for POstgres

* added explicit cast to JSONB

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-10-19 13:54:24 +05:30
Rohitesh Gupta
ef5948cf1c
Merge pull request #4030 from srkgupta/main
Updated CodeQL to use latest version
2022-10-19 10:56:21 +05:30
Doug Lauder
5afdda9ea8
set correct plugin id when in product mode (#4033)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-18 14:45:17 -04:00
Varun Tiwari
4b07ea52f7
[GH-3947]: Close confirmation dialog box on delete (#4031) 2022-10-18 19:26:14 +05:30
Rohitesh Gupta
04a53f4b7b
Updated CodeQL to latest version 2022-10-18 16:52:00 +05:30