MahmoudFarouq
4ef9384d74
remove redundant getUser call ( #24198 )
2023-08-15 13:56:05 +02:00
Yash Ajgaonkar
e211b867b8
Update cluster_handlers.go ( #24238 )
...
Remove unnecessary debug statements as a fix for MM-24226
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-08-14 20:16:30 +03:00
Hosted Weblate
d88e1e6650
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
2023-08-14 18:41:15 +02:00
MArtin Johnson
daa1d841b2
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/sv/
Translated using Weblate (Swedish)
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/sv/
2023-08-14 18:41:15 +02:00
Tom De Moor
b6bf16c08b
Translated using Weblate (Dutch)
...
Currently translated at 99.9% (2464 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-08-14 18:41:15 +02:00
Hosted Weblate
e231c4407e
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
2023-08-14 18:41:15 +02:00
Kaya Zeren
ed6e5a6f3c
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/
2023-08-14 18:41:15 +02:00
Matthew Williams
d008caa21f
Translated using Weblate (English (Australia))
...
Currently translated at 99.9% (2464 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/en_AU/
Translated using Weblate (English (Australia))
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/en_AU/
2023-08-14 18:41:15 +02:00
Konstantin
6c06e5a97e
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-08-14 18:41:15 +02:00
Hosted Weblate
42e10901d2
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
2023-08-14 18:41:15 +02:00
jprusch
5dd7a12648
Translated using Weblate (German)
...
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
Translated using Weblate (German)
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-08-14 18:41:15 +02:00
Konstantin
cb3616faf8
Translated using Weblate (Russian)
...
Currently translated at 99.2% (2447 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (5648 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-08-14 18:41:15 +02:00
master7
c28c4918cc
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
Translated using Weblate (Polish)
Currently translated at 97.4% (5503 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/
2023-08-14 18:41:15 +02:00
Sharuru
2ee8dc0739
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 79.4% (4485 of 5648 strings)
Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2465 of 2465 strings)
Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/zh_Hans/
2023-08-14 18:41:15 +02:00
Jesús Espino
5f7482e541
Remove remote users from the license counting and explicitly dissallow them to log in ( #22582 )
...
* Making all the counts aware of Remote users
* Disable login for remote users
* Adding tests for login remote_users error
* Adding tests for the store
* Adding frontend part of not counting remote users in the license
* Addressing PR review comment
* Adding the new ExternaUserId field to users
* Running make migrations-extract
* Running make app-layers and make gen-serialized
* Revert "Adding the new ExternaUserId field to users"
This reverts commit 12e5fd518962a16cdbdb8964179b6cd8e915f230.
* Adding GetUserByRemoteID methods
* Adding needed migration for users
* i18n-extract
* Fixing postgres increase remote user id field size migration up and down
* run make gen-serialized
* Removing migration code
* Not count remote users as part of the cloud pricing
* Add the cloud subscription when a user gets promote from remote to not-remote
* Fixing merge problems
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-08-14 17:54:10 +02:00
Saturnino Abril
a93a01fa8f
MM-54004 migrate HeaderFooterNotLoggedIn as functional component ( #24244 )
...
* chore: MM-54004 migrate HeaderFooterNotLoggedIn as functional component
* fix about and HA links
2023-08-14 06:48:19 -04:00
Daniel Espino García
e9b3afecc2
Mark category as read ( #24003 )
...
* Mark category as read
* Fix lint and test
* Fix tests
* Fix test and remove wrong aria
* Address server issues and add mark as read for unreads
* Missing changes
* Fix tests
* fix tests
* Add confirmation popup to mark as read category
* Always use viewMultipleChannels and other fixes
* Remove unneeded code
* Fix test
* Address feedback
* Address feedback
* Fix tests
* Fix test
* Fix tests
* Update aria-haspopup depending on the number of channels to mark as viewed
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-08-14 10:01:02 +02:00
Agniva De Sarker
45a14e23a9
MM-53228: Adding schema version to cluster info ( #24209 )
...
With the schema version available, a job can query for
the cluster info to confirm whether or not all nodes
in a cluster are upgraded to the same version or not.
This will help it in determining whether to start
the job or not.
https://mattermost.atlassian.net/browse/MM-53228
```release-note
NONE
```
2023-08-10 09:40:49 +05:30
Jian Lim
ace88288f0
Update to github.com/golang-jwt/jwt/v5 ( #24208 )
...
* Update to github.com/golang-jwt/jwt/v5
* Update server/channels/app/platform/license.go
Co-authored-by: Juho Nurminen <juhonurm@gmail.com >
---------
Co-authored-by: Juho Nurminen <juhonurm@gmail.com >
2023-08-10 00:39:01 +05:30
Jesse Hallam
7818d5a348
plugins: further logging tweaks, fixes ( #24229 )
...
Fix a logging issue for prepackaged plugins error handling trying to reference a `nil` pointer.
Relates-to: https://mattermost.atlassian.net/browse/MM-53355
2023-08-09 11:54:41 -03:00
Ben Schumacher
122dbaf373
[MM-40531] Remove deprecated ManifestExecutables struct ( #24212 )
2023-08-09 10:36:12 +02:00
Ben Schumacher
7ecf6c0b5c
[MM-53943] Remove deprecated UserAuth.Password field ( #24213 )
2023-08-09 10:35:53 +02:00
Jesse Hallam
8372267739
MM-53355: tidy up plugins ( #24194 )
...
* remove feature flag managed plugins
* remove unneeded plugin blocklist
* remove unnecessary wrappers
* documentation and logging improvements
* avoid use of global logger
* leverage wrapped loggers (e.g. consistently log `plugin_id`)
* promote some logs from `Debug` to `Info` for better visibility.
* extract installPluginToFilestore
* rename some variables for consistency / clarity
* make generated
2023-08-08 18:29:57 -03:00
Jesse Hallam
e39b485c4b
Fail vs. fatal on store startup ( #24170 )
...
If the store fails to initialize (e.g. run a migration), it would `log.Fatal` and then `os.Exit`. Unfortunately, this trips up `TestMain`, which happily keeps running tests, now guaranteed to fail.
Avoid this by instead returning an error from the store initialization, handling appropriately at the layer above.
2023-08-04 23:05:01 -03:00
Jesse Hallam
c030bb44f5
MM-53905: Skip racy test testGetUptoNSizeFileTime ( #24173 )
2023-08-04 13:27:08 -03:00
Christopher Poile
7bca8b11d2
calls -> v0.18.0 ( #24186 )
2023-08-04 08:35:59 -06:00
Jesse Hallam
d9edb84523
Revert s3 path prefix normalization for plugins ( #24184 )
...
This reverts 0af0a4eff4 . During the [implementation](https://github.com/mattermost/mattermost/pull/15910 ) we [discussed](https://github.com/mattermost/mattermost/pull/15910#issuecomment-705925227 ) fixing the underlying issue. When we did [fix](https://github.com/mattermost/mattermost/pull/15949 ) the underlying issue, we didn't revert these changes.
Revert it now to simplify the code.
2023-08-04 11:24:53 -03:00
Jesse Hallam
885802eae7
Updated API Code Samples ( #24141 )
...
* api: remove PHP code samples
* api: remove Curl code samples
* api: remove Go code samples
* link out to marketplace exclusively for community-built drivers
* absolute path to V4_SRC
* programmatically extract x-codeSamples
* initial batch of examples
* Update api/server/main.go
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com >
* Update api/server/main.go
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com >
* Update api/server/main.go
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com >
* updated examples
---------
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com >
2023-08-03 12:45:10 -03:00
Julien Tant
d1691833ad
[MM-53881] Make sure export filestore won't use bifrost ( #24169 )
2023-08-02 09:44:20 -07:00
Agniva De Sarker
ce92ab7e1c
Update vacuuming parameters for some tables ( #23997 )
...
After some analysis of vacuuming statistics of our large
Postgres customers, it was observed that the default vacuuming
thresholds for some tables are not optimal enough for our workload.
We need more frequent vacuuming for some tables. The analysis
showed that the top 4 tables that needed rectification
were posts, preferences, threadmemberships and fileinfo.
So we reduce the threshold by half for those tables, triggering
autovacuum and autoanalyze doubly often.
```release-note
NONE
```
2023-08-02 21:18:18 +05:30
Jesse Hallam
933b0eb89c
MM-53877: fix export config settings ( #24167 )
...
* wip test
* test and use Export* config correctly
2023-08-02 10:24:52 -03:00
Jesse Hallam
62d49350e5
API Updates ( #24105 )
...
* fix missing /api/v4 prefix for commands autocomplete suggestion
* document /api/v4/ldap/users/{user_id}/group_sync_memberships
* document /api/v4/groups/{group_id}/restore
* fix /files/{file_id}/public actually at root
* document /api/v4/users/invalid_emails
2023-08-01 21:47:37 -03:00
Elias Nahum
aa88f8bf59
Add read_channel_content permission ( #24118 )
...
* Add read_channel_content permission
* fix tests
* update system console default permissions per role
* add read_channel_content to e2e defaultRolesPermissions
* Migration to include custom roles
* change deprecated isNotExactRole for isNotRole
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-31 09:12:53 -04:00
Claudio Costa
a47af39d80
Include connection ID in webconn related logs ( #24143 )
2023-07-27 08:24:39 -06:00
mattermod
d7697f3b39
Update latest version to 8.0.1
2023-07-27 11:56:22 +00:00
Agniva De Sarker
b47754e268
MM-53747: Do not start if job is in-progress as well. ( #24115 )
...
We missed this out last time. It's possible in an HA
scenario for a second pod to start later while the other
job is in-progress. In that case, it would schedule
two jobs.
https://mattermost.atlassian.net/browse/MM-53747
```release-note
NONE
```
2023-07-26 20:32:50 +05:30
Jesse Hallam
9b05bfa8dc
Pre-package Playbooks v1.38.0 ( #24106 )
2023-07-25 22:22:47 -03:00
3kami3
5b3833839e
Fixed missing zoneinfo ( #23759 ) ( #23760 )
...
* added tzdata
* set noninteractive installation
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-25 17:32:49 +02:00
Ibrahim Serdar Acikgoz
2a4de2eecc
Revert "Add read_channel_content permission ( #24018 )" ( #24114 )
...
This reverts commit a19ce047ba .
2023-07-25 13:17:58 +03:00
Harshil Sharma
26617fcbdc
Remove insights ( #23952 )
...
* removed server side
* Updated store layer
* unused import
* Updated autogenerated code template
* Updated tests
* lint fix
* unused translations
* webapp side
* Updated i18n
* lint fix:
* type fix
* Updated snapshots
* Removed insights from API specs
* updated e2e
* Updated e2e tests
* Updated e2e tests
* Removed insights tests
* Removed Insights as possible channel to load in sidebar from test
* Removed more insights tests
* More e2e fixed
* More cleanup
* Lint
* More cleanup in client4 and boards api
* More cleanup
* Fixes
* lint fix
---------
Co-authored-by: maria.nunez <maria.nunez@mattermost.com >
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-25 12:34:38 +05:30
Agniva De Sarker
6d6e589c11
MM-53747: Create job to encode older image paths ( #24073 )
...
Bifrost now encodes all image paths. Due to this
one-way translation, we need to encode all the older
image paths as well.
After this is done, we can remove the double-lookup.
https://mattermost.atlassian.net/browse/MM-53747
```release-note
NONE
```
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-25 08:38:35 +05:30
Agniva De Sarker
29bd0c9357
Revert "MM-42810: Introduce a channel hook for a websocket event ( #23812 )" ( #24107 )
...
Automatic Merge
2023-07-24 19:16:57 +03:00
Elias Nahum
a19ce047ba
Add read_channel_content permission ( #24018 )
...
* Add read_channel_content permission
* fix tests
* update system console default permissions per role
* add read_channel_content to e2e defaultRolesPermissions
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-24 09:37:59 -04:00
Jesse Hallam
89e65257a6
Remove command palette POC ( #24044 )
...
* Revert "POC: Cross-team recent search (#20027 )"
This reverts commit aa59c28b04 , preserving
a few code tidyings unrelated to the original PR.
* Revert "Add feature flag for command palette (#20011 )"
This reverts commit c78c5ce3f3 .
2023-07-24 10:31:06 -03:00
Scott Bishel
0c4ac8b201
prepackage boards v7.11.2 ( #24085 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-24 11:49:12 +02:00
Alejandro García Montoro
dbf63214ac
Fix duplicated channel's name error ( #24080 )
...
* Fix duplicated channel's name error
* Test the SQL store layer instead of the API layer
* Remove unused variable and query
2023-07-24 11:04:54 +02:00
Harshil Sharma
f1468a1958
Renamed channel index fix migration key ( #24061 )
...
Automatic Merge
2023-07-21 23:16:56 +03:00
Agniva De Sarker
feeb0cd2ef
MM-53747: Bifrost: write original paths ( #24079 )
...
Now that we have identified the true fix
from Bifrost side, we will slowly revert
the changes that have happened.
Starting with this first fix, we will revert
to writing out non-encoded paths while still
doing the double read. This will break uploading
files with + for a short while, and then
the new Bifrost fix should fix that as well.
https://mattermost.atlassian.net/browse/MM-53747
```release-note
NONE
```
2023-07-21 08:59:59 +05:30
Ibrahim Serdar Acikgoz
a307fd9da3
[MM-53408] server/user_store: avoid antijoin for IsEmpty query ( #23966 )
2023-07-20 18:50:28 +03:00
Jesse Hallam
6c821c8b13
drop public submodule replace directive ( #24045 )
...
* drop public submodule replace directive
During development of the public/ submodule, a replace directive remained that was both unnecessary and harmful as discussed in https://community.mattermost.com/private-core/pl/w77sh7igwpfb9ecj5o4jjjbbyo .
Remove that, and bump the explicit dependency (even though we use go.work) to v0.0.6 so the import paths match (e.g. `mattermost` vs `mattermost-server`).
* make modules-tidy
* consistently setup-go-work
* fix build-api-spec
* fix mmctl test template
* fix workflow copy/paste typo
2023-07-20 10:45:06 -03:00