Commit graph

2651 commits

Author SHA1 Message Date
Jesús Espino
c3cb4a1491 Fixing tests 2022-04-06 16:04:21 +02:00
João Aldeano
263bd92424
Refactor errorResponse to set the logger to debug if the response cod… (#2719)
* Refactor errorResponse to set the logger to debug if the response code is set to unauthorised. Fixes #2488

* Fix merge conflicts
2022-04-06 07:54:40 -04:00
Jesús Espino
bc52b2f044 Fixing golangci-lint errors 2022-04-06 13:01:45 +02:00
Jesús Espino
af5193bbd0 Removing not used code 2022-04-06 12:57:30 +02:00
Asaad Mahmood
2c067147e7
GH-2708 - Updating z-index for dropdown list (#2727) 2022-04-06 14:04:55 +05:00
Jesús Espino
e2648f516a Making error handling more precise in the server (and fixing tests) 2022-04-06 10:35:26 +02:00
Scott Bishel
140af2e52f
Merge branch 'main' into issue-2617 2022-04-05 11:56:29 -06:00
Scott Bishel
d8d9425190
Merge pull request #2724 from weblate/weblate-focalboard-webapp
Translations update from Mattermost Weblate
2022-04-05 11:36:05 -06:00
Jesús Espino
a4ef8ec6bc
Permissions integration tests (#2697)
* Initial permissions review infrastructure

* Adding more tests cases

* Modifying a bit the tests approach and adding more tests

* Adding more tests

* Adding more tests for permissions

* Adding more tests

* Adding more permissions tests

* Adding more tests

* Adding more permission checks

* Adding more permissions tests

* Adding more permission tests

* Adding more tests

* Adding subscriptions tests

* Adding more permissions tests

* Adding tests for read tokens in the files

* Update APIs and fix unit tests

* Fix linter errors

* Auto-assign category id from the database (as expected because is serial/auto_increment integer field)

* Revert "Auto-assign category id from the database (as expected because is serial/auto_increment integer field)"

This reverts commit 5c98fd76a3.

* Fixing Category scheme in postgres and MySQL

* Removing restriction about the channel_id and add it to all the databases

* Moving everything to a new migration

* Fix bad merge (?)

* Update 000021_fix_categories.up.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.down.sql

Fix Postgres ALTER COLUMN syntax

* Update 000021_fix_categories.up.sql

Remove unnecessary, and unsupported MODIFY COLUMNs for SQLite.

* Update 000021_fix_categories.up.sql

Remove not null from categories.channel_id

* Update 000021_fix_categories.down.sql

Migrate down removing not null from categories.channel_id

* Update 000021_fix_categories.up.sql

Fix drop not null on categories.channel_id

* Update 000021_fix_categories.down.sql

Fix down migration of drop not null from categories.channel_id.

* Restore default notification level to debug

Co-authored-by: Chen-I Lim <chenilim@gmail.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2022-04-05 08:00:04 -07:00
Scott Bishel
0cff6e10b1
Merge pull request #2687 from mattermost/private-onboarding-board
Set type as private for onboarding board
2022-04-04 15:11:16 -06:00
Milo Ivir
316e9c31dc Translated using Weblate (Croatian)
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-04-04 17:49:11 +02:00
jprusch
bc3ec564fb Translated using Weblate (German)
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-04-04 17:49:11 +02:00
Matthew Williams
67eeb275b9 Translated using Weblate (English (Australia))
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-04-04 17:49:11 +02:00
Tom De Moor
03f488dcdd Translated using Weblate (Dutch)
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-04-04 17:49:11 +02:00
SerHack
bc3b759e59 Translated using Weblate (Italian)
Currently translated at 99.6% (302 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2022-04-04 17:49:11 +02:00
Benoit Podwinski
aa6729ef85 Translated using Weblate (French)
Currently translated at 100.0% (303 of 303 strings)

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

Translated using Weblate (French)

Currently translated at 97.6% (296 of 303 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (303 of 303 strings)

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

Translated using Weblate (French)

Currently translated at 96.3% (292 of 303 strings)

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

Translated using Weblate (French)

Currently translated at 90.4% (274 of 303 strings)

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

Translated using Weblate (French)

Currently translated at 89.7% (272 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-04-04 17:49:11 +02:00
Kaya Zeren
9b40cab138 Translated using Weblate (Turkish)
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-04-04 17:49:11 +02:00
Alexey Napalkov
6f7af43359 Translated using Weblate (Russian)
Currently translated at 100.0% (303 of 303 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-04-04 17:49:11 +02:00
Scott Bishel
20f6b3e00b
Merge pull request #2618 from mattermost/MM-40430-redirect-login
MM-40430 - Redirect user if already logged in
2022-04-04 09:49:07 -06:00
Scott Bishel
3757c19a6d
Merge pull request #2716 from mattermost/gh-2712-fix-templates
GH-2712:Don't check team permission for GlobalTeamID
2022-04-04 09:48:09 -06:00
Jesús Espino
3eb9e469d4 Revert "Removing restriction about the channel_id and add it to all the databases"
This reverts commit b9be81b900.
2022-04-04 17:45:18 +02:00
Jesús Espino
b9be81b900 Removing restriction about the channel_id and add it to all the databases 2022-04-04 17:45:00 +02:00
Mattermod
e1dd866fba
Merge branch 'main' into private-onboarding-board 2022-04-04 18:43:24 +03:00
Jesús Espino
cb6272af6c Adding translations and regenerationg the i18n/en.json file 2022-04-04 17:37:23 +02:00
Jesús Espino
67dfb4e118 Merge remote-tracking branch 'origin/main' into issue-2617 2022-04-04 17:23:31 +02:00
Scott Bishel
43722df412 update formatting 2022-04-04 09:18:39 -06:00
Scott Bishel
3abe349967
Merge branch 'main' into MM-40430-redirect-login 2022-04-04 09:12:00 -06:00
Jesús Espino
dc5f387fb8
Add code to disble guest account access (#2690)
* Disabling guest accounts

* Using the plugin api to improve get user queries

* Fix linter errors

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-04-04 16:00:40 +02:00
Jesús Espino
7d0a4afa8b
Opening the actions menu from the view header to the left (#2689)
* Opening the actions menu from the view header to the left

* Fixing jest tests
2022-04-04 15:53:11 +02:00
Jesús Espino
c11c6e9b3f
Merge branch 'main' into gh-2712-fix-templates 2022-04-04 10:15:34 +02:00
Scott Bishel
e1c894b7bb
GH-2675 Remove deprecated Apis (#2685)
* remove deprecated apis and related code

* remove unused api from octoclient

* remove unused api from client

* remove unused code
2022-04-04 09:53:24 +02:00
Scott Bishel
faf9645830
Add Login button to shared boards (#2659)
* add Login button to shared boards

* cleanup

* replace <Redirect> component with useHistory()

* remove comment

* cleanup some spacing

* update snapshots for classname change

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-04 09:52:24 +02:00
Scott Bishel
c19ac24fe6
update apis to return 501 if not available for plugin (#2684) 2022-04-04 09:49:27 +02:00
Scott Bishel
283d7669f3
remove read token check from unnecessary functions (#2682) 2022-04-04 09:39:29 +02:00
Scott Bishel
3f6affbd83
Merge pull request #2706 from wiggin77/GH-2434_pserver_no_error_page
GH-2534: Don't show error page for Personal Server when not logged in
2022-04-01 16:22:01 -06:00
Scott Bishel
e46b9749d1 lint fixes 2022-04-01 14:41:31 -06:00
Scott Bishel
f20b0cdca6 don't check team permission for GlobalTeamID 2022-04-01 13:42:30 -06:00
wiggin77
19ed0d73fe fix cypress tests 2022-04-01 13:43:49 -04:00
wiggin77
70e97227a4 don't show error page when not plugin for not-logged-in 2022-04-01 12:19:16 -04:00
Scott Bishel
68b97919cd
Merge pull request #2704 from wiggin77/GH-2638_import_scripts_broken
GH-2638 - Fix Import scripts
2022-04-01 09:28:27 -06:00
Scott Bishel
a1f7ae5d8e
Merge pull request #2703 from wiggin77/GH-2443_follow_button_broken
GH-2443  - Fix broken Follow button
2022-04-01 09:28:11 -06:00
Scott Bishel
eb2de9401c
Merge pull request #2698 from mattermost/weblate-fix
Weblate fixes
2022-04-01 08:30:39 -06:00
Mattermod
1e1ad3994f
Merge branch 'main' into GH-2443_follow_button_broken 2022-04-01 17:29:34 +03:00
wiggin77
2e7427d2f3 fix trello import 2022-03-31 22:55:08 -04:00
wiggin77
400c5a108c fix todolist import 2022-03-31 22:50:58 -04:00
wiggin77
aa3837814b fix notion import 2022-03-31 22:41:13 -04:00
wiggin77
eb5ed3ae98 fix nextcloud import 2022-03-31 22:36:02 -04:00
wiggin77
d8e9566be9 fix jira import 2022-03-31 22:19:04 -04:00
wiggin77
9f2cf6730e fixed asana import 2022-03-31 22:02:33 -04:00
wiggin77
9a2cea7113 fix broken Follow button 2022-03-31 19:15:46 -04:00