Joram Wilander
aba07e5cb9
PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ( #5765 )
...
* Fix bug where flagged posts endpoint returned posts on other teams
* Include flagged posts from DMs/GMs
2017-03-31 12:25:39 -04:00
Saturnino Abril
2f15523fe8
APIv4 put /posts/{post_id}/patch ( #5883 )
...
* APIv4 put /posts/{post_id}/patch
* Add props and edit permission
2017-03-29 08:06:51 -07:00
Joram Wilander
69fb47b88b
Add query parameters to get posts v4 endpoint ( #5858 )
...
* Add since query paremeter to get posts v4 endpoint
* Add query paremeters for before/after to get posts v4 endpoint
2017-03-24 13:46:11 -07:00
Josta Yee
e86add77ad
Add http_proxy support for http client ( #5571 )
...
- if 'http_proxy' environment variable is set, respect it when creating http client
- otherwise initialize a http client with timeout settings
Add ogjson to cache even when it fails
in this way we can prevent from requesting unparsable urls repeatedly
Extend expire time of cached link preview data to a week
There's no need to invalidate cache and send request again frequently
Revert timeout
Revert cache_expire_time
2017-03-20 10:20:42 -03:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
Harrison Healey
5d62b3661b
Added additional validation for slack attachment format on server ( #5680 )
2017-03-08 09:15:33 +00:00
Josta Yee
23be0167f4
Set timeout to http client ( #5540 )
...
Update client
2017-02-28 17:59:53 -05:00
Ruzette Tanyag
9646bddd21
Implement posts endpoints for APIv4 ( #5480 )
...
* Implement delete post endpoint for apiv4
* Implement POST search post endpoint for APIv4
* removed delete post quotes
* rearrange formatting
2017-02-21 07:36:52 -05:00
Corey Hulen
274b9b6032
Fixing file info caching issue with Aurora for master ( #5477 )
2017-02-20 13:40:32 -05:00
Harrison Healey
eadf37ad7a
Added NewPostList constructor to set fields to be non-null ( #5440 )
2017-02-16 15:53:04 -05:00
Joram Wilander
db2966b7cb
Remove MakeDirectChannelVisible and add client handling for showing DMs ( #5430 )
2017-02-15 18:54:24 -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
487bb56a9b
Add caching for file infos ( #5330 )
2017-02-07 12:36:37 -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
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
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
Joram Wilander
e8d7701b60
PLT-5284 Fix webhook notifications for channel creator is not in ( #5119 )
...
* Fix webhook notifications for channel creator is not in
* Fix unit test
2017-01-20 09:43:14 -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