Commit Graph

1093 Commits

Author SHA1 Message Date
Christopher Speller
3d8acd4ee1 Fixing minio not closing read object (#4971) 2017-01-04 16:34:37 -05:00
Joram Wilander
461a39c497 Fix bad merge causing unread update issue (#4966) 2017-01-04 16:17:12 -05:00
Christopher Speller
635628cf30 Removing old signup team API (#4950) 2017-01-04 14:11:47 -05:00
George Goldberg
95172f1b4b PLT-5017 Fix import of Slack webhook/bot messages. (#4964) 2017-01-04 13:42:23 -05:00
Christopher Speller
a71fc7ff7f Removing old createTeamFromSignup api (#4945) 2017-01-03 17:12:55 -05:00
Corey Hulen
f48c646208 Fixing should send event removing extra go channel creation (#4942) 2017-01-03 13:45:45 -03:00
Corey Hulen
4467ce65cb Fixing TODO comment in web_hub.go (#4938) 2017-01-03 10:58:58 -05:00
Corey Hulen
d2c43a6b1c Removing un-needed go func (#4939) 2017-01-03 10:58:38 -05:00
Joram Wilander
8945bd6cd0 Fix msg command so that it doesn't try to pull all user profiles at once (#4936) 2017-01-03 10:09:19 -05:00
Christopher Speller
4bca74d5c1 Adding Etag to user profile pictures. (#4926) 2017-01-03 11:56:30 -03:00
Christopher Speller
42e04d92c4 Adding memcache to getchannel (#4928) 2017-01-03 11:53:59 -03:00
George Goldberg
547524e5ad PLT-4955 Fixes DM initiation by Slack Import users. (#4933)
Fixes #4707
2017-01-03 11:51:27 -03:00
George Goldberg
53509174b1 PLT-5018 Fix thumbnails of imported attachments. (#4934) 2017-01-03 11:50:53 -03:00
Joram Wilander
8bd50724a6 Remove TODOs that now have tickets (#4935) 2017-01-03 11:39:29 -03:00
Joram Wilander
2a91e5e031 Clean up /logout command flow and errors (#4918) 2016-12-30 13:12:43 -05:00
Carlos Tadeu Panato Junior
21af988e49 Add initial unit test for post.getPostById() (#4910)
* add itinial tests for GetPostById

update per review

fix lint

* add missing comment
2016-12-30 13:44:04 -03:00
Joram Wilander
5811acca7f Fix join message sometimes not appearing (#4909) 2016-12-28 09:25:11 -05:00
Yusuke Nemoto
2294936595 PLT-4648 break /shortcuts block (#4829) 2016-12-28 10:46:11 -03:00
Carlos Tadeu Panato Junior
5fd11bd674 Add API call to get a user by their email address (#4884)
* Add API call to get a user by their email address

* update per review
2016-12-28 10:44:32 -03:00
Joram Wilander
6f4e6386fb Don't autocomplete users by email (#4896) 2016-12-26 09:38:34 -05: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
George Goldberg
ca61b4bed9 PLT-5080 (Server): Channel-Admin level permissions (#4874)
Adds permissions for manage/delete public/private channels at the
Channel Admin level.
2016-12-22 15:44:37 -05:00
Joram Wilander
a793eb8651 Skip intensive stat DB queries when more than a set number of users on the system (#4876) 2016-12-22 17:00:05 -03:00
Joram Wilander
15638d7405 Return 400 bad request codes for webhooks when attachment or text is too long (#4879) 2016-12-22 16:58:21 -03:00
George Goldberg
53847af2c4 API for getting channel members by IDs. (#4877) 2016-12-22 10:21:05 -08:00
Joram Wilander
52c4538817 Remove new user event handling on client (#4822) 2016-12-22 10:35:55 -05:00
Christopher Speller
c434e84114 Adding session cache directly to web-conn (#4861) 2016-12-22 07:52:02 -05:00
Joram Wilander
ba6e370ca7 PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API (#4840)
* Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API

* Remove preference DB writes
2016-12-21 16:35:01 -05:00
enahum
139cb52c99 Fix teams unread count (#4848)
* Fix teams unread

* Moving logic out of the store

* fix unit test
2016-12-21 11:20:11 -08:00
George Goldberg
dce4205699 PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)
* Server side changes.

* Fix unit tests and default config.
2016-12-21 11:18:41 -08:00
Corey Hulen
2c09582d89 Fixing image profiles (#4863)
* Fixing image profiles

* Fixing break
2016-12-21 08:33:04 -05:00
Carlos Tadeu Panato Junior
b9092ca2f5 Fix API Get channels for a user returns users' dm channels with blank teamid (#4748)
* fix API Get channels for a user returns users' dm channels with blank team ID

add check in the context.go

add suggestion

made adjustment per review and support from @joram

* update tests

* add check if needd user or admin permissions

* update per review
2016-12-20 07:55:22 -08:00
Christopher Speller
148fd01b54 Modifying post etag cache to apply to getPostsSince (#4837) 2016-12-20 11:41:04 -03:00
Joram Wilander
2da388d297 Fixes for the /echo command (#4843) 2016-12-20 09:28:00 -05:00
Joram Wilander
1f67c91fce Prevent accidental removal of user from town square (#4842) 2016-12-20 09:27:29 -05:00
Nick Frazier
e9a1a8d3d9 GH-4685 Post a System Message when channel is renamed (#4762)
* test changes

* added system message when displayname changed

* added test

* gofmt
2016-12-20 08:56:45 -05: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
Zeger-Jan van de Weg
f4450c4bbc Fix typo (#4814) 2016-12-16 13:10:11 +00:00
Corey Hulen
2e5ae55e69 PLT-4923 Changing missing license to info msg (#4810) 2016-12-16 08:01:15 -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
Corey Hulen
aacbe99548 PLT-4982 Adding caching to user profiles (#4782) 2016-12-14 00:23:36 -03:00
Harrison Healey
51b794501e Fixed encoding of file name when downloading attachments (#4787) 2016-12-14 00:18:54 -03:00
Corey Hulen
1b6b69fa87 Fixing etag issue with load tests (#4777) 2016-12-13 12:10:28 -05:00
Joram Wilander
30a10d35a8 PLT-4767 Implement MFA Enforcement (#4662)
* Create MFA setup page and remove MFA setup from account settings modal

* Add enforce MFA to system console and force redirect

* Lockdown mfa required API routes, add localization, other changes

* Minor fixes

* Fix typo

* Fix some unit tests

* Fix more unit tests

* Minor fix

* Updating UI for MFA screen (#4670)

* Updating UI for MFA screen

* Updating styles for MFA page

* Add the ability to switch between email/sso with MFA enabled

* Added mfa change email

* Minor UI updates for MFA enforcement

* Fix unit test

* Fix client unit test

* Allow switching email to ldap and back when MFA is enabled

* Fix unit test

* Revert config.json
2016-12-12 10:16:10 -03:00
Carlos Tadeu Panato Junior
f0d71d8789 Add API call to get a channel by its name (#4700)
* add api for getByChannelName

* add tests

* fix test

* rename and tests

* check for permissions and test
2016-12-11 21:30:37 -08:00
Yusuke Nemoto
b5fcfd608c gh-4759 add system message feedbak for expand/collapse command (#4761) 2016-12-11 21:26:53 -08:00
Yusuke Nemoto
ddacfa58ba PLT-1598 Slash command works in RHS (#4367)
* PLT-1598 Slash command works in RHS

* fix UserProfile in the reply for Slash Command

* fix some problem about the system messages in RHS
* system message in RHS isn't displayed as comment for root message

* remove status indicator for system message in RHS

* system message in RHS is colored to grey

* system messages don't count as commented post

* fix bug about cleaning draft in RHS

* remove unnecessary function

* implement new model for executing command
2016-12-09 23:35:16 -05:00