PR
6d2fa0f3d2
Migrate Overwrite and GetMaxPostSize() in PostStore to sync by default ( #10829 )
...
* Migrate Overwrite and GetMaxPostSize() in PostStore to sync by default
* GH-10762: fix return type for mock func
* GH-10762: fix tests for MaxPostSize() mocks
* fix imports
2019-05-17 10:46:18 +02:00
Shota Gvinepadze
fab2e349b3
[MM-10768] Migrate "Channel.SaveDirectChannel" to Sync by default ( #10846 )
2019-05-16 22:04:58 +02:00
Lev
2d3e417833
MM-15632 DeleteEphemeralMessage to accept a postId string ( #10853 )
...
Before it was accepting `post *model.Post`, and returning one.
This is a breaking change for the giphy plugin and any other that rely
on the API.
2019-05-16 12:32:13 +02:00
Pradeep Murugesan
5d1ee9373f
made the Restore and Delete store method to be sync ( #10835 )
2019-05-16 12:31:50 +02:00
Miguel de la Cruz
098dbc84cc
[MM-14751] Adds group_constrained filter to user list and search endpoints ( #10678 )
2019-05-16 10:12:06 +01:00
Jesús Espino
beb7592c93
Migrate FileInfo store to Sync by default ( #10837 )
2019-05-15 22:07:03 +02:00
Harrison Healey
99ea780f20
MM-13142 Replace mlog.Any with mlog.Err ( #10848 )
2019-05-15 16:04:43 -04:00
Martin Kraft
1b78f9debc
MM-14897: Changes to be able to add and remove groups from channels. ( #10794 )
...
* MM-15162: Changes for LDAP groups removals phase.
* MM-14897: Changes to be able to add and remove groups from channels.
* Update model/client4.go
* MM-14897: PR-requested change to string interpolation.
2019-05-15 12:03:47 -04:00
Andres Orozco
dd33bc13a7
MM-14723 add CreateBotAccounts to client.go ( #10849 )
2019-05-15 08:25:56 -07:00
Carlos Tadeu Panato Junior
9559de26cc
update db to 5.11 ( #10826 )
2019-05-15 16:58:48 +02:00
Pradeep Murugesan
24a02b4168
made the preference store GetCategory method sync ( #10847 )
...
* made the preference store GetCategory method sync
* fixed the review comments
2019-05-15 07:56:42 -07:00
Siyuan Liu
2130e9f0b1
[GH-10800] convert bot account to user account ( #10803 )
...
* [10800] convert bot account to user account
* check password validity first
* review comments
2019-05-15 13:23:12 +01:00
Ivana Irene Thomas
a68ad55151
[MM-15297] Migrate "Preference.Get" to Sync by default #10721 ( #10811 )
...
* modify Get method in preference_store
* modify interface to match changes on preference store Get method
* modify variable initialization
* fix behavior on GetPreferenceByCategoryAndNameForUser
2019-05-15 13:20:26 +01:00
Evan do Carmo
b3e09715df
escaping file name to allow for special chars 10796 ( #10824 )
2019-05-15 06:59:28 +02:00
Shota Gvinepadze
b561d7900c
[MM-15356] Migrate "Channel.Update" to Sync by default ( #10815 )
2019-05-14 23:02:04 +02:00
Daniel Schalla
3bb11d747d
Add Error and Help to reserved name list ( #10845 )
2019-05-14 22:18:32 +02:00
scott lee davis
ae951f6449
MM-14722 - Don't let bots create other bot accounts ( #10808 )
2019-05-14 22:15:23 +02:00
Joram Wilander
1a4ea94805
When gzipping file responses add header for uncompressed content length ( #10836 )
2019-05-14 13:42:48 -04:00
Harrison Healey
0214ad69e5
Log status code when failing to authenticate with OAuth provider ( #10819 )
2019-05-14 13:34:22 -04:00
Joram Wilander
68da625802
Do not try to render web app error page when web server is disabled ( #10820 )
2019-05-13 12:10:30 -04:00
Elias Nahum
5b252e8736
Tracking Push Notifications in a structured logger (notifications.log) ( #10823 )
...
* Remove NotificationRegistry table and use structured logging
* Fix ackId for notification sent
* Notification logger at server level
* Remove unused i18n strings
2019-05-13 07:53:46 -07:00
Andres Orozco
30061df036
MM-14723: Add config flag for creating bots ( #10795 )
...
* MM-14723 add config flag for creating bots
* MM-14723 - update i18n to handle new config flag
* MM-14723 - change API tests to allow bots by default
* Update i18n/en.json
Co-Authored-By: andresoro <ao15@my.fsu.edu >
* MM-14723: add config flag for enabling/disabling bot creation
* undo changes to apitestlib.go to explicitly change config in each test
* add unit tests for config changes
* MM-14723 update test cases
* MM-14723 update test cases to use UpdateConfig method
2019-05-13 07:48:32 -07:00
PR
b3aa3d4567
GH-10760: Migrate Post.Delete to sync by default ( #10830 )
2019-05-13 13:07:15 +02:00
Martin Kraft
480fffd3cc
MM-15162: Changes for LDAP groups removals. ( #10701 )
...
* MM-15162: Changes for LDAP groups removals phase.
* MM-15162: Adds missing translation.
* MM-15162: Fixes tests.
* MM-15162: Removes some confusing branching.
* MM-15162: Make permission less restrictive.
* MM-15162: Moves counting to the DB tier.
* MM-15162: Moves CountGroupsByTeam into own store method.
* MM-15162: Adds count to tests.
* MM-15162: Fix for wrong cast type.
* MM-15162: Fix for possible null SchemeGuest column.
* MM-15162: Fixes bug whereby permissions error didn't return.
* MM-15162: Changes for LDAP groups removals phase.
* MM-15162: Adds missing translation.
* MM-15162: Fixes tests.
* MM-15162: Removes some confusing branching.
* MM-15162: Make permission less restrictive.
* MM-15162: Moves counting to the DB tier.
* MM-15162: Moves CountGroupsByTeam into own store method.
* MM-15162: Adds count to tests.
* MM-15162: Fix for wrong cast type.
* MM-15162: Fix for possible null SchemeGuest column.
* MM-15162: Fixes bug whereby permissions error didn't return.
* MM-15162: Adds missing translation blocking enterprise build.
* MM-15162: Update to group commands.
2019-05-10 11:47:21 -04:00
scott lee davis
74c7c46a7d
Support webapp to render post rapidly for bot without additional call for user/bot. ( #10793 )
2019-05-10 11:04:52 -04:00
Shobhit Gupta
53d0bfe35e
[MM-15193] Migrate "Emoji.Get" to Sync by default ( #10801 )
...
* Change emoji.Get to sync
* Make emojistore.get sync
* Update mocks
* Fix build
2019-05-10 10:57:08 -04:00
Miguel de la Cruz
2c0068a288
[MM-15164] Add group commands ( #10812 )
2019-05-10 15:53:01 +01:00
Eli Yukelzon
6a42207c48
MM-15314 - Update Error message in System Console for LDAP result code 4 "Size Limit Exceeded" ( #10818 )
2019-05-10 06:47:03 -07:00
chahat arora
3f3bc5c49c
Update team_test.go ( #10813 )
...
* Update team_test.go
* Update plugin_api_test.go
2019-05-09 16:40:05 -04:00
Artem Leshchev
6e8f7467bb
Add support for threads import from Slack ( fixes #10203 ) ( #10732 )
...
Also add remainders to thread in long message handling and fix file handling.
2019-05-09 13:13:30 -07:00
Michael Kochell
43e95b0b2b
[MM-13507] Plugin framework: auto-restart plugins that crash ( #10781 )
...
* introduce plugin health check
* implement plugin health check job
* add support for checking pid of plugin process and RPC ping, to determine a plugin's health
* implement restart policy with back-offs
* support "EnableHealthCheck" boolean from config file.
* add tests for supervisor.PerformHealthCheck() and shouldDeactivatePlugin()
* improve error handling. clean up if blocks to be more concise
2019-05-09 13:08:31 -07:00
Martin Kraft
818e0470df
MM-15261: Do not remove bot accounts from teams or channels. ( #10810 )
...
* MM-15261: Do not remove bot accounts from teams.
* MM-15261: Do not remove bot accounts from channels.
2019-05-09 09:37:02 -04:00
Siyuan Liu
27566f6a06
[MM-13033] Continue bulk import on large image error ( #10780 )
...
* [MM-13033] Continue bulk import on large image error
* add tests, review comments
* Update app/import_functions.go
Co-Authored-By: liusy182 <liusy182@hotmail.com >
2019-05-08 22:29:42 +02:00
Christopher Speller
66cb36f5dc
Move setting plugin helpers to a seperate function to avoid breaking changes. ( #10809 )
2019-05-08 14:54:52 -04:00
Puneeth Reddy
6ce3cc6921
MM-15290: Migrate commandStore.GetByTrigger to sync by default ( #10741 )
...
* MM-15290: migrate command.GetByTrigger to sync by default
* Fix build
* MM-15290: fix go vet issue
2019-05-07 20:44:30 +02:00
Shobhit Gupta
9ab3cc9051
Change Channel.GetChannelUnread to sync ( #10804 )
...
* Change Channel.GetChannelUnread to sync
* Address comments
2019-05-07 18:15:12 +02:00
Joram Wilander
efe9d0a5f8
Fix panic in markdown link parsing ( #10785 )
2019-05-07 09:14:35 -04:00
Puneeth Reddy
4f7f7070c0
MM 15185 - Migrate "WebHook.GetOutgoingByChannel" to Sync by default ( #10704 )
2019-05-07 13:50:03 +02:00
Christopher Speller
6d336e0666
Adding EnsureBot plugin helper. ( #10542 )
...
* Adding EnsureBot plugin helper.
* Removing unessisary GetBot call.
* Moving to own file and error handling cleanup.
* Removing patch functionaliy. Plugins should manage their own bot account updates for now.
* Adding tests and cleaning up errors.
* Modify to not shadow err.
* Moving helpers to seperate interface.
* Feedback fixes
2019-05-06 12:44:38 -07:00
Puneeth Reddy
2d3fb4f426
MM-15288: Migrate CommandStore.Get to sync by default ( #10739 )
...
* MM-15288: Migrate Command.Get to sync by default
* addressing review comments, updating status code of err returned by Get Method
2019-05-06 18:12:41 +02:00
Siyuan Liu
fc15eda37f
[MM-14719] convert users to bots through cmd ( #10672 )
...
* [MM-14719] convert users to bots through cmd
* address review comments, add / fix unit tests
* change command from "modify" to "convert"; review comments
* code review comments, clean up
2019-05-06 07:59:51 -07:00
Harrison Healey
dce6cb601f
MM-14686 Send all image proxy requests through /api/v4/image ( #10775 )
...
* MM-14686 Implement /api/v4/image when proxy is disabled
* MM-14686 Send all image proxy requests through /api/v4/image
* Update unit tests
2019-05-06 09:22:37 -04:00
d28park
4552c20d5b
[MM-12958] Support running two Mattermost instances on the same domain using subpaths ( #10493 )
2019-05-03 22:52:32 +02:00
Jesús Espino
e063b74337
Fixing flaky test in view members ( #10784 )
2019-05-02 21:03:39 -04:00
Hanzei
8049608858
Remove outdated information from contributing file ( #10749 )
2019-05-01 23:46:00 +02:00
Puneeth Reddy
b462941f48
[MM-15192] Migrate "WebHook.AnalyticsOutgoingCount" to Sync by default ( #10711 )
2019-05-01 16:37:29 +02:00
Dan Maas
2b6573316d
Update NOTICE.txt ( #10773 )
...
- go-i18n is using a forked version now
- misc package metadata updates
2019-05-01 16:33:07 +02:00
Puneeth Reddy
ebbfdf9e5c
MM-15291: migrate commandStore.Delete to sync by default ( #10742 )
2019-05-01 09:10:27 +02:00
Elias Nahum
e6be06b3fc
MM-14289 & MM-14884 Push notification acknowledge id and include sender name ( #10736 )
...
* MM-14289 Add Push notification acknowledge identifier and store tracing logs
* MM-14884 include SenderName property in Push Notifications
* Remove @ sign from channel Name in push notifications
* Fix i18n
* Fix push notification model
* fix TestPostNotificationGetChannelName
* Remove colon from model constant
* Fix Notification Registry tests
* Make postId optional for clear notifications
* Update http status when service is not available
Co-Authored-By: enahum <nahumhbl@gmail.com >
2019-04-30 18:15:29 -04:00
Harrison Healey
e50b642e43
MM-14030 Add format and frame count to image metadata ( #10757 )
...
* MM-14030 Add initial CountFrames
* MM-14030 Add format and frame count to image metadata
* Fix tests and stop using image dimensions from OpenGraph
* Fix copyright header
* Move license to NOTICE.txt
2019-04-30 16:45:26 -04:00