summaryrefslogtreecommitdiffstats
path: root/app/post.go
Commit message (Collapse)AuthorAgeFilesLines
* Add http_proxy support for http client (#5571)Josta Yee2017-03-201-5/+31
| | | | | | | | | | | | | | | | - 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
* PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-9/+9
|
* Added additional validation for slack attachment format on server (#5680)Harrison Healey2017-03-081-29/+9
|
* Set timeout to http client (#5540)Josta Yee2017-02-281-3/+10
| | | Update client
* Implement posts endpoints for APIv4 (#5480)Ruzette Tanyag2017-02-211-0/+1
| | | | | | | | | | * Implement delete post endpoint for apiv4 * Implement POST search post endpoint for APIv4 * removed delete post quotes * rearrange formatting
* Fixing file info caching issue with Aurora for master (#5477)Corey Hulen2017-02-201-2/+2
|
* Added NewPostList constructor to set fields to be non-null (#5440)Harrison Healey2017-02-161-1/+1
|
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-151-8/+0
|
* Implement some post endpoints for APIv4 (#5353)Joram Wilander2017-02-131-8/+24
| | | | | | | | | | | | * 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
* Add caching for file infos (#5330)Joram Wilander2017-02-071-1/+2
|
* PLT-5379 Fix the error occuring while fetching OG metadata for links which ↵Debanshu Kundu2017-02-071-1/+1
| | | | don't exist. (#5308)
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-3/+3
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* More app code migration (#5170)Joram Wilander2017-01-251-0/+305
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* PLT-5284 Fix webhook notifications for channel creator is not in (#5119)Joram Wilander2017-01-201-4/+4
| | | | | | * Fix webhook notifications for channel creator is not in * Fix unit test
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+196
* 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