Commit graph

2104 commits

Author SHA1 Message Date
Scott Bishel
60f0f5d5c4
Update icons (#1796)
* Updating table row css (#1787)

* updated icons

* update snapshots

* fixes for standard icon removal

* revert config.json changes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 14:57:05 -07:00
Miguel de la Cruz
e7c38c8822
Adds data migrations and the unique IDs migration (#1776)
* Adds data migrations and the unique IDs migration

* Adds GetSystemSetting tests

* Add log statements to data migrations

* Move migrations to the store and ensure they follow an order mixing database and data migrations

* Fix system settings

* Add tests for unique id migration

* Small comment change

* Make a couple of methods private and wrap the migration in a transaction

* Update public methods

* Add database mutex to data migrations

* Create server params and pass a mutex factory to the store

* Fix plugin linter

* Make isPlugin private

* Fix comment typo

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

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-11-11 17:01:43 +01:00
Asaad Mahmood
8d0e036719
Updating unfurl UI (#1794)
* Updating unfurl UI

* Updating remainder
2021-11-10 12:19:16 -08:00
Jesús Espino
537e015c72
Only allow routes without workspace prefix if you are in non-plugin mode (#1786) 2021-11-10 18:18:02 +01:00
Miguel de la Cruz
3ede6df028
Show a refresh banner on plugin update (#1720)
* Reload plugin on plugin update

* Add a banner that shows when updating the plugin and asks the user to reload

* Fix linter
2021-11-10 16:33:56 +01:00
Scott Bishel
1160477849
Updating table row css (#1787) (#1793)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-10 07:34:21 -07:00
Hossein
c13371c648
Fix GH-1690: Default card template on a board template adds a card to the template, not the board (#1748) 2021-11-09 17:11:22 -05:00
Julien Fabre
cfbec9d90b
[GH-840]: add unit tests for workspace (#1781)
* chore[GH-#840]: add unit tests for workspace

* fix: test and snapshot

* fix: snapshot error
2021-11-09 14:45:13 -07:00
Yusuke Nemoto
76cba7c02b
Fix message (#1768)
* Update deleteBoardDialog.tsx

* i18n: update en.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 14:26:42 -07:00
Jesús Espino
23d3ae3584
Fixing styles on product switcher menu (#1783) 2021-11-09 13:42:19 -07:00
sarvani1997
5fe26615f1
Fixed sort by date (#1719)
* Fixed sort by date

Date property is in JSON string. So, we should parse it and sort later.

* fix type script error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 15:39:04 -05:00
Hossein
792d8832c6
Fix GH-1727: Board calculations: Dates are cut off (#1770)
* Fix GH-1727

* update snapshots

* fix snapshot
2021-11-09 13:26:45 -07:00
Hossein
520f1e65e7
minimum changes required (#1763) 2021-11-09 14:50:54 -05:00
Scott Bishel
f74eea11ba
Fix for feature flag handling (#1753)
* fix for handling feature flags changing

* update tests

* fix tests

* lint fixes

* feedback updates

* use getConfig instead

* linter fix

* more linter

* revert changes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 07:56:04 -07:00
Hossein
ad0e3a1248
Fix GH-1724 (#1771) 2021-11-09 14:27:09 +01:00
Rakshit Arora
63ff9a7de5
Vertically Center Aligned createdBy, createdAt, lastModifiedBy and lastModifiedAt Properties (#1580)
* Vertically Center Aligned Dates.

* Vertically Centered lastModifiedAt & lastModifiedBy Properties

* Centered createdAt & createdBy Properties

* Added newlines in sass files

* Fixed createdBy alignment

* fix linting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-11-09 08:23:09 -05:00
Chen-I Lim
ccf4dc6c23
Add utm_source and campaign for links to main site (#1779) 2021-11-09 07:24:25 +02:00
Johannes Marbach
11c667b9bf
[GH-438] Add basic web cliper browser extension (#1582)
This adds a rudimentary web clipper browser extension. It allows to save
page titles and URLs into cards. URLs will be written into the first
found card property of type 'url' (if any).

Relates to: #438
2021-11-08 16:07:08 -08:00
Chen-I Lim
2113cac6fd
v0.10 changelog (#1778) 2021-11-08 13:14:37 -08:00
kaakaa
7ab1b81f8a Translated using Weblate (Japanese)
Currently translated at 100.0% (239 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-11-08 11:22:06 -06:00
Valentin Rozman
7465fb09ff Translated using Weblate (Slovenian)
Currently translated at 2.5% (6 of 239 strings)

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

Added translation using Weblate (Slovenian)
2021-11-08 11:22:06 -06:00
master7
c12d3ed4fa Translated using Weblate (Polish)
Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-08 11:22:06 -06:00
JtheBAB
825bf42a2b Translated using Weblate (German)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-08 11:22:06 -06:00
Milo Ivir
683a825851 Translated using Weblate (Croatian)
Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2021-11-08 11:22:06 -06:00
SerHack
5015f60b13 Translated using Weblate (Italian)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Catalan)

Currently translated at 70.2% (144 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-08 11:22:06 -06:00
Kaya Zeren
2074a38a36 Translated using Weblate (Turkish)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-11-08 11:22:06 -06:00
Varghese Jose
fe5d4e271e Translated using Weblate (Malayalam)
Currently translated at 72.3% (173 of 239 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 67.3% (161 of 239 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 71.1% (143 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-08 11:22:06 -06:00
Tóth Csaba // Online ERP Hungary Kft
083790510a Translated using Weblate (Hungarian)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-08 11:22:06 -06:00
MArtin Johnson
106259fe8d Translated using Weblate (Swedish)
Currently translated at 95.8% (229 of 239 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2021-11-08 11:22:06 -06:00
Quentin PAGÈS
082ca09f5b Translated using Weblate (Occitan)
Currently translated at 82.4% (197 of 239 strings)

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

Translated using Weblate (Occitan)

Currently translated at 96.5% (194 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
2021-11-08 11:22:06 -06:00
Tom De Moor
cab06ceec8 Translated using Weblate (Dutch)
Currently translated at 92.8% (222 of 239 strings)

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

Translated using Weblate (Dutch)

Currently translated at 86.6% (207 of 239 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.5% (198 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-11-08 11:22:06 -06:00
Julien Fabre
61aebfd39f
chore[GH-#853]: Add unit tests for kanban (#1718)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-08 10:08:12 -07:00
Scott Bishel
a9d397c5e1
throw error if workspace is undefined (#1773) 2021-11-08 09:49:59 -07:00
Jesús Espino
0947babe50
Applying the plugin theme changes based on websocket event (#1759) 2021-11-08 07:52:31 -07:00
Miguel de la Cruz
fa36e092bb
Server generated ids (#1667)
* Adds server ID generation on the insert blocks endpoint

* Fix linter

* Fix server linter

* Fix integration tests

* Update endpoint docs

* Update code to use the BlockType2IDType function when generating new IDs

* Handle new block ids on boards, templates and views creation

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-05 11:54:27 +01:00
Scott Bishel
581ae7b97a
fix failing test (#1757) 2021-11-04 19:33:08 +01:00
Scott Bishel
381085f655
Fixes issue with dates and daylight savings (#1752)
* dates should use themselves for timezone offset

* remove log lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 19:21:47 +01:00
Miguel de la Cruz
f566a7d7c0
Redirect to new routes when visiting a board with the legacy ones (#1746) 2021-11-04 18:24:57 +01:00
jrester
13ef8e85f3
[GH-1510] make calculation options translatable (#1529)
* make calculation options translatable

* fix liniting errors

* don't modiy options

* fix liniting error

* Fix failing test

* some tests where failing because the IntlProvider was missing in the
  component hierachy
* changed 'Unique Values' to just 'Unique'
2021-11-04 16:51:17 +01:00
Julien Fabre
6741b0e07e
[GH-837]: Add unit tests for topBar (#1751)
* chore[GH-#837]: Add unit tests for topBar

* fix: eslint error for screen

* fix: none

* fix: none and snapshot...
2021-11-04 09:35:05 -04:00
Fares Rihani
69b8641534
[GH-1351] Webapp Linter Fixes - Investigate / Update using any Record<string, any> (#1682)
* Webapp Linter Fixes - update workspace.ts, dateRange.tsx, editableDatePicker.tsx

* Webapp Linter Fixes - accept Record<string, any> in block.ts, user.tsx

* Webapp Linter Fixes - Cleanup moment global-require

* Webapp Linter Fixes - match settings type to backend in workspace.ts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 11:43:03 +01:00
Miguel de la Cruz
751f632c36
Modify store creation not to fail on template initialization failure (#1722) 2021-11-03 19:10:32 +01:00
Miguel de la Cruz
cee4b72261
Normalise and add safety checks to telemetry code (#1739)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 18:46:51 +01:00
Nishant Mittal
02f7615c10
[GH-1432]: Use Button component on welcomePage.tsx (#1734)
* feat: use Button component on welcomePage.tsx

* update snapshots and fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 10:03:18 -06:00
Doug Lauder
849cc5c195
Move BlockType2IDType from utils to model (#1744) 2021-11-03 12:01:39 -04:00
Miguel de la Cruz
cadbaf5724
Check nulls on board and active view when tracking telemetry events (#1738)
* Check nulls on board and active view when tracking telemetry events

* Update effect to trigger a track event when the board or the view change
2021-11-03 16:22:22 +01:00
Miguel de la Cruz
59413a9fc4
Changed server not bind to any port to debug, as it's a plugin only option (#1743) 2021-11-03 15:24:31 +01:00
Grzegorz Tańczyk
ef22efd917
[GH-1278] Confirm delete when deleting board (#1339)
* Delete board confirmation modal (#1278)

* dialog should fill the screen on small resolution

* Updating delete board confirm UI

* Pass onClose callback to Dialog props

* lint

* removing danger-button-bg-rgb from shared variables, adjusting dialog styles to work both in plugin and standalone version of focalboard

* lint

* remove set timeout

* Update button.scss

* update snpashot

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-11-03 08:57:03 -04:00
Jenya
f6c867b4af
Fixed menu label hover (#1499)
* Fixed menu label hover

* removed cursor in menu wrapper, causing pointer cursor on entire option menu

* Fixed sidebar menu buttons having no cursor

* logo title cursor

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 17:44:32 +05:30
Kunal Kumar Verma
9a3406d0d6
fix: error message ui (#1683)
Signed-off-by: kkvanonymous <ninja.kunal01@gmail.com>
2021-11-03 17:02:31 +05:30