Joram Wilander
69cac604e0
Implement create and get incoming webhook endpoints for APIv4 ( #5407 )
...
* Implement POST /hooks/incoming endpoint for APIv4
* Implement GET /hooks/incoming endpoint for APIv4
* Updates per feedback
2017-02-21 19:42:34 -05:00
George Goldberg
8bbe5dfb2f
Fix permission grants for channel management. ( #5478 )
...
When selecting the Channel, Team & System level for channel permissions,
they must be explicitly granted to the Channel *and* the Team admins.
2017-02-21 10:47:28 -05:00
Corey Hulen
274b9b6032
Fixing file info caching issue with Aurora for master ( #5477 )
2017-02-20 13:40:32 -05:00
Joram Wilander
dd4d8440ea
Implement a few channel member endpoints for APIv4 ( #5444 )
...
* Implement POST /channels/members/{user_id}/view endpoint for APIv4
* Implement PUT /channels/{channel_id}/members/{user_id}/roles endpoint for APIv4
* Implement DELETE /channels/{channel_id}/members/{user_id} endpoint for APIv4
2017-02-20 13:31:52 -03:00
Joram Wilander
91fe8bb2c0
Implement upload and get file endpoints for APIv4 ( #5396 )
...
* Implement POST /files endpoint for APIv4
* Implement GET /files/{file_id} endpoint for APIv4
2017-02-17 10:31:21 -05:00
Corey Hulen
01a8114aa3
Adding emoji caching ( #5433 )
2017-02-15 19:25:33 -05:00
Corey Hulen
1d6ea40022
Adding caching to profile images to master ( #5428 )
...
* Adding caching to profile images
* Fixing break
* Adding back in failed read
* Fixing build break
* Fixing break
2017-02-15 18:54:41 -05:00
Joram Wilander
db2966b7cb
Remove MakeDirectChannelVisible and add client handling for showing DMs ( #5430 )
2017-02-15 18:54:24 -05:00
enahum
daf7a15d3b
APIv3 append offset and limit to getProfiles etag ( #5421 )
...
* APIv3 append offset and limit to getProfiles etag
* add separator between offset and limit
2017-02-15 14:36:10 -03:00
Corey Hulen
2e0cf56e86
Fixing websocket auth then sending challenge ( #5406 )
2017-02-14 17:25:40 -05:00
Corey Hulen
0a21eed004
Disabling email mention test ( #5381 )
2017-02-13 11:36:18 -05:00
Joram Wilander
e4effd0c15
Implement some post endpoints for APIv4 ( #5353 )
...
* Implement POST /posts endpoint for APIv4
* Implement GET /channels/{channel_id}/posts endpoint for APIv4
* Implement GET /posts/{post_id} endpoint for APIv4
* Implement GET /posts/{post_id}/thread endpoint for APIv4
* Skip team get if it's a DM channel in handlePostEvents
2017-02-13 10:52:50 -05:00
Joram Wilander
ff741740ee
Increase performance when receiving messages ( #5375 )
2017-02-13 09:27:28 -05:00
Debanshu Kundu
eab15da321
PLT-5455 Added caching for OG metadata of link preview. ( #5361 )
2017-02-12 11:31:49 -05:00
Corey Hulen
1359f7f391
Adding go vet from hack-a-thon ( #5328 )
...
* Adding go vet to the api package
* Adding go vet to app package
* Adding go vet to manualtesting package
* Adding go vet to the model package
* Adding go vet to the store dir
* Adding go vet to utils package
* Adding missing dirs with go files
* Fixing up makefile
* Fixing up makefile
* Removing root dir
2017-02-09 21:39:15 +00:00
Joram Wilander
487bb56a9b
Add caching for file infos ( #5330 )
2017-02-07 12:36:37 -08:00
Joram Wilander
ba18374bd1
Implement a few team endpoints for APIv4 ( #5296 )
...
* Implement GET /teams/{team_id} endpoint for APIv4
* Implement GET /users/{user_id}/teams endpoint for APIv4
* Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-02-07 08:57:41 -08:00
Debanshu Kundu
5cc30fa061
PLT-5379 Fix the error occuring while fetching OG metadata for links which don't exist. ( #5308 )
2017-02-07 07:26:14 -08:00
Joram Wilander
7ff2aef7fa
Implement GET /users endpoint for APIv4 ( #5277 )
2017-02-03 15:17:34 -05:00
Joram Wilander
ccb0343828
Implement POST /users/ids endpoint for APIv4 ( #5274 )
2017-02-03 09:30:57 -05:00
Christopher Speller
701d1ab638
Updating server dependancies ( #5249 )
2017-02-02 09:32:00 -05:00
Joram Wilander
609d4f43d9
Implement POST /channels endpoint for APIv4 ( #5241 )
2017-02-02 09:04:36 -05:00
Christopher Speller
6054dee806
Fixing websocket origin policy
2017-01-31 12:23:05 -05:00
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