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

14883 Коммитов

Автор SHA1 Сообщение Дата
darkLord19
a251510717 remove unused code around unimplemented ExperimentalSettings.EnableClickToReply setting (#20389) 2022-06-08 15:40:30 -04:00
Ben Cooke
2c63e8dd08 [MM-43785] Hide insights feature intro for new users (#20214)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* hide insights modal by default for new users

* updating feature flag for test

* updating preference tests

* fixing lint

* fixing comment

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-08 14:56:34 -04:00
Scott Bishel
719e4504b8 update boards to v7.0.1 (#20394)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-08 12:33:31 -06:00
Kyriakos Z
5396c530bf MM-42581: fixes unread threads on user channel add (#20181)
* MM-42581: fixes unread threads on user channel add

Currently when we are adding a user to a channel we don't send previous
values for unread replies and mentions. This is resulting the thread to
not be marked as unread in the UI, since we rely on the previous values
for that.

This commit fixes the issue by returning previous unread values of 0.

* Adds test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-08 14:01:58 -04:00
Ibrahim Serdar Acikgoz
c986693e4a Revert "config/diff: add utility function to get diffs scoped with struct tags (#20297)" (#20391)
This reverts commit a18934b042.
2022-06-08 17:28:35 +03:00
Tim Scheuermann
ef3f1b5796 [MM-44925] simplified the ID generator (#20398) 2022-06-08 16:12:02 +02:00
Ashish Dhama
485f44c136 Set Advanced Text Editor feature flag default value to True (#20357)
Automatic Merge
2022-06-08 15:36:28 +03:00
Kaya Zeren
67ba5f9a6d Translated using Weblate (Turkish)
Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-06-08 11:33:46 +02:00
jprusch
248058897b Translated using Weblate (German)
Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-08 11:33:46 +02:00
MArtin Johnson
cfe18d19ff Translated using Weblate (Swedish)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-06-08 11:33:46 +02:00
kaakaa
3c2388ee10 Translated using Weblate (Japanese)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-06-08 11:33:46 +02:00
master7
8245b67ee8 Translated using Weblate (Polish)
Currently translated at 100.0% (2334 of 2334 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% (2330 of 2330 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-08 11:33:46 +02:00
Tom De Moor
21f1bc237b Deleted translation using Weblate (Macedonian) 2022-06-08 11:33:46 +02:00
Weblate
cbb79a1a16 Added translation using Weblate (Macedonian) 2022-06-08 11:33:46 +02:00
Agniva De Sarker
f89266532f MM-44922: Skip TestImportImportPost (#20395)
Skipping the test.

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

```release-note
NONE
```
2022-06-08 14:18:42 +05:30
Tim Scheuermann
03579f56ae [MM-43831] removed the parallel marker from the subtests (#20364) 2022-06-08 09:08:45 +02:00
Tim Scheuermann
d001651977 Simplify ParamsFromRequest (#20384) 2022-06-08 09:07:20 +02:00
Maria A Nunez
ab02903f8c Loosen password req defaults (#20372)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-07 16:48:47 -04:00
Claudio Costa
159ebc297d Pre-package Calls v0.6.0 and enable it by default (#20388)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-07 19:45:43 +02:00
Agniva De Sarker
319a2b2428 MM-39690: Clean up some unnecessary logs (#20368)
These logs would appear at every request
and didn't have any useful info for the admin.
It was more of a developer logging thing
and therefore removing it.

https://mattermost.atlassian.net/browse/MM-39690
```release-note
NONE
```
2022-06-07 21:21:36 +05:30
Jesse Hallam
ce84a5d190 Pre-package Playbooks v1.28.1 (#20341)
* Pre-package Playbooks v1.28.0

* Pre-package Playbooks v1.28.1
2022-06-07 12:48:14 -03:00
Alejandro García Montoro
e08324596b Bump pre-packaged version of Zoom to v1.6.0 (#20370) 2022-06-07 15:27:13 +02:00
Ibrahim Serdar Acikgoz
c1c084a596 app/plugin: add product middleware and enable products register their routers (#20374) 2022-06-07 09:12:15 +03:00
Scott Bishel
2580722426 update boards to v7.0.0 (#20371) 2022-06-06 14:55:16 -06:00
Vishal
27fc14201f [MM-42192] Include deleted posts in GetPost (#20358)
* Introduced include_deleted query param on get posts endpoint

* Update the correct func name in the comment.

Co-authored-by: santoniriccardo <santoni.riccardo@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-06 13:29:42 +05:30
Ashish Bhate
456299841a MM-44412: correct usage of updateAt to createAt (#20263)
* MM-44412: correct usage of updateAt to createAt

* lint

* correct usage of updateAt to createAt - CRT unsupported

* remove dead code

* remove unrequired tests

* update test name

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-03 12:26:36 -04:00
Michael Kochell
7833e595aa [MM-44604] Ensure we return after setting error in api4/config.go (#20294) 2022-06-03 10:14:56 -04:00
Daniel Schalla
182536b87d Fix Trusted Header Parsing for Cloudflare (#20359) 2022-06-03 15:46:02 +02:00
Tim Scheuermann
19098e93fc [MM-42878] Allow + in the timestamp for mlog tests (#20360) 2022-06-03 15:39:03 +02:00
Tim Scheuermann
f836826c1d [MM-44329] Add a method to store.Store interface to get sql.DB object (#20351)
* [MM-44329] Added methods to sqlstore.Store

* [MM-44329] Added methods to the store.Store interface

* [MM-44329] Regenerated mocks

* [MM-44329] Added comments for the store.Store interface

Co-authored-by: Tim Scheuermann <tim.scheuermann@mattermost.com>
2022-06-03 11:11:23 +02:00
Ashish Bhate
8f912b697e MM-43918: freemium limit for storage (#20225)
Summary
Adds an API end point to return storage usage

Ticket Link
https://mattermost.atlassian.net/browse/MM-43918
2022-06-03 11:48:29 +05:30
Ashish Bhate
1f6e2fe846 MM-41728: Validate emoji size in app while importing (#20325)
* MM-41728: Validate emoji size in app on import

* use NotNil instead of Error for AppErr

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-02 23:55:40 -04:00
Lev
c975fdc982 Bumped prepackaged mattermost-plugin-apps to v1.1.0 (#20276)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-02 13:51:14 -07:00
Agniva De Sarker
ec0284b459 MM-44638: Remove upgrade.go (#20309)
We remove any remaining migrations from the upgrade.go file

```release-note
NONE
```
2022-06-02 22:53:12 +05:30
Pablo Andrés Vélez Vidal
c92cbb606a MM-44420 - replace 14-day references with new freemium 30-day (#20349)
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
2022-06-02 18:25:19 +02:00
Nick Misasi
f42702e13e Add StatusOK return to the softDeleteTeamsExcept controller (#20340)
* Prevent cloud limited installations from restoring teams when at or above the teams limit

* Code clean up

* fix i18n

* Actually fix i18n

* updates for govet

* Update model/client4.go

Co-authored-by: Vishal <vish9812@gmail.com>

* [MM-44397] Restrict team creation based on subscription limits (#20282)

* restrict team creation based on limits

* Update api4/team.go

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

* Fix tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

* Add additional field to teamsusage

* Fix

* remove useless test

* Fix error for team creation

* Remove apostrophe

* Add ReturnStatusOK to softDeleteTeamsExcept

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Vishal <vish9812@gmail.com>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
2022-06-02 09:02:41 -04:00
Pablo Andrés Vélez Vidal
d5333603ab MM 43666 - request bussiness email (#20315)
* MM-43666 - request bussiness email

* add the newValidEmail information

* revert ff model changes

* remove unnecessary pointer and fix test spelling

* fix unit tests and add a new one for when passing a valid email

* fix go lint

Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-01 23:36:03 +02:00
master7
24d9210035 Translated using Weblate (Polish)
Currently translated at 100.0% (2330 of 2330 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-01 09:20:34 +02:00
Hosted Weblate
622cee9b44 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-06-01 09:20:34 +02:00
Matthew Williams
0d20c4cf9c Translated using Weblate (English (Australia))
Currently translated at 99.3% (2315 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-06-01 09:20:34 +02:00
Kaya Zeren
4e408b484c Translated using Weblate (Turkish)
Currently translated at 100.0% (2331 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-06-01 09:20:34 +02:00
jprusch
84b488abab Translated using Weblate (German)
Currently translated at 100.0% (2331 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-01 09:20:34 +02:00
Tom De Moor
98817808f4 Deleted translation using Weblate (Macedonian) 2022-06-01 09:20:34 +02:00
Weblate
f1c9bec83b Added translation using Weblate (Macedonian) 2022-06-01 09:20:34 +02:00
Ibrahim Serdar Acikgoz
fe3816cc20 store: guests will only receive results of which channels they are in (#20295)
* store: guests will only receive results of which channels they are in

* api4/channel_test: add test case for guest accounts channel autocomplete

* apply to searchengine and also for AutocompleteInTeam

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-01 09:18:59 +03:00
Nick Misasi
cffe921e62 [MM-44475] Team Unarchive: Do not allow to unarchive if workspace has reached the limit of teams (#20281)
* Prevent cloud limited installations from restoring teams when at or above the teams limit

* Code clean up

* fix i18n

* Actually fix i18n

* updates for govet

* Update model/client4.go

Co-authored-by: Vishal <vish9812@gmail.com>

* [MM-44397] Restrict team creation based on subscription limits (#20282)

* restrict team creation based on limits

* Update api4/team.go

Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

* Fix tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>

* Add additional field to teamsusage

* Fix

* remove useless test

* Fix error for team creation

* Remove apostrophe

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Vishal <vish9812@gmail.com>
Co-authored-by: Maria A Nunez <maria.nunez@mattermost.com>
2022-05-31 15:06:54 -04:00
Martin Kraft
287edba57a MM-44130: Changed email button text. (#20288) 2022-05-31 13:57:34 -04:00
Joram Wilander
8b1a6ef238 Remove NextSyncAt from GetRemoteStatus query (#20312) 2022-05-31 11:03:10 -04:00
Ibrahim Serdar Acikgoz
a18934b042 config/diff: add utility function to get diffs scoped with struct tags (#20297)
* config/diff: add utility function to get diffs scoped with struct tags

* api4/config.go: check cloud accessible settings after merge
2022-05-31 17:10:32 +03:00
Vishal
d87fe35bdf [MM-44263] Cache Posts Usage (#20254)
* Fetch users only posts

* Cache Posts Usage

* Explicitly validate posts count before testing usage

* Add DocString

* Revert cache changes

* Revert "Revert cache changes"

This reverts commit ba693f8d5028b62c19f6a730e8dca73a224d0761.
2022-05-31 16:25:46 +05:30