Commit Graph

1598 Commits

Author SHA1 Message Date
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
Kassim
69df147723
Add Docker volume persistence (#159)
* Add persistence to the default Docker container

This sets a default volume of `/data` for the Docker container.
This allows for persistence when using the default SQLite database, and the option of mounting the volume to the host for backing up.

* Add -v flag description

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-07 11:20:32 +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
Johannes Marbach
e51aa2f601
[GH-443] Create new window when reopening without existing windows (#451)
* [GH-443] Create new window when reopening without existing windows

Fixes #443

* Return false when we handle the open ourselves
2021-06-04 14:07:50 -07:00
Jesús Espino
a1fa6e4945 Fixing cypress tests 2021-06-04 22:18:37 +02:00
Chen-I Lim
ba9e922c17 Add social media buttons to webisite footer 2021-06-04 11:04:41 -07:00
Jesús Espino
714855e712 Fixing dialog close on click outside 2021-06-04 19:38:44 +02:00
Doug Lauder
46243c1ad1
Telemetry and metrics (#496)
- total blocks by block type
- total workspaces
- blocks activity (insert/delete)
- login success / fail
2021-06-04 10:38:49 -04: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
Doug Lauder
68d492a855
Bump Logr version to fix Windows build (#520)
* bump Logr version to fix Windows build

* fix return args for syslog_unsupported
2021-06-04 08:43:32 +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
Matheus Mosca
ac320ece25
Add units tests for app/sharing.go (#454)
* tests: add units tests for GetSharing

* tests: add unit tests for UpsertSharing

* refactor: add test helper in sharing unit tests

* cleanup
2021-06-03 14:59:16 -05:00
Chen-I Lim
006fdeebe5 Fix Linux-app build 2021-06-03 11:08:46 -07:00
Chen-I Lim
8f33875230 Add dev-release action for commits and PRs 2021-06-03 09:22:17 -07:00
Rohitesh Gupta
5d854caca3
Create codeql-analysis.yml (#510) 2021-06-02 18:34:55 +02: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
Jesús Espino
05f2e9b154 Fixing GH issue 484 2021-05-27 10:53:38 +02:00
Chen-I Lim
4ca3f73ce7
Add LDFLAGS to plugin build (#474)
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-05-26 12:45:33 +02:00
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
Scott Bishel
6cb7e49a2b
add unit tests (#422)
* add unit tests

* cleanup

* cleanup

* rename helper file, remove gomock.eq()

* update import
2021-05-26 12:38:43 +02:00
Carlos Tadeu Panato Junior
36acff4476
Add GitLab ci to build internally and bump go to 1.16 (#468)
* update go to 1.16

* add gitlab ci to build focalboard
2021-05-26 12:34:42 +02:00
Miguel de la Cruz
b327bc7b8a
Adds plugin actions to the project's CI (#471)
* Adds plugin actions to the project's CI

* Remove the version number from the generated artifact

* Change job name to something more descriptive

* Switch back to workflow_dispatch
2021-05-25 19:22:31 +02:00
Jesús Espino
f43e4028db
npm dependency upgrade (#470)
* npm dependency upgrade

* Remove unneeded optionaDependency
2021-05-25 13:22:28 +02:00
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
Chen-I Lim
3af92afadd Merge branch 'main' of github.com:mattermost/focalboard into main 2021-05-24 12:02:06 -07:00
Chen-I Lim
d60a10ce6b Update website urls to 0.6.7 2021-05-24 12:02:02 -07: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
Jesús Espino
2d542bbd30 Removing unneeded test 2021-05-24 17:47:38 +02:00
Jesús Espino
746105f14b Removed insecure and not used method 2021-05-24 14:49:40 +02: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
Chen-I Lim
5416939b36 Blog discussion cross-posts 2021-05-18 15:24:21 -07:00
Spiros Economakis
8f746a44bd
Enable prometheus metrics for Focalboard to enable observability (#414)
As an SRE team we would like to expose standard metrics and grouped by version
of the application. Right now will expose only metrics related to Go but instrumentor
should be used in other parts of the codebase so we can track other metrics, eg.
number of tasks, boards, users etc. Similar as we do in MM.

It will run in port `localhost:9092` and it is a new config `prometheus_address`.

Also in the commit we introduced, `group.Add` which helps us to handle gracefully
errors for goroutines. It's a good practice and there are couple of articles by
Golang for this.
2021-05-18 17:12:51 +03: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