Commit graph

2651 commits

Author SHA1 Message Date
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
jprusch
1cd520765b 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/
2022-04-18 17:59:30 +02:00
Hosted Weblate
427f96419a 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/
2022-04-18 17:59:30 +02:00
kherwata
375b0cbb9c 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/
2022-04-18 17:59:30 +02:00
Tóth Csaba // Online ERP Hungary Kft
f83c5dfb7e 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/
2022-04-18 17:59:30 +02:00
boxiyang
ba3b4b8ad3 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/
2022-04-18 17:59:30 +02:00
Varghese Jose
dec2b2bc16 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/
2022-04-18 17:59:30 +02:00
Scott Bishel
cbad8fe9d7
GH-2796 - Check my membership for sidebar items (#2820)
* check my membership for sidebard items

* update variable name

* Updated server tests

* fix lint errors

* revert board test changes

* fix unit tests

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 09:59:26 -06:00
Scott Bishel
0489de8bd3
implement data retention for boards (#2588)
* implement data retention for boards

* fix lint errors

* start of orphans

* add and update tests

* fixes for merge

* fix tests

* fix lint

* reset from testing

* update setting unit test variable

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 09:03:42 -06:00
Scott Bishel
21667aa8d0
GH-2808: fix some logging issues with share board. (#2827)
* fix some logging issues

* fix unit test

* more test fixes

* unit test
2022-04-18 08:57:42 -06:00
Scott Bishel
37259afda4
GH-1871 fix background for today (#2826)
* make all duplicated boards private

* update background so it works for today

* updated style

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 07:58:56 -06:00
Doug Lauder
b47e70579b
cleanup log levels (#2824) 2022-04-18 08:21:44 -04:00
KyeongSoo Kim
62b2abc3d2
fix: delay title focus (#2795)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-15 15:11:25 -06:00
Scott Bishel
a2e7deba84
make all duplicated boards private (#2823) 2022-04-15 14:29:33 -06:00
Scott Bishel
5723709605
make board private when created from template (#2821) 2022-04-15 11:27:21 -06:00
Chen-I Lim
154c344077
Fix #2800. Add missing Swagger docs (#2801)
* Fix #2800. Add missing Swagger docs

* Add note that timestamps are  in miliseconds

* Fix merge, update docs.
2022-04-15 10:21:10 -07:00
Doug Lauder
554453c9e6
GH-2812 Hide delete template and edit template icons unless user has permission (#2818)
* hide delete template and edit template icons unless user has permission

* fix jest tests
2022-04-15 10:59:26 -06:00
Doug Lauder
ebf02366b4
revert ServerRoot path change (#2817) 2022-04-14 18:03:39 -06:00
Scott Bishel
90677ba7b8
GH 2393 Move calculationColumns from board to view (#2762)
* move calculation columns to view

* update tests

* add conversion for column calculations

* remove column_Calculations from boards and boards_history

* updates from testing

* update for sqlite

* fixes from testing

* fix lint, cleanup

* update templates,remove field from boards

* revert bad changes

* update snapshots

* Update server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-14 10:33:57 -06:00
Chen-I Lim
c9e449ee85 CI: Mac - only run integration tests 2022-04-13 15:47:35 -07:00
Chen-I Lim
5b423d6647
CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add CI for macOS

* Lower password hash during unit tests

* Add comment

* Only integration tests on Windows

* Tweak TestCreateRecurringTask timings

* Fix server-test-mini-sqlite
2022-04-13 15:36:20 -07:00
Jesús Espino
bc37e97ae9
Applying migration changes (#2752)
* Applying migration changes

* Fixing linter erros

* Restoring userID

* Updated user id length

* Update server/app/category_boards.go

* Skiped creating categories for boards belonging to DMs

* Handled private group messages as well

* fix sql error for insert_at

* fix timestamp parsing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-04-13 16:10:53 -06:00
Doug Lauder
89cc947a21
Implement permissions specs for mentions. (#2758)
* Implement permissions specs for mentions.
- public boards: admin, editor, commenter can mention team members and auto-add them to board; guests can mention board members
- private boards:  admin, editor, commenter, guest can mention board members
- viewers cannot mention
2022-04-13 18:09:55 -04:00
Miguel de la Cruz
4c61ae9623
Update focalboard endpoints to v2 namespace (#2781) 2022-04-13 15:24:32 -05:00
dependabot[bot]
42d24d279a
Bump lodash-es from 4.17.14 to 4.17.21 in /mattermost-plugin/webapp (#2544)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.14 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.21)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-13 14:07:00 -06:00
Scott Bishel
a340a75d17
Merge pull request #2360 from mattermost/dependabot/npm_and_yarn/webapp/follow-redirects-1.14.9
Bump follow-redirects from 1.14.7 to 1.14.9 in /webapp
2022-04-13 13:59:05 -06:00
Scott Bishel
dbaecd437c
Merge pull request #2622 from asimsedhain/GH-2449
GH-2449 Limits gallery card and calendar title to 5 lines
2022-04-13 13:44:21 -06:00
Scott Bishel
daa608e53c
Merge pull request #2772 from kyeongsoosoo/GH2575
GH2575 - Focus title when card is created
2022-04-13 13:42:51 -06:00
Chen-I Lim
8433b9eada
Fix CI: Data tamper attempt (#2782)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Expected update time is right after insert returns
2022-04-13 12:17:30 -07:00