Commit graph

2829 commits

Author SHA1 Message Date
Miguel de la Cruz
ae97d5c314
Move teamless data migration with the rest of data migrations and update teamless boards query (#2942)
* Move teamless data migration with the rest of data migrations

* Fix get board user teams query to work on both Postgres and MySQL
2022-04-27 13:34:02 -06:00
Miguel de la Cruz
dc07df6bc9
Update permissions migration to ensure all boards are either open or private (#2928) 2022-04-27 18:21:26 +02:00
Harshil Sharma
4beea3888a
Fixed bug ehere start tour param was not sent when restarting touyr (#2924)
* Fixed bug ehere start tour param was not sent when restarting touyr

* Fixed nits
2022-04-27 09:16:30 -06:00
Scott Bishel
f441441cb4
GH-2877 - Style Autocomplete Modal (#2934)
* style autocomplete modal

* lint fixes

* Only show profile picture for plugin

* add non plugin test, update plugin test
2022-04-27 09:13:23 -06:00
Scott Bishel
9431a36886
implement private icon on Share button (#2935) 2022-04-27 07:25:06 -06:00
Rajat Dabade
d5c8f59878 Feature added: Pressing enter should create a category 2022-04-27 18:53:02 +05:30
Miguel de la Cruz
74e39fa5bf
Initialise the store with a single user flag and pass it to the migrations (#2906) 2022-04-27 15:11:27 +02:00
Scott Bishel
d2c4a54d36
GH-2896 - Error on invalid token (#2911)
* handle error on invalid token

* update message and error to be more generic

* fix apostrophe

* send user to origin
2022-04-25 16:11:16 -06:00
Scott Bishel
5efcc4dcac
Implement Boards Data Retention - Take 2 (#2859)
* implement boards data retention

* cleanup logs

* revert removal

* update logger creation
2022-04-25 12:58:08 -06:00
Doug Lauder
8a4672bd23
GH-2890 Copy files when duplicating boards (#2915)
* copy files when duplicating boards

* fix unit tests

* Update server/app/boards.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Update server/app/boards.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* fix review commit

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-25 10:37:57 -06:00
Jesús Espino
340fcf20f1
Fixing redo on card contents (#2831)
* Fixing redo on card contents

* Fixing tests
2022-04-25 18:08:46 +02:00
Varghese Jose
3e6383b475
Fix Main page LInks (#2919)
* Update index.md

Fix:Community channel Link

* Fix  main page Links

updated main page Links

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-04-25 08:50:35 -07:00
Miguel de la Cruz
a439d11f66
Handle jsonb fields on postgres with binary_parameters set (#2854)
* Handle jsonb fields on postgres with binary_parameters set

* Finx linter adding dot
2022-04-25 17:43:06 +02:00
Rajat Dabade
edd143b7e3
Fix for undefined className prop issue in Editable component (#2855)
* Fixed the css issue in emptyCardButton for firefox browser

* Eslint fix

* Added the default value to className prop for Editable component

* Updated snapshot

* Fixes

* Reverted the changes back

* Removed the unwanted changes

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-25 17:40:56 +02:00
Miguel de la Cruz
cda064a83a
Add team access checks (#2862) 2022-04-25 17:39:40 +02:00
Rajat Dabade
bc3c081bf4
Make the x cross sign clickable when select options are clicked in card view (#2904)
* Make the x cross sign clickable when select options are clicked in card view

* Eslint fixed

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-25 09:18:35 -06:00
Scott Bishel
c765c5ef19
return nothing, not empty object (#2909) 2022-04-25 08:54:14 -06:00
Harshil Sharma
478c091c53
Fixed a bug preventing any navigation in Mattermost desktop with subpath (#2922) 2022-04-25 10:43:09 +02:00
Chen-I Lim
7bd6f47eb9
Add Go code coverage report to CI (#2914)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add code coverage to server-test-sqlite

* Run coverage for mysql and postgres as well

* Add coverage for mysql, postgres, and plugin tests

* Fix makefile
2022-04-22 15:57:35 -07:00
emily dela cruz
5cd2c5116f
Marketing/website redesign (#2881)
* Focalboard website revamp work

* Removed alternate grey footer

* Update Contribute link and general styles

* Updated homepage images

* Update image src and alt for homepage

* Update nav items and general styles

* Fix menu items for focalboard.com internal pages

* Update README with asset versioning notes. Update URLs in footer. Update asset versions in query strings.

Co-authored-by: Jared <jared@presentlogic.com>
Co-authored-by: Jared Thomas <jared.thomas@ela1.com>
2022-04-22 11:26:40 -07:00
Doug Lauder
cabc15b226
reduce log level when deliverying notifications to users without permission (#2912) 2022-04-22 11:32:15 -06:00
Doug Lauder
ca5f3f65e2
call notification engine when duplicating boards (#2910) 2022-04-22 11:14:12 -06:00
Harshil Sharma
ec9085cd25
Sorted categories on modification or creation (#2856)
* Sorted categories on modification or creation

* Sorting only once

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Minor cleanup

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-22 10:48:49 -06:00
Rajat Dabade
eace2da582
Added the dependency for useCallback in onChageInSelect function (#2905)
Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2022-04-22 10:41:07 -06:00
Jesús Espino
f439e3474d
Merging the local_permissions tests and the permissions tests (#2908)
* Moving a lot of local tests permissions into the permissions tests

* Merging all the local permissions tests into the regular permissions tests

* Fixing golangci lint errors
2022-04-22 10:38:36 -06:00
Asaad Mahmood
cc91584a50
Various UI Fixes (#2847)
* Various UI Fixes

Fixes #2810
Fixes #2805
Fixes #2804
Fixes #2797

* Updating tests

* Updating hover for user property

* update snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-20 10:38:33 -06:00
Harshil Sharma
c64b95cf92
Updated update category-board mapping method to not rely on DB returning affected rows (#2840)
* Updated update category-board mapping method to not rely on DB returning affected rows

* Wrapped into transaction
2022-04-20 09:21:53 -06:00
Doug Lauder
936cc820ab
Standardize err not found (#2834)
* cleanup log levels

* Standardize on model.IsErrNotFound instead of the mix of error checking done previously.

* fix merge conflicts

* fix comment typo

* add description to asserts
2022-04-20 11:02:12 -04:00
Doug Lauder
99882bf197
Include plugin unit tests in CI via makefile; fix unit tests (#2848)
* include plugin unit tests in CI via makefile; fix unit tests

* include hello endpoint for unit test and web service up check
2022-04-20 11:01:40 -04:00
Doug Lauder
979807a3b6
Bump versions of github actions, golangci-lint, and Go (#2844)
* Bumps versions of github actions, golangci-lint, and Go
* fix lint plugin;  use make file
2022-04-19 21:18:47 -04:00
Harshil Sharma
183c8157cb
Removed teamID from search API (#2842) 2022-04-19 17:43:40 -06:00
Scott Bishel
0edf741c7f
GH-2506 Calendar View (#2835)
* add key to create new component if activeview changes

* reset component

* removed an extra space

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-04-19 16:24:09 -06:00
Chen-I Lim
3c7fd72dcf
Local permissions test (#2839)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add local permissions tests

* local_permissions_test with standard store

* UserID tokens, duplicate check toTeam permissions

* cleanup

* cleanup

* Fix server lint

* Update TestLocalPermissionsRegister
2022-04-19 10:00:52 -07:00
Scott Bishel
74053655b6
Revert "implement data retention for boards (#2588)" (#2843)
This reverts commit 0489de8bd3.
2022-04-19 09:18:31 -06:00
Tyler Stilson
a190443ccd
added space in gallery view (#2725)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-19 07:35:19 -06:00
Chen-I Lim
bb7ee3851c
Fix Swagger schema for OnboardingResponse (#2838)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Fix Swagger schema
2022-04-18 22:53:41 -07:00
Harshil Sharma
50930a1cd3
Cross team search (#2829)
* WIP

* Added test

* Added snapshot

* Updated server tests

* Fixed server lint

* Fixed webapp lint

* Updated server tests
2022-04-19 10:27:14 +05:30
Chen-I Lim
958fbd28bf
Add integration tests for createBoard (#2632)
* Add integration tests for createBoard

* Update tests - no board access for nonmembers

* Fix TestCreateBoard

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 17:07:54 -04:00
Scott Bishel
39e8e466e0
fix for following button on card (#2833) 2022-04-18 12:52:28 -06:00
Chen-I Lim
e9e8d64333
Add TestDuplicateBoard (#2832)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add TestDuplicateBoard
2022-04-18 10:30:14 -07:00
Weblate (bot)
0aec4032e3
Translations update from Mattermost Weblate (#2830)
* Translated using Weblate (Malayalam)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 58.4% (177 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/

Translated using Weblate (Hungarian)

Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/

* Translated using Weblate (Arabic)

Currently translated at 27.2% (85 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ar/

Translated using Weblate (Arabic)

Currently translated at 24.6% (77 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ar/

Translated using Weblate (Arabic)

Currently translated at 22.7% (69 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ar/

Translated using Weblate (Arabic)

Currently translated at 22.4% (68 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ar/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Polish)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/

* Translated using Weblate (Dutch)

Currently translated at 99.6% (311 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 97.1% (303 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 96.1% (300 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 95.8% (299 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 94.2% (294 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/

* Translated using Weblate (French)

Currently translated at 99.6% (311 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/

* Translated using Weblate (Italian)

Currently translated at 94.2% (294 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/

Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: boxiyang <boxi.yang@163.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: kherwata <abderrahmane.harouat@univ-tlemcen.dz>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: Benoit Podwinski <me@benoitpodwinski.com>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: SerHack <atombt@protonmail.com>
2022-04-18 19:20:15 +02:00
SerHack
3d53d8e53f Translated using Weblate (Italian)
Currently translated at 94.2% (294 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2022-04-18 17:59:30 +02:00
Nathanaël
dce8eb0e28 Translated using Weblate (French)
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-04-18 17:59:30 +02:00
Benoit Podwinski
82f55fc180 Translated using Weblate (French)
Currently translated at 99.6% (311 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-04-18 17:59:30 +02:00
Alexey Napalkov
2b9e05aa16 Translated using Weblate (Russian)
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 94.2% (294 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-04-18 17:59:30 +02:00
Kaya Zeren
94edfcb889 Translated using Weblate (Turkish)
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-04-18 17:59:30 +02:00
Tom De Moor
70ab38a4d4 Translated using Weblate (Dutch)
Currently translated at 99.6% (311 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 97.1% (303 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 96.1% (300 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 95.8% (299 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-04-18 17:59:30 +02:00
Matthew Williams
25ceb095d6 Translated using Weblate (English (Australia))
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-04-18 17:59:30 +02:00
master7
3d71ac9f64 Translated using Weblate (Polish)
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2022-04-18 17:59:30 +02:00
kaakaa
b8dd518b3e Translated using Weblate (Japanese)
Currently translated at 100.0% (312 of 312 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-04-18 17:59:30 +02:00