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

15773 Коммитов

Автор SHA1 Сообщение Дата
Doug Lauder
ab133f20de add DuplicateBoard to service API (#21950)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-26 11:53:34 -05:00
Gabe Jackson
99b232e080 Improve bulk export logging (#21935)
This change includes the following:
 - Adds the job ID as a log field for bulk exports
 - Adds checkpoint logging for posts and direct posts so that
   progress can be tracked.
2022-12-25 21:43:30 -05:00
Doug Lauder
7a9354cd09 Expose boards APIs for MPA (#21917)
* add first batch of Boards service APIs for MPA
2022-12-23 10:47:29 -05:00
Agniva De Sarker
1e02b99bf1 MM-49354: Make compliance export query cancellable (#21943)
We accept a context that can cancel the query.
This allows us to exit a job faster.

```release-note
Compliance export job can now cancel the SQL query
execution during server shutdown which will allow
the job to exit faster.
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-23 19:56:49 +05:30
Ibrahim Serdar Acikgoz
40cd6b1656 sqlstore/store: make SetupConnection public to be used by products (#21948) 2022-12-23 14:34:48 +03:00
Ibrahim Serdar Acikgoz
06745d9b61 [MM-48878] cmd/mattermost/export: start export command without metrics (#21857) 2022-12-23 09:45:42 +03:00
emmyni
7a8b09c242 Add comments for the subscriptionHistoryEvent call (#21946) 2022-12-22 15:33:04 -05:00
Nathaniel Allred
f8b6b6b0ed always set CWSURL in client config (#21940) 2022-12-22 11:32:23 -06:00
Kyriakos Z
37960c7680 MM-49077: fixes errors in migration job (#21911)
* MM-49077: fixes errors in migration job

UrgentMentionCount does not have a default values, so COALESCE has to be
used.
SELECT * FROM ChannelMembers fails for the above reason.
This commit SELECTs each and every column from ChannelMembers instead.

* Fixes syntax error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-22 16:15:11 +02:00
Ibrahim Serdar Acikgoz
c252704140 Revert "[MM-48626] Move plugins environment out of Channels (#21730)" (#21934) 2022-12-21 22:10:26 +03:00
mattermod
45159a6b09 Update latest version to 7.5.2 2022-12-21 15:28:13 +00:00
Ibrahim Serdar Acikgoz
dcf499b51d [MM-48626] Move plugins environment out of Channels (#21730) 2022-12-21 16:11:57 +03:00
Tim Scheuermann
0ce7c5e3da Use path rather than filepath for embedded files (#21896)
Co-authored-by: Tim Scheuermann <tim.scheuermann@mattermost.com>
2022-12-20 08:59:40 +01:00
Shivashis Padhi
79193240e9 [MM-44842] Add restore_group permission (#21806)
* Add restore_group permission

* Fix tests failing due to new permission in groups

* Add new migration to add custom_group_restore permission

* Add mock for new migration function

* Fix tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-19 12:01:59 -05:00
kaakaa
5f6fc3150d Translated using Weblate (Japanese)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-12-19 18:22:15 +02:00
Konstantin
d9f339cb4c Translated using Weblate (Russian)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-12-19 18:22:15 +02:00
master7
43f89d7556 Translated using Weblate (Polish)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-12-19 18:22:15 +02:00
jprusch
f58740f23f Translated using Weblate (German)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-12-19 18:22:15 +02:00
MArtin Johnson
686c2cc84b Translated using Weblate (Swedish)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-19 18:22:15 +02:00
emmyni
f140b1863f [MM 48128]: Fix Spacing problem on "Payment Failed" email (#21881) 2022-12-16 16:34:40 -05:00
Daniel Schalla
529fdd2643 [MM-49170] Implement Auditable Interface for Patch Post Struct (#21898)
* Implement Auditable Function for Patch Post Endpoint

* Call auditable explicitly for patchPost patch parameter

* Delete audit-config.json

* Include HasReactions in Audit Log Entry for Patch
2022-12-16 16:50:06 +01:00
Tim Scheuermann
bef1f1cf60 Close pipes on file writer error (#21900) 2022-12-16 16:44:51 +01:00
Tim Scheuermann
f3e8a0b72f [MM-49003] Close the pipe reader when done reading (#21854) 2022-12-16 16:29:26 +01:00
Ibrahim Serdar Acikgoz
e58b6ffa3e app/product: block products to be initialized with the feature flag (#21875) 2022-12-16 13:00:15 +03:00
cyrilzhang-mm
33b59e0e96 Add parameter to return group members in order of display name (#21775) 2022-12-15 14:20:36 -05:00
Amy Blais
fae9bdf173 Update minor version to 7.7.0 (#21890)
Automatic Merge
2022-12-15 18:49:10 +02:00
Scott Bishel
40a98416a2 update pre-package boards to v7.5.2 (#21879)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-15 09:37:44 -07:00
Julien Tant
1fe284538d [MM-49087] Bump NPS to 1.3.1 (#21885)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-15 08:56:18 -07:00
Ibrahim Serdar Acikgoz
e10460675e telemetry: add product hooks to daily telemetry (#21870) 2022-12-15 16:27:36 +03:00
Ibrahim Serdar Acikgoz
f31380f577 product/hooks: hooks service no longer requires channels service start (#21861) 2022-12-15 12:29:33 +03:00
Ibrahim Serdar Acikgoz
8d90c7042f [MM-48883] Remove app package dependency for products (#21853) 2022-12-14 15:24:04 +03:00
Tim Scheuermann
61317883bf Allow S3 uploads without a timeout for exports (#21774) 2022-12-13 20:36:40 +01:00
Nathaniel Allred
a8fa3f29e9 Self-hosted in-product purchase (#21804)
* Self-hosted admins can purchase licenses in-app when `ServiceSettings,SelfHostedPurchase` is true (the default)
* Content Security Policy enables loading assets from `js.stripe.com/v3` when `ServiceSettings.SelfHostedPurchase` is true (the default).
* Add `hosted_customer` API subpath
* Add status of SelfHostedPurchase to telemetry config report.
* Support showing admins self-hosted invoices when `ServiceSettings.SelfHostedPurchase` is true (the default)

Co-authored-by: Conor Macpherson <116016004+ConorMacpherson@users.noreply.github.com>
2022-12-13 13:36:18 -06:00
Claudio Costa
6fd174a95f [MM-48946] Fix read after write issue when uploading data (#21868)
* Fix read after write issue when uploading data

* Prefer request.CTX interface
2022-12-13 11:47:05 -06:00
Mylon Suren
68373e992b set global drafts feature flag to true (#21811)
Automatic Merge
2022-12-13 16:44:09 +02:00
emmyni
4cd205027c [MM-48091]: Remove is_paid_tier (#21850) 2022-12-13 08:57:46 -05:00
emmyni
701d0ecaa2 [MM-48098]: "Downgrade to Starter" CTA's go to purchase modal instead of pricing modal (#21849) 2022-12-13 08:55:52 -05:00
Remy J
28486e8690 Translated using Weblate (French)
Currently translated at 94.8% (2300 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-12-13 11:43:26 +02:00
Kaya Zeren
aa4e6105f2 Translated using Weblate (Turkish)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2426 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Turkish)

Currently translated at 98.4% (2388 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-12-13 11:43:26 +02:00
Matthew Williams
b60e7acd49 Translated using Weblate (English (Australia))
Currently translated at 99.6% (2420 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.6% (2419 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.6% (2417 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.7% (2411 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-12-13 11:43:26 +02:00
Konstantin
ec4a26fcf7 Translated using Weblate (Russian)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (2428 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (2426 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-12-13 11:43:26 +02:00
master7
cbc87dead6 Translated using Weblate (Polish)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2426 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-12-13 11:43:26 +02:00
kaakaa
b1a626457a Translated using Weblate (Japanese)
Currently translated at 100.0% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-12-13 11:43:26 +02:00
jprusch
0d47ab8bea Translated using Weblate (German)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/

Translated using Weblate (German)

Currently translated at 100.0% (2428 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/

Translated using Weblate (German)

Currently translated at 100.0% (2426 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/

Translated using Weblate (German)

Currently translated at 100.0% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-12-13 11:43:26 +02:00
MArtin Johnson
760dd1d5b4 Translated using Weblate (Swedish)
Currently translated at 99.9% (2427 of 2429 strings)

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

Translated using Weblate (Swedish)

Currently translated at 99.1% (2398 of 2418 strings)

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

Translated using Weblate (Swedish)

Currently translated at 98.6% (2386 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-13 11:43:26 +02:00
Hosted Weblate
27143b3cbf Update translation files
Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
2022-12-13 11:43:26 +02:00
Tim Scheuermann
731c81cd10 [MM-46417] Added more logging to the import (#21764) 2022-12-12 21:56:45 +01:00
Harrison Healey
29f29b1e5e MM-48924 Don't cache remote_entry.js files (#21817)
* MM-48924 Don't cache remote_entry.js files

* Change caching of remote_entry.js to match root.html
2022-12-12 10:22:35 -05:00
Agniva De Sarker
242d7a4466 MM-48553: Fix panic in json.MarshalerError (#21846)
Although this isn't the root cause for the panic in the sentry crash,
this is indeed a bug and will cause a crash in the exact same way.

I have looked at other possibilities and I don't see any other
way for model.ChannelMembers to panic during json marshaling.

Other sentry crashes are there for ths customer and they point
to data corruption which indicates there is something funky going on.

Nevertheless, this is a valid bug and should be fixed.

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

```release-note
NONE
```
2022-12-12 20:35:09 +05:30
Agniva De Sarker
9ab1d8f805 MM-48984: Add missing timeout while creating a connection (#21847)
If a timeout is missing, this goroutine waits indefinitely trying
to get a connection. Leading to a goroutine accumulation in a scenario
where the DB is somehow not release connections.

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

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-12 14:59:47 +05:30