Commit graph

808 commits

Author SHA1 Message Date
Jesús Espino
702b4b1061
Only allowing valid color classes (#665)
* Only allowing valid color classes

* Simplifying the menuColors map and addressing some PR review comments

* Fixing type problems

* Fixing color

* Fixing snapshots
2021-07-06 19:53:54 +02:00
Arvin
7d1a4f1393
feat: open card after duplicate (#674)
Co-authored-by: arvinWahyoo <arvin@wahyoo.com>
2021-07-06 10:00:25 +02:00
Weblate (bot)
766668ea82
Translated using Weblate (Japanese) (#676)
Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2021-07-06 09:18:53 +02:00
Carlos Tadeu Panato Junior
41d01c18fb
docker: fix docker file image and apply some good practices (#552)
* docker: fix docker file image and apply some good practices

* update docker-compose
2021-07-01 11:46:03 +02:00
kamre
ba69c8b083
Cypress test for hiding and showing the sidebar with active board added: (#659)
- active board is essential because it can cover the show  button,
  - presence of sidebar heading is used to check if sidebar is visible.
2021-07-01 09:27:46 +05:30
kamre
6cd5003a7a
Don't change visibility of MenuWrapper when hover state changes. (#653) 2021-06-30 17:14:51 +05:30
Weblate (bot)
0a0071bc11
Translated using Weblate (Turkish) (#642)
Currently translated at 100.0% (174 of 174 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: Kaya Zeren <kayazeren@gmail.com>
2021-06-28 09:19:26 +02:00
Harshil Sharma
0b38fc4f98
Fixed sorting icons (#611) 2021-06-23 13:43:41 +05:30
Scott Bishel
1021b199a8
update z-index on sidebar (#614) 2021-06-23 13:42:19 +05:30
Scott Bishel
c86d9b9ff5
fix double slash on buildURL (#615) 2021-06-22 09:26:00 -06:00
rohit1101
1f762b238a
GH-364 Automatically open new card for editing (#571)
* Make prebuild commit

* Implement open card by default on +New click in Board and Gallery View

* Remove horizontal scrollbar sidebar when options icon on click

* revert changes in package-lock.json
2021-06-21 17:50:21 +02:00
Harshil Sharma
67df905a42
Fixed issue with dropdown background being height-limited (#594)
* Fixed issue with dropdown background being height-limited

* Fixed height issue in a better way
2021-06-21 11:56:48 +02:00
Colton Shaw
cc06e0ff93
Updated lanquage selectors and fixed traditional chinese (#598)
* Updated lanquage selectors and fixed traditional chinese

#448 

- Modified the language selectors to remain the base language regardless of the translation.
- Traditional Chinese also had the wrong code and the name/code swapped.

* Removed the split on `-`

This was causing an issue with Chinese traditional / simplified.

* Updated supported lanquages for chinese

removed `zh` and replaced it with `zh-cn`. Modified the supported languages to match the `navigator.language` for chinese.

* Updated chinese lanquage codes

Updated the Chinese language codes to match the rest of the language codes.

* Fixing snapshots and fixing a deprecation problem

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 11:51:11 +02:00
Jesús Espino
8e6a71a028
Render react-select elements only on demand (#607)
* Render react-select elements only on demand

* Reverting unneded change

* Updating snapshots

* Fixing css inconsistencies

* Fix another tiny bug on mutil-select readonly view

* Updating snapshots
2021-06-21 11:24:26 +02:00
Weblate (bot)
a6f2c52a07
Translations update from Weblate (#608)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Hyia丶 <grsky360@live.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 (Swedish)

Currently translated at 100.0% (174 of 174 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% (174 of 174 strings)

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 (Catalan)

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Spanish)

Currently translated at 78.7% (137 of 174 strings)

Added translation using Weblate (Catalan)

Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ca/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
Translation: Focalboard/webapp

Co-authored-by: Hyia丶 <grsky360@live.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
2021-06-21 11:24:12 +02:00
prakharporwal
e4fbd2aed5
Solved #387 Bug: Comment box doesn't clear after sending (#547)
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
2021-06-21 10:28:57 +05:30
Jesús Espino
c004c7c86d Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
Scott Bishel
967e6e8078
Table unit tests (#554)
* update to useIntl()

* update to useIntl()

* implement unit tests for ./components/table/*

* fix lint

* update for useIntl()

* remove comments
2021-06-18 08:52:36 -06:00
Jesús Espino
d7442739b5 Fixing MM-36062 another detail 2021-06-18 16:47:12 +02:00
Harshil Sharma
737975f7bf
Fixed horizontal scroll issue with table view (#586) 2021-06-18 11:12:03 +05:30
Jesús Espino
22172be2cd Fixing MM-36062 extra detail 2021-06-15 11:03:53 +02:00
Jesús Espino
d3b21dd05f
Fixing MM-36062 (#579) 2021-06-15 09:34:59 +02:00
Hossein
a3ea91a8a1
Multi Select Filter + Sort (#539)
* Add sorting for multiSelect

* Allow filter of multiselect properties

* Fix not includes

* fix linting

* clear up wording

* Fix sorting

* fix linting

* fix search functionality for multi select values

* Revert change

* Order alphabetically
2021-06-14 10:44:37 -04:00
Weblate (bot)
63880b7f86
Translations update from Weblate (#575)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (174 of 174 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 (Indonesian)

Currently translated at 92.5% (161 of 174 strings)

Co-authored-by: liimee <alt3753.7@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Zachary Jia <jia199474@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (174 of 174 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% (174 of 174 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: liimee <alt3753.7@gmail.com>
Co-authored-by: Zachary Jia <jia199474@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
2021-06-14 09:14:13 +02:00
Chen-I Lim
1cc2337948
Fix #569: Show websocket connection error banner (#570)
* Fix #569: Show websocket connection error banner

* Update fwlink
2021-06-13 16:22:45 -07:00
Chen-I Lim
b45ff4c833
Fix #556: menu font size (#568) 2021-06-12 14:54:27 +02:00
Doug Lauder
5c69113911
Auditing (#542)
* audit wip

* finish API coverage

* fix unit test

* remove sample logging and audit config

* default logger

* fix go.mod and go.sum
2021-06-11 14:24:51 +02:00
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