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

2251 Коммитов

Автор 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
David Meza
3c52801193 Config to make town square read only (#7140)
* Be able to make Town Square read-only (Disable typing messages for non admins).

* Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square.

* Add unit tests for TownSquareIsReadOnly config value and logic.

* Add TownSquareIsReadOnly to System console>Policy. Added Telemetry.

* Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20.

* Update en.json

* Update en.json

* Update policy_settings.jsx

* Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly.

* Refactored to simplify. Avoid code repeat and multiple db calls.
2017-09-01 09:53:55 -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
Joram Wilander
e3b145236d Update mattermost-redux to latest (#7333) 2017-08-31 08:55:45 -04: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
Jonathan
bb2ca558bb PLT-7220: Jumping to a GM from a flagged messages doesn't add the GM to your LHS (#7319)
* Ensured that DM/GM channel is added to LHS when jump link is clicked in RHS

* Moved sidebar channel loading logic into global_actions so that it happens after the users' channels have been loaded

* Fixing checkstyle issues
2017-08-30 16:26:36 -04: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
Joram Wilander
ce77d836fc Fix yarn.lock getting changed by make run (#7311) 2017-08-28 21:53:06 -07: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
Saturnino Abril
c81d0f120a update test snapshot for post_info (#7297) 2017-08-25 13:48:24 -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
Corey Hulen
f9632497a4 Fixing logging errors for Franz (#7273) 2017-08-22 15:10:31 -07:00
Sudheer
1f899c873e Fixed not being able to scroll down in message preview mode when using (#7194)
only couple of sentences in edit mode.
2017-08-22 12:34:34 -07:00
Alex White
6b27ae2bac Hiding the rogue webkit file input button (#7130) 2017-08-22 12:33:22 -07: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
Christopher Speller
5872a294aa Updating client dependancies. (#7253) 2017-08-21 10:18:40 -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
Jason Blais
d7b055f428 Minor string changes for JIRA setting (#7264)
* Update settings.jsx

* Update en.json
2017-08-21 08:04:33 -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
Christian Arnold
339b30e1da Added missing string for translation (#7203) 2017-08-18 12:08:00 -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
Harrison Healey
32265df8be PLT-7353 Fixed being unable to use quotes in links (#7171) 2017-08-16 11:04:29 -04: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
enahum
7d3719b5c6 translations PR 20170814 (#7210) 2017-08-15 23:22:22 +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