Commit Graph

1065 Commits

Author SHA1 Message Date
Asaad Mahmood
a938fbeddf
1004-add-board-menu (#1045) 2021-08-20 15:43:04 -06:00
Asaad Mahmood
e8eeb51046
GH-966 - Removing empty placeholders (#1008)
* GH-966 - Removing empty placeholders

* Updating test

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-19 17:54:43 +05:00
kamre
2520d2fa4b
Prevent opening card dialog when link for URL is clicked. (#1037)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 12:31:15 +02:00
Jesús Espino
b5d58060cf
Fixing some color variables (#1038) 2021-08-19 12:26:26 +02:00
Scott Bishel
e5692c9e7e
Show error if Read-Only board is not available (#1022) 2021-08-18 17:36:27 -06:00
Scott Bishel
663ff4c8da
GH-989 add boards to shared component link (#1023)
* add boards to shared component link

* use Utils.getFronendBaseURL
2021-08-18 11:44:21 -06:00
Jesús Espino
727641f3db
Add paste/drop images on cards (#987)
* Add paste/drop images on cards

* Fix eslint
2021-08-18 12:14:50 +02:00
Jesús Espino
249a8c23a4
Fixing text selection in all inputs for Firefox (#1025) 2021-08-17 18:41:55 -06:00
Jesús Espino
83a45ae706
Fixing favicon changes on other browsers (#1017) 2021-08-17 22:50:49 +02:00
Hossein
7bc168ad84
Fix Problem (#1019) 2021-08-17 16:36:10 -04:00
Asaad Mahmood
0675c7e502
GH-965 - Updating global nav right sidebar buttons (#983)
* GH-965 - Updating global nav right sidebar buttons

* Updating test
2021-08-16 23:26:32 +05:00
Asaad Mahmood
7b5a45dc6c
GH-959 - Fixing board headers on scroll (#984) 2021-08-16 23:00:55 +05:00
Jesús Espino
969ceeb93e
Adjust image size to content column size (#1000) 2021-08-16 18:26:03 +02:00
Shahzaib
712c18efce
[GH-858] Add test cases for the multi-select component (#906)
* test(multiSelect): Add test cases for multi-select

* Remove `creatable-selector-parent` test id

* test(multiSelect): Make elements more accessible

* Update all snapshots that renders the `multiSelect`, `iconButton`, and `textOption` components

* Add the internationalized messages for the `aria-label` attributes

* cleanup(multiSelect.test.tsx): Remove the `DndProvider` from the `Wrapper` component

* Change the `ids` of `intl.formatMessage` arg

Co-authored-by: Shahzaib <shahzaib@placemarktechnologies.com>
2021-08-16 18:03:33 +02:00
Weblate (bot)
2cecf640b2
Translations update from Weblate (#986)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (163 of 163 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Occitan)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
2021-08-16 10:13:45 +02:00
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
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
Harshil Sharma
eca18c0660
Avoided double horizontal scrollbars (#954) 2021-08-12 19:09:44 +05:30
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
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
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
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
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
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
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
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
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
Jesús Espino
6bbbecf366
Fix update properties on click outside the dialog (#807) 2021-07-30 21:07:10 +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
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
Jesús Espino
6a7d3f797b
Websocket client now connects once and subscribe/desubscribe on the fly (#752)
* Websocket client now connects once and subscribe/desubscribe on the fly

* Fixing eslint error

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-28 18:14:18 +02:00
Harshil Sharma
f86824b5ad
Fixed issue with rearranging columns (#789)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-27 20:33:56 +05:30
kamre
4fcf1cc50d
[GH-779] Consistent date time format (#791)
* Use `Utils.displayDateTime` in Comment/CreatedAt/LastModifiedAt components.
Option for month changed to 'long' for `Utils.displayDateTime`.

* Don't show current year in `displayDateTime`.

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-27 14:41:18 +05:30
kamre
c27ea205ba
[GH-778] Remove date format from the user settings (#790)
* Preferred date format removed from user settings.
Date format is always `MM/DD/YYYY` for editing in the input.

* Snapshots for jest tests updated.
2021-07-27 14:26:38 +05:30
kamre
60af33fe28
[GH-715] Consistent date display (#748)
* Changes in function `Utils.displayDate`:
- uses 'MMMM DD' for dates with current year
- uses 'MMMM DD, YYYY' for other years
- corresponding unit tests added

* Changes for input inside `EditableDayPicker`:
  - uses `Utils.displayDate` when day picker is not visible
  - uses preferred date format while day picker is visible
  - uses preferred date format for input placeholder

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-07-26 23:02:20 -07:00
Miguel de la Cruz
155bb89468
Adds dashboard placeholder route and component (#764)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 17:47:28 +05:30
kamre
bc8d778236
[GH-770] Use textarea for title in the card dialog (#776)
* New widget `EditableArea` introduced:
  - textarea with automatic height
  - implementation is based on AutosizeTextarea from mattermost-webapp
  - used for title in CardDetail

* Cypress test for setting card title fixed.

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 14:04:21 +05:30
Weblate (bot)
33708e022b
Translations update from Weblate (#782)
* Translated using Weblate (German)

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

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

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

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
2021-07-26 09:47:21 +02:00
Harshil Sharma
04707a9298
Revert "fix cards not dragging sometimes (#772)" (#781)
This reverts commit 9195df65e5.
2021-07-26 12:18:32 +05:30
Hossein
9195df65e5
fix cards not dragging sometimes (#772)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 10:42:19 +05:30
Harshil Sharma
e086888c7c
Fixed card drop to column not working (#754)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-26 10:41:39 +05:30
Chen-I Lim
7a85202830
Fix #757: Ignore invalid values in filter logic (#758) 2021-07-24 07:33:06 -07:00
Asaad Mahmood
c2519d435a
Gh 744 - Improving UI for share board popup and improving buttons (#765)
* Updating z-index and sidebar button

* Updating button css

* Updating emphasis class name

* Adding button text container

* Updating snapshots
2021-07-22 19:36:09 +05:00
Asaad Mahmood
64acecb1b0
GH-535 - Updating spacing for show/hide description (#767) 2021-07-22 18:53:48 +05:00
Asaad Mahmood
4d5c445141
GH-633 - Updating active indicator for boards (#766)
* GH-663 - Updating active indicator for boards

* Passed active view ID to sidebar component

* Updating view selected state

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-22 18:52:45 +05:00
Asaad Mahmood
7c2874081a
Issue 678 - Updating default dark theme label (#726) 2021-07-20 20:54:03 +05:00
Harshil Sharma
037ca41b64
Added hash when loacind JS file to bust cache (#755) 2021-07-20 16:48:41 +05:30
Harshil Sharma
9b253ffee1
Fixed horizontal scroll bar appearing too high (#751) 2021-07-19 16:29:27 +05:30
Miguel de la Cruz
0bd6233fac
Refactor the websockets connection messages and lifecycle (#749)
* Refactor the websockets connection messages and lifecycle

* Modify frontend to subscribe to a workspace instead of a set of blocks

* Fixing linter errors

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-07-19 15:04:17 +05:30
Harshil Sharma
325b664257
Fixed kanban view header not scrolling (#730) 2021-07-19 13:55:45 +05:30
Weblate (bot)
db3963989e
Translated using Weblate (German) (#750)
Currently translated at 100.0% (174 of 174 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
2021-07-19 09:28:26 +02:00
Chen-I Lim
77a90a473c
Fix #739: Don't show account options as plugin (#745) 2021-07-17 09:01:45 -07:00
Chen-I Lim
73225e959b Merge release-0.8.0 2021-07-16 10:30:45 -07:00
Jesús Espino
ee94e17f16
Add global templates to redux store (#731)
* Add global templates to redux store

* Removing unused import

* Remove unnecesary reducer

* Fixing eslint
2021-07-16 13:37:46 +02:00
Jesús Espino
e988812ccb
Removing the forceRefresh from the router (#732)
* Removing the forceRefresh from the router

* Fix eslint
2021-07-16 12:46:27 +02:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
Hossein
2ea4a85495
Description Section of Card can now Have Columns (#637)
* Grid Layout

* add margin

* add margin

* more work

* fix linting

* fix alignment

* update viewing

* fix editing

* wip

* some wip fix

* fix stuff

* fix linting

* fix type errors

* fix render of image

* fixl inting

* fix tests

* fix linting

* fix tests

* fix eslint

* remove ref

* fix colIndex

* address PR comments

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-15 10:38:12 -04:00
Jesús Espino
d6f760b06b
Sample using @reduxjs/toolkit (#646)
* Sample using @reduxjs/toolkit

* Some improvements related to typescript in the store

* Adding some extra data to the redux store

* Moving the workspace users into redux store

* Wrapping the language into the redux store

* Fix some wrong names

* Fixing typos

* Removing unused imports

* Removing unnecesary users context

* Fixing eslint error

* Fixing memory leak on tests

* Always using the redux store for workspace users

* Fix eslint

* Addressing PR review comments

* Fixing cypress tests

* Fixing cypress tests (second try)

* Fixing cypress tests (third try)
2021-07-14 21:22:40 +02:00
Harshil Sharma
7817958aa9
Fixed table row height (#723) 2021-07-14 11:12:25 +05:30
Jesús Espino
52062d452d
Remove showView and showBoard property drilling and migrate centerPanel to functional component (#649)
* Remove showView and showBoard property drilling and migrate centerPanel to functional component

* Make this backward compatible

* Fixing linter warnings

* Fixing call

* Fixing typescript types

* Addressing PR review comments

* Fixing cypress tests
2021-07-13 13:42:05 +02:00
Weblate (bot)
b791f288f1
Translations update from Weblate (#709)
* Translated using Weblate (Occitan)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

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

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

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

Currently translated at 99.4% (173 of 174 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
2021-07-12 10:01:59 +02:00
Chen-I Lim
1b45e16e52 Update to v0.8.0 2021-07-09 09:36:57 -07:00
Harshil Sharma
e0ec1c03e0
New Props: Created By, Created At, Updated By, Updated At (#583)
* Added create_at column for blocks

* Populating created by

* Added logic for storing created by

* Added GetBlock by ID to store interface

* Added creayed by and modified by properties

* Added created by and modified by properties

* Added lastmodifiedat property

* Fixed existing webapp test

* Added webapp unit tests

* Added webapp unit tests

* Added webapp unit tests

* Adding server test

* Added server tests

* Fixed a bug causing created by to be set empty

* Avodining timezone specific test behavior

* Made cypress viewport bigger to avoid out-of-viewoport issues in multiple tests

* Removed a leftover comment

* Added updated at/by in table view

* Added updated at in card view

* Fixing sort

* Fixed sorting of updated by

* Fixed existing tests

* Added table tests

* Added cardTree fix

* Fixed tests

* Removed unused import

* Update snapshots

* Added a tamper attempt test

* Removed some leftover debug code

* Removed sending creator from client

* Fixed lint error

* Fixed a build issue

* Avoided setting insert query params multiple times

* Multiple minor review fixes

* Fixed test
2021-07-08 20:06:43 +05:30
darkLord19
16708e93cd
add user setting for preferred date format (#666)
* add user setting for preferred date format

* set date format value to local storage

* use user preferred date format to display dates

* use object destructuring

* fix tests and lint
2021-07-08 12:17:09 +05:30
kamre
5e945b5c6f
Minor improvements for VSCode: (#675)
- chrome launch configuration for webapp added,
  - include `*.tsx` files in `tsconfig.json` so that jest tests inside `*.tsx` files don't show errors about not found jest functions
2021-07-08 12:08:00 +05:30
kamre
f6746d8b32
Change dragged cards order in the active view when they are dropped to column. (#671) 2021-07-08 12:03:40 +05:30
Harshil Sharma
f01add651c
Fixed issue where color panel git cut off in value selector (#664) 2021-07-08 10:06:29 +05:30
ditsemto
5b82dfda4b
GH-629 - Property Popover in Kanban view (#643) 2021-07-07 01:46:37 -04:00
Jesús Espino
702b4b1061
Only allowing valid color classes (#665)
* Only allowing valid color classes

* Simplifying the menuColors map and addressing some PR review comments

* Fixing type problems

* Fixing color

* Fixing snapshots
2021-07-06 19:53:54 +02:00
Arvin
7d1a4f1393
feat: open card after duplicate (#674)
Co-authored-by: arvinWahyoo <arvin@wahyoo.com>
2021-07-06 10:00:25 +02:00
Weblate (bot)
766668ea82
Translated using Weblate (Japanese) (#676)
Currently translated at 100.0% (174 of 174 strings)

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

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2021-07-06 09:18:53 +02:00
Carlos Tadeu Panato Junior
41d01c18fb
docker: fix docker file image and apply some good practices (#552)
* docker: fix docker file image and apply some good practices

* update docker-compose
2021-07-01 11:46:03 +02:00
kamre
ba69c8b083
Cypress test for hiding and showing the sidebar with active board added: (#659)
- active board is essential because it can cover the show  button,
  - presence of sidebar heading is used to check if sidebar is visible.
2021-07-01 09:27:46 +05:30
kamre
6cd5003a7a
Don't change visibility of MenuWrapper when hover state changes. (#653) 2021-06-30 17:14:51 +05:30
Weblate (bot)
0a0071bc11
Translated using Weblate (Turkish) (#642)
Currently translated at 100.0% (174 of 174 strings)

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

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
2021-06-28 09:19:26 +02:00
Harshil Sharma
0b38fc4f98
Fixed sorting icons (#611) 2021-06-23 13:43:41 +05:30
Scott Bishel
1021b199a8
update z-index on sidebar (#614) 2021-06-23 13:42:19 +05:30
Scott Bishel
c86d9b9ff5
fix double slash on buildURL (#615) 2021-06-22 09:26:00 -06:00
rohit1101
1f762b238a
GH-364 Automatically open new card for editing (#571)
* Make prebuild commit

* Implement open card by default on +New click in Board and Gallery View

* Remove horizontal scrollbar sidebar when options icon on click

* revert changes in package-lock.json
2021-06-21 17:50:21 +02:00
Harshil Sharma
67df905a42
Fixed issue with dropdown background being height-limited (#594)
* Fixed issue with dropdown background being height-limited

* Fixed height issue in a better way
2021-06-21 11:56:48 +02:00
Colton Shaw
cc06e0ff93
Updated lanquage selectors and fixed traditional chinese (#598)
* Updated lanquage selectors and fixed traditional chinese

#448 

- Modified the language selectors to remain the base language regardless of the translation.
- Traditional Chinese also had the wrong code and the name/code swapped.

* Removed the split on `-`

This was causing an issue with Chinese traditional / simplified.

* Updated supported lanquages for chinese

removed `zh` and replaced it with `zh-cn`. Modified the supported languages to match the `navigator.language` for chinese.

* Updated chinese lanquage codes

Updated the Chinese language codes to match the rest of the language codes.

* Fixing snapshots and fixing a deprecation problem

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 11:51:11 +02:00
Jesús Espino
8e6a71a028
Render react-select elements only on demand (#607)
* Render react-select elements only on demand

* Reverting unneded change

* Updating snapshots

* Fixing css inconsistencies

* Fix another tiny bug on mutil-select readonly view

* Updating snapshots
2021-06-21 11:24:26 +02:00
Weblate (bot)
a6f2c52a07
Translations update from Weblate (#608)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Hyia丶 <grsky360@live.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
Translation: Focalboard/webapp

* Translated using Weblate (Swedish)

Currently translated at 100.0% (174 of 174 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Catalan)

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Spanish)

Currently translated at 78.7% (137 of 174 strings)

Added translation using Weblate (Catalan)

Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ca/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
Translation: Focalboard/webapp

Co-authored-by: Hyia丶 <grsky360@live.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
2021-06-21 11:24:12 +02:00
prakharporwal
e4fbd2aed5
Solved #387 Bug: Comment box doesn't clear after sending (#547)
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
2021-06-21 10:28:57 +05:30
Jesús Espino
c004c7c86d Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
Scott Bishel
967e6e8078
Table unit tests (#554)
* update to useIntl()

* update to useIntl()

* implement unit tests for ./components/table/*

* fix lint

* update for useIntl()

* remove comments
2021-06-18 08:52:36 -06:00
Jesús Espino
d7442739b5 Fixing MM-36062 another detail 2021-06-18 16:47:12 +02:00
Harshil Sharma
737975f7bf
Fixed horizontal scroll issue with table view (#586) 2021-06-18 11:12:03 +05:30
Jesús Espino
22172be2cd Fixing MM-36062 extra detail 2021-06-15 11:03:53 +02:00
Jesús Espino
d3b21dd05f
Fixing MM-36062 (#579) 2021-06-15 09:34:59 +02:00
Hossein
a3ea91a8a1
Multi Select Filter + Sort (#539)
* Add sorting for multiSelect

* Allow filter of multiselect properties

* Fix not includes

* fix linting

* clear up wording

* Fix sorting

* fix linting

* fix search functionality for multi select values

* Revert change

* Order alphabetically
2021-06-14 10:44:37 -04:00
Weblate (bot)
63880b7f86
Translations update from Weblate (#575)
* Translated using Weblate (Turkish)

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

Currently translated at 92.5% (161 of 174 strings)

Co-authored-by: liimee <alt3753.7@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Zachary Jia <jia199474@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

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

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: liimee <alt3753.7@gmail.com>
Co-authored-by: Zachary Jia <jia199474@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
2021-06-14 09:14:13 +02:00
Chen-I Lim
1cc2337948
Fix #569: Show websocket connection error banner (#570)
* Fix #569: Show websocket connection error banner

* Update fwlink
2021-06-13 16:22:45 -07:00
Chen-I Lim
b45ff4c833
Fix #556: menu font size (#568) 2021-06-12 14:54:27 +02:00
Doug Lauder
5c69113911
Auditing (#542)
* audit wip

* finish API coverage

* fix unit test

* remove sample logging and audit config

* default logger

* fix go.mod and go.sum
2021-06-11 14:24:51 +02:00
Jesús Espino
aa80ac02af Importing only what is needed from lodash 2021-06-11 11:32:18 +02:00
Hossein
4d3d45323f
Card Template > Creating a property & setting type only stores either property name or type (#553)
* Fix bug

* update test and address comments

* Fix test

* Remove mousedown and use debounce

* Fix test

* fix lint
2021-06-11 11:22:19 +02:00
Ayesha Malik
060107766a
updated Tab header text to Focalboard (#507) 2021-06-08 10:41:18 -06:00
Scott Bishel
b3dd307664
GH-408 Implement Table Group (#463)
* initial checkin

* temporary commit

* most functionality working

* cleanup

* fixes for read-only mode

* implement drop on groups

* implement dnd card -> groupheader

* fix linter

* remove setting input size, set to 1st column width

* fix linter

* revert change

* add ungroup feature

* rework to handle fixed header row.

* fix for deleting group by property

* make falsy

* post merge fixes, handle multi-select

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-07 08:47:22 -06:00
Harshil Sharma
dbfeeed8ed
Fixed kanban board rearranging issue (#537) 2021-06-07 15:24:20 +02:00
Harshil Sharma
0fa9028931
Marked selected language and theme (#536)
* Addded visual indication for selected theme

* Marked selected language and theme

* Removed obsolete snapshot

* Avoided importing complete lodash package

* Used useIntl() infavi=our of receiving language in prop
2021-06-07 13:25:25 +02:00
Weblate (bot)
98c6d4fbe4
Translations update from Weblate (#530)
* Translated using Weblate (French)

Currently translated at 95.9% (166 of 173 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 91.9% (159 of 173 strings)

Translated using Weblate (Indonesian)

Currently translated at 91.9% (159 of 173 strings)

Co-authored-by: liimee <alt3753.7@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/
Translation: Focalboard/webapp

Co-authored-by: Ghisura <ghisura@outlook.com>
Co-authored-by: liimee <alt3753.7@gmail.com>
2021-06-07 09:20:39 +02:00
Jesús Espino
a1fa6e4945 Fixing cypress tests 2021-06-04 22:18:37 +02:00
Jesús Espino
714855e712 Fixing dialog close on click outside 2021-06-04 19:38:44 +02:00
Harshil Sharma
90f6389745
Person Property Type (#406)
* Added getWorkspaceUsers API

* Integrated workspace user API in UI

* Integrated workspace user API in UI

* Added toto for implementation slot

* Implemenmted getWorkspaceUSers to get data from Focalboard DB

* Updated store mocks

* Made select styles a shared constant

* Removed unwanted diffs

* Removed unwanted diffs

* Updated snapshots for new property type

* Added user store test

* Added missing copyright notice

* Returning error if no users found to retain original behavior

* Minor fixes and added tests

* Minor fixes

* Used React context for workspace users

* Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets

* Mergerd both workspace user contextx

* Minor review fix
2021-06-04 18:53:15 +05:30
Hossein
b45c1e7fd0
Fix search resetting (#508) 2021-06-04 13:28:33 +02:00
Asaad Mahmood
fa6fa9dada
188 - Updating color for alerts (#336) 2021-06-03 13:48:50 -07:00
Hossein
e7126b1835
Implement Multi Select Values (#415) 2021-06-03 16:48:16 -04:00
Harshil Sharma
c5771f7c9f
Fixed multiple safari bugs (#518) 2021-06-03 15:28:34 -05:00
Michael Kochell
1d87331391
Introduce checkbox property type (#439)
* introduce checkbox property type

* treat false as empty string

* Fixed lint issues

* Fixed webapp tests:

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-06-02 15:53:52 +05:30
Weblate (bot)
225c4bda5b
Translated using Weblate (Portuguese (Brazil)) (#500)
Currently translated at 100.0% (173 of 173 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 97.6% (169 of 173 strings)

Co-authored-by: Jordani de Jesus <jordanidejesus@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

Co-authored-by: Jordani de Jesus <jordanidejesus@gmail.com>
2021-06-01 09:10:53 +02:00
Doug Lauder
1f03ab7b43
Update package-lock.json
Fix bad merge.
2021-05-29 03:00:13 -04:00
Doug Lauder
417de9f837
Logger for FocalBoard server (#466)
- structured, asynchronous logging
- supports discreet log levels, including custom levels
- supports output to console, files, and all common log aggregators.
- supports JSON, plain text and GELF formats
- lazy formatting and writing
2021-05-29 02:23:10 -04:00
Harshil Sharma
fe6b0d04b3
Fixed Docker build breaking due to webpack-image=loader (#486) 2021-05-27 14:33:28 +02:00
Harshil Sharma
359462b125
Feature/adjust board component scroll (#447)
* Don't change a typical block element to inline-block

* fix scroll behaviour for board component

* Fixing cypress tests

* Fix merge conflict

* Made kanban and table header stay visible when scrolling

* Fixed Cypress tests

* Removed commented out code

Co-authored-by: signalwerk <sh@signalwerk.ch>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-05-27 16:28:07 +05:30
Harshil Sharma
3bf9d9382e
Clickable Links (#393)
* Added implementation for making links clickable

* Improved some clicking UX

* Removed unused stuff

* Fixed lint issues

* Added Compass Icons to Focalboard

* Updaed go.mod

* Made sure links in URL property are always assumed as absolute

* Removed unnecessary JSX code block

* Allowing only http and https protocols

* Removed unused extensions from file loader

* Icon and URL imporvements

* Added React component for Compass Icons.
* Allowed URLs with any arbitrary protocol.
2021-05-26 16:14:09 +05:30
Harshil Sharma
e5a915dddf
Using Node v16.0.1 in CI (#459)
* Using Node v16.0.1 in CI

* Mocked fetch in the test

* Using global response

* Added fetch mocker

* #GH-458 specified Node version in build scripts
2021-05-25 15:26:20 +05:30
Weblate (bot)
fce1dcbacc
Translations update from Weblate (#455)
* Translated using Weblate (Indonesian)

Currently translated at 91.3% (158 of 173 strings)

Translated using Weblate (Indonesian)

Currently translated at 83.8% (145 of 173 strings)

Added translation using Weblate (Indonesian)

Co-authored-by: liimee <alt3753.7@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (173 of 173 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (173 of 173 strings)

Translated using Weblate (German)

Currently translated at 100.0% (173 of 173 strings)

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Greek)

Currently translated at 27.7% (48 of 173 strings)

Translated using Weblate (Greek)

Currently translated at 4.6% (8 of 173 strings)

Added translation using Weblate (Greek)

Co-authored-by: Stavros Foteinopοulos <stavros.foteinopoulos@mattermost.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/el/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

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

Currently translated at 100.0% (173 of 173 strings)

Co-authored-by: Dmitriy Pervin <d@pervin.ru>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (173 of 173 strings)

Co-authored-by: YorimiMochida <yuuman002@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% (173 of 173 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 (Italian)

Currently translated at 100.0% (173 of 173 strings)

Co-authored-by: Gbm Administrator <admin@gbmtrade.it>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
Translation: Focalboard/webapp

* Translated using Weblate (Occitan)

Currently translated at 100.0% (173 of 173 strings)

Translated using Weblate (Occitan)

Currently translated at 99.4% (172 of 173 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

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

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

Co-authored-by: liimee <alt3753.7@gmail.com>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Co-authored-by: Stavros Foteinopοulos <stavros.foteinopoulos@mattermost.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Dmitriy Pervin <d@pervin.ru>
Co-authored-by: YorimiMochida <yuuman002@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Gbm Administrator <admin@gbmtrade.it>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-05-25 07:59:25 +02:00
Jesús Espino
f1b8d88d6b
Changing mattermost-auth method to work based on shared database access (#335)
* Improving mattermost auth implementation

* Making mattermost-auth based on shared database access

* Reverting unneeded changes in the config.json file

* Fixing tiny problems

* Removing the need of using the mattermost session token

* Fixing some bugs and allowing to not-bind the server to any port

* Small fix to correctly get the templates

* Adding the mattermost-plugin code inside focalboard repo

* Adding a not working code part of the cluster websocket communication

* Updating the mattermost version

* Adding the cluster messages for the websockets

* Updating to the new node version

* Making it compatible with S3

* Addressing some tiny problems

* Fixing server tests

* Adds support for MySQL migrations and initialization

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-05-24 19:06:11 +02:00
Chen-I Lim
4c3f14e027 Merge release-0.6.7 2021-05-24 09:59:30 -07:00
Johannes Marbach
47b528b2f3
[GH-410] Remove background from read-only input fields (#452)
* [GH-410] Remove background from read-only input fields

This makes the background of text input fields transparent when the field is
read-only. Making it transparent will make the background show through which
prevents giving the visual impression of being editable.

Fixes #410

* Update snapshot
2021-05-21 15:36:24 -06:00
Miguel de la Cruz
6bb987a233
Add moment as a direct dependency (#445) 2021-05-20 14:58:19 +02:00
Weblate (bot)
0ce8566a7e
Update translation files (#419)
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
2021-05-17 12:40:42 +02:00
Chen-I Lim
2c28746978
npm audit fix (#405) 2021-05-13 16:17:07 -06:00
Hossein
e2dd9a978a
Add Export/import board (#403)
* Resolve GH-261

* fix eslint

* Address comments

* update mocks

* add test
2021-05-13 15:04:49 -06:00
Chen-I Lim
8a3b4cacb2
Beta badge (#404) 2021-05-12 12:03:10 +02:00
Jesús Espino
2f401df55d Fixing translations 2021-05-11 12:17:33 +02:00
Arjit Chaudhary
9584963d10
add missing EditIcon (#399) 2021-05-11 12:13:56 +02:00
Arjit Chaudhary
de69566eb0
Use AddIcon instead of "+" in text (#400) 2021-05-11 12:12:06 +02:00
Arjit Chaudhary
90377544c9
Use AddIcon instead of "+" in text (#401) 2021-05-11 12:11:28 +02:00
Harshil Sharma
1f60e70ef3
Used Node 16 and prevented soctet error from starting (#402) 2021-05-11 11:56:40 +02:00
Chen-I Lim
5fe51a9c0c Update for v0.6.7 2021-05-10 12:22:42 -07:00
Johannes Marbach
1d3820c3ce
[GH-309] Prevent description duplication on Safari / macOS app (#366)
This removes a redundant manual blur of the input field. In the macOS app
this caused the blur handler to be retriggered which resulted in the description
being duplicated.

Fixes: #309
2021-05-10 17:19:55 +02:00
Johannes Marbach
2fb75a6462
[GH-375] Persist randomIcons setting in native mac app (#376)
Fixes: #375
2021-05-10 17:18:11 +02:00
Johannes Marbach
889794863a
[GH-315] Enable spell checking in inputs and markdown editor (#372)
* [GH-315] Enable spell checking in inputs and markdown editor

Relates to: #315

* Update snapshots
2021-05-10 17:17:10 +02:00
Arjit Chaudhary
b4761c4fb5
Update "Open" button size (#383)
Updated the "Open" button size to better fill the row
2021-05-10 17:15:58 +02:00
Jesús Espino
2ee1d8aece Remove unneeded withRouter decorator 2021-05-10 15:25:57 +02:00
Jesús Espino
323f02f7ac Removing other unneeded injectIntl 2021-05-10 15:20:48 +02:00
Jesús Espino
94ee5eb844 Replace injectIntl with useIntl on functional components 2021-05-10 15:15:52 +02:00
Scott Bishel
019dd3da8f
[GH-353] initial implmentation of autosize columns (#355)
* initial implmentation of autosize columns

* fix lint

* move to utils

* table header provide its own length

* implement padding and font from DOM

* cleanup, lint fixes

* more cleanup
2021-05-10 14:52:00 +02:00
Weblate (bot)
d8a2c489bb
Translations update from Weblate (#394)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (171 of 171 strings)

Added translation using Weblate (Swedish)

Co-authored-by: Marcus Blennegård <marcus.blennegard@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

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

Currently translated at 100.0% (171 of 171 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (173 of 173 strings)

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

Co-authored-by: Marcus Blennegård <marcus.blennegard@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
Co-authored-by: YorimiMochida <yuuman002@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
2021-05-10 10:16:16 +02:00
Johannes Marbach
0f0d9f3bd8
[GH-38] Add date property (#391)
* [GH-38] Add date property

Closes: #38

* Add date menu item in snapshot to fix tests

* Add react-day-picker in NOTICE.txt
2021-05-10 07:46:07 +02:00
Weblate (bot)
332beb4e07
Translations update from Weblate (#377)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (170 of 170 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 42.9% (73 of 170 strings)

Added translation using Weblate (Portuguese (Brazil))

Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (170 of 170 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (170 of 170 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 94.7% (161 of 170 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (171 of 171 strings)

Translated using Weblate (Turkish)

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

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

Currently translated at 100.0% (170 of 170 strings)

Added translation using Weblate (Italian)

Co-authored-by: Gbm Administrator <admin@gbmtrade.it>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
Translation: Focalboard/webapp

* Translated using Weblate (Russian)

Currently translated at 100.0% (170 of 170 strings)

Co-authored-by: Edward Smirnov <ed@microolap.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (171 of 171 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (171 of 171 strings)

Co-authored-by: Yao Xie <zukerherr@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

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

Currently translated at 100.0% (171 of 171 strings)

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

Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Co-authored-by: YorimiMochida <yuuman002@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Gbm Administrator <admin@gbmtrade.it>
Co-authored-by: Edward Smirnov <ed@microolap.com>
Co-authored-by: Yao Xie <zukerherr@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: jude <judemvm@gmail.com>
2021-05-03 10:26:32 +02:00
Jesús Espino
521028612a Fixed eslint problem 2021-04-30 16:59:14 +02:00
Jesús Espino
0265e41c72 Adding support for traditional and simplified chinese 2021-04-30 12:25:14 +02:00
Jesús Espino
d09d6e0e40 Hack to fix SimpleMDE not updating events 2021-04-29 21:26:25 +02:00
Jesús Espino
58776dd94d Fixing external link click and workaround the export archive/csv problem 2021-04-29 15:31:17 +02:00
Jesús Espino
441deb82ca Fix deformation of images (Bug #357) 2021-04-28 20:08:03 +02:00
Stefan Huber
1ed9c6b291
Add prettier at least for css (#327)
This reverts commit c95ab685e4 and adds code fixes to scss files

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-04-28 16:28:52 +02:00
Johannes Marbach
1b5f580e44
[GH-307] Increase clickable area on sidebar items (#344)
This moves the click handler from sidebar item titles to the sidebar items
themselves. This way, the clickable area matches with the visually highlighted
area on hover.

Fixes: #307
2021-04-28 16:05:43 +02:00
Simon Leblanc
a918af6200
Translate date and datetime with React Translator (#350) 2021-04-28 15:30:18 +02:00
Scott Bishel
2e143b63b5
update css to support truncating headers and filling cell (#354) 2021-04-28 15:21:30 +02:00
Johannes Marbach
4212ef7db1
[GH-299] Sort views alphabetically after stripping leading emoji (#341)
* [GH-299] Sort views alphabetically after stripping leading emoji

This is a stopgap towards #299 that sorts views in the sidebar alphabetically but
only after stripping any leading emoji. This prevents unintuitive results such as
putting "📥 Inbox" before "🚀 Active".

* Extract method for sorting board views to enable testing

* Add unit tests

* Remove blank line
2021-04-27 16:57:14 -07:00
Johannes Marbach
3fb078d612
[GH-314] Persist and reapply users settings in mac app (#331)
* [GH-314] Persist and reapply users settings in mac app

Relates to: #314

* Inject settings blob at document start, push base64 conversion into TS, use proper quotes

* Remove whitespace

* Rename base64 to blob for consistency
2021-04-27 15:09:26 -07:00
Bharat
97b446f609
Added phone number field (#286)
* Added phone number field

* Removed phone number validation since its a complicated problem to solve for now

* Added the missing case for phone
2021-04-27 12:34:58 +02:00
Johannes Marbach
0ed20e499f
[GH-190] Add global option to disable randomized card icons (#310)
Relates to: #190
2021-04-26 16:41:12 +02:00
Asaad Mahmood
8c976b5ace
Updating editable default height (#337) 2021-04-26 15:52:33 +02:00
Chen-I Lim
1801422543
Fixes for workspace support (#321) 2021-04-26 13:43:02 +02:00
Weblate (bot)
28bcade9d4
Translated using Weblate (Dutch) (#334)
Currently translated at 100.0% (169 of 169 strings)

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

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2021-04-26 11:18:19 +02:00
Harshil Sharma
7900dbf88f
Added Todoist import script (#285) 2021-04-22 15:55:46 -07:00
Chen-I Lim
e61ba4a7a8 Update to v0.6.6 2021-04-21 12:56:14 -07:00