Commit Graph

7862 Commits

Author SHA1 Message Date
Joram Wilander
06f89cea30 Final fixes for moving unread handling to client (#5392) 2017-02-13 15:19:41 -05:00
Joram Wilander
892f8f4651 Fix ignore unread and DM unreads (#5391)
* Fix ignoring unreads in channels

* Fix DM unreads
2017-02-13 13:50:08 -05:00
Joram Wilander
67dd6c1ec6 Fix unread error (#5390) 2017-02-13 13:23:39 -05:00
Corey Hulen
0a21eed004 Disabling email mention test (#5381) 2017-02-13 11:36:18 -05:00
Asaad Mahmood
88889a9b0e PLT-5470 - Timestamps not visible on dark theme (#5379)
* PLT-5277 - Adjusting textbox on tablet view

* PLT-5277 - Adjusting text area on mobile view

* PLT-5097 - Updating styles for remove image

* PLT-5217 - Updating styles for mobile code block

* PLT-5470 - Timestamps not visible on dark theme
2017-02-13 10:54:36 -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
Robin Naundorf
260f1111e8 PLT-5208: Trigger Invitation by pressing Enter (#5305) 2017-02-13 10:50:25 -05:00
Robin Naundorf
54c699b7ca Fix typo (#5380)
* Replace 'recieve' with 'receive'
2017-02-13 15:29:54 +00:00
Joram Wilander
ff741740ee Increase performance when receiving messages (#5375) 2017-02-13 09:27:28 -05:00
David Lu
fac85b676e Revert "PLT-5281 Add link to team URL error" (#5372) 2017-02-13 08:15:04 -05:00
Joram Wilander
d05525e216 Fix copy/paste error for getting users (#5373) 2017-02-12 15:17:34 -05:00
Debanshu Kundu
eab15da321 PLT-5455 Added caching for OG metadata of link preview. (#5361) 2017-02-12 11:31:49 -05:00
Björn Roland
37222ec1b3 Revert "#5108 Use <time> element for channel headers and search result headers" (#5359) 2017-02-10 17:58:38 -05:00
enahum
e47918e8ca translations PR 20170206 (#5319)
* translations PR 20170206

* Fix platform zh_TW
2017-02-10 17:29:49 -03:00
Asaad Mahmood
c03cc2fb3c Multiple Ui improvements (#5349)
* PLT-5277 - Adjusting textbox on tablet view

* PLT-5277 - Adjusting text area on mobile view

* PLT-5097 - Updating styles for remove image

* PLT-5217 - Updating styles for mobile code block
2017-02-10 07:05:40 -08:00
Christopher Speller
2a9c1afd44 Adding webhook metrics (#5348) 2017-02-10 07:05:12 -08:00
Joram Wilander
58dcf6984b Add cluster request time logging for master (#5347) 2017-02-10 07:04:14 -08:00
Christopher Speller
9934954d18 Adding websocket event metrics (#5342) 2017-02-10 07:01:08 -08:00
Andrei Stanciu
1bbed1cb2b Add permalink to timestamp (#5206)
* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* fix error with duplicated import

* underline permalink on hover
2017-02-10 06:56:48 -08: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
Akihiko Odaki
432dc9239f Let emoji_store.jsx use Client APIs to resolve URLs (#5302) 2017-02-08 18:23:24 +00:00
Mika Andrianarijaona
11e0a7daa2 display loading screen when changing team (#5325)
* display loading screen when changing team

* fix lint error
2017-02-08 08:40:32 -08:00
Björn Roland
829f3cce95 #5108 Use <time> element for channel headers and search result headers (#5331) 2017-02-08 08:38:59 -08:00
George Goldberg
8277945363 PLT-5427: Import ChannelMember Notify Props. (#5329) 2017-02-08 08:19:38 -08:00
Robin Naundorf
ff2a36e9c0 Fix warning when opening rhs (#5335)
* Fix: `Warning: Failed prop type: Invalid prop `isCommentsPage` of
  type `string` supplied to `SearchBar`, expected `boolean`.`
2017-02-08 16:11:06 +00:00
Joram Wilander
f1c9ae5686 Error on blank post IDs for get post query (#5326) 2017-02-08 02:07:17 -08:00
Ruzette Tanyag
0162d8ad08 Implement GET /users/username/{username} endpoint for APIv4 (#5310)
* added get user by username endpoint

* added get user by username unit test and driver

* changed username length to 22 characters max

* changed Params to UserName to Username

* reorganized get user by username and get user by email formatting in model/client4
2017-02-08 02:00:16 -08:00
Joram Wilander
5462f0119e Implement a few channel member endpoints for APIv4 (#5304)
* Implement GET /channels/{channel_id}/members

* Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4

* Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4

* Fix unit test
2017-02-07 14:58:27 -08:00
Joram Wilander
487bb56a9b Add caching for file infos (#5330) 2017-02-07 12:36:37 -08:00
Joram Wilander
eb767d2c1c Implement password reset endpoints for APIv4 (#5256) 2017-02-07 10:46:40 -08:00
Robin Naundorf
f7d5a77060 Fix issue introduced by adding webapp/utils/url.jsx (#5327)
New location for getShortenedTeamURL() was missing in new channel
modal.
2017-02-07 10:15:32 -08:00
Joram Wilander
9dc76c1823 Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243) 2017-02-07 09:35:58 -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
Ruzette Tanyag
d91fea6518 Implement GET /users/email/{email} endpoint for APIv4 (#5309)
* added get user by email endpoint for APIv4

* added get user by email endpoint unit test and driver

* removed the appended return of user ids on logout

* Added RequireEmail to validate user email. Also updated the get user by email endpoint and unit test
2017-02-07 11:54:07 -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
Robin Naundorf
439d5b7ed7 PLT-5336: Allow Header of 1024 chars in New Channel Modal (#5294) 2017-02-07 07:20:35 -08:00
Akihiko Odaki
68a05653ea Add webapp/utils/url.jsx (#5285)
webapp/utils/utils.jsx got big and that caused a potential circular
dependency with webapp/stores/team_store.jsx. This change solves the
issue by introducing webapp/utils/url.jsx and moving URL-related
functions, which is not likely to depend on actions and stores, from
webapp/utils/utils.jsx.
2017-02-07 07:20:01 -08:00
Pepijn
9bdea0de80 Defering calculations for determining if user scrolled to bottom or not. slight delay improves the accuracy in responsive view (#5244) 2017-02-07 07:18:20 -08:00
Pierre Rudloff
466bd8415d Add a notification for new messages on mobile (#5179) (#5234) 2017-02-07 07:15:02 -08:00
Saturnino Abril
0dae6d015a Disable send icon until valid message or file counts (#5214) 2017-02-07 07:13:07 -08:00
AymaneKhouaji
17d1ed114c Support all timecode formats for YouTube preview (#4957) (#5032) 2017-02-06 22:25:08 -08:00
Jason Blais
233f43e47f Fix typo in en.json (#5313) 2017-02-06 17:40:01 -08:00
Joram Wilander
9b9cd2b2a1 Add config.json to gitignore (#5276) 2017-02-05 12:22:40 -05:00
Ruzette Tanyag
fc43bf0581 Implement DELETE /users/{user_id endpoint for APIv4 - rebase cleanup (#5307)
* added delete user endpoint

* added unit test for delete user endpoint

* added delete user driver
2017-02-05 09:20:17 -08:00
Christopher Speller
aa75f981e1 Adding PostId index (#5300) 2017-02-03 18:34:37 -05:00
Christopher Speller
30cd39ae05 Removing parentId from delete post queries (#5298) 2017-02-03 18:34:20 -05:00
Joram Wilander
7ff2aef7fa Implement GET /users endpoint for APIv4 (#5277) 2017-02-03 15:17:34 -05:00
Harrison Healey
948b557453 Partially reverted 7e9cf13aa3 (#5295) 2017-02-03 14:21:10 -05:00
Joram Wilander
9312469ad5 Implement POST /channels/direct endpoint for APIv4 (#5283) 2017-02-03 10:27:12 -05:00
Joram Wilander
ccb0343828 Implement POST /users/ids endpoint for APIv4 (#5274) 2017-02-03 09:30:57 -05:00