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

15991 Коммитов

Автор SHA1 Сообщение Дата
Agniva De Sarker
aa61f8dfbb Revert "Set BoardsProduct FF to on by default" (#22177)
This reverts commit 6b6150d374.
2023-01-30 22:23:20 +05:30
Kyriakos Z
70800b2447 MM-49048: do not omit needed wsbroadcast vars (#22156)
* MM-49048: do not omit needed wsbroadcast vars

It seems that we are omitting ContainsSanitizedData, and
ContainsSensitiveData variables in WebsocketBroadcast.
This created a bug in cluster mode, in which we were sending duplicate
events to users whereas normally they would have access to only one of those.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-30 18:10:39 +02:00
Said Atrahouch
289328c4b4 Mm 49463 send invoices annual (#22072)
* Attachment invoices for annual

* regenerate mocks

* lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-30 16:24:05 +01:00
Pablo Andrés Vélez Vidal
ae3c21dd79 MM-49813 - validate inviter permissions when sending invitations to private channels (#22119)
* MM-49813 - validate members invitation permissions to private channels

* Validate on the receiver side that the sender id still has permissions to invite

* add translations

* fix texts

* simplify implementation

* remove local test hardcoded data

* add test to user_test

* fix vet warning

* Add comments to validate user permissions function

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

* regenerate app layer iface

* fix unit test

* fix app user_tests

---------

Co-authored-by: Martin Kraft <martin@upspin.org>
2023-01-30 16:19:27 +01:00
Saturnino Abril
e055df27e8 update libcurl3-gnutls (#22174) 2023-01-30 20:03:04 +08:00
Ashish Bhate
58fda05349 MM-49486: Option to exclude file count in channel stats (#22096)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-27 21:03:33 -05:00
Julien Tant
3522419e89 [MM-49715] Work templates: add content (#22168) 2023-01-27 14:57:57 -07:00
Julien Tant
79e6c65933 [MM-50007] WorkTemplate: disallow creating private playbook without an enterprise license (#22159) 2023-01-27 14:03:46 -07:00
Tim Scheuermann
55cdc793c8 Initialize the logger (#22155) 2023-01-27 17:43:39 +01:00
Konstantinos Pittas
874c6269ec [MM-49265] Update translations when config is changed (#21987)
* update translations when config is changed

* wrap and return the error message

* use the configs directly instead of diff
2023-01-26 18:20:04 -05:00
Javier Aguirre
f852237e33 [MM-48825] "plugin configured with a nil SecureConfig" warning logged when starting each plugin (#21869) 2023-01-26 23:13:33 +01:00
Julien Tant
7bfca605e1 [MM-49929] Work templates: allow simple users to list marketplace plugins (#22151) 2023-01-26 09:08:05 -07:00
Doug Lauder
1880297a90 MM-49849 Escape log filename entered in system console (#22141)
* escape log filename
2023-01-25 12:24:46 -05:00
Julien Tant
753ee85c6b [MM-47846] Execute Work Template (#22055) 2023-01-25 10:24:01 -07:00
Said Atrahouch
53938167f8 [MM-49949] fix endpoint handle to download invoices (#22143)
* [MM-49949] fix endpoint handle to download invoices

* Bump _ inside the regex and remove in_
2023-01-25 10:41:26 -05:00
Kyriakos Z
3094f10557 MM-49845: fixes acknowledgements in getpostsince (#22124)
* MM-49845: fixes acknowledgements in getpostsince

GetPostsSince returns posts updated after a user requested date.
If a user acknowledges a post the post's update at won't change thus not
getting that post returned from GetPostsSince. This is troublesome
particularly for the mobile client since it relies a lot to
GetPostsSince for keeping the data up to date.

This commit updates the post's update_at when a user
acknowledges/un-acknowledges a post fixing this way the issue above.

* Fixes linter

* Apply suggestions from code review

style changes

Co-authored-by: Jesse Hallam <jesse@thehallams.ca>

* Rename ack to acknowledgement

Co-authored-by: Jesse Hallam <jesse@thehallams.ca>
2023-01-25 14:45:45 +02:00
Agniva De Sarker
82077c9004 MM-49604: Fix race condition in test (#22128)
The AssertExpectations was being called after the store
was closed. To fix it we move it to the last line.

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

```release-note
NONE
2023-01-25 14:43:13 +05:30
Amy Blais
63f05ee1a3 Update ISSUE_TEMPLATE.md (#22125)
Automatic Merge
2023-01-24 17:45:03 +02:00
Agniva De Sarker
64e5a7972e MM-49703: Bump Gitlab CI to 1.19 (#22131)
https://mattermost.atlassian.net/browse/MM-49703

```release-note
NONE
```
2023-01-24 19:47:08 +05:30
şafak
6c87aaef04 Custom site name set on root HTML title (#21106)
* Site name set on HTML title

43924

* Added description meta tag.

* EscapeString added, variables name changed

* Update string check

* Re-organized methods

* Updated method

* one return to readability of function

* Update web/static.go

Co-authored-by: Tim Scheuermann <noxer@users.noreply.github.com>

Co-authored-by: Tim Scheuermann <noxer@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-24 20:40:25 +08:00
Giorgi Bochorishvili
7f5ac299ce Merge pull request #21883 from mattermost/mpa-playbooks
Add services and functions for playbooks to work in mpa mode
2023-01-24 14:35:13 +04:00
Giorgi Bochorishvili
a16192045a Merge branch 'master' into mpa-playbooks 2023-01-24 13:39:28 +04:00
Matthew Williams
45a5d6abe1 Translated using Weblate (English (Australia))
Currently translated at 99.9% (2438 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2023-01-24 11:34:30 +02:00
Kaya Zeren
c0dda1cab7 Translated using Weblate (Turkish)
Currently translated at 100.0% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2023-01-24 11:34:30 +02:00
kaakaa
f0689a25d3 Translated using Weblate (Japanese)
Currently translated at 99.8% (2435 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2023-01-24 11:34:30 +02:00
TING
71b658c656 Translated using Weblate (Chinese (Traditional))
Currently translated at 73.8% (1800 of 2439 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 73.7% (1799 of 2439 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 73.6% (1797 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
2023-01-24 11:34:30 +02:00
Tom De Moor
f7be14e858 Translated using Weblate (Dutch)
Currently translated at 99.8% (2435 of 2439 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-24 11:34:30 +02:00
exbu
20bb641fd1 Translated using Weblate (Dutch)
Currently translated at 100.0% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-24 11:34:30 +02:00
Konstantin
1a191860ba Translated using Weblate (Russian)
Currently translated at 100.0% (2439 of 2439 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% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2023-01-24 11:34:30 +02:00
master7
51102247d8 Translated using Weblate (Polish)
Currently translated at 100.0% (2439 of 2439 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% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-01-24 11:34:30 +02:00
jprusch
ed598d12bc Translated using Weblate (German)
Currently translated at 100.0% (2439 of 2439 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% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-01-24 11:34:30 +02:00
MArtin Johnson
b804b14588 Translated using Weblate (Swedish)
Currently translated at 100.0% (2439 of 2439 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% (2433 of 2433 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-01-24 11:34:30 +02:00
mattermod
ed186b14a2 Update latest version to 7.7.1 2023-01-24 08:35:57 +00:00
Konstantinos Pittas
53d6e7c3f7 [MM-49180] Error message not clear when creating group with mention name matching username (#22022)
* return the correct error message ID

* add test

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-23 13:34:28 -05:00
Giorgi Bochorishvili
5bf0daceb7 Improve Makefile style 2023-01-23 19:34:30 +04:00
Nathaniel Allred
813a7efbcd if cloud interface reports upstream is off, notify the web client of the same (#22118) 2023-01-23 08:20:21 -06:00
Giorgi Bochorishvili
48e475a644 Merge branch 'master' into mpa-playbooks 2023-01-23 17:16:56 +04:00
Giorgi Bochorishvili
4bdc49d11d Fix potential nil dereference error 2023-01-23 16:33:45 +04:00
Giorgi Bochorishvili
94e5e49753 Add build hash to makefile 2023-01-23 16:17:24 +04:00
Agniva De Sarker
f76d240495 MM-49703: Bump Go version to 1.19 (#22107)
https://mattermost.atlassian.net/browse/MM-49703

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-23 12:43:56 +05:30
Nathaniel Allred
305fbb17cf Mm 49611 (#22054)
* remove limits we do not listen to anymore
* add back boards property for focalboard project compatibility
* remove boards cards as paid feature
* remove lingering unlimited integrations paid feature
2023-01-20 15:43:05 -06:00
Max Ripper
5d0fdb9dff Merge pull request #22101 from mattermost/mm-48089-fix-relative-email-urls
MM-48089 Fix broken links in emails
2023-01-20 16:19:51 +01:00
Doug Lauder
3c1f63d41b add GetDirectChannelOrCreate to product API (#22112) 2023-01-20 07:51:44 -05:00
Maximilian Ripper
5b80211e66 MM-48089 Use ReplaceAllStringFunc to avoid double conversion 2023-01-20 13:36:02 +01:00
Giorgi Bochorishvili
a83728bca2 Address review comments
Switch channel to always use app

Remove channel wrapper init from server
2023-01-20 14:48:10 +04:00
Agniva De Sarker
51e5c9b36c MM-49551: Check if RemoteId is nil for participant (#22103)
We were trying to dereference without a nil check first.

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

```release-note
NONE
```
2023-01-20 10:00:14 +05:30
Martin Kraft
bf9d1166d6 MM-49688: Handles an empty mysql.time_zone_name table. (#22093) 2023-01-18 19:41:13 -05:00
Conor Macpherson
ed6b9123cd Merge pull request #22094 from mattermost/MM-49681-remove-boards-and-integration-limits-text
MM-49681 - Remove mentions of boards and integrations limits on delinquency emails, and replace remaining "Cloud Starter" text with "Cloud Free" text.
2023-01-18 09:30:50 -05:00
Maximilian Ripper
dd0eac29d0 MM-48089 Compile regular expressions once instead of doing it with every call to MarkdownToHTML 2023-01-18 14:28:55 +01:00
Ossi Väänänen
62428467dc [SEC-2191] Add security headers with sensible default values. (#21656)
* Add security headers with sensible default values.

* Add test to check that default security headers are added to http responses

* Also test the static handler.
2023-01-18 14:04:48 +02:00