Commit graph

761 commits

Author SHA1 Message Date
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
Jesús Espino
5dbc1d5a81 Fixing websocket connection problem with new subpath feature 2021-04-19 22:39:25 +02:00
Johannes Marbach
298141471c
[GH-277] Hide drag grip on content blocks in read-only mode (#294)
Fixes: #277
2021-04-19 11:36:07 +02:00
Johannes Marbach
6fcafcebbb
[GH-278] Prevent dragging of gallery cards in read-only mode (#293)
Fixes: #278
2021-04-19 11:35:15 +02:00
Jesús Espino
5ab3f8d3ce
Addining subpath support (#241)
* Addining subpath support

* Fixing a subpath problem in suburls

* Using the server root for allow subpaths

* Fixing baseURL variable name

* Some improvements

* Making it work in mattermost plugin

* Fixing eslint warnings

* Fixing cypress tests
2021-04-16 13:42:37 +02:00