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

16175 Коммитов

Автор SHA1 Сообщение Дата
Conor Macpherson
5babdf3de7 fix types. 2023-03-28 14:11:49 -04:00
Conor Macpherson
378bdae7fe lint. 2023-03-28 14:11:49 -04:00
Conor Macpherson
d4631a4add fix links, types. 2023-03-28 14:11:49 -04:00
Conor Macpherson
9f01e98343 i18n. 2023-03-28 14:11:49 -04:00
Conor Macpherson
e4cf521add lint. 2023-03-28 14:11:49 -04:00
Conor Macpherson
759943d24e add layers, add missing model. 2023-03-28 14:11:49 -04:00
Conor Macpherson
acb4c57ee1 Add shiping address and add back terms. 2023-03-28 14:11:49 -04:00
Conor Macpherson
afb929b041 update expansion request. 2023-03-28 14:11:49 -04:00
Conor Macpherson
32ccd93ed8 add license_id param. 2023-03-28 14:11:49 -04:00
Conor Macpherson
9cea0fd266 fix cost per user movement when total is large. 2023-03-24 16:30:07 -04:00
Conor Macpherson
b40cd113fa Migrate to mono-repo 2023-03-24 14:48:47 -04:00
Ibrahim Serdar Acikgoz
379dbb1ca8 Add setup-go action (#22618) 2023-03-24 18:07:23 +03:00
Ibrahim Serdar Acikgoz
5c857e9df3 add concurrency limitation to gh actions (#22638) 2023-03-24 17:04:15 +03:00
Agniva De Sarker
176a58617d MM-51504: Control compliance export goroutine (#22604)
Spawn a goroutine from the server layer to have better
control for compliance tests.

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

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-24 13:56:19 +05:30
byigorv
017c51c246 fix mem leak in hubConnectionIndex (#22560) 2023-03-24 11:22:37 +05:30
Harrison Healey
9b5afb1b5f Run tests for all web app packages in CI (#22579)
* Run tests for all web app packages in CI

* Test specific packages instead of all of them

* Revert back to using test-ci scripts and rely on Jest to count the number of CPU cores

* Revert more changes made to the web app CI tests

* Fix path to client package tests
2023-03-23 14:23:56 -04:00
Agniva De Sarker
56b18ca7bf MM-45956: Optimize FileInfo stats query (#22603)
* MM-45956: Optimize FileInfo stats query

We Denormalize Post.ChannelId on FileInfo.ChannelId

```release-note
The file info stats query is now optimized by denormalizing the channelID column into the table itself. This will speed up the query to get the file count for a channel on clicking the RHS.

Migration times:
On a MySQL 8.0.31 DB with
1405 rows in FileInfo and 11M posts, it took around 0.3s

On a Postgres 12.14 DB with
1731 rows in FileInfo and 11M posts, it took around 0.27s
```

https://mattermost.atlassian.net/browse/MM-45956
2023-03-23 22:14:04 +05:30
Harrison Healey
1edbde8aa3 Run type check for all web app packages in CI (#22578)
* Fix incorrect usage of types pacakge

* Make platform packages properly expose their type definitions

* Have Boards, Channels, and Playbooks get types from platform packages properly

* Run type check for all web app packages in CI

* Fix incorrect job name
2023-03-23 10:10:52 -04:00
Harrison Healey
2eb5dac9b7 Run build for all web app packages as part of Web App CI (#22577) 2023-03-23 10:10:40 -04:00
Harrison Healey
f294ef9843 Run linters for all web app packages as part of Web App CI linting (#22576) 2023-03-23 10:10:28 -04:00
Agniva De Sarker
a31159257d Ran make modules-tidy (#22600)
* Ran make modules-tidy

* Removed go.tools.sum which is not needed anymore

* Upgrade golang.org/x/net
2023-03-23 16:59:50 +05:30
Saturnino Abril
82c9d647b8 playwright: restructure page and components model (#22602) 2023-03-23 19:01:26 +08:00
Agniva De Sarker
19c7c6fa7a MM-51486: Implementing UTS 46 to check for preview blocklist (#22601)
There is a standard IDNA2008 which defines how unicode characters
in domain names can be compared using UTS (Unicode Technical Standard) 46.

We use that to convert any links in messages to ASCII and
then compare with the domain list in config.

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

```release-note
NONE
```
2023-03-23 13:03:59 +05:30
Doug Lauder
c943ed6859 Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00
mattermod
b61c096497 Update latest version to 7.9.1 2023-03-21 11:45:10 +00:00
MArtin Johnson
febcac0308 Translated using Weblate (Swedish)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-03-20 15:42:23 +02:00
master7
07657b6771 Translated using Weblate (Polish)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-03-20 15:42:23 +02:00
Kaya Zeren
1fef79e360 Translated using Weblate (Turkish)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2023-03-20 15:42:23 +02:00
Konstantin
8e44c112c7 Translated using Weblate (Russian)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2023-03-20 15:42:23 +02:00
Tom De Moor
97b5b9a648 Translated using Weblate (Dutch)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-03-20 15:42:23 +02:00
jprusch
e1175dd075 Translated using Weblate (German)
Currently translated at 100.0% (2500 of 2500 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-03-20 15:42:23 +02:00
Hosted Weblate
153a3f2544 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/
2023-03-20 15:42:23 +02:00
Colton Shaw
63e7c29343 Additional support packet values (#22441)
* Added system console metrics and renamed database fields

* Added job data

* Added migration data
2023-03-17 16:20:23 +01:00
Christopher Speller
7804debb7f MM-51321 Refactor audit log application. (#22481)
* Refactor audit log application.

* Fix incorrect API Usage for Auditing

* Fixups.

* Rename Object audit to Auditable. Some small fixes.

---------

Co-authored-by: Daniel Schalla <daniel@schalla.me>
2023-03-16 09:50:00 -07:00
Mattermod
9a38a52392 Update minor version to 7.10.0 (#22523)
Automatic Merge
2023-03-16 15:25:16 +02:00
mattermod
ce90cb494b Update latest version to 7.9.0 2023-03-16 10:34:11 +00:00
Ben Cooke
eb0bfd6f6d [MM-50219] OAuth 2.0 (#22310)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* oauth fix

* rename migration

* migrations-extract

* translations

* unit test

* lint

---------

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>
2023-03-15 09:14:37 -04:00
Allan Guwatudde
a14958096d [MM-51090] - Notify Admin post fails plugin hook (#22508) 2023-03-15 15:18:33 +03:00
Ibrahim Serdar Acikgoz
9252fff4d6 [MM-49993] Return error if there is no telemetry ID (#22438)
* return error if there is no telemetry ID

* fix tests and apply review comments
2023-03-15 08:56:28 +03:00
Maria A Nunez
b6d13806a7 Updated Local Mode settings for cloud (#22480)
* Added cloud restristable for

* Added cloud_restrictable to Enable Local Mode
2023-03-13 13:55:05 -04:00
Agniva De Sarker
2f1d964735 Optimize precomputing of websocket event (#22465)
fmt.Sprintf was badly optimized and in cases of heavy traffic,
it was in the hot path and caused a lot of allocations.

We sacrifice readability for performance here.

```
    10:46:40-~/mattermost/mattermost-server/model] benchstat base.txt new.txt
    goos: linux
    goarch: amd64
    pkg: github.com/mattermost/mattermost-server/v6/model
    cpu: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
                 │  base.txt   │               new.txt               │
                 │   sec/op    │   sec/op     vs base                │
    EncodeJSON-8   2.061µ ± 1%   1.588µ ± 2%  -22.93% (p=0.000 n=10)

                 │  base.txt  │              new.txt               │
                 │    B/op    │    B/op     vs base                │
    EncodeJSON-8   545.0 ± 0%   472.0 ± 0%  -13.39% (p=0.000 n=10)

                 │  base.txt  │              new.txt               │
                 │ allocs/op  │ allocs/op   vs base                │
    EncodeJSON-8   6.000 ± 0%   3.000 ± 0%  -50.00% (p=0.000 n=10)
```

```release-note
Writes to websocket now take 13% less memory
and also 22% faster per message.
```
2023-03-13 22:32:12 +05:30
Doug Lauder
10ae28e320 Fix all occurances of checking for RemoteClusterServiceLicense (#22453) 2023-03-13 12:20:27 -04:00
Matthew Williams
78d2768289 Translated using Weblate (English (Australia))
Currently translated at 99.9% (2498 of 2499 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2023-03-13 14:02:00 +02:00
Hosted Weblate
ae9501879d 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/
2023-03-13 14:02:00 +02:00
master7
fbc7509251 Translated using Weblate (Polish)
Currently translated at 100.0% (2502 of 2502 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-03-13 14:02:00 +02:00
jprusch
05dea560c5 Translated using Weblate (German)
Currently translated at 100.0% (2502 of 2502 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-03-13 14:02:00 +02:00
MArtin Johnson
f18af46875 Translated using Weblate (Swedish)
Currently translated at 100.0% (2499 of 2499 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-03-13 14:02:00 +02:00
Tom De Moor
dcb1841993 Deleted translation using Weblate (Arabic) 2023-03-13 14:02:00 +02:00
Weblate
9eed79725d Added translation using Weblate (Arabic) 2023-03-13 14:02:00 +02:00
Jesse Hallam
ea3ff49b35 Revert "Adding the debug bar logic in the server (#22410)" (#22478)
This reverts commit 280bc7f97e.
2023-03-10 14:30:17 -04:00