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

14327 Коммитов

Автор SHA1 Сообщение Дата
Agniva De Sarker
d8fc23c86b MM-41191: Apply upload_sessions incorrect index fix (#19383)
https://mattermost.atlassian.net/browse/MM-41191

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-26 13:18:09 +05:30
Ashish Bhate
7026818f80 MM-35298: Follow thread when added to channel (#19311)
* MM-35298: Follow thread when added to channel

* return better error if thread doesn't exist

* update test for possible race

* use correct comparision operator
2022-01-25 14:44:18 -05:00
Kirill Krotov
e2e049e05e [MM-39633] migrate team store to sqlx (#19207)
```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
2022-01-25 23:03:47 +05:30
Nathaniel Allred
3172adfce9 Mm 39663 (#19340)
* Add CurrentProductName to invoice
* make quantity a float
2022-01-24 15:43:42 -06:00
Nick Misasi
dcd4e50bde If the license is cloud, use the SiteURL instead of the X-Forwarded-Proto header (#19393) 2022-01-21 11:32:03 -05:00
Lev
a0e870bed2 Restored ToJSON encoding (sans Integration) for Post APIs (#19279)
* Restored ToJSON encoding sans Integration for Post APIs

* PR feedback + GetPost test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-21 08:25:33 -08:00
Scott Bishel
956e21cfa2 Boards data retention (#19262)
* add Boards to DataRetention, add hook for data retention

* remove replaces

* update hook to remove parameter

* add boards data retention to telemetry

* fix unit test

* update test, update hooks

* update RunDataRetention server version

* put behind a feature flag

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-20 17:46:03 -07:00
Josh Soref
294bd44971 [GH-19267] Spelling comments (#19268)
* spelling: comments

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-20 10:07:27 +05:30
Agniva De Sarker
3207d861ca MM-40880: Sentry crash: MarkChannelAsUnread (#19370)
Use the correct error variable to prevent crash

The errors.As check has been removed because ThreadStore.Get
returns a nil error if no thread is found and that's how
the application logic is written. So the check was redundant.

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-20 09:11:03 +05:30
Ibrahim Serdar Acikgoz
0b46264426 [MM-41147] Remove cloud sysadmin access to migrate config API (#19373)
* remove cloud sysadmin access to migrate config API

* reflect review comments

* Update i18n/en.json

Co-authored-by: Claudio Costa <cstcld91@gmail.com>

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2022-01-19 23:05:32 +03:00
Scott Bishel
9fde5b1ac3 prepackage boards to v0.12.1 release (#19375) 2022-01-19 10:14:27 -07:00
Martin Kraft
c02c3f7f97 MM-40686: Added feature flag for group member dn lookup. (#19289)
* MM-40686: Added feature flag for group member dn lookup.

* MM-40686: Changes feature flag name.
2022-01-19 09:19:23 -05:00
Carlos Tadeu Panato Junior
2702abfc4a Merge pull request #19371 from weblate/weblate-mattermost-mattermost-server_master
Translations update from Mattermost Weblate
2022-01-19 13:15:54 +01:00
Carlos Panato
880174a4e5 Translated using Weblate (Korean)
Currently translated at 80.6% (1873 of 2322 strings)

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

Translated using Weblate (Korean)

Currently translated at 80.6% (1873 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-01-19 12:52:01 +01:00
MArtin Johnson
dca8b07efc Translated using Weblate (Swedish)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-01-19 12:52:00 +01:00
Kaya Zeren
d17292ae04 Translated using Weblate (Turkish)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-01-19 12:52:00 +01:00
Tóth Csaba // Online ERP Hungary Kft
e51dcbc4a7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-01-19 12:51:59 +01:00
master7
6b66a2b099 Translated using Weblate (Polish)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-01-19 12:51:59 +01:00
Tom De Moor
9486e3968b Translated using Weblate (Dutch)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-01-19 12:51:59 +01:00
yeongeun.seo
3cf9a51112 Translated using Weblate (Korean)
Currently translated at 80.6% (1873 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-01-19 12:51:58 +01:00
Matthew Williams
d73e10a76d Translated using Weblate (English (Australia))
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-01-19 12:51:58 +01:00
JtheBAB
3fb0280468 Translated using Weblate (German)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-01-19 12:51:58 +01:00
Maksim Matveev
eb93f1a7d4 Translated using Weblate (Russian)
Currently translated at 96.1% (2233 of 2322 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 96.1% (2233 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-01-19 12:51:57 +01:00
Elias Nahum
b9aa0a8324 Translated using Weblate (Spanish)
Currently translated at 100.0% (2322 of 2322 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-01-19 12:51:57 +01:00
Hosted Weblate
0951f30aac 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/

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-01-19 12:51:57 +01:00
Ibrahim Serdar Acikgoz
56c7da5817 [MM-40952] migrations: Add if statements for some queries (#19359)
* migrations: add if statements for some queries

* add better checks to upgrade posts v6 migration

* use "is null" instead of "= null"

* fix down script for users v6

* reflect review comments
2022-01-19 10:57:28 +03:00
Ibrahim Serdar Acikgoz
509f49c813 Remove unused store/sqlstore functions (#19354) 2022-01-18 09:00:58 +03:00
Scott Bishel
5e147dd150 remove BoardsUnfurl feature flag (#19283) 2022-01-17 10:11:01 -07:00
Allan Guwatudde
ee92bda912 [MM-41022] - Fix panic when AllowCookiesSubdomain setting is false (#19339)
* [MM-41022] - Cloud: Panic after log in when AllowCookiesSubdomain setting is false

* remove print

* improvement

* remove configration setting from flow

* fix tests

* feedback impl

* feedback impl
2022-01-17 18:50:40 +03:00
Anurag Shivarathri
0a06b3e808 Sanitize teamsWithCount Teams (#19280)
Automatic Merge
2022-01-17 14:59:52 +02:00
Pablo Andrés Vélez Vidal
770f7a8e5a MM-40827 - wording update, replace Professional to Enterprise (#19324)
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
2022-01-15 12:16:17 +01:00
Agniva De Sarker
b6f3f580bc Migrate tool install to the new pattern (#19331)
Installing tools via go get is deprecated since Go 1.17,
and directly installing a version via go install is recommended.

We remove the go.tools.mod file as it's no longer the right
pattern.

```release-note
NONE
```
2022-01-14 20:15:07 +05:30
Agniva De Sarker
4ca6539e03 channel_store: update TODO items with issues (#19337)
```release-note
NONE
```
2022-01-14 12:41:41 +05:30
Agniva De Sarker
b37c07ec41 Migrate channel_store to sqlx (#19247)
* Migrate channel_store to sqlx

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4/chur9rxkghprg7dz1mcqssj34ic

```release-note
NONE
```
2022-01-14 10:43:54 +05:30
Max Schumacher
a07936c279 used silver searcher docs and regex to make todo target more concise (#19208)
* used silver searcher docs and regex to make todo target more concise
2022-01-13 15:16:54 +01:00
Scott Bishel
0c542bc86c prepackage boards to v0.12.0 (#19299)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 06:54:09 -07:00
Ibrahim Serdar Acikgoz
00284d9d26 migrations: Fix setting column default for shceme store (#19327) 2022-01-13 14:01:19 +03:00
Ibrahim Serdar Acikgoz
73ac1a354d Update morph dependecy to fix a data race (#19326)
* Update morph dependecy to fix a data race

* run go mod tidy
2022-01-13 12:41:56 +03:00
MArtin Johnson
73d7b24745 Translated using Weblate (Swedish)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-01-12 17:44:52 +01:00
Kaya Zeren
4af7eccf92 Translated using Weblate (Turkish)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-01-12 17:44:52 +01:00
Tom De Moor
415ee2e18b Translated using Weblate (Dutch)
Currently translated at 100.0% (2327 of 2327 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-01-12 17:44:52 +01:00
Matthew Williams
a0cfa9e39f Translated using Weblate (English (Australia))
Currently translated at 100.0% (2327 of 2327 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-01-12 17:44:52 +01:00
Hosted Weblate
e572645fd0 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-01-12 17:44:52 +01:00
jprusch
9644975156 Translated using Weblate (German)
Currently translated at 100.0% (2328 of 2328 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-01-12 17:44:52 +01:00
kaakaa
e9f3e78b98 Translated using Weblate (Japanese)
Currently translated at 100.0% (2327 of 2327 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (2326 of 2326 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-01-12 17:44:52 +01:00
master7
8fe1970e36 Translated using Weblate (Polish)
Currently translated at 100.0% (2327 of 2327 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% (2326 of 2326 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-01-12 17:44:52 +01:00
Ibrahim Serdar Acikgoz
f829dba615 Update morph dependency (#19308)
* Update morph dependency to use a newer version

* remove timeout check for migrations statements

* store/sqlstore: reset timeout for mysql while creating db for migrations

* update morph to v0.2.1
2022-01-12 17:24:29 +03:00
Ashish Bhate
a55bd001b4 Revert "[MM-37013] Async job to fix CRT channel unreads (#18340)" (#19319)
This reverts commit 0da249c651.
2022-01-12 18:51:47 +05:30
Ibrahim Serdar Acikgoz
d0724d8b00 migrations: Fix typos/errors and add missing migrations (#19316)
* fix public channels creation script for mysql

* fix several remaining migrations
2022-01-12 16:19:03 +03:00
Szymon Gibała
4a1a0863c4 Support 'postgresql' schema designator (#19275) 2022-01-12 13:23:56 +01:00