Commit Graph

108 Commits

Author SHA1 Message Date
Christopher Speller
31a0f65973 Adding sync now button to system console (#3510) 2016-07-06 13:17:37 -08:00
Harrison Healey
b114062c1b PLT-3237 Update displayed config values in admin console after saving (#3506)
* Reloaded admin console data when settings are saved

* Fixed attempting to save an invalid config setting overwriting the stored config
2016-07-06 16:07:56 -04:00
lfbrock
fd880ad047 Update ldap_settings.jsx (#3508)
* Update ldap_settings.jsx

Changed help text for consistency

* Update en.json
2016-07-06 13:35:35 -04:00
Christopher Speller
da0747ac7a Adding webserver mode to the system console. Automatic enabling of gzip on existing servers (#3458) 2016-07-06 12:04:22 -04:00
enahum
31d956a050 PLT-3453 Reloading the configuration in the system console should immediately show config changes (#3496) 2016-07-06 08:37:28 -04:00
Joram Wilander
5f7cb8cfbf PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel management permissions (#3453)
* EE: Add the ability to restrict channel management permissions

* Always allow last user in a channel to delete that channel
2016-07-06 08:23:24 -04:00
enahum
5f04dc4f45 SAML support (#3494)
* PLT-3073: Implement SAML/Okta Server side (EE) (#3422)

* PLT-3137 Support for SAML configuration

* PLT-3410 SAML Database Store

* PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key

* PLT-3409 SAML Interface for EE

* PLT-3139 Handle SAML authentication server side

* Add localization messages

* PLT-3443 SAML Obtain SP metadata

* PLT-3142 Login & Switch to/from SAML

* Remove Certs for Database & Clean SAML Request

* Make required Username, FirstName and LastName

* PLT-3140 Add SAML to System Console (#3476)

* PLT-3140 Add SAML to System Console

* Move web_client functions to client.jsx

* Fix issues found by PM

* update package.json mattermost driver

* Fix text messages for SAML
2016-07-05 15:49:00 -04:00
Asaad Mahmood
f91b9d4a65 PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI Improvements (#3449)
Improving help text margins

Updating changes for get link and create post files

Fixing icon for select team screen

Fixing styles for select team button

Adding improvements to posts UI

Adding improvement to post layout

Updating changes for post controls

Updating z-index for sidebar--right

Updating help text position

Fixing code for posts

Fixing css for post view

Pushing improvements for posts view

Updating changes for post view

Updating post layout

Fixing system time css

Updating header for system posts

Updating post css

Removing opacity and changing color for system messages

Simplifying root post and system post behaviour

Removing images from compact view

Updating help text for display

Updating embed preview text for advanced option

PLT-3490 - Fixing RHS issue on Edge
2016-07-05 15:46:36 -04:00
Thomas Balthazar
f4dd8e5796 PLT-1316/PLT-3280 Change client-side max file size limit (#3354)
* Change client-side max file size limit

It now relies on the value set in config.json.
Re-enable and tweak the max file size setting in system console.

* Update file upload error message
2016-07-05 15:37:21 -04:00
lfbrock
b0514fb559 Update custom emoji help text (#3493)
* Update custom emoji help text

* Update en.json
2016-07-05 15:30:16 -04:00
Harrison Healey
dc2f2a8001 PLT-3145 Custom Emojis (#3381)
* Reorganized Backstage code to use a view controller and separated it from integrations code

* Renamed InstalledIntegrations component to BackstageList

* Added EmojiList page

* Added AddEmoji page

* Added custom emoji to autocomplete and text formatter

* Moved system emoji to EmojiStore

* Stopped trying to get emoji before logging in

* Rerender posts when emojis change

* Fixed submit handler on backstage pages to properly support enter

* Removed debugging code

* Updated javascript driver

* Fixed unit tests

* Fixed backstage routes

* Added clientside validation to prevent users from creating an emoji with the same name as a system one

* Fixed AddEmoji page to properly redirect when an emoji is created successfully

* Fixed updating emoji list when an emoji is deleted

* Added type prop to BackstageList to properly support using a table for the list

* Added help text to EmojiList

* Fixed backstage on smaller screen sizes

* Disable custom emoji by default

* Improved restrictions on creating emojis

* Fixed non-admin users seeing the option to delete each other's emojis

* Fixing gofmt

* Fixed emoji unit tests

* Fixed trying to get emoji from the server when it's disabled
2016-07-05 11:58:18 -04:00
Asaad Mahmood
068df708c0 Fixing errors in system console (#3484) 2016-07-05 11:13:50 -04:00
lfbrock
b8189369ed Update ldap sync interval help text (#3488)
* Update ldap sync interval help text

* Update en.json
2016-07-05 11:10:55 -04:00
Eric Sethna
d2e93e1bee Major update to System Console labelling (#3398) 2016-07-05 07:26:22 -04:00
Christopher Speller
5dfa4fb629 Adding page size option to LDAP (#3439) 2016-07-04 07:04:02 -04:00
David Lu
1c8962cf99 enabled team creation for sysadmins (#3433) 2016-06-30 08:43:46 -04:00
David Lu
65e18ad1f5 fixed typo (#3450) 2016-06-30 08:41:58 -04:00
Joram Wilander
b97b3ae617 EE: Add the ability to restrict the user roles that can send team invites (#3442) 2016-06-29 14:16:17 -04:00
enahum
fccacbbf96 PLT-3453 Reloading the configuration in the system console should immediately show config changes (#3446) 2016-06-29 08:36:27 -04:00
David Lu
8c2282f89e PLT-3191 E20: Updates to Reload Configuration from Disk and Recycle Database Connections (#3424)
* added help text to reload configuration and recycle db

* Update reload_config.jsx

* Update en.json
2016-06-28 14:53:36 -04:00
it33
3ec92b8c60 UI text upgrades (#3375)
* Clarifying auth user join button

* Update team_general_tab.jsx

* Update generated_setting.jsx

* Update public_link_settings.jsx

* Update signup_settings.jsx

* Update login_settings.jsx

* Update team_general_tab.jsx

* Update en.json

* Clarifying help text

* Clarifying help text
2016-06-27 08:10:02 -04:00
Harrison Healey
5c70635bcd Fixed switching between user lists in system console (#3409) 2016-06-27 08:08:48 -04:00
Harrison Healey
ae1851e633 Fixed enabling compliance settings in the system console without reload (#3401) 2016-06-24 08:22:44 -04:00
Christopher Speller
14510ce194 Adding webpack code splitting (#3377) 2016-06-22 10:30:01 -04:00
enahum
a0bc947356 PLT-3341 Add missing localization support for System Console (#3385) 2016-06-21 07:39:19 -04:00
it33
5bea621e5b Fix typo: Attrubute (#3368)
* Fix typo: Attrubute

* Fix typo: Attrubute
2016-06-18 02:13:00 -03:00
Asaad Mahmood
b130a32eac Multiple UI fixes (#3357)
* Multiple UI fixes

* Removing utils from tutorial file
2016-06-16 09:20:43 -08:00
David Lu
3f333678d8 PLT-2971 Added email footer for address (#3319)
* Added email footer for address

* added default

* Update html.go

* Changed according to PM
2016-06-16 08:44:02 -04:00
enahum
3f4d38f58a PLT-3344 Set Localization config to always have by default all languages available (#3339) 2016-06-15 08:10:38 -04:00
Harrison Healey
a0cc913b85 PLT-3143 Added serverside code for custom Emoji (#3311)
* Added model objects for emoji

* Added database tables for emoji

* Added settings for custom emoji

* Added serverside APIs and unit tests for custom emoji

* Added additional validation to catch duplicate emoji names earlier on

* Added additional validation to prevent users from adding emoji as another user
2016-06-14 07:38:19 -06:00
JoramWilander
5af526c259 Merge branch 'release-3.1'
Conflicts:
	webapp/components/create_comment.jsx
2016-06-13 15:29:24 -04:00
Joram Wilander
974238231b PLT-3270 Comment out max file size setting in system console (#3324)
* Comment out max file size settting in system console

* Remove pending post after successful create post request
2016-06-13 14:36:40 -04:00
Martin Schenck
24a2805456 PLT-2058 Debugging incoming web hook content (#3150)
* PLT-2058 Debugging incoming web hook content

This change debugs contents of incoming webhooks using l4g.

The problem is that in order to debug the request body, it neads to be
read. And a Reader can only be read once. Hence, the body is only read
for Debugging if it is actually enabled. Furthermore, a new reader is
created from the content of the old reader in order for the rest of the
method to work as usual (with or without debugging).

The debug statement is wrapped in a closure, so that the content is
only copied if Debug is actually enabled.

It is not possible to return `(string, string)` from the closure to
`l4g.Debug()`. That is the reason the debugging is not done with `=%v`,
but the translations strings end with a space.

I tested the change with a `application/json` HTTP header as well as
`payload=`

The debug method is extracted into util/log.go in order to be re-usable
for debugging `io.Reader`

* Added a config flag to turn off incoming webhook debugging

Setting `EnableWebhookDebugging` to false in the `config.json` will
disable the printing of the content of incoming webhooks to the console

* Defaulting webhook debugging to true

* Added the setting of debugging incoming webhooks to the system console
2016-06-10 09:59:24 -04:00
jasonblais
de907280a7 Add server restart note to LDAP sync setting (#3303)
* Add server restart note to LDAP sync setting

* Add server restart note to LDAP sync setting
2016-06-09 11:44:13 -04:00
enahum
eefde7d7b6 PLT-3236 Click in little x for admin console localization settings causes error (#3292) 2016-06-09 11:08:27 -04:00
Corey Hulen
52b5db3a0b PLT-3215 Moving custom branding in admin console (#3286) 2016-06-07 17:42:58 -04:00
Joram Wilander
629b49a119 Remove data source replica from system console UI (#3267) 2016-06-06 13:04:02 -04:00
Christopher Speller
9110e64c25 Removing outdated ldap note from system console (#3247) 2016-06-06 10:26:43 -04:00
jasonblais
5748295d3b Update help text for localization settings (#3252)
* Update help text for localization settings

* Add to en.json
2016-06-06 09:48:39 -04:00
it33
53a35f2f8e Edit to Segment help text to explain what it offers. (#3257)
* Update Segment text

* Update Segment text

* Correcting typo

* Fixed typo
2016-06-05 03:47:17 -03:00
Corey Hulen
cb868eb42b PLT-3169 moving reload/recycle commands (#3223)
* PLT-3169 moving reload/recycle commands

* Fixing eslint
2016-06-04 14:22:42 -04:00
Christopher Speller
ea3342aa6c Adding LDAP Syncronization (#3219) 2016-06-03 09:33:59 -04:00
David Lu
3386c58d7c Made all settings save on enter (#3221) 2016-06-02 19:36:54 -03:00
enahum
159953050a PLT-1800 Load server side locale from the config.json (#3202)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics

* Fix localization on served locale file as plain/text

* Remove github.com/cloudfoundry/jibber_jabber as vendor dependency

* Fix get locale on login_controller
2016-06-02 12:47:26 -07:00
Asaad Mahmood
e0fca16b27 PLT-3010 - Updating system console (#3146)
* Updating system console

* Updating system console stuff

* Updating ldap settings
2016-06-02 12:33:52 -07:00
Joram Wilander
75107dc15d Fix brand image not showing up after selecting it and before uploading (#3197) 2016-06-01 16:16:24 -04:00
enahum
bd48d304c3 PLT-3152 Fix System Console scroll (#3198)
* PLT-3152 Fix System Console scroll

* Fix direct url access
2016-06-01 14:11:19 -04:00
Christopher Speller
786e4dce7d Revert "PLT-1800 Load server side locale from the config.json" (#3201) 2016-06-01 11:56:27 -04:00
enahum
b00a60ab71 PLT-1800 Load server side locale from the config.json (#3135)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics

* Fix localization on served locale file as plain/text

* Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
2016-06-01 08:56:13 -04:00
enahum
a163f8d984 PLT-3064 Add ErrorBar to System Console (#3189) 2016-06-01 08:32:43 -04:00