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

674 Коммитов

Автор SHA1 Сообщение Дата
Harshil Sharma
1a49b7e929 Added license change listener (#24342)
* Added license change listener

* Fixed location of adding license listener

* Made tests unaffected

* Minor refactoring

* Changed order of checks to avoid breaking all tests

* Using CreateJobOnce to handle HA

* Updated context

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-27 08:49:10 +05:30
Harshil Sharma
6561f6f4ff Fixed bug where channel admin wasn't set when converting GM to private channel (#25515) 2023-11-27 08:12:49 +05:30
Doug Lauder
af7bc8a4a9 Fix auto-complete in slash command for shared channel invite (#25524)
* fix auto-complete in slash command for shared channel invite

* more providers not implementing AutocompleteDynamicArgProvider

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-25 09:21:06 +01:00
Michael Kochell
de99b40e87 Bump prepackage Jira plugin version to 4.0.1 (#25260) 2023-11-24 13:01:02 -05:00
KyeongSoo Kim
93cb80ef58 migrate server/channels/app/team.go to make use of generic_store_result (#25489)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-24 17:37:34 +01:00
Turretkeeper
8dff1ab906 Simplify preview scaling logic (#24507)
* Update preview.go

Was some complex logic in there. This should be simpler.

* Update preview.go

Make GenerateThumbnail code more verbose

* Update preview.go

Finish renaming targetHeight and targetWidth

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-23 12:27:20 -06:00
Agniva De Sarker
0000f1d00f MM-55710: Remove join with channel in GetFlaggedPosts (#25513)
https://mattermost.atlassian.net/browse/MM-55710

```release-note
NONE
```
2023-11-23 19:59:25 +05:30
Carrie Warner (Mattermost)
91a7639c3c Updated mmctl export create command flag (#25474)
* Updated export create flag

* Update server/cmd/mmctl/docs/mmctl_export_create.rst

* Updated mmctl export create command flags
2023-11-23 08:58:34 -05:00
Ben Schumacher
e99ded1635 [MM-55480] Update logr to v2.0.21 (#25431) 2023-11-23 10:30:08 +01:00
Scott Bishel
f67f0bd220 MM-55006 Validate team access before returning deleted teams (#25226)
* validate team access before returning deleted teams

* update error return

* Update channel.go

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-22 10:48:20 -07:00
Ben Schumacher
51e73b681b [MM-40638] Type all of the websocket event names as a new type WebsocketEventType (#25454)
Co-authored-by: Sudheer Tripathi <sudheer@clearglass.com>
Co-authored-by: Sudheer Tripathi <31629433+sudheer121@users.noreply.github.com>
Co-authored-by: Sudheer Tripathi <tripathisudheer604@gmail.com>
2023-11-22 11:09:48 +01:00
KyeongSoo Kim
e1f72576fb MM-52655 Allow plugin requests to include Authorization headers from external systems (#24391)
* remove the authorization header if the request is from an authenticated MM user

* fix lint

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>

---------

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-21 17:49:48 -05:00
Ben Schumacher
5e94af1302 [MM-54852] Add mmctl command to download Support Packet (#25419)
* Add mmctl command to download Support Packet

* Simplify file name

* Revert "Simplify file name"

This reverts commit 17084a3350605134ba338ffa25ce43a7c9482f1d.

* Fix docs
2023-11-21 15:25:01 +01:00
Jesse Hallam
d5c04f5d95 resolve weblate merge conflicts (#25500) 2023-11-20 17:03:04 -04:00
Felipe Martin
b40366dbdf [MM-55028] Added OAuthOutgoingConnection store (#25221)
* OAuthOutgoingConnection model

* added store

* make generated

* add missing license headers

* fix receiver name

* i18n

* i18n sorting

* update migrations from master

* make migrations-extract

* update retrylayer tests

* replaced sql query with id pagination

* fixed flaky tests

* missing columns

* missing columns on save/update

* typo

* improved tests

* remove enum from mysql colum

* add password credentials to store

* renamed migrations

* model change suggestions

* refactor test functionsn

* migration typo

* refactor store table names

* updated sanitize test

* oauthoutgoingconnection -> outgoingoauthconnection

* signature change

* i18n update

* granttype typo

* uppercase typo

* lowercase store name
2023-11-20 09:42:07 -05:00
Abhishek Verma
8bd603eb12 Bump prepackage GitHub plugin version to 2.1.7 (#25443) 2023-11-19 21:52:36 -05:00
Claudio Costa
aa3a12f183 [MM-55268] Implement ServeMetrics plugins hook (#24249)
* Implement ServeMetrics plugins hook

* Update error id

* Simplify

* Revert "Simplify"

This reverts commit c9dc5d5eac6c933ff69e158cf3e34d0973bd3bcd.

* Add comment and error handler

* Wrap error

* Update translation file

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-17 14:39:06 -06:00
Antonis Stamatiou
926142ca22 fix: Use version instead of build number for notices (#25435) 2023-11-17 14:37:09 +02:00
Ben Schumacher
b325c3a0ac Fix AdvancedLoggingConfig validation (#25304)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-16 21:22:01 +01:00
Christopher Poile
d8837fe313 MM-55583 - Update prepackaged calls to v0.21.0 (#25458) 2023-11-16 12:41:36 -05:00
Matthew Williams
7a4284b4b0 Translated using Weblate (English (Australia))
Currently translated at 100.0% (5709 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2491 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/
2023-11-16 13:17:27 -04:00
DimitriDR
ffc20d2346 Translated using Weblate (French)
Currently translated at 83.7% (4779 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/fr/

Translated using Weblate (French)

Currently translated at 92.9% (2317 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/fr/
2023-11-16 13:17:27 -04:00
Csaba Tóth
c16b94d2d4 Translated using Weblate (Hungarian)
Currently translated at 87.0% (4971 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hu/

Translated using Weblate (Hungarian)

Currently translated at 93.7% (2337 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hu/

Translated using Weblate (Hungarian)

Currently translated at 93.5% (2331 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hu/
2023-11-16 13:17:27 -04:00
MArtin Johnson
f932f156b0 Translated using Weblate (Swedish)
Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (5709 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/

Translated using Weblate (Swedish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2023-11-16 13:17:27 -04:00
Konstantin
22b047fb14 Translated using Weblate (Russian)
Currently translated at 99.7% (5691 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 99.2% (5664 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/

Translated using Weblate (Russian)

Currently translated at 98.7% (5636 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/ru/

Translated using Weblate (Russian)

Currently translated at 98.6% (5632 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/ru/
2023-11-16 13:17:27 -04:00
Kaya Zeren
920416b9a0 Translated using Weblate (Turkish)
Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (5708 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/tr/
2023-11-16 13:17:27 -04:00
ThrRip
853d81c98b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5709 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (2490 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (2490 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5708 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-11-16 13:17:27 -04:00
linkvn
9792349749 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/
2023-11-16 13:17:27 -04:00
cescpmantidfly
08c1ab9f20 Translated using Weblate (Vietnamese)
Currently translated at 91.5% (2279 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/
2023-11-16 13:17:27 -04:00
Milo Ivir
e886f42ce1 Translated using Weblate (Croatian)
Currently translated at 32.0% (1831 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 10.0% (250 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 28.3% (1621 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 9.8% (246 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 25.9% (1479 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 8.9% (224 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 22.9% (1311 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 8.7% (219 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 16.1% (922 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 16.0% (918 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 8.5% (212 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 12.5% (717 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 7.8% (195 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/

Translated using Weblate (Croatian)

Currently translated at 6.6% (382 of 5708 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 5.9% (338 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/hr/

Translated using Weblate (Croatian)

Currently translated at 6.9% (173 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/hr/
2023-11-16 13:17:27 -04:00
Tom De Moor
f6a51542d8 Translated using Weblate (Dutch)
Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (5709 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (5710 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2023-11-16 13:17:27 -04:00
jprusch
573b4633b5 Translated using Weblate (German)
Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

Translated using Weblate (German)

Currently translated at 100.0% (5709 of 5709 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

Translated using Weblate (German)

Currently translated at 100.0% (5710 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/

Translated using Weblate (German)

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/

Translated using Weblate (German)

Currently translated at 99.9% (5705 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2023-11-16 13:17:27 -04:00
linkvn
edfd125b28 Translated using Weblate (Vietnamese)
Currently translated at 91.4% (2278 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/

Translated using Weblate (Vietnamese)

Currently translated at 90.2% (2247 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/vi/
2023-11-16 13:17:27 -04:00
imamimam113
9e05411e37 Translated using Weblate (Indonesian)
Currently translated at 36.7% (916 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/id/
2023-11-16 13:17:27 -04:00
ThrRip
4c68582d76 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (5708 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (5705 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (2490 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2023-11-16 13:17:27 -04:00
master7
7460214386 Translated using Weblate (Polish)
Currently translated at 100.0% (5710 of 5710 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2492 of 2492 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (5707 of 5707 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2023-11-16 13:17:27 -04:00
ctlaltdieliet_TESTACCOUNTFORWEBINARS
d2064fc747 Translated using Weblate (Dutch)
Currently translated at 100.0% (2490 of 2490 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2023-11-16 13:17:27 -04:00
Ben Cooke
2a896f8420 [MM-54933] Add the ability to @ mention custom groups in group constrained teams and channels (#24987)
* add the ability to @ mention custom groups in group constrained teams
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-16 11:24:20 -05:00
mattermod
bd1c0b7a20 Update latest version to 9.2.2 2023-11-16 14:15:48 +00:00
Aldrin
2ff946e79b chore: remove deprecated "io/ioutil" imports (#25119)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-11-16 12:15:30 +01:00
Ben Schumacher
afb48219c0 Simplify request generation in store tests (#25422) 2023-11-16 09:51:18 +01:00
Christopher Poile
759bb70b2f MM-55060 - Calls: Add PushTypeCalls for calls-specific push notifications (#25405)
* add PushTypeCalls for calls-specific push notifications

* remove PushTypeCalls; add PushSubType for backwards compatability

* don't capitalize calls subtype

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-15 13:06:03 -05:00
Amy Blais
f27a2ca263 Update en.json (#25436)
Automatic Merge
2023-11-15 18:22:22 +02:00
Agniva De Sarker
864046f782 MM-55450: Handle error in db migrate phase (#25430)
We were not handling the error from initConnection.

https://mattermost.atlassian.net/browse/MM-55450
```release-note
NONE
```
2023-11-15 09:50:20 +05:30
Nick Misasi
fee6606606 Fix flaky test api4/Test_applyIPFilters (#25437)
Automatic Merge
2023-11-14 23:52:23 +02:00
Devin Binnie
1bd72bdb99 [MM-55014][MM-55015] Add last login timestamp for users, add materialized view and refresh job to keep track of post stats for Postgres (#25152)
* [MM-55014][MM-55015] Add last login timestamp for users, add materialized view and refresh job for Postgres

* Check fixes

* Fix type issue

* Add verification that lastlogin was updated

* PR feedback

* Morge'd

* Morge'd again

* Merge'd

* Update admin setting strings

* WIP

* PR feedback

* Oops

* Fix i18n

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 11:26:27 -05:00
Aydın Davutoğlu
bc58437e63 [MM-55302]Migrate server/channels/app/user.go to make use of GenericStoreResult (#25409) 2023-11-14 15:13:40 +01:00
Nick Misasi
e1c851a3ca [CLD-6324] Cloud IP Filtering (#24726)
* Initial comit for ip filtering service implementation

* Add audit logs for IP Filters

* start of webapp work

* Stashing

* Updates based on Agniva's feedback around service vs einterface

* Updates completed

* Commit before refactoring, everything's working

* First pass of cleanup complete, front-end tests added

* actually add files

* Updates to some translation strings, running i18n-extract

* Lock everything behind a feature flag

* Fix tests, try to fix some linter stuff

* Fixed linter for JS, on to scss

* Fixed linter for scss

* Fix linter

* More fixes for pipeline

* Support for IPV6

* Remove tsx file that was removed in masteR

* Revert package.json and package-lock.json to master, add cidr-regex dep into channels/package.json

* Another commit to force fix Github

* Fixes around IPV6. Some suggestions from Matt re: UX review. Fixing pipelines for tests and types on new cidr-regex package

* Changes to address Matt's feedback

* A few more changes for clean up

* Add support for permissions

* Fix vet for OpenAPI spec

* Actually add the yaml file for openapi

* Add permission migration to allow support for IP Filtering

* Fix tests

* Final fixes from Matt

* Remove cancel button from page, update link outs to documentation

* Update test to account for removed cancel button

* Adjustments based on feedback from Harrison

* More fixes from PR feedback

* Add a t to fix translations that doesn't seem to be breaking anyone else?

* More fix

* updates for PR feedback

* Fix linter

* Fix types

* Now fix the linter again

* Add back tests because Harrison was able to get them running

* Adjustments for PR feedback

* Remove admin_definition.jsx

* Fix linter

* [CLD-6453] IP Filtering notification email for sysadmins (#25224)

* Initial commit for IP filtering alert email

* Updates to style for email, addition of ip_filtering email:

* Fix pipelines

* Adjustments from Matt's feedback

* Padding changes

* template diff (#25249)

Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>

* Fix hardcoded true, remove bool return value

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>

* Lock feature behind enterprise license. Drop cidr-regex in favour of ipaddr.js dependency. Refactor isIpAddressWithinRanges to use ipaddr.js

* Add a couple server tests

* fix linter

* Fix types from merge conflicts

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Gabe Jackson <3694686+gabrieljackson@users.noreply.github.com>
2023-11-14 09:12:04 -05:00
KIMBOH LOVETTE
29cd6177c0 [GH-21565]-Add the request context and logger to all public methods in server/channels/app/audit.go (#25368) 2023-11-14 13:34:47 +01:00
Paul-Stern
5f8133254d [MM-55304] Migrate "server/channels/store/searchlayer/user_layer.go" to use GenericStoreResult (#25351)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-11-14 10:18:10 +01:00