Joram Wilander
97de1d0982
Fix blanking out of FileIds and backwards compatability issue with v3 ( #5950 )
2017-04-04 15:17:47 -04:00
Harrison Healey
c7bdce8a66
PLT-5900 Removed automatic configuration of SiteURL ( #5952 )
...
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705 )"
This reverts commit a8e68bd890 .
* Removed automatic configuration of SiteURL
* Reverted unintentional config changes
* Updated help text
* Added link to docs in Site URL warning
* Fixed merge conflict
2017-04-04 11:54:52 -04:00
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
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
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Gabin Aureche
fe38d6d5bb
Add pinned posts ( #4217 )
2017-03-13 12:25:08 +00:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
Joram Wilander
e87f5c6cf9
Add system console switch for enabling link previews ( #5663 )
2017-03-06 21:13:12 -05:00
George Goldberg
f4aebed220
PLT-5355: Fix permalink to private/direct channels. ( #5574 )
...
Appropriate permission checks depend on the type of channel this
permalink links to.
2017-03-02 09:08:00 -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
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
Debanshu Kundu
eab15da321
PLT-5455 Added caching for OG metadata of link preview. ( #5361 )
2017-02-12 11:31:49 -05: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
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
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
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
Amit Yadav
99cf08ac38
Message Editing and Deleting permissions ( #4692 )
2017-01-18 08:08:31 -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
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
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
4fb9787fee
Fixing bulk loading perf issue ( #4974 )
2017-01-06 10:03:31 -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
42e04d92c4
Adding memcache to getchannel ( #4928 )
2017-01-03 11:53:59 -03:00
Joram Wilander
217cdf447a
PLT-5073 Improve performance of /channels/view endpoint ( #4881 )
...
* Improve performance of /channels/view endpoint
* Fix store unit test
2016-12-23 10:32:30 -05:00
Christopher Speller
ffd6ccde2e
Adding caching of last 60 posts. ( #4880 )
2016-12-22 15:14:54 -08:00
Christopher Speller
c434e84114
Adding session cache directly to web-conn ( #4861 )
2016-12-22 07:52:02 -05:00
Christopher Speller
148fd01b54
Modifying post etag cache to apply to getPostsSince ( #4837 )
2016-12-20 11:41:04 -03:00
Christopher Speller
f96173528f
Adding metrics for caching mechanisms ( #4828 )
2016-12-19 10:16:22 -05:00
enahum
999d1553e1
PLT-4167 Team Sidebar ( #4569 )
...
* PLT-4167 Team Sidebar
* Address feedback from PM
* change route from my_members to members
* bug fixes
* Updating styles for teams sidebar (#4681 )
* Added PM changes
* Fix corner cases
* Addressing feedback
* use two different endpoints
* Bug fixes
* Rename model and client functions, using preferences to store last team and channel viewed
* Fix mobile notification count and closing the team sidebar
* unit test, fixed bad merge and retrieve from cached when available
* bug fixes
* use id for last channel in preferences, query optimization
* Updating multi team css (#4830 )
2016-12-19 08:05:46 -05:00
Christopher Speller
86fb0d87a3
Adding caching layer to some posts calls ( #4779 )
2016-12-14 00:24:24 -03:00
Corey Hulen
2e58f7504b
PLT-4983 Adding file info caching ( #4781 )
2016-12-14 00:23:56 -03:00
Harrison Healey
ba8c98d722
Fixed sender's username not being sent with websocket posted messages ( #4736 )
2016-12-08 10:34:38 -05:00
Carlos Tadeu Panato Junior
53cd544710
Push and Email Notifications should follow "Teammate Name Display" setting ( #4660 )
...
* Push Notifications and Email Notifications should follow "Teammate Name Display" setting
* get the display name notification from the receiver
2016-12-07 18:14:04 -05:00
enahum
e57cba15ea
PLT-4762 Prevent turn off of (at)mentions (server) ( #4714 )
2016-12-06 10:57:38 -05:00
Joram Wilander
f013d91b89
Count posts to DMs as mentions when from webhooks ( #4676 )
2016-12-01 09:22:38 -03:00
Corey Hulen
b212acf312
PLT-4429 disabling at_all at_channel metions mentions when channel has more than 1k users ( #4627 )
...
* PLT-4429 disabling explicit mentions when channel has more than 1k users
* Fixing test case
* Adding setting to the admin console
* Fixing bad translation
2016-11-24 08:26:45 -05:00
Corey Hulen
7961599b2e
PLT-4357 adding performance monitoring ( #4622 )
...
* WIP
* WIP
* Adding metrics collection
* updating vendor packages
* Adding metrics to config
* Adding admin console page for perf monitoring
* Updating glide
* switching to tylerb/graceful
2016-11-22 14:05:54 -05:00
Corey Hulen
bc0c52fb77
PLT-4598 add team id to push notification ( #4623 )
2016-11-21 22:55:43 -03:00
Joram Wilander
29cfa2e64f
Clear context error on post creation when create_at is set ( #4615 )
2016-11-21 12:19:21 -05:00
enahum
5cf0405411
Fix DM panic when user hasn't joined any team ( #4604 )
2016-11-21 07:18:05 -08:00
Rachel Willmer
a25afb1134
Fix SystemAdmin use of CreateAt in CreatePost API ( #4349 ) ( #4408 )
2016-11-17 14:05:53 -05:00
enahum
baf1fb6fea
PLT-4618 Fix email subjects ( #4537 )
2016-11-14 07:11:54 -05:00
enahum
205ccd1bd4
PLT-4492 Mentions with a comma after them don't trigger notification jewel ( #4451 )
...
* PLT-4492 Mentions with a comma after them don't trigger notification jewel
* Fix mentions for usernames with dots
2016-11-04 15:15:17 -04:00
Christopher Speller
98131a293a
Fixing joining of channels via permalinks for system admins. ( #4409 )
2016-11-01 13:23:26 -04:00