Commit Graph

81 Commits

Author SHA1 Message Date
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
enahum
268bccdf49 PLT-3053 Fix Switching between Team pages in System Console (#3183) 2016-05-31 16:10:57 -04:00
lfbrock
581d8568c5 PLT-726 Update GitLab System Console placeholder text (#3174)
* Update gitlab_settings.jsx placeholder text

* Update en.json
2016-05-31 14:26:01 -04:00
jasonblais
fe4a9bc739 Update support email help text (#3172)
* Update legal_and_support_settings.jsx

* Update admin.support.emailHelp string
2016-05-31 12:57:52 -04:00
Joram Wilander
0dfac9875e Add license expiry messages (#3153) 2016-05-30 09:59:53 -04:00
Christopher Speller
ec7a273550 Revert "PLT-1800 Load server side locale from the config.json" (#3133) 2016-05-27 09:01:35 -04:00
enahum
a2c183f401 PLT-1800 Load server side locale from the config.json (#3092)
* 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
2016-05-27 08:25:37 -04:00
Corey Hulen
e1801d0997 Adding reload and recycle buttons to system console (#3102) 2016-05-26 15:11:55 -04:00
Harrison Healey
8a7e1b6dff PLT-2886 Added name properties to all radio buttons (#3112)
* Removed unused, deprecated system console page

* Added name properties to all radio buttons

* Removed unused english strings from admin console
2016-05-26 09:47:41 -04:00
Joram Wilander
6fecfcc7ca Refactor login, claim and create_team into views and add actions (#3110) 2016-05-26 09:46:18 -04:00
Asaad Mahmood
db29413000 Minor UI improvements (#3095)
Updating config.json

Updating config.json

Updating config.json

Updating config.json
2016-05-25 08:39:14 -04:00
Christopher Speller
4ae7128ecb Revert "PLT-1800 Load server side locale from the config.json (#3076)"
This reverts commit 34beaa569b.
2016-05-24 10:39:56 -04:00
Thomas Balthazar
7e2b539de4 Max_File_Size setting in System Console > File Settings (#3070) 2016-05-24 09:07:42 -04:00
enahum
34beaa569b PLT-1800 Load server side locale from the config.json (#3076)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics
2016-05-24 08:36:27 -04:00
Asaad Mahmood
79c0b20689 Minor UI changes (#3078)
Updating navbar dropdown

Updating margin on login page
2016-05-24 08:33:28 -04:00
Harrison Healey
fd53e3b786 PLT-2257 Reorganized System Console (#3003)
* Reorganized system console

* Fixed the names of some components

* Fixed timestamp for BrandImageSetting

* Fixed merge issues

* Updated push notification settings to match master branch

* Removed top level setting pages and moved enable Gitlab/LDAP settings onto their respective pages

* Re-added restrictDirectMessage setting to system console

* Re-added email connection test and fixed some margins

* Fixed ESLint errors

* Renamed Authentication > Onboarding to Authentication > Email in the system console

* Renamed Customization > Whitelabeling to Customization > Custom Branding in System Console

* Re-added EnableOpenServer to system console
2016-05-17 07:21:39 -04:00
Christopher Speller
d1efb66ad7 Merge branch 'release-3.0' 2016-05-12 12:11:02 -04:00
Christopher Speller
4b260b761a Updating client dependancies and ESLint (#2954)
* Updating client dependancies

* Fixing eslint errors with updates

* Updating eslint
2016-05-12 07:50:53 -04:00
Asaad Mahmood
04f7273461 Improving compliance stuff (#2963)
* Improving compliance stuff

* Fixing padding on mobile
2016-05-11 15:30:00 -04:00
Corey Hulen
d7197943f0 Fixing compliance reporting (#2964) 2016-05-11 09:24:20 -03:00
Joram Wilander
2dbc1a50fa Fix compliance saving and reload page when enabling/disabling compliance (#2960) 2016-05-10 21:37:12 -03:00
Asaad Mahmood
338223d204 Fixing DM separator and margin on system console (#2944)
Fixing margins on system console
2016-05-10 14:47:57 -04:00
Asaad Mahmood
12cc9def7b Improvements to system console and DM modal (#2930)
Fixing audit and compliance table

Changing prop

Minor improvement to the DM modal
2016-05-09 08:57:51 -07:00
Joram Wilander
b4d28fe205 Minor fix to refresh profiles in user list of system console (#2915) 2016-05-09 00:17:42 -07:00
Corey Hulen
6c75662b82 PLT-2697 Fixing team admins (#2900)
* PLT-2697 Fixing team admins

* Fixing eslint error

* Fixing loc issues

* Fixing func

* Fixing func
2016-05-06 14:28:22 -04:00
Joram Wilander
f2e788f4b1 Allow system admins to switch user accounts to email/password (#2893) 2016-05-05 16:36:42 -04:00
enahum
04b61d1f38 PLT-2797 Remove LDAP Password Field Name setting (#2884) 2016-05-05 09:36:58 -04:00
Corey Hulen
6611229cd7 PLT-2707 Adding option to show DM list from all of server (#2871)
* PLT-2707 Adding option to show DM list from all of server

* Fixing loc
2016-05-04 09:31:42 -04:00