Commit Graph

1622 Commits

Author SHA1 Message Date
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
Jesús Espino
81166b56e4
Keeping the visible and hidden options when you change the grouping (#873) 2021-08-02 23:08:26 +02:00
Jesús Espino
e481ba7170
Add clear button to value selectors (#823)
* Add clear button to value selectors

* Only show the clear button on not-readonly cases

* Updating the test snapshots

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-02 21:33:07 +02:00
kamre
3c41630af5
Fix usages of element's computed style in Firefox: (#822)
- don't use shorthands like `borderLeft` or `font` because they are empty strings
  - construct font string that is required for setting into canvas context from
    individual font properties if `font` property is empty string

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 21:31:17 +02:00
ctlaltdieliet
e6ff1d8aa6
Update links to 0.7.3 (#689)
* Update _index.md

* change to 0.7.3

* Undo

Thanks @chenilim. I'll know this now for the future!

* Oops, forgot another to undo

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 21:17:25 +02:00
kamre
d53c79772e
Fix kanban board height. (#825)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 21:14:08 +02:00
Jesús Espino
b2206f0b7e
Match the user settings for icon prefill on card for template (#870) 2021-08-02 20:18:31 +02:00
Jesús Espino
be28b7dad5
Migrate webapp global state to redux (#737)
* Migrating workspace tree to redux

* More changes for use the redux store for boads and views

* Taking into account the templates on websocket event updates

* Fixing bug on boardTree maintenance

* Websocket client now connects once and subscribe/desubscribe on the fly

* Including usage of the new websocket client

* More work around migrating to redux

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixing some things

* WIP

* WIP

* Another small fix

* Restoring filtering, sorting and grouping

* Fixing some other bugs

* Add search text reducer

* Fixing another drag and drop problem

* Improve store names and api

* Fixing small bgus

* Some small fixes

* fixing login

* Fixing register page

* Some other improvements

* Removing unneeded old files

* Removing the need of userCache

* Fixing comments and fixing content ordering

* Fixing sort

* Fixing some TODOs

* Fixing tests

* Fixing snapshot

* Fixing cypress tests

* Fix eslint

* Fixing server tests

* Updating the add cards actions

* Fixing some tiny navigation problems

* Mocking the api calls to pass the tests

* Migrating a new test to redux

* Adding the card right after the insert of the block (not wait for ws event)

* Showing the ws disconnect banner only after 5 seconds of disconnection

* Fixing share view

* Fix eslint

* Fixing problem with sort/groupby modifications

* Fixing some details on redirections and templates creation

* Fixing small bugs around undo

* Fix update properties on click outside the dialog

* Improving the column resize look and feel

* Removing the class based objects from the store (now they are all plain objects

* Fix eslint

* Fixing tests

* Removing unneeded code
2021-08-02 17:46:00 +02:00
Jesús Espino
615d7260f4
Fix connection leak in db migration (#819) 2021-08-02 16:48:15 +02:00
kamre
9b5530af5e
Don't do anything when the card is dropped on itself. (#813)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 12:12:01 +02:00
kamre
ae29ae105c
Proper computation of total horizontal padding for svg element. (#802)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 11:47:55 +02:00
Weblate (bot)
fc01e65fbf
Translations update from Weblate (#818)
* 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 (Russian)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* 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 (Japanese)

Currently translated at 100.0% (176 of 176 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 (Chinese (Simplified))

Currently translated at 100.0% (176 of 176 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 (Dutch)

Currently translated at 100.0% (176 of 176 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 (Swedish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Peter Krantz <peter.krantz@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Peter Krantz <peter.krantz@gmail.com>
2021-08-02 09:24:10 +02:00
Jesús Espino
2f827ba5b4
Fix bug on save on unmount (#811)
* Fix tiny code order problem

* Fixed #809
2021-08-02 08:06:38 +02:00
dave
b0cf6d0d2f
[GH-443] Add unit tests for ./services/webhook/webhook.go (#710)
* Add unit tests for ./services/webhook/webhook.go

* fix logger in TestClientUpdateNotify

* make ci happy

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-07-30 15:13:51 -06:00
Jesús Espino
6bbbecf366
Fix update properties on click outside the dialog (#807) 2021-07-30 21:07:10 +02:00
Szymon Gibała
5066c0eacf
[GH-805] - Add Makefile documentation (#806)
* Add Makefile documentation

* Review fixes

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-07-30 13:32:02 +02:00
Harshil Sharma
186ba524d7
Opened markdown links in new tab (#792)
* Opened markdown links in new tab

* Used openInNewBrowser only when available

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-30 13:32:49 +05:30
Harshil Sharma
926c4628c6
Fixed bug causing select prooperty options to vanish on rename (#797)
* Fixed bug causing select prooperty options to vanish on rename

* Fixed bug causing select prooperty options to vanish on rename
2021-07-30 13:32:27 +05:30
Jesús Espino
c3dba863c1
Adding support for embed the webapp into the plugin (#597)
* Adding support for embed the webapp into the plugin

* Adding required dependency

* Removed unnecessary prettier command

* Installed imagemin required dependencies

* Open in a new window always

* Fix CSS Conflicts.

* Changing the app id to make it specific to focalboard

* Adding error boundary

* Fix styles on non-plugin environments

* Making the css scoped to focalboard only

* Create the focalboard root portal

* Including missed component

* Adding a missed rollback call

Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-29 20:08:39 +02:00
Jesús Espino
bb81426b56
Adding a missed rollback call (#803) 2021-07-29 19:49:57 +02:00
Jesús Espino
8823991eb9
Fix card loading on open card (#800)
* Fix card loading on open card

* Fix MDE problem

* Fix eslint
2021-07-29 13:43:34 +02:00