Commit Graph

16898 Commits

Author SHA1 Message Date
Conor Macpherson
405b2091d6 lint. 2023-04-24 09:48:01 -04:00
Conor Macpherson
31d13fdb0a remove unused import. 2023-04-24 09:40:52 -04:00
Conor Macpherson
4b1d61459b
Merge pull request #23067 from mattermost/MM-52155-workspace-deletion-style-issues
MM-52155 - Workspace Deletion Modal Style Issues
2023-04-24 09:38:14 -04:00
Allan Guwatudde
2dc55918c7
[MM-52287] - Cloud Free should not show the ability to start a trial (#23073)
* [MM-52287] - Cloud Free should not show the ability to start a trial

* fix logic
2023-04-24 16:37:22 +03:00
Tom De Moor
8b23c73dfb Translated using Weblate (Dutch)
Currently translated at 98.5% (2500 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
2023-04-24 15:34:39 +02:00
kaakaa
33c3d94800 Translated using Weblate (Japanese)
Currently translated at 100.0% (5806 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ja/
2023-04-24 15:34:39 +02:00
Jesse Hallam
673acc8c95
Absolute paths in Playbooks API Spec (#22989) 2023-04-24 10:34:31 -03:00
Conor Macpherson
0a5b0e54d0
Update constants.tsx 2023-04-24 09:33:11 -04:00
Conor Macpherson
fc47d9b056 lint. 2023-04-24 09:26:01 -04:00
Conor Macpherson
76c7c9b294 i18n. 2023-04-24 09:22:58 -04:00
Conor Macpherson
873f2350c5 fix types, lint. 2023-04-24 09:17:10 -04:00
Tom De Moor
7dea88c891 Translated using Weblate (Dutch)
Currently translated at 97.9% (2485 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
2023-04-24 12:58:43 +02:00
Pablo Andrés Vélez Vidal
a85a7c8422
MM-50963 - enhance onboarding self-hosted telemetry (#23051)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-24 12:58:33 +02:00
Nathan
b4f974377c
Make channel type filter dropdown a button instead of an anchor (#22827)
Automatic Merge
2023-04-24 11:04:29 +03:00
Tom De Moor
3f9ae9e1d4 Translated using Weblate (Dutch)
Currently translated at 97.9% (2483 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
2023-04-24 09:38:10 +02:00
master7
89bd245b18 Translated using Weblate (Polish)
Currently translated at 100.0% (2536 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
2023-04-24 09:38:09 +02:00
na
273f572cbe
[MM-51502] - Update email field position in profile popover (#23024)
Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
2023-04-24 14:37:53 +07:00
Kwangoh Moon
a5ccce41d6 Translated using Weblate (Korean)
Currently translated at 58.0% (351 of 605 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/ko/
2023-04-23 08:25:38 +02:00
maruTA-bis5
ef41c6abe6 Translated using Weblate (Japanese)
Currently translated at 100.0% (5806 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ja/
2023-04-23 08:25:38 +02:00
kaakaa
ed5fc741e4 Translated using Weblate (Japanese)
Currently translated at 100.0% (5806 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ja/
2023-04-23 08:25:37 +02:00
kaakaa
a369147ed5 Translated using Weblate (Japanese)
Currently translated at 100.0% (2536 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ja/
2023-04-23 08:25:36 +02:00
Agniva De Sarker
94de9c8175
MM-52352: Limit channel search results (#23070)
https://mattermost.atlassian.net/browse/MM-52352

```release-note
NONE
```
2023-04-22 10:14:54 +05:30
Nathaniel Allred
54db770811
Mm 51788 non-admins do not trigger a request to fetch stripe customer in cloud instances (#22821)
* do not query for customer if not a cloud admin
2023-04-21 12:31:27 -05:00
MArtin Johnson
63c71427b7 Translated using Weblate (Swedish)
Currently translated at 98.5% (2500 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/sv/
2023-04-21 18:54:04 +02:00
Pan Klobouk
d9e526082f Translated using Weblate (Czech)
Currently translated at 4.6% (28 of 605 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/cs/
2023-04-21 18:54:04 +02:00
Agniva De Sarker
67735be261
MM-52216: Trim errors (#23040)
https://mattermost.atlassian.net/browse/MM-52216
```release-note
NONE
```
2023-04-21 22:23:56 +05:30
master7
ea61fba1a9 Translated using Weblate (Polish)
Currently translated at 98.9% (2510 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
2023-04-21 10:45:07 +02:00
Konstantin
22dfaa34e6 Translated using Weblate (Russian)
Currently translated at 98.6% (5726 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-04-21 10:45:06 +02:00
master7
34422de9e5 Translated using Weblate (Polish)
Currently translated at 100.0% (5806 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/
2023-04-21 10:45:06 +02:00
Miguel de la Cruz
041cbe2d24
Updates the check for the schema_migrations information (#23032)
The old check was using `sq.Eq`, which replaces its values with
strings, and for the case of `table_schema` we want to call a
function.
2023-04-21 10:44:52 +02:00
jprusch
c361288489 Translated using Weblate (German)
Currently translated at 100.0% (5806 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
2023-04-21 08:25:21 +02:00
jprusch
754ba3bf75 Translated using Weblate (German)
Currently translated at 100.0% (2536 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-04-21 08:25:20 +02:00
Vishal
344e882f04
Replace string concatenation with StringBuilder (#23021) 2023-04-21 11:55:04 +05:30
Conor Macpherson
0feb800bf0 Add missing text for overage banner. 2023-04-20 16:51:44 -04:00
Conor Macpherson
48cdaaf294 add telemetry event tracking for various button clicks. 2023-04-20 16:22:20 -04:00
Conor Macpherson
26ee59e3c2 Change to -center-channel-color after seeing warning not to use -center-channel-text. 2023-04-20 15:54:38 -04:00
Conor Macpherson
35a1685517 change font color from sys-center-console-text to center-console-text. 2023-04-20 15:52:03 -04:00
Julian Mondragón
f58648d493
MM-52161_The Marketplace modal has some display issues (#23011) 2023-04-20 14:46:38 -05:00
Conor Macpherson
fd1f62f9d1 lint. 2023-04-20 15:21:02 -04:00
Conor Macpherson
a91da0c7e7 remove import. 2023-04-20 14:39:22 -04:00
Conor Macpherson
6edf8ea994 lint. 2023-04-20 14:34:58 -04:00
Harrison Healey
1cee3b7987
Add Makefile target to update development Docker container configuration (#22813)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 14:34:36 -04:00
Conor Macpherson
7c78fe5589 Fix style issues with workspace deletion modal. 2023-04-20 14:20:12 -04:00
Conor Macpherson
b6ecb88832 Remove self serve workspace deletion completed telemetry. 2023-04-20 14:01:08 -04:00
Alejandro García Montoro
87908bc577
MM-51095: Foundation for ESR upgrade scripts (#22448)
* Add ESR upgrade migration and CI job to verify it

The script was generated as a simple concatenation of migrations in the
interval [54, 101] through:
    files=`for i in $(seq 54 101); do ls mysql/$(printf "%06d" $i)*up.sql; done`
    tail -n +1 $files > ../esrupgrades/esr.5.37-7.8.mysql.up.sql

The CI job runs the migration both through the server and the script,
and for now uploads the dumps generated for manual inspection. An
automatic check for differences is still needed.

* Remove debug print in script

* Fix idx_uploadsessions_type creation

* Ignore tables db_lock and db_migration on dump

* Split workflow in two parallel jobs

* Diff dumps and upload the result

* Add cleanup script

* Use DELIMITER in the script to use mysql CLI

This allows us to remove the complexity of using a different Go script
inside a Docker image.

* Standardize Roles between migrations

Document and cleanup code.

* Upload diff only if it is not empty

* Trigger action only when related files change

* Add a global timeout to the job

* Generalize ESR to ESR upgrade action (#22573)

* Generalize action

* Use logs to ensure migrations are finished

* Add migrations from 5.37 to 6.3

* Remove tables in cleanup script, not through dump

* Add initial-version input to common action

* Add migration from 6.3 to 7.8

* Remove action debug line

* ESR Upgrade: One procedure per table in the v5.37 > v7.8 upgrade script (#22590)

* Squash Users-related migrations in one query

* Squash Drafts-related migrations in one query

* Squash UploadSessions-related migrations in one query

* Squash Threads-related migrations in one query

* Squash Channels-related migrations in one query

* Squash ChannelMembers-related migrations in one query

* Squash Jobs-related migrations in one query

* Squash Sessions-related migrations in one query

* Squash Status-related migrations in one query

* Squash Posts-related migrations in one query

* Squash TeamMembers-related migrations in one query

* Squash Schemes-related migrations in one query

* Squash CommandWebhooks-related migrations in one query

* Squash OAuthApps-related migrations in one query

* Squash Teams-related migrations in one query

* Squash Reactions-related migrations in one query

* Squash PostReminders-related migrations in one query

* Adapt ThreadMemberships migration to unified style

* Adapt LinkMetadata migrations to unified style

* Adapt GroupChannels migration to unified style

* Adapt PluginKVStore migration to unified style

* Adapt UserGroups migration to unified style

* Adapt FileInfo migration to unified style

* Adapt SidebarCategories migration to unified style

* Remove blank line

* Use tabs everywhere

* Wrap every procedure with log statements

* Remove space before parentheses in procedure call

* Remove spurious extra line

* Merge two equal consecutive conditionals

* Avoid the double list of conditions/queries

* Fix variable name

* Remove outdated comment

* Add a preprocess phase with corresponding scripts

* Join all preprocess scripts setting ExpiresAt to 0

This preprocessing is something we should always do, no matter the input
DB, so we can use a common script for all cases instead of repeating the
same code in multiple files.

* Add system-bot if it does not exist

* Cleanup the ProductNoticeViewState table

* Fix SQL

* Move esrupgrades directory under server/

* Update paths in Github action

* Fix trigger path for CI
2023-04-20 19:41:36 +02:00
Conor Macpherson
c8afa3b27f
Update en.json 2023-04-20 12:04:31 -04:00
Conor Macpherson
e281acd817
Update index.tsx 2023-04-20 12:04:02 -04:00
Conor Macpherson
ac030d7074
Update enterprise_edition_left_panel.tsx 2023-04-20 12:03:02 -04:00
Jesse Hallam
3ba419c841
preserve ClientError cause with es2022 (#22762)
Building the client package with `es2022`, exposing the optional `.cause` property on Errors effectively allowing us to wrap caught errors in the client package and re-throw with the context from the request, all while preserving a useful backtrace.

This change has potentially material impact to older plugins that attempt to rely on the newer package, but this should only occur at compile time since the webapp doesn't dynamically export this client package.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 13:00:36 -03:00
Agniva De Sarker
a22ae500e5
playbooks/server: Avoid using main package (#23041)
The main package was used unnecessarily without a main function.
```release-note
NONE
```
2023-04-20 20:14:30 +05:30