* 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>
* 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
* 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>
* 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
* 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>
* 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>
* 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>
* 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>
* Disable hover state for readonly card detail properties.
* Function `propertyValueClassName` introduced.
* Jest snapshots fixed after updating dependencies.
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>
* 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
* Implement Cypress test for hiding/unhiding a group
* Update verification logic for hiding/unhiding a group
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>