Граф коммитов

1619 Коммитов

Автор SHA1 Сообщение Дата
David Meza
b6456a675d Add x to be able to leave public and private channels (#7145)
* Add config value EnableXToLeaveChannelsFromLHS that if true displays x to the right of private and public channels on the LHS.

* Displays x to the right of private and public channels on the LHS based on if EnableXToLeaveChannelsFromLHS=true.

* change the tooltip for private and public channels to `Leave channel`

* Add client-side event for when user clicks the "x" button. Different for public, private, DM.
2017-09-01 14:21:09 -04:00
Eric Sethna
48763a00b9 [PLT-7043] Update LDAP > Email help text (#7313)
* update help text

* Update ldap_to_email.jsx

* Update LDAP > email text
2017-09-01 13:03:38 -04:00
George Goldberg
000d7aad3d PLT-7448: Searching submits multiple API requests. (#7334)
This fixes all the main cases where duplicate search API requests were
issued.
2017-08-31 15:55:31 +01:00
Saturnino Abril
f364f3023a sort compliance report (#7326) 2017-08-31 08:21:20 -04:00
Joram Wilander
5d74857b68 Add minimum channel name length in rename modal (#7308) 2017-08-31 10:42:57 +01:00
Asaad Mahmood
9e3b74b4ef Minor bug fixes (#7305)
* PLT-7063 - Changing search bar bg and color

* PLT-7064 - Adjusting info popover styling

* PLT-7124 - Fixing sidebar with webrtc call ongoing

* PLT-7400 - Fixing semi transparent options list

* PLT-7491 - Showing send button on mobile
2017-08-30 16:19:15 -04:00
Jonathan
4660127fd0 PLT-7206: Remove the "Delete Channel" option for private channels if you're the last channel member and policy setting restricts channel deletion (#7314)
* Removed restriction that prevented last occupant of a channel from leaving. Any user can now leave any channel, except for the default Town Square channel

* Also removed last user leave limitation from navbar
2017-08-30 14:25:19 -04:00
Jonathan
4c1f467442 PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink (#7295)
* Removed permalink from system messages, general cleanup

* Removed permalink from deleted messages

* Removed permalink from pending messages

* Fixed post_info tests

* Changed permalink logic to remove permalinks from ephemeral messages, but leave them in place for system messages.

* Fixed check style
2017-08-30 20:06:29 +08:00
Chris
213a072b38 PLT-6403: Interactive messages (#7274)
* wip

* finish first pass

* requested changes

* add DoPostAction to Client4
2017-08-29 16:14:59 -05:00
Joram Wilander
59798c1375 Fix permalink loading for non-loaded posts (#7310) 2017-08-29 13:13:03 -04:00
Jonathan
f1d1ce4e7e Show loading message if a team has been selected, in addition to showing it while loading the list of available teams. (#7307) 2017-08-29 10:48:19 -04:00
atp
6a312b2ad4 PLT-3638: Fix re-opening of collapsed preview on refresh (#7301)
In this change, user action for toggling the preview is stored in the browser localstorage. Hence If there us a preview visibility value is present
in the localstorage, that will be given the preference compared to the overall preview setting.
2017-08-29 10:47:32 -04:00
Joram Wilander
257edc9ea3 Experimental implementation for webapp plugins (#7185)
* Start of experimental implementation for webapp plugins

* Updates to webapp plugin architecture

* Update pluggable test

* Remove debug code
2017-08-29 09:54:02 -04:00
Chris Duarte
510b1a18f5 Manage version configurations client versions (#7220)
* Add config values for client versions. Return client versions in ping response.

* Manage client version through System Console.

* Added client versions to diagnostics

* Added translations messages en.json file.

* Hide Client Versions on System Console.
2017-08-28 12:22:54 -04:00
enahum
9e95af7809 PLT-7221 differentiate between RN and Classic sessions (#7303) 2017-08-28 08:31:28 -07:00
Corey Hulen
1c268dfd72 PLT-7318 fixing focus issue with IPad (#7287)
* PLT-7318 fixing focus issue with IPad

* Fixing for RHS
2017-08-25 10:42:04 -04:00
atp
99acf61068 PLT-5478: Hide collapse/expand arrow for image links when no image is available (#7216) 2017-08-25 10:31:30 -04:00
Asaad Mahmood
1a71589dce PLT-7224 - Updating post textbox UI (#7153)
* PLT-7224 - Updating post textbox UI

* Updating post textbox spacing

* Updating emoji icon
2017-08-25 10:29:31 -04:00
Harrison Healey
086365fb84 PLT-7417/PLT-7425 (#7278)
PLT-7417/PLT-7425 Update config.json defaults and removed admin console link settings
2017-08-25 10:24:52 -04:00
Chris
d13f192964 add attachments to rhs search results (#7290) 2017-08-25 15:08:03 +01:00
David Meza
1ce079d2d0 Add a + next to direct message on sidebar to open 'Direct Messages' modal (#7159)
* Add a + next to direct message on sidebar to open 'Direct Messages' modal

* Change + cick to display direct message modal without group message.
2017-08-22 08:13:46 -04:00
Sudheer
b2e53086b3 PLT-5747: Fixed inconsistent on-hover, tooltip, and active states for buttons. (#7174)
* Fixed LHS Team Sidebar on hover highlight.
 * Fixed LHS Main Menu on hover tooltip to show "Main menu".
 * Added On-hover highlight for Favorite button in channel heading.
 * Added active state for channel members icon.
   * Added active class based on internal react state with new changeCss rule.
 * Changed cursor to pointer on hovering a theme.
 * Fixed Invite New Member Add Button to have text-underline on hover.
2017-08-21 10:12:40 -04:00
atp
2986c38469 PLT-7256: Fix email rate selection when batching is disabled (#7202) 2017-08-21 10:00:40 -04:00
Saturnino Abril
22efdbe6fb fix expand/collapse arrows for youtube videos (#7240) 2017-08-21 08:06:34 -04:00
Asaad Mahmood
b60cc5b28e Multiple bug fixes (#7243)
* PLT-7320 - Fixing alignment of x icon

* PLT-7357 - Fixing close icon in compact view

* PLT-7322 - Fixing overflow for delete token modal

* PLT-7351 - Fixing flag icon alignment

* PLT-7393 - Fixing cursor on upload button

* PLT-7392 - Fixing scrollbar in admin console

* PLT-7376 - Fixing hover effect for mobile nav
2017-08-18 12:21:34 -07:00
n1aba
13d76a0cb2 PLT-6451 Migrate installed_oauth_app.jsx to be pure and use Redux (#7190)
* Migrate installed_oauth_app.jsx to be pure and use Redux, add test

* Fix behavior for the error case
2017-08-18 12:06:32 -07:00
Harrison Healey
6df51f8617 PLT-7397 Added loadImage function instead of Image.prototype.load (#7184) 2017-08-18 12:03:04 -07:00
Jason Blais
26ec8ffc3e Rename SAML in the System Console to SAML 2.0 + access token string fixes (#7182)
* Update en.json

* Update en.json

* Update admin_sidebar.jsx

* Update saml_settings.jsx
2017-08-18 12:02:06 -07:00
n1aba
f40f41ed53 PLT-6443 Migrate add_oauth_app.jsx to be pure and use Redux (#7232)
* Migrate add_oauth_app.jsx to be pure and use Redux, add tests

* Remove unused flux code for OAuthApps
2017-08-18 09:42:10 -04:00
Saturnino Abril
9097289c2c [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)
* open up a shortcuts dialog instead of printing help text

* Updating UI for keyboard shortcuts modal

* update PR per PLT-7284

* fix typo error

* fix mixed up shortcut keys

* move to client side

* fix shortcuts list, remove unused function and revert server side code for autocompletion

* remove quick team switcher
2017-08-18 17:04:05 +08:00
Christopher Speller
fd1301779f Merge branch 'release-4.1' 2017-08-17 09:35:36 -07:00
Asaad Mahmood
d41f1695e9 Minor UI improvements (#7137)
* PLT-7303 - Fixing manage members button

* Revert "PLT-7303 - Fixing manage members button"

This reverts commit 7dcb68a8e333a2c95444d417ed9a244c9c30aa99.

* PLT-7303 - Redesigning channel members popover

* Updating font size and positioning
2017-08-17 10:07:34 -04:00
Saturnino Abril
4e92d18017 set ephemeral message ("message deleted") without ("Only visible to you") visible to users other than the owner (#7201) 2017-08-17 10:14:59 +01:00
George Goldberg
30cfc1aa3e PLT-7368: Don't clear search box on ESC in Chrome. (#7215) 2017-08-16 09:18:36 -04:00
Jason Blais
cc3d8a9180 Add note that users can be searched by token ID in the Users page (#7222)
* Update en.json

* Update custom_integrations_settings.jsx

* Update logs.jsx
2017-08-16 10:18:06 -03:00
Saturnino Abril
5cd45c9394 add emoji to recently used section when reacting to a post in RHS (#7217) 2017-08-16 16:59:05 +08:00
Saturnino Abril
8e646763e7 [PLT-7180] Fix delete/edit not showing on DotMenu at parent post of RHS (#7214)
* fix delete/edit not showing on DotMenu at parent post of RHS

* remove unnecessary shouldComponentUpdate
2017-08-15 23:20:19 +08:00
Saturnino Abril
4cf316fcd3 [PLT-7342] Add function and tests to specifically determine @all & @channel (#7181)
* add function and tests to specifically determine @all & @channel

* uodate per comments - regex and tests
2017-08-12 02:01:11 +08:00
Joram Wilander
33d3818e1f Add character limit to channel header edit modal (#7179) 2017-08-11 21:51:40 +08:00
Corey Hulen
48741434aa PLT-7360 Adding SSE to compliance (#7165)
* Adding SSE to E20

* Fixing UI bug

* Fixing loc strings
2017-08-11 09:44:28 +08:00
Joram Wilander
5f823d703d Fix arrow keys when viewing images (#7161) 2017-08-11 00:40:44 +08:00
Chris
ffbf8e51fe PLT-6358: Server HTTP client improvements (#6980)
* restrict untrusted, internal http connections by default

* command test fix

* more test fixes

* change setting from toggle to whitelist

* requested ui changes

* add isdefault diagnostic

* fix tests
2017-08-09 13:49:07 -07:00
Jonathan
9309ad9d7a PLT-7301: Removed props mutation that was causing JS error, now passing locale as a prop directly instead of fetching it out of the user object (#7162) 2017-08-09 13:33:31 -07:00
Chris
58b2bcd907 reset post attachments on post prop change (#7158) 2017-08-09 13:24:45 -05:00
Jonathan
fd6856b674 PLT-7206: Remove the "Delete Channel" option for private channels if you're the last channel member and policy setting restricts channel deletion (#7050)
* PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks

* PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values.

* PLT-7206: Added unit tests for showManagementOptions(...)

* PLT-7206: Fixed test case descriptions

* Added unit tests for showCreateOption(...)

* PLT-7206: Added unit tests for canManageMembers(...)

* PLT-7206: Removed last person in channel loophole from server-side code

* PLT-7206: Reverted config.json

* PLT-7206: Fixed double negatives in unit test names

* PLT-7206: PR feedback - Removed confusing comment and unused variable
2017-08-09 09:34:09 -04:00
Saturnino Abril
e359e28018 [PLT-7317] Fix emoji picker preview (#7136)
* fix emoji picker preview

* make use of sprite-sheet CSS for all system emojis
2017-08-08 23:48:41 +08:00
Tejay Cardon
2105b10ccd FIXES PLT-6648 Add support for Server Side Encryption on S3 (#6467)
Help from Jason Blais on wording
Update storage_settings.jsx
Update en.json
2017-08-08 10:15:20 -04:00
George Goldberg
7683e751ab PLT-7311 Don't allow empty search in searchbar. (#7133) 2017-08-08 08:54:23 -04:00
George Goldberg
5132c62d15 PLT-7309: Fix webook management when permitted for non-admins. (#7132) 2017-08-08 08:45:17 -04:00
George Goldberg
82407bd44a PLT-7313: Show help popover when search focused and empty. (#7134) 2017-08-08 08:44:12 -04:00