Commit graph

1563 commits

Author SHA1 Message Date
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
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
Rajat Dabade
edd143b7e3
Fix for undefined className prop issue in Editable component (#2855)
* Fixed the css issue in emptyCardButton for firefox browser

* Eslint fix

* Added the default value to className prop for Editable component

* Updated snapshot

* Fixes

* Reverted the changes back

* Removed the unwanted changes

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-25 17:40:56 +02:00
Rajat Dabade
bc3c081bf4
Make the x cross sign clickable when select options are clicked in card view (#2904)
* Make the x cross sign clickable when select options are clicked in card view

* Eslint fixed

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-25 09:18:35 -06:00
Harshil Sharma
ec9085cd25
Sorted categories on modification or creation (#2856)
* Sorted categories on modification or creation

* Sorting only once

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

* Minor cleanup

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-22 10:48:49 -06:00
Rajat Dabade
eace2da582
Added the dependency for useCallback in onChageInSelect function (#2905)
Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-22 10:41:07 -06:00
Asaad Mahmood
cc91584a50
Various UI Fixes (#2847)
* Various UI Fixes

Fixes #2810
Fixes #2805
Fixes #2804
Fixes #2797

* Updating tests

* Updating hover for user property

* update snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-20 10:38:33 -06:00
Harshil Sharma
c64b95cf92
Updated update category-board mapping method to not rely on DB returning affected rows (#2840)
* Updated update category-board mapping method to not rely on DB returning affected rows

* Wrapped into transaction
2022-04-20 09:21:53 -06:00
Scott Bishel
0edf741c7f
GH-2506 Calendar View (#2835)
* add key to create new component if activeview changes

* reset component

* removed an extra space

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-04-19 16:24:09 -06:00
Tyler Stilson
a190443ccd
added space in gallery view (#2725)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-19 07:35:19 -06:00
Harshil Sharma
50930a1cd3
Cross team search (#2829)
* WIP

* Added test

* Added snapshot

* Updated server tests

* Fixed server lint

* Fixed webapp lint

* Updated server tests
2022-04-19 10:27:14 +05:30
Scott Bishel
39e8e466e0
fix for following button on card (#2833) 2022-04-18 12:52:28 -06:00
Weblate (bot)
0aec4032e3
Translations update from Mattermost Weblate (#2830)
* 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/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 58.4% (177 of 303 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (312 of 312 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (303 of 303 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 27.2% (85 of 312 strings)

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

Translated using Weblate (Arabic)

Currently translated at 24.6% (77 of 312 strings)

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

Translated using Weblate (Arabic)

Currently translated at 22.7% (69 of 303 strings)

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

Translated using Weblate (Arabic)

Currently translated at 22.4% (68 of 303 strings)

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

* 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/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.6% (311 of 312 strings)

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

Translated using Weblate (Dutch)

Currently translated at 97.1% (303 of 312 strings)

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

Translated using Weblate (Dutch)

Currently translated at 96.1% (300 of 312 strings)

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

Translated using Weblate (Dutch)

Currently translated at 95.8% (299 of 312 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

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

Translated using Weblate (Russian)

Currently translated at 94.2% (294 of 312 strings)

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

* Translated using Weblate (French)

Currently translated at 99.6% (311 of 312 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Italian)

Currently translated at 94.2% (294 of 312 strings)

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

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: boxiyang <boxi.yang@163.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: kherwata <abderrahmane.harouat@univ-tlemcen.dz>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: Benoit Podwinski <me@benoitpodwinski.com>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: SerHack <atombt@protonmail.com>
2022-04-18 19:20:15 +02:00
Scott Bishel
cbad8fe9d7
GH-2796 - Check my membership for sidebar items (#2820)
* check my membership for sidebard items

* update variable name

* Updated server tests

* fix lint errors

* revert board test changes

* fix unit tests

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 09:59:26 -06:00
Scott Bishel
21667aa8d0
GH-2808: fix some logging issues with share board. (#2827)
* fix some logging issues

* fix unit test

* more test fixes

* unit test
2022-04-18 08:57:42 -06:00
Scott Bishel
37259afda4
GH-1871 fix background for today (#2826)
* make all duplicated boards private

* update background so it works for today

* updated style

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 07:58:56 -06:00
KyeongSoo Kim
62b2abc3d2
fix: delay title focus (#2795)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-15 15:11:25 -06:00
Doug Lauder
554453c9e6
GH-2812 Hide delete template and edit template icons unless user has permission (#2818)
* hide delete template and edit template icons unless user has permission

* fix jest tests
2022-04-15 10:59:26 -06:00
Scott Bishel
90677ba7b8
GH 2393 Move calculationColumns from board to view (#2762)
* move calculation columns to view

* update tests

* add conversion for column calculations

* remove column_Calculations from boards and boards_history

* updates from testing

* update for sqlite

* fixes from testing

* fix lint, cleanup

* update templates,remove field from boards

* revert bad changes

* update snapshots

* Update server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-14 10:33:57 -06:00
Jesús Espino
bc37e97ae9
Applying migration changes (#2752)
* Applying migration changes

* Fixing linter erros

* Restoring userID

* Updated user id length

* Update server/app/category_boards.go

* Skiped creating categories for boards belonging to DMs

* Handled private group messages as well

* fix sql error for insert_at

* fix timestamp parsing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-04-13 16:10:53 -06:00
Miguel de la Cruz
4c61ae9623
Update focalboard endpoints to v2 namespace (#2781) 2022-04-13 15:24:32 -05:00
Scott Bishel
dbaecd437c
Merge pull request #2622 from asimsedhain/GH-2449
GH-2449 Limits gallery card and calendar title to 5 lines
2022-04-13 13:44:21 -06:00
Scott Bishel
daa608e53c
Merge pull request #2772 from kyeongsoosoo/GH2575
GH2575 - Focus title when card is created
2022-04-13 13:42:51 -06:00
Scott Bishel
cbd03bc612
Merge pull request #2761 from mattermost/gh-2337-hide-single-user-copy-link
fix: hide 'Copy link' for `single-user` installs
2022-04-13 10:33:42 -06:00
Miguel de la Cruz
59b387035f
Remove export archive from plugin header (#2779)
* Remove export archive from plugin header

* Update snapshot
2022-04-13 17:52:11 +02:00
Scott Bishel
4fb14bc653
Merge pull request #2778 from wiggin77/GH-2744_export_with_pound
GH-2744 Fix export with hash sign (#) in block title breaks export to CSV
2022-04-13 09:49:25 -06:00
Paul Esch-Laurent
60ad0cc045 style: "single-user" -> 'single-user' for linting 2022-04-13 10:36:25 -05:00
Scott Bishel
fa15c291b7
Merge pull request #2768 from mattermost/gh-2759-fix-images
GH-2759 - fix path to file api
2022-04-13 08:43:29 -06:00
wiggin77
92c0a889b6 minor edit 2022-04-13 10:22:22 -04:00
wiggin77
471096d3ae fix hash sign in block title for CSV export 2022-04-13 10:10:29 -04:00
Miguel de la Cruz
9c03838840 Use the correct endpoint for exporting all boards on a team 2022-04-13 15:04:47 +02:00
Asaad Mahmood
ec39401dc0
Various UI updates on permissions (#2765) 2022-04-13 14:07:47 +05:00
kyeongsoosoo
e3a812e6c1 fix: disable rerender when markdown-editor-input is mounted 2022-04-13 13:53:58 +09:00
Mattermod
b4829f55e4
Merge branch 'main' into GH-2449 2022-04-13 02:28:22 +03:00
Scott Bishel
786b97eb82 fix path to file api 2022-04-12 13:18:10 -06:00
Paul Esch-Laurent
27831136c9 fix: hide 'Copy link' for single-user installs 2022-04-11 14:00:52 -05:00
Scott Bishel
fcf4ed49b2
Merge pull request #2741 from mattermost/delete-view-fix
Fixed bug where next view wasn't selected
2022-04-11 07:41:36 -06:00
Jesús Espino
f3267e2458
Fixing delete/undelete boards (#2571)
* Fixing delete/undelete boards

* Adding permissions checks for undelete board and undelete block

* Fixing server-lint

* Handling permissions for deleted boards

* Fixing linter errors

* Fixing tests

* Update server/services/store/sqlstore/board.go

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

* Fixing error message

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-04-08 13:31:28 -04:00
Asaad Mahmood
4411bdddb3
GH-2714 - Updating permissions dropdown (#2726)
* GH-2708 - Updating permissions dropdown

* Updating UI
2022-04-08 04:53:28 +05:00
Jesús Espino
d8c017d25a
Lazy loading the drafjs editor to avoid affecting hitting mattermost-chat performance on first load (#2742)
* Lazy loading the drafjs editor to avoid affecting hitting mattermost-chat performance on first load

* Fixing jest tests
2022-04-07 13:22:30 +02:00
Harshil Sharma
39ff738d44 Fixed bug where next view wasn't selected 2022-04-07 13:24:59 +05:30
Scott Bishel
dc72e3d3bd
Merge pull request #2664 from jespino/issue-2617
Adding file size limit
2022-04-06 10:43:41 -06:00
Jesús Espino
87e84589ba Fixing cypress tests 2022-04-06 16:22:47 +02:00
Jesús Espino
af5193bbd0 Removing not used code 2022-04-06 12:57:30 +02:00
Asaad Mahmood
2c067147e7
GH-2708 - Updating z-index for dropdown list (#2727) 2022-04-06 14:04:55 +05:00
Scott Bishel
140af2e52f
Merge branch 'main' into issue-2617 2022-04-05 11:56:29 -06:00