Commit graph

3274 commits

Author SHA1 Message Date
Allan Guwatudde
82007d81e4
Merge pull request #3668 from mattermost/MM-45761
[MM-45761] - Telemetry: Track how many users end up in purchase/pricing modal/notify admin
2022-08-26 15:17:30 +03:00
Scott Bishel
52598b583f
fix sql statement, add 'isGuest' (#3745) 2022-08-25 13:36:39 -05:00
Scott Bishel
40045d9f7b
fix issue with deleted members not updated via websocket (#3743) 2022-08-25 19:21:04 +02:00
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
Miguel de la Cruz
e1a39e57ff
Adds a check that errors on store start if MariaDB is detected (#3725)
* Adds a check that errors on store start if MariaDB is detected

* Fix linter

* Update error message

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 14:36:43 -06: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
Miguel de la Cruz
03a6a963eb
Updates db indexes to improve performance (#3732)
* Updates db indexes to improve performance

* Fix order-dependant test

* Fix another order-dependant test
2022-08-24 18:42:41 +02:00
Scott Bishel
99c854ab2c
stack banners if multiple displayed (#3731) 2022-08-24 10:32:47 -05:00
Doug Lauder
509374cc4f
Set FOCALBOARD_UNIT_TESTING for integration tests (#3733) 2022-08-24 16:18:51 +02:00
Harshil Sharma
a4b6dc512b
DOnt lint boards_product.go (#3734) 2022-08-24 12:43:45 +05:30
Doug Lauder
0ffc721e64
Add Preferences service API for product and plugin (#3727)
* Add Preferences service API for product and plugin

* add missed switch case

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 09:08:56 +05:30
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
Doug Lauder
e341cc4da8
Exclude exhaustive check for product services switch (#3730) 2022-08-23 14:01:51 -04:00
Scott Bishel
0d9c3da1c8
Update webapp/src/components/markdownEditorInput/markdownEditorInput.tsx 2022-08-23 10:43:25 -06:00
Doug Lauder
0311cc91ad
Add disableNotify param to client APIs, to match Rest APIs (#3723) 2022-08-23 10:37:49 -05: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
Scott Bishel
0403c22f3c
Post message channel change (#3717)
* initial implementation

* checking changes

* use boards bot

* update mocks

* linter fixes

* linter fixes

* clean up

* revert manifest change

* another lint fix

* use common error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-23 08:48:41 -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
Doug Lauder
1c383fb179
Add disable_notify to all block APIs that can trigger notifications. (#3720)
* Add disable_notify to all block APIs that can trigger notifications.
2022-08-22 19:06:45 -04:00
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
Miguel de la Cruz
67cec5de4f
Remove duplicated store and app method to get blocks that belong to a board (#3698) 2022-08-22 21:53:59 +02: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
Paul Esch-Laurent
c89ea6ce9c
Update app bar tooltip text to Toggle Linked Boards (#3705) 2022-08-19 13:18:29 -05:00
Miguel de la Cruz
831dff6192
Print log server information on plugin run (#3711)
* Print log server information on plugin run

* Add LogServerInfo to product mode

* Fix log location
2022-08-19 13:16:18 -04:00
Miguel de la Cruz
feb49eaf19
Add foundation tests (#3670)
* Add foundation and its instrumentation code

* Add migration 18 and deletedMembershipBoardsMigration tests

* Update go sum
2022-08-18 17:03:33 +02: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
Harrison Healey
2c1a7b1943 MM-46274 Temporarily roll back dependency versions to match web app 2022-08-17 16:22:35 -04:00
Harrison Healey
d462d9a5d7 MM-46274 Add ability to run Boards as a product in development 2022-08-17 16:13:35 -04:00
Doug Lauder
765fbc88e9
Register API router in product mode (#3700)
* register API router in product mode

* period in comment (really?)
2022-08-17 17:50:01 +02:00
Paul Esch-Laurent
68bf52cfcd
fix: return empty props in single-user mode (#3691) 2022-08-17 09:09:15 -06: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
Winson Wu
16ca853cc0
Merge pull request #3612 from mattermost/justinegeffen-patch-2
Create _index.md
2022-08-11 15:06:39 -04:00
Justine Geffen
02185a8fa6
Update website/site/content/guide/admin/_index.md
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
2022-08-11 17:25:18 +02:00
Paul Esch-Laurent
c0a2207087
fix: don't re-.push() the URL if already on teamId (#3651) 2022-08-11 09:23:08 -06:00
Miguel de la Cruz
19ef6533f6
Adds data migration to clean badly assigned boards (#3635)
* Adds data migration to clean badly assigned boards

This data migration fetches all boards whose owner has a deleted
membership on the board's team and fixes them by processing them
again, this time with the fix applied to the `getBestTeamForBoard`
function that skips deleted teams and team memberships

* Do not create a transaction if there are no offending boards found

* Fix linter
2022-08-11 09:22:32 -06:00