Commit Graph

1107 Commits

Author SHA1 Message Date
George Goldberg
4e160c78ab PLT-5050 (Server). API to update channel member roles. (#5043)
Implements API reference proposal mattermost-api-reference:#66.
2017-01-13 10:52:32 -03:00
George Goldberg
6c814c72ec PLT-4317: Fix Desktop App platform in sessions list. (#5048)
Incidentally fixes displaying the Linux icon next to sessions on Linux
at the same time.
2017-01-13 10:47:10 -03:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Joram Wilander
046d2c61a5 Fix slack link parsing for integrations without attachments (#5050) 2017-01-12 15:08:48 -05:00
Debanshu Kundu
739f32272f PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923) 2017-01-12 10:47:29 -05:00
Christopher Speller
5be99e1f85 Fixing DM channel emails (#5038) 2017-01-10 16:17:08 -05:00
Joram Wilander
4101b28de5 Use status cache for checking @here notifications (#5035) 2017-01-10 11:38:03 -05:00
Joram Wilander
78cadf7d60 Allow joining team from an invite before setting up MFA (#5022) 2017-01-09 14:22:46 -05:00
Zeger-Jan van de Weg
12662d0c87 Slack format for Slash command messages (#4999)
* Slash commands accept Slack format

Until this commit the slash commands only accepted 'text' properties.
For better styling however, Slack formatting support was added.

However, ephemeral messages are not supported, and only text will be
displayed.

* Allow emphemeral Slack messages
2017-01-09 09:25:02 -05:00
Corey Hulen
ba336dce69 PLT-5079 fixing archiving channel not being removed (#5000) 2017-01-06 15:20:02 -05:00
Carlos Tadeu Panato Junior
61771a0fc5 inital draft (#4883) 2017-01-06 12:10:00 -05:00
Corey Hulen
4fb9787fee Fixing bulk loading perf issue (#4974) 2017-01-06 10:03:31 -05:00
Joram Wilander
1ddac9ccf9 Fix SiteURL in join team email (#4979) 2017-01-06 09:10:21 -05:00
George Goldberg
bc08cc0ca5 PLT-4096 fix error/panic on replying to integrations. (#4968) 2017-01-06 09:02:37 -05:00
Christopher Speller
3d8acd4ee1 Fixing minio not closing read object (#4971) 2017-01-04 16:34:37 -05:00
Joram Wilander
461a39c497 Fix bad merge causing unread update issue (#4966) 2017-01-04 16:17:12 -05:00
Christopher Speller
635628cf30 Removing old signup team API (#4950) 2017-01-04 14:11:47 -05:00
George Goldberg
95172f1b4b PLT-5017 Fix import of Slack webhook/bot messages. (#4964) 2017-01-04 13:42:23 -05:00
Christopher Speller
a71fc7ff7f Removing old createTeamFromSignup api (#4945) 2017-01-03 17:12:55 -05:00
Corey Hulen
f48c646208 Fixing should send event removing extra go channel creation (#4942) 2017-01-03 13:45:45 -03:00
Corey Hulen
4467ce65cb Fixing TODO comment in web_hub.go (#4938) 2017-01-03 10:58:58 -05:00
Corey Hulen
d2c43a6b1c Removing un-needed go func (#4939) 2017-01-03 10:58:38 -05:00
Joram Wilander
8945bd6cd0 Fix msg command so that it doesn't try to pull all user profiles at once (#4936) 2017-01-03 10:09:19 -05:00
Christopher Speller
4bca74d5c1 Adding Etag to user profile pictures. (#4926) 2017-01-03 11:56:30 -03:00
Christopher Speller
42e04d92c4 Adding memcache to getchannel (#4928) 2017-01-03 11:53:59 -03:00
George Goldberg
547524e5ad PLT-4955 Fixes DM initiation by Slack Import users. (#4933)
Fixes #4707
2017-01-03 11:51:27 -03:00
George Goldberg
53509174b1 PLT-5018 Fix thumbnails of imported attachments. (#4934) 2017-01-03 11:50:53 -03:00
Joram Wilander
8bd50724a6 Remove TODOs that now have tickets (#4935) 2017-01-03 11:39:29 -03:00
Joram Wilander
2a91e5e031 Clean up /logout command flow and errors (#4918) 2016-12-30 13:12:43 -05:00
Carlos Tadeu Panato Junior
21af988e49 Add initial unit test for post.getPostById() (#4910)
* add itinial tests for GetPostById

update per review

fix lint

* add missing comment
2016-12-30 13:44:04 -03:00
Joram Wilander
5811acca7f Fix join message sometimes not appearing (#4909) 2016-12-28 09:25:11 -05:00
Yusuke Nemoto
2294936595 PLT-4648 break /shortcuts block (#4829) 2016-12-28 10:46:11 -03:00
Carlos Tadeu Panato Junior
5fd11bd674 Add API call to get a user by their email address (#4884)
* Add API call to get a user by their email address

* update per review
2016-12-28 10:44:32 -03:00
Joram Wilander
6f4e6386fb Don't autocomplete users by email (#4896) 2016-12-26 09:38:34 -05:00
Joram Wilander
217cdf447a PLT-5073 Improve performance of /channels/view endpoint (#4881)
* Improve performance of /channels/view endpoint

* Fix store unit test
2016-12-23 10:32:30 -05:00
Christopher Speller
ffd6ccde2e Adding caching of last 60 posts. (#4880) 2016-12-22 15:14:54 -08:00
George Goldberg
ca61b4bed9 PLT-5080 (Server): Channel-Admin level permissions (#4874)
Adds permissions for manage/delete public/private channels at the
Channel Admin level.
2016-12-22 15:44:37 -05:00
Joram Wilander
a793eb8651 Skip intensive stat DB queries when more than a set number of users on the system (#4876) 2016-12-22 17:00:05 -03:00
Joram Wilander
15638d7405 Return 400 bad request codes for webhooks when attachment or text is too long (#4879) 2016-12-22 16:58:21 -03:00
George Goldberg
53847af2c4 API for getting channel members by IDs. (#4877) 2016-12-22 10:21:05 -08:00
Joram Wilander
52c4538817 Remove new user event handling on client (#4822) 2016-12-22 10:35:55 -05:00
Christopher Speller
c434e84114 Adding session cache directly to web-conn (#4861) 2016-12-22 07:52:02 -05:00
Joram Wilander
ba6e370ca7 PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API (#4840)
* Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API

* Remove preference DB writes
2016-12-21 16:35:01 -05:00
enahum
139cb52c99 Fix teams unread count (#4848)
* Fix teams unread

* Moving logic out of the store

* fix unit test
2016-12-21 11:20:11 -08:00
George Goldberg
dce4205699 PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)
* Server side changes.

* Fix unit tests and default config.
2016-12-21 11:18:41 -08:00
Corey Hulen
2c09582d89 Fixing image profiles (#4863)
* Fixing image profiles

* Fixing break
2016-12-21 08:33:04 -05:00
Carlos Tadeu Panato Junior
b9092ca2f5 Fix API Get channels for a user returns users' dm channels with blank teamid (#4748)
* fix API Get channels for a user returns users' dm channels with blank team ID

add check in the context.go

add suggestion

made adjustment per review and support from @joram

* update tests

* add check if needd user or admin permissions

* update per review
2016-12-20 07:55:22 -08:00
Christopher Speller
148fd01b54 Modifying post etag cache to apply to getPostsSince (#4837) 2016-12-20 11:41:04 -03:00
Joram Wilander
2da388d297 Fixes for the /echo command (#4843) 2016-12-20 09:28:00 -05:00
Joram Wilander
1f67c91fce Prevent accidental removal of user from town square (#4842) 2016-12-20 09:27:29 -05:00