Commit Graph

781 Commits

Author SHA1 Message Date
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