Commit Graph

8224 Commits

Author SHA1 Message Date
Christopher Speller
67a8770118 Creating unit tests for diagnostics (#5932) 2017-04-03 12:01:32 +01:00
bonespiked
c3d095b465 Add reaction picker (#5904) 2017-04-01 17:00:30 -04:00
Joram Wilander
95da05a8c9 PLT-5750 Add sequence number to websocket connections and events (#5907)
* Add sequence number to websocket connections and events

* Copy pointer instead of pass by value and use int64 over uint64

* Add more logging to missed events
2017-04-01 11:39:13 -04:00
Harrison Healey
d39947f539 Corrected 'hangup' to 'hang up' (#5930) 2017-03-31 13:06:25 -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
Joram Wilander
84826bf563 Re-enable MFA test (#5911) 2017-03-31 10:00:01 -04:00
Saturnino Abril
5d56fbb036 APIv4 POST /posts/{post_id/pin & unpin (#5906)
* APIv4 get /posts/{post_id}/pin & unpin

* remove PinnedPost from api test helper
2017-03-31 09:58:47 -04:00
Joram Wilander
5f6d50bff1 Use 201 status code where appropriate for APIv4 (#5903) 2017-03-31 09:56:20 -04:00
Joram Wilander
4e224c2996 Implement PUT /channels/{channel_id}/members/{user_id}/notify_props for APIv4 (#5901) 2017-03-31 09:55:37 -04:00
Joram Wilander
ea17e8d004 Fix console error and reverted colorpicker upgrade to prevent crash (#5897) 2017-03-31 09:55:03 -04:00
Corey Hulen
00bb479989 PLT-6090 adding ability to read license file from disk (#5895)
* PLT-6090 adding ability to read license file from disk

* Fixing unit test that fails only sometimes

* Fixing test that fails randomly
2017-03-31 09:54:30 -04:00
prixone
fa40bfb9e6 Fixed @ not working on latest build due to... (#5878)
* Fixed @ not working on latest build due to...

On latest build the @ shortcut to search for mentions was not working due to missing parameters on the onListenerChange method, due to changes done previously to post_action and search_bar that were not made to the onListenerChange method.

* Update search_bar.jsx

added fix for when no notification options for mentions is defined by the user...
2017-03-31 09:53:19 -04:00
enahum
bd5b6f19ca translations PR 20170328 (#5899) 2017-03-30 19:07:53 -03:00
Harrison Healey
4092836c94 PLT-1990 Closed markdown preview when edit post modal is closed (#5921) 2017-03-30 13:45:58 -04:00
Harrison Healey
364543c05b PLT-5976 Fixed date of first post in RHS (#5922) 2017-03-30 13:45:17 -04:00
Harrison Healey
689cac535e PLT-2713/PLT-6028 Added System Users list to System Console (#5882)
* PLT-2713 Added ability for admins to list users not in any team

* Updated style of unit test

* Split SearchableUserList to give better control over its properties

* Added users without any teams to the user store

* Added ManageUsers page

* Renamed ManageUsers to SystemUsers

* Added ability to search by user id in SystemUsers page

* Added SystemUsersDropdown

* Removed unnecessary injectIntl

* Created TeamUtils

* Reduced scope of system console heading CSS

* Added team filter to TeamAnalytics page

* Updated admin console sidebar

* Removed unnecessary TODO

* Removed unused reference to deleted modal

* Fixed system console sidebar not scrolling on first load

* Fixed TeamAnalytics page not rendering on first load

* Fixed chart.js throwing an error when switching between teams

* Changed TeamAnalytics header to show the team's display name

* Fixed appearance of TeamAnalytics and SystemUsers on small screen widths

* Fixed placement of 'No users found' message

* Fixed teams not appearing in SystemUsers on first load

* Updated user count text for SystemUsers

* Changed search by id fallback to trigger less often

* Fixed SystemUsers list items not updating when searching

* Fixed localization strings for SystemUsers page
2017-03-30 09:46:47 -07:00
Yusuke Nemoto
9a9729f22f fix typo and missing messages (#5902) 2017-03-30 08:20:55 -07:00
Carlos Tadeu Panato Junior
29e6db5713 Implement POST /users/status/ids for apiv4 (#5894) 2017-03-30 08:09:39 -07:00
Harrison Healey
ee3b983a63 PLT-5035 Added loading of missing profiles when hovering over reactions (#5887) 2017-03-30 09:49:22 -04:00
Corey Hulen
c06a23ea0b PLT-6076 Read config file info from enviroment vars (#5873)
* Adding viper libs for config file changes

* Removing the old fsnotify lib

* updating some missing libs

* PLT-6076 Read config file info from enviroment vars

* Changing unit test to use less important props
2017-03-29 21:13:32 -04:00
Harrison Healey
6ac87d82e3 PLT-2713 Added ability for admins to list users not in any team (#5844)
* PLT-2713 Added ability for admins to list users not in any team

* Updated style of unit test
2017-03-29 21:11:40 -04:00
George Goldberg
a4764a5c10 PLT-6083: API to get users not in a specific team. (#5888) 2017-03-29 21:10:51 -04:00
Asaad Mahmood
6d6b813446 Ui ifxes (#5890)
* PLT-5975 - Back arrow in flag list cutting off

* PLT-6049 - Fixing pin icon color, and hover state

* PLT-5989 - Channel member and pin icon issue

* PLT-6067 - Pinned icon misaligned in firefox

* PLT-5885 - Adjusting icon spacing in modal
2017-03-29 21:07:39 -04:00
prixone
8b868828bf PLT 6125 Allow system admins to create users on closed servers (#5908)
* Update user.go

Added method to create user accounts using a privileged system_admin account

* Update user.go

Added respective method to handle the the APIv4 call to create users with privileged account(system_admin) by passing server restrictions of EnableUserCreation and/or EnableOpenServer set to false.

* Update user_test.go

Added test case
2017-03-29 21:05:32 -04:00
doh5
8d36a1e96a Add ID to System Console in the LHS Header Dropdown (#5900)
* Add ID to System Console in the LHS Header Dropdown

Under TEsting

* Update sidebar_header_dropdown.jsx

* Update sidebar_header_dropdown.jsx
2017-03-29 17:37:03 -04:00
Saturnino Abril
8a31718db1 APIv4 get /channels/{channel_id}/pinned (#5893) 2017-03-29 08:09:05 -07:00
George Goldberg
64f80decaf PLT-6057: Fix empty search results with in/from. (#5892)
When search query was empty but in/from was set, search results didn't
include posts containing hashtags.
2017-03-29 08:08:36 -07:00
Joram Wilander
8dde651ded Remove user from list when selected in DM modal (#5884) 2017-03-29 08:07:10 -07: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
Ryan Wang
31830ffc7b Add extra check before rendering emojis (#5879) 2017-03-29 09:43:08 -04:00
Joram Wilander
060b9f92c3 Remove API endpoints being deprecated in 3.8 (#5880) 2017-03-28 08:07:15 -04:00
Joram Wilander
daca0d93f6 Move WebSocket API to it's own package and add websocket v4 endpoint (#5881) 2017-03-28 09:58:19 +01:00
Corey Hulen
ca8b8d1245 Fixing cancel ids for selenium (#5896)
* Fixing ids for selenium

* Fixing ids

* Fixing prop
2017-03-27 18:12:24 -07:00
Harrison Healey
022627f940 Disabled problematic unit test (#5891) 2017-03-27 13:13:30 -07:00
Joram Wilander
58397f853a Implement some MFA endpoints for APIv4 (#5864) 2017-03-27 09:21:48 -04:00
Joram Wilander
a0d5c01dfd Implement client config/license endpoints for APIv4 (#5867) 2017-03-27 09:19:53 -04:00
Joram Wilander
d145c35838 Implement PUT /users/sessions/device endpoint for APIv4 (#5866) 2017-03-27 09:17:34 -04:00
Asaad Mahmood
84dc60a640 PLT-5868 - Redesigning compact view (#5821)
* PLT-5868 - Redesigning compact view

* Improvements to compact view

* Updating compact view

* Updating webhook styles
2017-03-27 09:16:08 -04:00
George Goldberg
b489a5bb01 PLT-5904 (Server): Config flag for SMTP Cert Check. (#5857) 2017-03-27 08:43:27 -03:00
Saturnino Abril
01aaccb340 APIv4 post /channels/ids (#5845)
* APIv4 post /channels/ids

* updated enpoint as /teams/{team_id}/channels/ids
2017-03-27 08:41:40 -03:00
George Goldberg
720ee81113 PLT-6063: AddUserToTeam permission depends on policy. (#5869)
Uses same policy setting as InviteUserToTeam.
2017-03-26 09:37:39 -04:00
enahum
230556f0f7 PLT-6046 remove webrtc from tests (#5872) 2017-03-26 09:37:18 -04:00
Joram Wilander
ea74613444 Implement some team endpoints for APIv4 (#5870)
* Implement GET /users/{user_id}/teams/members endpoint for APIv4

* Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-03-25 03:38:24 -03:00
Corey Hulen
54d3d47daf PLT-6076 Adding viper libs for config file changes (#5871)
* Adding viper libs for config file changes

* Removing the old fsnotify lib

* updating some missing libs
2017-03-25 03:31:34 -03:00
Corey Hulen
7460302dec Fixing ids for selenium (#5874) 2017-03-24 19:28:35 -07:00
Ari Autio
9cfa733178 PLT-5281 error messages contain a link to documentation about reserved words (#5530)
* PLT-5281 error messages contain a link to documentation about reserved words

* Updated comments per PM review

* Proposed fix to review comments
2017-03-24 17:10:40 -04:00
Joram Wilander
4dc03613b4 Check if LHS DM list needs updating on channel switch and channel members fetch (#5861) 2017-03-24 13:46:39 -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
Joram Wilander
28a78d7607 Implement some channel endpoints for APIv4 (#5846)
* Add v4 endpoint for getting the channels on a team for a user

* Implement PUT /channels/{channel_id}/patch endpoint for APIv4

* Implement POST /teams/{team_id}/channels/search endpoint for APIv4

* Update permission check
2017-03-24 13:45:34 -07:00
George Goldberg
22715a31ed PLT-5879: User email notification settings disabling. (#5837)
When Email Notifications are turned off server wide, don't allow the
user to configure their email notification preferences.
2017-03-24 13:43:09 -07:00