Commit graph

1592 commits

Author SHA1 Message Date
Asaad Mahmood
6e1b784c78
GH-894 - Removing uppercase from label (#985) 2021-08-16 08:31:48 +02:00
Johannes Marbach
b6d32da68c
[GH-314] Export native app user settings on change (#380)
* [GH-314] Export native app user settings on change

This switches from exporting the native app user settings on window close to exporting
on settings change. This way the settings export remains independent of native application
life-cycle events.

This is a stop-gap towards enabling settings export on the native Linux app. The latter
does not have an easy way to catch window close events.

Relates to: #314

* Disable no-shadow rule to prevent false-positive

* Verify allowed localStorage keys

* Fix import order/spacing

* Treat JSON parsing errors as failed import

* Read known keys from the correct type 🤦

* Extend logging with imported keys and always include _current_ user settings

* Fixing eslint

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-15 12:51:19 +02:00
Jesús Espino
f983a59973
Fix redirect problems on product switch (#972)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-14 17:26:53 +02:00
Jesús Espino
a8b0f68e1e
Storing the last channel viewed to workaround the fact that playbooks is not bind to channels (#974)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-14 17:24:14 +02:00
Chen-I Lim
63e94e090e
Fix #977. Show uncollapse button even with global nav. (#979) 2021-08-13 15:25:45 -07:00
Hossein
27ff092e28
Fix GH-955 and GH-936 (#971)
* Fix some major bugs BOSS BOSS

* fix variable name

* Fix RGB and Hex Mismatch
2021-08-13 10:51:18 -04:00
Jesús Espino
9d4da24e6c
Cleanup the store on the initial load call (#970) 2021-08-13 15:39:57 +02:00
Scott Bishel
1f36db5579
fix for wrong filter deletion (#961)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-13 14:01:29 +02:00
Scott Bishel
0525bfcb3b
allow overflow in Gallery View (#968)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-13 11:09:06 +02:00
Chen-I Lim
9403fb91c6
Fix #934. Sidebar hide-unhide as plugin. (#962) 2021-08-12 11:59:56 -07:00
Jesús Espino
a442f08ed3
Using an icon name instead of the component for registerProduct (#951) 2021-08-12 17:06:09 +02:00
Harshil Sharma
eca18c0660
Avoided double horizontal scrollbars (#954) 2021-08-12 19:09:44 +05:30
Jesús Espino
4dc1c6db4f
Restoring mattermost favicon on leave focalboard (#948) 2021-08-12 12:58:17 +02:00
Jesús Espino
2aac030ee7
Fix global header menu z-index for focalboard (#950) 2021-08-12 12:57:07 +02:00
Harshil Sharma
34e772414a
Added ability for calculation menu to open wherver there is available space (#952)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 16:16:22 +05:30
Scott Bishel
ee77fad020
add overflow: none to prevent scrolling (#939)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 12:07:47 +02:00
Harshil Sharma
3a7747b7dd
Fixed missing CSS vars (#949)
* Fixed missing css vars

* Updated snapshots
2021-08-12 15:29:57 +05:30
Jesús Espino
aaa0b0dccc
Moving logo and title to the global header (#947)
* Moving logo and title to the global header

* Fixing problems with the new header

* Fixing lint problems
2021-08-12 11:40:09 +02:00
Chen-I Lim
9e70a41ac6
Fix #945. Hydrate blocks on get (#946) 2021-08-12 11:39:02 +02:00
Chen-I Lim
994ed01b49
Move version label to top right for plugin (#941) 2021-08-11 16:55:19 -07:00
Jesús Espino
2287931882
Fixing a weird import bug on react-day-picker (#933)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-11 11:55:41 -06:00
Jesús Espino
a60f770832
Fix flaky test (#932) 2021-08-11 12:56:20 -04:00
Jesús Espino
362b0c601a
Fix simplified chinesse language (#929) 2021-08-11 16:58:10 +02:00
Jesús Espino
ea140ba99b
Picking the default theme from the user preferences on reload when it is a plugin (#923)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-11 11:53:53 +02:00
Jesús Espino
ca40dda8f8
Adding backward compatibility for 5.38 (#922)
* Adding backward compatibility for 5.38

* Fixing problem with urls
2021-08-11 11:10:52 +02:00
Shahzaib
f01e7804d0
fix(dialog): Always show the close button in the Dialog component toolbar (#915)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-11 10:20:30 +02:00
Scott Bishel
51739672c3
fix css for theme name changes (#926)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-11 10:07:49 +02:00
Jesús Espino
92fdd97e16
Fixing focalboard personal server icon (#921) 2021-08-11 00:16:57 +02:00
Harshil Sharma
0d97b6e281
Table calculations (#761) 2021-08-10 14:19:00 -04:00
Asaad Mahmood
8c76d86a0c
Updating focalboard icon and text (#913)
* Updating focalboard icon and text

* Updating comment
2021-08-10 22:50:16 +05:00
Jesús Espino
8fff482daa
Replacing put with patch in other mutator methods (#899) 2021-08-10 11:55:47 +02:00
Jesús Espino
13ef01a862
Fix share boards on plugin mode (#898)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-10 11:46:09 +02:00
Weblate (bot)
0419e563a1
Translations update from Weblate (#910)
* Translated using Weblate (German)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 94.8% (167 of 176 strings)

Co-authored-by: C138 <cabernet138@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (163 of 163 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Swedish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 93.8% (153 of 163 strings)

Co-authored-by: jellium <jellium@protonmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: C138 <cabernet138@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: jellium <jellium@protonmail.com>
2021-08-10 10:57:47 +02:00
dave
15b5d9746f
[GH-436] Add integration tests for missing User API endpoints (#810)
* server/client: support register and login

* server/client: support user related apis

* integrationtests: Add SetupTestHelperWithoutToken

* Add api integration tests for (User APIs)

* rename GetUserMe method to GetMe

* check GetMe data is match the registered data after login

* Add integration test for workspace upload file api

* make ci happy
2021-08-09 22:57:45 -04:00
Chen-I Lim
d698932c32 Update changelog for v0.9 2021-08-09 14:21:03 -07:00
Asaad Mahmood
d816af323e
MM-37087 - Updating heading fonts (#908) 2021-08-10 00:34:48 +05:00
Hossein
cdc72c31f8
Write Test for cardDetailContents (#884)
* LETS WRITE SOME TESTS WOOHOO!!!

* fix up testing

* update snapshot

* use mockDOM

* fix linting

* use querySelector

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-09 08:24:36 -04:00
Chen-I Lim
904dfc2158
Add server id to plugin telemetry (#903) 2021-08-06 12:03:56 -07:00
Jesús Espino
1914b5a921
Making theming compatible with mattermost on plugin mode (#883)
* Making theming compatible with mattermost on plugin mode

* Fixing some variables

* Adding isFocalboardPlugin function

* Fixing some styles

* Improving styles for boards icon in the global switcher
2021-08-06 19:58:28 +02:00
Chen-I Lim
38e71d8b18 Merge branch 'main' of github.com:mattermost/focalboard 2021-08-06 10:37:43 -07:00
Chen-I Lim
7d2a58081c Update version to v0.9.0 2021-08-06 10:37:28 -07:00
Scott Bishel
383723a128
Implement Date ranges (#660)
* initial commit

* update to work around state issue

* update comments

* temp commit

* add unit tests, cleanup

* language extract, lint fix

* update stored object to be same as state object

* fixing merge issues

* update dates to use locale

* linter fixes, test cleanup

* self review

* add unit test, fixes

* fix linter

* remove dateFormat from calls

* move DateRange to components

* update translations

* spacing fix

* update tests, fix some hour inconsistencies

* remove logging

* more updates

* more cleanup

* update to disply mm/dd/yyyy when editing

* update to disply mm/dd/yyyy when editing

* input date use locale

* update css to make selection round

* update css to make begin/end round
2021-08-06 10:44:01 -06:00
Jesús Espino
c734cfb8d1
Adding support for patch blocks (#877)
* Adding support for patch blocks

* Adding some improvements

* Adding api integration test for patch

* Adding SQL store tests

* Regenerating autogenerated code

* Fix linter errors

* Remove wrong update of the swagger file

* Update server/model/block.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Fix gofmt

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
2021-08-06 14:10:24 +02:00
Scott Bishel
8109fecc5a
update import scripts for redux changes (#895) 2021-08-06 09:40:02 +02:00
Scott Bishel
2eb3f59ddc
[Gh 684] Autosize fix for multi-select columns (#882)
* temporary commit

* cleanup code

* final fixes

* remove setting perItemPadding where not necessary

* Update webapp/src/octoUtils.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Update webapp/src/components/table/table.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-05 09:24:01 -06:00
Harshil Sharma
578b91fd2e
Fixed comments not displaying in readonly view (#820)
* Fixed comments not displaying in readonly view

* FIxed some tests

* Updated tests

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-05 18:52:15 +05:30
Scott Bishel
beebf70cbc
update text for shared board (#880) 2021-08-04 17:22:55 -06:00
Christopher Speller
515edb9dcf
Global header support (#736)
* Adding global header support.

* Set the landing URL for the global header to /dashboard

* Redirecting directly to the current channel on open Boards

* Some improvements on global header

* Adding missed file

* Removing theme selector from the global header and fixing a style bug on the channel header icon

* Adding global header tests

* Adding missed file

* Fix global header icon

* Adding isFocalboardPlugin function

* Fixing unit tests

* Fixing problem with header menu styles

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-04 16:57:56 +02:00
Jesús Espino
fb75ad2789
Show add content button on hover or focus of content block (#876)
* Show add content button on hover or focus of content block

* Updating UI to make the overlay textarea to be consitent

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-08-04 16:12:58 +02:00
Jesús Espino
caedc771b4
Fix problems with no refreshed data on handlers (#872)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-03 15:49:09 +02:00