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

6531 Коммитов

Автор SHA1 Сообщение Дата
enahum
bb5ca5a878 PLT-3244 On Password Reset page, an imprecise error message is displayed (#3295) 2016-06-10 10:00:19 -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
samogot
400bc8b46d Scrolling fixes (#3200)
* scrolling fixes:
- jumps on free scroll when somebody posts a new message (and old one disappears at top)
- jumps on closing RHS (no compensation of resize)
- scroll blinking on opening/closing RHS (delay before resize compensation)

* fix scroll slipping up on multiple open/close RHS in case when (this.refs.postlist.offsetHeight % Constants.SCROLL_PAGE_FRACTION === 0)
2016-06-10 09:59:13 -04:00
Anthony M. Powers
09536af5ad PLT-3156 Typo in 'Edit Nickname' message when nickname is set through login provider (#3204)
* Fixed a typo to an error message regarding editing an account field handled by a login provider. (PLT-3156)

* Added 'field_handled_externally' to the en language file.
Other languages are needed.
2016-06-10 09:59:05 -04:00
Thomas Balthazar
252d1c7e98 CLI: invite user by email - missing siteURL in email (#3297) 2016-06-10 07:59:20 -04:00
enahum
aa61ea0e44 daily translations 20160609 (#3305) 2016-06-10 07:58:42 -04:00
Kevyn Bruyere
afb4c2a805 Focus search text input when opening "Direct Messages" modal (#3231) 2016-06-10 00:36:04 -07:00
enahum
18c53e03eb PLT-3221 Remove async call to get posts when creating a comment and editing a post (#3300)
PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS
2016-06-09 11:28:57 -07:00
Asaad Mahmood
f1eefd99e6 PLT-3094 - Fixing autocomplete and image modal scrolling on mobile (#3279) 2016-06-09 11:09:35 -07:00
enahum
d52bd0f6dc daily translations 20160608 (#3296) 2016-06-09 09:18:51 -03:00
enahum
a3a774c5b4 daily translations 20160607 (#3288) 2016-06-07 19:26:35 -03:00
Harrison Healey
ae1b0d3d29 Fixing test-markdown-lists.md (#3281) 2016-06-07 11:38:02 -04:00
Thomas Balthazar
1d31b0eca6 PLT-2406 Add "Database:" to Mattermost About Dialog (#3261)
* Add "Database:" to Mattermost About Dialog

The property has been named SQLDriverName to make a difference with the
FileSettings DriverName.

* Add missing string for 'Database' in i18n file
2016-06-07 08:21:09 -04:00
Harrison Healey
d9e8eb619a Removed deactivate method from User Settings tabs (#3271) 2016-06-07 08:20:58 -04:00
enahum
22245eee70 daily translations 20160606 (#3275) 2016-06-06 18:28:57 -03:00
lfbrock
4f11c36783 Update NOTICE.txt (#3274) 2016-06-06 17:21:51 -04:00
Joram Wilander
afdbe785d4 Up the max preference store listeners (#3273) 2016-06-06 16:33:29 -04:00
enahum
a3bdf448eb PLT-3163Commenting in the RHS while in permalink view (#3272) 2016-06-06 15:49:13 -04:00
lfbrock
f864e9adf1 Update test-links.md (#3270) 2016-06-06 15:37:49 -04:00
enahum
65f51c7bc4 PLT-3056 Fix Unable to type quickly in post textbox in IE11 (#3249) 2016-06-06 14:54:02 -04:00
Joram Wilander
c0d1b8fbb9 System messages trigger notifications when user is mentioned (#3235) 2016-06-06 14:29:10 -04:00
David Lu
eabd67e4cb Removed placeholder text on channel switch modal (#3262) 2016-06-06 14:06:14 -04:00
David Lu
edc0e00037 Removed ESC (#3268) 2016-06-06 14:05:50 -04:00
David Lu
ea99cedb62 PLT-3185 Added support for DMs in Channel Switcher (#3260)
* Added support for DMs

* Checked username beginning characters
2016-06-06 13:54:23 -04:00
David Lu
26ec73d5d2 Added error when both session and local storage are unusable (#3263) 2016-06-06 13:52:57 -04:00
Joram Wilander
1e245f19c7 PLT-3114 Moved preview collapse out of pre-release features (#3206)
* Added user setting to auto collapse image previews

* Added slash commands for collapsing/expanding image previews

* Added translation strings for collapse setting

* Add default props for preview collapse setting
2016-06-06 10:41:54 -07:00
Joram Wilander
629b49a119 Remove data source replica from system console UI (#3267) 2016-06-06 13:04:02 -04:00
Harrison Healey
384d0eb245 PLT-2559 Always return successful when trying to join a channel that the user is already a member of (#3265)
* Added unit tests for SqlChannelStore.GetMember

* Fixed api routes for accessing channels by name when the name includes an underscore

* Changed join channel API to always return successful when the user is already a member of the channel
2016-06-06 13:03:56 -04:00
David Lu
2c42294bbc PLT-3101 Added message history (#3205)
* Added message history

* Minor logical changes

* Fixed indexes resetting

* Fixed double messages

* Fixed resetting main history when RHS opened
2016-06-06 13:01:35 -04:00
Joram Wilander
96e8fc165f Updating help text on channel switcher (#3256) 2016-06-06 13:00:49 -04:00
David Lu
6516188907 Fixed (#3264) 2016-06-06 12:59:03 -04:00
David Lu
ba8aafddf4 Fixed typo (#3266) 2016-06-06 12:27:53 -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
enahum
6cee1f87f2 PLT-2990 Clicking on a desktop notification from another team opens the team (#3253) 2016-06-06 09:46:09 -04:00
enahum
6ab893dcba PLT-2939 Fix Default slash command icon is invalid (#3250) 2016-06-06 08:59:19 -04:00
Asaad Mahmood
353216e05c PLT-3182 - Improving switch channels modal and some minor UI improvements (#3238)
* PLT-3182 - Improving switch channels modal and some minor UI improvements

Enabling link previews

Adding compact layout to RHS

Improving timestamps

* Adding update code for RHS components
2016-06-06 08:46:03 -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
Harrison Healey
5ac9053b5a Added sign in link to the signup_user_complete page (#3248) 2016-06-05 03:44:54 -03:00
Christopher Speller
919eea73b6 LDAP users should not be subject to password guess limits or email verification (#3245) 2016-06-05 03:38:36 -03:00
jasonblais
8936d67044 Update /shortcuts display text (#3244) 2016-06-05 03:37:54 -03:00
Christopher Speller
9133d5939c Fixing nickname when LDAP is enabled but nickname field not set (#3243) 2016-06-05 03:37:19 -03:00
Harrison Healey
e71c43d24a Fixed code preview (#3242) 2016-06-05 03:36:53 -03:00
Harrison Healey
f29c6a5e02 Changed noLoginId error message to be specified in i18n (#3239) 2016-06-05 03:36:28 -03:00
Harrison Healey
2965a00e9b PLT-3168 Hide EnableFormatting advanced setting unless testing is enabled (#3237)
* Added EnableTesting to the client config

* Hid EnableFormatting advanced setting unless testing is enabled
2016-06-05 03:35:39 -03:00
Harrison Healey
96373a0cc7 Reposition search highlighting for code blocks (#3230)
Certain code bocks will have the search highlighting wrap differently than the code itself so they become out of sync
2016-06-05 03:33:25 -03:00
Joram Wilander
0a9f09b6a7 Add invite_user command to CLI help text (#3229) 2016-06-05 03:31:34 -03:00
David Lu
cc4d23e276 added ctrlSend checking (#3196) 2016-06-05 03:23:07 -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
David Lu
f3825ba766 PLT-2994 Added @all (#3233)
* Added @all

* Uncomment @all server side
2016-06-04 14:21:50 -04:00