Commit Graph

1686 Commits

Author SHA1 Message Date
Jesús Espino
e834c15ce7
Only run the sessions clean up on plugin mode (#1043)
* Only run the sessions clean up on plugin mode

* fix error
2021-08-26 11:33:34 +02:00
Jesús Espino
964cc1a0b8
Fix card insertion order (#1030)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-26 11:29:19 +02:00
Jesús Espino
171164ec6d
Use card id in the url (#1050)
* Use card id in the url

* Fix linter error

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-26 11:27:06 +02:00
Jesús Espino
55e506bd0e
Add stylelint to the CI (#1078)
* Add stylelint to the CI

* remove duplicated line

* remove more duplicated lines

* Adding extra rule to avoid duplicated properties
2021-08-26 11:25:25 +02:00
Jesús Espino
79f026b9a9
Making favicon store/restore more robust (#1093) 2021-08-26 10:14:41 +02:00
Harshil Sharma
609b69ec53
Don't update the card if the property or description didn't change (#1092)
* Not updating card when property or discription is not changed

* Added tests

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-26 11:19:32 +05:30
Doug Lauder
b58497e2ea
Replace mlog with server v6 mlog (#1088)
* replace mlog with server v6 mlog
* remove FB mlog from plugin
2021-08-25 16:08:01 -04:00
Chen-I Lim
791c600151
Fix #1086. Update channel header button hint. (#1103)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-25 10:48:51 -07:00
Jesús Espino
8c9a7f21b7
Fix chrome drag and drop preview (#1097) 2021-08-25 16:46:01 +02:00
Jesús Espino
dd8083a915
Fixing property name text select on plugin mode (#1094) 2021-08-25 15:01:22 +02:00
Jesús Espino
dfb34d81a2
Automatically add the .focalboard-body class to all sass classes on plugin mode (#1068)
* Automatically add the .focalboard-body class to all sass classes on plugin mode

* Addressing review comment
2021-08-25 13:05:12 +02:00
Scott Bishel
a3fabc45a0
update share url (#1062)
* update share url

* add leading slash
2021-08-24 14:07:15 -06:00
Chen-I Lim
5f8e08b79e
Fix #1086: Update channel header button hint (#1087) 2021-08-24 11:48:29 -07:00
Asaad Mahmood
a01dd25ecb
Updating cell alignment for table view (#1084) 2021-08-24 20:59:12 +05:00
Asaad Mahmood
b098353898
1061 - Updating date picker (#1070) 2021-08-24 18:47:03 +05:00
Hossein
8de9ec8234
fix image paste messing with content stuffz (#1075)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-08-24 09:20:24 -04:00
kamre
e4e1f2d94a
Always stop event propagation for click on the link generated from markdown. (#1039)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 09:11:48 -04:00
Miguel de la Cruz
f9c76d8129
Update focalboard to be compatible with mattermost v6 (#1020)
* Update focalboard to be compatible with mattermost v6

* Point to the new plugin API version

* Fix collectors linter issues

* Move all CI jobs to 1.16
2021-08-24 12:13:58 +02:00
Johannes Marbach
0291052c1c
[GH-912] Discard (milliseconds) when counting create/update dates (#981)
* [GH-912] Discard (milliseconds) when counting create/update dates

Card creation and update dates are displayed with hours and minutes only on
the UI. When the full timestamp is used for counting unique values, this
leads to a discrepancy because the (milli)second parts impact the count
but are not visible to the user.

This commit fixes creation and update timestamps to minutes accuracy
before their values enter any calculation.

Closes: #912

* Add parentheses to please the linter

* Add 1s to test fixtures to cover bug scenario

* Add dedicated unit tests for creation / update 1s and 1m apart

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 15:00:51 +05:30
kamre
22bfe2da13
Support readonly flag in URLProperty. (#1041) 2021-08-24 12:02:42 +05:30
Julien Fabre
fb2410f430
[GH-967] fix overflow URL property in cell (#982)
* (fix GH-967): add css property to fix width

* fix: review test link

* feat: review link scss on hover

* fix: add width inherit in url to occupy the whole space

* fix: merge error

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 19:08:50 -04:00
DeviousLab
f8176abd27
Updated date range arrow to single character #1058 (#1064) 2021-08-23 18:22:03 -04:00
Asaad Mahmood
a6cd2c9272
1010 - Updating text and link property (#1047) 2021-08-23 20:36:25 +05:00
Jesús Espino
74161aa1ca
Remove duplicated restart on docker compose (#1067) 2021-08-23 16:38:34 +02:00
Asaad Mahmood
63c2a908df
1005 - Updating padding on the share popup (#1048) 2021-08-23 19:31:05 +05:00
kamre
6bf4008199
[GH-1053] Fix table horizontal lines (#1054)
* Set width to fit content for table header and row container.

* Horizontal line for table footer fixed:
  use div wrapper to make the width of the footer equal to the width of header and rows.

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 09:25:39 -04:00
Jesús Espino
9bfdc7b93a
Fix border cut on kanban and gallery views (#1044) 2021-08-23 12:19:56 +02:00
Weblate (bot)
4c2563e10a
Translations update from Weblate (#1066)
* Translated using Weblate (Russian)

Currently translated at 97.5% (159 of 163 strings)

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

* 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% (165 of 165 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% (165 of 165 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% (165 of 165 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% (165 of 165 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 99.3% (164 of 165 strings)

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

Co-authored-by: calipzo <a.kruglenko@gmail.com>
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: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
2021-08-23 10:46:17 +02:00
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
Asaad Mahmood
307fee78fc
GH-994 - Updating color for global header menu (#1012)
* Updating color for global header menu

* Updating css

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 10:28:29 +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
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