Commit Graph

1128 Commits

Author SHA1 Message Date
Joram Wilander
7431050b42 Implement POST /teams endpoint (#5220) 2017-01-31 07:59:36 -05:00
Joram Wilander
c01d9ad6cf Implement APIv4 infrastructure (#5191)
* Implement APIv4 infrastructure

* Update parameter requirement functions per feedback
2017-01-30 08:30:02 -05:00
Harrison Healey
65b76c2712 PLT-5225 Added separate post types for certain system messages (#5193)
* Added separate post types for system_join_leave and system_add_remove posts

* Added username prop to channel deleted posts

* Changed slack import to properly generate the new join/leave messages

* Added username prop to channel update posts

* Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
2017-01-27 15:58:50 -05:00
Joram Wilander
097289f8e4 Merge 3.6.2 into master (#5211)
* Add webhook cache

* Add channel by name cache

* Fxing profiles in channels cache

* Fix merge
2017-01-27 14:07:34 -05:00
Joram Wilander
504f3e1723 Fix siteURL not being set correctly (#5189) 2017-01-25 11:11:26 -05:00
Joram Wilander
d245b29f82 More app code migration (#5170)
* Migrate admin functions into app package

* More user function refactoring

* Move post functions into app package
2017-01-25 09:32:42 -05:00
Christopher Speller
27f76afb28 Closing response body when fetching link previews (#5181) 2017-01-24 20:02:41 -05:00
Joram Wilander
58b3c76c94 Fix adding user to team and add test check (#5172) 2017-01-23 13:43:07 -05:00
Joram Wilander
e9c9688b34 Move permissions code into app package (#5146)
* Move permissions code into app package

* Revert getPosts permission
2017-01-23 08:12:05 -05:00
Christopher Speller
11a688d381 Adding active users statistics to system console (#5141) 2017-01-20 17:24:53 -03:00
Debanshu Kundu
3aaf71fdea #4257 Added functionality to create previews for post links using open graph data from those links. (#4890) 2017-01-20 14:41:13 -03:00
George Goldberg
2de6c5394e Move Slack Import to App Layer. (#5135) 2017-01-20 09:47:14 -05:00
Joram Wilander
d3a285e64d Migrate functions to app package (#5106)
* Refactor and move session logic into app package

* Refactor email functions into the app package

* Refactor password update into app package

* Migrate user functions to app package

* Move team functions into app package

* Migrate channel functions into app package

* Pass SiteURL through to app functions

* Update based on feedback
2017-01-19 09:00:13 -05:00
George Goldberg
8cf4a8d2d7 PLT-4845: Slack import of channel purpose changed messages. (#5110)
Also includes channel header changed messages and channel name changed
messages.
2017-01-18 17:47:32 -03:00
Amit Yadav
99cf08ac38 Message Editing and Deleting permissions (#4692) 2017-01-18 08:08:31 -05:00
George Goldberg
0685afd1d1 PLT-2978: Add channel purpose change system message. (#5094)
Completes original patch by David Lu.
2017-01-17 15:45:18 -05:00
George Goldberg
140bdeb60f PLT-5279: Show username for slash cmd notification. (#5091) 2017-01-17 09:24:55 -05:00
Carlos Tadeu Panato Junior
dc54e640c2 Add inbucket docker image to allow local and automated testing of emails (#4901)
* add docker container for inbucket

* Add way to get the emails using inbucket and add a test for reset password

* add config setting to send emails

* update TestEmailTest

update

* add another test and fix wrong assert

* update per review

fix lint

change senders email

* Revert config.json to default values for EmailSettings section

* update test

* add setup to make the test run
2017-01-17 09:01:41 -05:00
Joram Wilander
4386432834 Fix preferences not loading correctly (#5084) 2017-01-16 18:33:25 -05:00
Joram Wilander
0e2b321e6f Refactor and migrate more functions out of api into app package (#5063) 2017-01-13 15:17:50 -05:00
Joram Wilander
97558f6a6e PLT-4938 Add app package and move logic over from api package (#4931)
* Add app package and move logic over from api package

* Change app package functions to return errors

* Move non-api tests into app package

* Fix merge
2017-01-13 13:53:37 -05:00
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