Commit graph

1504 commits

Author SHA1 Message Date
Scott Bishel
9e2e91e522
Merge branch 'main' into close-template-selector 2022-08-25 09:07:04 -06:00
Scott Bishel
aa0ed504d0 update unit tests 2022-08-25 08:53:40 -06:00
Asaad Mahmood
62ffa9c39a
Adding menu options in sidebar, and improving order (#3713)
* Adding category and board options at the top

* Updating UI

* Updating test

* Updating test

* Updating icon

* Fixing bug and translation

* Updating createCategory component

* Removing unused vars

* Removing unused vars

* Updating UI

* fixed tests

* fixed tests

* fixed tests

* Updating test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-25 18:09:09 +05:00
Jesús Espino
61a8af8f34
Restoring guest account access and adding backend part of the guest accounts support (#2929)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 17:08:58 -05:00
Jesús Espino
2b39745f68
Adding the permissions for commenter + viewer roles (#2882)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-08-24 15:36:28 -05:00
Scott Bishel
99c854ab2c
stack banners if multiple displayed (#3731) 2022-08-24 10:32:47 -05:00
Mattermod
cb20ca7155
Merge branch 'main' into close-template-selector 2022-08-24 00:42:29 +03:00
Mattermod
e49f6152e6
Merge branch 'main' into GH2520 2022-08-23 22:35:10 +03:00
Scott Bishel
0d9c3da1c8
Update webapp/src/components/markdownEditorInput/markdownEditorInput.tsx 2022-08-23 10:43:25 -06:00
Rajat Dabade
bfde68c532
Fixed the new button error in kanban (#3696)
* Fixed the new button error in kanban

* Test cases fixed

* Updated test

* Update tests

* Code update for cypress test

* Update acrding review changes

* Updated dependency of the useEffect

* Code update

* Changed the condition in useEffect

* Revert "Update acrding review changes"

This reverts commit 207f95fcda.

* Revert Updated dependency of the useEffect

* Replaced currentView by activeView
2022-08-23 08:50:18 -06:00
Rajat Dabade
27a4da126d
Added role so that the non-admin will not be able to unlink the board (#3703)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-08-23 17:01:40 +05:30
Scott Bishel
83fd009af8 close template selector if same board/view clicked 2022-08-22 16:46:26 -06:00
Mattermod
939402f663
Merge branch 'main' into GH2520 2022-08-23 01:31:06 +03:00
Doug Lauder
a91e1f1758
Remove BoardID field from BlockPatch, ensuring patching a block cannot change boardID (#3719) 2022-08-22 15:57:22 -04:00
Scott Bishel
7243804536
make sure websocket is ready (#3718) 2022-08-22 20:04:20 +02:00
Scott Bishel
e26f5d7f4d
Revert "Add category to the board search (#3626)" (#3706)
This reverts commit c28620594a.
2022-08-22 08:20:24 -06:00
Asaad Mahmood
2be0eecf71
Multiple UI Improvements - (Table improvements, sidebar consistent) (#3689)
* Updating table layout UX and UI

* Updating table

* Updating test

* Updating sidebar UI

* Updating options icon and modal border

* Updating spacing between categories

* fix(CompassIcon): no `undefined` in `className`

* chore: update snapshots in plugin, too

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-08-18 12:50:14 +05:00
Liberontissauri
b1b7897717
changed the name of untitled templates (#3682) 2022-08-17 12:22:37 +02:00
Jesús Espino
393b961a6b
Refactor of prorperties (#3356)
* Initial commit for refactoring properties

* More work on isolating properties

* Some other fixes in tests!

* Handle gracefully the unknown properties

* Moving properties outside components folder

* Finishing changes to move the properties out of components

* Moving more things to the property logic

* Some improvements on properties

* Cleaner class based approach for property types

* Removing accidentally added people prop

* A bit of simplification

* Fixing some tests

* Fixing more tests

* Fixing more tests

* All tests working

* Fixing eslint errors

* Adding the filtering logic for text and boolean properties

* Adding support for searching by title

* Fixing some tests and adding others

* Fixing tests

* Removing TODO

* Addressing PR review comments

* Fixing filterValue test after merge

* Removing accidentailly included typo

* Fixing typo introduced
2022-08-16 18:00:43 +02:00
Scott Bishel
9226e93f17
Remove manageBoards Tour Point (#3684)
* remove manageBoards Tour Point

* fix bad merge

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-15 15:13:15 -06:00
Jesús Espino
724c036c8d
Only allow viewer role in temaPermissionRow for templates (#3672)
* Only allow viewer role in temaPermissionRow for templates

* set type

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-12 11:15:45 -06:00
Paul Esch-Laurent
3a9212b17a
fix: always try the lastBoardId when switching teams (#3673)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-08-12 11:39:05 -05:00
Rajat Dabade
c33840004d
Updated the text and changed position for sidebar Tour (#3665) 2022-08-12 09:47:52 -06:00
AGMETEOR
65a19de70a fix telemetry args 2022-08-12 17:54:12 +03:00
AGMETEOR
7e66219e04 [MM-45761] - Telemetry: Track how many users end up in purchase/pricing modal/notify admin 2022-08-12 16:09:23 +03:00
Jesús Espino
d029a390fa
Fixing create-board from board selector in desktop app (#3657) 2022-08-11 13:24:33 -06:00
Jesús Espino
2f29266767
More robust RHS handling of websocket events (#3648)
* More robust RHS handling of websocket events

* Fixing tests
2022-08-11 15:22:02 +02:00
Scott Bishel
84eabd394a
don't display channel roles if board is a template (#3639) 2022-08-11 12:08:04 +05:30
Rajat Dabade
f310ccf254
Tour for 7.2 (#3619)
* Tour for 7.2 done till manage boards

* Done with 7.2 tour point

* Update snapshot and linter fix

* Merge conflits fixed

* Linter fixed

* Linter fixes

* Snapshot updated and testcase fixed

* Linter issue fix and added padding in between text and nav-btn

* Linter fixes
2022-08-10 08:10:32 -06:00
Scott Bishel
e76559080a
check readonly flag before displaying row menu (#3611)
* check readonly flag before displaying row menu

* reverse check

* update snapshots
2022-08-10 06:58:47 -06:00
Scott Bishel
8e2bd22a75
make sure template exists before creating card (#3609) 2022-08-10 06:58:22 -06:00
Harshil Sharma
ab02e98831
Duplicate board retain category (#3395)
* Converted synthetic membership to natuaral if needed

* Creating duplicated board to same category as parent board

* fixed tests

* fixed an incorrect API path in client

* Added logic to prevent jumping of new board between categories

* fixed lint error
2022-08-10 16:31:34 +05:30
Asaad Mahmood
75036d5618
GH-3544 - Updating scrollbar color (#3617) 2022-08-10 16:26:56 +05:30
Scott Bishel
c28620594a
Add category to the board search (#3626)
* Add category to the board search

* cleanup

* Handled long board names and long category names

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-10 14:48:59 +05:30
kamre
b7a35364fb
[GH-2965] Don't close property selector menu when item is clicked (#3587)
* Don't close menus for board properties or filter values when switch item is toggled.

* Stop click propagation for menu items.

* Jest tests fixed and snapshots updated.

* Fix Cypress tests.

* Unit tests for `FilterValue` and `ViewHeaderPropertiesMenu` checking that menu is not closed added.

* Reverted changes to the dom structure of `MenuWrapper`
2022-08-09 11:52:36 +05:30
Harshil Sharma
e855a37c21
Persist category state (#3579)
* WIP

* Finished impl

* Finished impl

* Added tests

* Refactored SQL migraiton into two migration to keep DDL isolated
2022-08-08 14:55:47 -06:00
Jesús Espino
d06936dc18
Fix the team highlight and the back to channels team selection (#3602) 2022-08-08 11:01:51 -06:00
Asaad Mahmood
32e584cbc5
Various UI fixes (#3581)
* 2952 - Adding boards icon for templates
* 3574 - Updating link modal css
* 2484 - Improving table fonts
2022-08-08 21:03:01 +05:00
Shivashis Padhi
d50846ed42
MM-43781: boards insights - cherry pick PR suggestions (#3596)
* Uncomment team insights test

* Add checks to make sure insights endpoints work only in plugin mode

* adding constant for my insights

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
2022-08-08 19:04:03 +05:30
Shivashis Padhi
f00b5c9e61
[MM-43781] Feature: boards insights (#3005)
* Add boilerplate functions and handlers for boards insights

* Fix function signatures to add 'duration' parameter, fix where clauses in db queries

* Fix where clause to include boards of which userId in parameter is a member

* Modify queries to work with sqlite, postgres, mysql

* Integration tests, and results of make generate

* Lint Fixes

* Add icons to board insights

* Lint fixes

* Format insights queries without squirrel to fix parameterization issues

* Add tests for sqlstore utility functions

* Improve team insights tests by creating 2 boards

* Refactor endpoints/app to adhere to developments in 7.0 release

* Refactor queries to use squirrel

* Lint fixes

* Fix client, integration tests

* Remove old integration tests

* Add storetests, refactor functions to handle authorized board_ids

* Make queries compatible with mysql, sqlite

* Add app tests

* Fix lint errors

* Revert makefile changes, fix docstring in api

* Lint fixes and doc correction suggested by @wiggin77

* Fix mock store call count error

* adding client code

* Make the following changes

 - use serviceAPI to get user.Timezone
 - rename licenseAndGuestUserCheck to insightPermissionGate, and handle returned error better
 - validate page, perPage parameters aren't < 0

* Lint fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
2022-08-08 11:42:02 +05:30
Scott Bishel
9c6cfa68aa
Add Version banner to hold help link. (#3522)
* implement version banner to display link to help documentation

* cleanup

* turn off banner in cypress

* prefix property name with 'focalboard_'

* update to actual url

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-05 10:32:38 -06:00
Jesús Espino
84858d2466
Allow to search only for linkable boards (#3553)
* Allow to search only for linkable boards

* Adding permissions tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-05 10:32:19 -06:00
Jesús Espino
cdcc50e075
Removing the Admin role option from team minimum role (#3506)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-04 18:52:24 +02:00
Jesús Espino
e587890d23
Show the active board even when the category is hidden (#3556) 2022-08-04 17:30:41 +02:00
Harshil Sharma
4ccb714d64
Hide board feature (#3526)
* Added logic to hide a board

* WIP

* Completed hide board implementation

* Updated and added new tests

* Lint fix

* Updated snapshots
2022-08-04 14:49:23 +05:30
Asaad Mahmood
b6826f8509
GH-3350 - Updating language for linking modals (#3507)
GH-3350 - Updating language for linking modals and the color of buttons
GH-3512 - Added margin between button and text in link modal
GH-3523 - Updated text in share modal

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-08-04 12:48:10 +05:00
Jesús Espino
d754b498a1
Showing properly channel association in DMs and GMs (#3529) 2022-08-03 16:36:37 -06:00
hyugabokko
6350263f68
i18n hardcoded strings from boardPage's UndoRedoHotKeys.tsx (#3483)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-03 16:30:28 -06:00
Harshil Sharma
1e1854a5dd
Added logic to add board member to my memberships is it is for me (#3388) 2022-08-03 17:12:14 -05:00
Rajat Dabade
bd979ecace
CSS fix for top bar menu clip for custom template (#3504)
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-08-03 16:24:33 -05:00
Paul Esch-Laurent
d653047403
fix: Calendar card "..." action menu overlapping behind adjacent cards (#3486) 2022-08-03 14:57:40 -05:00
Asaad Mahmood
14e62426da
GH-3461 - Updating boards default icon (#3501)
* GH-3461 - Updating boards default icon

* Updating test

* Update webapp/src/components/sidebar/sidebarBoardItem.scss

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

* Update webapp/src/components/sidebar/sidebarBoardItem.scss

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

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-01 11:52:56 -06:00
Jesús Espino
9159efb79e
Showing the right confirmation modals on channel-board linking (#3453)
* Showing the right confirmation modals on channel-board linking

* Addressing PR review channges

* Fixing linter

* Fixing another linter error
2022-08-01 13:12:11 +02:00
Jesús Espino
b31f2afe81
Only show the channel unlink option if you have the right permissions (#3430)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-01 12:14:17 +02:00
Rajat Dabade
04b553621f
New button using default template in kanban view. (#3444)
* New button using default template in kanban view.
2022-07-31 18:09:36 -04:00
Asaad Mahmood
880a7754f7
Various UI fixes (#3445)
* 3276 - FIxing textoverflow on menus

* 3185 - Fixing card title overlap with menu

* 2521 - Adding scrollbar to board description

* 3360 - Updating filter button overflow

* 3191 - Welcome screen scrolling fix

* Updating menu positioning for left alignment

* 3442 - Updating board switcher UI
2022-07-30 12:14:07 +05:00
Miguel de la Cruz
4b5152940d
Update websocket client to use the new websocket lifecycle hooks (#3485) 2022-07-29 14:32:34 -06:00
Rajat Dabade
ee395d49b1
Fetching board member in parellel (#3379)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Added code for fetching all the users at one time.

* Added the code for personal server users

* Update-code

* Linter fixes

* Test cases updated, some minor changes

* Update the code according to review comments

* Cypress test fix

* Update server/services/store/mattermostauthlayer/mattermostauthlayer.go

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-07-29 14:28:00 -06:00
Scott Bishel
a334d14743
reset when me changes (#3473) 2022-07-29 10:41:56 -06:00
Paul Esch-Laurent
c4a90169aa
fix(webapp): update template selector text (#3468)
* fix(webapp): update template selector text

* chore: appease the linter by removing unused vars
2022-07-28 17:47:54 -04:00
Paul Esch-Laurent
f241fc19da
Board switcher keyboard shortcut navigation (#3242)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-28 12:10:18 -05:00
Harshil Sharma
b9ac00ef4e
Fixed issue with sidebar menu position (#3426)
* Fixed issue with sidebar menu position

* Removed duplicate code

* Handled small screens as well

* Fixed a class name
2022-07-28 09:36:09 -06:00
Harshil Sharma
4f7ce070bc
Added confirmation dialog for unlinking a channel (#3432)
* Added confirmation dialog for unlinking a channel

* Updated texts
2022-07-28 15:01:22 +05:30
Harshil Sharma
bf1ad30b75
Added min height for template sepector (#3427) 2022-07-28 07:35:21 +05:30
Scott Bishel
a129dbc1b8
Store current input while user is changing. (#3256)
* add ref to retrieve current text setting

* change to handle without forwardRefs

* state not needed here

* cleanup

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-27 21:35:36 +02:00
Jesús Espino
95b65dba22
Not requesting for channels in personal server mode (#3429) 2022-07-27 11:50:25 -05:00
Mattermost Build
3da7ca8e74
Improve the board creation from channels (#3415) (#3433)
* Improve the board creation from channels

* Fixing linter problem and adding channelID to the telemetry information

* Fixing and expanding a bit the tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 93bc9de731)

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-27 12:26:17 +02:00
Mattermod
343c9a99a5
Merge branch 'main' into GH2520 2022-07-25 23:34:58 +03:00
Paul Esch-Laurent
62ac6a41c3
fix: share modal user list overflow out of dialog (#3393) 2022-07-22 07:58:44 +05:30
Miguel de la Cruz
e1c747d08b
Update Boards version to 7.3 (#3382) 2022-07-18 12:05:59 -06:00
Harshil Sharma
a3a753591e
Fixed multiple styling fixes (#3368)
* Fixed multiple styling fixes

* fix tests

* Update snapshots

* Update snapshots

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2022-07-15 08:51:00 +02:00
Harshil Sharma
c16703a04e
Prevented empty name in create/rename categories (#3364) 2022-07-14 17:07:49 -05:00
Miguel de la Cruz
3ae821d2e8
Refactor websockets state and lifecycle (#3315)
* Refactor websockets state and lifecycle

This PR moves the state of the authentication and subscriptions to the
websockets client, allowing for multiple components to communicate
with it and request subscriptions independently. With this change, the
lifecycle of the websockets client is now managed on a component, and
a hook is provided for easy access to it from individual components.

* Fix linter

* Integrating the new websockets in channels integration with the RHS and board selector

* Some small fixes around boards-channels relationship

* Make the boards unfurl to always use the current team

* Fixing weird behaviors in websockets and other small data related bugs in channel-board relationship

* Only warn if withWebSockets is used without a base connection

* Fix tests

* Fix linter

* Update snapshot

* Fixing plugin tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-14 12:31:51 +02:00
Asaad Mahmood
4561d2c787
Minor UI Updates (#3359) 2022-07-13 19:49:36 +05:30
Paul Esch-Laurent
ba64de9fa1
ci: test & lint mattermost-plugin (#3156)
* ci: test & lint `mattermost-plugin`

* chore: fix mattermost-plugin/webapp linting

* lint: fix eslint errors

* ci: run `make webapp-ci`

* test: fix non-idempotent snapshot tests

* chore: `npm run i18n-extract`

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 08:28:13 +02:00
Harshil Sharma
2f4f13cb56
Fixed incorrect API path being used for notify admin upgrade API (#3355) 2022-07-13 11:49:05 +05:30
Paul Esch-Laurent
e331eafc26
fix: render default LHS board icon (#3353)
* fix: render default LHS board icon

* test: LHS renders default board icon if none set

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-13 07:59:00 +02:00
Rajat Dabade
e1f944c9ea
Added the toggle feature on sidebar hearder (#3014)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-12 17:00:26 +05:30
Rajat Dabade
f2be7ebdf1
Misleading search icon (#3345)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Aligned the search icon with search bar

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-11 17:27:42 +05:30
Paul Esch-Laurent
364be89424
Refactor z-index values to a SCSS map (#3332)
* refactor: move all `z-index` values to a SCSS map

* style: add newline

* chore: disallow `z-index` directly in stylelint
2022-07-11 17:27:03 +05:30
Rajat Dabade
970f20a241
View List scroller doesn'tr work on firefox (#3348)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Scroll will only show when it reach max view

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-07-11 17:21:17 +05:30
Scott Bishel
22aae37dd1
User updates (#3244)
* retrieve additional user fields

* implement config setting

* cleanup

* fix tests

* remove unused constant

* fix more tests

* add tests, cleanup

* lint fixes

* revert bad lint fixes

* more merge fixes

* update to use personal setting

* add user settings

* update package-lock.json

* lint fixes

* npm audit fix

* update tests

* Revert "lint fixes"

This reverts commit 6a50d335ca.

* Revert "update package-lock.json"

This reverts commit 1117e557e4.

* Revert "npm audit fix"

This reverts commit 77ea931c77.

* Revert "Revert "lint fixes""

This reverts commit 3ebd81b9fa.

* restore to original

* fix for empty prefs

* fix bad merge

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-08 08:43:43 -06:00
Paul Esch-Laurent
985e093a75
fix: delete .action-cell CSS bg color (#3323)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-07-07 15:13:46 -05:00
Paul Esch-Laurent
3bbecc8117
Refactor "..." menu into component & add to Calendar view (#3321)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-07 10:44:28 -05:00
Jesús Espino
46fdbf9048
Initial Boards+Channels implementation (#3110)
* Initial Boards+Channels implementation

* Adding draft code to list the boards in a channel

* Adding the hability to link/unlink channels (fake channel for now)

* Simplify slight the migrations

* WIP

* More changes to improve the implementation

* Adding partial implementation of linking channel from board

* Allow linking in both directions

* Removing unused file

* More work on channel binding

* some refactoring

* Improving code quality and interface

* More improvements

* Changing the API to search channels

* Adding a limit of 10 channels in search

* Add confirmation on linking public channels

* Improve a bit the styling of the confirmation modal

* Showing the current linked channel

* Adding link board confirmation to channel interface

* Fixing tests and linter errors

* Fixing backend tests

* Adding permissions tests

* Fixing linter errors

* Fixing small things

* Fixing some typescript errors

* Adding new boardSelectorItem tests

* Improving a bit tests

* Adding jest unit tests

* Remove duplicated implementation (from merge, I guess)

* Adding missed files

* Addressing some of the PR review comments

* Removing unneeded new wrapIntl implementation

* Moving NotSupportedError to the store package to be share between all the store implementations or layers

* Fixing one of the pendings ToDo

* Creating a constructor for the NotSupportedError

* Fixing linter error
2022-07-07 16:46:53 +02:00
Scott Bishel
685d74a817
update text (#3324) 2022-07-07 11:46:15 +05:30
Harshil Sharma
6e6bc36f4a
Added max height limit on filter options dropdown (#3313)
* Added max height limit on filter options dropdown

* Updated tests

* lint fix
2022-07-06 09:21:16 -06:00
Jesús Espino
3f451d568b
Cherry-Pick: Adding the "contact admin" link (#3229) (#3263)
* Adding the "contact admin" link (#3229)

* Allowing to contact admin to upgrade from the card limit notification box

* Adding the styles

* Improving the interface

* i18n changes

* Fixing linter errors

* Using the right notificationBox

* Fixing tests

* Fixing tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-05 16:24:07 -06:00
Harshil Sharma
b5d8f2b9e1
Fixed a bug where rmeoved board members showed up in comment list (#3223)
* Fixed a bug where rmeoved board members showed up in comment list

* Review fixes
2022-07-05 09:54:31 +02:00
Harshil Sharma
fb5a850b30
Added clear btn for category dialog (#3284)
* Added clear btn for category dialog

* Added snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-07-05 05:09:33 +05:30
Harshil Sharma
9957fc12fb
Removed a left over debug log (#3292) 2022-06-30 08:29:45 -04:00
Harshil Sharma
9e3e3b5ef7
Added constant template IDs for tracking template usage (#3238)
* Added template ID to templates

* Removed debug log statements

* Removed debug log statements

* Fixed tests

* Generated template tracking ID on runtime

* MD5 is okay

* Fixed webapp tests

* Fixed webapp tests

* Fixed a big and tracked only in-built templates

* Fixed test
2022-06-29 19:47:54 +05:30
Harshil Sharma
2ac56dbfba
Ported view limits to main (#3252)
* Ported view limits to main

* lint fix

* Added tests

* Added tests

* Fixed a server test

* fixed webapp test

* fixed webapp test

* fixing some tests

* implement check when duplicating views

* Fixed webapp tests

* Fixed webapp tests

* Fixed webapp tests

* Trying without race test

* Lets race again

* Made error descriptive

* Minor improvements

* Updates snapshots for changed alt text

* Updates snapshots for changed alt text

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-06-29 18:05:24 +05:30
Rajat Dabade
b40452e4ca
Replace date with focalboard version (#3274)
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-06-28 15:16:28 +05:30
Rajat Dabade
ca922dbc1e
Cherry pick for add icon size refactor to main (#3273)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Resized the add icon button in card Dailog

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-06-23 11:01:35 -06:00
Rajat Dabade
d799b61b26
Cherry pick view-switcher-height issue fix for main (#3265)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Added the scroll to all the view in the drop down for view switcher

* Css changes

* import fixes

* Cherry pick for main, some css changes according to current changes

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
2022-06-22 08:11:47 -06:00
Rajat Dabade
56cc64f608
Cherry pick hidden card btn actions (#3261)
* Feature added: Pressing enter should create a category

* Followed the review request changed and updated the code

* Removed the submit attribute as it no longer been used

* Create .gitpod.yml (#3010)

* update board title when duplicated (#3011)

* Displayed only board members in autocomplete (#2969)

* Displayed only board members in autocomplete

* Removed debug logs

* update min version in Plugin and build (#3018)

* 2889 - Hiding images on share modal on personal (#2925)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* GH-2469 Add board-bot to team (#3026)

* add bot to team before any mention or subscription notification

* allow duplicating cards/baords if filecopy fails (#3012)

* allow duplicating cards/baords if filecopy fails

* change back to error logs

* standardize env var naming (#3031)

* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* implement personal server/desktop cloud advertising

* update for standard colors/button, add telemetry

* only display if active 24 hours

* remove log, update snapshot

* lint fixes

* more lint fixes

* fixes

* add copyright

* Updating UI

* All team users autocomplete new (#3016)

* WIP

* Made search debounced

* Lint fiX

* Fixed tests

* Calledn un-debounced version on first load

* Added delete feature in Table view (#2383)

* Added delete feature in Table view

* Fixed the build failure

* Added test cased for delete the row in table view

* Fixes for useMemo, useCallback and proposed CSS solution

* UI fixes

* Resolved the test-case issue

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>

* fix broken jest test

* update singleUser to return workspace UpdateAt as getMe User createAt

* Translated using Weblate (Croatian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/

* Translated using Weblate (Persian)

Currently translated at 32.0% (100 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fa/

Added translation using Weblate (Persian)

* GH-2959 - Updating boards modal styling (#3048)

* GH-2959 - Updating boards modal styling

* Updating test

* update to version 7.2.0

* Refactor notify init (#3043)

* remove unneeded store interfaces

* - reduce dependencies for notifications service
- notifications service no longer concerned with web socket notifications

gnored, and an empty message aborts the commit.

* use app to add member to board

* remove unneeded API

* remove dependency on app package

* fix webapp jest

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Adding the board default role for public boards (#2884)

* Adding the default role concept in the backend

* Adding the interface part

* Fix golang-ci lint errors

* Adding local permissions tests

* Address PR review comments

* Improving the code a bit

* Another small fix

* Renaming DefaultRole to MinimumRole

* Setting the minimum role at minimum to check the permissions per roles in the integration tests

* Adding the new minimum role behavior

* Fixing some tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* [GH-2442] Improve performance for table column resize (#3032)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* update template, remove view (#3080)

* update template, remove view

* update new template file

* Translated using Weblate (Turkish)

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Translated using Weblate (Persian)

Currently translated at 31.9% (100 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fa/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 56.8% (178 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/

* Translated using Weblate (Polish)

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/

* Translated using Weblate (German)

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (313 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 82.4% (258 of 313 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/

* Added a Dialog notification after clicking on the Cards hidden button (#3180)

* Added a Dailog notification after clicking on the Cards hidden button

* Reverted the unwanted changes

* Updated required snapshot

* Css fixed

* Snapshot update

* ESlinter fix

* Snapshot update

* Removed HiddenCardCountNotification and used cardLimitNotification template

* Update

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Added templates.boardarchive back

* Removed unwanted changes

* Update webapp/i18n/en.json

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: vaheeD khoshnouD <khoshnud@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Abraham Foam <foam.abraham@gmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: windane <windane@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Su Jing Jhong <sujingjhong@gmail.com>
2022-06-21 11:51:58 -06:00
Ishan Masdekar
484c3f213c
fix: handles clientConfig causing board error (#3260)
Fixes: #3259

Signed-off by: imasdekar <imasdekar@disroot.org>
2022-06-21 11:30:36 -06:00
Paul Esch-Laurent
c704729561
main Cherrypick: Hidden card view via direct URL & unfurl (#3071) (#3126)
* Hidden card view via direct URL & unfurl (#3071)

* wip: directly view a hidden (limited) card

* wip: use `limited` from Card

* feat(plugin): render hidden message when unfurling

* feat: `limited` direct card view + tests

* style: apply eslint

* fix: `large` <Button>

* test: update snapshot

* fix: wrap raw SVG in TSX component for styling

* feat: open pricing modal instead of /pricing URL

* fix: close card modal when opening pricing modal

* test: update snapshots

* chore: update i18n strings

* chore(Makefile): tests & dependencies in plugin

* test(plugin): add BoardsUnfurl snapshot tests

* test(cypress): 'Log in' -> 'Login'

* chore: i18n extract

* fix: use globstar matching in `i18n-extract`

* fix: `i18n-extract`, the sequel

* fix: / -> /error button `Login` to `Log in`

* style: fix linting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* fix: add `limited` to `Card`

* test: fix tests

* test: fix BoardsUnfurl

* chore: `npm run i18n-extract``

* Reducing the props used in the svgs to the minimum needed

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-06-21 11:22:47 -06:00
Jesús Espino
5979d19e73
Porting the card limits frontend to main branch (#3174)
* Porting the cards limits to main branch

* Fixing Issue 3124 (#3162)

* Fixing Issue 3124

* Update webapp/src/components/cardLimitNotification.tsx

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Some polishing in the card limit notifications components (#3169)

* Adding missing selector

* Adding some small missing parts

* Fixing some tests type checks adding the roles attribute to the users

* Feature to show hidden card count (#3094)

* Shows "(Deleted User)" instead of UUID when user not found (#2354) (#2465)

* Shows "(Deleted User)" instead of long, unreadable UUID in case the user is not found

In case a user is not found, at present unreadable and long UUIDs are shown which kill the look and feel of the application. This patch replaces the UUID with a more explanatory string.

* Update server/services/store/mattermostauthlayer/mattermostauthlayer.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
(cherry picked from commit 68819185a4)

Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>

* Update CHANGELOG.md for v0.15

Added one more merged PR to the list

* GH-2212 - Update global link on board (#2492) (#2495)

(cherry picked from commit 49df41f9b2)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* GH-2387 - Fixing link in comments (#2480) (#2498)

(cherry picked from commit 5e2cf0b386)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* Addead feature to start product tour on using the welcome template (#2468)

* Fixed a bug where images of the welcome board were not copied over. (#2453)

* Fixed a buig where images of welcome board were not copied over

* Lint fixes

* Fixed test

* Fixed test

* GH-2496 - Updating board title truncation issue (#2497) (#2503)

(cherry picked from commit f9cef8e4a0)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* set min-height on empty date to allow click (#2466) (#2504)

(cherry picked from commit 20fe19a50d)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Fix problem with viewId 0 in the URL (#2474) (#2510)

(cherry picked from commit 4cb3a0fae4)

Co-authored-by: Jesús Espino <jespinog@gmail.com>

* don't display temlate page if readonly and access revoked (#2499) (#2515)

(cherry picked from commit 61f1a3cc65)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* GH-2447 - Updating label overflow (#2479) (#2517)

* GH-2447 - Updating label overflow

* Updating labels css

(cherry picked from commit 923437cc57)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* Gh-2437 - Updating share board modal (#2511) (#2522)

* Gh-2437 - Updating share board modal

* Updating test

* Updating card dialog and test

* Updating comment list

(cherry picked from commit 50ded69852)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* updated/synced prior PR (#2509) (#2523)

* updated/synced prior PR

* add title back for cypress tests

* update unit test for cypress fix

* move to function

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 5b309e8e25)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* modify error page redirects (#2518) (#2532)

(cherry picked from commit 84a3f8f1fb)

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

* Dismiss tour from overlay (#2525) (#2531)

* Shows "(Deleted User)" instead of UUID when user not found (#2354) (#2465)

* Shows "(Deleted User)" instead of long, unreadable UUID in case the user is not found

In case a user is not found, at present unreadable and long UUIDs are shown which kill the look and feel of the application. This patch replaces the UUID with a more explanatory string.

* Update server/services/store/mattermostauthlayer/mattermostauthlayer.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
(cherry picked from commit 68819185a4)

Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>

* Update CHANGELOG.md for v0.15

Added one more merged PR to the list

* Added ability to dismiss tour from overlay

* GH-2212 - Update global link on board (#2492) (#2495)

(cherry picked from commit 49df41f9b2)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* GH-2387 - Fixing link in comments (#2480) (#2498)

(cherry picked from commit 5e2cf0b386)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* Addead feature to start product tour on using the welcome template (#2468)

* Fixed a bug where images of the welcome board were not copied over. (#2453)

* Fixed a buig where images of welcome board were not copied over

* Lint fixes

* Fixed test

* Fixed test

* Fixed intended behavio

* lint fixes

* Fixed tests

* Fixed tests

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit a53e947489)

Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>

* Updated Mac what's new for v0.15

* Done with the frontend for limited card count

* Updated the code and done with the unit test case

* Updated the code according to the review comment and fixed the test cases and ES lints issue

* Fixed the import for css file

* Changes made according to review comments, Reverted back whatsnew.txt

* Minor changes

* Updated the code considering review comments

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Chen-I Lim <chenilim@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing some tests

* Fixing tests

* Fixing some compilation errors

* More types error fixes

* Fixing eslint

* Fixing a typing problem

* Updating snapshots

* Fixing two small problems

* Removing unneeded scss empty file

* fixing jest test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Chen-I Lim <chenilim@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-20 20:39:20 +02:00
kamre
70dabf50f7
[GH-2966] Disable card detail properties hover state for shared readonly view (#3250)
* Disable hover state for readonly card detail properties.

* Function `propertyValueClassName` introduced.

* Jest snapshots fixed after updating dependencies.
2022-06-20 12:32:50 -04:00
Scott Bishel
5d320f092b
only display confirm on type change (#3234) 2022-06-16 08:46:31 -06:00
Ishan Masdekar
3a135a30e7
fix: handles null or empty clientConfig (#3237)
Adds a check to see if the clientConfig object is null or empty.
If null or empty clientConfig then sets the disableTour to false.

Related Issue: #3236

Signed-off by: imasdekar <imasdekar@disroot.org>
2022-06-16 09:32:08 -04:00
Scott Bishel
b911de0cc3
CP - Update en.json: Bug fix and consistency (#3231)
* Update en.json: Bug fix and consistency (#3151)

* Update en.json

Updated copy and fixed https://github.com/mattermost/focalboard/issues/3131

* update cypress tests

* update default messages, en.json is created from default messages when running i18n-extract

* update tests for string changes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
(cherry picked from commit 020d83fa44)

* clean up cherry-pick

* more cleanup

* fix bad merge

* fix cypress tests

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-06-16 16:47:44 +05:30
Scott Bishel
85b10ad417
fixes for personal server app notification (#3227) (#3230)
* fixes for personal server app notification (#3227)

* fix test
2022-06-16 16:46:45 +05:30
Miguel de la Cruz
fa6de94070
Adds limits implementation to the server (#3213)
* Adds limits implementation to the server

* Add test for deleted boards on active card count
2022-06-15 12:17:44 +02:00
kamre
d34bf0391b
Fix flickering when switching views: use redux state for rendering instead of the router match params. (#3212) 2022-06-15 12:00:11 +05:30
Harshil Sharma
f3faf39eaa
Forward-porting fileinfo limits (#3164)
* Updated go version

* Generated mocks

* lint fix

* lint fix

* lint fix

* backported fileinfo limits

* backported fileinfo limits

* added tests

* synced with main

* Server lint fix

* used a better name
2022-06-13 13:35:42 +05:30
Paul Esch-Laurent
8d2cc3ed06
fix: delete .action-cell CSS bg color (#3157) 2022-06-03 11:27:24 +05:30
kamre
a42f8b7dcc
[GH-3170] Fix overflow for ValueSelector menu (#3171) 2022-06-02 15:54:07 -05:00
Scott Bishel
3f49be606b
need to update OnDropToCard on card changes (#3076) 2022-05-24 12:05:12 +05:30
Asaad Mahmood
e01cf226cb
Adding search bar instead of search button for board (#3070)
* Adding search bar instead of search button for board

* Updating translation

* Updating tests

* Updating test

* Updating test
2022-05-19 21:05:55 +05:00
KyeongSoo Kim
6e7326d4e0
GH-1919 fix unexpected dialog close (#2828)
* fix: seperate dialog backdrop and wrapper

* test: update snapshot
2022-05-19 10:31:53 +02:00
kamre
4ebb35cf0f
[GH-2442] Improve performance for table column resize (#3032)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-05-16 15:51:17 -05:00
Jesús Espino
d3edf2f698
Adding the board default role for public boards (#2884)
* Adding the default role concept in the backend

* Adding the interface part

* Fix golang-ci lint errors

* Adding local permissions tests

* Address PR review comments

* Improving the code a bit

* Another small fix

* Renaming DefaultRole to MinimumRole

* Setting the minimum role at minimum to check the permissions per roles in the integration tests

* Adding the new minimum role behavior

* Fixing some tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-05-16 10:09:11 -06:00
Scott Bishel
073ef8af75 update to version 7.2.0 2022-05-11 17:25:46 -06:00
Mattermod
eb5f35d5fa
Merge branch 'main' into personal-server-advertising 2022-05-11 22:12:40 +03:00
Asaad Mahmood
a5743f8ebe
GH-2959 - Updating boards modal styling (#3048)
* GH-2959 - Updating boards modal styling

* Updating test
2022-05-11 19:24:14 +05:00
Mattermod
00c5affae7
Merge branch 'main' into personal-server-advertising 2022-05-10 20:53:08 +03:00
wiggin77
a467f6befa fix broken jest test 2022-05-10 12:47:03 -04:00
Asaad Mahmood
1e828204a4 Updating UI 2022-05-10 17:18:01 +05:00
Rajat Dabade
a840c440f5
Added delete feature in Table view (#2383)
* Added delete feature in Table view

* Fixed the build failure

* Added test cased for delete the row in table view

* Fixes for useMemo, useCallback and proposed CSS solution

* UI fixes

* Resolved the test-case issue

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-05-10 13:16:24 +02:00
Harshil Sharma
859bc53cbb
All team users autocomplete new (#3016)
* WIP

* Made search debounced

* Lint fiX

* Fixed tests

* Calledn un-debounced version on first load
2022-05-10 11:06:04 +05:30
Scott Bishel
12688f122c add copyright 2022-05-09 16:43:01 -06:00
Scott Bishel
28832926e9 fixes 2022-05-09 16:34:47 -06:00
Scott Bishel
68570ace5c more lint fixes 2022-05-09 13:56:26 -06:00
Scott Bishel
5bfa4b4827 lint fixes 2022-05-09 13:46:32 -06:00
Scott Bishel
5dfc81ddb2 remove log, update snapshot 2022-05-09 13:37:43 -06:00
Scott Bishel
dd56ceb1c8 only display if active 24 hours 2022-05-09 12:49:07 -06:00
Scott Bishel
982396146f update for standard colors/button, add telemetry 2022-05-09 12:27:50 -06:00
Scott Bishel
1a3612bd8c implement personal server/desktop cloud advertising 2022-05-09 09:49:10 -06:00
Asaad Mahmood
fb46097e72
2889 - Hiding images on share modal on personal (#2925)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-05-04 13:53:46 -06:00
Harshil Sharma
4a99a91cc9
Displayed only board members in autocomplete (#2969)
* Displayed only board members in autocomplete

* Removed debug logs
2022-05-03 12:54:47 -06:00
Rajat Dabade
b5eda443b2
Merge pull request #2940 from Rajat-Dabade/create-category-with-enter-btn 2022-05-03 20:13:56 +05:30
Rajat Dabade
130374027c Removed the submit attribute as it no longer been used 2022-05-03 19:12:28 +05:30
Asaad Mahmood
d122976ab1
Minor UI Updates to Card title and Column Dropdown (#3006)
* Minor UI Updates

* Updating menu popup
2022-05-03 09:44:41 +05:00
Harshil Sharma
aec7c9de10
Fixed incorrect navigation bug (#3004) 2022-05-02 16:59:39 -06:00
Rajat Dabade
b2ec507e8f
Last updated by aligement fixed (#2937)
* Last updated by aligement fixed

* Removed the boardUsersById dependency from lastModifiedBy component as it was no longer used

* ESLint fixed

* Removed the unnecessary wraping div and css classes files for lastModifiedBy component

* Updated snapshots

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-05-02 14:57:02 -06:00
Scott Bishel
c36e61657e
need to reload on change to me.id (#2997) 2022-05-02 14:55:33 -06:00
Scott Bishel
b12638a57a
check for propertyValue not null (#2986) 2022-05-02 14:48:45 -06:00
Asaad Mahmood
cff702462a
GH-2927 - Reducing header size for boards (#2930)
* GH-2927 - Reducing header size for boards

* Updating header alignment

* Updating test
2022-05-02 12:54:11 +05:00
Scott Bishel
f4541630e7
update for v0.17.0 (#2943) 2022-04-28 14:41:38 -06:00
Rajat Dabade
55df4cf224 Followed the review request changed and updated the code 2022-04-28 12:31:12 +05:30
Paul Esch-Laurent
2a0873c954
fix: personal server invite link omitted base URL (#2900)
* fix: personal server invite link omitted base URL

* fix: respect `baseURL` when building invite URL

* test: add simple unit test for <RegistrationLink>

* clean up test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-27 15:14:08 -06:00
Harshil Sharma
4beea3888a
Fixed bug ehere start tour param was not sent when restarting touyr (#2924)
* Fixed bug ehere start tour param was not sent when restarting touyr

* Fixed nits
2022-04-27 09:16:30 -06:00
Scott Bishel
f441441cb4
GH-2877 - Style Autocomplete Modal (#2934)
* style autocomplete modal

* lint fixes

* Only show profile picture for plugin

* add non plugin test, update plugin test
2022-04-27 09:13:23 -06:00
Scott Bishel
9431a36886
implement private icon on Share button (#2935) 2022-04-27 07:25:06 -06:00
Rajat Dabade
d5c8f59878 Feature added: Pressing enter should create a category 2022-04-27 18:53:02 +05:30
Scott Bishel
d2c4a54d36
GH-2896 - Error on invalid token (#2911)
* handle error on invalid token

* update message and error to be more generic

* fix apostrophe

* send user to origin
2022-04-25 16:11:16 -06:00
Jesús Espino
340fcf20f1
Fixing redo on card contents (#2831)
* Fixing redo on card contents

* Fixing tests
2022-04-25 18:08:46 +02:00