Commit Graph

2272 Commits

Author SHA1 Message Date
Saturnino Abril
f968c56890 Revert "[PLT-7475] Add S3 region to system console and add S3 validation (#7373)" (#7387)
This reverts commit 8d680cf64e.

Move to 4.3.
Will discuss more if validation is necessary.
2017-09-06 11:02:42 -05:00
David Meza
1605fa5102 Configs for themes in Display Settings: hide themes options, hide custom themes, specific list of themes (#7173)
* Add configuration to enable or disable choosing themes in Display Settings. Only for Licensed servers.

* Add configuration to enable or disable choosing custom themes in Display Settings. Only for Licensed servers.

* Add configuration to enable or disable a specific list of themes to choose in Display Settings. Only for Licensed servers.

* Added config value and logic for "DefaultTheme"

* Fix problem with undefined values when the server is not licensed
2017-09-05 19:28:46 -05:00
Chris
7cee7b3342 PLT-7300: Add use_user_icon prop to allow bots to just use their user icon (#7381)
* add use_user_icon prop to allow bots to just use their user icon

* revert unintentional change
2017-09-05 19:20:47 -05:00
Joram Wilander
df085d273d Experimental plugin system console UI (#7338)
* Add system console UI for uploading/listing/removing plugins

* Add localization strings

* Add banner to plugin settings

* Updating UI for experimental plugins (#7362)

* Text updates

* Updating UI for experimental plugin stuff (#7377)

* Properly clear file input after upload
2017-09-05 18:12:55 -04:00
Harrison Healey
e30e4cfe3d PLT-7468 Moved more error pages to use predefined error types (#7378)
* PLT-7468 Moved more errors to use error types

* PLT-7468 Moved 404 error page to use error types

* Made helper function for rendering external links on error page
2017-09-05 17:40:35 -04:00
Saturnino Abril
2977b31a39 slight modifications to keyboards dialog and also fix error with non-Mac (#7367) 2017-09-06 04:34:53 +08:00
Saturnino Abril
8d680cf64e [PLT-7475] Add S3 region to system console and add S3 validation (#7373)
* add S3 region to system console and add S3 validation

* update translation message

* add bool as return value to Validate* functions

* update Validate* functions to be pure
2017-09-06 03:42:18 +08:00
Harrison Healey
09f8267751 PLT-7517 Added setting to enable tracing of Amazon S3 connections (#7349)
* PLT-7517 Added setting to enable tracing of Amazon S3 connections

* Removed unnecessary placeholders on boolean settings

* Added AmazonS3Trace to diagnostics

* Updated AmazonS3Trace setting name in system console

* Removing extra colon
2017-09-05 15:24:21 -04:00
Joram Wilander
cc289d7061 Skip personal access token sessions in view sessions modal (#7350) 2017-09-05 13:43:36 -04:00
Asaad Mahmood
e089a88f18 Minor bug fixes (#7357)
* PLT-7514 - Adjusting help text

* PLT-7499 - Fixing word wrapping in delete modal

* PLT-7523 - Fixing autocomplete in header modal
2017-09-05 13:43:14 -04:00
Chris
c4e32060be fix svg thumbnails and non-png copy/pastes (#7348) 2017-09-05 13:13:03 -04:00
Harrison Healey
575864c917 PLT-7474 Stopped requiring confirmation for mentions in code blocks (#7375)
* PLT-7474 Stopped requiring confirmation for mentions in code blocks

* Stopped mentioning people from code blocks using ~~~
2017-09-06 00:39:07 +08:00
Saturnino Abril
daed8ffbf6 fix email notifications settings appearing save despite cancel (#7359) 2017-09-05 23:13:39 +08:00
enahum
44e58bd100 translations PR 20170904 (#7371) 2017-09-05 10:33:03 -03:00
Harrison Healey
c8d51b6465 Fixed code blocks causing minor scroll pop on first load (#7288) 2017-09-04 21:31:01 +08:00
George Goldberg
ce5d81582a Revert "[PLT-7471] Slight modifications to keyboards dialog (#7325)" (#7363)
This reverts commit 967a0df0f8.
2017-09-04 11:01:25 +01:00
Harrison Healey
670bfbf626 PLT-7518 Added unit tests for channel linking (#7352)
* PLT-7518 Added unit tests for channel linking

* Removed unused escaping function
2017-09-04 10:48:17 +01:00
Chris
8391ef6288 PLT-7521: improve regex pattern (#7345)
* PLT-7521: improve regex pattern

* style fix
2017-09-04 10:45:37 +01:00
Saturnino Abril
6a10941cb3 [PLT-6996] On "About Mattermost", add notes with links to notice.txt which has list of copyrights of open source components used (#7315)
* on "About Mattermost", add notes with links to notice.txt which has list of copyrights of open source components used

* remove apps from link

* Minor UI update
2017-09-04 04:13:46 +08:00
Saturnino Abril
967a0df0f8 [PLT-7471] Slight modifications to keyboards dialog (#7325)
* slight modifications to keyboards dialog

* Updating shortcuts modal
2017-09-04 04:12:38 +08:00
Chris
196cdbe9d1 only highlight relevant fields on ldap/email switch error (#7339) 2017-09-02 05:57:57 +08:00
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