Harry Moreno
187bb31bb7
Update emoji_test.go ( #5589 )
...
fix typo
2017-03-01 13:57:11 -05:00
Joram Wilander
5e9adddb6f
Reload license from DB for all cluster app servers ( #5525 )
...
* Reload license from DB for all cluster app servers
* Increase test timeout
2017-02-28 16:39:25 -05:00
Joram Wilander
76fa840b52
Move webhook logic from api layer to app layer ( #5527 )
...
* Move webhook logic from api layer to app layer
* Consolidate error messages
* Fix permission check and unit test
2017-02-28 09:31:53 +00:00
Christopher Speller
83c113595a
Revert "Adding caching to get channel member ( #5518 )"
...
This reverts commit ba028ed74b .
2017-02-27 17:43:23 -05:00
Poornima
19b753467d
Adding edit of incoming webhook ( #5272 )
...
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
2017-02-26 13:48:20 -05:00
Poornima
c0bb6f99f8
Updating user attributes on oauth login ( #5324 )
...
Moving update function to app package
Fixing duplicate userID on create user test
2017-02-26 13:48:01 -05:00
Christopher Speller
ba028ed74b
Adding caching to get channel member ( #5518 )
2017-02-24 09:15:36 -05:00
enahum
748a416961
PLT-3193 Add channel notification preferences for push and email noti… ( #5500 )
...
* PLT-3193 Add channel notification preferences for push and email notifications
* unit tests, model validation and localization
* Feedback review
* Adding back allowFromCache check
* Setting push and email to use default settings
* Move props as constants
* address feedback
2017-02-23 11:08:48 -03:00
Corey Hulen
ca7d3b6e7b
Adding device Id for version 2 of native apps ( #5505 )
...
* Adding device Id for version 2
* Changing ids
2017-02-23 08:53:43 -05:00
Joram Wilander
9f65284ba1
Fix response for malformed command execute request ( #5498 )
2017-02-22 21:32:39 -05:00
Corey Hulen
c7bf42218e
Fixing emoji reactions and Aurora read replica issue for master ( #5499 )
2017-02-22 10:48:47 -05:00
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