Vishal
fa768e0fa7
[MM-45726] Fix Sentry crash: nil deference in app/post_helpers.go:85 ( #20654 )
...
* Avoid adding duplicate post
2022-08-02 12:10:26 +05:30
Dimitris Oik
8444c45959
MM-44576 autocomplete names including utf 8 chars ( #20367 )
...
* Added unaccent extension
* Changed comment
* Deletes migrations, changes query method
* Mionr changes
* Creates test for multilingual queries
* Minor formatting changes
* Adds two more tests
* Changes name in test function
* Minor change
* Retriggers tests
* Removes % from Postgres query
* Lint fix
* Changes variable name
* Removes SetDefaultTextSearchConfig method
* Removes mocks
* Adds error handling on test raw queries
* Lint fix
* Deletes unused generated file
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-08-01 06:58:31 -04:00
Agniva De Sarker
55f64195b1
MM-45195: Use api4/bot and app/bot to use logger context ( #20729 )
...
https://mattermost.atlassian.net/browse/MM-45195
```release-note
NONE
```
2022-08-01 13:48:45 +05:30
Agniva De Sarker
c7ae090dad
Revert "MM-43828: Pass object length for some image operations ( #20711 )" ( #20740 )
...
Automatic Merge
2022-07-29 17:53:14 +03:00
Kyriakos Z
562388501e
MM-43939: fixes LastReplyAt when deleting the last reply ( #20615 )
...
* MM-43939: fixes lastreplyat when deleting the last reply
Currently we are not updating the Threads.LastReplyAt when the last
reply gets deleted. This can lead to threads appearing unread when
actually there is no unread thread.
This commit updates the value of Threads.LastReplyAt when a reply gets
deleted, to the most recent post's timestamp in the thread.
* Updates ReplyCount to current value on post delete
* Addresses review comments
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-29 10:03:52 -04:00
Agniva De Sarker
887bc0173e
MM-45715: Fix incorrect permissions (Round 2) ( #20731 )
...
We missed a case to return if there are no
items in the slice. Otherwise it falls through
and returns false incorrectly.
Rectified the tests to trigger the case.
https://mattermost.atlassian.net/browse/MM-45715
```release-note
NONE
```
2022-07-29 09:58:44 +05:30
Ashish Bhate
b9d062ddfa
Update post reminder text ( #20733 )
...
Summary
Changing reminder text as suggested in Hackathon: Post Reminders mattermost-webapp#10688 (review),
Ticket Link
N/A
2022-07-28 22:39:13 +05:30
Tim Scheuermann
832736da37
[MM-45990] log JSON parsing errors in API4 ( #20724 )
2022-07-28 17:05:03 +02:00
Ashish Bhate
04cd6d35e9
MM-45272: Fix getPostThread permissions ( #20565 )
...
Summary
Fix permissions for the the getPostThread API Method.
User can view thread if user is member of the channel
User can view threads in public channels (in the user's team) that they're not a member of, only if compliance export is disabled.
Ticket Link
https://mattermost.atlassian.net/browse/MM-45272
2022-07-28 20:25:20 +05:30
Pablo Andrés Vélez Vidal
0ee05ce054
MM-45713 - change 500 error to json object ( #20682 )
...
* MM-45713 - change 500 error to json object
* validate possible encoding errors and follow standards
* replace normal debugging string with true string
* use bool type instead of string
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-28 15:07:54 +02:00
Agniva De Sarker
0e75cecc4f
Fix bad merge due to https://github.com/mattermost/mattermost-server/pull/20674 ( #20728 )
...
```release-note
NONE
```
2022-07-28 10:34:02 +05:30
Agniva De Sarker
d4b710b3ab
MM-45194: Switch app/user and api4/user to logger context ( #20674 )
...
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-28 10:04:21 +05:30
Agniva De Sarker
90c6350410
Revert "move metrics server into platform service ( #20683 )" ( #20726 )
...
This reverts commit b18a42313b .
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-27 21:30:25 +02:00
Tim Scheuermann
f199be6aa5
[MM-45715] Check for correct permission when requesting teams ( #20715 )
2022-07-27 19:17:02 +02:00
Agniva De Sarker
072c859219
MM-43828: Pass object length for some image operations ( #20711 )
...
For user profile and plugin upload, we use a bytes.Buffer.
In that case, we know the object size and can find
it out from the length of the buffer.
This helps reduce multi-part uploads.
This approach can also be taken in thumbnail and preview
images. However, they use an io.Pipe to directly upload
the image as it is being encoded. We could make the whole
process in separate parts of writing the full image in the
buffer and then upload it. But taking a conservative approach
for now.
Also, while here, removed some unused code.
https://mattermost.atlassian.net/browse/MM-43828
```release-note
NONE
```
2022-07-27 19:02:24 +05:30
Tim Scheuermann
eba08cbb11
Replace ioutil.Discard with io.Discard ( #20707 )
2022-07-27 11:40:33 +02:00
Carrie Warner (Mattermost)
c00609ab8e
Added schema migration template to PR template ( #20717 )
...
A schema migration template is now available to help guide release note development.
2022-07-26 16:17:50 -04:00
Michael Kochell
c6913f7d9e
support plugin setting property hosting ( #20677 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-26 11:31:34 -04:00
Julien Tant
1044fba449
[MM-45817] Set cloud cookies whenever user gets logged in ( #20692 )
2022-07-26 07:47:09 -07:00
Agniva De Sarker
20cb042362
Hackathon: Post Reminders ( #20555 )
...
This PR adds the post reminder backend work.
We add a new API endpoint via which a user can set a reminder for a post. An ephemeral message will be sent down the line to let the user know about the action. And then after the time is over, the system admin bot will send a DM message to the user about the reminder post.
2022-07-26 16:12:56 +05:30
master7
e6459b97de
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2339 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-07-26 10:53:15 +03:00
kaakaa
4453e365ec
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (2339 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-07-26 10:53:15 +03:00
Pierre JENICOT
0916ec1d25
Translated using Weblate (French)
...
Currently translated at 100.0% (2339 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-07-26 10:53:15 +03:00
Matthew Williams
53c9e051ca
Translated using Weblate (English (Australia))
...
Currently translated at 99.2% (2322 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-07-26 10:53:15 +03:00
Tóth Csaba // Online ERP Hungary Kft
2e027cafbb
Translated using Weblate (Hungarian)
...
Currently translated at 99.5% (2328 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-07-26 10:53:15 +03:00
Tom De Moor
adcf6a1a76
Deleted translation using Weblate (Vietnamese)
2022-07-26 10:53:15 +03:00
Weblate
e1aa25e5fc
Added translation using Weblate (Vietnamese)
2022-07-26 10:53:15 +03:00
yeongeun.seo
25ff5c17a8
Translated using Weblate (Korean)
...
Currently translated at 84.5% (1978 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
Translated using Weblate (Korean)
Currently translated at 83.9% (1963 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-07-26 10:53:15 +03:00
jprusch
cfa7a2bc46
Translated using Weblate (German)
...
Currently translated at 100.0% (2339 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-07-26 10:53:15 +03:00
Kaya Zeren
4870e20ef1
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (2339 of 2339 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-07-26 10:53:15 +03:00
Agniva De Sarker
7441a26b6d
MM-45871: Do not try to extract content from images ( #20698 )
...
This creates faulty requests to Bifrost and results in
errors and warnings in the logs. Even without Bifrost,
this would make unnecessary requests to S3.
We only extract info from documents and therefore we can
safely avoid this.
```release-note
NONE
```
2022-07-26 12:17:23 +05:30
Nathaniel Allred
77881fc357
Mm 43609 ( #20657 )
...
* return first inaccessible post time instead of has inaccessible posts
2022-07-25 16:01:59 -05:00
Allan Guwatudde
478ff50ffd
[MM-45666] - A/B Test: Nav Bar Upgrade button ( #20676 )
...
* [MM-45666] - A/B Test: Nav Bar Upgrade button
* update flag default value
* update text
2022-07-25 22:22:07 +03:00
Agniva De Sarker
2388848f47
Killing dyatlov/go-opengraph with fire ( #20706 )
...
Correctly updating this requires PRs
in multiple repositories. Fixing this
with a hammer for now to unblock server.
```release-note
NONE
```
2022-07-25 22:15:24 +05:30
Ibrahim Serdar Acikgoz
b18a42313b
move metrics server into platform service ( #20683 )
...
move metrics into platform
2022-07-25 16:54:06 +03:00
Agniva De Sarker
07623a70fd
MM-45875: Apply environment overrides in cluster scenario ( #20694 )
...
Automatic Merge
2022-07-25 12:53:14 +03:00
Agniva De Sarker
fa9477d332
MM-45000: Upgrade to new opengraph module path ( #20701 )
...
https://mattermost.atlassian.net/browse/MM-45000
```release-note
NONE
```
2022-07-25 14:25:32 +05:30
Michel Engelen
68055bcb10
added a feature-flag and default value for PostForwarding ( #20166 )
...
Automatic Merge
2022-07-22 13:23:14 +03:00
Claudio Costa
9255671222
[MM-45862] Set size and extension to fileinfo ( #20681 )
...
* Set size and extension to fileinfo
* Remove unnecessary check
2022-07-22 09:14:01 +02:00
Riccardo Santoni
3d7859396d
[MM-42194] Get file information from a deleted post ( #20279 )
...
* Introduced inlcude_deleted query parameter to allow admins to retrieve contents of post regardless of deletion status
* Introduced new client route and tests for getting file info of deleted posts
* Fixed tests due to caching of posts
* gofmt
* Small formatting updates
* Invalidating file infos cache on delete of post if post includes files
* Including deleted in migration flow
* Moved invalidating of cache
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-21 11:11:08 -04:00
Michael Kochell
bc7f961d75
Store plugin OnActivate errors and include them in PluginStatus response ( #20430 )
...
* store plugin OnActivate errors, and include in PluginStatus
* write test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-21 10:55:57 -04:00
Shota Gvinepadze
638ee68935
[MM-44948] Update sync ( #20414 )
...
* Update sync
* Add enter
* Address review suggestion
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-07-21 18:11:45 +04:00
Lev
dc366bc1e2
MM-45208: strip post meta for plugins ( #20686 )
...
Try two...
* Revert "Revert "Removed the opengraph type dependency for plugins by stripping post Metadata (#20612 )" (#20684 )"
This reverts commit 32dee6d449 .
* Fixed race condition
* PR feedback
* lint
2022-07-21 07:11:18 -07:00
Mattermod
c762db8669
Update latest version to 7.1.2 ( #20691 )
...
Automatic Merge
2022-07-21 15:03:12 +03:00
Agniva De Sarker
32dee6d449
Revert "Removed the opengraph type dependency for plugins by stripping post Metadata ( #20612 )" ( #20684 )
...
This reverts commit da7a8a4552 .
2022-07-20 20:09:03 +05:30
Ibrahim Serdar Acikgoz
6376f7ff55
app/platform: add initial platform service skeleton ( #20679 )
2022-07-20 15:04:26 +03:00
Lev
da7a8a4552
Removed the opengraph type dependency for plugins by stripping post Metadata ( #20612 )
2022-07-20 04:50:56 -07:00
Tim Scheuermann
9ed453dcac
[MM-38700] Use the job ID for the export name ( #20675 )
2022-07-20 10:58:17 +02:00
Tim Scheuermann
1f1d3785fe
[MM-44365] Add values and operation to the condition checks ( #20666 )
2022-07-19 17:55:10 +02:00
Mattermod
e7a93e3f59
Update latest version to 7.1.1 ( #20678 )
...
Automatic Merge
2022-07-19 14:03:13 +03:00