Commit Graph

8238 Commits

Author SHA1 Message Date
Asaad Mahmood
4ebc85e05c Ui improvements (#5948)
* PLT-5849 - Code block wrap on IOS

* PLT-5972 - Comment has first line indented

* PLT-6048 - Adjusting UI for link previews

* PLT-5733 - Adding error text theme option
2017-04-03 10:38:15 -07:00
enahum
1cbe6e7975 Add more OAuth unit tests (#5946) 2017-04-03 10:37:58 -07:00
Joram Wilander
68bb5a2ec8 Replace initial load of user's channel members for all teams with a lazy load (#5942) 2017-04-03 10:36:47 -07:00
Saturnino Abril
997eacd4b6 APIv4 DELETE /teams/{team_id} (#5937) 2017-04-03 10:35:29 -07:00
Saturnino Abril
43e795448f APIv4 post /teams/search (#5931) 2017-04-03 10:34:14 -07:00
Joram Wilander
6b61834ab1 Add store unit tests and add make target for testing store with postgres (#5925)
* Add store unit tests and add make target for testing store with postgres

* Remove postgres target form test-server target

* Fix audit test
2017-04-03 10:32:58 -07:00
George Goldberg
e49f5928c5 PLT-6139 (Server): Private Channel member managing (#5941)
Adds an EE policy feature to allow restricting system-wide which level of
Admins can manage the membership of private channels.
2017-04-03 13:13:28 -04:00
George Goldberg
232a99f0c7 PLT-6162: Search for users not in a given team. (#5943) 2017-04-03 13:11:12 -04:00
Carlos Tadeu Panato Junior
da5265681d [APIV4] Implement PUT /users/{user_id}/status for apiV4 (#5928) 2017-04-03 17:40:45 +01:00
Carlos Tadeu Panato Junior
7eb09dbffd [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) 2017-04-03 17:38:26 +01:00
Harrison Healey
36c74d7b47 PLT-5873 Renamed private groups to private channels (#5924)
* PLT-5873 Renamed private groups to private channels in web app

* PLT-5873 Renamed private groups to private channels in server
2017-04-03 13:42:05 +01:00
doh5
06e09a0553 Add IDs to the Admin Sidebar Section (#5909)
* Add IDs to the Admin Sidebar Section

Under Testing

* Update admin_sidebar_section.jsx

* Update admin_sidebar_section.jsx

* Update admin_sidebar_section.jsx

* Update admin_sidebar_section.jsx
2017-04-03 08:17:21 -04:00
doh5
8e70e40c30 Different 'name' value for system console LHS "Email" section + route name update (#5917)
* Different 'name' value for system console LHS "Email" section

Under Testing
-This is to create a unique ID for the Selenium UI Automiation

* Update the system console route because of the name change

for unique selenium ID

* Update admin_sidebar.jsx

* Update route_admin_console.jsx
2017-04-03 08:16:57 -04:00
Carlos Tadeu Panato Junior
88b8df3146 implement GET /commands (#5865) 2017-04-03 08:12:50 -04:00
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