Граф коммитов

186 Коммитов

Автор SHA1 Сообщение Дата
Nathaniel Allred
9ee3526ca1 Mm 52577 Tie use of Stripe (or its mock) to use of CWS (or its mock) (#23277)
* set config CWSMock value according to model.MockCWS
2023-05-05 10:03:12 -05:00
Agniva De Sarker
9f1796f98b Remove unnecessary blank imports (round 2) (#23310)
I mistakenly assumed that those packages are naturally imported.

And also atleast one test would have broken.

None of them are true. :)

So we just import it again at a better place

This reverts commit 30a053314b.

```release-note
NONE
```
2023-05-05 19:44:02 +05:30
Ibrahim Serdar Acikgoz
2d61ec0b1d [MM-52551] Makefile: revert makefile on 067e36c (#23300)
* revert make file on 067e36c

* Avoid disabling the products

* run tests separated only on race tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-05-05 15:03:12 +02:00
Ibrahim Serdar Acikgoz
d030f681eb [MM-52550] platform/web_conn: fix a possible data race issue (#23255)
* platform/web_conn: fix a possible data race issue

* reflect review comments

---------

Co-authored-by: Ibrahim Serdar Acikgoz <ibrahim@ibrahims-mac.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 10:01:18 +02:00
Vishal
d860548a76 [MM-37933] Channel preference to auto-follow all threads in the channel (#21430)
* Add auto-follow feature
---------

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 12:09:00 +05:30
Agniva De Sarker
9f11fc59b5 Revert "Run golangci in server CI (#23240)" (#23299)
This reverts commit 349e5d4573.
2023-05-05 10:08:35 +05:30
Jesse Hallam
30a053314b Revert "Remove unnecessary blank imports (#23283)" (#23302)
This reverts commit 76ad948b80.
2023-05-04 16:33:05 -03:00
Nathan
670b0e4c9f [MM-44954] Regenerate default avatar (#22871)
* Regenerate default profile picture if username has changed

- Only actions is profile picture has not been changed
- Adjusts ResetLastPictureUpdate store function to store
-curTime instead of 0
    - This is to support updating the default picture while still
    retaining the ability to discern a default image from a set one.
- Changes SetDefaultProfileImage to leverage UpdateDefaultProfileImage
- Test updates around updating user default profile pictures

* App interface updates

* Only display picture update date if non-negative

- Ensures we don't display negative timestamps (default images)
- Change ported for mono-repo changes

* Remove duplicate test assertion

---------

Co-authored-by: Nathan Geist <ngeist@spiria.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 10:14:26 -04:00
Agniva De Sarker
349e5d4573 Run golangci in server CI (#23240)
* Run golangci in server CI

Also reordered the checks in check-style target to run vet check
first which has far better error messages in case of unsynced branch failures.
```release-note
NONE
```
2023-05-04 19:37:30 +05:30
Agniva De Sarker
76ad948b80 Remove unnecessary blank imports (#23283)
They aren't necessary after the monorepo

```release-note
NONE
```
2023-05-04 19:36:41 +05:30
Agniva De Sarker
efbee8ad56 MM-37691: Harden interactive dialog action (#22783)
We strengthen some checks, forcing them to be changed
only via config.

https://mattermost.atlassian.net/browse/MM-37691

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 15:08:55 +05:30
Ibrahim Serdar Acikgoz
3afd2ec549 server/release: use the manifest file from bin directory (#23290) 2023-05-04 11:50:59 +03:00
Ibrahim Serdar Acikgoz
a496c14cc2 [MM-51329] server/config: add validation for local mode socket file (#23180) 2023-05-04 10:17:05 +03:00
Ibrahim Serdar Acikgoz
b2e0aa7088 server/utils: verify trusted ip headers are valid ip addresses (#23140)
Co-authored-by: Ibrahim Serdar Acikgoz <ibrahim@ibrahims-mac.local>
2023-05-04 09:29:21 +03:00
na
60234d0880 [MM-47492] - Don't count system messages as replies to a thread (#23022)
* [MM-47492] - Don't count system messages as replies to a thread

* Add test assertion

* revert store changes`

---------

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 13:24:14 +07:00
Harrison Healey
d001994ef9 MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM (#23172)
* MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM

* Fix missing file from last commit

* Fix test usage of plugin.NewEnvironment
2023-05-03 15:04:10 -04:00
Vishal
698613c002 [MM-51517] Sentry crash fix (#22985)
* add cloud limit check

* add test

* add warning for the inaccessible root-post

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-03 16:12:57 +05:30
Weblate (bot)
f3131286af Translations update from Mattermost Weblate (#23214)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

* Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ko/

Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ko/

Translated using Weblate (Korean)

Currently translated at 100.0% (608 of 608 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/ko/

Translated using Weblate (Korean)

Currently translated at 95.3% (433 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ko/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (454 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/sv/

Translated using Weblate (Swedish)

Currently translated at 99.1% (2516 of 2538 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (608 of 608 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/sv/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.9% (2156 of 2538 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pt_BR/

* Translated using Weblate (Dutch)

Currently translated at 97.9% (5753 of 5874 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/

---------

Co-authored-by: Kwangoh Moon <raymond.moon@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: andersonjeccel <anderson@idmotion.com.br>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2023-05-03 12:32:04 +02:00
Ben Cooke
5adbf6c612 [MM-52288] Oauth2 postgres migration issue (#23036)
* fixing migrations that caused some oauth2 issues
2023-05-02 12:32:30 -04:00
Harrison Healey
3ba75afa08 MM-52173 Add setting to delay channel autocomplete (#22952)
* Add unit tests for ChannelMentionProvider.handleCompleteWord

* Add a minimum length before the ChannelMentionProvider triggers

* MM-52173 Move delayed autcomplete behind a setting

* Fix e2e test type check

* Update Textbox tests

* Add new setting to server telemetry
2023-05-02 10:11:15 -04:00
Vishal
609ab9c765 [MM-52527] (#23197)
* change recursive to iterative

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-01 19:53:18 +05:30
Caleb Roseland
e300cb942a Merge remote-tracking branch 'weblate/master' into i18n-resolve-conflicts-28-04-2023 2023-04-28 10:46:22 -05:00
Nathaniel Allred
a34d873acb update test public key (#22835)
* update test public key
2023-04-28 09:20:12 -05:00
Harshil Sharma
3db6bb016e Channel index fix (#22947)
* WIP

* Fetched ES index for type checking

* WIP

* Moved migration key to model

* CI

* CI

* Fixed existing tests

* Updated einterface mocks

* CI

* WIP

* Reverted test makefile changes

* Fixed error level

* CI

* Not attempting to launch job if not enterprise ready

* CI

* Fixing job trigger condition

* CI

* Updated eemocks

* CI
2023-04-28 11:11:34 +05:30
Julian Mondragón
1051925eec MM-51482_Create Apps Category and link to bots DM (#22918) 2023-04-27 19:44:14 -05:00
Conor Macpherson
0df19232a4 Merge pull request #23083 from mattermost/MM-51858-fix-workspace-deletion-telemetry
MM-51858 Update Workspace Deletion Telemetry
2023-04-27 12:01:58 -04:00
Michael Kochell
f6598c2d32 bump github plugin version to 2.1.5 (#22575)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-27 10:38:30 -04:00
Mattermost Build
a599a5feab Merge branch 'master' into MM-51858-fix-workspace-deletion-telemetry 2023-04-27 17:36:11 +03:00
Ibrahim Serdar Acikgoz
fc50bd450e Makefile: bump golangci-lint version (#23160)
Co-authored-by: Ibrahim Serdar Acikgoz <ibrahim@ibrahims-mac.local>
2023-04-26 16:50:54 -06:00
Ben Cooke
3995f4a724 [MM-52339] Top playbooks missing from insights (#23076)
Automatic Merge
2023-04-26 22:34:29 +03:00
Michael Kochell
8e359790a7 Bump Apps plugin version to 1.2.1 (#22619)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-26 13:24:17 -04:00
Scott Bishel
81ef403230 update import/export for attachments and new file paths (#22915)
* update import/export for attachments and new file paths

* add unit test

* update templates test

* temp checking

* cleanup

* cleanup

* more cleanup

* lint fixes

* cleanup some functions

* cleanup

* fix build breaks

* fix tests for changes

* move function to different file

* more cleanup, code movement

* unit test fixes

* add unit tests

* fix tests

* more unit test fixes

* test fix

* revert package-lock.json

* fixes from code review

* fix export image

* more fixes to remove attachmentId

* change from removed api

* update test

* lint fixes

* update for review comments

* fix tests

* test fix

* lint fix

* remove sprintf from logging, use mlog

* more lint fixes

* Update server/boards/app/files.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* remove code

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2023-04-26 10:01:00 -06:00
Konstantin
939538d2a9 Translated using Weblate (Russian)
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/ru/
2023-04-26 13:03:10 +02:00
Konstantin
ed918873e2 Translated using Weblate (Russian)
Currently translated at 99.8% (2533 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-04-26 12:37:49 +02:00
Konstantin
a0e469ac9f Translated using Weblate (Russian)
Currently translated at 98.4% (2497 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-04-26 11:58:57 +02:00
Konstantin
5a37df06e8 Translated using Weblate (Russian)
Currently translated at 98.3% (2493 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-04-26 11:58:07 +02:00
Konstantin
7419200a69 Translated using Weblate (Russian)
Currently translated at 97.3% (2468 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-04-26 10:25:02 +02:00
Konstantin
9e460dca5e Translated using Weblate (Russian)
Currently translated at 97.2% (2465 of 2536 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-04-25 14:59:40 +02:00
Daniel Schalla
826f6e561a Update DockerFile to Ubuntu LTS Base Image (#22987)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-25 14:59:31 +02:00
Ben Schumacher
f9836ee26a [MM-51274] Remove deprecated PermissionUseSlashCommands (#22819)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-25 00:04:17 +02:00
Ben Schumacher
e8915b3182 [MM-45296] Fix installation of pre-packaged plugins that are not in the Marketplace (#21895)
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-04-25 00:02:51 +02:00
Julien Tant
94cb2867a7 [MM-52271] Add recommended tag to Work Template integrations (#23016) 2023-04-24 09:59:01 -07:00
Spiros Economakis
bf4555a223 Bump libucrl gnutls to 7.64.0-4+deb10u6 (#23084)
The pin to previous version fails with not found.

Ticket: https://mattermost.atlassian.net/browse/CLD-5582
2023-04-24 09:36:51 -06:00
Conor Macpherson
405b2091d6 lint. 2023-04-24 09:48:01 -04: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
Jesse Hallam
673acc8c95 Absolute paths in Playbooks API Spec (#22989) 2023-04-24 10:34:31 -03: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
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
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