- 13 Dec, 2021 1 commit
-
-
James Addison authored
-
- 12 Dec, 2021 1 commit
-
-
Yair Facio authored
Automatic Merge
-
- 10 Dec, 2021 2 commits
-
-
Yair Facio authored
* Migrate Save from gorp to sqlx * Migrate checkTeamsExist from gorp to sqlx * Migrate checkChannelsExist from gorp to sqlx * Migrate Patch from gorp to sqlx * Migrate buildGetPoliciesQuery from gorp to sqlx * Migrate Get from gorp to sqlx * Change buildGetPolicyQuery return values * Migrate GetAll from gorp to sqlx * Migrate GetCount from gorp to sqlx * Migrate Delete from gorp to sqlx * Migrate GetChannels from gorp to sqlx * Migrate GetChannelsCount from gorp to sqlx * Migrate AddChannels from gorp to sqlx * Migrate RemoveChannels from gorp to sqlx * Migrate GetTeams from gorp to sqlx * Migrate GetTeamsCount from gorp to sqlx * Migrate AddTeams from gorp to sqlx * Migrate RemoveTeams from gorp to sqlx * Migrate DeleteOrphanedRows from gorp to sqlx * Migrate GetTeamPoliciesForUser from gorp to sqlx * Migrate GetTeamPoliciesCountForUser from gorp to sqlx * Migrate GetChannelPoliciesForUser from gorp to sqlx * Migrate GetChannelPoliciesCountForUser from gorp to sqlx * Migrate Delete from gorp to sqlx * Add mapper tag function before saving a record Summary: Since there is a db tag in this model for the ID column, I set a mapper in this transaction to lowercase all mapping columns before saving the record. * Use quoted identifiers when selecting Id * Address PR comments, replace variable declarations for their short hand syntax * Enhance subquery implementation Co-authored-by:
Mattermod <mattermod@users.noreply.github.com>
-
Yair Facio authored
* Migrate from gorp to sqlx in ProductNoticesStore * Address PR comments Co-authored-by:
Mattermod <mattermod@users.noreply.github.com>
-
- 09 Dec, 2021 2 commits
-
-
Agniva De Sarker authored
* MM-40469: Handle invalid response codes from plugins This was an interesting crash detected via Sentry. Typically, any HTTP status code outside 100-999 range will cause a crash in the HTTP server. And `ExecuteCommand` is the only plugin hook which returns a model.AppError instead of error. So an incorrect plugin implementation could return a status code of 0, and crash the server. We handle that by rewriting any illegal response code to 500. https://mattermost.atlassian.net/browse/MM-40469 ```release-note NONE ``` * added warning ```release-note NONE ```
-
Ben Schumacher authored
-
- 07 Dec, 2021 4 commits
-
-
Jesse Hallam authored
* Pre-package Playbooks v1.22.1 * Bump
-
Christopher Speller authored
* Add playbooks related permissions. * Add RolesGrantPermission to pluginapi * Fixing scopes. * New defaults. * Fix defaults * Fix tests. * Fix migration. * More test and migration fixes. * Need to add everything to system admin too. * Move to 63 * Feedback fixes. * Fix system manager editing playbook permissions.
-
Agniva De Sarker authored
We move these fields to Channels: ``` uploadLockMapMut sync.Mutex uploadLockMap map[string]bool imgDecoder *imaging.Decoder imgEncoder *imaging.Encoder dndTaskMut sync.Mutex dndTask *model.ScheduledTask ``` I think this PR should conclue the initial phase of migrating stuff from Server to Channels. The remaining task would be to focus on continue to create the remaining services from the common things like users, teams, push notifications, clustering for other products to consume. https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4/87df1e15-588e-49ff-8bd1-ffa9651b8c82 ```release-note NONE ```
-
Claudio Costa authored
* Enable receiving binary websocket messages * Improve error message * Prefer anonymous declaration * Simplify * Improve test * Use MessagePack to clone WebSocketRequest struct * Use short form * Fix test
-
- 06 Dec, 2021 9 commits
-
-
kaakaa authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
-
MArtin Johnson authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
-
Tóth Csaba // Online ERP Hungary Kft authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/ Translated using Weblate (Hungarian) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/ Translated using Weblate (Hungarian) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
-
gruceqq authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/ Translated using Weblate (Polish) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
-
Matthew Williams authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/ Translated using Weblate (English (Australia)) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
-
master7 authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
-
JtheBAB authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/ Translated using Weblate (German) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
-
Tom De Moor authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/ Translated using Weblate (Dutch) Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
-
Kyriakos Z authored
* MM-36862: removes participant from thread Removing a participant upon last reply deleted from thread didn't work reliably, a suspect on this is the replica lag, since we are first deleting the post and then counting non-deleted posts of the participant to decide on whether to delete or not. The findings that led to this conclusion is that the reply count gets updated but the participant is not removed (participant removal depends on the number of replies this participant has in the thread.) This commit fixes that by removing first the participant and then deleting the post. So we delete the participant if they have 1 post in that thread, and then we delete the post, so now they have no posts in the thread. * Makes deleting posts transactional This commit makes deleting a post transactional and also tries to fix permanent deletion of posts. Currently when we permanently delete all posts by a user we don't update the threads reply count nor the participant's array. This commit tries to fix that. * Adds comments on deleting posts Co-authored-by:
Mattermod <mattermod@users.noreply.github.com>
-
- 03 Dec, 2021 5 commits
-
-
Carrie Warner (Mattermost) authored
Updated Account Settings to Settings
-
Carrie Warner (Mattermost) authored
Updated Terms of Service to Terms of Use
-
Agniva De Sarker authored
The feature is stable enough to be removed as a config knob. For backwards compatiblity with older mobile clients, we keep sending the config param as true for client config requests. https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4/7m95frqbk9o8zxin6xo9c7iusoh ```release-note NONE ```
-
Carlos Tadeu Panato Junior authored
Co-authored-by:
Mattermod <mattermod@users.noreply.github.com>
-
Agniva De Sarker authored
The old comment wasn't exactly clear on why is it needed to spawn a new connection. ```release-note NONE ```
-
- 02 Dec, 2021 1 commit
-
-
Pablo Andrés Vélez Vidal authored
* MM-38674 - AB test for first guided channel creation * set default value for the guided creation as false Co-authored-by:
Pablo Velez Vidal <pablo.velez@mattermost.com>
-
- 01 Dec, 2021 2 commits
-
-
Pablo Andrés Vélez Vidal authored
Co-authored-by:
Pablo Velez Vidal <pablo.velez@mattermost.com>
-
Allan Guwatudde authored
-
- 30 Nov, 2021 10 commits
-
-
Allan Guwatudde authored
* [MM-40345] - Fix telemetry in resend invite email job * feedback impl
-
Agniva De Sarker authored
* Do not parse developer flags if empty Attempting to parse an empty flag would result in a spurious log line which would clog up the console. ```release-note NONE ``` * add test ```release-note NONE ```
-
Matthew Williams authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
-
MArtin Johnson authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
-
master7 authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
-
Tóth Csaba // Online ERP Hungary Kft authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/ Translated using Weblate (Hungarian) Currently translated at 100.0% (2324 of 2324 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
-
gruceqq authored
Currently translated at 100.0% (2324 of 2324 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
-
Tom De Moor authored
Currently translated at 100.0% (2324 of 2324 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
-
jprusch authored
Currently translated at 100.0% (2325 of 2325 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/ Translated using Weblate (German) Currently translated at 100.0% (2324 of 2324 strings) Translation: mattermost-languages-shipped/mattermost-server Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
-
Martin Kraft authored
-
- 29 Nov, 2021 1 commit
-
-
Igor German authored
Signed-off-by:
Igor German <germanenak@gmail.com> Co-authored-by:
Mattermod <mattermod@users.noreply.github.com>
-
- 26 Nov, 2021 2 commits
-
-
Ben Cooke authored
* wip * adding tests for new endpoint * tool updates * new function for getting postsByIds * fixing test * adding limit of 1000 to post query * fixing PR comments * fixing permission logic Co-authored-by:
Collin <collineng@gmail.com> Co-authored-by:
Collin Eng <eng.engineereng@gmail.com> Co-authored-by:
Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local> Co-authored-by:
Mattermod <mattermod@users.noreply.github.com> Co-authored-by:
Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
-
Carlos Tadeu Panato Junior authored
-