Commit Graph

1586 Commits

Author SHA1 Message Date
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
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
Harshil Sharma
21c5284d6d
#GH-31 Configured Golangci-Lint and fixed errors (#381)
* Moved golangci-lint config to config file

* Fixed all golangci lint errors

* Not allowing telemetry shutdown error to prevent store from closing

* Remved golangci-lint presets
2021-05-10 17:15:27 +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