Commit Graph

17254 Commits

Author SHA1 Message Date
Devin Binnie
047583947f
[MM-53636] Add channel/team name back for the Saved Posts view (#24117)
* [MM-53636] Add channel/team name back for the Saved Posts view

* E2E test
2023-07-28 15:35:18 -04:00
Saturnino Abril
93a2c3281a
MM-53813: Fix(accessibility): on channels page (#24122)
* fix(accessibility): on channels page

* fix lint and update dynamic-virtualized-list

* fix snapshot and update per feedback

* fix e2e tests

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-28 11:17:11 -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
Pablo Andrés Vélez Vidal
525c21a9d3
MM52237 - prevent fetching fileCount from unnecessary places (#23981)
* MM52237 - prevent call file count from unnecesary places

* rename the variable to make more clear function signature
2023-07-27 11:48:36 +02:00
Qrypt
93b7957de3
Mm 52178 Fix "registerMessageWillBeUpdatedHook" not running (#23763)
Automatic Merge
2023-07-26 21:57:32 +03: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
Harrison Healey
f10487c511
MM-50460 : Remove max-width from AdvancedTextEditor (#23970) 2023-07-26 15:01:37 +05:30
Maria A Nunez
12c829032f
Fix user is typing font size (#24096)
* Fix user is typing font size

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-25 21:59:10 -04:00
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
M-ZubairAhmed
e37459cd00
MM-53230 : Remove custom polyfilled 'getClosestParent' with browser 'closest' (#24086) 2023-07-25 08:39:46 +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
M-ZubairAhmed
065d3c3f6b
Lint formatted on "build/emoji/additional_shortnames.json" (#24097) 2023-07-25 08:37:39 +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
Sinan Sonmez (Chaush)
e70abd6e0f
MM-53776 : Profile pop-over for Bots has funky line breaks (#24095) 2023-07-24 20:07:26 +05:30
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
Devin Binnie
c35777194d
[MM-53520] Refresh drafts in comment when the rootId of the draft changes (#24068)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-24 08:59:56 -04:00
Mario Vitale
dca39ea092
CLD-6003 - Upload smoketest results, better server logs (#24089)
* Upload smoketest results, better server logs
2023-07-24 13:15:19 +02: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
Sai Deepesh
16606f4420
MM-23523 Migrate "components/markdown_image/*" to typescript (#23524) 2023-07-21 20:30:19 +05:30
Nathan
ab38a8fbd7
MM-50382 Shows an error if post edit history fails to load (#22828) 2023-07-21 20:28:05 +05:30
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
Austin DeNoble
949a7875cd
MM-47091 : Migrate "components/integrations/abstract_outgoing_webhook.jsx" and tests to TypeScript (#23977) 2023-07-20 18:29:57 +05:30
Saturnino Abril
e377d985cd
MM-52641 MM-52645 Playwright/Accessibility: Initial setup and accessibility fix on login page (#23254)
* MM-52641 Playwright/Accessibility: initial setup

* upgrade Playwright to 1.36.1

* fix accessibility at login page

* fix lint

* update snapshot
2023-07-19 16:25:17 -04:00
Julien Tant
077c16ef61
[MM-53454] Add export file settings + slash command for public link (#23915)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-19 13:01:39 -07:00
ridker
f3b1f33dff
MM-47075 : Migrate "components/suggestion/suggestion_list.jsx" and tests to Typescript (#23837) 2023-07-20 00:18:55 +05:30
LeonardJouve
49dddaa0f0
Fix props of 'react-day-picker' #23591) 2023-07-20 00:06:16 +05:30
Amy Blais
4baea52111
Update en.json (#23796)
Automatic Merge
2023-07-19 21:34:25 +03:00
Karan Mishra
91efa7bfc8
MM-52845 : Migrate "components/admin_console/elasticsearch_settings.jsx" and tests to Typescript (#23821) 2023-07-19 23:11:58 +05:30
Agniva De Sarker
c1dfdb867a
MM-53709: Handle older non-encoded paths in bifrost (#24058)
We do a check to see if a non-encoded path is present
or not, and in that case, choose not to encode it.

This accrues an additional StatFile call. But after
we have encoded all paths to the new style, we will
get rid of this.

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

```release-note
NONE
```
2023-07-19 22:32:04 +05:30
Nick Misasi
0b564005cf
[MM-53702] Remove Downgrade Team Selection modal and all accompanying logic (#24059)
* Remove Downgrade Team Selection modal and all accompanying logic

* fix linter

* Fix i18n

* Final pipeline fixes
2023-07-19 09:35:14 -04:00
Hamza
9322f71f94
MM-52793 : Search calendar selects the day before when selected for a date (#23618) 2023-07-19 16:56:19 +05:30
Sinan Sonmez (Chaush)
628273d98d
MM42267: Add member count in the browse channel modal (#23800)
* add base for calling the endpoint

* add endpoint and handler

* update store and layers

* call the endpoint

* align types

* update app layers

* generate mocks

* complete handler

* finish store query

* add todos

* add ui for member count

* add selector

* add a todo

* add cache layer

* optimize calls in FE

* handle invalidation of the cache

* fix go style

* fix test

* use existing channel layer count

* fix import error

* delete unnecessary code

* write tests for channel cache layer

* fix testname

* fix mocks

* fix cache layer test

* fix a test

* really fix the test

* write more tests for server

* address PR comments

* remove comment

* rename more_channels to browse_channels

* fix style

* update snapshot

* add translations

* Revert "add translations"

This reverts commit 56476a5dab.

* add only related translations

* address PR review points

* add test

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-19 11:45:27 +05:30
Miguel de la Cruz
4803889158
Improves notify props validation (#24031)
* Adds the channel member notify props max runes restriction

* Fix translations
2023-07-18 17:25:11 +02:00
Agniva De Sarker
3c31629813
MM-53669: Use the cache layer for EmojiStore.GetMultipleByName (#24030)
There was already a cache present for emoji names. But we weren't using
it for the GetMultipleByName method. Now we implement that method
to look up the cache for every emoji name passed.

Secondly, a bigger problem was that we were making the DB call for system
emojis as well. Since system emojis aren't stored in the DB, it would
fall through the cache layer and always make a redundant DB call. In the
profiles, this should up as taking 16% of the total time to serve
a getPostsForChannel API endpoint.

We fix this by filtering the emojis to only custom emojis
before making the call.

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

```release-note
NONE
```
2023-07-18 20:27:48 +05:30
Bodhi
b247c6251f
fix libz.so.1 missing error when running "npm install" on Linux/ARM64 (on a Macbook M1) (#23935)
* fix libz.so.1 missing error when running "npm install" on Linux/ARM64

* fix typo

* update changes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-18 10:46:59 -04:00
Devin Binnie
a6a9664e53
[MM-53192] Patch Show Full Name issue in Insights team_members API (#24027)
* [MM-53192] Patch full name leak in Insights team_members API

* Update server/channels/app/team.go

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>

---------

Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
2023-07-18 09:41:16 -04:00
Elias Nahum
66c2837d2c
Fix add command in backstage (#24043) 2023-07-18 09:03:52 -04:00
Miguel de la Cruz
150c6e7aef
Remove boards product references (#23855)
Automatic Merge
2023-07-18 15:17:29 +03:00
mattermod
62495f16bd Update latest version to 8.0.0 2023-07-18 08:19:15 +00:00
Devin Binnie
823ef27d6c
Revert "[MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers (#23795)" (#24039)
This reverts commit abdf4e58c3.
2023-07-17 10:54:53 -04:00
Ibrahim Serdar Acikgoz
38fd8cd6aa
tools/mmgotool: move into monorepo (#24010) 2023-07-17 16:15:58 +03:00