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

15656 Коммитов

Автор SHA1 Сообщение Дата
Tom De Moor
87db42f42c Deleted translation using Weblate (Croatian) 2022-11-23 17:42:52 +01:00
Konstantin
d2cb3598b1 Translated using Weblate (Russian)
Currently translated at 100.0% (2390 of 2390 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-11-23 10:02:03 +01:00
Angel Mendez Cano
2c997c46d2 Translated using Weblate (Spanish)
Currently translated at 100.0% (2390 of 2390 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-11-23 10:02:03 +01:00
Hosted Weblate
865ef7e4c8 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-11-23 10:02:02 +01:00
master7
61c5615c4d Translated using Weblate (Polish)
Currently translated at 100.0% (2390 of 2390 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% (2391 of 2391 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-11-23 10:02:01 +01:00
jprusch
66c8f9ba28 Translated using Weblate (German)
Currently translated at 100.0% (2391 of 2391 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% (2391 of 2391 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-11-23 10:02:01 +01:00
MArtin Johnson
6e6ae439d6 Translated using Weblate (Swedish)
Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-11-23 10:02:00 +01:00
aiden
2132f8fdc9 Translated using Weblate (Korean)
Currently translated at 82.9% (1982 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-11-23 10:02:00 +01:00
Weblate
30ebf5bee0 Added translation using Weblate (Croatian) 2022-11-23 10:02:00 +01:00
kaakaa
b71b1bc296 Translated using Weblate (Japanese)
Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-11-23 10:01:59 +01:00
Tom De Moor
96683a3913 Translated using Weblate (Dutch)
Currently translated at 100.0% (2391 of 2391 strings)

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

Deleted translation using Weblate (Croatian)

Translated using Weblate (Dutch)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-11-23 10:01:59 +01:00
Matthew Williams
3edb28ede7 Translated using Weblate (English (Australia))
Currently translated at 100.0% (2390 of 2390 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 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-11-23 10:01:58 +01:00
Claudio Costa
0509e78744 [MM-48523] Expose resumable uploads API to plugins (#21700)
* Expose resumable uploads API to plugins

* Update translations
2022-11-22 15:26:22 -06:00
Nick Misasi
a1e16f7b02 Call Cloud HandleLicenseChange when license is changed in Cloud (#21583)
* Call Cloud HandleLicenseChange when license is changed in a cloud context

* Remove UpdateSubscriptionFromHook as its no longer necessary

* Update mocks

* Remove another reference

* Remove translation

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-22 13:22:45 -05:00
Vishal
c78b78ed5e [MM-5046] Fix emails search for Postgres DB (#21590)
* Support emails search in Postgres

* Add @ exception for postgres

* update comment

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-22 12:02:33 -05:00
Ben Cooke
76f7872a50 [MM-46692] Channel group member count (#21270)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* adding channel member count to groups request

* fixing models

* adding a new test

* removing unused var

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.fritz.box>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.fritz.box>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-22 11:31:04 -05:00
Amy Blais
afc2dcebe1 Update minimum supported MacOS and Edge versions (#21520)
Automatic Merge
2022-11-22 16:09:11 +02:00
Ben Cooke
65e731e1b7 [MM-42335] Fix in RenderMobileError (#21536)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* fix

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.fritz.box>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.fritz.box>
2022-11-22 08:43:26 -05:00
Shivashis Padhi
ee40eb956c [MM-47384] Make OpenID Connect free for all (#21556)
* wip: make OpenID Connect free-for-all

* Deprecation note: GoogleOAuth, Office365OAuth

* Improve deprecation comments

Co-authored-by: Martin Kraft <martin@upspin.org>

* Lint fix

* Add model/oauthproviders, move google, openid, office365 from enterprise

* Vet fixes

* Remove redundant log

Co-authored-by: Martin Kraft <martin@upspin.org>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-22 11:09:04 +05:30
Martin Kraft
fcd45de73b MM-48186: Add a new API endpoint to add a user to their default GroupChannels and GroupTeams. (#21591)
* MM-48186: Add a new API endpoint to add a user to their default GroupChannels and GroupTeams.

* MM-48186: Removed unrelated lint fixes.

* MM-48186: Removed variable from previous iteration.

* MM-48186: Adds translation.

* MM-48186: Not upgrading golang.org/x/text in this pr.

* MM-48186: Validate user ID and auth service.

* MM-48186: Use user id from struct.

* MM-48186: Added basic client test.

* MM-48186: Adds empty translation.

* MM-48186: Added translations.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-21 13:36:41 -05:00
Ben Cooke
25bb1d0ebd [MM-47145] My Insights license change (#21443)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* remove license checks for my insights endpoints

* removing new config

* remove license checks from insights test

* adding some license tests for team endpoints

* fixing tests

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.fritz.box>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.fritz.box>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-18 11:29:06 -05:00
mattermod
2386571c89 Update latest version to 7.5.1 2022-11-18 15:50:15 +00:00
mattermod
753ca610b3 Update latest version to 7.5.0 2022-11-18 15:35:54 +00:00
Ibrahim Serdar Acikgoz
1edbf67bb2 migrations: bump morph dependency and reflect changes (#21670) 2022-11-17 19:36:08 +03:00
Agniva De Sarker
06ad69a406 MM-47465: Fix flaky TestDeleteChannel (#21686)
Creating the post in a separate goroutine would create a race condition
because that method also calls GetChannel. This can cause a bug
if the cache was wiped before the the other goroutine would get
a chance to update the cache. And if that happens, then
it would populate the cache with the old value.

Pseudo-code

```
func deleteChannel() {
    go func() {
        getFromCache()
    }()
    updateDB()
    wipeCache() // a
}

func getFromCache() {
    err := checkCache()
    if err == ErrNotFound {
        getFromDB() // x
        updateCache() // y
    }
}

func Test() {
    deleteChannel()
    getFromCache()
}
```

If the sequence of events happen like
- x
- a
- y

Then the getFromCache() call later will get the wrong
value from cache.

The fix is to make the call synchronous.

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

Special thanks to @noxer for finding the root cause.

```release-note
NONE
```
2022-11-17 20:44:18 +05:30
Shivashis Padhi
5be8557247 [MM-44168] Add feature to restore archived user groups (#20369)
* Add undelete feature, add mocks, tests

* Rename undelete->restore

* make store-layers

* make app-layers

* Store -> Store()

* Lint fixes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-17 14:53:54 +05:30
Agniva De Sarker
17332035fa MM-47034: Update dependencies (#21676)
https://mattermost.atlassian.net/browse/MM-47034

```release-note
NONE
```
2022-11-17 09:27:08 +05:30
Miguel de la Cruz
be46be4985 Prepackage boards v7.5.1 (#21681) 2022-11-16 19:54:15 +01:00
Shota Gvinepadze
98e685f07c Move Thread.GetPosts to PostStore.GetPostsByThread (#21633)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-16 13:42:26 +04:00
Mattermod
ab5137395c Update minor version to 7.6.0 (#21664)
Automatic Merge
2022-11-15 20:28:52 +02:00
Alejandro García Montoro
10bdea85a5 Skip flaky test in TestRequestTrialLicense (#21665)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-15 10:52:54 +01:00
Shota Gvinepadze
9f9e19e05d [MM-48161] Change data types for collections and topics (#21634)
* Change data types for collections and topics

* Address suggestions

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-15 00:57:04 +04:00
Shivashis Padhi
2171ad8abf [MM-46216] P3 Bugfix - Oauth redirectURI with query parameters generates malformed redirect URL (#20854)
* Parse and reconstruct URI, instead of using string concatenation

* Rename parse error, add test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-14 10:27:47 +05:30
Agniva De Sarker
91f7eb0957 Filter by templated schema name for postgres queries (#21635)
There were certain queries which did not filter
by the current schema, but hardcoded public schema.

Apart from that, we always filter with the current schema
which allows connection proxies to run multiple MM within
a single DB.
```release-note
NONE
```
2022-11-11 13:03:28 +05:30
Pablo Andrés Vélez Vidal
f07de38cc5 MM-47866 - remove deprecated inviteToTeam FF (#21600) 2022-11-10 10:59:11 +01:00
Shota Gvinepadze
44dd185506 Fix bad merge (#21632) 2022-11-10 11:30:49 +04:00
Pablo Andrés Vélez Vidal
e5828b6da0 MM-47865 - remove guided channel ff (#21599) 2022-11-09 20:06:52 +01:00
Jesse Hallam
5a0a3e6d13 Inline ThreadStore.MarkAllAsUnreadByTeam (#20958)
* Add teamId to Threads table

* Get rid of multiple teamId reads

* Fix failed test

* Inline ThreadStore.MarkAllAsUnreadByTeam

The query to `MarkAllAsUnreadByTeam` first fetched all thread memberships, then fed just the ids back to a second query to ensure all are marked as unread. Optimize this by simply doing a single `UPDATE` query with the necessary joins.

Co-authored-by: iomodo <wineson@gmail.com>
2022-11-09 14:00:07 -04:00
Christopher Poile
597bf9fcad Calls v0.9.0 -> v0.10.0 (#21622) 2022-11-09 12:42:18 -05:00
Scott Bishel
19c57ade00 update pre-package boards to v7.5.0 (#21623) 2022-11-09 09:39:31 -07:00
Konstantin
6f5d3fef30 Translated using Weblate (Russian)
Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-11-09 16:03:39 +02:00
Hosted Weblate
8951779aa8 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-11-09 16:03:39 +02:00
Matthew Williams
bcd0094cb7 Translated using Weblate (English (Australia))
Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-11-09 16:03:39 +02:00
Angel Mendez Cano
61e94ddbd0 Translated using Weblate (Spanish)
Currently translated at 100.0% (2389 of 2389 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-11-09 16:03:39 +02:00
Tom De Moor
36cd2a84b3 Translated using Weblate (Dutch)
Currently translated at 100.0% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-11-09 16:03:39 +02:00
master7
7c09924ede Translated using Weblate (Polish)
Currently translated at 100.0% (2389 of 2389 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% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-11-09 16:03:39 +02:00
jprusch
049d4e6407 Translated using Weblate (German)
Currently translated at 100.0% (2389 of 2389 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% (2389 of 2389 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-11-09 16:03:39 +02:00
aeomin
8dd1aed4fd Translated using Weblate (Chinese (Simplified))
Currently translated at 97.3% (2323 of 2387 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
2022-11-09 16:03:39 +02:00
MArtin Johnson
0a53518fdf Translated using Weblate (Swedish)
Currently translated at 100.0% (2389 of 2389 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 100.0% (2387 of 2387 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-11-09 16:03:39 +02:00
Kaya Zeren
e1fd394310 Translated using Weblate (Turkish)
Currently translated at 100.0% (2389 of 2389 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% (2389 of 2389 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% (2387 of 2387 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-11-09 16:03:39 +02:00