Commit graph

1994 commits

Author SHA1 Message Date
Asaad Mahmood
083d89953c
GH-1837 - Updating link css (#1862) 2021-11-25 15:50:42 +05:00
Scott Bishel
797d6bc04a
Implementation of Calendar MVP (#1741)
* initial commit

* turn on featureflag

* additional fixes

* update for using FullCalendar

* update to allow both calendars

* fix dnd, remove log messages

* fix lint, unit tests

* dates should use themselves for timezone offset

* fix for tests

* remove react-big-calendar

* remove react-big-calendar

* fix for handling feature flags changing

* clean up

* remove unit test

* update tests

* fix tests

* lint fixes

* add creating event, fixes

* linter fixes

* clean up

* add unit tests

* fixes

* update snapshots

* update test

* update snapshot

* disable test for now, timezone changes labels

* remove test to get to build

* remove snapshot

* feedback updates

* use getConfig instead

* linter fix

* more linter

* revert changes

* some fixes for issues

* fix for displaying new calendar

* fix for displaying new calendar

* add properties to cards

* add properties to cards

* read only implementation

* i18-extract

* implement unit tests

* implement unit tests

* fix test

* remove log statements

* remove feature flag from config

* updated icons

* Updating icons for calendar mvp

* Revert "Updating icons for calendar mvp"

This reverts commit e16e715e8a.

* Revert "updated icons"

This reverts commit 120b7b0b96.

* update for code reviews

* fix linter

* more feedback updates

* fix some styling

* fix lint errors

* Updating css

* Updating calendar css

* update for lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 14:00:20 -07:00
Julien Fabre
941a47aead
chore[GH-#836]: Add unit tests for shareBoardComponent (#1810) 2021-11-23 16:36:54 +05:30
Harshil Sharma
470be213ec
Fixed a bug causing duplicate date related menues to appear in kanban calculations (#1834) 2021-11-23 16:09:04 +05:30
Harshil Sharma
5730fb4bfe
Fixed issue with desktop app causing white screen (#1853)
* Fixed issue with desktop app causing white screen

* Handled for personal server mode
2021-11-23 16:05:45 +05:30
Chen-I Lim
deaffe7863
Readme 112221 (#1858)
* Update readme

* Update heading styles

* Update Boards setup steps
2021-11-22 19:07:18 -08:00
Chen-I Lim
91dc9def9b
Update version to 0.11.0 (#1859) 2021-11-22 16:15:03 -08:00
Tim Borodin
26e8625cf3
[GH-1539] Implement searching for the individual words in workspaces (#1590) 2021-11-22 14:00:26 -05:00
Deleted User
a46f09501e Translated using Weblate (Spanish)
Currently translated at 69.7% (173 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
2021-11-22 12:29:31 -05:00
Milo Ivir
c0a9873c6d Translated using Weblate (Croatian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2021-11-22 12:29:31 -05:00
Tóth Csaba // Online ERP Hungary Kft
ece1a2d31b Translated using Weblate (Hungarian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-22 12:29:31 -05:00
master7
51d6ea5f7d Translated using Weblate (Polish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-22 12:29:31 -05:00
gruceqq
78d6bb0005 Translated using Weblate (Polish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-22 12:29:31 -05:00
MArtin Johnson
e407a4f169 Translated using Weblate (Swedish)
Currently translated at 95.9% (238 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2021-11-22 12:29:31 -05:00
SiderealArt
7ebdc6ea8a Translated using Weblate (Chinese (Traditional))
Currently translated at 66.5% (165 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
2021-11-22 12:29:31 -05:00
jprusch
4db8a3c554 Translated using Weblate (German)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-22 12:29:31 -05:00
Julien Fabre
238e1d5f0a
[GH-830]: Add unit tests for dialog (#1637)
* chore[GH-#830]: Add unit tests for dialog

* fix: snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-22 09:18:17 -07:00
kamre
a498149a76
[GH-42] Cypress tests for login actions (#1679)
* Testing API added to server:
 - registered only if `enableTestingAPI` is set to `true` in the config file
 - has only one route `test/reset`
 - reset clears the tables in db for blocks, users, sessions
 - functions `DeleteAllBlocks` and `DeleteAllUsers` added to `Store` interface
 - new functions implemented for `SQLStore`

* Cypress tests (initial version) for login actions added:

  - redirect to login page,
  - register user,
  - test for loading home page deleted,
  - allow js in `tsconfig.json` for cypress tests.

* Cypress tests for login actions:

  - check that main page with workspace is visible after registration,
  - initial version of test for login of register user.

* Cypress tests for login actions:

  - function for checking that workspace is available added,
  - functions for login and logout added,
  - test for password change added,
  - session parameters added to server config for cypress testing.

* Switch Cypress tests to typescript.

* Use ids for inputs instead of placeholder text.

* Use cypress request for login without loading login page.

* Cypress custom command for login added.

* Cypress tests fixed:
 - new cypress commands for server reset, register/login user
 - single test for "create and delete board/card"
 - fixes for `BoardPage` component useEffect callbacks
 - npm script `runserver-test` doesn't use single user mode

* Deletion of all blocks changed:
 - also deletes blocks from history
 - public function renamed to DeleteAllBlocksPermanently
 - code for mocks and public methods generated

* Server tests for files fixed on windows.

* Cypress tests for the registration of second user via invite link added.

* Added `baseUrl` in main `tsconfig.json` (required by cypress configuration).

* Cypress test fixed. Comments as well as log messages added.

* Log a message if testing API is enabled.

* Single cypress test for register/login actions.

* Revert changes to server.

* More convenient cypress commands:
  - all API calls made as separate commands
  - declarations for commands moved to separate global.d.ts file
  - utility functions moved after test actions in 'Login actions' test
2021-11-22 16:59:01 +01:00
Justine Geffen
e0657dad9a
Update README.md (#1343)
* Update README.md

Updated the docs contribution information.

* Update README.md

* Update website/README.md
2021-11-22 17:16:25 +02:00
PrasannaSudharsan R
09f0f0717c
425|Added unit tests for workspaces.go (#1800) 2021-11-22 01:46:51 -05:00
Chen-I Lim
abee212d4c
Fix #1839. Update Mac App for v0.10.0 (#1842)
* Fix #1839. Update Mac App for v0.10.0

* Update what's new text
2021-11-16 10:54:54 -08:00
Asaad Mahmood
70cfdce5e6
GH-1519 - Fixing color on template picker (#1829) 2021-11-16 07:43:19 -05:00
SerHack
696329b85e Translated using Weblate (Italian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-15 17:41:51 -05:00
Matthew Williams
377ed1dc9b Translated using Weblate (English (Australia))
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2021-11-15 17:41:51 -05:00
Varghese Jose
abd7dc51cd Translated using Weblate (Malayalam)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-15 17:41:51 -05:00
Tóth Csaba // Online ERP Hungary Kft
2fd028e91d Translated using Weblate (Hungarian)
Currently translated at 99.5% (247 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-15 17:41:51 -05:00
Kaya Zeren
dccefd3607 Translated using Weblate (Turkish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-11-15 17:41:51 -05:00
Tom De Moor
742c9a7b53 Translated using Weblate (Dutch)
Currently translated at 90.3% (224 of 248 strings)

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

Translated using Weblate (Dutch)

Currently translated at 89.5% (222 of 248 strings)

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

Added translation using Weblate (English (Australia))
2021-11-15 17:41:51 -05:00
Hosted Weblate
0ff92ad922 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2021-11-15 17:41:51 -05:00
Milo Ivir
bfcd781b2d Translated using Weblate (Croatian)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (240 of 240 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-15 17:41:51 -05:00
Tóth Csaba // Online ERP Hungary Kft
cf24ecf916 Translated using Weblate (Hungarian)
Currently translated at 100.0% (240 of 240 strings)

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

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/
2021-11-15 17:41:51 -05:00
SerHack
77d8a7f3ca Translated using Weblate (Italian)
Currently translated at 100.0% (240 of 240 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/
2021-11-15 17:41:51 -05:00
jprusch
543500324b 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/
2021-11-15 17:41:51 -05:00
Varghese Jose
ea2caa96af Translated using Weblate (Malayalam)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 85.3% (204 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-15 17:41:51 -05:00
Julien Fabre
66a12d190b
[GH-856]: Add unit tests for kanbanColumnHeader (#1703)
* chore[GH-#856]: Add unit tests for kanbanColumnHeader

* fix: update snapshot

* fix: snapshot and logplayground
2021-11-15 15:53:10 +05:30
Moncy Gopalan
e9e86d8457
Fix the issue where clicking on the + button at the top of a board group wouldn't open the newly-added card (#1708)
Co-authored-by: Moncy Gopalan <ilusivespectre@gmail.com>
2021-11-15 14:56:51 +05:30
Miguel de la Cruz
d2bcb9ad66
Shows the version change banner only on plugin update and tries to reconnect when the interface is refreshed (#1807) 2021-11-13 12:03:53 +01:00
Conor O'Callaghan
ea366a4ec3
fixing readme broken since #1663 completed (#1808) 2021-11-12 08:07:56 -05:00
Prakhar Porwal
27ce296b54
[GH-1655] Card Delete : added Confirmation Dialog (#1684)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

* On Property Type or Name Change raises warning

* On Property Type or Name Change raises Confirmation dialog

Confirmation dialog box generalized for use

* The affected num of cards calculation added.

* If prop value not filled change after confirmation

* fixes after ci eslint failure

* fixes after ci eslint failure

* In cardDetailProperty test considered dialog box confirmation

* Added test for confirmationDialogBox

* npm run fix and fixed test failure

* snapshot files updated : `npm run updatesnapshot`

* ran i18n-extract script

* Added memo to Confirm dialog component

* reverted the addition of React.memo() as the feature breaks

* added confirmation for card  delete

* default export of Confirmation Dialog Component

* improved cardDialog test considering dialog box opening

* Added memo and useCallback for cnfrm dialog component

* eslint formating

* eslint formatting

* added confirm dialog for kanban and dialog card .

* updated snapshot . cardDetailProperty test failing

* updated snapshot

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* eslint formatting

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* removed unwanted comments

* imported library for failing test

* Updating card modal scss

* Addressed @sbishel comments

* fixed duplicate width in css

* updated comment in kanbanCard

* fixed failing snapshot test

* updated kanbanCard unit test

* npm run fix

* removed useState hook for confirmDialogProps

* removed useState hook from cardDialog and kanbanCard for confirmDialogProps.

* npm run fix

* removed duplicate declaration

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 15:03:28 -07:00
Jesús Espino
beee6f53e7
Fixing Adding content bug (#1799) 2021-11-11 14:59:15 -07:00
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