Commit Graph

447 Commits

Author SHA1 Message Date
David Lu
eb76e61534 stopped youtube videos upon collapsing (#3388) 2016-06-21 21:21:40 -04:00
enahum
a0bc947356 PLT-3341 Add missing localization support for System Console (#3385) 2016-06-21 07:39:19 -04:00
Joram Wilander
86d3c32a24 Revert "PLT-3220 Fixed create channel modal not saving upon enter" (#3378) 2016-06-20 12:18:10 -04:00
David Lu
2fc4b37828 removed reference to allKey (#3366) 2016-06-20 09:17:18 -06:00
David Lu
af02a35b54 fixed create channel modal not saving upon enter (#3363) 2016-06-20 09:15:27 -06:00
David Lu
8c8344fc41 Reset password errors upon submit (#3362) 2016-06-18 02:15:29 -03: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
Joram Wilander
54b4deb7df Revert "PLT-3220 Made Create Channel modal save upon enter" (#3356) 2016-06-16 08:52:18 -04: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
Asaad Mahmood
4e38796e69 Improving about modal and colon issue with webhooks (#3343)
Updating word break

Updating improvements for about modal
2016-06-16 08:42:38 -04:00
it33
c7eccc2788 Shorten sentence to avoid word-wrap (#3347)
* Update about_build_modal.jsx

* Update en.json
2016-06-15 13:54:44 -03:00
David Lu
7d9f066728 made create channel/group save upon enter (#3344) 2016-06-15 12:00:18 -04:00
David Lu
7114d33a06 Reset error on invalid MFA (#3346) 2016-06-15 11:57:28 -04:00
Kevyn Bruyere
d6fdd93679 PLT-946 Add status icon to the left of the username in DM channel (#3258)
Add a StatusIcon component to be able to display a status icon from anywhere
2016-06-15 06:30:32 -06:00
David Lu
dbcf8572e5 Fixed @all not working as intended (#3335) 2016-06-15 08:13:47 -04:00
Harrison Healey
ba77aefe02 PLT-3202 Re-render timestamps when display settings switch between 12h and 24h (#3337)
* Made post timestamp switch from 12h to 24h without refreshing

* Made RHS post timestamps switch from 12h to 24h without refreshing
2016-06-15 08:13:17 -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
Corey Hulen
5aaf5c51fc PLT-2993 redirecting to team when joining. (#3342) 2016-06-15 08:10:07 -04:00
Harrison Healey
163d29f8fa Added text emoticons to autocomplete (#3312) 2016-06-15 08:02:22 -04:00
Joram Wilander
0f7a8f0fb5 Distinguish between static embeds and toggleable embeds (#3333) 2016-06-15 08:01:52 -04:00
Harrison Healey
31db90f6dd Improved paste handling to allow pasting images copied from the browser (#3334) 2016-06-15 08:01:43 -04:00
David Lu
804705e0c5 Fixed DM channels not opening (#3336) 2016-06-15 08:01:31 -04:00
Asaad Mahmood
f6b4a611d0 Multiple UI improvements (#3317)
Removing break all

Replacing jquery selectors and some other UI improvements

Removing jquery selector
2016-06-14 13:53:47 -04:00
Joram Wilander
8f87e60231 Fix bad condition on hiding email addresses and update user etag to include privacy settings (#3327) 2016-06-14 12:12:46 -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
Harrison Healey
3ff2e578b5 Stopped trimming passwords on login (#3304) 2016-06-10 12:08:19 -04:00
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
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
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
enahum
1b2fd5af5e PLT-3257 Fix Team Statistics (#3290) 2016-06-09 11:08:20 -04:00
Asaad Mahmood
6a3e742e9b Fixing attachment in RHS root post for compact view (#3289)
* Fixing attachment in RHS root post for compact view

* Improving spacing for mentions
2016-06-09 11:08:14 -04:00
Joram Wilander
99dd271c06 Join team correctly when signing up with LDAP (#3287) 2016-06-07 18:16:32 -04:00
enahum
3a6694cc6b PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS (#3282) 2016-06-07 17:43:36 -04:00
Joram Wilander
68c2b070da Auto join teams if coming from team sign-up page to login for GitLab (#3284) 2016-06-07 17:43:06 -04:00
Corey Hulen
52b5db3a0b PLT-3215 Moving custom branding in admin console (#3286) 2016-06-07 17:42:58 -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
a3bdf448eb PLT-3163Commenting in the RHS while in permalink view (#3272) 2016-06-06 15:49:13 -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
David Lu
eabd67e4cb Removed placeholder text on channel switch modal (#3262) 2016-06-06 14:06:14 -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