Commit graph

3222 commits

Author SHA1 Message Date
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
Rohitesh Gupta
347e66de67
Created CodeQL config 2022-10-18 16:51:33 +05:30
Scott Bishel
6f0c34ddd1
Gh 3953 remove channel link duplicate (#4011) 2022-10-17 16:45:51 -05:00
Harrison Healey
14dedc4015 MM-47238 Add MM_BOARDS_DEV_SERVER_URL environment variable for MPA 2022-10-17 14:33:48 -04:00
Doug Lauder
2b984d45b2
Fix collation and charset after migrations (every run) (#4002)
* fix collation and charset after migrations (every run)
2022-10-14 18:39:25 -04:00
Varun Tiwari
ed3197ca62
[GH-3947]: Added confirmation dialog when deleting a card in calendar/galley view (#3996)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-10-14 11:52:06 +05:30
Harrison Healey
3479e02657
MM-46725 Add build-product target to compile the Boards product (#4016) 2022-10-13 16:56:59 -04:00
Harrison Healey
ccd09fd7b6
MM-46275 Rename product container to 'boards' (#4015) 2022-10-13 16:56:42 -04:00
Scott Bishel
610dea35e2
Gh 3974 guest autocomplete (#4010) 2022-10-13 15:53:38 -05:00
Kangho Lee
57fcdd93b3
Add export board archive in the side bar context menu (#3977)
* add export board archieve menu for sidemenu

* modify sidebarBoarditem snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-12 18:13:02 -06:00
Doug Lauder
0381c624cf
Check-in templates.boardarchive file (#3984)
* add full templates.boardarchive
* no longer need to create templates.boardarchive on every build.
2022-10-11 21:09:52 -04:00
Scott Bishel
eb7601d841
GH-3992 fix for missing templates, error when 'system' not found as user. (#3998) 2022-10-11 14:34:33 -05:00
Vivek K J
100b457911
Use different icons for random and Pick Icon (Closes: #3899) (#3924) 2022-10-11 10:19:25 -05:00
Mattermost Build
3335ccd364
fix another migration error (#3988) (#3989)
(cherry picked from commit b952291c30)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-10-10 17:24:55 -06:00
Scott Bishel
4b0f69da57
fix migration syntax (#3985) 2022-10-10 16:02:36 -06:00
Rajat Dabade
25d29e4034
Added the markdown in channel boardSelector RHS for description (#3759)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-07 12:28:21 -05:00
Scott Bishel
b9d0fd7fe0
fix bad code (#3972) 2022-10-07 09:30:35 -06:00
Harshil Sharma
f5a068e382
Added duplicate data test for user preference (#3968)
* Added handling of duplicate key conflicts

* Added a test

* Add value checks and fix username for the test

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2022-10-07 16:28:47 +02:00
Shikhar
a40f978bc2
fixed typo in modal (#3952)
* fixed typo in modal

* updated snapshots
2022-10-07 08:06:21 -06:00
Harshil Sharma
3af20268bc
Added handling of duplicate key conflicts (#3963) 2022-10-07 07:08:42 -06:00
Scott Bishel
590540e887
add setting admin role when add member (#3961)
* add setting admin role when add member

* change variable name
2022-10-07 07:07:00 -06:00
Agniva De Sarker
3025690b08
MM-47403: Add hooks to the product (#3962)
We do this to get the changes published
from the server.

https://mattermost.atlassian.net/browse/MM-47403

```release-note
NONE
```
2022-10-07 13:08:21 +02:00
Vivek K J
c476940781
Fix position of flash message popup see #3898 (#3923)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-06 18:12:39 -06:00
Scott Bishel
ee2f07c3da
fix adding members to public board by editor (#3954)
* fix adding members to public board by editor

* remove log line

* fix unit tests

* lint fix

* update test
2022-10-06 14:02:15 -06:00
Miguel de la Cruz
2f90840ae8
Fix useHasPermission minimumRole cascade check (#3949) 2022-10-06 09:57:33 -06:00
Julien Fabre
50cce761ef
fix[GH-3918]: add color on person class (#3931) 2022-10-05 16:51:15 -06:00
Harshil Sharma
2c27d2626e
Fix bug where workspace era uploaded files won't load on team era codebase (#3907)
* WIP

* Added comment for explaination

* Lint fix

* move file if found in channel directory

* lint fixes

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-05 14:16:03 -06:00
Jesús Espino
9e861a62a6
Adding confirmation modal when setting the board to public with Editor or Commenter role (#3913)
* Adding confirmation modal when setting the board to public with Editor or Commenter role

* Applying suggested text changes

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/src/components/shareBoard/teamPermissionsRow.tsx

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* update text to match

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-10-05 12:57:32 -06:00
Vivek K J
1511691d26
Fix misaligned 'viewer' role on share board/template dialog (#3926)
* Fix misalligned 'viewer' role on share board/template dialog

* Update snapshots
2022-10-05 08:49:42 -06:00
Kangho Lee
9e2043fd76
fix javascript error when curren group is delete (#3900)
* fix javascript error when curren group is delete

* fix test error
2022-10-05 10:57:50 +05:30
Miguel de la Cruz
a69b0a44dc
Pins the roles submenu to the user permission row (#3925)
* Pins the roles submenu to the user permission row

* Fix snapshots
2022-10-05 10:22:24 +05:30
Chirag Ghosh
76b864efe2
fix: Person autocomplete in table; (#3927) 2022-10-04 12:59:13 -06:00
Scott Bishel
5bf4039350
GH-3916 fix property change (#3920) 2022-10-04 13:51:46 -05:00
Julien Fabre
f0619a084e
[GH-1950] : Fix border-collapse user agent stylesheet (#3905) 2022-10-04 22:29:57 +05:30
Rajat Dabade
08030a2d3c
Escape button close the boardSelector dialog (#3850) 2022-10-04 22:20:56 +05:30
Harshil Sharma
42855dfc53
Fixed incorrect params to create/update categroy component (#3910) 2022-10-04 13:09:27 +02:00
Paul Esch-Laurent
fe010b3b40
Remove synthetic/implicit memberships for guests (#3786)
* fix: no implicit (synthetic) memberships for guest

* fix: only check if guest if no explicit member

* refactor: join() to select() non-guest users

* style: golant lint

* fix: search as guest only returns explicit boards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 18:23:21 -06:00
Harshil Sharma
f1b73c0719
RHS scroll: Fixed (#3908)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 18:21:14 -06:00